From f208ad764b9b5e4e2b7879c83c9c2f3579d579ce Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Tue, 10 Feb 2015 12:34:41 +0100 Subject: [PATCH] Regenerate the demo-compiled.js --- javascript/i18n/phonenumbers/demo-compiled.js | 130 +++++++++++++------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/javascript/i18n/phonenumbers/demo-compiled.js b/javascript/i18n/phonenumbers/demo-compiled.js index 9a9ae3a..a7c4a75 100644 --- a/javascript/i18n/phonenumbers/demo-compiled.js +++ b/javascript/i18n/phonenumbers/demo-compiled.js @@ -1,16 +1,16 @@ -(function(){var k,l=this; +(function(){var k=this; function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"== -b&&"undefined"==typeof a.call)return"object";return b}function n(a){return"string"==typeof a}function p(a,b){function c(){}c.prototype=b.prototype;a.Aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ja=function(a,c,f){return b.prototype[c].apply(a,Array.prototype.slice.call(arguments,2))}};var ba=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function ca(a,b){return ab?1:0};var da=Array.prototype,ea=da.indexOf?function(a,b,c){return da.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aparseFloat(a))?String(b):a}(),qa={}; -function ra(a){if(!qa[a]){for(var b=0,c=ba(String(pa)).split("."),d=ba(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb?e+="000":256>b?e+="00":4096>b&&(e+="0");return Aa[a]=e+b.toString(16)}),'"')};function Ca(a,b,c){this.h=b;this.pa=c.name;this.r=!!c.ga;this.k=c.a;this.qa=c.type;this.ma=!1;switch(this.k){case Da:case Ea:case Fa:case Ga:case Ha:case Ia:case Ja:this.ma=!0}this.w=c.defaultValue}var Ja=1,Ia=2,Da=3,Ea=4,Fa=6,Ga=16,Ha=18;Ca.prototype.getName=function(){return this.pa};function Ka(a,b,c){this.ya=a;this.pa=b.name||null;this.l={};for(a=0;ab?1:0};function ea(a,b){b.unshift(a);p.call(this,ba.apply(null,b));b.shift()}n(ea,p);ea.prototype.name="AssertionError";function fa(a,b){throw new ea("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var ga=Array.prototype,ha=ga.indexOf?function(a,b,c){return ga.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(l(a))return l(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aparseFloat(a))?String(b):a}(),ta={}; +function ua(a){if(!ta[a]){for(var b=0,c=ca(String(sa)).split("."),d=ca(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb?e+="000":256>b?e+="00":4096>b&&(e+="0");return Ea[a]=e+b.toString(16)}),'"')};function Ga(a,b,c){this.i=b;this.oa=c.name;this.r=!!c.ra;this.l=c.a;this.pa=c.type;this.ka=!1;switch(this.l){case Ha:case Ia:case Ja:case Ka:case La:case Ma:case Na:this.ka=!0}this.w=c.defaultValue}var Na=1,Ma=2,Ha=3,Ia=4,Ja=6,Ka=16,La=18;Ga.prototype.getName=function(){return this.oa};function Oa(a,b,c){this.xa=a;this.oa=b.name||null;this.m={};for(a=0;aa.length?!1:Q(db,a)}function lb(a){return Q(bb,a)?R(a,Va):R(a,O)}function mb(a){var b=lb(a.toString());a.clear();a.append(b)}function R(a,b){for(var c=new G,d,e=a.length,f=0;f=e){a=c;break}d=d.substring(0,e);d=R(d,O);if(0==d.length){a=c;break}g=g.clone();z(g,4);d=[g];g=b.e();c=S(b);g in M?(a=U(a,g,V(g)),e="",e=vb(d,c),null==e?e=c:(d=e.clone(),e=B(e,4),0=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in M)return b.append(c.substring(f)),d;return 0} -function Eb(a,b,c,d,e){if(0==a.length)return 0;a=new G(a);var f;null!=b&&(f=x(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(P.test(g))g=g.replace(P,""),a.clear(),a.append(lb(g)),f=1;else{g=new RegExp(f);mb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(Ya);h&&null!=h[1]&&0=a.f.length)throw"Phone number too short after IDD"; -c=Db(a,c);if(0!=c)return e.da(c),c;throw"Invalid country calling code";}if(null!=b&&(f=b.e(),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new G(h.substring(g.length)),h=x(b,1),g=new RegExp(B(h,2));Fb(m,b,null);b=m.toString();h=B(h,3);if(!Q(g,a.toString())&&Q(g,b)||3==Bb(h,a.toString()))return c.append(b),d&&y(e,6,10),e.da(f),f}e.da(0);return 0} -function Fb(a,b,c){var d=a.toString(),e=d.length,f=x(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=x(b,1);h=B(h,2);g=new g(h);h=Q(g,d);var m=e.length-1;b=x(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||Q(g,d.substring(e[0].length)))null!=c&&0b.f.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new G,c=new G(b.toString()),Fb(c,g,a),e=c.toString(),g=x(g,1),g=B(g,3),2!=Bb(g,e)&&(b=c,d&&y(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17a.length?!1:P(mb,a)}function ub(a){return P(kb,a)?Q(a,db):Q(a,M)}function vb(a){var b=ub(a.toString());a.clear();a.append(b)}function Q(a,b){for(var c=new E,d,e=a.length,f=0;f=e){a=c;break}d=d.substring(0,e);d=Q(d,M);if(0==d.length){a=c;break}g=g.clone();Ta(g,4);d=[g];g=b.f();c=R(b);g in K?(a=T(a,g,U(g)),e="",e=Eb(d,c),null==e?e=c:(d=e.clone(),e=A(e,4),0=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in K)return b.append(c.substring(f)),d;return 0} +function Nb(a,b,c,d,e){if(0==a.length)return 0;a=new E(a);var f;null!=b&&(f=x(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(O.test(g))g=g.replace(O,""),a.clear(),a.append(ub(g)),f=1;else{g=new RegExp(f);vb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(gb);h&&null!=h[1]&&0=a.g.length)throw"Phone number too short after IDD"; +c=Mb(a,c);if(0!=c)return e.da(c),c;throw"Invalid country calling code";}if(null!=b&&(f=b.f(),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new E(h.substring(g.length)),h=x(b,1),g=new RegExp(A(h,2));Ob(m,b,null);b=m.toString();h=A(h,3);if(!P(g,a.toString())&&P(g,b)||3==Kb(h,a.toString()))return c.append(b),d&&y(e,6,10),e.da(f),f}e.da(0);return 0} +function Ob(a,b,c){var d=a.toString(),e=d.length,f=x(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=x(b,1);h=A(h,2);g=new g(h);h=P(g,d);var m=e.length-1;b=x(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||P(g,d.substring(e[0].length)))null!=c&&0b.g.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new E,c=new E(b.toString()),Ob(c,g,a),e=c.toString(),g=x(g,1),g=A(g,3),2!=Kb(g,e)&&(b=c,d&&y(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17