Lines Matching refs:name
10 function k(a,b){function c(){}c.prototype=b.prototype;a.la=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ua=function(d,f,e){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[f].apply(d,g)}};function oa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,oa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}k(oa,Error);oa.prototype.name="CustomError";function pa(a,b){a=a.split("%s");for(var c="",d=a.length-1,f=0;f<d;f++)c+=a[f]+(f<b.length?b[f]:"%s");oa.call(this,c+a[d])}k(pa,oa);pa.prototype.name="AssertionError";function qa(a,b){throw new pa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};function ra(a,b){a.sort(b||sa)}function sa(a,b){return a>b?1:a<b?-1:0};function ta(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function ua(a,b){a:{for(var c in a)if(b.call(void 0,a[c],c,a)){b=c;break a}b=void 0}return b&&a[b]};function va(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};function wa(a){var b=document;return"string"===typeof a?b.getElementById(a):a};function xa(a,b){this.g=a;this.o=b.name;this.j=!!b.aa;this.h=b.i;this.u=b.type;this.s=!1;switch(this.h){case ya:case za:case Ea:case Fa:case Ga:case Ha:case Ia:this.s=!0}this.l=b.defaultValue}var Ia=1,Ha=2,ya=3,za=4,Ea=6,Fa=16,Ga=18;function Ja(a,b){this.h=a;this.g={};for(a=0;a<b.length;a++){var c=b[a];this.g[c.g]=c}}function Ka(a){a=ta(a.g);ra(a,function(b,c){return b.g-c.g});return a}function La(a,b){return ua(a.g,function(c){return c.o==b})||null};function l(){this.h={};this.j=this.m().g;this.g=this.l=null}function Ma(a,b){for(var c in a.h){var d=Number(c);a.j[d]||b.call(a,d,a.h[c])}}l.prototype.has=function(a){return n(this,a.g)};l.prototype.get=function(a,b){return q(this,a.g,b)};l.prototype.set=function(a,b){t(this,a.g,b)};l.prototype.add=function(a,b){Na(this,a.g,b)};
34 D.prototype.m=function(){var a=ab;a||(ab=a=Ra(D,{0:{name:"NumberFormat",ia:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,i:9,type:String},2:{name:"format",required:!0,i:9,type:String},3:{name:"leading_digits_pattern",aa:!0,i:9,type:String},4:{name:"national_prefix_formatting_rule",i:9,type:String},6:{name:"national_prefix_optional_when_formatting",i:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",i:9,type:String}}));return a};D.m=D.prototype.m;
35 E.prototype.m=function(){var a=bb;a||(bb=a=Ra(E,{0:{name:"PhoneNumberDesc",ia:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",i:9,type:String},9:{name:"possible_length",aa:!0,i:5,type:Number},10:{name:"possible_length_local_only",aa:!0,i:5,type:Number},6:{name:"example_number",i:9,type:String}}));return a};E.m=E.prototype.m;
36 F.prototype.m=function(){var a=cb;a||(cb=a=Ra(F,{0:{name:"PhoneMetadata",ia:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",i:11,type:E},2:{name:"fixed_line",i:11,type:E},3:{name:"mobile",i:11,type:E},4:{name:"toll_free",i:11,type:E},5:{name:"premium_rate",i:11,type:E},6:{name:"shared_cost",i:11,type:E},7:{name:"personal_number",i:11,type:E},8:{name:"voip",i:11,type:E},21:{name:"pager",i:11,type:E},25:{name:"uan",i:11,type:E},27:{name:"emergency",i:11,type:E},28:{name:"voicemail",i:11,type:E},
37 29:{name:"short_code",i:11,type:E},30:{name:"standard_rate",i:11,type:E},31:{name:"carrier_specific",i:11,type:E},33:{name:"sms_services",i:11,type:E},24:{name:"no_international_dialling",i:11,type:E},9:{name:"id",required:!0,i:9,type:String},10:{name:"country_code",i:5,type:Number},11:{name:"international_prefix",i:9,type:String},17:{name:"preferred_international_prefix",i:9,type:String},12:{name:"national_prefix",i:9,type:String},13:{name:"preferred_extn_prefix",i:9,type:String},15:{name:"national_prefix_for_parsing",
38 i:9,type:String},16:{name:"national_prefix_transform_rule",i:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",i:8,defaultValue:!1,type:Boolean},19:{name:"number_format",aa:!0,i:11,type:D},20:{name:"intl_number_format",aa:!0,i:11,type:D},22:{name:"main_country_for_code",i:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",i:9,type:String}}));return a};F.m=F.prototype.m;function db(){}k(db,x);db.prototype.j=function(a,b){a=new a.h;a.l=this;a.h=b;a.g={};return a};db.prototype.o=function(){throw Error("Unimplemented");};function G(){}k(G,db);G.prototype.l=function(a){for(var b=Ka(a.m()),c=[],d=0;d<b.length;d++){var f=b[d];if(a.has(f)){var e=f.g;if(f.j){c[e]=[];for(var g=0;g<w(a,f.g);g++)c[e][g]=this.h(f,a.get(f,g))}else c[e]=this.h(f,a.get(f))}}Ma(a,function(h,m){c[h]=m});return c};G.prototype.h=function(a,b){return 8==a.h?b?1:0:x.prototype.h.apply(this,arguments)};G.prototype.g=function(a,b){return 8==a.h?!!b:x.prototype.g.apply(this,arguments)};G.prototype.j=function(a,b){return G.la.j.call(this,a,b)};function H(){l.call(this)}k(H,l);var eb=null,fb={ta:0,sa:1,ra:5,qa:10,pa:20};
39 H.prototype.m=function(){var a=eb;a||(eb=a=Ra(H,{0:{name:"PhoneNumber",ia:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,i:5,type:Number},2:{name:"national_number",required:!0,i:4,type:Number},3:{name:"extension",i:9,type:String},4:{name:"italian_leading_zero",i:8,type:Boolean},8:{name:"number_of_leading_zeros",i:5,defaultValue:1,type:Number},5:{name:"raw_input",i:9,type:String},6:{name:"country_code_source",i:14,defaultValue:0,type:fb},7:{name:"preferred_domestic_carrier_code",