var requirejs,require,define;if(function(n){function dt(n,t,i,r){return r||""}function l(n){return st.call(n)==="[object Function]"}function a(n){return st.call(n)==="[object Array]"}function u(n,t){if(n)for(var i=0;i<n.length;i+=1)if(n[i]&&t(n[i],i,n))break}function rt(n,t){if(n)for(var i=n.length-1;i>-1;i-=1)if(n[i]&&t(n[i],i,n))break}function r(n,t){return bt.call(n,t)}function i(n,t){return r(n,t)&&n[t]}function h(n,t){var i;for(i in n)if(r(n,i)&&t(n[i],i))break}function ut(n,t,i,u){return t&&h(t,function(t,f){(i||!r(n,f))&&(!u||typeof t!="object"||!t||a(t)||l(t)||t instanceof RegExp?n[f]=t:(n[f]||(n[f]={}),ut(n[f],t,i,u)))}),n}function f(n,t){return function(){return t.apply(n,arguments)}}function ft(){return document.getElementsByTagName("script")}function at(n){throw n;}function vt(t){if(!t)return t;var i=n;return u(t.split("."),function(n){i=i[n]}),i}function c(n,t,i,r){var u=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+n);return u.requireType=n,u.requireModules=r,i&&(u.originalError=i),u}function gt(e){function yi(n){for(var i,t=0;t<n.length;t++)if(i=n[t],i===".")n.splice(t,1),t-=1;else if(i==="..")if(t===0||t===1&&n[2]===".."||n[t-1]==="..")continue;else t>0&&(n.splice(t-1,2),t-=2)}function it(n,t,r){var w,f,o,e,h,c,l,s,b,a,k,d,u=t&&t.split("/"),y=v.map,p=y&&y["*"];if(n&&(n=n.split("/"),l=n.length-1,v.nodeIdCompat&&g.test(n[l])&&(n[l]=n[l].replace(g,"")),n[0].charAt(0)==="."&&u&&(d=u.slice(0,u.length-1),n=d.concat(n)),yi(n),n=n.join("/")),r&&y&&(u||p)){o=n.split("/");n:for(e=o.length;e>0;e-=1){if(c=o.slice(0,e).join("/"),u)for(h=u.length;h>0;h-=1)if(f=i(y,u.slice(0,h).join("/")),f&&(f=i(f,c),f)){s=f;b=e;break n}!a&&p&&i(p,c)&&(a=i(p,c),k=e)}!s&&a&&(s=a,b=k);s&&(o.splice(0,b,s),n=o.join("/"))}return w=i(v.pkgs,n),w?w:n}function ei(n){o&&u(ft(),function(t){if(t.getAttribute("data-requiremodule")===n&&t.getAttribute("data-requirecontext")===s.contextName)return t.parentNode.removeChild(t),!0})}function ti(n){var t=i(v.paths,n);if(t&&a(t)&&t.length>1)return t.shift(),s.require.undef(n),s.makeRequire(null,{skipMap:!0})([n]),!0}function oi(n){var i,t=n?n.indexOf("!"):-1;return t>-1&&(i=n.substring(0,t),n=n.substring(t+1,n.length)),[i,n]}function k(n,t,r,u){var a,h,l,o,f=null,c=t?t.name:null,y=n,v=!0,e="";return n||(v=!1,n="_@r"+(ai+=1)),o=oi(n),f=o[0],n=o[1],f&&(f=it(f,c,u),h=i(w,f)),n&&(f?e=h&&h.normalize?h.normalize(n,function(n){return it(n,c,u)}):n.indexOf("!")===-1?it(n,c,u):n:(e=it(n,c,u),o=oi(e),f=o[0],e=o[1],r=!0,a=s.nameToUrl(e))),l=f&&!h&&!r?"_unnormalized"+(vi+=1):"",{prefix:f,name:e,parentMap:t,unnormalized:!!l,url:a,originalName:y,isDefine:v,id:(f?f+"!"+e:e)+l}}function ot(n){var r=n.id,t=i(p,r);return t||(t=p[r]=new s.Module(n)),t}function st(n,t,u){var e=n.id,f=i(p,e);if(r(w,e)&&(!f||f.defineEmitComplete))t==="defined"&&u(w[e]);else if(f=ot(n),f.error&&t==="error")u(f.error);else f.on(t,u)}function d(n,r){var e=n.requireModules,f=!1;if(r)r(n);else if(u(e,function(t){var r=i(p,t);r&&(r.error=n,r.events.error&&(f=!0,r.emit("error",n)))}),!f)t.onError(n)}function ii(){nt.length&&(u(nt,function(n){var t=n[0];typeof t=="string"&&(s.defQueueMap[t]=!0);tt.push(n)}),nt=[])}function ri(n){delete p[n];delete dt[n]}function si(n,t,r){var f=n.map.id;n.error?n.emit("error",n.error):(t[f]=!0,u(n.depMaps,function(u,f){var e=u.id,o=i(p,e);!o||n.depMatched[f]||r[e]||(i(t,e)?(n.defineDep(f,w[e]),n.check()):si(o,t,r))}),r[f]=!0)}function ui(){var t,f,e=v.waitSeconds*1e3,i=e&&s.startTime+e<(new Date).getTime(),n=[],l=[],r=!1,a=!0;if(!yt){if(yt=!0,h(dt,function(t){var u=t.map,e=u.id;if(t.enabled&&(u.isDefine||l.push(t),!t.error))if(!t.inited&&i)ti(e)?(f=!0,r=!0):(n.push(e),ei(e));else if(!t.inited&&t.fetched&&u.isDefine&&(r=!0,!u.prefix))return a=!1}),i&&n.length)return t=c("timeout","Load timeout for modules: "+n,null,n),t.contextName=s.contextName,d(t);a&&u(l,function(n){si(n,{},{})});(!i||f)&&r&&(o||ht)&&!bt&&(bt=setTimeout(function(){bt=0;ui()},50));yt=!1}}function fi(n){r(w,n[0])||ot(k(n[0],null,!0)).init(n[1],n[2])}function hi(n,t,i,r){n.detachEvent&&!lt?r&&n.detachEvent(r,t):n.removeEventListener(i,t,!1)}function ci(n){var t=n.currentTarget||n.srcElement;return hi(t,s.onScriptLoad,"load","onreadystatechange"),hi(t,s.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function li(){var n;for(ii();tt.length;){if(n=tt.shift(),n[0]===null)return d(c("mismatch","Mismatched anonymous define() module: "+n[n.length-1]));fi(n)}s.defQueueMap={}}var yt,pt,s,et,bt,v={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},p={},dt={},gt={},tt=[],w={},ct={},ni={},ai=1,vi=1;return et={require:function(n){return n.require?n.require:n.require=s.makeRequire(n.map)},exports:function(n){return n.usingExports=!0,n.map.isDefine?n.exports?w[n.map.id]=n.exports:n.exports=w[n.map.id]={}:void 0},module:function(n){return n.module?n.module:n.module={id:n.map.id,uri:n.map.url,config:function(){return i(v.config,n.map.id)||{}},exports:n.exports||(n.exports={})}}},pt=function(n){this.events=i(gt,n.id)||{};this.map=n;this.shim=i(v.shim,n.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0},pt.prototype={init:function(n,t,i,r){if(r=r||{},!this.inited){if(this.factory=t,i)this.on("error",i);else this.events.error&&(i=f(this,function(n){this.emit("error",n)}));this.depMaps=n&&n.slice(0);this.errback=i;this.inited=!0;this.ignore=r.ignore;r.enabled||this.enabled?this.enable():this.check()}},defineDep:function(n,t){this.depMatched[n]||(this.depMatched[n]=!0,this.depCount-=1,this.depExports[n]=t)},fetch:function(){if(!this.fetched){this.fetched=!0;s.startTime=(new Date).getTime();var n=this.map;if(this.shim)s.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],f(this,function(){return n.prefix?this.callPlugin():this.load()}));else return n.prefix?this.callPlugin():this.load()}},load:function(){var n=this.map.url;ct[n]||(ct[n]=!0,s.load(this.map.id,n))},check:function(){var h;if(this.enabled&&!this.enabling){var i,o,f=this.map.id,c=this.depExports,n=this.exports,e=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(l(e)){if(this.events.error&&this.map.isDefine||t.onError!==at)try{n=s.execCb(f,e,c,n)}catch(a){i=a}else n=s.execCb(f,e,c,n);if(this.map.isDefine&&n===undefined&&(o=this.module,o?n=o.exports:this.usingExports&&(n=this.exports)),i)return i.requireMap=this.map,i.requireModules=this.map.isDefine?[this.map.id]:null,i.requireType=this.map.isDefine?"define":"require",d(this.error=i)}else n=e;if(this.exports=n,this.map.isDefine&&!this.ignore&&(w[f]=n,t.onResourceLoad)){h=[];u(this.depMaps,function(n){h.push(n.normalizedMap||n)});t.onResourceLoad(s,this.map,h)}ri(f);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else r(s.defQueueMap,f)||this.fetch()}},callPlugin:function(){var n=this.map,u=n.id,e=k(n.prefix);this.depMaps.push(e);st(e,"defined",f(this,function(e){var o,l,a,w=i(ni,this.map.id),y=this.map.name,nt=this.map.parentMap?this.map.parentMap.name:null,g=s.makeRequire(n.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(e.normalize&&(y=e.normalize(y,function(n){return it(n,nt,!0)})||""),l=k(n.prefix+"!"+y,this.map.parentMap),st(l,"defined",f(this,function(n){this.map.normalizedMap=l;this.init([],function(){return n},null,{enabled:!0,ignore:!0})})),a=i(p,l.id),a){if(this.depMaps.push(l),this.events.error)a.on("error",f(this,function(n){this.emit("error",n)}));a.enable()}return}if(w){this.map.url=s.nameToUrl(w);this.load();return}o=f(this,function(n){this.init([],function(){return n},null,{enabled:!0})});o.error=f(this,function(n){this.inited=!0;this.error=n;n.requireModules=[u];h(p,function(n){n.map.id.indexOf(u+"_unnormalized")===0&&ri(n.map.id)});d(n)});o.fromText=f(this,function(i,f){var e=n.name,h=k(e),l=b;f&&(i=f);l&&(b=!1);ot(h);r(v.config,u)&&(v.config[e]=v.config[u]);try{t.exec(i)}catch(a){return d(c("fromtexteval","fromText eval for "+u+" failed: "+a,a,[u]))}l&&(b=!0);this.depMaps.push(h);s.completeLoad(e);g([e],o)});e.load(n.name,g,o,v)}));s.enable(e,this);this.pluginMaps[e.id]=e},enable:function(){dt[this.map.id]=this;this.enabled=!0;this.enabling=!0;u(this.depMaps,f(this,function(n,t){var u,e,o;if(typeof n=="string"){if(n=k(n,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=n,o=i(et,n.id),o){this.depExports[t]=o(this);return}this.depCount+=1;st(n,"defined",f(this,function(n){this.undefed||(this.defineDep(t,n),this.check())}));this.errback?st(n,"error",f(this,this.errback)):this.events.error&&st(n,"error",f(this,function(n){this.emit("error",n)}))}u=n.id;e=p[u];r(et,u)||!e||e.enabled||s.enable(n,this)}));h(this.pluginMaps,f(this,function(n){var t=i(p,n.id);t&&!t.enabled&&s.enable(n,this)}));this.enabling=!1;this.check()},on:function(n,t){var i=this.events[n];i||(i=this.events[n]=[]);i.push(t)},emit:function(n,t){u(this.events[n],function(n){n(t)});n==="error"&&delete this.events[n]}},s={config:v,contextName:e,registry:p,defined:w,urlFetched:ct,defQueue:tt,defQueueMap:{},Module:pt,makeModuleMap:k,nextTick:t.nextTick,onError:d,configure:function(n){var i,t,r;n.baseUrl&&n.baseUrl.charAt(n.baseUrl.length-1)!=="/"&&(n.baseUrl+="/");typeof n.urlArgs=="string"&&(i=n.urlArgs,n.urlArgs=function(n,t){return(t.indexOf("?")===-1?"?":"&")+i});t=v.shim;r={paths:!0,bundles:!0,config:!0,map:!0};h(n,function(n,t){r[t]?(v[t]||(v[t]={}),ut(v[t],n,!0,!0)):v[t]=n});n.bundles&&h(n.bundles,function(n,t){u(n,function(n){n!==t&&(ni[n]=t)})});n.shim&&(h(n.shim,function(n,i){a(n)&&(n={deps:n});(n.exports||n.init)&&!n.exportsFn&&(n.exportsFn=s.makeShimExports(n));t[i]=n}),v.shim=t);n.packages&&u(n.packages,function(n){var i,t;n=typeof n=="string"?{name:n}:n;t=n.name;i=n.location;i&&(v.paths[t]=n.location);v.pkgs[t]=n.name+"/"+(n.main||"main").replace(wt,"").replace(g,"")});h(p,function(n,t){n.inited||n.map.unnormalized||(n.map=k(t,null,!0))});(n.deps||n.callback)&&s.require(n.deps||[],n.callback)},makeShimExports:function(t){function i(){var i;return t.init&&(i=t.init.apply(n,arguments)),i||t.exports&&vt(t.exports)}return i},makeRequire:function(n,u){function f(i,o,h){var a,y,v;return(u.enableBuildCallback&&o&&l(o)&&(o.__requireJsBuild=!0),typeof i=="string")?l(o)?d(c("requireargs","Invalid require call"),h):n&&r(et,i)?et[i](p[n.id]):t.get?t.get(s,i,n,f):(y=k(i,n,!1,!0),a=y.id,!r(w,a))?d(c("notloaded",'Module name "'+a+'" has not been loaded yet for context: '+e+(n?"":". Use require([])"))):w[a]:(li(),s.nextTick(function(){li();v=ot(k(null,n));v.skipMap=u.skipMap;v.init(i,o,h,{enabled:!0});ui()}),f)}return u=u||{},ut(f,{isBrowser:o,toUrl:function(t){var r,i=t.lastIndexOf("."),u=t.split("/")[0],f=u==="."||u==="..";return i!==-1&&(!f||i>1)&&(r=t.substring(i,t.length),t=t.substring(0,i)),s.nameToUrl(it(t,n&&n.id,!0),r,!0)},defined:function(t){return r(w,k(t,n,!1,!0).id)},specified:function(t){return t=k(t,n,!1,!0).id,r(w,t)||r(p,t)}}),n||(f.undef=function(t){ii();var u=k(t,n,!0),r=i(p,t);r.undefed=!0;ei(t);delete w[t];delete ct[u.url];delete gt[t];rt(tt,function(n,i){n[0]===t&&tt.splice(i,1)});delete s.defQueueMap[t];r&&(r.events.defined&&(gt[t]=r.events),ri(t))}),f},enable:function(n){var t=i(p,n.id);t&&ot(n).enable()},completeLoad:function(n){var u,t,f,e=i(v.shim,n)||{},o=e.exports;for(ii();tt.length;){if(t=tt.shift(),t[0]===null){if(t[0]=n,u)break;u=!0}else t[0]===n&&(u=!0);fi(t)}if(s.defQueueMap={},f=i(p,n),!u&&!r(w,n)&&f&&!f.inited)if(!v.enforceDefine||o&&vt(o))fi([n,e.deps||[],e.exportsFn]);else return ti(n)?void 0:d(c("nodefine","No define call for "+n,null,[n]));ui()},nameToUrl:function(n,r,u){var l,o,h,y,f,e,c,p=i(v.pkgs,n);if(p&&(n=p),c=i(ni,n),c)return s.nameToUrl(c,r,u);if(t.jsExtRegExp.test(n))f=n+(r||"");else{for(l=v.paths,o=n.split("/"),h=o.length;h>0;h-=1)if(y=o.slice(0,h).join("/"),e=i(l,y),e){a(e)&&(e=e[0]);o.splice(0,h,e);break}f=o.join("/");f+=r||(/^data\:|^blob\:|\?/.test(f)||u?"":".js");f=(f.charAt(0)==="/"||f.match(/^[\w\+\.\-]+:/)?"":v.baseUrl)+f}return v.urlArgs&&!/^blob\:/.test(f)?f+v.urlArgs(n,f):f},load:function(n,i){t.load(s,n,i)},execCb:function(n,t,i,r){return t.apply(r,i)},onScriptLoad:function(n){if(n.type==="load"||kt.test((n.currentTarget||n.srcElement).readyState)){y=null;var t=ci(n);s.completeLoad(t.id)}},onScriptError:function(n){var t=ci(n),i;if(!ti(t.id))return i=[],h(p,function(n,r){r.indexOf("_@r")!==0&&u(n.depMaps,function(n){if(n.id===t.id)return i.push(r),!0})}),d(c("scripterror",'Script error for "'+t.id+(i.length?'", needed by: '+i.join(", "):'"'),n,[t.id]))}},s.require=s.makeRequire(),s}function ni(){return y&&y.readyState==="interactive"?y:(rt(ft(),function(n){if(n.readyState==="interactive")return y=n}),y)}var t,tt,v,p,k,d,y,it,e,et,yt=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,pt=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,g=/\.js$/,wt=/^\.\//,ot=Object.prototype,st=ot.toString,bt=ot.hasOwnProperty,o=!!(typeof window!="undefined"&&typeof navigator!="undefined"&&window.document),ht=!o&&typeof importScripts!="undefined",kt=o&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,ct="_",lt=typeof opera!="undefined"&&opera.toString()==="[object Opera]",w={},s={},nt=[],b=!1;if(typeof define=="undefined"){if(typeof requirejs!="undefined"){if(l(requirejs))return;s=requirejs;requirejs=undefined}typeof require=="undefined"||l(require)||(s=require,require=undefined);t=requirejs=function(n,r,u,f){var o,e,s=ct;return a(n)||typeof n=="string"||(e=n,a(r)?(n=r,r=u,u=f):n=[]),e&&e.context&&(s=e.context),o=i(w,s),o||(o=w[s]=t.s.newContext(s)),e&&o.configure(e),o.require(n,r,u)};t.config=function(n){return t(n)};t.nextTick=typeof setTimeout!="undefined"?function(n){setTimeout(n,4)}:function(n){n()};require||(require=t);t.version="2.2.0";t.jsExtRegExp=/^\/|:|\?|\.js$/;t.isBrowser=o;tt=t.s={contexts:w,newContext:gt};t({});u(["toUrl","undef","defined","specified"],function(n){t[n]=function(){var t=w[ct];return t.require[n].apply(t,arguments)}});o&&(v=tt.head=document.getElementsByTagName("head")[0],p=document.getElementsByTagName("base")[0],p&&(v=tt.head=p.parentNode));t.onError=at;t.createNode=function(n){var t=n.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return t.type=n.scriptType||"text/javascript",t.charset="utf-8",t.async=!0,t};t.load=function(n,i,r){var f=n&&n.config||{},u;if(o){if(u=t.createNode(f,i,r),u.setAttribute("data-requirecontext",n.contextName),u.setAttribute("data-requiremodule",i),!u.attachEvent||u.attachEvent.toString&&u.attachEvent.toString().indexOf("[native code")<0||lt?(u.addEventListener("load",n.onScriptLoad,!1),u.addEventListener("error",n.onScriptError,!1)):(b=!0,u.attachEvent("onreadystatechange",n.onScriptLoad)),u.src=r,f.onNodeCreated)f.onNodeCreated(u,f,i,r);return it=u,p?v.insertBefore(u,p):v.appendChild(u),it=null,u}if(ht)try{setTimeout(function(){},0);importScripts(r);n.completeLoad(i)}catch(e){n.onError(c("importscripts","importScripts failed for "+i+" at "+r,e,[i]))}};o&&!s.skipDataMain&&rt(ft(),function(n){return v||(v=n.parentNode),k=n.getAttribute("data-main"),k?(e=k,s.baseUrl||e.indexOf("!")!==-1||(d=e.split("/"),e=d.pop(),et=d.length?d.join("/")+"/":"./",s.baseUrl=et),e=e.replace(g,""),t.jsExtRegExp.test(e)&&(e=k),s.deps=s.deps?s.deps.concat(e):[e],!0):void 0});define=function(n,t,i){var r,u;typeof n!="string"&&(i=t,t=n,n=null);a(t)||(i=t,t=null);!t&&l(i)&&(t=[],i.length&&(i.toString().replace(yt,dt).replace(pt,function(n,i){t.push(i)}),t=(i.length===1?["require"]:["require","exports","module"]).concat(t)));b&&(r=it||ni(),r&&(n||(n=r.getAttribute("data-requiremodule")),u=w[r.getAttribute("data-requirecontext")]));u?(u.defQueue.push([n,t,i]),u.defQueueMap[n]=!0):nt.push([n,t,i])};define.amd={jQuery:!0};t.exec=function(text){return eval(text)};t(s)}}(this),define("nonAMD-Wrapper",["module","messenger"],function(n,t){var i=function(n,t,i){return i.paths[n]?i.paths[n]+".js":t.toUrl(n)+".js"},r=function(n,i,r){t.once("amdLoad-"+i,function(){n([i],r)})},u=function(n,t,u,f){var e=new XMLHttpRequest,o=i(n,t,f),s;e.open("GET",o,!0);s=function(i){var e=require.createNode(f),o=[],s=[],h=f.shim[n],c=undefined;h&&(h.deps.forEach(function(n){var t=f.shim[n];t&&t.exports&&(o.push(n),s.push(t.argName||t.exports))}),h.exports&&(c=";return "+h.exports+";"));var l=o.some(function(n){return/jquery/i.test(n)})||s.some(function(n){return n==="$"}),a=o.length?'"'+o.join('", "')+'"':"",v=s.length?s.join(", "):"",y=";require(['messenger'], function(m) { m.publish('amdLoad-"+n+"'); });",p=l?"var $old = window.jQuery;\nwindow.jQuery = $;\n":"",w=l?";window.jQuery = $old\n":"";e.text='define("'+n+'", ['+a+"], function("+v+") {\nif(console && console.debug) { console.debug(\"'"+n+"' module loaded\"); }\n"+p+i+w+c+"\n});"+y;e.setAttribute("data-requirecontext","_");e.setAttribute("data-requiremodule",n);document.head.appendChild(e);r(t,n,u)};e.onreadystatechange=function(){var n,t;e.readyState===4&&(n=e.status,n>399&&n<600?(t=new Error(o+" HTTP Status: "+n),u.error&&u.error(t)):s(e.responseText))};e.send()};return{load:u}}),define("json",["ajax","configuration"],function(n,t){function e(n){return n=n.replace(u,""),n+=n.indexOf("?")<0?"?":"&",n+r+"="+Math.round(2147483647*Math.random())}var r="bust",u="!bust",f=typeof JSON!="undefined"&&typeof JSON.parse=="function"?JSON.parse:function(val){return eval("("+val+")")},i={};return{load:function(u,e,o,s){u=t.baseUrl+u;s.isBuild&&(s.inlineJSON===!1||u.indexOf(r+"=")!==-1)||e.toUrl(u).indexOf("empty:")===0?o(null):n.getJSON(e.toUrl(u)).then(function(n){s.isBuild?(i[u]=n,o(n)):o(typeof n=="string"?f(n):n)},o.error)},normalize:function(n,t){return n.indexOf(u)!==-1&&(n=e(n)),t(n)},write:function(n,t,r){if(t in i){var u=i[t];r('define("'+n+"!"+t+'", function(){ return '+u+";});\n")}}}}),define("optional",[],{load:function(n,t,i){t.defined(n)||t.specified(n)?t([n],function(n){i(n)}):i(undefined)}}),define("polyfill",[],{load:function(n,t,i){function e(){arguments.length>0&&arguments[0].type==="readystatechange"?f():i(arguments)}var r=n.match(/^([^|]+)\|([^|]+)(?:\|([^|]+))?$/),u=new Function("return Modernizr."+r[1]+";"),f=function(){u()?i():setTimeout(f,0)};if(u())return i(undefined);require.load({onScriptLoad:e},n,r[2])}}),define("scriptTemplate",["ajax","jQuery","configuration","messenger"],function(n,t,i,r){var f=document&&function(){for(var n=3,t=document.createElement("div"),i=t.getElementsByTagName("i");t.innerHTML="<!--[if gt IE "+ ++n+"]><i><\/i><![endif]-->",i[0];);return n>4?n:undefined}(),u="innerText"in document.createElement("script")?"innerText":"textContent",e=function(n){n.each(function(n,t){if(t.nodeType===1&&t.tagName.toLowerCase()==="script"){var i=document.createElement("script");i.id=t.id;i.type="text/html";f===8?i.text=t.text:i[u]=t[u];document.body.appendChild(i)}})};return{load:function(u,f,o){var s=function(){o(document.querySelector("script#"+h))},h="template-"+u.replace(/\//g,"-");if(document.querySelector("script#"+h)){s();return}n.getText(f.toUrl(i.baseUrl+u)).then(function(n){n=r.call("system-loadTemplate",n);e(t(n));s()},function(n){o.error(n)}).then(function(){require.undef("scriptTemplate!"+u)})}}}),define("services",["configuration"],function(n){var t=(n.scriptBaseUrl||baseUrl).replace(/\/$/,"")+"/",i=n.resolveBundle||function(){var n=Array.from(arguments);return Promise.resolve(t+n.join("/"))};return{load:function(n,t,r){var u=n.split("/").every(function(n){return n.match(/^\w+$/)});u||r.error("Invalid service module name : "+n);i(n+"/services").then(function(n){require([n],function(n){n.mode==="instance"?r(n):r(new n)})})}}}),define("text",["module","ajax"],function(n,t){"use strict";var i,s,u,f,h,c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],l=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,e=typeof location!="undefined"&&location.href,v=e&&location.protocol&&location.protocol.replace(/\:/,""),y=e&&location.hostname,p=e&&(location.port||undefined),o={},r=n.config&&n.config()||{};return i={version:"2.0.12",strip:function(n){if(n){n=n.replace(l,"");var t=n.match(a);t&&(n=t[1])}else n="";return n},jsEscape:function(n){return n.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:r.createXhr||function(){var t,n,i;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(n=0;n<3;n+=1){i=c[n];try{t=new ActiveXObject(i)}catch(r){}if(t){c=[i];break}}return t},parseName:function(n){var r,u,i,f=!1,t=n.indexOf("."),e=n.indexOf("./")===0||n.indexOf("../")===0;return t!==-1&&(!e||t>1)?(r=n.substring(0,t),u=n.substring(t+1,n.length)):r=n,i=u||r,t=i.indexOf("!"),t!==-1&&(f=i.substring(t+1)==="strip",i=i.substring(0,t),u?u=i:r=i),{moduleName:r,ext:u,strip:f}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(n,t,r,u){var e,f,o,s=i.xdRegExp.exec(n);return s?(e=s[2],f=s[3],f=f.split(":"),o=f[1],f=f[0],(!e||e===t)&&(!f||f.toLowerCase()===r.toLowerCase())&&(!o&&!f||o===u)):!0},finishLoad:function(n,t,u,f){u=t?i.strip(u):u;r.isBuild&&(o[n]=u);f(u)},load:function(n,t,u,f){if(f&&f.isBuild&&!f.inlineText){u();return}r.isBuild=f&&f.isBuild;var o=i.parseName(n),h=o.moduleName+(o.ext?"."+o.ext:""),s=t.toUrl(h),c=r.useXhr||i.useXhr;if(s.indexOf("empty:")===0){u();return}!e||c(s,v,y,p)?i.get(s,function(t){i.finishLoad(n,o.strip,t,u)},function(n){u.error&&u.error(n)}):t([h],function(n){i.finishLoad(o.moduleName+"."+o.ext,o.strip,n,u)})},write:function(n,t,r){if(o.hasOwnProperty(t)){var u=i.jsEscape(o[t]);r.asModule(n+"!"+t,"define(function () { return '"+u+"';});\n")}},writeFile:function(n,t,r,u,f){var e=i.parseName(t),o=e.ext?"."+e.ext:"",s=e.moduleName+o,h=r.toUrl(e.moduleName+o)+".js";i.load(s,r,function(){var t=function(n){return u(h,n)};t.asModule=function(n,t){return u.asModule(n,h,t)};i.write(n,s,t,f)},f)}},r.env!=="node"&&(r.env||typeof process=="undefined"||!process.versions||!process.versions.node||process.versions["node-webkit"])?r.env==="xhr"||!r.env&&i.createXhr()?i.get=function(n,i,r){t.getText(n).then(i,r)}:r.env!=="rhino"&&(r.env||typeof Packages=="undefined"||typeof java=="undefined")?(r.env==="xpconnect"||!r.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)&&(u=Components.classes,f=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),h="@mozilla.org/windows-registry-key;1"in u,i.get=function(n,t){var i,r,e,o={};h&&(n=n.replace(/\//g,"\\"));e=new FileUtils.File(n);try{i=u["@mozilla.org/network/file-input-stream;1"].createInstance(f.nsIFileInputStream);i.init(e,1,0,!1);r=u["@mozilla.org/intl/converter-input-stream;1"].createInstance(f.nsIConverterInputStream);r.init(i,"utf-8",i.available(),f.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER);r.readString(i.available(),o);r.close();i.close();t(o.value)}catch(s){throw new Error((e&&e.path||"")+": "+s);}}):i.get=function(n,t){var r,i,e=new java.io.File(n),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(e),"utf-8")),f="";try{for(r=new java.lang.StringBuffer,i=u.readLine(),i&&i.length()&&i.charAt(0)===65279&&(i=i.substring(1)),i!==null&&r.append(i);(i=u.readLine())!==null;)r.append(o),r.append(i);f=String(r.toString())}finally{u.close()}t(f)}:(s=require.nodeRequire("fs"),i.get=function(n,t,i){try{var r=s.readFileSync(n,"utf8");r.indexOf("﻿")===0&&(r=r.substring(1));t(r)}catch(u){i&&i(u)}}),i}),define("textTemplate",["ajax","configuration","messenger"],function(n,t,i){return{load:function(r,u,f){n.getText(u.toUrl(t.baseUrl+r)).showLoading().then(function(n){n=i.call("system-loadTemplate",n);f(n)},function(n){f.error(n)}).then(function(){require.undef("textTemplate!"+r)},function(){require.undef("textTemplate!"+r)})}}}),define("wizardLoader",["configuration"],function(n){return{load:function(t,i,r){require(n.wizardParts[t],function(){require([t],r)})}}}),function(n,t,i){typeof define=="function"&&define.amd?define("jquery-touch",["jquery"],function(r){return i(r,n,t),r.mobile}):i(n.jQuery,n,t)}(this,document,function(n,t,i){(function(n,t,i,r){function a(n){while(n&&typeof n.originalEvent!="undefined")n=n.originalEvent;return n}function wt(t,i){var u=t.type,e,o,c,f,s,l,v,h,y;if(t=n.Event(t),t.type=i,e=t.originalEvent,o=n.event.props,u.search(/^(mouse|click)/)>-1&&(o=yt),e)for(v=o.length,f;v;)f=o[--v],t[f]=e[f];if(u.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),u.search(/^touch/)!==-1&&(c=a(e),u=c.touches,s=c.changedTouches,l=u&&u.length?u[0]:s&&s.length?s[0]:r,l))for(h=0,y=tt.length;h<y;h++)f=tt[h],t[f]=l[f];return t}function p(t){for(var i={},r,u;t;){r=n.data(t,o);for(u in r)r[u]&&(i[u]=i.hasVirtualBinding=!0);t=t.parentNode}return i}function bt(t,i){for(var r;t;){if(r=n.data(t,o),r&&(!i||r[i]))return t;t=t.parentNode}return null}function kt(){c=!1}function ut(){c=!0}function dt(){s=0;v.length=0;k=!1;ut()}function gt(){kt()}function nt(){ft();h=setTimeout(function(){h=0;dt()},n.vmouse.resetTimerDuration)}function ft(){h&&(clearTimeout(h),h=0)}function e(t,i,r){var u;return(r&&r[t]||!r&&bt(i.target,t))&&(u=wt(i,t),n(i.target).trigger(u)),u}function et(t){var r=n.data(t.target,w),i;k||s&&s===r||(i=e("v"+t.type,t),i&&(i.isDefaultPrevented()&&t.preventDefault(),i.isPropagationStopped()&&t.stopPropagation(),i.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function ot(t){var o=a(t).touches,r,i,u;o&&o.length===1&&(r=t.target,i=p(r),i.hasVirtualBinding&&(s=pt++,n.data(r,w,s),ft(),gt(),f=!1,u=a(t).touches[0],it=u.pageX,rt=u.pageY,e("vmouseover",t,i),e("vmousedown",t,i)))}function st(n){c||(f||e("vmousecancel",n,p(n.target)),f=!0,nt())}function ht(t){if(!c){var i=a(t).touches[0],o=f,r=n.vmouse.moveDistanceThreshold,u=p(t.target);f=f||Math.abs(i.pageX-it)>r||Math.abs(i.pageY-rt)>r;f&&!o&&e("vmousecancel",t,u);e("vmousemove",t,u);nt()}}function ct(n){if(!c){ut();var t=p(n.target),i,r;e("vmouseup",n,t);f||(i=e("vclick",n,t),i&&i.isDefaultPrevented()&&(r=a(n).changedTouches[0],v.push({touchID:s,x:r.clientX,y:r.clientY}),k=!0));e("vmouseout",n,t);f=!1;nt()}}function lt(t){var i=n.data(t,o),r;if(i)for(r in i)if(i[r])return!0;return!1}function at(){}function ni(t){var i=t.substr(1);return{setup:function(){lt(this)||n.data(this,o,{});var r=n.data(this,o);r[t]=!0;u[t]=(u[t]||0)+1;u[t]===1&&y.bind(i,et);n(this).bind(i,at);d&&(u.touchstart=(u.touchstart||0)+1,u.touchstart===1&&y.bind("touchstart",ot).bind("touchend",ct).bind("touchmove",ht).bind("scroll",st))},teardown:function(){--u[t];u[t]||y.unbind(i,et);d&&(--u.touchstart,u.touchstart||y.unbind("touchstart",ot).unbind("touchmove",ht).unbind("touchend",ct).unbind("scroll",st));var r=n(this),f=n.data(this,o);f&&(f[t]=!1);r.unbind(i,at);lt(this)||r.removeData(o)}}}var o="virtualMouseBindings",w="virtualTouchID",b="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),tt="clientX clientY pageX pageY screenX screenY".split(" "),vt=n.event.mouseHooks?n.event.mouseHooks.props:[],yt=n.event.props.concat(vt),u={},h=0,it=0,rt=0,f=!1,v=[],k=!1,c=!1,d="addEventListener"in i,y=n(i),pt=1,s=0,g,l;for(n.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},l=0;l<b.length;l++)n.event.special[b[l]]=ni(b[l]);d&&i.addEventListener("click",function(t){var f=v.length,e=t.target,o,s,i,r,u,h;if(f)for(o=t.clientX,s=t.clientY,g=n.vmouse.clickDistanceThreshold,i=e;i;){for(r=0;r<f;r++)if(u=v[r],h=0,i===e&&Math.abs(u.x-o)<g&&Math.abs(u.y-s)<g||n.data(i,w)===u.touchID){t.preventDefault();t.stopPropagation();return}i=i.parentNode}},!0)})(n,t,i),function(n){n.mobile={}}(n),function(n){var t={touch:"ontouchend"in i};n.mobile.support=n.mobile.support||{};n.extend(n.support,t);n.extend(n.mobile.support,t)}(n),function(n,t,r){function f(t,i,u,f){var e=u.type;u.type=i;f?n.event.trigger(u,r,t):n.event.dispatch.call(t,u);u.type=e}var u=n(i),e=n.mobile.support.touch,s="touchmove scroll",h=e?"touchstart":"mousedown",c=e?"touchend":"mouseup",o=e?"touchmove":"mousemove";n.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,i){n.fn[i]=function(n){return n?this.bind(i,n):this.trigger(i)};n.attrFn&&(n.attrFn[i]=!0)});n.event.special.scrollstart={enabled:!0,setup:function(){function u(n,r){t=r;f(i,t?"scrollstart":"scrollstop",n)}var i=this,e=n(i),t,r;e.bind(s,function(i){n.event.special.scrollstart.enabled&&(t||u(i,!0),clearTimeout(r),r=setTimeout(function(){u(i,!1)},50))})},teardown:function(){n(this).unbind(s)}};n.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var i=this,r=n(i),t=!1;r.bind("vmousedown",function(e){function o(){clearTimeout(c)}function s(){o();r.unbind("vclick",l).unbind("vmouseup",o);u.unbind("vmousecancel",s)}function l(n){s();t||h!==n.target?t&&n.preventDefault():f(i,"tap",n)}if(t=!1,e.which&&e.which!==1)return!1;var h=e.target,c;r.bind("vmouseup",o).bind("vclick",l);u.bind("vmousecancel",s);c=setTimeout(function(){n.event.special.tap.emitTapOnTaphold||(t=!0);f(i,"taphold",n.Event("taphold",{target:h}))},n.event.special.tap.tapholdThreshold)})},teardown:function(){n(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup");u.unbind("vmousecancel")}};n.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:30,getLocation:function(n){var u=t.pageXOffset,f=t.pageYOffset,i=n.clientX,r=n.clientY;return n.pageY===0&&Math.floor(r)>Math.floor(n.pageY)||n.pageX===0&&Math.floor(i)>Math.floor(n.pageX)?(i=i-u,r=r-f):(r<n.pageY-f||i<n.pageX-u)&&(i=n.pageX-u,r=n.pageY-f),{x:i,y:r}},start:function(t){var r=t.originalEvent.touches?t.originalEvent.touches[0]:t,i=n.event.special.swipe.getLocation(r);return{time:(new Date).getTime(),coords:[i.x,i.y],origin:n(t.target)}},stop:function(t){var r=t.originalEvent.touches?t.originalEvent.touches[0]:t,i=n.event.special.swipe.getLocation(r);return{time:(new Date).getTime(),coords:[i.x,i.y]}},handleSwipe:function(t,i,r,u){if(i.time-t.time<n.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-i.coords[0])>n.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-i.coords[1])<n.event.special.swipe.verticalDistanceThreshold){var e=t.coords[0]>i.coords[0]?"swipeleft":"swiperight";return f(r,"swipe",n.Event("swipe",{target:u,swipestart:t,swipestop:i}),!0),f(r,e,n.Event(e,{target:u,swipestart:t,swipestop:i}),!0),!0}return!1},eventInProgress:!1,setup:function(){var i,r=this,f=n(r),t={};i=n.data(this,"mobile-events");i||(i={length:0},n.data(this,"mobile-events",i));i.length++;i.swipe=t;t.start=function(i){if(!n.event.special.swipe.eventInProgress){n.event.special.swipe.eventInProgress=!0;var e,s=n.event.special.swipe.start(i),h=i.target,f=!1;t.move=function(t){s&&!t.isDefaultPrevented()&&(e=n.event.special.swipe.stop(t),f||(f=n.event.special.swipe.handleSwipe(s,e,r,h),f&&(n.event.special.swipe.eventInProgress=!1)),Math.abs(s.coords[0]-e.coords[0])>n.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())};t.stop=function(){f=!0;n.event.special.swipe.eventInProgress=!1;u.off(o,t.move);t.move=null};u.on(o,t.move).one(c,t.stop)}};f.on(h,t.start)},teardown:function(){var i,t;i=n.data(this,"mobile-events");i&&(t=i.swipe,delete i.swipe,i.length--,i.length===0&&n.removeData(this,"mobile-events"));t&&(t.start&&n(this).off(h,t.start),t.move&&u.off(o,t.move),t.stop&&u.off(c,t.stop))}};n.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,i){n.event.special[t]={setup:function(){n(this).bind(i,n.noop)},teardown:function(){n(this).unbind(i)}}})}(n,this)}),function(n){"use strict";function v(n){function ft(n,i){var l,o,e,c,h,r,u=this;if(!(u instanceof ft))return ht&&lt(26,"constructor call without new",n),new ft(n,i);if(i!=null&&ot(i,2,64,st,"base")){if(i=i|0,r=n+"",i==10)return u=new ft(n instanceof ft?n:r),at(u,pt+u.e+1,ct);if((c=typeof n=="number")&&n*0!=0||!new RegExp("^-?"+(l="["+k.slice(0,i)+"]+")+"(?:\\."+l+")?$",i<37?"i":"").test(r))return p(u,r,c,i);c?(u.s=1/n<0?(r=r.slice(1),-1):1,ht&&r.replace(/^0\.0*|\./,"").length>15&&lt(st,tt,n),c=!1):u.s=r.charCodeAt(0)===45?(r=r.slice(1),-1):1;r=fi(r,10,i,u.s)}else{if(n instanceof ft){u.s=n.s;u.e=n.e;u.c=(n=n.c)?n.slice():n;st=0;return}if((c=typeof n=="number")&&n*0==0){if(u.s=1/n<0?(n=-n,-1):1,n===~~n){for(o=0,e=n;e>=10;e/=10,o++);u.e=o;u.c=[n];st=0;return}r=n+""}else{if(!rt.test(r=n+""))return p(u,r,c);u.s=r.charCodeAt(0)===45?(r=r.slice(1),-1):1}}for((o=r.indexOf("."))>-1&&(r=r.replace(".","")),(e=r.search(/e/i))>0?(o<0&&(o=e),o+=+r.slice(e+1),r=r.substring(0,e)):o<0&&(o=r.length),e=0;r.charCodeAt(e)===48;e++);for(h=r.length;r.charCodeAt(--h)===48;);if(r=r.slice(e,h+1),r)if(h=r.length,c&&ht&&h>15&&(n>s||n!==f(n))&&lt(st,tt,u.s*n),o=o-e-1,o>wt)u.c=u.e=null;else if(o<gt)u.c=[u.e=0];else{if(u.e=o,u.c=[],e=(o+1)%t,o<0&&(e+=t),e<h){for(e&&u.c.push(+r.slice(0,e)),h-=t;e<h;)u.c.push(+r.slice(e,e+=t));r=r.slice(e);e=t-r.length}else e-=h;for(;e--;r+="0");u.c.push(+r)}else u.c=[u.e=0];st=0}function fi(n,t,i,r){var e,a,s,l,f,u,y,h=n.indexOf("."),p=pt,v=ct;for(i<37&&(n=n.toLowerCase()),h>=0&&(s=bt,bt=0,n=n.replace(".",""),y=new ft(i),f=y.pow(n.length-h),bt=s,y.c=it(c(o(f.c),f.e),10,t),y.e=y.c.length),u=it(n,i,t),a=s=u.length;u[--s]==0;u.pop());if(!u[0])return"0";if(h<0?--a:(f.c=u,f.e=a,f.s=r,f=vt(f,y,p,v,t),u=f.c,l=f.r,a=f.e),e=a+p+1,h=u[e],s=t/2,l=l||e<0||u[e+1]!=null,l=v<4?(h!=null||l)&&(v==0||v==(f.s<0?3:2)):h>s||h==s&&(v==4||l||v==6&&u[e-1]&1||v==(f.s<0?8:7)),e<1||!u[0])n=l?c("1",-p):"0";else{if(u.length=e,l)for(--t;++u[--e]>t;)u[e]=0,e||(++a,u.unshift(1));for(s=u.length;!u[--s];);for(h=0,n="";h<=s;n+=k.charAt(u[h++]));n=c(n,a)}return n}function ri(n,t,i,r){var h,f,s,e,u;if(i=i!=null&&ot(i,0,8,r,b)?i|0:ct,!n.c)return n.toString();if(h=n.c[0],s=n.e,t==null)u=o(n.c),u=r==19||r==24&&s<=dt?y(u,s):c(u,s);else if(n=at(new ft(n),t,i),f=n.e,u=o(n.c),e=u.length,r==19||r==24&&(t<=f||f<=dt)){for(;e<t;u+="0",e++);u=y(u,f)}else if(t-=s,u=c(u,f),f+1>e){if(--t>0)for(u+=".";t--;u+="0");}else if(t+=f-e,t>0)for(f+1==e&&(u+=".");t--;u+="0");return n.s<0&&h?"-"+u:u}function ei(n,t){var i,r,u=0;for(g(n[0])&&(n=n[0]),i=new ft(n[0]);++u<n.length;)if(r=new ft(n[u]),r.s)t.call(i,r)&&(i=r);else{i=r;break}return i}function oi(n,t,i,r,u){return(n<t||n>i||n!=nt(n))&&lt(r,(u||"decimal places")+(n<t||n>i?" out of range":" not an integer"),n),!0}function ui(n,i,r){for(var f=1,u=i.length;!i[--u];i.pop());for(u=i[0];u>=10;u/=10,f++);return(r=f+r*t-1)>wt?n.c=n.e=null:r<gt?n.c=[n.e=0]:(n.e=r,n.c=i),n}function lt(n,t,i){var r=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][n]+"() "+t+": "+i);r.name="BigNumber Error";st=0;throw r;}function at(n,i,r,u){var v,h,s,c,y,l,w,o=n.c,p=d;if(o){n:{for(v=1,c=o[0];c>=10;c/=10,v++);if(h=i-v,h<0)h+=t,s=i,y=o[l=0],w=y/p[v-s-1]%10|0;else if(l=a((h+1)/t),l>=o.length)if(u){for(;o.length<=l;o.push(0));y=w=0;v=1;h%=t;s=h-t+1}else break n;else{for(y=c=o[l],v=1;c>=10;c/=10,v++);h%=t;s=h-t+v;w=s<0?0:y/p[v-s-1]%10|0}if(u=u||i<0||o[l+1]!=null||(s<0?y:y%p[v-s-1]),u=r<4?(w||u)&&(r==0||r==(n.s<0?3:2)):w>5||w==5&&(r==4||u||r==6&&(h>0?s>0?y/p[v-s]:0:o[l-1])%10&1||r==(n.s<0?8:7)),i<1||!o[0])return o.length=0,u?(i-=n.e+1,o[0]=p[(t-i%t)%t],n.e=-i||0):o[0]=n.e=0,n;if(h==0?(o.length=l,c=1,l--):(o.length=l+1,c=p[t-h],o[l]=s>0?f(y/p[v-s]%p[s])*c:0),u)for(;;)if(l==0){for(h=1,s=o[0];s>=10;s/=10,h++);for(s=o[0]+=c,c=1;s>=10;s/=10,c++);h!=c&&(n.e++,o[0]==e&&(o[0]=1));break}else{if(o[l]+=c,o[l]!=e)break;o[l--]=0;c=1}for(h=o.length;o[--h]===0;o.pop());}n.e>wt?n.c=n.e=null:n.e<gt&&(n.c=[n.e=0])}return n}var vt,st=0,et=ft.prototype,yt=new ft(1),pt=20,ct=4,dt=-7,ni=21,gt=-1e7,wt=1e7,ht=!0,ot=oi,ti=!1,ii=1,bt=100,kt={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0};return ft.another=v,ft.ROUND_UP=0,ft.ROUND_DOWN=1,ft.ROUND_CEIL=2,ft.ROUND_FLOOR=3,ft.ROUND_HALF_UP=4,ft.ROUND_HALF_DOWN=5,ft.ROUND_HALF_EVEN=6,ft.ROUND_HALF_CEIL=7,ft.ROUND_HALF_FLOOR=8,ft.EUCLID=9,ft.config=function(){var n,t,s=0,u={},o=arguments,e=o[0],f=e&&typeof e=="object"?function(){if(e.hasOwnProperty(t))return(n=e[t])!=null}:function(){if(o.length>s)return(n=o[s++])!=null};return f(t="DECIMAL_PLACES")&&ot(n,0,i,2,t)&&(pt=n|0),u[t]=pt,f(t="ROUNDING_MODE")&&ot(n,0,8,2,t)&&(ct=n|0),u[t]=ct,f(t="EXPONENTIAL_AT")&&(g(n)?ot(n[0],-i,0,2,t)&&ot(n[1],0,i,2,t)&&(dt=n[0]|0,ni=n[1]|0):ot(n,-i,i,2,t)&&(dt=-(ni=(n<0?-n:n)|0))),u[t]=[dt,ni],f(t="RANGE")&&(g(n)?ot(n[0],-i,-1,2,t)&&ot(n[1],1,i,2,t)&&(gt=n[0]|0,wt=n[1]|0):ot(n,-i,i,2,t)&&(n|0?gt=-(wt=(n<0?-n:n)|0):ht&&lt(2,t+" cannot be zero",n))),u[t]=[gt,wt],f(t="ERRORS")&&(n===!!n||n===1||n===0?(st=0,ot=(ht=!!n)?oi:ut):ht&&lt(2,t+w,n)),u[t]=ht,f(t="CRYPTO")&&(n===!!n||n===1||n===0?(ti=!!(n&&r),n&&!ti&&ht&&lt(2,"crypto unavailable",r)):ht&&lt(2,t+w,n)),u[t]=ti,f(t="MODULO_MODE")&&ot(n,0,9,2,t)&&(ii=n|0),u[t]=ii,f(t="POW_PRECISION")&&ot(n,0,i,2,t)&&(bt=n|0),u[t]=bt,f(t="FORMAT")&&(typeof n=="object"?kt=n:ht&&lt(2,t+" not an object",n)),u[t]=kt,u},ft.max=function(){return ei(arguments,et.lt)},ft.min=function(){return ei(arguments,et.gt)},ft.random=function(){var n=9007199254740992,u=Math.random()*n&2097151?function(){return f(Math.random()*n)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(n){var s,v,l,c,o,e=0,h=[],y=new ft(yt);if(n=n==null||!ot(n,0,i,14)?pt:n|0,c=a(n/t),ti)if(r&&r.getRandomValues){for(s=r.getRandomValues(new Uint32Array(c*=2));e<c;)o=s[e]*131072+(s[e+1]>>>11),o>=9e15?(v=r.getRandomValues(new Uint32Array(2)),s[e]=v[0],s[e+1]=v[1]):(h.push(o%1e14),e+=2);e=c/2}else if(r&&r.randomBytes){for(s=r.randomBytes(c*=7);e<c;)o=(s[e]&31)*281474976710656+s[e+1]*1099511627776+s[e+2]*4294967296+s[e+3]*16777216+(s[e+4]<<16)+(s[e+5]<<8)+s[e+6],o>=9e15?r.randomBytes(7).copy(s,e):(h.push(o%1e14),e+=7);e=c/7}else ht&&lt(14,"crypto unavailable",r);if(!e)for(;e<c;)o=u(),o<9e15&&(h[e++]=o%1e14);for(c=h[--e],n%=t,c&&n&&(o=d[t-n],h[e]=f(c/o)*o);h[e]===0;h.pop(),e--);if(e<0)h=[l=0];else{for(l=-1;h[0]===0;h.shift(),l-=t);for(e=1,o=h[0];o>=10;o/=10,e++);e<t&&(l-=t-e)}return y.e=l,y.c=h,y}}(),vt=function(){function n(n,t,i){var f,e,o,s,r=0,u=n.length,c=t%h,l=t/h|0;for(n=n.slice();u--;)o=n[u]%h,s=n[u]/h|0,f=l*o+s*c,e=c*o+f%h*h+r,r=(e/i|0)+(f/h|0)+l*s,n[u]=e%i;return r&&n.unshift(r),n}function i(n,t,i,r){var u,f;if(i!=r)f=i>r?1:-1;else for(u=f=0;u<i;u++)if(n[u]!=t[u]){f=n[u]>t[u]?1:-1;break}return f}function r(n,t,i,r){for(var u=0;i--;)n[i]-=u,u=n[i]<t[i]?1:0,n[i]=u*r+n[i]-t[i];for(;!n[0]&&n.length>1;n.shift());}return function(o,s,h,c,l){var it,rt,k,et,y,g,nt,tt,ut,v,p,ot,st,ct,lt,d,ht,b=o.s==s.s?1:-1,w=o.c,a=s.c;if(!w||!w[0]||!a||!a[0])return new ft(!o.s||!s.s||(w?a&&w[0]==a[0]:!a)?NaN:w&&w[0]==0||!a?b*0:b/0);for(tt=new ft(b),ut=tt.c=[],rt=o.e-s.e,b=h+rt+1,l||(l=e,rt=u(o.e/t)-u(s.e/t),b=b/t|0),k=0;a[k]==(w[k]||0);k++);if(a[k]>(w[k]||0)&&rt--,b<0)ut.push(1),et=!0;else{for(ct=w.length,d=a.length,k=0,b+=2,y=f(l/(a[0]+1)),y>1&&(a=n(a,y,l),w=n(w,y,l),d=a.length,ct=w.length),st=d,v=w.slice(0,d),p=v.length;p<d;v[p++]=0);ht=a.slice();ht.unshift(0);lt=a[0];a[1]>=l/2&&lt++;do{if(y=0,it=i(a,v,d,p),it<0){if(ot=v[0],d!=p&&(ot=ot*l+(v[1]||0)),y=f(ot/lt),y>1)for(y>=l&&(y=l-1),g=n(a,y,l),nt=g.length,p=v.length;i(g,v,nt,p)==1;)y--,r(g,d<nt?ht:a,nt,l),nt=g.length,it=1;else y==0&&(it=y=1),g=a.slice(),nt=g.length;if(nt<p&&g.unshift(0),r(v,g,p,l),p=v.length,it==-1)while(i(a,v,d,p)<1)y++,r(v,d<p?ht:a,p,l),p=v.length}else it===0&&(y++,v=[0]);ut[k++]=y;v[0]?v[p++]=w[st]||0:(v=[w[st]],p=1)}while((st++<ct||v[0]!=null)&&b--);et=v[0]!=null;ut[0]||ut.shift()}if(l==e){for(k=1,b=ut[0];b>=10;b/=10,k++);at(tt,h+(tt.e=k+rt*t-1)+1,c,et)}else tt.e=rt,tt.r=+et;return tt}}(),p=function(){var n=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,i=/^\.([^.]+)$/,r=/^-?(Infinity|NaN)$/,u=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(f,e,o,s){var c,h=o?e:e.replace(u,"");if(r.test(h))f.s=isNaN(h)?null:h<0?-1:1;else{if(!o&&(h=h.replace(n,function(n,t,i){return c=(i=i.toLowerCase())=="x"?16:i=="b"?2:8,!s||s==c?t:n}),s&&(c=s,h=h.replace(t,"$1").replace(i,"0.$1")),e!=h))return new ft(h,c);ht&&lt(st,"not a"+(s?" base "+s:"")+" number",e);f.s=null}f.c=f.e=null;st=0}}(),et.absoluteValue=et.abs=function(){var n=new ft(this);return n.s<0&&(n.s=1),n},et.ceil=function(){return at(new ft(this),this.e+1,2)},et.comparedTo=et.cmp=function(n,t){return st=1,l(this,new ft(n,t))},et.decimalPlaces=et.dp=function(){var n,i,r=this.c;if(!r)return null;if(n=((i=r.length-1)-u(this.e/t))*t,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},et.dividedBy=et.div=function(n,t){return st=3,vt(this,new ft(n,t),pt,ct)},et.dividedToIntegerBy=et.divToInt=function(n,t){return st=4,vt(this,new ft(n,t),0,1)},et.equals=et.eq=function(n,t){return st=5,l(this,new ft(n,t))===0},et.floor=function(){return at(new ft(this),this.e+1,3)},et.greaterThan=et.gt=function(n,t){return st=6,l(this,new ft(n,t))>0},et.greaterThanOrEqualTo=et.gte=function(n,t){return st=7,(t=l(this,new ft(n,t)))===1||t===0},et.isFinite=function(){return!!this.c},et.isInteger=et.isInt=function(){return!!this.c&&u(this.e/t)>this.c.length-2},et.isNaN=function(){return!this.s},et.isNegative=et.isNeg=function(){return this.s<0},et.isZero=function(){return!!this.c&&this.c[0]==0},et.lessThan=et.lt=function(n,t){return st=8,l(this,new ft(n,t))<0},et.lessThanOrEqualTo=et.lte=function(n,t){return st=9,(t=l(this,new ft(n,t)))===-1||t===0},et.minus=et.sub=function(n,i){var h,s,c,y,a=this,o=a.s;if(st=10,n=new ft(n,i),i=n.s,!o||!i)return new ft(NaN);if(o!=i)return n.s=-i,a.plus(n);var v=a.e/t,l=n.e/t,r=a.c,f=n.c;if(!v||!l){if(!r||!f)return r?(n.s=-i,n):new ft(f?a:NaN);if(!r[0]||!f[0])return f[0]?(n.s=-i,n):new ft(r[0]?a:ct==3?-0:0)}if(v=u(v),l=u(l),r=r.slice(),o=v-l){for((y=o<0)?(o=-o,c=r):(l=v,c=f),c.reverse(),i=o;i--;c.push(0));c.reverse()}else for(s=(y=(o=r.length)<(i=f.length))?o:i,o=i=0;i<s;i++)if(r[i]!=f[i]){y=r[i]<f[i];break}if(y&&(c=r,r=f,f=c,n.s=-n.s),i=(s=f.length)-(h=r.length),i>0)for(;i--;r[h++]=0);for(i=e-1;s>o;){if(r[--s]<f[s]){for(h=s;h&&!r[--h];r[h]=i);--r[h];r[s]+=e}r[s]-=f[s]}for(;r[0]==0;r.shift(),--l);return r[0]?ui(n,r,l):(n.s=ct==3?-1:1,n.c=[n.e=0],n)},et.modulo=et.mod=function(n,t){var r,u,i=this;if(st=11,n=new ft(n,t),i.c&&n.s&&(!n.c||n.c[0])){if(!n.c||i.c&&!i.c[0])return new ft(i)}else return new ft(NaN);return ii==9?(u=n.s,n.s=1,r=vt(i,n,0,3),n.s=u,r.s*=u):r=vt(i,n,0,ii),i.minus(r.times(n))},et.negated=et.neg=function(){var n=new ft(this);return n.s=-n.s||null,n},et.plus=et.add=function(n,i){var s,c=this,r=c.s;if(st=12,n=new ft(n,i),i=n.s,!r||!i)return new ft(NaN);if(r!=i)return n.s=-i,c.minus(n);var l=c.e/t,h=n.e/t,f=c.c,o=n.c;if(!l||!h){if(!f||!o)return new ft(r/0);if(!f[0]||!o[0])return o[0]?n:new ft(f[0]?c:r*0)}if(l=u(l),h=u(h),f=f.slice(),r=l-h){for(r>0?(h=l,s=o):(r=-r,s=f),s.reverse();r--;s.push(0));s.reverse()}for(r=f.length,i=o.length,r-i<0&&(s=o,o=f,f=s,i=r),r=0;i;)r=(f[--i]=f[i]+o[i]+r)/e|0,f[i]%=e;return r&&(f.unshift(r),++h),ui(n,f,h)},et.precision=et.sd=function(n){var r,i,f=this,u=f.c;if(n!=null&&n!==!!n&&n!==1&&n!==0&&(ht&&lt(13,"argument"+w,n),n!=!!n&&(n=null)),!u)return null;if(i=u.length-1,r=i*t+1,i=u[i]){for(;i%10==0;i/=10,r--);for(i=u[0];i>=10;i/=10,r++);}return n&&f.e+1>r&&(r=f.e+1),r},et.round=function(n,t){var r=new ft(this);return(n==null||ot(n,0,i,15))&&at(r,~~n+this.e+1,t==null||!ot(t,0,8,15,b)?ct:t|0),r},et.shift=function(n){var t=this;return ot(n,-s,s,16,"argument")?t.times("1e"+nt(n)):new ft(t.c&&t.c[0]&&(n<-s||n>s)?t.s*(n<0?0:1/0):t)},et.squareRoot=et.sqrt=function(){var l,t,i,h,f,e=this,s=e.c,n=e.s,r=e.e,c=pt+4,a=new ft("0.5");if(n!==1||!s||!s[0])return new ft(!n||n<0&&(!s||s[0])?NaN:s?e:1/0);if(n=Math.sqrt(+e),n==0||n==1/0?(t=o(s),(t.length+r)%2==0&&(t+="0"),n=Math.sqrt(t),r=u((r+1)/2)-(r<0||r%2),n==1/0?t="1e"+r:(t=n.toExponential(),t=t.slice(0,t.indexOf("e")+1)+r),i=new ft(t)):i=new ft(n+""),i.c[0])for(r=i.e,n=r+c,n<3&&(n=0);;)if(f=i,i=a.times(f.plus(vt(e,f,c,1))),o(f.c).slice(0,n)===(t=o(i.c)).slice(0,n))if(i.e<r&&--n,t=t.slice(n-3,n+1),t!="9999"&&(h||t!="4999")){+t&&(+t.slice(1)||t.charAt(0)!="5")||(at(i,i.e+pt+2,1),l=!i.times(i).eq(e));break}else{if(!h&&(at(f,f.e+pt+2,0),f.times(f).eq(e))){i=f;break}c+=4;n+=4;h=1}return at(i,i.e+pt+1,ct,l)},et.times=et.mul=function(n,i){var y,k,o,p,b,d,l,a,g,v,nt,tt,s,it,c,w=this,r=w.c,f=(st=17,n=new ft(n,i)).c;if(!r||!f||!r[0]||!f[0])return w.s&&n.s&&(!r||r[0]||f)&&(!f||f[0]||r)?(n.s*=w.s,r&&f?(n.c=[0],n.e=0):n.c=n.e=null):n.c=n.e=n.s=null,n;for(k=u(w.e/t)+u(n.e/t),n.s*=w.s,l=r.length,v=f.length,l<v&&(s=r,r=f,f=s,o=l,l=v,v=o),o=l+v,s=[];o--;s.push(0));for(it=e,c=h,o=v;--o>=0;){for(y=0,nt=f[o]%c,tt=f[o]/c|0,b=l,p=o+b;p>o;)a=r[--b]%c,g=r[b]/c|0,d=tt*a+g*nt,a=nt*a+d%c*c+s[p]+y,y=(a/it|0)+(d/c|0)+tt*g,s[p--]=a%it;s[p]=y}return y?++k:s.shift(),ui(n,s,k)},et.toDigits=function(n,t){var r=new ft(this);return n=n==null||!ot(n,1,i,18,"precision")?null:n|0,t=t==null||!ot(t,0,8,18,b)?ct:t|0,n?at(r,n,t):r},et.toExponential=function(n,t){return ri(this,n!=null&&ot(n,0,i,19)?~~n+1:null,t,19)},et.toFixed=function(n,t){return ri(this,n!=null&&ot(n,0,i,20)?~~n+this.e+1:null,t,20)},et.toFormat=function(n,t){var h=ri(this,n!=null&&ot(n,0,i,21)?~~n+this.e+1:null,t,21);if(this.c){var r,l=h.split("."),f=+kt.groupSize,e=+kt.secondaryGroupSize,a=kt.groupSeparator,u=l[0],c=l[1],v=this.s<0,o=v?u.slice(1):u,s=o.length;if(e&&(r=f,f=e,e=r,s-=r),f>0&&s>0){for(r=s%f||f,u=o.substr(0,r);r<s;r+=f)u+=a+o.substr(r,f);e>0&&(u+=a+o.slice(r));v&&(u="-"+u)}h=c?u+kt.decimalSeparator+((e=+kt.fractionGroupSize)?c.replace(new RegExp("\\d{"+e+"}\\B","g"),"$&"+kt.fractionGroupSeparator):c):u}return h},et.toFraction=function(n){var w,f,r,c,a,i,u,v,p,y=ht,l=this,b=l.c,e=new ft(yt),s=f=new ft(yt),h=u=new ft(yt);if(n!=null&&(ht=!1,i=new ft(n),ht=y,(y=i.isInt())&&!i.lt(yt)||(ht&&lt(22,"max denominator "+(y?"out of range":"not an integer"),n),n=!y&&i.c&&at(i,i.e+1,1).gte(yt)?i:null)),!b)return l.toString();for(p=o(b),c=e.e=p.length-l.e-1,e.c[0]=d[(a=c%t)<0?t+a:a],n=!n||i.cmp(e)>0?c>0?e:s:i,a=wt,wt=1/0,i=new ft(p),u.c[0]=0;;){if(v=vt(i,e,0,1),r=f.plus(v.times(h)),r.cmp(n)==1)break;f=h;h=r;s=u.plus(v.times(r=s));u=r;e=i.minus(v.times(r=e));i=r}return r=vt(n.minus(f),h,0,1),u=u.plus(r.times(s)),f=f.plus(r.times(h)),u.s=s.s=l.s,c*=2,w=vt(s,h,c,ct).minus(l).abs().cmp(vt(u,f,c,ct).minus(l).abs())<1?[s.toString(),h.toString()]:[u.toString(),f.toString()],wt=a,w},et.toNumber=function(){return+this},et.toPower=et.pow=function(n,i){var e,r,h,o=f(n<0?-n:+n),u=this;if(i!=null&&(st=23,i=new ft(i)),!ot(n,-s,s,23,"exponent")&&(!isFinite(n)||o>s&&(n/=0)||parseFloat(n)!=n&&!(n=NaN))||n==0)return e=Math.pow(+u,n),new ft(i?e%i:e);for(i?n>1&&u.gt(yt)&&u.isInt()&&i.gt(yt)&&i.isInt()?u=u.mod(i):(h=i,i=null):bt&&(e=a(bt/t+2)),r=new ft(yt);;){if(o%2){if(r=r.times(u),!r.c)break;e?r.c.length>e&&(r.c.length=e):i&&(r=r.mod(i))}if(o=f(o/2),!o)break;u=u.times(u);e?u.c&&u.c.length>e&&(u.c.length=e):i&&(u=u.mod(i))}return i?r:(n<0&&(r=yt.div(r)),h?r.mod(h):e?at(r,bt,ct):r)},et.toPrecision=function(n,t){return ri(this,n!=null&&ot(n,1,i,24,"precision")?n|0:null,t,24)},et.toString=function(n){var t,r=this,u=r.s,i=r.e;return i===null?u?(t="Infinity",u<0&&(t="-"+t)):t="NaN":(t=o(r.c),t=n!=null&&ot(n,2,64,25,"base")?fi(c(t,i),n|0,10,u):i<=dt||i>=ni?y(t,i):c(t,i),u<0&&r.c[0]&&(t="-"+t)),t},et.truncated=et.trunc=function(){return at(new ft(this),this.e+1,1)},et.valueOf=et.toJSON=function(){var n,i=this,t=i.e;return t===null?i.toString():(n=o(i.c),n=t<=dt||t>=ni?y(n,t):c(n,t),i.s<0?"-"+n:n)},n!=null&&ft.config(n),ft}function u(n){var t=n|0;return n>0||n===t?t:t-1}function o(n){for(var i,f,e=1,r=n.length,u=n[0]+"";e<r;){for(i=n[e++]+"",f=t-i.length;f--;i="0"+i);u+=i}for(r=u.length;u.charCodeAt(--r)===48;);return u.slice(0,r+1||1)}function l(n,t){var r,f,u=n.c,e=t.c,i=n.s,h=t.s,o=n.e,s=t.e;if(!i||!h)return null;if(r=u&&!u[0],f=e&&!e[0],r||f)return r?f?0:-h:i;if(i!=h)return i;if(r=i<0,f=o==s,!u||!e)return f?0:!u^r?1:-1;if(!f)return o>s^r?1:-1;for(h=(o=u.length)<(s=e.length)?o:s,i=0;i<h;i++)if(u[i]!=e[i])return u[i]>e[i]^r?1:-1;return o==s?0:o>s^r?1:-1}function ut(n,t,i){return(n=nt(n))>=t&&n<=i}function g(n){return Object.prototype.toString.call(n)=="[object Array]"}function it(n,t,i){for(var u,r=[0],f,e=0,o=n.length;e<o;){for(f=r.length;f--;r[f]*=t);for(r[u=0]+=k.indexOf(n.charAt(e++));u<r.length;u++)r[u]>i-1&&(r[u+1]==null&&(r[u+1]=0),r[u+1]+=r[u]/i|0,r[u]%=i)}return r.reverse()}function y(n,t){return(n.length>1?n.charAt(0)+"."+n.slice(1):n)+(t<0?"e":"e+")+t}function c(n,t){var r,i;if(t<0){for(i="0.";++t;i+="0");n=i+n}else if(r=n.length,++t>r){for(i="0",t-=r;--t;i+="0");n+=i}else t<r&&(n=n.slice(0,t)+"."+n.slice(t));return n}function nt(n){return n=parseFloat(n),n<0?a(n):f(n)}var r,p,rt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=Math.ceil,f=Math.floor,w=" not a boolean or binary digit",b="rounding mode",tt="number type has more than 15 significant digits",k="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",e=1e14,t=14,s=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,i=1e9;if(typeof crypto!="undefined"&&(r=crypto),typeof define=="function"&&define.amd)define("bignumber",function(){return v()});else if(typeof module!="undefined"&&module.exports){if(module.exports=v(),!r)try{r=require("crypto")}catch(ft){}}else n||(n=typeof self!="undefined"?self:Function("return this")()),n.BigNumber=v()}(this),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3");}(jQuery);+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(void 0!==i.style[n])return{end:t[n]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);+function(n){"use strict";function u(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,""));r=n(u);i&&i.preventDefault();r.length||(r=f.closest(".alert"));r.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.3.6";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text";null==u.resetText&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"toggle");n(t.target).is('input[type="radio"]')||n(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.6";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r="prev"==n?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.3.6";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION):u.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":u.data();i.call(f,o)})}(jQuery);+function(n){"use strict";function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function u(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var u=n(this),i=r(u),f={relatedTarget:this};i.hasClass("open")&&(t&&"click"==t.type&&/input|textarea/i.test(t.target.tagName)&&n.contains(i[0],t.target)||(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(u.attr("aria-expanded","false"),i.removeClass("open").trigger(n.Event("hidden.bs.dropdown",f)))))}))}function e(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.6";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=r(f),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",u),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger(n.Event("shown.bs.dropdown",e))}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");h=" li:not(.disabled):visible a";f=o.find(".dropdown-menu"+h);f.length&&(u=f.index(t.target),38==t.which&&u>0&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=e;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery);+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.6";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i="bottom"==i&&f.bottom+s>e.bottom?"top":"top"==i&&f.top-s<e.top?"bottom":"right"==i&&f.right+o>e.width?"left":"left"==i&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function f(){"in"!=u.hoverState&&r.detach();u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type);i&&i()}var u=this,r=n(this.$tip),e=n.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",f).emulateTransitionEnd(t.TRANSITION_DURATION):f(),this.hoverState=null,this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.6";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery);+function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(n(i).is(document.body)?window:i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.3.6";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.6";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);o?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),o=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&o?f.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.6";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),f=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=f.top?!1:"bottom":n-r>=u+e?!1:"bottom";var o=null==this.affixed,s=o?u:f.top,h=o?e:t;return null!=i&&i>=u?"top":null!=r&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=Math.max(n(document).height(),n(document.body).height());if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery),function(n,t){typeof define=="function"&&define.amd?define("bloodhound",["jquery"],function(i){return n.Bloodhound=t(i)}):typeof exports=="object"?module.exports=t(require("jquery")):n.Bloodhound=t(jQuery)}(this,function(n){var t=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(n){return!n||/^\s*$/.test(n)},escapeRegExChars:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(n){return typeof n=="string"},isNumber:function(n){return typeof n=="number"},isArray:n.isArray,isFunction:n.isFunction,isObject:n.isPlainObject,isUndefined:function(n){return typeof n=="undefined"},isElement:function(n){return!!(n&&n.nodeType===1)},isJQuery:function(t){return t instanceof n},toStr:function(n){return t.isUndefined(n)||n===null?"":n+""},bind:n.proxy,each:function(t,i){function r(n,t){return i(t,n)}n.each(t,r)},map:n.map,filter:n.grep,every:function(t,i){var r=!0;return t?(n.each(t,function(n,u){if(!(r=i.call(null,u,n,t)))return!1}),!!r):r},some:function(t,i){var r=!1;return t?(n.each(t,function(n,u){if(r=i.call(null,u,n,t))return!1}),!!r):r},mixin:n.extend,identity:function(n){return n},clone:function(t){return n.extend(!0,{},t)},getIdGenerator:function(){var n=0;return function(){return n++}},templatify:function(t){function i(){return String(t)}return n.isFunction(t)?t:i},defer:function(n){setTimeout(n,0)},debounce:function(n,t,i){var r,u;return function(){var f=this,e=arguments,o,s;return o=function(){r=null;i||(u=n.apply(f,e))},s=i&&!r,clearTimeout(r),r=setTimeout(o,t),s&&(u=n.apply(f,e)),u}},throttle:function(n,t){var u,f,i,e,r,o;return r=0,o=function(){r=new Date;i=null;e=n.apply(u,f)},function(){var s=new Date,h=t-(s-r);return u=this,f=arguments,h<=0?(clearTimeout(i),i=null,r=s,e=n.apply(u,f)):i||(i=setTimeout(o,h)),e}},stringify:function(n){return t.isString(n)?n:JSON.stringify(n)},noop:function(){}}}(),u="0.11.1",f=function(){"use strict";function n(n){return n=t.toStr(n),n?n.split(/\s+/):[]}function i(n){return n=t.toStr(n),n?n.split(/\W+/):[]}function r(n){return function(i){return i=t.isArray(i)?i:[].slice.call(arguments,0),function(r){var u=[];return t.each(i,function(i){u=u.concat(n(t.toStr(r[i])))}),u}}}return{nonword:i,whitespace:n,obj:{nonword:r(i),whitespace:r(n)}}}(),i=function(){"use strict";function i(i){this.maxSize=t.isNumber(i)?i:100;this.reset();this.maxSize<=0&&(this.set=this.get=n.noop)}function r(){this.head=this.tail=null}function u(n,t){this.key=n;this.val=t;this.prev=this.next=null}return t.mixin(i.prototype,{set:function(n,t){var r=this.list.tail,i;this.size>=this.maxSize&&(this.list.remove(r),delete this.hash[r.key],this.size--);(i=this.hash[n])?(i.val=t,this.list.moveToFront(i)):(i=new u(n,t),this.list.add(i),this.hash[n]=i,this.size++)},get:function(n){var t=this.hash[n];if(t)return this.list.moveToFront(t),t.val},reset:function(){this.size=0;this.hash={};this.list=new r}}),t.mixin(r.prototype,{add:function(n){this.head&&(n.next=this.head,this.head.prev=n);this.head=n;this.tail=this.tail||n},remove:function(n){n.prev?n.prev.next=n.next:this.head=n.next;n.next?n.next.prev=n.prev:this.tail=n.prev},moveToFront:function(n){this.remove(n);this.add(n)}}),i}(),e=function(){"use strict";function r(n,r){this.prefix=["__",n,"__"].join("");this.ttlKey="__ttl__";this.keyMatcher=new RegExp("^"+t.escapeRegExChars(this.prefix));this.ls=r||i;this.ls||this._noop()}function u(){return(new Date).getTime()}function f(n){return JSON.stringify(t.isUndefined(n)?null:n)}function e(t){return n.parseJSON(t)}function o(n){for(var r,u=[],f=i.length,t=0;t<f;t++)(r=i.key(t)).match(n)&&u.push(r.replace(n,""));return u}var i;try{i=window.localStorage;i.setItem("~~~","!");i.removeItem("~~~")}catch(s){i=null}return t.mixin(r.prototype,{_prefix:function(n){return this.prefix+n},_ttlKey:function(n){return this._prefix(n)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=t.noop},_safeSet:function(n,t){try{this.ls.setItem(n,t)}catch(i){i.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(n){return this.isExpired(n)&&this.remove(n),e(this.ls.getItem(this._prefix(n)))},set:function(n,i,r){return t.isNumber(r)?this._safeSet(this._ttlKey(n),f(u()+r)):this.ls.removeItem(this._ttlKey(n)),this._safeSet(this._prefix(n),f(i))},remove:function(n){return this.ls.removeItem(this._ttlKey(n)),this.ls.removeItem(this._prefix(n)),this},clear:function(){for(var n=o(this.keyMatcher),t=n.length;t--;)this.remove(n[t]);return this},isExpired:function(n){var i=e(this.ls.getItem(this._ttlKey(n)));return t.isNumber(i)&&u()>i?!0:!1}}),r}(),r=function(){"use strict";function r(n){n=n||{};this.cancelled=!1;this.lastReq=null;this._send=n.transport;this._get=n.limiter?n.limiter(this._get):this._get;this._cache=n.cache===!1?new i(0):o}var u=0,f={},e=6,o=new i(10);return r.setMaxPendingRequests=function(n){e=n},r.resetCache=function(){o.reset()},t.mixin(r.prototype,{_fingerprint:function(t){return t=t||{},t.url+t.type+n.param(t.data||{})},_get:function(n,t){function o(n){t(null,n);i._cache.set(r,n)}function s(){t(!0)}function c(){u--;delete f[r];i.onDeckRequestArgs&&(i._get.apply(i,i.onDeckRequestArgs),i.onDeckRequestArgs=null)}var i=this,r,h;(r=this._fingerprint(n),this.cancelled||r!==this.lastReq)||((h=f[r])?h.done(o).fail(s):u<e?(u++,f[r]=this._send(n).done(o).fail(s).always(c)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(i,r){var f,u;r=r||n.noop;i=t.isString(i)?{url:i}:i||{};u=this._fingerprint(i);this.cancelled=!1;this.lastReq=u;(f=this._cache.get(u))?r(null,f):this._get(i,r)},cancel:function(){this.cancelled=!0}}),r}(),o=window.SearchIndex=function(){"use strict";function u(i){i=i||{};i.datumTokenizer&&i.queryTokenizer||n.error("datumTokenizer and queryTokenizer are both required");this.identify=i.identify||t.stringify;this.datumTokenizer=i.datumTokenizer;this.queryTokenizer=i.queryTokenizer;this.reset()}function f(n){return n=t.filter(n,function(n){return!!n}),t.map(n,function(n){return n.toLowerCase()})}function e(){var n={};return n[r]=[],n[i]={},n}function o(n){for(var i={},r=[],t=0,u=n.length;t<u;t++)i[n[t]]||(i[n[t]]=!0,r.push(n[t]));return r}function s(n,t){var i=0,r=0,u=[],f,e;for(n=n.sort(),t=t.sort(),f=n.length,e=t.length;i<f&&r<e;)n[i]<t[r]?i++:n[i]>t[r]?r++:(u.push(n[i]),i++,r++);return u}var i="c",r="i";return t.mixin(u.prototype,{bootstrap:function(n){this.datums=n.datums;this.trie=n.trie},add:function(n){var u=this;n=t.isArray(n)?n:[n];t.each(n,function(n){var o,s;u.datums[o=u.identify(n)]=n;s=f(u.datumTokenizer(n));t.each(s,function(n){for(var f,t=u.trie,s=n.split("");f=s.shift();)t=t[i][f]||(t[i][f]=e()),t[r].push(o)})})},get:function(n){var i=this;return t.map(n,function(n){return i.datums[n]})},search:function(n){var e=this,h,u;return h=f(this.queryTokenizer(n)),t.each(h,function(n){var t,f,h,o;if(u&&u.length===0)return!1;for(t=e.trie,f=n.split("");t&&(h=f.shift());)t=t[i][h];if(t&&f.length===0)o=t[r].slice(0),u=u?s(u,o):o;else return u=[],!1}),u?t.map(o(u),function(n){return e.datums[n]}):[]},all:function(){var n=[],t;for(t in this.datums)n.push(this.datums[t]);return n},reset:function(){this.datums={};this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),u}(),s=function(){"use strict";function i(n){this.url=n.url;this.ttl=n.ttl;this.cache=n.cache;this.prepare=n.prepare;this.transform=n.transform;this.transport=n.transport;this.thumbprint=n.thumbprint;this.storage=new e(n.cacheKey)}var n;return n={data:"data",protocol:"protocol",thumbprint:"thumbprint"},t.mixin(i.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(t){this.cache&&(this.storage.set(n.data,t,this.ttl),this.storage.set(n.protocol,location.protocol,this.ttl),this.storage.set(n.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var t={},i;return this.cache?(t.data=this.storage.get(n.data),t.protocol=this.storage.get(n.protocol),t.thumbprint=this.storage.get(n.thumbprint),i=t.thumbprint!==this.thumbprint||t.protocol!==location.protocol,t.data&&!i?t.data:null):null},fromNetwork:function(n){function i(){n(!0)}function r(t){n(null,u.transform(t))}var u=this,t;n&&(t=this.prepare(this._settings()),this.transport(t).fail(i).done(r))},clear:function(){return this.storage.clear(),this}}),i}(),h=function(){"use strict";function n(n){this.url=n.url;this.prepare=n.prepare;this.transform=n.transform;this.transport=new r({cache:n.cache,limiter:n.limiter,transport:n.transport})}return t.mixin(n.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(n,t){function r(n,i){n?t([]):t(u.transform(i))}var u=this,i;if(t)return n=n||"",i=this.prepare(n,this._settings()),this.transport.get(i,r)},cancelLastRequest:function(){this.transport.cancel()}}),n}(),c=function(){"use strict";function r(r){var f;return r?(f={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:t.identity,transform:t.identity,transport:null},r=t.isString(r)?{url:r}:r,r=t.mixin(f,r),r.url||n.error("prefetch requires url to be set"),r.transform=r.filter||r.transform,r.cacheKey=r.cacheKey||r.url,r.thumbprint=u+r.thumbprint,r.transport=r.transport?i(r.transport):n.ajax,r):null}function f(r){var u;if(r)return u={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:t.identity,transport:null},r=t.isString(r)?{url:r}:r,r=t.mixin(u,r),r.url||n.error("remote requires url to be set"),r.transform=r.filter||r.transform,r.prepare=e(r),r.limiter=o(r),r.transport=r.transport?i(r.transport):n.ajax,delete r.replace,delete r.wildcard,delete r.rateLimitBy,delete r.rateLimitWait,r}function e(n){function u(n,t){return t.url=i(t.url,n),t}function f(n,t){return t.url=t.url.replace(r,encodeURIComponent(n)),t}function e(n,t){return t}var t,i,r;return(t=n.prepare,i=n.replace,r=n.wildcard,t)?t:i?u:n.wildcard?f:e}function o(n){function f(n){return function(i){return t.debounce(i,n)}}function e(n){return function(i){return t.throttle(i,n)}}var i,u,r;return i=n.limiter,u=n.rateLimitBy,r=n.rateLimitWait,i||(i=/^throttle$/i.test(u)?e(r):f(r)),i}function i(i){return function(r){function f(n){t.defer(function(){u.resolve(n)})}function e(n){t.defer(function(){u.reject(n)})}var u=n.Deferred();return i(r,f,e),u}}return function(i){var e,u;return e={initialize:!0,identify:t.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},i=t.mixin(e,i||{}),i.datumTokenizer||n.error("datumTokenizer is required"),i.queryTokenizer||n.error("queryTokenizer is required"),u=i.sorter,i.sorter=u?function(n){return n.sort(u)}:t.identity,i.local=t.isFunction(i.local)?i.local():i.local,i.prefetch=r(i.prefetch),i.remote=f(i.remote),i}}();return function(){"use strict";function i(n){n=c(n);this.sorter=n.sorter;this.identify=n.identify;this.sufficient=n.sufficient;this.local=n.local;this.remote=n.remote?new h(n.remote):null;this.prefetch=n.prefetch?new s(n.prefetch):null;this.index=new o({identify:this.identify,datumTokenizer:n.datumTokenizer,queryTokenizer:n.queryTokenizer});n.initialize!==!1&&this.initialize()}var u;return u=window&&window.Bloodhound,i.noConflict=function(){return window&&(window.Bloodhound=u),i},i.tokenizers=f,t.mixin(i.prototype,{__ttAdapter:function(){function t(t,i,r){return n.search(t,i,r)}function i(t,i){return n.search(t,i)}var n=this;return this.remote?t:i},_loadPrefetch:function(){function u(n,r){if(n)return t.reject();i.add(r);i.prefetch.store(i.index.serialize());t.resolve()}var i=this,t,r;return t=n.Deferred(),this.prefetch?(r=this.prefetch.fromCache())?(this.index.bootstrap(r),t.resolve()):this.prefetch.fromNetwork(u):t.resolve(),t.promise()},_initialize:function(){function t(){n.add(n.local)}var n=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(t),this.initPromise},initialize:function(n){return!this.initPromise||n?this._initialize():this.initPromise},add:function(n){return this.index.add(n),this},get:function(n){return n=t.isArray(n)?n:[].slice.call(arguments),this.index.get(n)},search:function(n,i,r){function e(n){var i=[];t.each(n,function(n){t.some(u,function(t){return f.identify(n)===f.identify(t)})||i.push(n)});r&&r(i)}var f=this,u;return u=this.sorter(this.index.search(n)),i(this.remote?u.slice():u),this.remote&&u.length<this.sufficient?this.remote.get(n,e):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return r.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),i}()}),function(n,t){typeof define=="function"&&define.amd?define("typeahead.js",["jquery"],function(n){return t(n)}):typeof exports=="object"?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){var t=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(n){return!n||/^\s*$/.test(n)},escapeRegExChars:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(n){return typeof n=="string"},isNumber:function(n){return typeof n=="number"},isArray:n.isArray,isFunction:n.isFunction,isObject:n.isPlainObject,isUndefined:function(n){return typeof n=="undefined"},isElement:function(n){return!!(n&&n.nodeType===1)},isJQuery:function(t){return t instanceof n},toStr:function(n){return t.isUndefined(n)||n===null?"":n+""},bind:n.proxy,each:function(t,i){function r(n,t){return i(t,n)}n.each(t,r)},map:n.map,filter:n.grep,every:function(t,i){var r=!0;return t?(n.each(t,function(n,u){if(!(r=i.call(null,u,n,t)))return!1}),!!r):r},some:function(t,i){var r=!1;return t?(n.each(t,function(n,u){if(r=i.call(null,u,n,t))return!1}),!!r):r},mixin:n.extend,identity:function(n){return n},clone:function(t){return n.extend(!0,{},t)},getIdGenerator:function(){var n=0;return function(){return n++}},templatify:function(t){function i(){return String(t)}return n.isFunction(t)?t:i},defer:function(n){setTimeout(n,0)},debounce:function(n,t,i){var r,u;return function(){var f=this,e=arguments,o,s;return o=function(){r=null;i||(u=n.apply(f,e))},s=i&&!r,clearTimeout(r),r=setTimeout(o,t),s&&(u=n.apply(f,e)),u}},throttle:function(n,t){var u,f,i,e,r,o;return r=0,o=function(){r=new Date;i=null;e=n.apply(u,f)},function(){var s=new Date,h=t-(s-r);return u=this,f=arguments,h<=0?(clearTimeout(i),i=null,r=s,e=n.apply(u,f)):i||(i=setTimeout(o,h)),e}},stringify:function(n){return t.isString(n)?n:JSON.stringify(n)},noop:function(){}}}(),e=function(){"use strict";function n(n){var e,o;return o=t.mixin({},f,n),e={css:u(),classes:o,html:i(o),selectors:r(o)},{css:e.css,html:e.html,classes:e.classes,selectors:e.selectors,mixin:function(n){t.mixin(n,e)}}}function i(n){return{wrapper:'<span class="'+n.wrapper+'"><\/span>',menu:'<div class="'+n.menu+'"><\/div>'}}function r(n){var i={};return t.each(n,function(n,t){i[t]="."+n}),i}function u(){var n={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return t.isMsie()&&t.mixin(n.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),n}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return n}(),o=function(){"use strict";function i(t){t&&t.el||n.error("EventBus initialized without el");this.$el=n(t.el)}var r,u;return r="typeahead:",u={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},t.mixin(i.prototype,{_trigger:function(t,i){var u;return u=n.Event(r+t),(i=i||[]).unshift(u),this.$el.trigger.apply(this.$el,i),u},before:function(n){var t,i;return t=[].slice.call(arguments,1),i=this._trigger("before"+n,t),i.isDefaultPrevented()},trigger:function(n){var t;this._trigger(n,[].slice.call(arguments,1));(t=u[n])&&this._trigger(t,[].slice.call(arguments,1))}}),i}(),r=function(){"use strict";function t(t,i,r,u){var f;if(!r)return this;for(i=i.split(n),r=u?s(r,u):r,this._callbacks=this._callbacks||{};f=i.shift();)this._callbacks[f]=this._callbacks[f]||{sync:[],async:[]},this._callbacks[f][t].push(r);return this}function r(n,i,r){return t.call(this,"async",n,i,r)}function u(n,i,r){return t.call(this,"sync",n,i,r)}function f(t){var i;if(!this._callbacks)return this;for(t=t.split(n);i=t.shift();)delete this._callbacks[i];return this}function e(t){var r,u,f,e,o;if(!this._callbacks)return this;for(t=t.split(n),f=[].slice.call(arguments,1);(r=t.shift())&&(u=this._callbacks[r]);)e=i(u.sync,this,[r].concat(f)),o=i(u.async,this,[r].concat(f)),e()&&h(o);return this}function i(n,t,i){function r(){for(var r,u=0,f=n.length;!r&&u<f;u+=1)r=n[u].apply(t,i)===!1;return!r}return r}function o(){return window.setImmediate?function(n){setImmediate(function(){n()})}:function(n){setTimeout(function(){n()},0)}}function s(n,t){return n.bind?n.bind(t):function(){n.apply(t,[].slice.call(arguments,0))}}var n=/\s+/,h=o();return{onSync:u,onAsync:r,off:f,trigger:e}}(),s=function(n){"use strict";function i(n,i,r){for(var u=[],f,e=0,o=n.length;e<o;e++)u.push(t.escapeRegExChars(n[e]));return f=r?"\\b("+u.join("|")+")\\b":"("+u.join("|")+")",i?new RegExp(f):new RegExp(f,"i")}var r={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(u){function o(t){var i,r,f;return(i=e.exec(t.data))&&(f=n.createElement(u.tagName),u.className&&(f.className=u.className),r=t.splitText(i.index),r.splitText(i[0].length),f.appendChild(r.cloneNode(!0)),t.parentNode.replaceChild(f,r)),!!i}function f(n,t){for(var i,r=0;r<n.childNodes.length;r++)i=n.childNodes[r],i.nodeType===3?r+=t(i)?1:0:f(i,t)}var e;(u=t.mixin({},r,u),u.node&&u.pattern)&&(u.pattern=t.isArray(u.pattern)?u.pattern:[u.pattern],e=i(u.pattern,u.caseSensitive,u.wordsOnly),f(u.node,o))}}(window.document),u=function(){"use strict";function i(i,r){i=i||{};i.input||n.error("input is missing");r.mixin(this);this.$hint=n(i.hint);this.$input=n(i.input);this.query=this.$input.val();this.queryWhenFocused=this.hasFocus()?this.query:null;this.$overflowHelper=e(this.$input);this._checkLanguageDirection();this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=t.noop)}function e(t){return n('<pre aria-hidden="true"><\/pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}function o(n,t){return i.normalizeQuery(n)===i.normalizeQuery(t)}function f(n){return n.altKey||n.ctrlKey||n.metaKey||n.shiftKey}var u;return u={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},i.normalizeQuery=function(n){return t.toStr(n).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},t.mixin(i.prototype,r,{_onBlur:function(){this.resetInputValue();this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query;this.trigger("focused")},_onKeydown:function(n){var t=u[n.which||n.keyCode];this._managePreventDefault(t,n);t&&this._shouldTrigger(t,n)&&this.trigger(t+"Keyed",n)},_onInput:function(){this._setQuery(this.getInputValue());this.clearHintIfInvalid();this._checkLanguageDirection()},_managePreventDefault:function(n,t){var i;switch(n){case"up":case"down":i=!f(t);break;default:i=!1}i&&t.preventDefault()},_shouldTrigger:function(n,t){var i;switch(n){case"tab":i=!f(t);break;default:i=!0}return i},_checkLanguageDirection:function(){var n=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==n&&(this.dir=n,this.$hint.attr("dir",n),this.trigger("langDirChanged",n))},_setQuery:function(n,t){var i,r;i=o(n,this.query);r=i?this.query.length!==n.length:!1;this.query=n;t||i?!t&&r&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var n=this,i,r,f,e;i=t.bind(this._onBlur,this);r=t.bind(this._onFocus,this);f=t.bind(this._onKeydown,this);e=t.bind(this._onInput,this);this.$input.on("blur.tt",i).on("focus.tt",r).on("keydown.tt",f);if(!t.isMsie()||t.isMsie()>9)this.$input.on("input.tt",e);else this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(i){u[i.which||i.keyCode]||t.defer(t.bind(n._onInput,n,i))});return this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(n,t){this.setInputValue(n);this._setQuery(n,t)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(n){this.$input.val(n);this.clearHintIfInvalid();this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(n){this.$hint.val(n)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var n,t,i,r;n=this.getInputValue();t=this.getHint();i=n!==t&&t.indexOf(n)===0;r=n!==""&&i&&!this.hasOverflow();r||this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var n=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=n},isCursorAtEnd:function(){var n,i,r;return(n=this.$input.val().length,i=this.$input[0].selectionStart,t.isNumber(i))?i===n:document.selection?(r=document.selection.createRange(),r.moveStart("character",-n),n===r.text.length):!0},destroy:function(){this.$hint.off(".tt");this.$input.off(".tt");this.$overflowHelper.remove();this.$hint=this.$input=this.$overflowHelper=n("<div>")}}),i}(),f=function(){"use strict";function u(i,r){i=i||{};i.templates=i.templates||{};i.templates.notFound=i.templates.notFound||i.templates.empty;i.source||n.error("missing source");i.node||n.error("missing node");i.name&&!h(i.name)&&n.error("invalid dataset name: "+i.name);r.mixin(this);this.highlight=!!i.highlight;this.name=i.name||f();this.limit=i.limit||5;this.displayFn=e(i.display||i.displayKey);this.templates=o(i.templates,this.displayFn);this.source=i.source.__ttAdapter?i.source.__ttAdapter():i.source;this.async=t.isUndefined(i.async)?this.source.length>2:!!i.async;this._resetLastSuggestion();this.$el=n(i.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function e(n){function i(t){return t[n]}return n=n||t.stringify,t.isFunction(n)?n:i}function o(i,r){function u(t){return n("<div>").text(r(t))}return{notFound:i.notFound&&t.templatify(i.notFound),pending:i.pending&&t.templatify(i.pending),header:i.header&&t.templatify(i.header),footer:i.footer&&t.templatify(i.footer),suggestion:i.suggestion||u}}function h(n){return/^[_a-zA-Z0-9-]+$/.test(n)}var i,f;return i={val:"tt-selectable-display",obj:"tt-selectable-object"},f=t.getIdGenerator(),u.extractData=function(t){var r=n(t);return r.data(i.obj)?{val:r.data(i.val)||"",obj:r.data(i.obj)||null}:null},t.mixin(u.prototype,r,{_overwrite:function(n,t){t=t||[];t.length?this._renderSuggestions(n,t):this.async&&this.templates.pending?this._renderPending(n):!this.async&&this.templates.notFound?this._renderNotFound(n):this._empty();this.trigger("rendered",this.name,t,!1)},_append:function(n,t){t=t||[];t.length&&this.$lastSuggestion.length?this._appendSuggestions(n,t):t.length?this._renderSuggestions(n,t):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(n);this.trigger("rendered",this.name,t,!0)},_renderSuggestions:function(n,t){var i;i=this._getSuggestionsFragment(n,t);this.$lastSuggestion=i.children().last();this.$el.html(i).prepend(this._getHeader(n,t)).append(this._getFooter(n,t))},_appendSuggestions:function(n,t){var i,r;i=this._getSuggestionsFragment(n,t);r=i.children().last();this.$lastSuggestion.after(i);this.$lastSuggestion=r},_renderPending:function(n){var t=this.templates.pending;this._resetLastSuggestion();t&&this.$el.html(t({query:n,dataset:this.name}))},_renderNotFound:function(n){var t=this.templates.notFound;this._resetLastSuggestion();t&&this.$el.html(t({query:n,dataset:this.name}))},_empty:function(){this.$el.empty();this._resetLastSuggestion()},_getSuggestionsFragment:function(r,u){var f=this,e;return e=document.createDocumentFragment(),t.each(u,function(t){var u,o;o=f._injectQuery(r,t);u=n(f.templates.suggestion(o)).data(i.obj,t).data(i.val,f.displayFn(t)).addClass(f.classes.suggestion+" "+f.classes.selectable);e.appendChild(u[0])}),this.highlight&&s({className:this.classes.highlight,node:e,pattern:r}),n(e)},_getFooter:function(n,t){return this.templates.footer?this.templates.footer({query:n,suggestions:t,dataset:this.name}):null},_getHeader:function(n,t){return this.templates.header?this.templates.header({query:n,suggestions:t,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=n()},_injectQuery:function(n,i){return t.isObject(i)?t.mixin({_query:n},i):i},update:function(t){function f(n){u||(u=!0,n=(n||[]).slice(0,i.limit),r=n.length,i._overwrite(t,n),r<i.limit&&i.async&&i.trigger("asyncRequested",t))}function o(u){u=u||[];!e&&r<i.limit&&(i.cancel=n.noop,u=(u||[]).slice(0,i.limit-r),r+=u.length,i._append(t,u),i.async&&i.trigger("asyncReceived",t))}var i=this,e=!1,u=!1,r=0;this.cancel();this.cancel=function(){e=!0;i.cancel=n.noop;i.async&&i.trigger("asyncCanceled",t)};this.source(t,f,o);u||f([])},cancel:n.noop,clear:function(){this._empty();this.cancel();this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=n("<div>")}}),u}(),i=function(){"use strict";function i(i,r){function e(t){var i=u.$node.find(t.node).first();return t.node=i.length?i:n("<div>").appendTo(u.$node),new f(t,r)}var u=this;i=i||{};i.node||n.error("node is required");r.mixin(this);this.$node=n(i.node);this.query=null;this.datasets=t.map(i.datasets,e)}return t.mixin(i.prototype,r,{_onSelectableClick:function(t){this.trigger("selectableClicked",n(t.currentTarget))},_onRendered:function(n,t,i,r){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty());this.trigger("datasetRendered",t,i,r)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty());this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function n(n){return n.isEmpty()}return t.every(this.datasets,n)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var n=this.getActiveSelectable();n&&n.removeClass(this.classes.cursor)},_ensureVisible:function(n){var t,i,r,u;t=n.position().top;i=t+n.outerHeight(!0);r=this.$node.scrollTop();u=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10);t<0?this.$node.scrollTop(r+t):u<i&&this.$node.scrollTop(r+(i-u))},bind:function(){var n=this,i=t.bind(this._onSelectableClick,this);this.$node.on("click.tt",this.selectors.selectable,i);return t.each(this.datasets,function(t){t.onSync("asyncRequested",n._propagate,n).onSync("asyncCanceled",n._propagate,n).onSync("asyncReceived",n._propagate,n).onSync("rendered",n._onRendered,n).onSync("cleared",n._onCleared,n)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open);this._removeCursor()},setLanguageDirection:function(n){this.$node.attr("dir",n)},selectableRelativeToCursor:function(n){var i,r,u,t;return r=this.getActiveSelectable(),i=this._getSelectables(),u=r?i.index(r):-1,t=u+n,t=(t+1)%(i.length+1)-1,t=t<-1?i.length-1:t,t===-1?null:i.eq(t)},setCursor:function(n){this._removeCursor();(n=n&&n.first())&&(n.addClass(this.classes.cursor),this._ensureVisible(n))},getSelectableData:function(n){return n&&n.length?f.extractData(n):null},getActiveSelectable:function(){var n=this._getSelectables().filter(this.selectors.cursor).first();return n.length?n:null},getTopSelectable:function(){var n=this._getSelectables().first();return n.length?n:null},update:function(n){function r(t){t.update(n)}var i=n!==this.query;return i&&(this.query=n,t.each(this.datasets,r)),i},empty:function(){function n(n){n.clear()}t.each(this.datasets,n);this.query=null;this.$node.addClass(this.classes.empty)},destroy:function(){function i(n){n.destroy()}this.$node.off(".tt");this.$node=n("<div>");t.each(this.datasets,i)}}),i}(),h=function(){"use strict";function r(){i.apply(this,[].slice.call(arguments,0))}var n=i.prototype;return t.mixin(r.prototype,i.prototype,{open:function(){return this._allDatasetsEmpty()||this._show(),n.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),n.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(t){return this.$node.css(t==="ltr"?this.css.ltr:this.css.rtl),n.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),r}(),c=function(){"use strict";function r(r,u){var f,e,o,s,h,c,l,a,v,y,p;r=r||{};r.input||n.error("missing input");r.menu||n.error("missing menu");r.eventBus||n.error("missing event bus");u.mixin(this);this.eventBus=r.eventBus;this.minLength=t.isNumber(r.minLength)?r.minLength:1;this.input=r.input;this.menu=r.menu;this.enabled=!0;this.active=!1;this.input.hasFocus()&&this.activate();this.dir=this.input.getLangDir();this._hacks();this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this);f=i(this,"activate","open","_onFocused");e=i(this,"deactivate","_onBlurred");o=i(this,"isActive","isOpen","_onEnterKeyed");s=i(this,"isActive","isOpen","_onTabKeyed");h=i(this,"isActive","_onEscKeyed");c=i(this,"isActive","open","_onUpKeyed");l=i(this,"isActive","open","_onDownKeyed");a=i(this,"isActive","isOpen","_onLeftKeyed");v=i(this,"isActive","isOpen","_onRightKeyed");y=i(this,"_openIfActive","_onQueryChanged");p=i(this,"_openIfActive","_onWhitespaceChanged");this.input.bind().onSync("focused",f,this).onSync("blurred",e,this).onSync("enterKeyed",o,this).onSync("tabKeyed",s,this).onSync("escKeyed",h,this).onSync("upKeyed",c,this).onSync("downKeyed",l,this).onSync("leftKeyed",a,this).onSync("rightKeyed",v,this).onSync("queryChanged",y,this).onSync("whitespaceChanged",p,this).onSync("langDirChanged",this._onLangDirChanged,this)}function i(n){var i=[].slice.call(arguments,1);return function(){var r=[].slice.call(arguments);t.each(i,function(t){return n[t].apply(n,r)})}}return t.mixin(r.prototype,{_hacks:function(){var r,i;r=this.input.$input||n("<div>");i=this.menu.$node||n("<div>");r.on("blur.tt",function(n){var u,f,e;u=document.activeElement;f=i.is(u);e=i.has(u).length>0;t.isMsie()&&(f||e)&&(n.preventDefault(),n.stopImmediatePropagation(),t.defer(function(){r.focus()}))});i.on("mousedown.tt",function(n){n.preventDefault()})},_onSelectableClicked:function(n,t){this.select(t)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(n,t,i,r){this._updateHint();this.eventBus.trigger("render",i,r,t)},_onAsyncRequested:function(n,t,i){this.eventBus.trigger("asyncrequest",i,t)},_onAsyncCanceled:function(n,t,i){this.eventBus.trigger("asynccancel",i,t)},_onAsyncReceived:function(n,t,i){this.eventBus.trigger("asyncreceive",i,t)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(n,t){var i;(i=this.menu.getActiveSelectable())&&this.select(i)&&t.preventDefault()},_onTabKeyed:function(n,t){var i;(i=this.menu.getActiveSelectable())?this.select(i)&&t.preventDefault():(i=this.menu.getTopSelectable())&&this.autocomplete(i)&&t.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){this.dir==="rtl"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){this.dir==="ltr"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(n,t){this._minLengthMet(t)?this.menu.update(t):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(n,t){this.dir!==t&&(this.dir=t,this.menu.setLanguageDirection(t))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(n){return n=t.isString(n)?n:this.input.getQuery()||"",n.length>=this.minLength},_updateHint:function(){var f,i,n,e,o,s,r;f=this.menu.getTopSelectable();i=this.menu.getSelectableData(f);n=this.input.getInputValue();!i||t.isBlankString(n)||this.input.hasOverflow()?this.input.clearHint():(e=u.normalizeQuery(n),o=t.escapeRegExChars(e),s=new RegExp("^(?:"+o+")(.+$)","i"),r=s.exec(i.val),r&&this.input.setHint(n+r[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(n){this.input.setQuery(t.toStr(n))},getVal:function(){return this.input.getQuery()},select:function(n){var t=this.menu.getSelectableData(n);return t&&!this.eventBus.before("select",t.obj)?(this.input.setQuery(t.val,!0),this.eventBus.trigger("select",t.obj),this.close(),!0):!1},autocomplete:function(n){var i,t,r;return(i=this.input.getQuery(),t=this.menu.getSelectableData(n),r=t&&i!==t.val,r&&!this.eventBus.before("autocomplete",t.obj))?(this.input.setQuery(t.val),this.eventBus.trigger("autocomplete",t.obj),!0):!1},moveCursor:function(n){var u,i,t,r,f;return(u=this.input.getQuery(),i=this.menu.selectableRelativeToCursor(n),t=this.menu.getSelectableData(i),r=t?t.obj:null,f=this._minLengthMet()&&this.menu.update(u),!f&&!this.eventBus.before("cursorchange",r))?(this.menu.setCursor(i),t?this.input.setInputValue(t.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",r),!0):!1},destroy:function(){this.input.destroy();this.menu.destroy()}}),r}();(function(){"use strict";function r(t,i){t.each(function(){var t=n(this),r;(r=t.data(f.typeahead))&&i(r,t)})}function v(n,t){return n.clone().addClass(t.classes.hint).removeData().css(t.css.hint).css(p(n)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function y(n,t){n.data(f.attrs,{dir:n.attr("dir"),autocomplete:n.attr("autocomplete"),spellcheck:n.attr("spellcheck"),style:n.attr("style")});n.addClass(t.classes.input).attr({autocomplete:"off",spellcheck:!1});try{n.attr("dir")||n.attr("dir","auto")}catch(i){}return n}function p(n){return{backgroundAttachment:n.css("background-attachment"),backgroundClip:n.css("background-clip"),backgroundColor:n.css("background-color"),backgroundImage:n.css("background-image"),backgroundOrigin:n.css("background-origin"),backgroundPosition:n.css("background-position"),backgroundRepeat:n.css("background-repeat"),backgroundSize:n.css("background-size")}}function w(n){var r,i;r=n.data(f.www);i=n.parent().filter(r.selectors.wrapper);t.each(n.data(f.attrs),function(i,r){t.isUndefined(i)?n.removeAttr(r):n.attr(r,i)});n.removeData(f.typeahead).removeData(f.www).removeData(f.attr).removeClass(r.classes.input);i.length&&(n.detach().insertAfter(i),i.remove())}function l(i){var u,r;return u=t.isJQuery(i)||t.isElement(i),r=u?n(i).first():[],r.length?r:null}var a,f,s;a=n.fn.typeahead;f={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"};s={initialize:function(r,s){function p(){var e,d,p,w,b,k,g,nt,tt,it,rt;t.each(s,function(n){n.highlight=!!r.highlight});e=n(this);d=n(a.html.wrapper);p=l(r.hint);w=l(r.menu);b=r.hint!==!1&&!p;k=r.menu!==!1&&!w;b&&(p=v(e,a));k&&(w=n(a.html.menu).css(a.css.menu));p&&p.val("");e=y(e,a);(b||k)&&(d.css(a.css.wrapper),e.css(b?a.css.input:a.css.inputWithNoHint),e.wrap(d).parent().prepend(b?p:null).append(k?w:null));rt=k?h:i;g=new o({el:e});nt=new u({hint:p,input:e},a);tt=new rt({node:w,datasets:s},a);it=new c({input:nt,menu:tt,eventBus:g,minLength:r.minLength},a);e.data(f.www,a);e.data(f.typeahead,it)}var a;return s=t.isArray(s)?s:[].slice.call(arguments,1),r=r||{},a=e(r.classNames),this.each(p)},isEnabled:function(){var n;return r(this.first(),function(t){n=t.isEnabled()}),n},enable:function(){return r(this,function(n){n.enable()}),this},disable:function(){return r(this,function(n){n.disable()}),this},isActive:function(){var n;return r(this.first(),function(t){n=t.isActive()}),n},activate:function(){return r(this,function(n){n.activate()}),this},deactivate:function(){return r(this,function(n){n.deactivate()}),this},isOpen:function(){var n;return r(this.first(),function(t){n=t.isOpen()}),n},open:function(){return r(this,function(n){n.open()}),this},close:function(){return r(this,function(n){n.close()}),this},select:function(t){var i=!1,u=n(t);return r(this.first(),function(n){i=n.select(u)}),i},autocomplete:function(t){var i=!1,u=n(t);return r(this.first(),function(n){i=n.autocomplete(u)}),i},moveCursor:function(n){var t=!1;return r(this.first(),function(i){t=i.moveCursor(n)}),t},val:function(n){var t;return arguments.length?(r(this,function(t){t.setVal(n)}),this):(r(this.first(),function(n){t=n.getVal()}),t)},destroy:function(){return r(this,function(n,t){w(t);n.destroy()}),this}};n.fn.typeahead=function(n){return s[n]?s[n].apply(this,[].slice.call(arguments,1)):s.initialize.apply(this,arguments)};n.fn.typeahead.noConflict=function(){return n.fn.typeahead=a,this}})()}),function(){(function(n){var r=this||eval("this"),t=r.document,f=r.navigator,i=r.jQuery,u=r.JSON;(function(n){"function"==typeof define&&define.amd?define("knockout",["exports","require"],n):"object"==typeof exports&&"object"==typeof module?n(module.exports||exports):n(r.ko={})})(function(e,o){function b(n,t){return null===n||typeof n in nt?n===t:!1}function tt(t,i){var r;return function(){r||(r=s.a.setTimeout(function(){r=n;t()},i))}}function it(n,t){var i;return function(){clearTimeout(i);i=s.a.setTimeout(n,t)}}function rt(n,t){t&&t!==p?"beforeChange"===t?this.Lb(n):this.Ha(n,t):this.Mb(n)}function ut(n,t){null!==t&&t.k&&t.k()}function ft(n,t){var i=this.Ic,r=i[h];r.S||(this.lb&&this.Ma[t]?(i.Qb(t,n,this.Ma[t]),this.Ma[t]=null,--this.lb):r.r[t]||i.Qb(t,n,r.s?{ia:n}:i.wc(n)))}function k(n,t,i,r){s.d[n]={init:function(n,u,f,e,o){var c,h;return s.m(function(){var l=u(),f=s.a.c(l),f=!i!=!f,e=!h;(e||t||f!==c)&&(e&&s.va.Aa()&&(h=s.a.ua(s.f.childNodes(n),!0)),f?(e||s.f.da(n,s.a.ua(h)),s.eb(r?r(o,l):o,n)):s.f.xa(n),c=f)},null,{i:n}),{controlsDescendantBindings:!0}}};s.h.ta[n]=!1;s.f.Z[n]=!0}var s="undefined"!=typeof e?e:{},nt,p,l,v,a,y,h,d,g,w;s.b=function(n,t){for(var i=n.split("."),r=s,u=0;u<i.length-1;u++)r=r[i[u]];r[i[i.length-1]]=t};s.G=function(n,t,i){n[t]=i};s.version="3.4.1";s.b("version",s.version);s.options={deferUpdates:!1,useOnlyNativeEvents:!1};s.a=function(){function o(n,t){for(var i in n)n.hasOwnProperty(i)&&t(i,n[i])}function l(n,t){if(t)for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n}function a(n,t){return n.__proto__=t,n}function v(n,t,i,r){var u=n[t].match(c)||[];s.a.q(i.match(c),function(n){s.a.pa(u,n,r)});n[t]=u.join(" ")}var y={__proto__:[]}instanceof Array,w="function"==typeof Symbol,h={},p={};h[f&&/Firefox\/2/i.test(f.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"];h.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" ");o(h,function(n,t){if(t.length)for(var i=0,r=t.length;i<r;i++)p[t[i]]=n});var b={propertychange:!0},e=t&&function(){for(var i=3,r=t.createElement("div"),u=r.getElementsByTagName("i");r.innerHTML="<!--[if gt IE "+ ++i+"]><i><\/i><![endif]-->",u[0];);return 4<i?i:n}(),c=/\S+/g;return{ec:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],q:function(n,t){for(var i=0,r=n.length;i<r;i++)t(n[i],i)},o:function(n,t){if("function"==typeof Array.prototype.indexOf)return Array.prototype.indexOf.call(n,t);for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},Tb:function(n,t,i){for(var r=0,u=n.length;r<u;r++)if(t.call(i,n[r],r))return n[r];return null},La:function(n,t){var i=s.a.o(n,t);0<i?n.splice(i,1):0===i&&n.shift()},Ub:function(n){n=n||[];for(var i=[],t=0,r=n.length;t<r;t++)0>s.a.o(i,n[t])&&i.push(n[t]);return i},fb:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)r.push(t(n[i],i));return r},Ka:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)t(n[i],i)&&r.push(n[i]);return r},ra:function(n,t){if(t instanceof Array)n.push.apply(n,t);else for(var i=0,r=t.length;i<r;i++)n.push(t[i]);return n},pa:function(n,t,i){var r=s.a.o(s.a.zb(n),t);0>r?i&&n.push(t):i||n.splice(r,1)},ka:y,extend:l,Xa:a,Ya:y?a:l,D:o,Ca:function(n,t){if(!n)return n;var r={},i;for(i in n)n.hasOwnProperty(i)&&(r[i]=t(n[i],i,n));return r},ob:function(n){for(;n.firstChild;)s.removeNode(n.firstChild)},lc:function(n){n=s.a.V(n);for(var r=(n[0]&&n[0].ownerDocument||t).createElement("div"),i=0,u=n.length;i<u;i++)r.appendChild(s.$(n[i]));return r},ua:function(n,t){for(var r,i=0,f=n.length,u=[];i<f;i++)r=n[i].cloneNode(!0),u.push(t?s.$(r):r);return u},da:function(n,t){if(s.a.ob(n),t)for(var i=0,r=t.length;i<r;i++)n.appendChild(t[i])},sc:function(n,t){var r=n.nodeType?[n]:n;if(0<r.length){for(var f=r[0],e=f.parentNode,i=0,u=t.length;i<u;i++)e.insertBefore(t[i],f);for(i=0,u=r.length;i<u;i++)s.removeNode(r[i])}},za:function(n,t){if(n.length){for(t=8===t.nodeType&&t.parentNode||t;n.length&&n[0].parentNode!==t;)n.splice(0,1);for(;1<n.length&&n[n.length-1].parentNode!==t;)n.length--;if(1<n.length){var i=n[0],r=n[n.length-1];for(n.length=0;i!==r;)n.push(i),i=i.nextSibling;n.push(r)}}return n},uc:function(n,t){7>e?n.setAttribute("selected",t):n.selected=t},$a:function(t){return null===t||t===n?"":t.trim?t.trim():t.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},od:function(n,t){return n=n||"",t.length>n.length?!1:n.substring(0,t.length)===t},Nc:function(n,t){if(n===t)return!0;if(11===n.nodeType)return!1;if(t.contains)return t.contains(3===n.nodeType?n.parentNode:n);if(t.compareDocumentPosition)return 16==(t.compareDocumentPosition(n)&16);for(;n&&n!=t;)n=n.parentNode;return!!n},nb:function(n){return s.a.Nc(n,n.ownerDocument.documentElement)},Rb:function(n){return!!s.a.Tb(n,s.a.nb)},A:function(n){return n&&n.tagName&&n.tagName.toLowerCase()},Xb:function(n){return s.onError?function(){try{return n.apply(this,arguments)}catch(t){throw s.onError&&s.onError(t),t;}}:n},setTimeout:function(n,t){return setTimeout(s.a.Xb(n),t)},bc:function(n){setTimeout(function(){s.onError&&s.onError(n);throw n;},0)},p:function(n,t,r){var u=s.a.Xb(r),f,o;if(r=e&&b[t],s.options.useOnlyNativeEvents||r||!i)if(r||"function"!=typeof n.addEventListener)if("undefined"!=typeof n.attachEvent)f=function(t){u.call(n,t)},o="on"+t,n.attachEvent(o,f),s.a.F.oa(n,function(){n.detachEvent(o,f)});else throw Error("Browser doesn't support addEventListener or attachEvent");else n.addEventListener(t,u,!1);else i(n).bind(t,u)},Da:function(n,u){if(!n||!n.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var f;if("input"===s.a.A(n)&&n.type&&"click"==u.toLowerCase()?(f=n.type,f="checkbox"==f||"radio"==f):f=!1,s.options.useOnlyNativeEvents||!i||f)if("function"==typeof t.createEvent)if("function"==typeof n.dispatchEvent)f=t.createEvent(p[u]||"HTMLEvents"),f.initEvent(u,!0,!0,r,0,0,0,0,0,!1,!1,!1,!1,0,n),n.dispatchEvent(f);else throw Error("The supplied element doesn't support dispatchEvent");else if(f&&n.click)n.click();else if("undefined"!=typeof n.fireEvent)n.fireEvent("on"+u);else throw Error("Browser doesn't support triggering events");else i(n).trigger(u)},c:function(n){return s.H(n)?n():n},zb:function(n){return s.H(n)?n.t():n},bb:function(n,t,i){var r;t&&("object"==typeof n.classList?(r=n.classList[i?"add":"remove"],s.a.q(t.match(c),function(t){r.call(n.classList,t)})):"string"==typeof n.className.baseVal?v(n.className,"baseVal",t,i):v(n,"className",t,i))},Za:function(t,i){var r=s.a.c(i),u;(null===r||r===n)&&(r="");u=s.f.firstChild(t);!u||3!=u.nodeType||s.f.nextSibling(u)?s.f.da(t,[t.ownerDocument.createTextNode(r)]):u.data=r;s.a.Sc(t)},tc:function(n,i){if(n.name=i,7>=e)try{n.mergeAttributes(t.createElement("<input name='"+n.name+"'/>"),!1)}catch(r){}},Sc:function(n){9<=e&&(n=1==n.nodeType?n:n.parentNode,n.style&&(n.style.zoom=n.style.zoom))},Oc:function(n){if(e){var t=n.style.width;n.style.width=0;n.style.width=t}},jd:function(n,t){n=s.a.c(n);t=s.a.c(t);for(var r=[],i=n;i<=t;i++)r.push(i);return r},V:function(n){for(var i=[],t=0,r=n.length;t<r;t++)i.push(n[t]);return i},$b:function(n){return w?Symbol(n):n},sd:6===e,ud:7===e,C:e,gc:function(n,t){for(var r=s.a.V(n.getElementsByTagName("input")).concat(s.a.V(n.getElementsByTagName("textarea"))),f="string"==typeof t?function(n){return n.name===t}:function(n){return t.test(n.name)},u=[],i=r.length-1;0<=i;i--)f(r[i])&&u.push(r[i]);return u},fd:function(n){return"string"==typeof n&&(n=s.a.$a(n))?u&&u.parse?u.parse(n):new Function("return "+n)():null},Eb:function(n,t,i){if(!u||!u.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return u.stringify(s.a.c(n),t,i)},gd:function(n,i,r){var c,e,h,f,u,l;r=r||{};var a=r.params||{},v=r.includeFields||this.ec,c=n;if("object"==typeof n&&"form"===s.a.A(n))for(c=n.action,e=v.length-1;0<=e;e--)for(h=s.a.gc(n,v[e]),f=h.length-1;0<=f;f--)a[h[f].name]=h[f].value;i=s.a.c(i);u=t.createElement("form");u.style.display="none";u.action=c;u.method="post";for(l in i)n=t.createElement("input"),n.type="hidden",n.name=l,n.value=s.a.Eb(s.a.c(i[l])),u.appendChild(n);o(a,function(n,i){var r=t.createElement("input");r.type="hidden";r.name=n;r.value=i;u.appendChild(r)});t.body.appendChild(u);r.submitter?r.submitter(u):u.submit();setTimeout(function(){u.parentNode.removeChild(u)},0)}}}();s.b("utils",s.a);s.b("utils.arrayForEach",s.a.q);s.b("utils.arrayFirst",s.a.Tb);s.b("utils.arrayFilter",s.a.Ka);s.b("utils.arrayGetDistinctValues",s.a.Ub);s.b("utils.arrayIndexOf",s.a.o);s.b("utils.arrayMap",s.a.fb);s.b("utils.arrayPushAll",s.a.ra);s.b("utils.arrayRemoveItem",s.a.La);s.b("utils.extend",s.a.extend);s.b("utils.fieldsIncludedWithJsonPost",s.a.ec);s.b("utils.getFormFields",s.a.gc);s.b("utils.peekObservable",s.a.zb);s.b("utils.postJson",s.a.gd);s.b("utils.parseJson",s.a.fd);s.b("utils.registerEventHandler",s.a.p);s.b("utils.stringifyJson",s.a.Eb);s.b("utils.range",s.a.jd);s.b("utils.toggleDomNodeCssClass",s.a.bb);s.b("utils.triggerEvent",s.a.Da);s.b("utils.unwrapObservable",s.a.c);s.b("utils.objectForEach",s.a.D);s.b("utils.addOrRemoveItem",s.a.pa);s.b("utils.setTextContent",s.a.Za);s.b("unwrap",s.a.c);Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i;return 1===arguments.length?function(){return t.apply(n,arguments)}:(i=Array.prototype.slice.call(arguments,1),function(){var r=i.slice(0);return r.push.apply(r,arguments),t.apply(n,r)})});s.a.e=new function(){function r(r,f){var e=r[t];if(!e||"null"===e||!i[e]){if(!f)return n;e=r[t]="ko"+u++;i[e]={}}return i[e]}var u=0,t="__ko__"+(new Date).getTime(),i={};return{get:function(t,i){var u=r(t,!1);return u===n?n:u[i]},set:function(t,i,u){(u!==n||r(t,!1)!==n)&&(r(t,!0)[i]=u)},clear:function(n){var r=n[t];return r?(delete i[r],n[t]=null,!0):!1},I:function(){return u+++t}}};s.b("utils.domData",s.a.e);s.b("utils.domData.clear",s.a.e.clear);s.a.F=new function(){function t(t,i){var r=s.a.e.get(t,u);return r===n&&i&&(r=[],s.a.e.set(t,u,r)),r}function r(n){var i=t(n,!1),u;if(i)for(i=i.slice(0),u=0;u<i.length;u++)i[u](n);if(s.a.e.clear(n),s.a.F.cleanExternalData(n),f[n.nodeType])for(i=n.firstChild;n=i;)i=n.nextSibling,8===n.nodeType&&r(n)}var u=s.a.e.I(),e={1:!0,8:!0,9:!0},f={1:!0,9:!0};return{oa:function(n,i){if("function"!=typeof i)throw Error("Callback must be a function");t(n,!0).push(i)},rc:function(i,r){var f=t(i,!1);f&&(s.a.La(f,r),0==f.length&&s.a.e.set(i,u,n))},$:function(n){var t,i,u;if(e[n.nodeType]&&(r(n),f[n.nodeType]))for(t=[],s.a.ra(t,n.getElementsByTagName("*")),i=0,u=t.length;i<u;i++)r(t[i]);return n},removeNode:function(n){s.$(n);n.parentNode&&n.parentNode.removeChild(n)},cleanExternalData:function(n){i&&"function"==typeof i.cleanData&&i.cleanData([n])}}};s.$=s.a.F.$;s.removeNode=s.a.F.removeNode;s.b("cleanNode",s.$);s.b("removeNode",s.removeNode);s.b("utils.domNodeDisposal",s.a.F);s.b("utils.domNodeDisposal.addDisposeCallback",s.a.F.oa);s.b("utils.domNodeDisposal.removeDisposeCallback",s.a.F.rc),function(){var h=[0,"",""],u=[1,"<table>","<\/table>"],f=[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],e=[1,"<select multiple='multiple'>","<\/select>"],c={thead:u,tbody:u,tfoot:u,tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:f,th:f,option:e,optgroup:e},o=8>=s.a.C;s.a.ma=function(n,u){var f,e;if(i){if(i.parseHTML)f=i.parseHTML(n,u)||[];else if((f=i.clean([n],u))&&f[0]){for(e=f[0];e.parentNode&&11!==e.parentNode.nodeType;)e=e.parentNode;e.parentNode&&e.parentNode.removeChild(e)}}else{(f=u)||(f=t);var e=f.parentWindow||f.defaultView||r,v=s.a.$a(n).toLowerCase(),l=f.createElement("div"),a;for(a=(v=v.match(/^<([a-z]+)[ >]/))&&c[v[1]]||h,v=a[0],a="ignored<div>"+a[1]+n+a[2]+"<\/div>","function"==typeof e.innerShiv?l.appendChild(e.innerShiv(a)):(o&&f.appendChild(l),l.innerHTML=a,o&&l.parentNode.removeChild(l));v--;)l=l.lastChild;f=s.a.V(l.lastChild.childNodes)}return f};s.a.Cb=function(t,r){if(s.a.ob(t),r=s.a.c(r),null!==r&&r!==n)if("string"!=typeof r&&(r=r.toString()),i)i(t).html(r);else for(var f=s.a.ma(r,t.ownerDocument),u=0;u<f.length;u++)t.appendChild(f[u])}}();s.b("utils.parseHtmlFragment",s.a.ma);s.b("utils.setHtml",s.a.Cb);s.M=function(){function i(n,t){var r;if(n)if(8==n.nodeType)r=s.M.nc(n.nodeValue),null!=r&&t.push({Mc:n,dd:r});else if(1==n.nodeType)for(var r=0,u=n.childNodes,f=u.length;r<f;r++)i(u[r],t)}var t={};return{wb:function(n){if("function"!=typeof n)throw Error("You can only pass a function to ko.memoization.memoize()");var i=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return t[i]=n,"<!--[ko_memo:"+i+"]-->"},zc:function(i,r){var u=t[i];if(u===n)throw Error("Couldn't find any memo with ID "+i+". Perhaps it's already been unmemoized.");try{return u.apply(null,r||[]),!0}finally{delete t[i]}},Ac:function(n,t){var f=[],u,o,r,e;for(i(n,f),u=0,o=f.length;u<o;u++)r=f[u].Mc,e=[r],t&&s.a.ra(e,t),s.M.zc(f[u].dd,e),r.nodeValue="",r.parentNode&&r.parentNode.removeChild(r)},nc:function(n){return(n=n.match(/^\[ko_memo\:(.*?)\]$/))?n[1]:null}}}();s.b("memoization",s.M);s.b("memoization.memoize",s.M.wb);s.b("memoization.unmemoize",s.M.zc);s.b("memoization.parseMemoText",s.M.nc);s.b("memoization.unmemoizeDomNodeAndDescendants",s.M.Ac);s.Y=function(){function f(){if(n)for(var t=n,r=0,f;i<n;)if(f=u[i++]){if(i>t){if(5e3<=++r){i=n;s.a.bc(Error("'Too much recursion' after processing "+r+" task groups."));break}t=n}try{f()}catch(e){s.a.bc(e)}}}function e(){f();i=n=u.length=0}var u=[],n=0,o=1,i=0;return{scheduler:r.MutationObserver?function(n){var i=t.createElement("div");return new MutationObserver(n).observe(i,{attributes:!0}),function(){i.classList.toggle("foo")}}(e):t&&"onreadystatechange"in t.createElement("script")?function(n){var i=t.createElement("script");i.onreadystatechange=function(){i.onreadystatechange=null;t.documentElement.removeChild(i);i=null;n()};t.documentElement.appendChild(i)}:function(n){setTimeout(n,0)},Wa:function(t){return n||s.Y.scheduler(e),u[n++]=t,o++},cancel:function(t){t-=o-n;t>=i&&t<n&&(u[t]=null)},resetForTesting:function(){var t=n-i;return i=n=u.length=0,t},nd:f}}();s.b("tasks",s.Y);s.b("tasks.schedule",s.Y.Wa);s.b("tasks.runEarly",s.Y.nd);s.ya={throttle:function(n,t){n.throttleEvaluation=t;var i=null;return s.B({read:n,write:function(r){clearTimeout(i);i=s.a.setTimeout(function(){n(r)},t)}})},rateLimit:function(n,t){var i,r,u;"number"==typeof t?i=t:(i=t.timeout,r=t.method);n.cb=!1;u="notifyWhenChangesStop"==r?it:tt;n.Ta(function(n){return u(n,i)})},deferred:function(t,i){if(!0!==i)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");t.cb||(t.cb=!0,t.Ta(function(i){var r;return function(){s.Y.cancel(r);r=s.Y.Wa(i);t.notifySubscribers(n,"dirty")}}))},notify:function(n,t){n.equalityComparer="always"==t?null:b}};nt={undefined:1,boolean:1,number:1,string:1};s.b("extenders",s.ya);s.xc=function(n,t,i){this.ia=n;this.gb=t;this.Lc=i;this.S=!1;s.G(this,"dispose",this.k)};s.xc.prototype.k=function(){this.S=!0;this.Lc()};s.J=function(){s.a.Ya(this,l);l.rb(this)};p="change";l={rb:function(n){n.K={};n.Ob=1},X:function(n,t,i){var r=this,u;return i=i||p,u=new s.xc(r,t?n.bind(t):n,function(){s.a.La(r.K[i],u);r.Ia&&r.Ia(i)}),r.sa&&r.sa(i),r.K[i]||(r.K[i]=[]),r.K[i].push(u),u},notifySubscribers:function(n,t){if(t=t||p,t===p&&this.Ib(),this.Pa(t))try{s.l.Vb();for(var u=this.K[t].slice(0),r=0,i;i=u[r];++r)i.S||i.gb(n)}finally{s.l.end()}},Na:function(){return this.Ob},Vc:function(n){return this.Na()!==n},Ib:function(){++this.Ob},Ta:function(n){var t=this,e=s.H(t),r,u,i,f;t.Ha||(t.Ha=t.notifySubscribers,t.notifySubscribers=rt);f=n(function(){t.Nb=!1;e&&i===t&&(i=t());r=!1;t.tb(u,i)&&t.Ha(u=i)});t.Mb=function(n){t.Nb=r=!0;i=n;f()};t.Lb=function(n){r||(u=n,t.Ha(n,"beforeChange"))}},Pa:function(n){return this.K[n]&&this.K[n].length},Tc:function(n){if(n)return this.K[n]&&this.K[n].length||0;var t=0;return s.a.D(this.K,function(n,i){"dirty"!==n&&(t+=i.length)}),t},tb:function(n,t){return!this.equalityComparer||!this.equalityComparer(n,t)},extend:function(n){var t=this;return n&&s.a.D(n,function(n,i){var r=s.ya[n];"function"==typeof r&&(t=r(t,i)||t)}),t}};s.G(l,"subscribe",l.X);s.G(l,"extend",l.extend);s.G(l,"getSubscriptionsCount",l.Tc);s.a.ka&&s.a.Xa(l,Function.prototype);s.J.fn=l;s.jc=function(n){return null!=n&&"function"==typeof n.X&&"function"==typeof n.notifySubscribers};s.b("subscribable",s.J);s.b("isSubscribable",s.jc);s.va=s.l=function(){function t(t){r.push(n);n=t}function i(){n=r.pop()}var r=[],n,u=0;return{Vb:t,end:i,qc:function(t){if(n){if(!s.jc(t))throw Error("Only subscribable things can act as dependencies");n.gb.call(n.Hc,t,t.Dc||(t.Dc=++u))}},w:function(n,r,u){try{return t(),n.apply(r,u||[])}finally{i()}},Aa:function(){if(n)return n.m.Aa()},Sa:function(){if(n)return n.Sa}}}();s.b("computedContext",s.va);s.b("computedContext.getDependenciesCount",s.va.Aa);s.b("computedContext.isInitial",s.va.Sa);s.b("ignoreDependencies",s.rd=s.l.w);v=s.a.$b("_latestValue");s.N=function(n){function t(){return 0<arguments.length?(t.tb(t[v],arguments[0])&&(t.ga(),t[v]=arguments[0],t.fa()),this):(s.l.qc(t),t[v])}return t[v]=n,s.a.ka||s.a.extend(t,s.J.fn),s.J.fn.rb(t),s.a.Ya(t,a),s.options.deferUpdates&&s.ya.deferred(t,!0),t};a={equalityComparer:b,t:function(){return this[v]},fa:function(){this.notifySubscribers(this[v])},ga:function(){this.notifySubscribers(this[v],"beforeChange")}};s.a.ka&&s.a.Xa(a,s.J.fn);y=s.N.hd="__ko_proto__";a[y]=s.N;s.Oa=function(t,i){return null===t||t===n||t[y]===n?!1:t[y]===i?!0:s.Oa(t[y],i)};s.H=function(n){return s.Oa(n,s.N)};s.Ba=function(n){return"function"==typeof n&&n[y]===s.N||"function"==typeof n&&n[y]===s.B&&n.Wc?!0:!1};s.b("observable",s.N);s.b("isObservable",s.H);s.b("isWriteableObservable",s.Ba);s.b("isWritableObservable",s.Ba);s.b("observable.fn",a);s.G(a,"peek",a.t);s.G(a,"valueHasMutated",a.fa);s.G(a,"valueWillMutate",a.ga);s.la=function(n){if(n=n||[],"object"!=typeof n||!("length"in n))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return n=s.N(n),s.a.Ya(n,s.la.fn),n.extend({trackArrayChanges:!0})};s.la.fn={remove:function(n){for(var u,r=this.t(),i=[],f="function"!=typeof n||s.H(n)?function(t){return t===n}:n,t=0;t<r.length;t++)u=r[t],f(u)&&(0===i.length&&this.ga(),i.push(u),r.splice(t,1),t--);return i.length&&this.fa(),i},removeAll:function(t){if(t===n){var i=this.t(),r=i.slice(0);return this.ga(),i.splice(0,i.length),this.fa(),r}return t?this.remove(function(n){return 0<=s.a.o(t,n)}):[]},destroy:function(n){var i=this.t(),r="function"!=typeof n||s.H(n)?function(t){return t===n}:n,t;for(this.ga(),t=i.length-1;0<=t;t--)r(i[t])&&(i[t]._destroy=!0);this.fa()},destroyAll:function(t){return t===n?this.destroy(function(){return!0}):t?this.destroy(function(n){return 0<=s.a.o(t,n)}):[]},indexOf:function(n){var t=this();return s.a.o(t,n)},replace:function(n,t){var i=this.indexOf(n);0<=i&&(this.ga(),this.t()[i]=t,this.fa())}};s.a.ka&&s.a.Xa(s.la.fn,s.N.fn);s.a.q("pop push reverse shift sort splice unshift".split(" "),function(n){s.la.fn[n]=function(){var t=this.t(),i;return this.ga(),this.Wb(t,n,arguments),i=t[n].apply(t,arguments),this.fa(),i===t?this:i}});s.a.q(["slice"],function(n){s.la.fn[n]=function(){var t=this();return t[n].apply(t,arguments)}});s.b("observableArray",s.la);s.ya.trackArrayChanges=function(t,i){function l(){if(!f){f=!0;u=t.notifySubscribers;t.notifySubscribers=function(n,t){return t&&t!==p||++e,u.apply(this,arguments)};var n=[].concat(t.t()||[]);r=null;o=t.X(function(i){if(i=[].concat(i||[]),t.Pa("arrayChange")){var u;(!r||1<e)&&(r=s.a.ib(n,i,t.hb));u=r}n=i;r=null;e=0;u&&u.length&&t.notifySubscribers(u,"arrayChange")})}}if(t.hb={},i&&"object"==typeof i&&s.a.extend(t.hb,i),t.hb.sparse=!0,!t.Wb){var f=!1,r=null,o,e=0,u,h=t.sa,c=t.Ia;t.sa=function(n){h&&h.call(t,n);"arrayChange"===n&&l()};t.Ia=function(i){c&&c.call(t,i);"arrayChange"!==i||t.Pa("arrayChange")||(u&&(t.notifySubscribers=u,u=n),o.k(),f=!1)};t.Wb=function(n,t,i){function c(n,t,i){return l[l.length]={status:n,value:t,index:i}}if(f&&!e){var l=[],u=n.length,h=i.length,o=0;switch(t){case"push":o=u;case"unshift":for(t=0;t<h;t++)c("added",i[t],o+t);break;case"pop":o=u-1;case"shift":u&&c("deleted",n[o],o);break;case"splice":t=Math.min(Math.max(0,0>i[0]?u+i[0]:i[0]),u);for(var u=1===h?u:Math.min(t+(i[1]||0),u),h=t+h-2,o=Math.max(u,h),a=[],v=[],y=2;t<o;++t,++y)t<u&&v.push(c("deleted",n[t],t)),t<h&&a.push(c("added",i[y],t));s.a.fc(v,a);break;default:return}r=l}}}};h=s.a.$b("_state");s.m=s.B=function(t,i,r){function u(){if(0<arguments.length){if("function"==typeof e)e.apply(f.pb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}return s.l.qc(u),(f.T||f.s&&u.Qa())&&u.aa(),f.U}if("object"==typeof t?r=t:(r=r||{},t&&(r.read=t)),"function"!=typeof r.read)throw Error("Pass a function that returns the value of the ko.computed");var e=r.write,f={U:n,T:!0,Ra:!1,Fb:!1,S:!1,Va:!1,s:!1,kd:r.read,pb:i||r.owner,i:r.disposeWhenNodeIsRemoved||r.i||null,wa:r.disposeWhen||r.wa,mb:null,r:{},L:0,dc:null};return u[h]=f,u.Wc="function"==typeof e,s.a.ka||s.a.extend(u,s.J.fn),s.J.fn.rb(u),s.a.Ya(u,c),r.pure?(f.Va=!0,f.s=!0,s.a.extend(u,et)):r.deferEvaluation&&s.a.extend(u,ot),s.options.deferUpdates&&s.ya.deferred(u,!0),f.i&&(f.Fb=!0,f.i.nodeType||(f.i=null)),f.s||r.deferEvaluation||u.aa(),f.i&&u.ba()&&s.a.F.oa(f.i,f.mb=function(){u.k()}),u};var c={equalityComparer:b,Aa:function(){return this[h].L},Qb:function(n,t,i){if(this[h].Va&&t===this)throw Error("A 'pure' computed must not be called recursively");this[h].r[n]=i;i.Ga=this[h].L++;i.na=t.Na()},Qa:function(){var n,t,i=this[h].r;for(n in i)if(i.hasOwnProperty(n)&&(t=i[n],t.ia.Vc(t.na)))return!0},cd:function(){this.Fa&&!this[h].Ra&&this.Fa()},ba:function(){return this[h].T||0<this[h].L},md:function(){this.Nb||this.cc()},wc:function(n){if(n.cb&&!this[h].i){var t=n.X(this.cd,this,"dirty"),i=n.X(this.md,this);return{ia:n,k:function(){t.k();i.k()}}}return n.X(this.cc,this)},cc:function(){var n=this,t=n.throttleEvaluation;t&&0<=t?(clearTimeout(this[h].dc),this[h].dc=s.a.setTimeout(function(){n.aa(!0)},t)):n.Fa?n.Fa():n.aa(!0)},aa:function(n){var t=this[h],i=t.wa,r=!1;if(!t.Ra&&!t.S){if(t.i&&!s.a.nb(t.i)||i&&i()){if(!t.Fb){this.k();return}}else t.Fb=!1;t.Ra=!0;try{r=this.Rc(n)}finally{t.Ra=!1}return t.L||this.k(),r}},Rc:function(t){var i=this[h],u=!1,f=i.Va?n:!i.L,r={Ic:this,Ma:i.r,lb:i.L};return s.l.Vb({Hc:r,gb:ft,m:this,Sa:f}),i.r={},i.L=0,r=this.Qc(i,r),this.tb(i.U,r)&&(i.s||this.notifySubscribers(i.U,"beforeChange"),i.U=r,i.s?this.Ib():t&&this.notifySubscribers(i.U),u=!0),f&&this.notifySubscribers(i.U,"awake"),u},Qc:function(n,t){try{var i=n.kd;return n.pb?i.call(n.pb):i()}finally{s.l.end();t.lb&&!n.s&&s.a.D(t.Ma,ut);n.T=!1}},t:function(){var n=this[h];return(n.T&&!n.L||n.s&&this.Qa())&&this.aa(),n.U},Ta:function(n){s.J.fn.Ta.call(this,n);this.Fa=function(){this.Lb(this[h].U);this[h].T=!0;this.Mb(this)}},k:function(){var n=this[h];!n.s&&n.r&&s.a.D(n.r,function(n,t){t.k&&t.k()});n.i&&n.mb&&s.a.F.rc(n.i,n.mb);n.r=null;n.L=0;n.S=!0;n.T=!1;n.s=!1;n.i=null}},et={sa:function(n){var i=this,t=i[h],r;!t.S&&t.s&&"change"==n&&(t.s=!1,t.T||i.Qa()?(t.r=null,t.L=0,t.T=!0,i.aa()&&i.Ib()):(r=[],s.a.D(t.r,function(n,t){r[t.Ga]=n}),s.a.q(r,function(n,r){var f=t.r[n],u=i.wc(f.ia);u.Ga=r;u.na=f.na;t.r[n]=u})),t.S||i.notifySubscribers(t.U,"awake"))},Ia:function(t){var i=this[h];i.S||"change"!=t||this.Pa("change")||(s.a.D(i.r,function(n,t){t.k&&(i.r[n]={ia:t.ia,Ga:t.Ga,na:t.na},t.k())}),i.s=!0,this.notifySubscribers(n,"asleep"))},Na:function(){var n=this[h];return n.s&&(n.T||this.Qa())&&this.aa(),s.J.fn.Na.call(this)}},ot={sa:function(n){"change"!=n&&"beforeChange"!=n||this.t()}};s.a.ka&&s.a.Xa(c,s.J.fn);d=s.N.hd;s.m[d]=s.N;c[d]=s.m;s.Yc=function(n){return s.Oa(n,s.m)};s.Zc=function(n){return s.Oa(n,s.m)&&n[h]&&n[h].Va};s.b("computed",s.m);s.b("dependentObservable",s.m);s.b("isComputed",s.Yc);s.b("isPureComputed",s.Zc);s.b("computed.fn",c);s.G(c,"peek",c.t);s.G(c,"dispose",c.k);s.G(c,"isActive",c.ba);s.G(c,"getDependenciesCount",c.Aa);s.pc=function(n,t){return"function"==typeof n?s.m(n,t,{pure:!0}):(n=s.a.extend({},n),n.pure=!0,s.m(n,t))};s.b("pureComputed",s.pc),function(){function t(u,f,e){if(e=e||new i,u=f(u),"object"!=typeof u||null===u||u===n||u instanceof RegExp||u instanceof Date||u instanceof String||u instanceof Number||u instanceof Boolean)return u;var o=u instanceof Array?[]:{};return e.save(u,o),r(u,function(i){var r=f(u[i]),s;switch(typeof r){case"boolean":case"number":case"string":case"function":o[i]=r;break;case"object":case"undefined":s=e.get(r);o[i]=s!==n?s:t(r,f,e)}}),o}function r(n,t){if(n instanceof Array){for(var i=0;i<n.length;i++)t(i);"function"==typeof n.toJSON&&t("toJSON")}else for(i in n)t(i)}function i(){this.keys=[];this.Jb=[]}s.yc=function(n){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return t(n,function(n){for(var t=0;s.H(n)&&10>t;t++)n=n();return n})};s.toJSON=function(n,t,i){return n=s.yc(n),s.a.Eb(n,t,i)};i.prototype={save:function(n,t){var i=s.a.o(this.keys,n);0<=i?this.Jb[i]=t:(this.keys.push(n),this.Jb.push(t))},get:function(t){return t=s.a.o(this.keys,t),0<=t?this.Jb[t]:n}}}();s.b("toJS",s.yc);s.b("toJSON",s.toJSON),function(){s.j={u:function(t){switch(s.a.A(t)){case"option":return!0===t.__ko__hasDomDataOptionValue__?s.a.e.get(t,s.d.options.xb):7>=s.a.C?t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text:t.value;case"select":return 0<=t.selectedIndex?s.j.u(t.options[t.selectedIndex]):n;default:return t.value}},ha:function(t,i,r){switch(s.a.A(t)){case"option":switch(typeof i){case"string":s.a.e.set(t,s.d.options.xb,n);"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__;t.value=i;break;default:s.a.e.set(t,s.d.options.xb,i);t.__ko__hasDomDataOptionValue__=!0;t.value="number"==typeof i?i:""}break;case"select":(""===i||null===i)&&(i=n);for(var f=-1,u=0,o=t.options.length,e;u<o;++u)if(e=s.j.u(t.options[u]),e==i||""==e&&i===n){f=u;break}(r||0<=f||i===n&&1<t.size)&&(t.selectedIndex=f);break;default:(null===i||i===n)&&(i="");t.value=i}}}}();s.b("selectExtensions",s.j);s.b("selectExtensions.readValue",s.j.u);s.b("selectExtensions.writeValue",s.j.ha);s.h=function(){function n(n){var c,u,i;n=s.a.$a(n);123===n.charCodeAt(0)&&(n=n.slice(1,-1));var a=[],h=n.match(t),o,r=[],l=0;if(h)for(h.push(","),c=0;u=h[c];++c){if(i=u.charCodeAt(0),44===i){if(0>=l){a.push(o&&r.length?{key:o,value:r.join("")}:{unknown:o||r.join("")});o=l=0;r=[];continue}}else if(58===i){if(!l&&!o&&1===r.length){o=r.pop();continue}}else 47===i&&c&&1<u.length?(i=h[c-1].match(f))&&!e[i[0]]&&(n=n.substr(n.indexOf(u)+1),h=n.match(t),h.push(","),c=-1,u="/"):40===i||123===i||91===i?++l:41===i||125===i||93===i?--l:o||r.length||34!==i&&39!==i||(u=u.slice(1,-1));r.push(u)}return a}var r=["true","false","null","undefined"],u=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,t=RegExp("\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|/(?:[^/\\\\]|\\\\.)*/w*|[^\\s:,/][^,\"'{}()/:[\\]]*[^\\s,\"'{}()/:[\\]]|[^\\s]","g"),f=/[\])"'A-Za-z0-9_$]+$/,e={"in":1,"return":1,"typeof":1},i={};return{ta:[],ea:i,yb:n,Ua:function(t,f){function e(n,t){var a,f;if(!l){if(f=s.getBindingHandler(n),f&&f.preprocess&&!(t=f.preprocess(t,n,e)))return;(f=i[n])&&(a=t,0<=s.a.o(r,a)?a=!1:(f=a.match(u),a=null===f?!1:f[1]?"Object("+f[1]+")"+f[2]:a),f=a);f&&o.push("'"+n+"':function(_z){"+a+"=_z}")}c&&(t="function(){return "+t+" }");h.push("'"+n+"':"+t)}f=f||{};var h=[],o=[],c=f.valueAccessors,l=f.bindingParams,a="string"==typeof t?n(t):t;return s.a.q(a,function(n){e(n.key||n.unknown,n.value)}),o.length&&e("_ko_property_writers","{"+o.join(",")+" }"),h.join(",")},bd:function(n,t){for(var i=0;i<n.length;i++)if(n[i].key==t)return!0;return!1},Ea:function(n,t,i,r,u){n&&s.H(n)?!s.Ba(n)||u&&n.t()===r||n(r):(n=t.get("_ko_property_writers"))&&n[i]&&n[i](r)}}}();s.b("expressionRewriting",s.h);s.b("expressionRewriting.bindingRewriteValidators",s.h.ta);s.b("expressionRewriting.parseObjectLiteral",s.h.yb);s.b("expressionRewriting.preProcessBindings",s.h.Ua);s.b("expressionRewriting._twoWayBindings",s.h.ea);s.b("jsonExpressionRewriting",s.h);s.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",s.h.Ua),function(){function n(n){return 8==n.nodeType&&e.test(i?n.text:n.nodeValue)}function r(n){return 8==n.nodeType&&o.test(i?n.text:n.nodeValue)}function u(t,i){for(var u=t,f=1,e=[];u=u.nextSibling;){if(r(u)&&(f--,0===f))return e;e.push(u);n(u)&&f++}if(!i)throw Error("Cannot find closing comment tag to match: "+t.nodeValue);return null}function f(n,t){var i=u(n,t);return i?0<i.length?i[i.length-1].nextSibling:n.nextSibling:null}var i=t&&"<!--test-->"===t.createComment("test").text,e=i?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,o=i?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,h={ul:!0,ol:!0};s.f={Z:{},childNodes:function(t){return n(t)?u(t):t.childNodes},xa:function(t){if(n(t)){t=s.f.childNodes(t);for(var i=0,r=t.length;i<r;i++)s.removeNode(t[i])}else s.a.ob(t)},da:function(t,i){if(n(t)){s.f.xa(t);for(var u=t.nextSibling,r=0,f=i.length;r<f;r++)u.parentNode.insertBefore(i[r],u)}else s.a.da(t,i)},oc:function(t,i){n(t)?t.parentNode.insertBefore(i,t.nextSibling):t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)},ic:function(t,i,r){r?n(t)?t.parentNode.insertBefore(i,r.nextSibling):r.nextSibling?t.insertBefore(i,r.nextSibling):t.appendChild(i):s.f.oc(t,i)},firstChild:function(t){return n(t)?!t.nextSibling||r(t.nextSibling)?null:t.nextSibling:t.firstChild},nextSibling:function(t){return n(t)&&(t=f(t)),t.nextSibling&&r(t.nextSibling)?null:t.nextSibling},Uc:n,qd:function(n){return(n=(i?n.text:n.nodeValue).match(e))?n[1]:null},mc:function(t){var o,i,u,e;if(h[s.a.A(t)]&&(o=t.firstChild,o))do if(1===o.nodeType){if(i=o.firstChild,u=null,i)do u?u.push(i):n(i)?(e=f(i,!0),e?i=e:u=[i]):r(i)&&(u=[i]);while(i=i.nextSibling);if(i=u)for(u=o.nextSibling,e=0;e<i.length;e++)u?t.insertBefore(i[e],u):t.appendChild(i[e])}while(o=o.nextSibling)}}}();s.b("virtualElements",s.f);s.b("virtualElements.allowedBindings",s.f.Z);s.b("virtualElements.emptyNode",s.f.xa);s.b("virtualElements.insertAfter",s.f.ic);s.b("virtualElements.prepend",s.f.oc);s.b("virtualElements.setDomNodeChildren",s.f.da),function(){s.R=function(){this.Gc={}};s.a.extend(s.R.prototype,{nodeHasBindings:function(n){switch(n.nodeType){case 1:return null!=n.getAttribute("data-bind")||s.g.getComponentNameForNode(n);case 8:return s.f.Uc(n);default:return!1}},getBindings:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n):null;return s.g.Pb(i,n,t,!1)},getBindingAccessors:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n,{valueAccessors:!0}):null;return s.g.Pb(i,n,t,!0)},getBindingsString:function(n){switch(n.nodeType){case 1:return n.getAttribute("data-bind");case 8:return s.f.qd(n);default:return null}},parseBindingsString:function(n,t,i,r){var u,f,e,h,c;try{return u=this.Gc,f=n+(r&&r.valueAccessors||""),(e=u[f])||(c="with($context){with($data||{}){return{"+s.h.Ua(n,r)+"}}}",h=new Function("$context","$element",c),e=u[f]=h),e(t,i)}catch(o){throw o.message="Unable to parse bindings.\nBindings value: "+n+"\nMessage: "+o.message,o;}}});s.R.instance=new s.R}();s.b("bindingProvider",s.R),function(){function v(n){return function(){return n}}function u(n){return n()}function o(n){return s.a.Ca(s.l.w(n),function(t,i){return function(){return n()[i]}})}function y(n,t,i){return"function"==typeof n?o(n.bind(null,t,i)):s.a.Ca(n,v)}function p(n,t){return o(this.getBindings.bind(this,n,t))}function h(n,t,i){var r,u=s.f.firstChild(t),f=s.R.instance,e=f.preprocessNode;if(e){for(;r=u;)u=s.f.nextSibling(r),e.call(f,r);u=s.f.firstChild(t)}for(;r=u;)u=s.f.nextSibling(r),c(n,r,i)}function c(n,t,i){var u=!0,r=1===t.nodeType;r&&s.f.mc(t);(r&&i||s.R.instance.nodeHasBindings(t))&&(u=l(t,null,n,i).shouldBindDescendants);u&&!a[s.a.A(t)]&&h(n,t,!r)}function w(n){var i=[],r={},t=[];return s.a.D(n,function u(f){if(!r[f]){var e=s.getBindingHandler(f);e&&(e.after&&(t.push(f),s.a.q(e.after,function(i){if(n[i]){if(-1!==s.a.o(t,i))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+t.join(", "));u(i)}}),t.length--),i.push({key:f,hc:e}));r[f]=!0}}),i}function l(t,i,r,e){var v=s.a.e.get(t,f),o,l,a,c;if(!i){if(v)throw Error("You cannot apply bindings multiple times to the same element.");s.a.e.set(t,f,!0)}if(!v&&e&&s.vc(t,r),i&&"function"!=typeof i)o=i;else{var y=s.R.instance,b=y.getBindingAccessors||p,h=s.B(function(){return(o=i?i(r,t):b.call(y,t,r))&&r.P&&r.P(),o},null,{i:t});o&&h.ba()||(h=null)}return o&&(a=h?function(n){return function(){return u(h()[n])}}:function(n){return o[n]},c=function(){return s.a.Ca(h?h():o,u)},c.get=function(n){return o[n]&&u(a(n))},c.has=function(n){return n in o},e=w(o),s.a.q(e,function(i){var e=i.hc.init,h=i.hc.update,u=i.key;if(8===t.nodeType&&!s.f.Z[u])throw Error("The binding '"+u+"' cannot be used with virtual elements");try{"function"==typeof e&&s.l.w(function(){var i=e(t,a(u),c,r.$data,r);if(i&&i.controlsDescendantBindings){if(l!==n)throw Error("Multiple bindings ("+l+" and "+u+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");l=u}});"function"==typeof h&&s.B(function(){h(t,a(u),c,r.$data,r)},null,{i:t})}catch(f){throw f.message='Unable to process binding "'+u+": "+o[u]+'"\nMessage: '+f.message,f;}})),{shouldBindDescendants:l===n}}function t(n){return n&&n instanceof s.Q?n:new s.Q(n)}var a,f,e;s.d={};a={script:!0,textarea:!0,template:!0};s.getBindingHandler=function(n){return s.d[n]};s.Q=function(t,i,r,u,f){function c(){var f=a?t():t,n=s.a.c(f);return i?(i.P&&i.P(),s.a.extend(e,i),e.P=o):(e.$parents=[],e.$root=n,e.ko=s),e.$rawData=f,e.$data=n,r&&(e[r]=n),u&&u(e,i,n),e.$data}function l(){return h&&!s.a.Rb(h)}var e=this,a="function"==typeof t&&!s.H(t),h,o;f&&f.exportDependencies?c():(o=s.B(c,null,{wa:l,i:!0}),o.ba()&&(e.P=o,o.equalityComparer=null,h=[],o.Bc=function(t){h.push(t);s.a.F.oa(t,function(t){s.a.La(h,t);h.length||(o.k(),e.P=o=n)})}))};s.Q.prototype.createChildContext=function(n,t,i,r){return new s.Q(n,this,t,function(n,t){n.$parentContext=t;n.$parent=t.$data;n.$parents=(t.$parents||[]).slice(0);n.$parents.unshift(n.$parent);i&&i(n)},r)};s.Q.prototype.extend=function(n){return new s.Q(this.P||this.$data,this,null,function(t,i){t.$rawData=i.$rawData;s.a.extend(t,"function"==typeof n?n():n)})};s.Q.prototype.Zb=function(n,t){return this.createChildContext(n,t,null,{exportDependencies:!0})};f=s.a.e.I();e=s.a.e.I();s.vc=function(n,t){if(2==arguments.length)s.a.e.set(n,e,t),t.P&&t.P.Bc(n);else return s.a.e.get(n,e)};s.Ja=function(n,i,r){return 1===n.nodeType&&s.f.mc(n),l(n,i,t(r),!0)};s.Ec=function(n,i,r){return r=t(r),s.Ja(n,y(i,r,n),r)};s.eb=function(n,i){1!==i.nodeType&&8!==i.nodeType||h(t(n),i,!0)};s.Sb=function(n,u){if(!i&&r.jQuery&&(i=r.jQuery),u&&1!==u.nodeType&&8!==u.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");u=u||r.document.body;c(t(n),u,!0)};s.kb=function(t){switch(t.nodeType){case 1:case 8:var i=s.vc(t);if(i)return i;if(t.parentNode)return s.kb(t.parentNode)}return n};s.Kc=function(t){return(t=s.kb(t))?t.$data:n};s.b("bindingHandlers",s.d);s.b("applyBindings",s.Sb);s.b("applyBindingsToDescendants",s.eb);s.b("applyBindingAccessorsToNode",s.Ja);s.b("applyBindingsToNode",s.Ec);s.b("contextFor",s.kb);s.b("dataFor",s.Kc)}(),function(n){function u(t,u){var e=i.hasOwnProperty(t)?i[t]:n,o;e?e.X(u):(e=i[t]=new s.J,e.X(u),f(t,function(n,u){var f=!(!u||!u.synchronous);r[t]={definition:n,$c:f};delete i[t];o||f?e.notifySubscribers(n):s.Y.Wa(function(){e.notifySubscribers(n)})}),o=!0)}function f(n,i){t("getConfig",[n],function(r){r?t("loadComponent",[n,r],function(n){i(n,r)}):i(null,null)})}function t(i,r,u,f){var e,o,h;if(f||(f=s.g.loaders.slice(0)),e=f.shift(),e)if(o=e[i],o){if(h=!1,o.apply(e,r.concat(function(n){h?u(null):null!==n?u(n):t(i,r,u,f)}))!==n&&(h=!0,!e.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.");}else t(i,r,u,f);else u(null)}var i={},r={};s.g={get:function(t,i){var f=r.hasOwnProperty(t)?r[t]:n;f?f.$c?s.l.w(function(){i(f.definition)}):s.Y.Wa(function(){i(f.definition)}):u(t,i)},Yb:function(n){delete r[n]},Kb:t};s.g.loaders=[];s.b("components",s.g);s.b("components.get",s.g.get);s.b("components.clearCachedDefinition",s.g.Yb)}(),function(){function l(n,t,r,f){function e(){0==--c&&f(o)}var o={},c=2,h=r.template;r=r.viewModel;h?u(t,h,function(t){s.g.Kb("loadTemplate",[n,t],function(n){o.template=n;e()})}):e();r?u(t,r,function(t){s.g.Kb("loadViewModel",[n,t],function(n){o[i]=n;e()})}):e()}function e(n,t,r){if("function"==typeof t)r(function(n){return new t(n)});else if("function"==typeof t[i])r(t[i]);else if("instance"in t){var u=t.instance;r(function(){return u})}else"viewModel"in t?e(n,t.viewModel,r):n("Unknown viewModel value: "+t)}function h(n){switch(s.a.A(n)){case"script":return s.a.ma(n.text);case"textarea":return s.a.ma(n.value);case"template":if(c(n.content))return s.a.ua(n.content.childNodes)}return s.a.ua(n.childNodes)}function c(n){return r.DocumentFragment?n instanceof DocumentFragment:n&&11===n.nodeType}function u(n,t,i){"string"==typeof t.require?o||r.require?(o||r.require)([t.require],i):n("Uses require, but no AMD loader is present"):i(t)}function f(n){return function(t){throw Error("Component '"+n+"': "+t);}}var n={},i;s.g.register=function(t,i){if(!i)throw Error("Invalid configuration for "+t);if(s.g.ub(t))throw Error("Component "+t+" is already registered");n[t]=i};s.g.ub=function(t){return n.hasOwnProperty(t)};s.g.pd=function(t){delete n[t];s.g.Yb(t)};s.g.ac={getConfig:function(t,i){i(n.hasOwnProperty(t)?n[t]:null)},loadComponent:function(n,t,i){var r=f(n);u(r,t,function(t){l(n,r,t,i)})},loadTemplate:function(n,i,u){if(n=f(n),"string"==typeof i)u(s.a.ma(i));else if(i instanceof Array)u(i);else if(c(i))u(s.a.V(i.childNodes));else if(i.element)if(i=i.element,r.HTMLElement?i instanceof HTMLElement:i&&i.tagName&&1===i.nodeType)u(h(i));else if("string"==typeof i){var e=t.getElementById(i);e?u(h(e)):n("Cannot find element with ID "+i)}else n("Unknown element type: "+i);else n("Unknown template value: "+i)},loadViewModel:function(n,t,i){e(f(n),t,i)}};i="createViewModel";s.b("components.register",s.g.register);s.b("components.isRegistered",s.g.ub);s.b("components.unregister",s.g.pd);s.b("components.defaultLoader",s.g.ac);s.g.loaders.push(s.g.ac);s.g.Cc=n}(),function(){function n(n,t){var r=n.getAttribute("params");if(r){var r=i.parseBindingsString(r,t,n,{valueAccessors:!0,bindingParams:!0}),r=s.a.Ca(r,function(t){return s.m(t,null,{i:n})}),u=s.a.Ca(r,function(t){var i=t.t();return t.ba()?s.m({read:function(){return s.a.c(t())},write:s.Ba(i)&&function(n){t()(n)},i:n}):i});return u.hasOwnProperty("$raw")||(u.$raw=r),u}return{$raw:{}}}s.g.getComponentNameForNode=function(n){var t=s.a.A(n);if(s.g.ub(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+n||8>=s.a.C&&n.tagName===t))return t};s.g.Pb=function(t,i,r,u){var f,e;if(1===i.nodeType&&(f=s.g.getComponentNameForNode(i),f)){if(t=t||{},t.component)throw Error('Cannot use the "component" binding on a custom element matching a component');e={name:f,params:n(i,r)};t.component=u?function(){return e}:e}return t};var i=new s.R;9>s.a.C&&(s.g.register=function(n){return function(i){return t.createElement(i),n.apply(this,arguments)}}(s.g.register),t.createDocumentFragment=function(n){return function(){var i=n(),r=s.g.Cc,t;for(t in r)r.hasOwnProperty(t)&&i.createElement(t);return i}}(t.createDocumentFragment))}(),function(n){function t(n,t,i){if(t=t.template,!t)throw Error("Component '"+n+"' has no template");n=s.a.ua(t);s.f.da(i,n)}function i(n,t,i,r){var u=n.createViewModel;return u?u.call(n,r,{element:t,templateNodes:i}):r}var r=0;s.d.component={init:function(u,f,e,o,h){function a(){var n=c&&c.dispose;"function"==typeof n&&n.call(c);l=c=null}var c,l,v=s.a.V(s.f.childNodes(u));return s.a.F.oa(u,a),s.m(function(){var o=s.a.c(f()),e,y,p;if("string"==typeof o?e=o:(e=s.a.c(o.name),y=s.a.c(o.params)),!e)throw Error("No component name specified");p=l=++r;s.g.get(e,function(r){if(l===p){if(a(),!r)throw Error("Unknown component '"+e+"'");t(e,r,u);var f=i(r,u,v,y);r=h.createChildContext(f,n,function(n){n.$component=f;n.$componentTemplateNodes=v});c=f;s.eb(r,u)}})},null,{i:u}),{controlsDescendantBindings:!0}}};s.f.Z.component=!0}();g={"class":"className","for":"htmlFor"};s.d.attr={update:function(t,i){var r=s.a.c(i())||{};s.a.D(r,function(i,r){r=s.a.c(r);var u=!1===r||null===r||r===n;u&&t.removeAttribute(i);8>=s.a.C&&i in g?(i=g[i],u?t.removeAttribute(i):t[i]=r):u||t.setAttribute(i,r.toString());"name"===i&&s.a.tc(t,u?"":r.toString())})}},function(){s.d.checked={after:["value","attr"],init:function(t,i,r){function l(){var l=t.checked,o=y?f():l,n,h;s.va.Sa()||e&&!l||(n=s.l.w(i),u?(h=a?n.t():n,c!==o?(l&&(s.a.pa(h,o,!0),s.a.pa(h,c,!1)),c=o):s.a.pa(h,o,l),a&&s.Ba(n)&&n(h)):s.h.Ea(n,r,"checked",o,!0))}function v(){var n=s.a.c(i());t.checked=u?0<=s.a.o(n,f()):h?n:f()===n}var f=s.pc(function(){return r.has("checkedValue")?s.a.c(r.get("checkedValue")):r.has("value")?s.a.c(r.get("value")):t.value}),h="checkbox"==t.type,e="radio"==t.type;if(h||e){var o=i(),u=h&&s.a.c(o)instanceof Array,a=!(u&&o.push&&o.splice),c=u?f():n,y=e||u;e&&!t.name&&s.d.uniqueName.init(t,function(){return!0});s.m(l,null,{i:t});s.a.p(t,"click",l);s.m(v,null,{i:t});o=n}}};s.h.ea.checked=!0;s.d.checkedValue={update:function(n,t){n.value=s.a.c(t())}}}();s.d.css={update:function(n,t){var i=s.a.c(t());null!==i&&"object"==typeof i?s.a.D(i,function(t,i){i=s.a.c(i);s.a.bb(n,t,i)}):(i=s.a.$a(String(i||"")),s.a.bb(n,n.__ko__cssValue,!1),n.__ko__cssValue=i,s.a.bb(n,i,!0))}};s.d.enable={update:function(n,t){var i=s.a.c(t());i&&n.disabled?n.removeAttribute("disabled"):i||n.disabled||(n.disabled=!0)}};s.d.disable={update:function(n,t){s.d.enable.update(n,function(){return!s.a.c(t())})}};s.d.event={init:function(n,t,i,r,u){var f=t()||{};s.a.D(f,function(f){"string"==typeof f&&s.a.p(n,f,function(n){var o,h=t()[f],e;if(h){try{e=s.a.V(arguments);r=u.$data;e.unshift(r);o=h.apply(r,e)}finally{!0!==o&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}!1===i.get(f+"Bubble")&&(n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation())}})})}};s.d.foreach={kc:function(n){return function(){var i=n(),t=s.a.zb(i);return!t||"number"==typeof t.length?{foreach:i,templateEngine:s.W.sb}:(s.a.c(i),{foreach:t.data,as:t.as,includeDestroyed:t.includeDestroyed,afterAdd:t.afterAdd,beforeRemove:t.beforeRemove,afterRender:t.afterRender,beforeMove:t.beforeMove,afterMove:t.afterMove,templateEngine:s.W.sb})}},init:function(n,t){return s.d.template.init(n,s.d.foreach.kc(t))},update:function(n,t,i,r,u){return s.d.template.update(n,s.d.foreach.kc(t),i,r,u)}};s.h.ta.foreach=!1;s.f.Z.foreach=!0;s.d.hasfocus={init:function(n,t,i){function r(r){var u,f;if(n.__ko_hasfocusUpdating=!0,u=n.ownerDocument,"activeElement"in u){try{f=u.activeElement}catch(e){f=u.body}r=f===n}u=t();s.h.Ea(u,i,"hasfocus",r,!0);n.__ko_hasfocusLastValue=r;n.__ko_hasfocusUpdating=!1}var u=r.bind(null,!0),f=r.bind(null,!1);s.a.p(n,"focus",u);s.a.p(n,"focusin",u);s.a.p(n,"blur",f);s.a.p(n,"focusout",f)},update:function(n,t){var i=!!s.a.c(t());n.__ko_hasfocusUpdating||n.__ko_hasfocusLastValue===i||(i?n.focus():n.blur(),!i&&n.__ko_hasfocusLastValue&&n.ownerDocument.body.focus(),s.l.w(s.a.Da,null,[n,i?"focusin":"focusout"]))}};s.h.ea.hasfocus=!0;s.d.hasFocus=s.d.hasfocus;s.h.ea.hasFocus=!0;s.d.html={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.Cb(n,t())}};k("if");k("ifnot",!1,!0);k("with",!0,!1,function(n,t){return n.Zb(t)});w={};s.d.options={init:function(n){if("select"!==s.a.A(n))throw Error("options binding applies only to SELECT elements");for(;0<n.length;)n.remove(0);return{controlsDescendantBindings:!0}},update:function(t,i,r){function a(){return s.a.Ka(t.options,function(n){return n.selected})}function v(n,t,i){var r=typeof t;return"function"==r?t(n):"string"==r?n[t]:i}function y(n,i){if(o&&e)s.j.ha(t,s.a.c(r.get("value")),!0);else if(f.length){var u=0<=s.a.o(f,s.j.u(i[0]));s.a.uc(i[0],u);o&&!u&&s.l.w(s.a.Da,null,[t,"change"])}}var h=t.multiple,c=0!=t.length&&h?t.scrollTop:null,u=s.a.c(i()),e=r.get("valueAllowUnset")&&r.has("value"),p=r.get("optionsIncludeDestroyed"),l,f,o;i={};f=[];e||(h?f=s.a.fb(a(),s.j.u):0<=t.selectedIndex&&f.push(s.j.u(t.options[t.selectedIndex])));u&&("undefined"==typeof u.length&&(u=[u]),l=s.a.Ka(u,function(t){return p||t===n||null===t||!s.a.c(t._destroy)}),r.has("optionsCaption")&&(u=s.a.c(r.get("optionsCaption")),null!==u&&u!==n&&l.unshift(w)));o=!1;i.beforeRemove=function(n){t.removeChild(n)};u=y;r.has("optionsAfterRender")&&"function"==typeof r.get("optionsAfterRender")&&(u=function(t,i){y(0,i);s.l.w(r.get("optionsAfterRender"),null,[i[0],t!==w?t:n])});s.a.Bb(t,l,function(i,u,h){return h.length&&(f=!e&&h[0].selected?[s.j.u(h[0])]:[],o=!0),u=t.ownerDocument.createElement("option"),i===w?(s.a.Za(u,r.get("optionsCaption")),s.j.ha(u,n)):(h=v(i,r.get("optionsValue"),i),s.j.ha(u,s.a.c(h)),i=v(i,r.get("optionsText"),h),s.a.Za(u,i)),[u]},i,u);s.l.w(function(){e?s.j.ha(t,s.a.c(r.get("value")),!0):(h?f.length&&a().length<f.length:f.length&&0<=t.selectedIndex?s.j.u(t.options[t.selectedIndex])!==f[0]:f.length||0<=t.selectedIndex)&&s.a.Da(t,"change")});s.a.Oc(t);c&&20<Math.abs(c-t.scrollTop)&&(t.scrollTop=c)}};s.d.options.xb=s.a.e.I();s.d.selectedOptions={after:["options","foreach"],init:function(n,t,i){s.a.p(n,"change",function(){var u=t(),r=[];s.a.q(n.getElementsByTagName("option"),function(n){n.selected&&r.push(s.j.u(n))});s.h.Ea(u,i,"selectedOptions",r)})},update:function(n,t){if("select"!=s.a.A(n))throw Error("values binding applies only to SELECT elements");var i=s.a.c(t()),r=n.scrollTop;i&&"number"==typeof i.length&&s.a.q(n.getElementsByTagName("option"),function(n){var t=0<=s.a.o(i,s.j.u(n));n.selected!=t&&s.a.uc(n,t)});n.scrollTop=r}};s.h.ea.selectedOptions=!0;s.d.style={update:function(t,i){var r=s.a.c(i()||{});s.a.D(r,function(i,r){r=s.a.c(r);(null===r||r===n||!1===r)&&(r="");t.style[i]=r})}};s.d.submit={init:function(n,t,i,r,u){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");s.a.p(n,"submit",function(i){var r,f=t();try{r=f.call(u.$data,n)}finally{!0!==r&&(i.preventDefault?i.preventDefault():i.returnValue=!1)}})}};s.d.text={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.Za(n,t())}};s.f.Z.text=!0,function(){if(r&&r.navigator)var t=function(n){if(n)return parseFloat(n[1])},e=r.opera&&r.opera.version&&parseInt(r.opera.version()),i=r.navigator.userAgent,o=t(i.match(/^(?:(?!chrome).)*version\/([^ ]*) safari/i)),h=t(i.match(/Firefox\/([^ ]*)/));if(10>s.a.C)var u=s.a.e.I(),f=s.a.e.I(),c=function(n){var t=this.activeElement;(t=t&&s.a.e.get(t,f))&&t(n)},l=function(n,t){var i=n.ownerDocument;s.a.e.get(i,u)||(s.a.e.set(i,u,!0),s.a.p(i,"selectionchange",c));s.a.e.set(n,f,t)};s.d.textInput={init:function(t,i,r){function u(n,i){s.a.p(t,n,i)}function p(){var r=s.a.c(i());(null===r||r===n)&&(r="");v!==n&&r===v?s.a.setTimeout(p,4):t.value!==r&&(y=r,t.value=r)}function c(){a||(v=t.value,a=s.a.setTimeout(f,4))}function f(){clearTimeout(a);v=a=n;var u=t.value;y!==u&&(y=u,s.h.Ea(i(),r,"textInput",u))}var y=t.value,a,v,w=9==s.a.C?c:f;10>s.a.C?(u("propertychange",function(n){"value"===n.propertyName&&w(n)}),8==s.a.C&&(u("keyup",f),u("keydown",f)),8<=s.a.C&&(l(t,w),u("dragend",c))):(u("input",f),5>o&&"textarea"===s.a.A(t)?(u("keydown",c),u("paste",c),u("cut",c)):11>e?u("keydown",c):4>h&&(u("DOMAutoComplete",f),u("dragdrop",f),u("drop",f)));u("change",f);s.m(p,null,{i:t})}};s.h.ea.textInput=!0;s.d.textinput={preprocess:function(n,t,i){i("textInput",n)}}}();s.d.uniqueName={init:function(n,t){if(t()){var i="ko_unique_"+ ++s.d.uniqueName.Jc;s.a.tc(n,i)}}};s.d.uniqueName.Jc=0;s.d.value={after:["options","foreach"],init:function(n,t,i){var o,h;if("input"!=n.tagName.toLowerCase()||"checkbox"!=n.type&&"radio"!=n.type){var r=["change"],u=i.get("valueUpdate"),f=!1,e=null;u&&("string"==typeof u&&(u=[u]),s.a.ra(r,u),r=s.a.Ub(r));o=function(){e=null;f=!1;var r=t(),u=s.j.u(n);s.h.Ea(r,i,"value",u)};!s.a.C||"input"!=n.tagName.toLowerCase()||"text"!=n.type||"off"==n.autocomplete||n.form&&"off"==n.form.autocomplete||-1!=s.a.o(r,"propertychange")||(s.a.p(n,"propertychange",function(){f=!0}),s.a.p(n,"focus",function(){f=!1}),s.a.p(n,"blur",function(){f&&o()}));s.a.q(r,function(t){var i=o;s.a.od(t,"after")&&(i=function(){e=s.j.u(n);s.a.setTimeout(o,0)},t=t.substring(5));s.a.p(n,t,i)});h=function(){var r=s.a.c(t()),u=s.j.u(n),f;null!==e&&r===e?s.a.setTimeout(h,0):r!==u&&("select"===s.a.A(n)?(f=i.get("valueAllowUnset"),u=function(){s.j.ha(n,r,f)},u(),f||r===s.j.u(n)?s.a.setTimeout(u,0):s.l.w(s.a.Da,null,[n,"change"])):s.j.ha(n,r))};s.m(h,null,{i:n})}else s.Ja(n,{checkedValue:t})},update:function(){}};s.h.ea.value=!0;s.d.visible={update:function(n,t){var i=s.a.c(t()),r="none"!=n.style.display;i&&!r?n.style.display="":!i&&r&&(n.style.display="none")}},function(n){s.d[n]={init:function(t,i,r,u,f){return s.d.event.init.call(this,t,function(){var t={};return t[n]=i(),t},r,u,f)}}}("click");s.O=function(){};s.O.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource");};s.O.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock");};s.O.prototype.makeTemplateSource=function(n,i){if("string"==typeof n){i=i||t;var r=i.getElementById(n);if(!r)throw Error("Cannot find template with ID "+n);return new s.v.n(r)}if(1==n.nodeType||8==n.nodeType)return new s.v.qa(n);throw Error("Unknown template type: "+n);};s.O.prototype.renderTemplate=function(n,t,i,r){return n=this.makeTemplateSource(n,r),this.renderTemplateSource(n,t,i,r)};s.O.prototype.isTemplateRewritten=function(n,t){return!1===this.allowTemplateRewriting?!0:this.makeTemplateSource(n,t).data("isRewritten")};s.O.prototype.rewriteTemplate=function(n,t,i){n=this.makeTemplateSource(n,i);t=t(n.text());n.text(t);n.data("isRewritten",!0)};s.b("templateEngine",s.O);s.Gb=function(){function n(n,t,i,r){var o,f,u,e;for(n=s.h.yb(n),o=s.h.ta,f=0;f<n.length;f++)if(u=n[f].key,o.hasOwnProperty(u))if(e=o[u],"function"==typeof e){if(u=e(n[f].value))throw Error(u);}else if(!e)throw Error("This template engine does not support the '"+u+"' binding within its templates");return i="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+s.h.Ua(n,{valueAccessors:!0})+" } })()},'"+i.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(i)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,i=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{Pc:function(n,t,i){t.isTemplateRewritten(n,i)||t.rewriteTemplate(n,function(n){return s.Gb.ed(n,t)},i)},ed:function(r,u){return r.replace(t,function(t,i,r,f,e){return n(e,i,r,u)}).replace(i,function(t,i){return n(i,"<!-- ko -->","#comment",u)})},Fc:function(n,t){return s.M.wb(function(i,r){var u=i.nextSibling;u&&u.nodeName.toLowerCase()===t&&s.Ja(u,n,r)})}}}();s.b("__tr_ambtns",s.Gb.Fc),function(){var i,t;s.v={};s.v.n=function(n){if(this.n=n){var t=s.a.A(n);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&n.content&&11===n.content.nodeType?3:4}};s.v.n.prototype.text=function(){var n=1===this.ab?"text":2===this.ab?"value":"innerHTML",t;if(0==arguments.length)return this.n[n];t=arguments[0];"innerHTML"===n?s.a.Cb(this.n,t):this.n[n]=t};i=s.a.e.I()+"_";s.v.n.prototype.data=function(n){if(1===arguments.length)return s.a.e.get(this.n,i+n);s.a.e.set(this.n,i+n,arguments[1])};t=s.a.e.I();s.v.n.prototype.nodes=function(){var i=this.n;if(0==arguments.length)return(s.a.e.get(i,t)||{}).jb||(3===this.ab?i.content:4===this.ab?i:n);s.a.e.set(i,t,{jb:arguments[0]})};s.v.qa=function(n){this.n=n};s.v.qa.prototype=new s.v.n;s.v.qa.prototype.text=function(){if(0==arguments.length){var i=s.a.e.get(this.n,t)||{};return i.Hb===n&&i.jb&&(i.Hb=i.jb.innerHTML),i.Hb}s.a.e.set(this.n,t,{Hb:arguments[0]})};s.b("templateSources",s.v);s.b("templateSources.domElement",s.v.n);s.b("templateSources.anonymousTemplate",s.v.qa)}(),function(){function t(n,t,i){var r;for(t=s.f.nextSibling(t);n&&(r=n)!==t;)n=s.f.nextSibling(r),i(r,n)}function f(n,i){if(n.length){var r=n[0],u=n[n.length-1],f=r.parentNode,e=s.R.instance,o=e.preprocessNode;if(o){if(t(r,u,function(n,t){var f=n.previousSibling,i=o.call(e,n);i&&(n===r&&(r=i[0]||t),n===u&&(u=i[i.length-1]||f))}),n.length=0,!r)return;r===u?n.push(r):(n.push(r,u),s.a.za(n,f))}t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.Sb(i,n)});t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.M.Ac(n,[i])});s.a.za(n,f)}}function i(n){return n.nodeType?n:0<n.length?n[0]:null}function e(n,t,u,e,o){o=o||{};var h=(n&&i(n)||u||{}).ownerDocument,c=o.templateEngine||r;if(s.Gb.Pc(u,c,h),u=c.renderTemplate(u,e,o,h),"number"!=typeof u.length||0<u.length&&"number"!=typeof u[0].nodeType)throw Error("Template engine must return an array of DOM nodes");h=!1;switch(t){case"replaceChildren":s.f.da(n,u);h=!0;break;case"replaceNode":s.a.sc(n,u);h=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+t);}return h&&(f(u,e),o.afterRender&&s.l.w(o.afterRender,null,[u,e.$data])),u}function o(n,t,i){return s.H(n)?n():"function"==typeof n?n(t,i):n}var r,u;s.Db=function(t){if(t!=n&&!(t instanceof s.O))throw Error("templateEngine must inherit from ko.templateEngine");r=t};s.Ab=function(t,u,f,h,c){if(f=f||{},(f.templateEngine||r)==n)throw Error("Set a template engine before calling renderTemplate");if(c=c||"replaceChildren",h){var l=i(h);return s.B(function(){var n=u&&u instanceof s.Q?u:new s.Q(u,null,null,null,{exportDependencies:!0}),r=o(t,n.$data,n),n=e(h,c,r,n,f);"replaceNode"==c&&(h=n,l=i(h))},null,{wa:function(){return!l||!s.a.nb(l)},i:l&&"replaceNode"==c?l.parentNode:l})}return s.M.wb(function(n){s.Ab(t,u,f,n,"replaceNode")})};s.ld=function(t,i,r,u,h){function l(n,t){f(t,c);r.afterRender&&r.afterRender(t,n);c=null}function a(n,i){c=h.createChildContext(n,r.as,function(n){n.$index=i});var u=o(t,n,c);return e(null,"ignoreTargetNode",u,c,r)}var c;return s.B(function(){var t=s.a.c(i)||[];"undefined"==typeof t.length&&(t=[t]);t=s.a.Ka(t,function(t){return r.includeDestroyed||t===n||null===t||!s.a.c(t._destroy)});s.l.w(s.a.Bb,null,[u,t,a,r,l])},null,{i:u})};u=s.a.e.I();s.d.template={init:function(n,t){var i=s.a.c(t());if("string"==typeof i||i.name)s.f.xa(n);else{if("nodes"in i){if(i=i.nodes||[],s.H(i))throw Error('The "nodes" option must be a plain, non-observable array.');}else i=s.f.childNodes(n);i=s.a.lc(i);new s.v.qa(n).nodes(i)}return{controlsDescendantBindings:!0}},update:function(t,i,r,f,e){var o=i();i=s.a.c(o);r=!0;f=null;"string"==typeof i?i={}:(o=i.name,"if"in i&&(r=s.a.c(i["if"])),r&&"ifnot"in i&&(r=!s.a.c(i.ifnot)));"foreach"in i?f=s.ld(o||t,r&&i.foreach||[],i,t,e):r?(e="data"in i?e.Zb(i.data,i.as):e,f=s.Ab(o||t,e,i,t)):s.f.xa(t);e=f;(i=s.a.e.get(t,u))&&"function"==typeof i.k&&i.k();s.a.e.set(t,u,e&&e.ba()?e:n)}};s.h.ta.template=function(n){return n=s.h.yb(n),1==n.length&&n[0].unknown||s.h.bd(n,"name")?null:"This template engine does not support anonymous templates nested within its templates"};s.f.Z.template=!0}();s.b("setTemplateEngine",s.Db);s.b("renderTemplate",s.Ab);s.a.fc=function(n,t,i){if(n.length&&t.length)for(var o,r,f,e,u=o=0;(!i||u<i)&&(f=n[o]);++o){for(r=0;e=t[r];++r)if(f.value===e.value){f.moved=e.index;e.moved=f.index;t.splice(r,1);u=r=0;break}u+=r}};s.a.ib=function(){function n(n,t,i,r,u){for(var o=Math.min,l=Math.max,a=[],c=n.length,f,h=t.length,v=h-c||1,w=c+h+1,y,p,b,e=0;e<=c;e++)for(p=y,a.push(y=[]),b=o(h,e+v),f=l(0,e-1);f<=b;f++)y[f]=f?e?n[e-1]===t[f-1]?p[f-1]:o(p[f]||w,y[f-1]||w)+1:f+1:e+1;for(o=[],l=[],v=[],e=c,f=h;e||f;)h=a[e][f]-1,f&&h===a[e][f-1]?l.push(o[o.length]={status:i,value:t[--f],index:f}):e&&h===a[e-1][f]?v.push(o[o.length]={status:r,value:n[--e],index:e}):(--f,--e,u.sparse||o.push({status:"retained",value:t[f]}));return s.a.fc(v,l,!u.dontLimitMoves&&10*c),o.reverse()}return function(t,i,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},t=t||[],i=i||[],t.length<i.length?n(t,i,"added","deleted",r):n(i,t,"deleted","added",r)}}();s.b("utils.compareArrays",s.a.ib),function(){function r(t,i,r,u,f){var e=[],o=s.B(function(){var n=i(r,f,s.a.za(e,t))||[];0<e.length&&(s.a.sc(e,n),u&&s.l.w(u,null,[r,n,f]));e.length=0;s.a.ra(e,n)},null,{i:t,wa:function(){return!s.a.Rb(e)}});return{ca:e,B:o.ba()?o:n}}var t=s.a.e.I(),i=s.a.e.I();s.a.Bb=function(u,f,e,o,h){function ut(n,t){c=nt[t];tt!==t&&(rt[n]=c);c.qb(tt++);s.a.za(c.ca,u);b.push(c);k.push(c)}function p(n,t){if(n)for(var i=0,r=t.length;i<r;i++)t[i]&&s.a.q(t[i].ca,function(r){n(r,i,t[i].ja)})}var l,y,ft;f=f||[];o=o||{};var y=s.a.e.get(u,t)===n,nt=s.a.e.get(u,t)||[],w=s.a.fb(nt,function(n){return n.ja}),a=s.a.ib(w,f,o.dontLimitMoves),b=[],v=0,tt=0,it=[],k=[];f=[];for(var rt=[],w=[],c,l=0,d,g;d=a[l];l++)switch(g=d.moved,d.status){case"deleted":g===n&&(c=nt[v],c.B&&(c.B.k(),c.B=n),s.a.za(c.ca,u).length&&(o.beforeRemove&&(b.push(c),k.push(c),c.ja===i?c=null:f[l]=c),c&&it.push.apply(it,c.ca)));v++;break;case"retained":ut(l,v++);break;case"added":g!==n?ut(l,g):(c={ja:d.value,qb:s.N(tt++)},b.push(c),k.push(c),y||(w[l]=c))}for(s.a.e.set(u,t,b),p(o.beforeMove,rt),s.a.q(it,o.beforeRemove?s.$:s.removeNode),l=0,y=s.f.firstChild(u);c=k[l];l++){for(c.ca||s.a.extend(c,r(u,e,c.ja,h,c.qb)),v=0;a=c.ca[v];y=a.nextSibling,ft=a,v++)a!==y&&s.f.ic(u,a,ft);!c.Xc&&h&&(h(c.ja,c.ca,c.qb),c.Xc=!0)}for(p(o.beforeRemove,f),l=0;l<f.length;++l)f[l]&&(f[l].ja=i);p(o.afterMove,rt);p(o.afterAdd,w)}}();s.b("utils.setDomNodeChildrenFromArrayMapping",s.a.Bb);s.W=function(){this.allowTemplateRewriting=!1};s.W.prototype=new s.O;s.W.prototype.renderTemplateSource=function(n,t,i,r){return(t=(9>s.a.C?0:n.nodes)?n.nodes():null)?s.a.V(t.cloneNode(!0).childNodes):(n=n.text(),s.a.ma(n,r))};s.W.sb=new s.W;s.Db(s.W.sb);s.b("nativeTemplateEngine",s.W),function(){s.vb=function(){var n=this.ad=function(){if(!i||!i.tmpl)return 0;try{if(0<=i.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(n){}return 1}();this.renderTemplateSource=function(r,u,f,e){if(e=e||t,f=f||{},2>n)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var o=r.data("precompiled");return o||(o=r.text()||"",o=i.template(null,"{{ko_with $item.koBindingContext}}"+o+"{{/ko_with}}"),r.data("precompiled",o)),r=[u.$data],u=i.extend({koBindingContext:u},f.templateOptions),u=i.tmpl(o,r,u),u.appendTo(e.createElement("div")),i.fragments={},u};this.createJavaScriptEvaluatorBlock=function(n){return"{{ko_code ((function() { return "+n+" })()) }}"};this.addTemplate=function(n,i){t.write("<script type='text/html' id='"+n+"'>"+i+"<\/script>")};0<n&&(i.tmpl.tag.ko_code={open:"__.push($1 || '');"},i.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};s.vb.prototype=new s.O;var n=new s.vb;0<n.ad&&s.Db(n);s.b("jqueryTmplTemplateEngine",s.vb)}()})})()}(),function(){var n=this||eval("this"),f=n.document,t="knockout-utils",i=["knockout","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):r(n.ko)},u=function(n,t){return n.observableArray.fn.forEach=function(){return this().forEach.apply(this(),arguments),this},n.observableArray.fn.every=function(){return this().every.apply(this(),arguments)},n.observableArray.fn.some=function(){return this().some.apply(this(),arguments)},n.observableArray.fn.filter=function(){return this().filter.apply(this(),arguments)},n.observableArray.fn.map=function(){return this().map.apply(this(),arguments)},n.observableArray.fn.reduce=function(n,t){return this().reduce(n,t)},n.observableArray.fn.concat=function(){return this().concat.apply(this(),arguments)},n.observableArray.fn.lastIndexOf=function(){return this().lastIndexOf.apply(this(),arguments)},n.observableArray.fn.find=function(){return this().find.apply(this(),arguments)},n.observableArray.fn.findIndex=function(){return this().findIndex.apply(this(),arguments)},n.observableArray.fn.keys=function(){return this().keys()},n.observableArray.fn.values=function(){return this().values()},n.observableArray.fn.entries=function(){return this().entries()},n.subscribable.fn.onInitialised=function(){return this.onCondition(function(n){return n!==undefined})},n.subscribable.fn.onCondition=function(n){var t=this,i;return(typeof n!="function"&&(i=n,n=function(n){return n===i}),n(t()))?Promise.resolve(t()):new Promise(function(i){n(t())&&i(t());var r=t.subscribe(function(t){n(t)&&(r.dispose(),i(t))})})},n.utils.$on=function(n,i,r,u,f){if(typeof i=="object")throw new Error("Object style invocation is not supported");u||f||(f=r,u=r=undefined);f||(typeof selected=="string"?(f=u,u=undefined):(f=u,u=r,selected=undefined));t(n).on(i,r,u,f);return{dispose:function(){t(n).off(i,r,f)}}},typeof(n.utils.tagNameLower!=="function")&&(n.utils.tagNameLower=function(n){return n&&n.tagName&&n.tagName.toLowerCase()}),n};r(u)}();!function(n){"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?n(require("knockout"),exports):"function"==typeof define&&define.amd?define("knockout-validation",["knockout","exports"],n):n(ko,ko.validation={})}(function(n,t){function c(n){var t="max"===n;return function(r,u){var o,h,s,f,e;if(i.utils.isEmptyVal(r))return!0;void 0===u.typeAttr?(h="text",o=u):(h=u.typeAttr,o=u.value);isNaN(o)||o instanceof Date||(h="number");switch(h.toLowerCase()){case"week":if(s=/^(\d{4})-W(\d{2})$/,f=r.match(s),null===f)throw new Error("Invalid value for "+n+" attribute for week input.  Should look like '2000-W33' http://www.w3.org/TR/html-markup/input.week.html#input.week.attrs.min");return e=o.match(s),e?t?f[1]<e[1]||f[1]===e[1]&&f[2]<=e[2]:f[1]>e[1]||f[1]===e[1]&&f[2]>=e[2]:!1;case"month":if(s=/^(\d{4})-(\d{2})$/,f=r.match(s),null===f)throw new Error("Invalid value for "+n+" attribute for month input.  Should look like '2000-03' http://www.w3.org/TR/html-markup/input.month.html#input.month.attrs.min");return e=o.match(s),e?t?f[1]<e[1]||f[1]===e[1]&&f[2]<=e[2]:f[1]>e[1]||f[1]===e[1]&&f[2]>=e[2]:!1;case"number":case"range":return t?!isNaN(r)&&parseFloat(r)<=parseFloat(o):!isNaN(r)&&parseFloat(r)>=parseFloat(o);default:return t?o>=r:r>=o}}}function y(n,t,r){return t.validator(n(),void 0===r.params?!0:f(r.params))?!0:(n.setError(i.formatMessage(r.message||t.message,f(r.params),n)),!1)}function p(n,t,r){n.isValidating(!0);var u=function(u){var e=!1,o="";return n.__valid__()?(u.message?(e=u.isValid,o=u.message):e=u,e||(n.error(i.formatMessage(o||r.message||t.message,f(r.params),n)),n.__valid__(e)),void n.isValidating(!1)):void n.isValidating(!1)};i.utils.async(function(){t.validator(n(),void 0===r.params?!0:f(r.params),u)})}var a,h,s,v;if("undefined"==typeof n)throw new Error("Knockout is required, please ensure it is loaded before loading this validation plug-in");n.validation=t;var i=n.validation,u=n.utils,f=u.unwrapObservable,e=u.arrayForEach,r=u.extend,l={registerExtenders:!0,messagesOnModified:!0,errorsAsTitle:!0,errorsAsTitleOnModified:!1,messageTemplate:null,insertMessages:!0,parseInputAttributes:!1,writeInputAttributes:!1,decorateInputElement:!1,decorateElementOnModified:!0,errorClass:null,errorElementClass:"validationElement",errorMessageClass:"validationMessage",allowHtmlMessages:!1,grouping:{deep:!1,observable:!0,live:!1},validate:{}},o=r({},l);o.html5Attributes=["required","pattern","min","max","step"];o.html5InputTypes=["email","number","date"];o.reset=function(){r(o,l)};i.configuration=o;i.utils=function(){var r=(new Date).getTime(),t={},n="__ko_validation__";return{isArray:function(n){return n.isArray||"[object Array]"===Object.prototype.toString.call(n)},isObject:function(n){return null!==n&&"object"==typeof n},isNumber:function(n){return!isNaN(n)},isObservableArray:function(n){return!!n&&"function"==typeof n.remove&&"function"==typeof n.removeAll&&"function"==typeof n.destroy&&"function"==typeof n.destroyAll&&"function"==typeof n.indexOf&&"function"==typeof n.replace},values:function(n){var i=[],t;for(t in n)n.hasOwnProperty(t)&&i.push(n[t]);return i},getValue:function(n){return"function"==typeof n?n():n},hasAttribute:function(n,t){return null!==n.getAttribute(t)},getAttribute:function(n,t){return n.getAttribute(t)},setAttribute:function(n,t,i){return n.setAttribute(t,i)},isValidatable:function(n){return!!(n&&n.rules&&n.isValid&&n.isModified)},insertAfter:function(n,t){n.parentNode.insertBefore(t,n.nextSibling)},newId:function(){return r+=1},getConfigOptions:function(n){var t=i.utils.contextFor(n);return t||i.configuration},setDomData:function(r,u){var f=r[n];f||(r[n]=f=i.utils.newId());t[f]=u},getDomData:function(i){var r=i[n];if(r)return t[r]},contextFor:function(n){switch(n.nodeType){case 1:case 8:var t=i.utils.getDomData(n);if(t)return t;if(n.parentNode)return i.utils.contextFor(n.parentNode)}return void 0},isEmptyVal:function(n){return void 0===n?!0:null===n?!0:""===n?!0:void 0},getOriginalElementTitle:function(n){var t=i.utils.getAttribute(n,"data-orig-title"),r=n.title,u=i.utils.hasAttribute(n,"data-orig-title");return u?t:r},async:function(n){window.setImmediate?window.setImmediate(n):window.setTimeout(n,0)},forEach:function(n,t){if(i.utils.isArray(n))return e(n,t);for(var r in n)n.hasOwnProperty(r)&&t(n[r],r)}}}();a=function(){function c(n){e(n.subscriptions,function(n){n.dispose()});n.subscriptions=[]}function v(n){n.options.deep&&(e(n.flagged,function(n){delete n.__kv_traversed}),n.flagged.length=0);n.options.live||c(n)}function s(n,t){t.validatables=[];c(t);l(n,t);v(t)}function l(i,r,u){var e=[],f=i.peek?i.peek():i;i.__kv_traversed!==!0&&(r.options.deep&&(i.__kv_traversed=!0,r.flagged.push(i)),u=void 0!==u?u:r.options.deep?1:-1,n.isObservable(i)&&(i.errors||t.isValidatable(i)||i.extend({validatable:!0}),r.validatables.push(i),r.options.live&&t.isObservableArray(i)&&r.subscriptions.push(i.subscribe(function(){r.graphMonitor.valueHasMutated()}))),f&&!f._destroy&&(t.isArray(f)?e=f:t.isObject(f)&&(e=t.values(f))),0!==u&&t.forEach(e,function(t){!t||t.nodeType||n.isComputed(t)&&!t.rules||l(t,r,u+1)}))}function h(n){var i=[];return e(n,function(n){t.isValidatable(n)&&!n.isValid()&&i.push(n.error.peek())}),i}var a=0,o=i.configuration,t=i.utils;return{init:function(n,t){a>0&&!t||(n=n||{},n.errorElementClass=n.errorElementClass||n.errorClass||o.errorElementClass,n.errorMessageClass=n.errorMessageClass||n.errorClass||o.errorMessageClass,r(o,n),o.registerExtenders&&i.registerExtenders(),a=1)},reset:i.configuration.reset,group:function(i,f){f=r(r({},o.grouping),f);var l={options:f,graphMonitor:n.observable(),flagged:[],subscriptions:[],validatables:[]},c=null;return c=f.observable?n.computed(function(){return l.graphMonitor(),s(i,l),h(l.validatables)}):function(){return s(i,l),h(l.validatables)},c.showAllMessages=function(n){void 0===n&&(n=!0);c.forEach(function(i){t.isValidatable(i)&&i.isModified(n)})},c.isAnyMessageShown=function(){return!!c.find(function(n){return t.isValidatable(n)&&!n.isValid()&&n.isModified()})},c.filter=function(n){return n=n||function(){return!0},c(),u.arrayFilter(l.validatables,n)},c.find=function(n){return n=n||function(){return!0},c(),u.arrayFirst(l.validatables,n)},c.forEach=function(n){n=n||function(){};c();e(l.validatables,n)},c.map=function(n){return n=n||function(n){return n},c(),u.arrayMap(l.validatables,n)},c._updateState=function(n){if(!t.isObject(n))throw new Error("An object is required.");return i=n,f.observable?void l.graphMonitor.valueHasMutated():(s(n,l),h(l.validatables))},c},formatMessage:function(n,i,r){if(t.isObject(i)&&i.typeAttr&&(i=i.value),"function"==typeof n)return n(i,r);var u=f(i);return null==u&&(u=[]),t.isArray(u)||(u=[u]),n.replace(/{(\d+)}/gi,function(n,t){return"undefined"!=typeof u[t]?u[t]:n})},addRule:function(n,t){n.extend({validatable:!0});var i=!!u.arrayFirst(n.rules(),function(n){return n.rule&&n.rule===t.rule});return i||n.rules.push(t),n},addAnonymousRule:function(n,t){void 0===t.message&&(t.message="Error");t.onlyIf&&(t.condition=t.onlyIf);i.addRule(n,t)},addExtender:function(r){n.extenders[r]=function(n,u){return u&&(u.message||u.onlyIf)?i.addRule(n,{rule:r,message:u.message,params:t.isEmptyVal(u.params)?!0:u.params,condition:u.onlyIf}):i.addRule(n,{rule:r,params:u})}},registerExtenders:function(){if(o.registerExtenders)for(var t in i.rules)i.rules.hasOwnProperty(t)&&(n.extenders[t]||i.addExtender(t))},insertValidationMessage:function(n){var i=document.createElement("SPAN");return i.className=t.getConfigOptions(n).errorMessageClass,t.insertAfter(n,i),i},parseInputValidationAttributes:function(n,r){e(i.configuration.html5Attributes,function(u){var e,f;t.hasAttribute(n,u)&&(e=n.getAttribute(u)||!0,("min"===u||"max"===u)&&(f=n.getAttribute("type"),"undefined"!=typeof f&&f||(f="text"),e={typeAttr:f,value:e}),i.addRule(r(),{rule:u,params:e}))});var u=n.getAttribute("type");e(i.configuration.html5InputTypes,function(n){n===u&&i.addRule(r(),{rule:"date"===n?"dateISO":n,params:!0})})},writeInputValidationAttributes:function(t,r){var f=r(),o;f&&f.rules&&(o=f.rules(),e(i.configuration.html5Attributes,function(i){var r=u.arrayFirst(o,function(n){return n.rule&&n.rule.toLowerCase()===i.toLowerCase()});r&&n.computed({read:function(){var u=n.unwrap(r.params);"pattern"===r.rule&&u instanceof RegExp&&(u=u.source);t.setAttribute(i,u)},disposeWhenNodeIsRemoved:t})}),o=null)},makeBindingHandlerValidatable:function(t){var i=n.bindingHandlers[t].init;n.bindingHandlers[t].init=function(t,r,u,f,e){return i(t,r,u,f,e),n.bindingHandlers.validationCore.init(t,r,u,f,e)}},setRules:function(r,u){var e=function(r,u){var s,h,o,l;if(r&&u)for(s in u)if(u.hasOwnProperty(s)&&(h=u[s],r[s])){var a=r[s],c=f(a),y={},v={};for(o in h)h.hasOwnProperty(o)&&(i.rules[o]?y[o]=h[o]:v[o]=h[o]);if(n.isObservable(a)&&a.extend(y),c&&t.isArray(c))for(l=0;l<c.length;l++)e(c[l],v);else e(c,v)}};e(r,u)}}}();r(n.validation,a);i.rules={};i.rules.required={validator:function(n,t){var i;return void 0===n||null===n?!t:(i=n,"string"==typeof n&&(i=String.prototype.trim?n.trim():n.replace(/^\s+|\s+$/g,"")),t?(i+"").length>0:!0)},message:"This field is required."};i.rules.min={validator:c("min"),message:"Please enter a value greater than or equal to {0}."};i.rules.max={validator:c("max"),message:"Please enter a value less than or equal to {0}."};i.rules.minLength={validator:function(n,t){if(i.utils.isEmptyVal(n))return!0;var r=i.utils.isNumber(n)?""+n:n;return r.length>=t},message:"Please enter at least {0} characters."};i.rules.maxLength={validator:function(n,t){if(i.utils.isEmptyVal(n))return!0;var r=i.utils.isNumber(n)?""+n:n;return r.length<=t},message:"Please enter no more than {0} characters."};i.rules.pattern={validator:function(n,t){return i.utils.isEmptyVal(n)||null!==n.toString().match(t)},message:"Please check this value."};i.rules.step={validator:function(n,t){if(i.utils.isEmptyVal(n)||"any"===t)return!0;var r=100*n%(100*t);return Math.abs(r)<1e-5||Math.abs(1-r)<1e-5},message:"The value must increment by {0}."};i.rules.email={validator:function(n,t){return t?i.utils.isEmptyVal(n)||t&&/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(n):!0},message:"Please enter a proper email address."};i.rules.date={validator:function(n,t){return t?i.utils.isEmptyVal(n)||t&&!/Invalid|NaN/.test(new Date(n)):!0},message:"Please enter a proper date."};i.rules.dateISO={validator:function(n,t){return t?i.utils.isEmptyVal(n)||t&&/^\d{4}[-/](?:0?[1-9]|1[012])[-/](?:0?[1-9]|[12][0-9]|3[01])$/.test(n):!0},message:"Please enter a proper date."};i.rules.number={validator:function(n,t){return t?i.utils.isEmptyVal(n)||t&&/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n):!0},message:"Please enter a number."};i.rules.digit={validator:function(n,t){return t?i.utils.isEmptyVal(n)||t&&/^\d+$/.test(n):!0},message:"Please enter a digit."};i.rules.phoneUS={validator:function(n,t){return t?i.utils.isEmptyVal(n)?!0:"string"!=typeof n?!1:(n=n.replace(/\s+/g,""),t&&n.length>9&&n.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/)):!0},message:"Please specify a valid phone number."};i.rules.equal={validator:function(n,t){var r=t;return n===i.utils.getValue(r)},message:"Values must equal."};i.rules.notEqual={validator:function(n,t){var r=t;return n!==i.utils.getValue(r)},message:"Please choose another value."};i.rules.unique={validator:function(n,t){var r=i.utils.getValue(t.collection),e=i.utils.getValue(t.externalValue),f=0;return n&&r?(u.arrayFilter(r,function(i){n===(t.valueAccessor?t.valueAccessor(i):i)&&f++}),(e?1:2)>f):!0},message:"Please make sure the value is unique."},function(){i.registerExtenders()}();n.bindingHandlers.validationCore=function(){return{init:function(t,r){var u=i.utils.getConfigOptions(t),f=r(),e;(u.parseInputAttributes&&i.utils.async(function(){i.parseInputValidationAttributes(t,r)}),u.insertMessages&&i.utils.isValidatable(f))&&(e=i.insertValidationMessage(t),u.messageTemplate?n.renderTemplate(u.messageTemplate,{field:f},null,e,"replaceNode"):n.applyBindingsToNode(e,{validationMessage:f}));u.writeInputAttributes&&i.utils.isValidatable(f)&&i.writeInputValidationAttributes(t,r);u.decorateInputElement&&i.utils.isValidatable(f)&&n.applyBindingsToNode(t,{validationElement:f})}}}();i.makeBindingHandlerValidatable("value");i.makeBindingHandlerValidatable("checked");n.bindingHandlers.textInput&&i.makeBindingHandlerValidatable("textInput");i.makeBindingHandlerValidatable("selectedOptions");n.bindingHandlers.validationMessage={update:function(t,r){var e=r(),s=i.utils.getConfigOptions(t),h=(f(e),!1),c=!1,o,l,a;if(null===e||"undefined"==typeof e)throw new Error("Cannot bind validationMessage to undefined value. data-bind expression: "+t.getAttribute("data-bind"));h=e.isModified&&e.isModified();c=e.isValid&&e.isValid();o=null;(!s.messagesOnModified||h)&&(o=c?null:e.error);l=!s.messagesOnModified||h?!c:!1;a="none"!==t.style.display;s.allowHtmlMessages?u.setHtml(t,o):n.bindingHandlers.text.update(t,function(){return o});a&&!l?t.style.display="none":!a&&l&&(t.style.display="")}};n.bindingHandlers.validationElement={update:function(t,r,u){var e=r(),o=i.utils.getConfigOptions(t),h=(f(e),!1),s=!1,c;if(null===e||"undefined"==typeof e)throw new Error("Cannot bind validationElement to undefined value. data-bind expression: "+t.getAttribute("data-bind"));h=e.isModified&&e.isModified();s=e.isValid&&e.isValid();c=function(){var n={},t=!o.decorateElementOnModified||h?!s:!1;return n[o.errorElementClass]=t,n};n.bindingHandlers.css.update(t,c,u);o.errorsAsTitle&&n.bindingHandlers.attr.update(t,function(){var n=!o.errorsAsTitleOnModified||h,r=i.utils.getOriginalElementTitle(t);return n&&!s?{title:e.error,"data-orig-title":r}:!n||s?{title:r,"data-orig-title":null}:void 0})}};n.bindingHandlers.validationOptions=function(){return{init:function(n,t){var e=f(t()),u;e&&(u=r({},i.configuration),r(u,e),i.utils.setDomData(n,u))}}}();n.extenders.validation=function(n,t){return e(i.utils.isArray(t)?t:[t],function(t){i.addAnonymousRule(n,t)}),n};n.extenders.validatable=function(t,u){var o,f,s,e;return(i.utils.isObject(u)||(u={enable:u}),"enable"in u||(u.enable=!0),u.enable&&!i.utils.isValidatable(t))?(o=i.configuration.validate||{},f={throttleEvaluation:u.throttle||o.throttle},t.error=n.observable(null),t.rules=n.observableArray(),t.isValidating=n.observable(!1),t.__valid__=n.observable(!0),t.isModified=n.observable(!1),t.isValid=n.computed(t.__valid__),t.setError=function(n){var i=t.error.peek(),r=t.__valid__.peek();t.error(n);t.__valid__(!1);i===n||r||t.isValid.notifySubscribers()},t.clearError=function(){return t.error(null),t.__valid__(!0),t},s=t.subscribe(function(){t.isModified(!0)}),e=n.computed(r({read:function(){return t(),t.rules(),i.validateObservable(t),!0}},f)),r(e,f),t._disposeValidation=function(){t.isValid.dispose();t.rules.removeAll();s.dispose();e.dispose();delete t.rules;delete t.error;delete t.isValid;delete t.isValidating;delete t.__valid__;delete t.isModified;delete t.setError;delete t.clearError;delete t._disposeValidation}):u.enable===!1&&t._disposeValidation&&t._disposeValidation(),t};i.validateObservable=function(n){for(var r,t,u=0,f=n.rules(),e=f.length;e>u;u++)if(t=f[u],!t.condition||t.condition())if(r=t.rule?i.rules[t.rule]:t,r.async||t.async)p(n,r,t);else if(!y(n,r,t))return!1;return n.clearError(),!0};s={};i.defineLocale=function(n,t){return n&&t?(s[n.toLowerCase()]=t,t):null};i.locale=function(n){if(n){if(n=n.toLowerCase(),!s.hasOwnProperty(n))throw new Error("Localization "+n+" has not been loaded.");i.localize(s[n]);h=n}return h};i.localize=function(n){var r=i.rules,t;for(t in n)r.hasOwnProperty(t)&&(r[t].message=n[t])},function(){var r={},t=i.rules,n;for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n].message);i.defineLocale("en-us",r)}();h="en-us";n.applyBindingsWithValidation=function(t,u,f){var e,o=document.body;u&&u.nodeType?(o=u,e=f):e=u;i.init();e&&(e=r(r({},i.configuration),e),i.utils.setDomData(o,e));n.applyBindings(t,o)};v=n.applyBindings;n.applyBindings=function(n,t){i.init();v(n,t)};n.validatedObservable=function(t,r){if(!r&&!i.utils.isObject(t))return n.observable(t).extend({validatable:!0});var u=n.observable(t);return u.errors=i.group(i.utils.isObject(t)?t:{},r),u.isValid=n.observable(0===u.errors().length),n.isObservable(u.errors)?u.errors.subscribe(function(n){u.isValid(0===n.length)}):n.computed(u.errors).subscribe(function(n){u.isValid(0===n.length)}),u.subscribe(function(n){i.utils.isObject(n)||(n={});u.errors._updateState(n);u.isValid(0===u.errors().length)}),u}}),function(){var n=this||eval("this"),f=n.document,t="knockout-validation-resources",i=["knockout","knockout-validation","resources"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):r(n.ko,n.ko.validation,n.CPU.resources)},u=function(n,t,i){var r=t.formatMessage,u,f;t.formatMessage=function(t,u,f){return n.isObservable(t)&&(t=n.unwrap(t)),{inline:r(i.getErrorMessage(t,i.ErrorMode.inline)(),u,f),panel:r(i.getErrorMessage(t,i.ErrorMode.panel)(),u,f)}};u=Object.getOwnPropertyNames(t.rules).map(function(n){return{name:n,rule:t.rules[n]}});f={};u.forEach(function(n){var t="validation-"+n.name;f[t]=n.message;n.message=t})};r(u)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-validation-extensions",r=["knockout","knockout-validation","optional!ajax"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):t(n.ko,ko.validation,n.CPU.ajax)},f=function(n,i,r){var f,u,e;n.validatedObservable=function(t){return n.observable(t).extend({validatable:!0})};n.validatedObservableArray=function(t){return n.observableArray(t).extend({validatable:!0})};n.validatedComputed=function(t){return n.computed(t).extend({validatable:!0})};n.validatedComputedArray=function(t){return n.computedArray(t).extend({validatable:!0})};n.subscribable.fn.validatable=function(){return this.extend({validatable:!0}),this};i.hasClassName=function(n,t){return typeof n.classList=="object"&&n.classList.contains?n.classList.contains(t):!!~(n.className.match(/\S+/g)||[]).indexOf(t)};f=/^#(.+)$/;i.utils.findTargetDecoratorElement=function(t,r,u){var e=t,s=t.getAttribute("data-decorate")||"#form-group",o=s.match(f),h=o&&o[1],c=!o&&s;for(h?(r=r||function(n){return i.hasClassName(n.parentNode,h)},u=u||function(n){return n}):(r=r||function(n){return n.tagName.toLowerCase()===c},u=u||function(t){return n.virtualElements.firstChild(t)});e&&e.tagName.toLowerCase()!=="form"&&e.parentNode;){if(r(e))return u(e);e=e.parentNode}return t};i.utils.insertBefore=function(n,t){n&&n.parentNode.insertBefore(t,n)};i.utils.insertAfter=function(n,t){n&&n.parentNode.insertBefore(t,n.nextSibling)};i.utils.buildModelStateMap=function(t){return Object.getOwnPropertyNames(t).reduce(function(i,r){var u=t[r];return n.isObservable(u)&&(u.mappingName&&n.validation.utils.isValidatable(u)?i[u.mappingName]=u:u.mappingName===""&&u.push&&(i[u.mappingName]=u)),i},{})};i.insertValidationMessage=function(n){var r=t.createElement("SPAN"),u=i.utils.getConfigOptions(n);return r.className=u.errorMessageClass,u.insertMessageLocation==="before"?i.utils.insertBefore(i.utils.findTargetDecoratorElement(n),r):i.utils.insertAfter(n,r),r};n.observable.fn.required=function(n,t){return this.extend({required:{message:e()+"/ValidationMessages/"+n+"/"+t+"IsRequired"}}),this};r&&(r.promises.fn.withModelStateMap=function(t){var r=function(n,t){var r=n.split(":");return i.formatMessage(r[0],r.slice(1),t)};return this.then(function(i){if(i&&i.ModelState){var u=n.validation.utils.buildModelStateMap(t);i.ModelState.filter(function(n){return n.Value.length>0}).forEach(function(t){u[t.Key]&&(t.Key===""?u[t.Key].push&&u[t.Key](t.Value.map(function(t){var i=n.observable().extend({validatable:{}});return i.isModified(!0),i.setError(r(t,i)),i.isGenericError=!0,i})):u[t.Key]&&u[t.Key].setError(r(t.Value[0],u[t.Key])))})}return i})});e=function(){return u||(require.defined("configuration")&&(u=require("configuration").resourceRoot),u=u||"CPU"),u}};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-validation-InternationalPhone",i=["knockout","knockout-validation","globalize","jQuery","google-libphonenumber"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.ko.validation,n.CPU.resources,n.$))},u=function(n,t,i,r,u){t.rules.phoneInternational={validator:function(n){if(n!=null&&n.phoneNumber!=null&&n.phoneNumber!==""&&n.countryCode!=null)try{var t=u.PhoneNumberUtil.getInstance(),i=t.parse(n.phoneNumber,n.countryCode);return t.isValidNumber(i)}catch(r){return!1}return!0},message:"Please enter a valid phone number"};t.rules.phoneInternationalRequired={validator:function(n){return!!(n&&n.phoneNumber&&n.countryCode&&n.callingCode)},message:"Please enter a valid phone number"};n.validation.registerExtenders()};r(u)}(),function(){var n=this||eval("this"),t=n.document;define("knockout-amd-jquery-shim",["knockout","jQuery"],function(i,r){var f=n.jQuery,u=t.createElement("div");return n.jQuery=r,i.applyBindings({},u),i.cleanNode(u),n.jQuery=f,i})}(),function(){var n=this||eval("this"),t=n.document,i=["jQuery","knockout","optional!messenger"],r=function(t){typeof define=="function"&&define.amd?define("knockout-bootstrap",i.concat("exports"),t):(n.CPU=n.CPU||{},t($,ko,n.CPU.messenger,{}))},u=function(i,r,u,f){var o,s,h,e;r.bootstrap=f;o=function(){var n={};return function(t,i,r){r||(r="I'm a banana!");n[r]&&clearTimeout(n[r]);n[r]=setTimeout(t,i)}}();s=new Date;f.currentBreakpoint=r.observable();f.currentBreakpointName=r.observable();h=function(){var t=i(".breakpoint-container"),n;t.length===0&&(n=f.BreakpointMap.map(function(n){return'<div class="device-'+n+" visible-"+n+'"><\/div>'}).join(""),i("body").append('<div class="breakpoint-container">'+n+"<\/div>"))};e=function(){var t=i(".breakpoint-container>div:visible"),n;if(t.length===0){setTimeout(e,10);return}n=t.attr("class").match(/xs|sm|md|lg/)[0];f.currentBreakpoint(f.Breakpoints[n]);f.currentBreakpointName(n)};i(n).resize(function(){o(function(){e();u&&u.publish("screen-resize")},300,s.getTime())});f.Init=e;f.Breakpoints={xs:0,sm:1,md:2,lg:3};f.BreakpointMap=["xs","sm","md","lg"];f.RequestRecalcOnBreakpointChange=function(){return f.currentBreakpoint()};f.ForceBreakpointNotification=function(){f.currentBreakpoint.notifySubscribers(f.currentBreakpoint())};i(t).ready(function(){h();f.Init()})};r(u)}(),function(){var t=this||eval("this"),n=t.document,i="cookies",r=[],u=function(n){typeof define=="function"&&define.amd?define(i,r.concat("exports"),n):n()},f=function(){return{getItem:function(t){return t?decodeURIComponent(n.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null:null},setItem:function(t,i,r,u,f,e){if(!t||/^(?:expires|max\-age|path|domain|secure)$/i.test(t))return!1;var o="";if(r)switch(r.constructor){case Number:o=r===Infinity?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+r;break;case String:o="; expires="+r;break;case Date:o="; expires="+r.toUTCString()}return t=t.replace(/[^#$&+\^`|]/g,encodeURIComponent),t=t.replace(/\(/g,"%28").replace(/\)/g,"%29"),i=(i+"").replace(/[^!#$&-+\--:<-\[\]-~=]/g,encodeURIComponent),n.cookie=t+"="+i+o+(f?"; domain="+f:"")+(u?"; path="+u:"")+(e?"; secure":""),!0},removeItem:function(t,i,r){return this.hasItem(t)?(n.cookie=encodeURIComponent(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(r?"; domain="+r:"")+(i?"; path="+i:""),!0):!1},hasItem:function(t){return t?new RegExp("(?:^|;\\s*)"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(n.cookie):!1},keys:function(){for(var i=n.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),r=i.length,t=0;t<r;t++)i[t]=decodeURIComponent(i[t]);return i}}};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="icUtils",i=["knockout-validation"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko.validation,n.CPU.icUtils={}))},u=function(n,t){t.isDirty=function(t){if(!t&&typeof t!="object")return!1;var i=function(t){return Object.getOwnPropertyNames(t).filter(function(i){return n.utils.isValidatable(t[i])}).map(function(n){return{name:n,obs:t[n]}})},r={IsDirty:function(n){return n.obs.isModified()}},u=i(t);return u.some(r.IsDirty)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="mvcWizard",i=["ajax","configuration","routing","knockout","knockout-validation","optional!messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.ajax,n.CPU.configuration,n.CPU.routing,n.ko,n.ko.validation,n.CPU.messenger,n.CPU.mvcWizard={}))},u=function(n,t,i,r,u,f,e){var o=function(n){this.wizardId=n?n.id:undefined;this.wizardName=n.controller;this.currentStep=r.observable();this.stepCallbacks={};this.panels=r.observableArray([]);this.activePanel=r.observable();this.firstInvalidPanel=r.computed(function(){return this.panels.find(function(n){return!n.validationContainer.isValid()})},this);this.genericModelErrors=r.observableArray();this.runStep=this.runStep.bind(this);this.currentStep.subscribe(this.disposeStep,this,"beforeChange");this.mergeModelStateWith=this.mergeModelStateWith.bind(this).curry()},c,s,l,h;o.prototype.buildInitialParams=function(){if(typeof this.getInitialParams=="function"){var n=this.getInitialParams()||{};return"?"+Object.getOwnPropertyNames(n).reduce(function(t,i){if(!n[i]||n[i].constructor!==Array)t.push(encodeURIComponent(i)+"="+encodeURIComponent(n[i]));else{var r=encodeURIComponent(i)+"="+n[i].join("&"+encodeURIComponent(i)+"=");t.push(r)}return t},[]).join("&")}return undefined};c=function(){var n=function(n){return n.data};return n.isOverriden=!0,{createViewModel:n}}();o.prototype.registerStepImpl=function(n,t,i){var u=this.wizardName+"-ForStep-"+n;r.components.isRegistered(u)||r.components.register(u,{viewModel:c,template:{require:"textTemplate!"+this.wizardName+"/ForStep/"+n}});this.stepCallbacks[n]={onEnter:t,onDispose:i||function(){}}};o.prototype.registerStepImplC=function(n,t,i,u,f){var o=this.wizardName+"-ForStep-"+t,s=u||function(){},e,i,h;typeof i=="object"&&(e=i,e.fieldName=n+t,i=function(n){return h.call(n.data)},h=function(){if(this[e.fieldName])return this[e.fieldName];var n=new e.ctor({controller:this.wizardName});return n.onLoad=function(){},n.service=new e.svc(n),this.overrideChildWizardProps(e.fieldName,n,t),n},s=function(n){this[e.fieldName].currentStep(this.currentStep());this[e.fieldName].runStep(n);u&&u()}.bind(this));r.components.isRegistered(o)||r.components.register(o,{viewModel:{createViewModel:i},template:{require:"textTemplate!"+n+"/ForStep/"+t}});this.stepCallbacks[t]={onEnter:s,onDispose:f||function(){}}};o.prototype.overrideChildWizardProps=function(n,t,i){this[n]=t;this[n].typeStamps=this.service.typeStamps;this[n].service.typeStamps=this.service.typeStamps;this[n].wizardId=this.wizardId;this[n].service.antiForgeryToken=this.service.antiForgeryToken;this[n].service.wizardId=this.wizardId;this[n].service.getState=this.service.getState.bind(this.service);Object.getOwnPropertyNames(this.stepCallbacks).forEach(function(n){n!==i?(t.stepCallbacks[n]=t.stepCallbacks[n]||{},t.stepCallbacks[n].onDispose=this.stepCallbacks[n].onDispose):this.stepCallbacks[n].onDispose=t.stepCallbacks[n].onDispose}.bind(this))};o.prototype.disposeStep=function(n){if(n){var t=this.stepCallbacks[n].onDispose;t.call(this)}};o.prototype.runStep=function(n){var i=this.stepCallbacks[this.currentStep()].onEnter,t;if(!i){t='Callback for step "'+this.currentStep()+'" is not registered';console.error(t);throw new Error(t);}f&&(f.publish("router-urlActivated",this.wizardName+"/"+this.currentStep()),window.scrollTo(0,0));i.call(this,n)};o.prototype.initialise=function(n){return this.service=new n(this),this.service.getState().showLoading()};o.prototype.initialiseSetState=function(n,t){return this.service=new n(this),this.service.setState(t).showLoading()};o.prototype.onSubmit=function(n,t,i){return(this.genericModelErrors.removeAll(),t.showAllMessages(),t.isAnyMessageShown())?!1:i.call(this,n,t)};o.prototype.mergeModelStateWith=function(n,t){t&&t.ModelState&&this.mergeModelState(n,t.ModelState)};o.prototype.mergeModelState=function(n,t){var e=function(n,t){var u=t.Key,f=t.Value[0],i=n[u];i?(i.setError(f),i.isModified(!0)):u===""&&this.genericModelErrors(t.Value.map(function(n){var t=r.observable().extend({validatable:{}});return t.isModified(!0),t.setError(n),t.isGenericError=!0,t}))}.curry(this),o=function(n){return n.Value.length>0},i=function(n,t){if(t=t||{},!n||typeof n!="object")return t;for(fieldName in n)if(n.hasOwnProperty(fieldName)){var f=n[fieldName];if(r.isObservable(f)&&u.utils.isValidatable(f)){f.mappingName&&typeof f.mappingName=="string"&&(t[f.mappingName]=f);continue}t=i(f,t)}return t};t.filter(o).forEach(e(i(n)));f&&f.publish("validation-showFirstError");this.firstInvalidPanel()&&this.firstInvalidPanel().open()};s=function(n){this.wizardBase=n;this.wizardId=undefined;this.baseUrl=t.baseUrl+"wizard/"+this.wizardBase.wizardName;this.antiForgeryToken=undefined;this.typeStamps=[]};s.mode="instance";s.prototype.getState=function(n){return h.call(this).then(l(this,n)).then(this.wizardBase.runStep)};l=function(n,t){var i=!1,r;return typeof t!="undefined"&&(i=!0),r=f.subscribe("component-activated",function(t){t===n.wizardBase.wizardName+"-ForStep-"+n.wizardBase.currentStep()&&(i=!0,r.dispose())}),function(n){return new Promise(function(t){var r=function(){i?t(n):setTimeout(r,100)};r()})}};h=function(){var t=this.wizardBase.wizardId,u="",r;return t||(r=this.wizardBase.buildInitialParams(),r&&(u=r)),n.getJSON(this.baseUrl+(t?"/"+t:u)).showLoading().then(function(n){return(n.AntiForgeryToken&&(this.antiForgeryToken=n.AntiForgeryToken),!n)?n:(n.WizardId&&this.wizardBase.wizardId!==n.WizardId&&(this.wizardBase.wizardId=n.WizardId,f.call("wizard-id-route-update",this.wizardBase.wizardName,this.wizardBase.wizardId)!==!0&&i.router.routeTo({controller:this.wizardBase.wizardName,id:this.wizardBase.wizardId})),n.Data!=null&&!this.wizardBase.reInitialised&&typeof n.Data=="object"&&Object.getOwnPropertyNames(n.Data).length===0)?(this.wizardBase.reInitialised=!0,h.call(this)):(n.TypeStamps&&(this.typeStamps=n.TypeStamps),n.Step&&this.wizardBase.currentStep(n.Step),n.Data)}.bind(this))};s.prototype.Actions={previous:"Previous",cancel:"Cancel"};s.prototype.setState=function(t,i){var u=this.wizardBase.wizardId,r=t,f="";return typeof t=="string"&&(r=undefined,f="/"+t),this.typeStamps.length&&r&&i!==!0&&this.typeStamps.forEach(function(n){n.Key.split(".").reduce(function(t,i,r,u){if(!t)return undefined;if(t.typeStampIndex!==undefined){var f=i.indexOf("["+t.typeStampIndex+"]");f>=0&&(i=i.split("[")[0])}return r===u.length-1&&(t[i]=n.Value),t[i]},r)}),this.wizardBase.genericModelErrors([]),n.postJSONWithToken(this.antiForgeryToken,this.baseUrl+(u?"/"+u:"")+f,r).showLoading().then(function(n){return this.wizardBase.currentStep()!=n.Step?(this.wizardBase.currentStep(n.Step),this.getState()):(n.AntiForgeryToken&&(this.antiForgeryToken=n.AntiForgeryToken),{ModelState:n.ModelState})}.bind(this))};e.WizardBase=o;e.WizardServiceBase=s};r(u)}(),function(n,t){function f(){return new Date(Date.UTC.apply(Date,arguments))}function s(){var n=new Date;return f(n.getFullYear(),n.getMonth(),n.getDate())}function l(n,t){return n.getUTCFullYear()===t.getUTCFullYear()&&n.getUTCMonth()===t.getUTCMonth()&&n.getUTCDate()===t.getUTCDate()}function h(i,r){return function(){return r!==t&&n.fn.datepicker.deprecated(r),this[i].apply(this,arguments)}}function p(n){return n&&!isNaN(n.getTime())}function w(t,i){function s(n,t){return t.toLowerCase()}var u=n(t).data(),f={},e,o=new RegExp("^"+i.toLowerCase()+"([A-Z])"),r;i=new RegExp("^"+i.toLowerCase());for(r in u)i.test(r)&&(e=r.replace(o,s),f[e]=u[r]);return f}function b(t){var u={},i;if(r[t]||(t=t.split("-")[0],r[t]))return i=r[t],n.each(y,function(n,t){t in i&&(u[t]=i[t])}),u}var a=function(){var t={get:function(n){return this.slice(n)[0]},contains:function(n){for(var i=n&&n.valueOf(),t=0,r=this.length;t<r;t++)if(0<=this[t].valueOf()-i&&this[t].valueOf()-i<864e5)return t;return-1},remove:function(n){this.splice(n,1)},replace:function(t){t&&(n.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var n=new a;return n.replace(this),n}};return function(){var i=[];return i.push.apply(i,arguments),n.extend(i,t),i}}(),u=function(t,r){n.data(t,"datepicker",this);this._process_options(r);this.dates=new a;this.viewDate=this.o.defaultViewDate;this.focusDate=null;this.element=n(t);this.isInput=this.element.is("input");this.inputField=this.isInput?this.element:this.element.find("input");this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1;this.component&&this.component.length===0&&(this.component=!1);this.isInline=!this.component&&this.element.is("div");this.picker=n(i.template);this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow);this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow);this._buildEvents();this._attachEvents();this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu");this.o.rtl&&this.picker.addClass("datepicker-rtl");this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(n,t){return Number(t)+1});this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled});this._allow_update=!1;this.setViewMode(this.o.startView);this._allow_update=!0;this.fillDow();this.fillMonths();this.update();this.isInline&&this.show()},c,v,o,e,y,r,i;u.prototype={constructor:u,_resolveViewName:function(t){return n.each(i.viewModes,function(i,r){if(t===i||n.inArray(t,r.names)!==-1)return t=i,!1}),t},_resolveDaysOfWeek:function(t){return n.isArray(t)||(t=t.split(/[,\s]*/)),n.map(t,Number)},_check_template:function(i){try{if(i===t||i==="")return!1;if((i.match(/[<>]/g)||[]).length<=0)return!0;var r=n(i);return r.length>0}catch(u){return!1}},_process_options:function(t){var u,h,l,o,c;if(this._o=n.extend({},this._o,t),u=this.o=n.extend({},this._o),h=u.language,r[h]||(h=h.split("-")[0],r[h]||(h=e.language)),u.language=h,u.startView=this._resolveViewName(u.startView),u.minViewMode=this._resolveViewName(u.minViewMode),u.maxViewMode=this._resolveViewName(u.maxViewMode),u.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,u.startView)),u.multidate!==!0&&(u.multidate=Number(u.multidate)||!1,u.multidate!==!1&&(u.multidate=Math.max(0,u.multidate))),u.multidateSeparator=String(u.multidateSeparator),u.weekStart%=7,u.weekEnd=(u.weekStart+6)%7,l=i.parseFormat(u.format),u.startDate!==-Infinity&&(u.startDate=u.startDate?u.startDate instanceof Date?this._local_to_utc(this._zero_time(u.startDate)):i.parseDate(u.startDate,l,u.language,u.assumeNearbyYear):-Infinity),u.endDate!==Infinity&&(u.endDate=u.endDate?u.endDate instanceof Date?this._local_to_utc(this._zero_time(u.endDate)):i.parseDate(u.endDate,l,u.language,u.assumeNearbyYear):Infinity),u.daysOfWeekDisabled=this._resolveDaysOfWeek(u.daysOfWeekDisabled||[]),u.daysOfWeekHighlighted=this._resolveDaysOfWeek(u.daysOfWeekHighlighted||[]),u.datesDisabled=u.datesDisabled||[],n.isArray(u.datesDisabled)||(u.datesDisabled=u.datesDisabled.split(",")),u.datesDisabled=n.map(u.datesDisabled,function(n){return i.parseDate(n,l,u.language,u.assumeNearbyYear)}),o=String(u.orientation).toLowerCase().split(/\s+/g),c=u.orientation.toLowerCase(),o=n.grep(o,function(n){return/^auto|left|right|top|bottom$/.test(n)}),u.orientation={x:"auto",y:"auto"},c&&c!=="auto")if(o.length===1)switch(o[0]){case"top":case"bottom":u.orientation.y=o[0];break;case"left":case"right":u.orientation.x=o[0]}else c=n.grep(o,function(n){return/^left|right$/.test(n)}),u.orientation.x=c[0]||"auto",c=n.grep(o,function(n){return/^top|bottom$/.test(n)}),u.orientation.y=c[0]||"auto";if(u.defaultViewDate instanceof Date||typeof u.defaultViewDate=="string")u.defaultViewDate=i.parseDate(u.defaultViewDate,l,u.language,u.assumeNearbyYear);else if(u.defaultViewDate){var a=u.defaultViewDate.year||(new Date).getFullYear(),v=u.defaultViewDate.month||0,y=u.defaultViewDate.day||1;u.defaultViewDate=f(a,v,y)}else u.defaultViewDate=s()},_events:[],_secondaryEvents:[],_applyEvents:function(n){for(var i=0,f,r,u;i<n.length;i++){f=n[i][0];n[i].length===2?(r=t,u=n[i][1]):n[i].length===3&&(r=n[i][1],u=n[i][2]);f.on(u,r)}},_unapplyEvents:function(n){for(var i=0,f,r,u;i<n.length;i++)f=n[i][0],n[i].length===2?(u=t,r=n[i][1]):n[i].length===3&&(u=n[i][1],r=n[i][2]),f.off(r,u)},_buildEvents:function(){var t={keyup:n.proxy(function(t){n.inArray(t.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:n.proxy(this.keydown,this),paste:n.proxy(this.paste,this)};this.o.showOnFocus===!0&&(t.focus=n.proxy(this.show,this));this._events=this.isInput?[[this.element,t]]:this.component&&this.inputField.length?[[this.inputField,t],[this.component,{click:n.proxy(this.show,this)}]]:[[this.element,{click:n.proxy(this.show,this),keydown:n.proxy(this.keydown,this)}]];this._events.push([this.element,"*",{blur:n.proxy(function(n){this._focused_from=n.target},this)}],[this.element,{blur:n.proxy(function(n){this._focused_from=n.target},this)}]);this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":n.proxy(function(n){this.update(n.date)},this)}]);this._secondaryEvents=[[this.picker,{click:n.proxy(this.click,this)}],[this.picker,".prev, .next",{click:n.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:n.proxy(this.dayCellClick,this)}],[n(window),{resize:n.proxy(this.place,this)}],[n(document),{"mousedown touchstart":n.proxy(function(n){this.element.is(n.target)||this.element.find(n.target).length||this.picker.is(n.target)||this.picker.find(n.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents();this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents();this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,r){var u=r||this.dates.get(-1),f=this._utc_to_local(u);this.element.trigger({type:t,date:f,viewMode:this.viewMode,dates:n.map(this.dates,this._utc_to_local),format:n.proxy(function(n,t){arguments.length===0?(n=this.dates.length-1,t=this.o.format):typeof n=="string"&&(t=n,n=this.dates.length-1);t=t||this.o.format;var r=this.dates.get(n);return i.formatDate(r,t,this.o.language)},this)})},show:function(){if(!this.inputField.prop("disabled")&&(!this.inputField.prop("readonly")||this.o.enableOnReadonly!==!1))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&n(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(t){var i;if(t.originalEvent.clipboardData&&t.originalEvent.clipboardData.types&&n.inArray("text/plain",t.originalEvent.clipboardData.types)!==-1)i=t.originalEvent.clipboardData.getData("text/plain");else if(window.clipboardData)i=window.clipboardData.getData("Text");else return;this.setDate(i);this.update();t.preventDefault()},_utc_to_local:function(n){if(!n)return n;var t=new Date(n.getTime()+n.getTimezoneOffset()*6e4);return t.getTimezoneOffset()!==n.getTimezoneOffset()&&(t=new Date(n.getTime()+t.getTimezoneOffset()*6e4)),t},_local_to_utc:function(n){return n&&new Date(n.getTime()-n.getTimezoneOffset()*6e4)},_zero_time:function(n){return n&&new Date(n.getFullYear(),n.getMonth(),n.getDate())},_zero_utc_time:function(n){return n&&f(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())},getDates:function(){return n.map(this.dates,this._utc_to_local)},getUTCDates:function(){return n.map(this.dates,function(n){return new Date(n)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var n=this.dates.get(-1);return n!==t?new Date(n):null},clearDates:function(){this.inputField.val("");this.update();this._trigger("changeDate");this.o.autoclose&&this.hide()},setDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,n.map(t,this._utc_to_local)),this},setDate:h("setDates"),setUTCDate:h("setUTCDates"),remove:h("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var n=this.getFormattedDate();return this.inputField.val(n),this},getFormattedDate:function(r){r===t&&(r=this.o.format);var u=this.o.language;return n.map(this.dates,function(n){return i.formatDate(n,r,u)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(n){return this._process_options({startDate:n}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(n){return this._process_options({endDate:n}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(n){return this._process_options({daysOfWeekDisabled:n}),this.update(),this},setDaysOfWeekHighlighted:function(n){return this._process_options({daysOfWeekHighlighted:n}),this.update(),this},setDatesDisabled:function(n){return this._process_options({datesDisabled:n}),this.update(),this},place:function(){var r,y,p;if(this.isInline)return this;var f=this.picker.width()+10,s=this.picker.height()+10,e=n(this.o.container),h=e.width(),c=this.o.container==="body"?n(document).scrollTop():e.scrollTop(),l=e.offset(),a=[9999];this.element.parents().each(function(){var t=n(this).css("z-index");t!=="auto"&&Number(t)!==0&&a.push(Number(t))});var v=Math.max.apply(Math,a)+this.o.zIndexOffset,u=this.component?this.component.parent().offset():this.element.offset(),w=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),o=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),t=u.left-l.left,i=u.top-l.top;return this.o.container!=="body"&&(i+=c),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),this.o.orientation.x!=="auto"?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),this.o.orientation.x==="right"&&(t-=f-o)):u.left<0?(this.picker.addClass("datepicker-orient-left"),t-=u.left-10):t+f>h?(this.picker.addClass("datepicker-orient-right"),t+=o-f):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left"),r=this.o.orientation.y,r==="auto"&&(y=-c+i-s,r=y<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+r),r==="top"?i-=s+parseInt(this.picker.css("padding-top")):i+=w,this.o.rtl?(p=h-(t+o),this.picker.css({top:i,right:p,zIndex:v})):this.picker.css({top:i,left:t,zIndex:v}),this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var u=this.dates.copy(),t=[],r=!1;return arguments.length?(n.each(arguments,n.proxy(function(n,i){i instanceof Date&&(i=this._local_to_utc(i));t.push(i)},this)),r=!0):(t=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),t=t&&this.o.multidate?t.split(this.o.multidateSeparator):[t],delete this.element.data().date),t=n.map(t,n.proxy(function(n){return i.parseDate(n,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),t=n.grep(t,n.proxy(function(n){return!this.dateWithinRange(n)||!n},this),!0),this.dates.replace(t),this.o.updateViewDate&&(this.viewDate=this.dates.length?new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?new Date(this.o.startDate):this.viewDate>this.o.endDate?new Date(this.o.endDate):this.o.defaultViewDate),r?(this.setValue(),this.element.change()):this.dates.length&&String(u)!==String(this.dates)&&r&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&u.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var i=this.o.weekStart,t="<tr>";for(this.o.calendarWeeks&&(t+='<th class="cw">&#160;<\/th>');i<this.o.weekStart+7;)t+='<th class="dow',n.inArray(i,this.o.daysOfWeekDisabled)!==-1&&(t+=" disabled"),t+='">'+r[this.o.language].daysMin[i++%7]+"<\/th>";t+="<\/tr>";this.picker.find(".datepicker-days thead").append(t)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),i="",u,n=0;n<12;n++)u=t&&t.getMonth()===n?" focused":"",i+='<span class="month'+u+'">'+r[this.o.language].monthsShort[n]+"<\/span>";this.picker.find(".datepicker-months td").html(i)},setRange:function(t){t&&t.length?this.range=n.map(t,function(n){return n.valueOf()}):delete this.range;this.fill()},getClassNames:function(t){var i=[],r=this.viewDate.getUTCFullYear(),u=this.viewDate.getUTCMonth(),f=s();return t.getUTCFullYear()<r||t.getUTCFullYear()===r&&t.getUTCMonth()<u?i.push("old"):(t.getUTCFullYear()>r||t.getUTCFullYear()===r&&t.getUTCMonth()>u)&&i.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&l(t,f)&&i.push("today"),this.dates.contains(t)!==-1&&i.push("active"),this.dateWithinRange(t)||i.push("disabled"),this.dateIsDisabled(t)&&i.push("disabled","disabled-date"),n.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1&&i.push("highlighted"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&i.push("range"),n.inArray(t.valueOf(),this.range)!==-1&&i.push("selected"),t.valueOf()===this.range[0]&&i.push("range-start"),t.valueOf()===this.range[this.range.length-1]&&i.push("range-end")),i},_fill_yearsView:function(i,r,u,f,e,o,s){for(var w="",l=u/10,b=this.picker.find(i),v=Math.floor(f/u)*u,p=v+l*9,k=Math.floor(this.viewDate.getFullYear()/l)*l,d=n.map(this.dates,function(n){return Math.floor(n.getUTCFullYear()/l)*l}),a,y,h,c=v-l;c<=p+l;c+=l)a=[r],y=null,c===v-l?a.push("old"):c===p+l&&a.push("new"),n.inArray(c,d)!==-1&&a.push("active"),(c<e||c>o)&&a.push("disabled"),c===k&&a.push("focused"),s!==n.noop&&(h=s(new Date(c,0,1)),h===t?h={}:typeof h=="boolean"?h={enabled:h}:typeof h=="string"&&(h={classes:h}),h.enabled===!1&&a.push("disabled"),h.classes&&(a=a.concat(h.classes.split(/\s+/))),h.tooltip&&(y=h.tooltip)),w+='<span class="'+a.join(" ")+'"'+(y?' title="'+y+'"':"")+">"+c+"<\/span>";b.find(".datepicker-switch").text(v+"-"+p);b.find("td").html(w)},fill:function(){var w=new Date(this.viewDate),o=w.getUTCFullYear(),d=w.getUTCMonth(),a=this.o.startDate!==-Infinity?this.o.startDate.getUTCFullYear():-Infinity,ut=this.o.startDate!==-Infinity?this.o.startDate.getUTCMonth():-Infinity,v=this.o.endDate!==Infinity?this.o.endDate.getUTCFullYear():Infinity,ft=this.o.endDate!==Infinity?this.o.endDate.getUTCMonth():Infinity,et=r[this.o.language].today||r.en.today||"",ot=r[this.o.language].clear||r.en.clear||"",st=r[this.o.language].titleFormat||r.en.titleFormat,y,u,e,g,h,c,p,s,k,it,l,rt;if(!isNaN(o)&&!isNaN(d)){for(this.picker.find(".datepicker-days .datepicker-switch").text(i.formatDate(w,st,this.o.language)),this.picker.find("tfoot .today").text(et).css("display",this.o.todayBtn===!0||this.o.todayBtn==="linked"?"table-cell":"none"),this.picker.find("tfoot .clear").text(ot).css("display",this.o.clearBtn===!0?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display",typeof this.o.title=="string"&&this.o.title!==""?"table-cell":"none"),this.updateNavArrows(),this.fillMonths(),e=f(o,d,0),g=e.getUTCDate(),e.setUTCDate(g-(e.getUTCDay()-this.o.weekStart+7)%7),h=new Date(e),e.getUTCFullYear()<100&&h.setUTCFullYear(e.getUTCFullYear()),h.setUTCDate(h.getUTCDate()+42),h=h.valueOf(),c=[];e.valueOf()<h;){if(p=e.getUTCDay(),p===this.o.weekStart&&(c.push("<tr>"),this.o.calendarWeeks)){var nt=new Date(+e+(this.o.weekStart-p-7)%7*864e5),tt=new Date(Number(nt)+(11-nt.getUTCDay())%7*864e5),b=new Date(Number(b=f(tt.getUTCFullYear(),0,1))+(11-b.getUTCDay())%7*864e5),ht=(tt-b)/6048e5+1;c.push('<td class="cw">'+ht+"<\/td>")}s=this.getClassNames(e);s.push("day");k=e.getUTCDate();this.o.beforeShowDay!==n.noop&&(u=this.o.beforeShowDay(this._utc_to_local(e)),u===t?u={}:typeof u=="boolean"?u={enabled:u}:typeof u=="string"&&(u={classes:u}),u.enabled===!1&&s.push("disabled"),u.classes&&(s=s.concat(u.classes.split(/\s+/))),u.tooltip&&(y=u.tooltip),u.content&&(k=u.content));s=n.isFunction(n.uniqueSort)?n.uniqueSort(s):n.unique(s);c.push('<td class="'+s.join(" ")+'"'+(y?' title="'+y+'"':"")+' data-date="'+e.getTime().toString()+'">'+k+"<\/td>");y=null;p===this.o.weekEnd&&c.push("<\/tr>");e.setUTCDate(e.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(c.join(""));it=r[this.o.language].monthsTitle||r.en.monthsTitle||"Months";l=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?it:o).end().find("tbody span").removeClass("active");n.each(this.dates,function(n,t){t.getUTCFullYear()===o&&l.eq(t.getUTCMonth()).addClass("active")});(o<a||o>v)&&l.addClass("disabled");o===a&&l.slice(0,ut).addClass("disabled");o===v&&l.slice(ft+1).addClass("disabled");this.o.beforeShowMonth!==n.noop&&(rt=this,n.each(l,function(i,r){var f=new Date(o,i,1),u=rt.o.beforeShowMonth(f);u===t?u={}:typeof u=="boolean"?u={enabled:u}:typeof u=="string"&&(u={classes:u});u.enabled!==!1||n(r).hasClass("disabled")||n(r).addClass("disabled");u.classes&&n(r).addClass(u.classes);u.tooltip&&n(r).prop("title",u.tooltip)}));this._fill_yearsView(".datepicker-years","year",10,o,a,v,this.o.beforeShowYear);this._fill_yearsView(".datepicker-decades","decade",100,o,a,v,this.o.beforeShowDecade);this._fill_yearsView(".datepicker-centuries","century",1e3,o,a,v,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var u=new Date(this.viewDate),t=u.getUTCFullYear(),f=u.getUTCMonth(),e=this.o.startDate!==-Infinity?this.o.startDate.getUTCFullYear():-Infinity,s=this.o.startDate!==-Infinity?this.o.startDate.getUTCMonth():-Infinity,o=this.o.endDate!==Infinity?this.o.endDate.getUTCFullYear():Infinity,h=this.o.endDate!==Infinity?this.o.endDate.getUTCMonth():Infinity,i,r,n=1;switch(this.viewMode){case 0:i=t<=e&&f<=s;r=t>=o&&f>=h;break;case 4:n*=10;case 3:n*=10;case 2:n*=10;case 1:i=Math.floor(t/n)*n<=e;r=Math.floor(t/n)*n+n>=o}this.picker.find(".prev").toggleClass("disabled",i);this.picker.find(".next").toggleClass("disabled",r)}},click:function(t){t.preventDefault();t.stopPropagation();var r,o,u,e;r=n(t.target);r.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1);r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(s(),this.o.todayBtn==="linked"?null:"view"));r.hasClass("clear")&&this.clearDates();r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),o=1,this.viewMode===1?(e=r.parent().find("span").index(r),u=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(e)):(e=0,u=Number(r.text()),this.viewDate.setUTCFullYear(u)),this._trigger(i.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(f(u,e,o)):(this.setViewMode(this.viewMode-1),this.fill()));this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus();delete this._focused_from},dayCellClick:function(t){var r=n(t.currentTarget),u=r.data("date"),i=new Date(u);this.o.updateViewDate&&(i.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),i.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate));this._setDate(i)},navArrowsClick:function(t){var u=n(t.currentTarget),r=u.hasClass("prev")?-1:1;this.viewMode!==0&&(r*=i.viewModes[this.viewMode].navStep*12);this.viewDate=this.moveMonth(this.viewDate,r);this._trigger(i.viewModes[this.viewMode].e,this.viewDate);this.fill()},_toggle_multidate:function(n){var t=this.dates.contains(n);if(n||this.dates.clear(),t!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):this.o.multidate===!1?(this.dates.clear(),this.dates.push(n)):this.dates.push(n),typeof this.o.multidate=="number")while(this.dates.length>this.o.multidate)this.dates.remove(0)},_setDate:function(n,t){t&&t!=="date"||this._toggle_multidate(n&&new Date(n));(!t&&this.o.updateViewDate||t==="view")&&(this.viewDate=n&&new Date(n));this.fill();this.setValue();t&&t==="view"||this._trigger("changeDate");this.inputField.trigger("change");this.o.autoclose&&(!t||t==="date")&&this.hide()},moveDay:function(n,t){var i=new Date(n);return i.setUTCDate(n.getUTCDate()+t),i},moveWeek:function(n,t){return this.moveDay(n,t*7)},moveMonth:function(n,t){var f;if(!p(n))return this.o.defaultViewDate;if(!t)return n;var i=new Date(n.valueOf()),e=i.getUTCDate(),o=i.getUTCMonth(),s=Math.abs(t),r,u;if(t=t>0?1:-1,s===1)u=t===-1?function(){return i.getUTCMonth()===o}:function(){return i.getUTCMonth()!==r},r=o+t,i.setUTCMonth(r),r=(r+12)%12;else{for(f=0;f<s;f++)i=this.moveMonth(i,t);r=i.getUTCMonth();i.setUTCDate(e);u=function(){return r!==i.getUTCMonth()}}while(u())i.setUTCDate(--e),i.setUTCMonth(r);return i},moveYear:function(n,t){return this.moveMonth(n,t*12)},moveAvailableDate:function(n,t,i){do{if(n=this[i](n,t),!this.dateWithinRange(n))return!1;i="moveDay"}while(this.dateIsDisabled(n));return n},weekOfDateIsDisabled:function(t){return n.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled)!==-1},dateIsDisabled:function(t){return this.weekOfDateIsDisabled(t)||n.grep(this.o.datesDisabled,function(n){return l(t,n)}).length>0},dateWithinRange:function(n){return n>=this.o.startDate&&n<=this.o.endDate},keydown:function(n){if(!this.picker.is(":visible")){(n.keyCode===40||n.keyCode===27)&&(this.show(),n.stopPropagation());return}var u=!1,t,i,r=this.focusDate||this.viewDate;switch(n.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide();n.preventDefault();n.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||this.o.daysOfWeekDisabled.length===7)break;t=n.keyCode===37||n.keyCode===38?-1:1;this.viewMode===0?n.ctrlKey?(i=this.moveAvailableDate(r,t,"moveYear"),i&&this._trigger("changeYear",this.viewDate)):n.shiftKey?(i=this.moveAvailableDate(r,t,"moveMonth"),i&&this._trigger("changeMonth",this.viewDate)):n.keyCode===37||n.keyCode===39?i=this.moveAvailableDate(r,t,"moveDay"):this.weekOfDateIsDisabled(r)||(i=this.moveAvailableDate(r,t,"moveWeek")):this.viewMode===1?((n.keyCode===38||n.keyCode===40)&&(t=t*4),i=this.moveAvailableDate(r,t,"moveMonth")):this.viewMode===2&&((n.keyCode===38||n.keyCode===40)&&(t=t*4),i=this.moveAvailableDate(r,t,"moveYear"));i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),n.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate;this.o.keyboardNavigation&&(this._toggle_multidate(r),u=!0);this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.setValue();this.fill();this.picker.is(":visible")&&(n.preventDefault(),n.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.fill();this.hide()}u&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(n){this.viewMode=n;this.picker.children("div").hide().filter(".datepicker-"+i.viewModes[this.viewMode].clsName).show();this.updateNavArrows();this._trigger("changeViewMode",new Date(this.viewDate))}};c=function(t,i){n.data(t,"datepicker",this);this.element=n(t);this.inputs=n.map(i.inputs,function(n){return n.jquery?n[0]:n});delete i.inputs;this.keepEmptyValues=i.keepEmptyValues;delete i.keepEmptyValues;o.call(n(this.inputs),i).on("changeDate",n.proxy(this.dateUpdated,this));this.pickers=n.map(this.inputs,function(t){return n.data(t,"datepicker")});this.updateDates()};c.prototype={updateDates:function(){this.dates=n.map(this.pickers,function(n){return n.getUTCDate()});this.updateRanges()},updateRanges:function(){var t=n.map(this.dates,function(n){return n.valueOf()});n.each(this.pickers,function(n,i){i.setRange(t)})},dateUpdated:function(i){var u;if(!this.updating&&(this.updating=!0,u=n.data(i.target,"datepicker"),u!==t)){var r=u.getUTCDate(),s=this.keepEmptyValues,o=n.inArray(i.target,this.inputs),f=o-1,e=o+1,h=this.inputs.length;if(o!==-1){if(n.each(this.pickers,function(n,t){t.getUTCDate()||t!==u&&s||t.setUTCDate(r)}),r<this.dates[f])while(f>=0&&r<this.dates[f])this.pickers[f--].setUTCDate(r);else if(r>this.dates[e])while(e<h&&r>this.dates[e])this.pickers[e++].setUTCDate(r);this.updateDates();delete this.updating}}},destroy:function(){n.map(this.pickers,function(n){n.destroy()});n(this.inputs).off("changeDate",this.dateUpdated);delete this.element.data().datepicker},remove:h("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};v=n.fn.datepicker;o=function(i){var f=Array.apply(null,arguments),r;if(f.shift(),this.each(function(){var s=n(this),t=s.data("datepicker"),h=typeof i=="object"&&i;if(!t){var l=w(this,"date"),a=n.extend({},e,l,h),v=b(a.language),o=n.extend({},e,v,l,h);s.hasClass("input-daterange")||o.inputs?(n.extend(o,{inputs:o.inputs||s.find("input").toArray()}),t=new c(this,o)):t=new u(this,o);s.data("datepicker",t)}typeof i=="string"&&typeof t[i]=="function"&&(r=t[i].apply(t,f))}),r===t||r instanceof u||r instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");else return r};n.fn.datepicker=o;e=n.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:n.noop,beforeShowMonth:n.noop,beforeShowYear:n.noop,beforeShowDecade:n.noop,beforeShowCentury:n.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:Infinity,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-Infinity,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0};y=n.fn.datepicker.locale_opts=["format","rtl","weekStart"];n.fn.datepicker.Constructor=u;r=n.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}};i={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(n){if(typeof n.toValue=="function"&&typeof n.toDisplay=="function")return n;var t=n.replace(this.validParts,'\0').split('\0'),i=n.match(this.validParts);if(!t||!t.length||!i||i.length===0)throw new Error("Invalid date format.");return{separators:t,parts:i}},parseDate:function(f,e,o,h){function et(n,t){return t===!0&&(t=10),n<100&&(n+=2e3,n>(new Date).getFullYear()+t&&(n-=100)),n}function ut(){var n=this.slice(0,l[c].length),t=l[c].slice(0,n.length);return n.toLowerCase()===t.toLowerCase()}var tt,g,l,y,it,c,rt,v,ft,d,w;if(!f)return t;if(f instanceof Date)return f;if(typeof e=="string"&&(e=i.parseFormat(e)),e.toValue)return e.toValue(f,e,o);if(tt={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},g={yesterday:"-1d",today:"+0d",tomorrow:"+1d"},f in g&&(f=g[f]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(f)){for(l=f.match(/([\-+]\d+)([dmwy])/gi),f=new Date,c=0;c<l.length;c++)y=l[c].match(/([\-+]\d+)([dmwy])/i),it=Number(y[1]),rt=tt[y[2].toLowerCase()],f=u.prototype[rt](f,it);return u.prototype._zero_utc_time(f)}l=f&&f.match(this.nonpunctuation)||[];var b={},nt=["yyyy","yy","M","MM","m","mm","d","dd"],a={yyyy:function(n,t){return n.setUTCFullYear(h?et(t,h):t)},m:function(n,t){if(isNaN(n))return n;for(t-=1;t<0;)t+=12;for(t%=12,n.setUTCMonth(t);n.getUTCMonth()!==t;)n.setUTCDate(n.getUTCDate()-1);return n},d:function(n,t){return n.setUTCDate(t)}},p,k;if(a.yy=a.yyyy,a.M=a.MM=a.mm=a.m,a.dd=a.d,f=s(),v=e.parts.slice(),l.length!==v.length&&(v=n(v).filter(function(t,i){return n.inArray(i,nt)!==-1}).toArray()),l.length===v.length){for(c=0,ft=v.length;c<ft;c++){if(p=parseInt(l[c],10),y=v[c],isNaN(p))switch(y){case"MM":k=n(r[o].months).filter(ut);p=n.inArray(k[0],r[o].months)+1;break;case"M":k=n(r[o].monthsShort).filter(ut);p=n.inArray(k[0],r[o].monthsShort)+1}b[y]=p}for(c=0;c<nt.length;c++)w=nt[c],w in b&&!isNaN(b[w])&&(d=new Date(f),a[w](d,b[w]),isNaN(d)||(f=d))}return f},formatDate:function(t,u,f){var e,s,o,h;if(!t)return"";if(typeof u=="string"&&(u=i.parseFormat(u)),u.toDisplay)return u.toDisplay(t,u,f);for(e={d:t.getUTCDate(),D:r[f].daysShort[t.getUTCDay()],DD:r[f].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:r[f].monthsShort[t.getUTCMonth()],MM:r[f].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()},e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,t=[],s=n.extend([],u.separators),o=0,h=u.parts.length;o<=h;o++)s.length&&t.push(s.shift()),t.push(e[u.parts[o]]);return t.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"><\/th><\/tr><tr><th class="prev">'+e.templates.leftArrow+'<\/th><th colspan="5" class="datepicker-switch"><\/th><th class="next">'+e.templates.rightArrow+"<\/th><\/tr><\/thead>",contTemplate:'<tbody><tr><td colspan="7"><\/td><\/tr><\/tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"><\/th><\/tr><tr><th colspan="7" class="clear"><\/th><\/tr><\/tfoot>'};i.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+i.headTemplate+"<tbody><\/tbody>"+i.footTemplate+'<\/table><\/div><div class="datepicker-months"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-years"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-decades"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-centuries"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+"<\/table><\/div><\/div>";n.fn.datepicker.DPGlobal=i;n.fn.datepicker.noConflict=function(){return n.fn.datepicker=v,this};n.fn.datepicker.version="1.7.0";n.fn.datepicker.deprecated=function(n){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+n)};n(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var i=n(this);i.data("datepicker")||(t.preventDefault(),o.call(i,"show"))});n(function(){o.call(n('[data-provide="datepicker-inline"]'))})}(window.jQuery),function(){var n=this||eval("this"),f=n.document,t="messenger",i=[],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.messenger={}))},u=function(t){function r(n){if(n&&n.data)try{var i=JSON.parse(n.data);i&&i.msgName&&t.publish(i.msgName,i.value)}catch(r){}}var i={};t.subscribe=function(n,t,r){return i[n]=i[n]||[],i[n].push({callback:t,context:r}),{dispose:function(){for(var r=0;r<i[n].length;r++)if(i[n][r].callback===t){i[n].splice(r,1);break}}}};t.once=function(n,i,r){var u=t.subscribe(n,function(){u.dispose();var n=Array.prototype.slice.call(arguments,0);i.apply(r,n)});return u};t.publish=function(n){for(var u=Array.prototype.slice.call(arguments,1),r=(i[n]||[]).slice(0),t;r.length>0;)t=r.shift(),t.callback.apply(t.context,u)};t.call=function(n){for(var f=Array.prototype.slice.call(arguments,1),u=(i[n]||[]).slice(0),t=f,r;u.length>0;)r=u.shift(),t=[r.callback.apply(r.context,t)];return t.length===0?undefined:t.length===1?t[0]:t};n.addEventListener?n.addEventListener("message",r,!1):n.attachEvent("onmessage",r,!1)};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="utils",i=[],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.utils={}))},u=function(n){var t=Array.prototype.slice;n.curry=function(n){var i=arguments[0]&&typeof arguments[0]=="function"?arguments[0]:this,u=i.length;return function r(){if(i.length>arguments.length){var u=t.apply(arguments);return function(){return r.apply(n,u.concat(t.apply(arguments)))}}return i.apply(n,arguments)}};Function.prototype.curry=Function.prototype.curry||n.curry;n.asAsync=function(){var n=arguments[0]&&typeof arguments[0]=="function"?arguments[0]:this;if(typeof n!="function")throw new Error("owner is not a function");return function(){var t=this,i=arguments;return new Promise(function(r){r(n.apply(t,i))})}};Function.prototype.asAsync=Function.prototype.asAsync||n.asAsync;Function.prototype["extends"]=function(n){function r(){this.constructor=i}var i=this,t;for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return r.prototype=n.prototype,i.prototype=new r,this};Array.prototype.mapMany=Array.prototype.mapMany||function(n){var n=n||function(n){return n};return this.map(n).reduce(function(n,t){return n.push.apply(n,t),n},[])}};r(u)}(),function(n,t,i,r){var u=n(t);n.fn.lazyload=function(f){function s(){var t=0;o.each(function(){var i=n(this);if((!e.skip_invisible||i.is(":visible"))&&!n.abovethetop(this,e)&&!n.leftofbegin(this,e))if(n.belowthefold(this,e)||n.rightoffold(this,e)){if(++t>e.failure_limit)return!1}else i.trigger("appear"),t=0})}var o=this,h,e={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null};return f&&(r!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),r!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),n.extend(e,f)),h=e.container===r||e.container===t?u:n(e.container),0===e.event.indexOf("scroll")&&h.bind(e.event,function(){return s()}),this.each(function(){var t=this,i=n(t);t.loaded=!1;i.one("appear",function(){if(!this.loaded){if(e.appear){var r=o.length;e.appear.call(t,r,e)}n("<img />").bind("load",function(){var r,u;i.hide().attr("src",i.data(e.data_attribute))[e.effect](e.effect_speed);t.loaded=!0;r=n.grep(o,function(n){return!n.loaded});o=n(r);e.load&&(u=o.length,e.load.call(t,u,e))}).attr("src",i.data(e.data_attribute))}});0!==e.event.indexOf("scroll")&&i.bind(e.event,function(){t.loaded||i.trigger("appear")})}),u.bind("resize",function(){s()}),/iphone|ipod|ipad.*os 5/gi.test(navigator.appVersion)&&u.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&o.each(function(){n(this).trigger("appear")})}),n(i).ready(function(){s()}),this};n.belowthefold=function(i,f){var e;return e=f.container===r||f.container===t?u.height()+u.scrollTop():n(f.container).offset().top+n(f.container).height(),e<=n(i).offset().top-f.threshold};n.rightoffold=function(i,f){var e;return e=f.container===r||f.container===t?u.width()+u.scrollLeft():n(f.container).offset().left+n(f.container).width(),e<=n(i).offset().left-f.threshold};n.abovethetop=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollTop():n(f.container).offset().top,e>=n(i).offset().top+f.threshold+n(i).height()};n.leftofbegin=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollLeft():n(f.container).offset().left,e>=n(i).offset().left+f.threshold+n(i).width()};n.inviewport=function(t,i){return!n.rightoffold(t,i)&&!n.leftofbegin(t,i)&&!n.belowthefold(t,i)&&!n.abovethetop(t,i)};n.extend(n.expr[":"],{"below-the-fold":function(t){return n.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return n.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!n.rightoffold(t,{threshold:0})},"in-viewport":function(t){return n.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return n.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!n.rightoffold(t,{threshold:0})}})}(jQuery,window,document),function(){var n=this||eval("this"),t=n.document,i="ajax",r=["jQuery","optional!messenger","json-reviver"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t($,n.CPU.messenger,n.CPU.jsonreviver,n.CPU.ajax={}))},f=function(n,i,r,u){var o=!1,e,s,f;i?i.subscribe("system-suppressAjaxErrors",function(n){o=n}):i={publish:function(){}};n(t).ajaxSend(function(n,t,r){i.publish("ajax-send",n,t,r)});e=[function(n){n.toPromise=function(){return u.runPromise(this)}}];s=function(n){for(var r=n.getAllResponseHeaders(),u=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,t,i={};t=u.exec(r);)i[t[1].toLowerCase()]=t[2];return i};u.addOnSendExtension=function(n){if(!n||typeof n!="function")throw new Error("Supplied argument should be a function at accepts a XHR object");e.push(n)};u.promises={fn:{}};u.runPromise=function(n){function e(n,t,r){var u=n[t];n[t]=function(){var t=Array.prototype.slice.call(arguments,0),o,e;return t.length>0&&typeof t[t.length-1]=="object"&&(o=t.pop(),t=t.map(function(n){return n.bind(o)})),r!=null&&t.length==1&&t.push(r),e=u.apply(n,t).then(function(n){return i.publish("debug-log",n,"Promise.then returned "),n}),f(e),e}}var t;try{if(n===undefined)throw new Exception("runPromise expects an XMLHttpRequest, jQueryXHR, or another promise");if(n instanceof Promise){if(t=n,t.mapUsing)return t}else{if(n.done===undefined||typeof n.done!="function")throw new Exception("runPromise expects an XMLHttpRequest or jQueryXHR if it isn't a Promise");t=new Promise(function(t,r){n.done(function(n,r){i.publish("debug-log","Success response from "+this.url+", status = "+r);t(n)}).fail(function(n,t,u){n.status===0&&o&&(t="abort");i.publish("system-error",{title:"Failure response from "+this.url,data:JSON.stringify({status:t,error:u})});i.publish("debug-log","Failure response from "+this.url+", status = "+t+"\nError: "+u);var f={status:t,message:u,url:n.requestUrl,responseCode:n.status,responseHeaders:s(n)};n.responseText&&Object.defineProperty(f,"responseText",{value:n.responseText,writable:!0});r(f)})})}}catch(r){i.publish("debug-log",r.stack);i.publish("system-error",{title:"Failure response from "+this.url,data:r.message});throw r;}var h=function(){n.status===undefined&&n.abort&&typeof n.abort=="function"?n.abort():n.cancel&&typeof n.cancel=="function"&&n.cancel()},c=function(n){return this.then(function(t){return Array.isArray(t)?t.map(n):typeof t=="object"?n(t):t})},l=function(n){if(n instanceof Error)throw n;throw Error(n.toString());},f=function(n){e(n,"then",l);e(n,"catch");n.mapUsing=c.bind(n);Object.getOwnPropertyNames(u.promises.fn).reduce(function(n,t){return n[t]=u.promises.fn[t].bind(n),n},n);n.cancel=h};return f(t),t["catch"](function(n){if(!n.status||n.status!=="abort"){i.publish("error-ajaxError",n);throw Error("Ajax exception\nstatus: "+n.status+"\nMessage: "+n.message);}})};f=function(t,u){var t,f,o;try{if(t=Array.prototype.slice.call(t,0),f=t.shift(),typeof f=="function"&&(f=f.apply(undefined,t)),typeof f=="string"&&(f={url:f,params:t[0]}),typeof f.url!="string")throw new Error("Url should be a string");return u.url=f.url,u.contentType=u.contentType||"application/json",u.dataType=u.contentType.match(/(?:\/)(\w+)$/)[1],u.converters={"text json":function(n){return JSON.parse(n,r.valueReviver)}},o=e.slice(),u.accept&&o.push(function(n){n.setRequestHeader("Accept",u.accept)}),u.headers&&o.push(function(n){for(var t in u.headers)n.setRequestHeader(t,u.headers[t])}),f.params&&(u.data=JSON.stringify(f.params)),u.beforeSend=function(n){n.requestUrl=u.url;for(var t=0;t<o.length;t++)o[t](n)},n.ajax(u).toPromise()}catch(s){i.publish("error-systemError",s.stack);throw s;}};u.getJSON=function(){return f(arguments,{type:"GET"})};u.getText=function(){return f(arguments,{type:"GET",contentType:"text/html"})};u.postJSON=function(){return f(arguments,{type:"POST"})};u.postJSONWithToken=function(n){var i=Array.prototype.slice.call(arguments,1),t={type:"POST"};return n&&(t.headers={"X-RequestVerificationToken":n}),f(i,t)};u.httpStatusCodes={canceled:0,success:200,noContent:204,movedPermanently:301,movedTemporarily:302,notModified:304,unauthorised:401,forbidden:403,notFound:404,preconditionFailed:412,internalError:500,notImplemented:501,serviceUnavailable:503};i&&i.subscribe&&(i.subscribe.onAjaxSend=function(n,t){return i.subscribe("ajax-send",n,t)},i.subscribe.onDebugLog=function(n,t){return i.subscribe("debug-log",n,t)},i.subscribe.onSystemError=function(n,t){return i.subscribe("error-systemError",n,t)},i.subscribe.onAjaxError=function(n,t){return i.subscribe("error-ajaxError",n,t)});i&&i.publish&&(i.publish.suppressAjaxErrors=function(n){n===undefined&&(n=!0);i.publish("system-suppressAjaxErrors",!!n)})};u(f)}(),function(){var n=this||eval("this"),t="json-reviver",i=[],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.jsonreviver={}))},u=function(n){var t=[];n.addReviver=function(n){t.push(n)};n.valueReviver=function(n,i){var r=undefined;return t.some(function(t){var u=t(n,i);return u&&u.matched===!0?(r=u.value,!0):!1}),r!==undefined?r:i}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="analytics-google",i=["messenger","configuration","ajax","knockout","knockout-bootstrap"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.messenger,n.CPU.configuration,n.CPU.ajax,n.ko))},u=function(n,t,i,r){var f=function(n){if(typeof _gaq!="undefined"){var i=t.baseUrl+t.analytics.viewType+"/"+n;_gaq.push(["_set","page",i]);_gaq.push(["_setCustomVar",2,"breakpoint",r.bootstrap.currentBreakpointName(),3]);_gaq.push(["_setCustomVar",3,"isApp",t.isCordova,2]);_gaq.push(["_gat._anonymizeIp"]);_gaq.push(["_trackPageview",i])}},e=function(n){typeof _gaq!="undefined"&&_gaq.push(["_trackEvent",n.category,n.action,n.label,n.value])},u;n.subscribe("analytics-trackEvent",e);n.subscribe("router-urlActivated",f);u=function(n){window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:"pageView",page_type:n.label})};n.subscribe("ga4-trackPageView",u);i.addOnSendExtension(function(n){n.setRequestHeader("X-BreakPoint",r.bootstrap.currentBreakpointName())})};r(u)}(),function(){var n=this||eval("this"),t="json-converter-bignumber",i=["json-reviver"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.jsonreviver))},u=function(n){var t=/^(__BigNumber__ )(-?\d+\.?\d*)$/;n.addReviver(function(n,i){var r;return typeof i=="string"&&(r=t.exec(i),r)?{matched:!0,value:new BigNumber(r[2])}:null})};r(u)}(),function(){var n=this||eval("this"),t="json-converter-isodatetime",i=["json-reviver"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.jsonreviver))},u=function(n){var t=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)(Z|(\+|-)(\d{2}):?(\d{2})?)?$/;n.addReviver(function(n,i){var r;return typeof i=="string"&&(r=t.exec(i),r)?{matched:!0,value:new Date(i)}:null})};r(u)}(),function(){var n=this||eval("this"),t="json-converter-msdatetime",i=["json-reviver"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.jsonreviver))},u=function(n){var t=/\/Date\((\d*)\)\//;n.addReviver(function(n,i){var r;return typeof i=="string"&&(r=t.exec(i),r)?{matched:!0,value:new Date(parseInt(r[1]))}:null})};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-antiForgery",i=["knockout","ajax"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.ajax))},u=function(n,t){var i=undefined,r=function(n){i&&n.setRequestHeader("X-RequestVerificationToken",i)};t.addOnSendExtension(r);n.bindingHandlers.antiForgery={init:function(t){var r=t.value;(i||i!==r)&&console.warn("Concurrent anti-forgery tokens detected.  Overriding previous value");i=r;n.utils.domNodeDisposal.addDisposeCallback(t,function(){i=undefined})},update:function(){}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-attr",i=["knockout","resources","configuration","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.CPU.configuration,$))},u=function(n,t,i){var r=n.bindingHandlers.attr.update,u=i.resourceRoot||"CPU",f=function(n,t){if(i.ignoreScaleUp)return!1;var r=n.tagName.toLowerCase();return r==="img"&&t==="src"};n.bindingHandlers.attr.update=function(e,o,s,h,c){var y=n.unwrap(o()),l={},a=s.get("resourceOptions"),v;n.utils.objectForEach(y,function(n,r){var s,o,h;typeof r=="object"&&r["class"]&&(r=r["class"]+"-"+r.resourceKey);typeof r!="string"||!~r.indexOf(u+"/")?l[n]=r:(s=t.getResource(r,f(e,n)),a&&a.hideIfUndefined&&(o=s.peek(),o&&o>""&&(h=i.undefinedResourceRegex,(o==key||h&&o.match(h))&&(s=""))),l[n]=s)});v=function(){return l};r(e,v,s,h,c)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-blockContext",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):r(n.ko)},u=function(n){n.bindingHandlers.blockContext={init:function(){return{controlsDescendantBindings:!0}},update:function(){}};n.virtualElements.allowedBindings.blockContext=!0};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-carousel",i=["knockout","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},u=function(n,t){var i=function(n,i,r){r&&t(n).carousel(i)}.curry();n.bindingHandlers.carousel={init:function(r,u,f,e,o){return n.bindingHandlers.event.init(r,function(){return{click:i(r,""),swipeleft:i(r,"next"),swiperight:i(r,"prev")}},f,e,o),n.bindingHandlers["with"].init(r,u,f,e,o)},update:function(r,u,f,e,o){n.bindingHandlers.css.update(r,function(){return{carousel:!0,slide:!0}},f,e,o);var h=n.unwrap(u()),s=t(r);h&&h.length>0&&!s.data("bs.carousel")&&setTimeout(function(){s.on("click.carousel",'[data-slide="prev"]',i(r,"prev")).on("click.carousel",'[data-slide="next"]',i(r,"next"));s.find("ol>li:first").addClass("active");s.find(".carousel-inner>.item:first").addClass("active");s.carousel({interval:0})},0)}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-clickToMessage",i=["knockout","messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.messenger))},u=function(n,t){var i=n.bindingHandlers.click.init;n.bindingHandlers.click.init=function(n,r,u,f,e){var o=r();return typeof o=="string"&&(r=function(){return function(){return t.call(o)}}),i(n,r,u,f,e)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-date",i=["knockout","globalize","configuration","globalize-number","globalize-date"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.Globalize))},u=function(n,t,i){var u=function(n){var i=n.ownerDocument,t=undefined;try{t=i.activeElement}catch(r){t=i.body}return t===n},f=function(i,r){var u,f;return u=function(){return n.unwrap(i)},f=function(n){i(n)},n.computed({read:function(){var i=u();return r.dateFormat&&r.dateFormat.nilValue&&!i?n.unwrap(r.dateFormat.nilValue):i?t.locale()?t.formatDate(i,r.dateFormat):"":null},write:function(n){f(n)}})},r=function(t,i,r){var e=n.observable(u(t)),o=function(n){e(n)},s=o.bind(null,!0),h=o.bind(null,!1),c=f(i,{elementHasFocus:e,dateFormat:r});t.tagName.toLowerCase()==="input"?(n.utils.registerEventHandler(t,"focus",s),n.utils.registerEventHandler(t,"focusin",s),n.utils.registerEventHandler(t,"blur",h),n.utils.registerEventHandler(t,"focusout",h),n.applyBindingsToNode(t,{value:c})):n.applyBindingsToNode(t,{text:c})};n.bindingHandlers.date={init:function(t,u,f){var o=u(),e;n.isObservable(u())||(o=n.pureComputed(function(){return u()},null,{disposeWhenNodeIsRemoved:t}));e=f.get("dateFormat");e===undefined&&(e=i.defaultDateFormat||{date:"medium"});r(t,o,e)}};n.bindingHandlers.time={init:function(t,u,f){var o=u(),e;n.isObservable(u())||(o=n.pureComputed(function(){return u()},null,{disposeWhenNodeIsRemoved:t}));e=f.get("dateFormat");e===undefined&&(e=i.defaultTimeFormat||{time:"medium"});r(t,o,e)}};n.bindingHandlers.datetime={init:function(t,u,f){var o=u(),e;n.isObservable(u())||(o=n.pureComputed(function(){return u()},null,{disposeWhenNodeIsRemoved:t}));e=f.get("dateFormat");e===undefined&&(e=i.defaultDateTimeFormat||{datetime:"medium"});r(t,o,e)}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-datepicker",i=["knockout","jQuery","knockout-binding-validation-container","globalize"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},u=function(n,t,i,r){n.bindingHandlers.datepicker={init:function(i,u,f){var a=f().datepickerOptions||{},v="."+t(i).parent().attr("class"),o=r.cldr.main("dates/calendars/gregorian"),e=o.days.format,h=t.map(o.months.format.wide,function(n){return[n]}),c=t.map(o.months.format.abbreviated,function(n){return[n]}),l=r.cldr.attributes.region,s="dd/mm/yyyy";switch(l){case"US":s="mm/dd/yyyy";break;case"CA":default:s="dd/mm/yyyy"}t.fn.datepicker.dates[r.cldr.attributes.language]={days:[e.wide.sun,e.wide.mon,e.wide.tue,e.wide.wed,e.wide.thu,e.wide.fri,e.wide.sat],daysMin:[e.short.sun,e.short.mon,e.short.tue,e.short.wed,e.short.thu,e.short.fri,e.short.sat],daysShort:[e.abbreviated.sun,e.abbreviated.mon,e.abbreviated.tue,e.abbreviated.wed,e.abbreviated.thu,e.abbreviated.fri,e.abbreviated.sat],months:h,monthsShort:c,today:"Today",clear:"Clear",format:s,titleFormat:"MM yyyy",weekStart:0};t(i).datepicker({autoclose:!0,container:"body",orientation:"auto",language:r.cldr.attributes.language});t(i).datepicker("update",n.utils.unwrapObservable(u()));n.utils.registerEventHandler(i,"changeDate",function(t){var i=u();n.isObservable(i)&&i(t.date)});n.utils.registerEventHandler(i,"hide",function(t){var i=u();n.isObservable(i)&&i(t.date)})},update:function(i,r){var u=t(i).data("datepicker");u&&t(i).datepicker("update",n.utils.unwrapObservable(r()))}};n.validation.makeBindingHandlerContainerAware("datepicker",!0)};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-blockContext",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):r(n.ko)},u=function(n){n.bindingHandlers.debug={init:function(t,i){console.log("Knockout binding: ");console.log(t);console.log(n.toJS(i()))}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-fadeIf",i=["knockout","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},u=function(n,t){var i=function(t){return n.utils.arrayFirst(n.virtualElements.childNodes(t)||[],function(n){return n.nodeType===1})},r=function(t){return function(){return{"if":t(),templateEngine:n.nativeTemplateEngine.instance}}};n.bindingHandlers.fadeIf={init:function(i,r,u,f,e){var s=t(n.virtualElements.childNodes(i)).filter("*").clone(),o=!1;return n.virtualElements.emptyNode(i),n.computed(function(){var u=!!n.unwrap(r()),f;u!==o&&(o=u,u?(f=s.clone(),n.virtualElements.setDomNodeChildren(i,f),n.applyBindingsToDescendants(e,i),f.fadeIn("slow")):t(n.virtualElements.childNodes(i)).slideUp(function(){n.virtualElements.emptyNode(i)}))},null,{disposeWhenNodeIsRemoved:i}),{controlsDescendantBindings:!0}}};n.virtualElements.allowedBindings.fadeIf=!0};r(u)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-binding-html",r=["knockout"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,n.CPU.messenger))},f=function(n){var i="innerText"in t.createElement("span")?"innerText":"textContent",r=n.bindingHandlers.html.update;n.bindingHandlers.html.update=function(n,t,u,f,e){var o=u.get("htmlOptions")||{};r(n,t,u,f,e);o.stripInlineStyles&&Array.prototype.slice.call(n.querySelectorAll("[style]"),0).forEach(function(n){n.removeAttribute("style")});o.removeAnchors&&Array.prototype.slice.call(n.querySelectorAll("a"),0).forEach(function(n){var t=n.ownerDocument.createElement("span");t[i]=n[i];n.parentElement.insertBefore(t,n);n.parentElement.removeChild(n)})}};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-intnlPhone",i=["knockout","globalize-knockout","resources","jQuery","google-libphonenumber","knockout-validation-InternationalPhone"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize,n.CPU.resources,n.$,n.libphonenumber))},u=function(n,t,i,r,u){n.bindingHandlers.internationalPhone={init:function(f,e,o,s,h){var a=e(),l=n.utils.extend({mode:"write",template:"internationalPhoneTemplate",countryCode:"AU",priorityCountries:["CN","HK","US","AU","GB"]},o.get("internationalPhoneOptions")),y;n.unwrap(a)||(l.countryCode||(l.countryCode="AU"),y=u.PhoneNumberUtil.getInstance(),a({callingCode:y.getCountryCodeForRegion(l.countryCode),countryCode:l.countryCode,phoneNumber:null}),a.isModified&&a.isModified(!1));l.priorityCountries.sort(function(n,t){return n===l.countryCode?-1:t===l.countryCode?1:0});var v=n.unwrap(a)||{},k=[{name:"China",cca2:"CN",callingCode:"86"},{name:"Hong Kong",cca2:"HK",callingCode:"852"},{name:"United States",cca2:"US",callingCode:"1"},{name:"Australia",cca2:"AU",callingCode:"61"},{name:"United Kingdom",cca2:"GB",callingCode:"44"},{name:"Aruba",cca2:"AW",callingCode:"297"},{name:"Afghanistan",cca2:"AF",callingCode:"93"},{name:"Angola",cca2:"AO",callingCode:"244"},{name:"Anguilla",cca2:"AI",callingCode:"1264"},{name:"Åland Islands",cca2:"AX",callingCode:"358"},{name:"Albania",cca2:"AL",callingCode:"355"},{name:"Andorra",cca2:"AD",callingCode:"376"},{name:"United Arab Emirates",cca2:"AE",callingCode:"971"},{name:"Argentina",cca2:"AR",callingCode:"54"},{name:"Armenia",cca2:"AM",callingCode:"374"},{name:"American Samoa",cca2:"AS",callingCode:"1684"},{name:"Antarctica",cca2:"AQ",callingCode:""},{name:"French Southern and Antarctic Lands",cca2:"TF",callingCode:""},{name:"Antigua and Barbuda",cca2:"AG",callingCode:"1268"},{name:"Austria",cca2:"AT",callingCode:"43"},{name:"Azerbaijan",cca2:"AZ",callingCode:"994"},{name:"Burundi",cca2:"BI",callingCode:"257"},{name:"Belgium",cca2:"BE",callingCode:"32"},{name:"Benin",cca2:"BJ",callingCode:"229"},{name:"Burkina Faso",cca2:"BF",callingCode:"226"},{name:"Bangladesh",cca2:"BD",callingCode:"880"},{name:"Bulgaria",cca2:"BG",callingCode:"359"},{name:"Bahrain",cca2:"BH",callingCode:"973"},{name:"Bahamas",cca2:"BS",callingCode:"1242"},{name:"Bosnia and Herzegovina",cca2:"BA",callingCode:"387"},{name:"Saint Barthélemy",cca2:"BL",callingCode:"590"},{name:"Belarus",cca2:"BY",callingCode:"375"},{name:"Belize",cca2:"BZ",callingCode:"501"},{name:"Bermuda",cca2:"BM",callingCode:"1441"},{name:"Bolivia",cca2:"BO",callingCode:"591"},{name:"Brazil",cca2:"BR",callingCode:"55"},{name:"Barbados",cca2:"BB",callingCode:"1246"},{name:"Brunei",cca2:"BN",callingCode:"673"},{name:"Bhutan",cca2:"BT",callingCode:"975"},{name:"Bouvet Island",cca2:"BV",callingCode:""},{name:"Botswana",cca2:"BW",callingCode:"267"},{name:"Central African Republic",cca2:"CF",callingCode:"236"},{name:"Canada",cca2:"CA",callingCode:"1"},{name:"Cocos (Keeling) Islands",cca2:"CC",callingCode:"61"},{name:"Switzerland",cca2:"CH",callingCode:"41"},{name:"Chile",cca2:"CL",callingCode:"56"},{name:"Ivory Coast",cca2:"CI",callingCode:"225"},{name:"Cameroon",cca2:"CM",callingCode:"237"},{name:"DR Congo",cca2:"CD",callingCode:"243"},{name:"Republic of the Congo",cca2:"CG",callingCode:"242"},{name:"Cook Islands",cca2:"CK",callingCode:"682"},{name:"Colombia",cca2:"CO",callingCode:"57"},{name:"Comoros",cca2:"KM",callingCode:"269"},{name:"Cape Verde",cca2:"CV",callingCode:"238"},{name:"Costa Rica",cca2:"CR",callingCode:"506"},{name:"Cuba",cca2:"CU",callingCode:"53"},{name:"Curaçao",cca2:"CW",callingCode:"5999"},{name:"Christmas Island",cca2:"CX",callingCode:"61"},{name:"Cayman Islands",cca2:"KY",callingCode:"1345"},{name:"Cyprus",cca2:"CY",callingCode:"357"},{name:"Czech Republic",cca2:"CZ",callingCode:"420"},{name:"Germany",cca2:"DE",callingCode:"49"},{name:"Djibouti",cca2:"DJ",callingCode:"253"},{name:"Dominica",cca2:"DM",callingCode:"1767"},{name:"Denmark",cca2:"DK",callingCode:"45"},{name:"Dominican Republic",cca2:"DO",callingCode:"1809"},{name:"Algeria",cca2:"DZ",callingCode:"213"},{name:"Ecuador",cca2:"EC",callingCode:"593"},{name:"Egypt",cca2:"EG",callingCode:"20"},{name:"Eritrea",cca2:"ER",callingCode:"291"},{name:"Western Sahara",cca2:"EH",callingCode:"212"},{name:"Spain",cca2:"ES",callingCode:"34"},{name:"Estonia",cca2:"EE",callingCode:"372"},{name:"Ethiopia",cca2:"ET",callingCode:"251"},{name:"Finland",cca2:"FI",callingCode:"358"},{name:"Fiji",cca2:"FJ",callingCode:"679"},{name:"Falkland Islands",cca2:"FK",callingCode:"500"},{name:"France",cca2:"FR",callingCode:"33"},{name:"Faroe Islands",cca2:"FO",callingCode:"298"},{name:"Micronesia",cca2:"FM",callingCode:"691"},{name:"Gabon",cca2:"GA",callingCode:"241"},{name:"Georgia",cca2:"GE",callingCode:"995"},{name:"Guernsey",cca2:"GG",callingCode:"44"},{name:"Ghana",cca2:"GH",callingCode:"233"},{name:"Gibraltar",cca2:"GI",callingCode:"350"},{name:"Guinea",cca2:"GN",callingCode:"224"},{name:"Guadeloupe",cca2:"GP",callingCode:"590"},{name:"Gambia",cca2:"GM",callingCode:"220"},{name:"Guinea-Bissau",cca2:"GW",callingCode:"245"},{name:"Equatorial Guinea",cca2:"GQ",callingCode:"240"},{name:"Greece",cca2:"GR",callingCode:"30"},{name:"Grenada",cca2:"GD",callingCode:"1473"},{name:"Greenland",cca2:"GL",callingCode:"299"},{name:"Guatemala",cca2:"GT",callingCode:"502"},{name:"French Guiana",cca2:"GF",callingCode:"594"},{name:"Guam",cca2:"GU",callingCode:"1671"},{name:"Guyana",cca2:"GY",callingCode:"592"},{name:"Heard Island and McDonald Islands",cca2:"HM",callingCode:""},{name:"Honduras",cca2:"HN",callingCode:"504"},{name:"Croatia",cca2:"HR",callingCode:"385"},{name:"Haiti",cca2:"HT",callingCode:"509"},{name:"Hungary",cca2:"HU",callingCode:"36"},{name:"Indonesia",cca2:"ID",callingCode:"62"},{name:"Isle of Man",cca2:"IM",callingCode:"44"},{name:"India",cca2:"IN",callingCode:"91"},{name:"British Indian Ocean Territory",cca2:"IO",callingCode:"246"},{name:"Ireland",cca2:"IE",callingCode:"353"},{name:"Iran",cca2:"IR",callingCode:"98"},{name:"Iraq",cca2:"IQ",callingCode:"964"},{name:"Iceland",cca2:"IS",callingCode:"354"},{name:"Israel",cca2:"IL",callingCode:"972"},{name:"Italy",cca2:"IT",callingCode:"39"},{name:"Jamaica",cca2:"JM",callingCode:"1876"},{name:"Jersey",cca2:"JE",callingCode:"44"},{name:"Jordan",cca2:"JO",callingCode:"962"},{name:"Japan",cca2:"JP",callingCode:"81"},{name:"Kazakhstan",cca2:"KZ",callingCode:"76"},{name:"Kenya",cca2:"KE",callingCode:"254"},{name:"Kyrgyzstan",cca2:"KG",callingCode:"996"},{name:"Cambodia",cca2:"KH",callingCode:"855"},{name:"Kiribati",cca2:"KI",callingCode:"686"},{name:"Saint Kitts and Nevis",cca2:"KN",callingCode:"1869"},{name:"South Korea",cca2:"KR",callingCode:"82"},{name:"Kosovo",cca2:"XK",callingCode:"383"},{name:"Kuwait",cca2:"KW",callingCode:"965"},{name:"Laos",cca2:"LA",callingCode:"856"},{name:"Lebanon",cca2:"LB",callingCode:"961"},{name:"Liberia",cca2:"LR",callingCode:"231"},{name:"Libya",cca2:"LY",callingCode:"218"},{name:"Saint Lucia",cca2:"LC",callingCode:"1758"},{name:"Liechtenstein",cca2:"LI",callingCode:"423"},{name:"Sri Lanka",cca2:"LK",callingCode:"94"},{name:"Lesotho",cca2:"LS",callingCode:"266"},{name:"Lithuania",cca2:"LT",callingCode:"370"},{name:"Luxembourg",cca2:"LU",callingCode:"352"},{name:"Latvia",cca2:"LV",callingCode:"371"},{name:"Macau",cca2:"MO",callingCode:"853"},{name:"Saint Martin",cca2:"MF",callingCode:"590"},{name:"Morocco",cca2:"MA",callingCode:"212"},{name:"Monaco",cca2:"MC",callingCode:"377"},{name:"Moldova",cca2:"MD",callingCode:"373"},{name:"Madagascar",cca2:"MG",callingCode:"261"},{name:"Maldives",cca2:"MV",callingCode:"960"},{name:"Mexico",cca2:"MX",callingCode:"52"},{name:"Marshall Islands",cca2:"MH",callingCode:"692"},{name:"Macedonia",cca2:"MK",callingCode:"389"},{name:"Mali",cca2:"ML",callingCode:"223"},{name:"Malta",cca2:"MT",callingCode:"356"},{name:"Myanmar",cca2:"MM",callingCode:"95"},{name:"Montenegro",cca2:"ME",callingCode:"382"},{name:"Mongolia",cca2:"MN",callingCode:"976"},{name:"Northern Mariana Islands",cca2:"MP",callingCode:"1670"},{name:"Mozambique",cca2:"MZ",callingCode:"258"},{name:"Mauritania",cca2:"MR",callingCode:"222"},{name:"Montserrat",cca2:"MS",callingCode:"1664"},{name:"Martinique",cca2:"MQ",callingCode:"596"},{name:"Mauritius",cca2:"MU",callingCode:"230"},{name:"Malawi",cca2:"MW",callingCode:"265"},{name:"Malaysia",cca2:"MY",callingCode:"60"},{name:"Mayotte",cca2:"YT",callingCode:"262"},{name:"Namibia",cca2:"NA",callingCode:"264"},{name:"New Caledonia",cca2:"NC",callingCode:"687"},{name:"Niger",cca2:"NE",callingCode:"227"},{name:"Norfolk Island",cca2:"NF",callingCode:"672"},{name:"Nigeria",cca2:"NG",callingCode:"234"},{name:"Nicaragua",cca2:"NI",callingCode:"505"},{name:"Niue",cca2:"NU",callingCode:"683"},{name:"Netherlands",cca2:"NL",callingCode:"31"},{name:"Norway",cca2:"NO",callingCode:"47"},{name:"Nepal",cca2:"NP",callingCode:"977"},{name:"Nauru",cca2:"NR",callingCode:"674"},{name:"New Zealand",cca2:"NZ",callingCode:"64"},{name:"Oman",cca2:"OM",callingCode:"968"},{name:"Pakistan",cca2:"PK",callingCode:"92"},{name:"Panama",cca2:"PA",callingCode:"507"},{name:"Pitcairn Islands",cca2:"PN",callingCode:"64"},{name:"Peru",cca2:"PE",callingCode:"51"},{name:"Philippines",cca2:"PH",callingCode:"63"},{name:"Palau",cca2:"PW",callingCode:"680"},{name:"Papua New Guinea",cca2:"PG",callingCode:"675"},{name:"Poland",cca2:"PL",callingCode:"48"},{name:"Puerto Rico",cca2:"PR",callingCode:"1787"},{name:"North Korea",cca2:"KP",callingCode:"850"},{name:"Portugal",cca2:"PT",callingCode:"351"},{name:"Paraguay",cca2:"PY",callingCode:"595"},{name:"Palestine",cca2:"PS",callingCode:"970"},{name:"French Polynesia",cca2:"PF",callingCode:"689"},{name:"Qatar",cca2:"QA",callingCode:"974"},{name:"Réunion",cca2:"RE",callingCode:"262"},{name:"Romania",cca2:"RO",callingCode:"40"},{name:"Russia",cca2:"RU",callingCode:"7"},{name:"Rwanda",cca2:"RW",callingCode:"250"},{name:"Saudi Arabia",cca2:"SA",callingCode:"966"},{name:"Sudan",cca2:"SD",callingCode:"249"},{name:"Senegal",cca2:"SN",callingCode:"221"},{name:"Singapore",cca2:"SG",callingCode:"65"},{name:"South Georgia",cca2:"GS",callingCode:"500"},{name:"Svalbard and Jan Mayen",cca2:"SJ",callingCode:"4779"},{name:"Solomon Islands",cca2:"SB",callingCode:"677"},{name:"Sierra Leone",cca2:"SL",callingCode:"232"},{name:"El Salvador",cca2:"SV",callingCode:"503"},{name:"San Marino",cca2:"SM",callingCode:"378"},{name:"Somalia",cca2:"SO",callingCode:"252"},{name:"Saint Pierre and Miquelon",cca2:"PM",callingCode:"508"},{name:"Serbia",cca2:"RS",callingCode:"381"},{name:"South Sudan",cca2:"SS",callingCode:"211"},{name:"São Tomé and Príncipe",cca2:"ST",callingCode:"239"},{name:"Suriname",cca2:"SR",callingCode:"597"},{name:"Slovakia",cca2:"SK",callingCode:"421"},{name:"Slovenia",cca2:"SI",callingCode:"386"},{name:"Sweden",cca2:"SE",callingCode:"46"},{name:"Swaziland",cca2:"SZ",callingCode:"268"},{name:"Sint Maarten",cca2:"SX",callingCode:"1721"},{name:"Seychelles",cca2:"SC",callingCode:"248"},{name:"Syria",cca2:"SY",callingCode:"963"},{name:"Turks and Caicos Islands",cca2:"TC",callingCode:"1649"},{name:"Chad",cca2:"TD",callingCode:"235"},{name:"Togo",cca2:"TG",callingCode:"228"},{name:"Thailand",cca2:"TH",callingCode:"66"},{name:"Tajikistan",cca2:"TJ",callingCode:"992"},{name:"Tokelau",cca2:"TK",callingCode:"690"},{name:"Turkmenistan",cca2:"TM",callingCode:"993"},{name:"Timor-Leste",cca2:"TL",callingCode:"670"},{name:"Tonga",cca2:"TO",callingCode:"676"},{name:"Trinidad and Tobago",cca2:"TT",callingCode:"1868"},{name:"Tunisia",cca2:"TN",callingCode:"216"},{name:"Turkey",cca2:"TR",callingCode:"90"},{name:"Tuvalu",cca2:"TV",callingCode:"688"},{name:"Taiwan",cca2:"TW",callingCode:"886"},{name:"Tanzania",cca2:"TZ",callingCode:"255"},{name:"Uganda",cca2:"UG",callingCode:"256"},{name:"Ukraine",cca2:"UA",callingCode:"380"},{name:"United States Minor Outlying Islands",cca2:"UM",callingCode:""},{name:"Uruguay",cca2:"UY",callingCode:"598"},{name:"Uzbekistan",cca2:"UZ",callingCode:"998"},{name:"Vatican City",cca2:"VA",callingCode:"3906698"},{name:"Saint Vincent and the Grenadines",cca2:"VC",callingCode:"1784"},{name:"Venezuela",cca2:"VE",callingCode:"58"},{name:"British Virgin Islands",cca2:"VG",callingCode:"1284"},{name:"United States Virgin Islands",cca2:"VI",callingCode:"1340"},{name:"Vietnam",cca2:"VN",callingCode:"84"},{name:"Vanuatu",cca2:"VU",callingCode:"678"},{name:"Wallis and Futuna",cca2:"WF",callingCode:"681"},{name:"Samoa",cca2:"WS",callingCode:"685"},{name:"Yemen",cca2:"YE",callingCode:"967"},{name:"South Africa",cca2:"ZA",callingCode:"27"},{name:"Zambia",cca2:"ZM",callingCode:"260"},{name:"Zimbabwe",cca2:"ZW",callingCode:"263"}],c={countries:n.computed(function(){var n=k.filter(function(n){return!!n.callingCode}).map(function(n){return n.text=i.getResource("localeDisplayNames/territories/"+n.cca2),n});return n.sort(function(n,i){return!~l.priorityCountries.indexOf(n.cca2)?!~l.priorityCountries.indexOf(i.cca2)?t.localeComparer(n.text(),i.text()):1:!~l.priorityCountries.indexOf(i.cca2)?-1:l.priorityCountries.indexOf(n.cca2)-l.priorityCountries.indexOf(i.cca2)}),n}),phoneNumber:n.observable(v.phoneNumber),callingCode:n.observable(v.callingCode),countryCode:n.observable(v.countryCode),dropdownPosition:n.observable("bottom: 0")};c.countryCode.flagcss=n.computed(function(){return c.countryCode()?"flags-"+c.countryCode():""});c.callingCode.displayValue=n.computed(function(){return c.callingCode()?"+"+c.callingCode():""});c.onSelectCountry=function(n){c.callingCode(n.callingCode);c.countryCode(n.cca2)};c.updateDropdownPosition=function(n,t){var i=parseInt(r(t.target).parents(".dropdown").find("ul").outerHeight()),u=r(t.target).parents(".dropdown").next(".form-control");parseInt(r(u).offset().top-r(window).scrollTop())>=parseInt(r(window).height()-i)?c.dropdownPosition("top: -"+i+"px"):c.dropdownPosition("bottom: 0")};var p=function(){a({countryCode:c.countryCode(),callingCode:c.callingCode(),phoneNumber:c.phoneNumber()})},d=function(){var t=n.unwrap(a)||{};c.phoneNumber(t.phoneNumber);c.callingCode(t.callingCode);c.countryCode(t.countryCode)},w=[c.phoneNumber.subscribe(p),c.countryCode.subscribe(p),a.subscribe(d),],g=h.createChildContext(c),b=f.ownerDocument.createElement("div");return f.appendChild(b),n.renderTemplate(l.template+"-"+n.unwrap(l.mode),g,{},b,"replaceNode"),n.utils.domNodeDisposal.addDisposeCallback(f,function(){while(w.length)w.pop().dispose()}),{controlsDescendantBindings:!0}},update:function(){}};n.validation.makeBindingHandlerContainerAware("internationalPhone",!0)};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-chart",i=["knockout","chartjs-core","globalize-date"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.CPU.configuration,$))},u=function(n,t){n.bindingHandlers.chart={init:function(){},update:function(i,r,u){var f=n.toJS(n.unwrap(r())),o=u.get("legendElement")||"js-legend",e;if(f.data==null){i.chart!=null&&i.chart.clear();return}if(i.chart==null){i.chart=new t(i,f);$("#"+o).html(i.chart.generateLegend());return}i.chart.data.labels!=null&&i.chart.data.labels.splice(0,i.chart.data.labels.length);i.chart.data.datasets.splice(0,i.chart.data.datasets.length);i.chart.data.labels!=null&&Array.prototype.push.apply(i.chart.data.labels,f.data.labels);Array.prototype.push.apply(i.chart.data.datasets,f.data.datasets);e=function(n,t){Object.keys(t).forEach(function(i){typeof t[i]!="object"?n[i]=t[i]:Object.keys(t[i]).length>0&&t[i].constructor.name!="String"?e(n[i],t[i]):n[i]=t[i]})};e(i.chart.options,f.options);$("#"+o).html(i.chart.generateLegend());i.chart.update()}}};r(u)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-margins",r=["knockout","jQuery","messenger"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,$,n.CPU.messenger))},f=function(n,i,r){var u=function(){};n.bindingHandlers.margins={init:function(){},update:function(u,f,e){var o=e.get("marginOptions"),c=n.unwrap(f()),l=o.heroMin,h=o.footer,s=function(){var r=i(t.body).height(),n=i(u),f=n.parents(".body-content"),e=parseInt(f.css("padding-bottom"),10),o=n.position(),s=n.outerHeight(!1),c=i(h),l=Math.max(r-o.top-s-Math.max(c.height(),e),0);n.css("margin-top",l+"px")};n.utils.domNodeDisposal.removeDisposeCallback(u,r.subscribe("screen-resize",s).dispose);setTimeout(s,0)}}};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-modals",i=["knockout","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},u=function(n){n.bindingHandlers.modals={init:function(t,i,r,u,f){var e=i(),o=f.createChildContext(e);return e.init(t),n.applyBindingsToDescendants(o,t),{controlsDescendantBindings:!0}},update:function(){}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-number",i=["knockout","globalize","globalize-number","globalize-currency"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize))},u=function(n,t){var u=function(n){var i=n.ownerDocument,t=undefined;try{t=i.activeElement}catch(r){t=i.body}return t===n},f=function(r,u){var f,e;return i(r)?(f=function(){return n.unwrap(n.unwrap(r).value)},e=function(t){n.unwrap(r).value(t)}):(f=function(){return n.unwrap(r)},e=function(n){r(n)}),n.computed({read:function(){var i=f(),r;if(i===null||i===undefined)return"";if(!t.locale()||typeof i=="string")return i;if(i=parseFloat(i),u.elementHasFocus())return t.formatNumber(i,{useGrouping:!1,maximumFractionDigits:6});if(u.numberFormat){if(u.numberFormat.nilValue&&i===0)return n.unwrap(u.numberFormat.nilValue);if(u.numberFormat.noValue&&(i===undefined||i===null))return n.unwrap(u.numberFormat.noValue);if(u.numberFormat.currency)return(r=n.unwrap(u.numberFormat.currency),u.numberFormat.currencyMode==="forceCode")?(u.numberFormat.minimumFractionDigits=2,u.numberFormat.maximumFractionDigits=2,r+" "+t.formatNumber(i,u.numberFormat)):t.formatCurrency(i,r,u.numberFormat)}return t.formatNumber(i,u.numberFormat)},write:function(n){e(n)}})},r=function(t,i,r){var e=n.observable(u(t)),o=function(n){e(n)},s=o.bind(null,!0),h=o.bind(null,!1),c=f(i,{elementHasFocus:e,numberFormat:r});t.tagName.toLowerCase()==="input"?(n.utils.registerEventHandler(t,"focus",s),n.utils.registerEventHandler(t,"focusin",s),n.utils.registerEventHandler(t,"blur",h),n.utils.registerEventHandler(t,"focusout",h),n.applyBindingsToNode(t,{value:c})):n.applyBindingsToNode(t,{text:c})},i;n.bindingHandlers.number={init:function(t,i,u){var f=i();n.isObservable(i())||(f=n.computed(function(){return i()},null,{disposeWhenNodeIsRemoved:t}));r(t,f,u.get("numberFormat"))}};n.bindingHandlers.currency={init:function(t,u,f){var e=u(),o=f.get("numberFormat")||{};n.isObservable(u())||(e=n.computed(function(){return u()},null,{disposeWhenNodeIsRemoved:t}));i(e)&&(n.utils.extend(o,{currency:n.computed(function(){return n.unwrap(n.unwrap(e).currency)})}),n.unwrap(e).forceCode&&n.utils.extend(o,{currencyMode:"forceCode"}));r(t,e,o)}};i=function(t){return t=n.unwrap(t),t&&typeof t=="object"&&t.hasOwnProperty("currency")&&t.hasOwnProperty("value")}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-options",i=["knockout","resources","configuration","jQuery","messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.CPU.configuration,$,CPU.messenger))},u=function(n,t,i,r,u){var f=function(n,t){return n&&t.hasOwnProperty(n)?t[n]:t}.curry(),e=function(){var t=function(t,i,r){this.element=t;this.parentElement=t.parentNode;this.source=i;this.valueTarget=r.value;this.valueSelector=f(r.optionsValue);this.textSelector=f(r.optionsText);this.placeholder=r.optionsCaption;this.lookupSource=r.optionsLookup;this.highlightOptions=r.optionsHighlight;this.optionsUseDefault=r.optionsUseDefault===undefined?!1:n.unwrap(r.optionsUseDefault);this.displayValue=n.computed(function(){var t=this.valueTarget();return t?n.unwrap(this.textSelector(t)):n.unwrap(this.placeholder)},this);this.messageName=r.optionsMode==="autocomplete"?"modal-autocomplete":"modal-dropdown";this.isAutocomplete=n.computed(function(){return r.optionsMode==="autocomplete"},this);this.hasValue=n.computed(function(){return this.valueTarget()!==undefined},this);this.showClear=n.computed(function(){return n.unwrap(this.placeholder)!==undefined},this);this.optionsUseDefault||(this.init(),this.addEventHandlers(),n.applyBindings(this,this.$container[0]))};return t.prototype.init=function(){this.$container=r('<div class="modalOption form-control" data-bind="css: {\'modalOption-hasValue\': hasValue, \'modalOption-autocomplete\': isAutocomplete, \'modalOption-showClear\': showClear}"><span class="modalOption-value" data-bind="resourceText: displayValue"><\/span><span class="modalOption-clear">×<\/span><span class="modalOption-dropdown glyphicon glyphicon-triangle-bottom text-primary"><\/span><\/div>');this.parentElement.insertBefore(this.$container[0],this.element.nextSibling);this.$selectedSpan=this.$container.find(".modalOption-value");this.$clearButton=this.$container.find(".modalOption-clear");this.$dropdownIndicator=this.$container.find(".modalOption-dropdown");this.element.style.display="none"},t.prototype.addEventHandlers=function(){this.$container.on("click.options",".modalOption-value, .modalOption-dropdown",this.onDropDown.bind(this));this.$container.on("click.options",".modalOption-clear",this.onClearValue.bind(this))},t.prototype.onDropDown=function(){u.call(this.messageName,this).then(function(n){this.valueTarget(n)}.bind(this))},t.prototype.onClearValue=function(){this.valueTarget(undefined)},t.prototype.dispose=function(){this.$container.off("click.options",".modalOption-value, .modalOption-dropdown");n.cleanNode(this.$container[0]);this.$container.remove()},t}(),o=n.bindingHandlers.options.init;n.bindingHandlers.options.init=function(i,r,u,f,s){var h={value:u.get("value"),optionsValue:u.get("optionsValue"),optionsText:u.get("optionsText"),optionsCaption:t.getResource(u.get("optionsCaption")),optionsLookup:u.get("optionsLookup"),optionsMode:u.get("optionsMode"),optionsHighlight:u.get("optionsHighlight"),optionsUseDefault:u.get("optionsUseDefault")},c=new e(i,r(),h);return n.utils.domData.set(i,"optionsModel",c),h.optionsMode!=="autocomplete"?o(i,r,u,f,s):void 0};n.bindingHandlers.enterkey={init:function(t,i){r(t).on("keypress.enterkey",function(n){n.which===13&&i()(n.target)});n.utils.domNodeDisposal.addDisposeCallback(t,function(){r(t).off("keypress.enterkey")})},update:function(){}}};r(u)}(),function(){var n=this||eval("this"),c=n.document,r="knockout-binding-pieChart",u=["knockout","CommonModels","resources","optional!messenger"],f=function(t){typeof define=="function"&&define.amd?define(r,u.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,n.CPU.commonModels,n.CPU.resources,n.CPU.messenger))},t=Math.PI*2,e=5,o=15,i=20,s=function(n){return n/360*t},h=function(r,u,f,h){var c=function(){var t=function(n,t,i){this.subscriptions=[];this.element=n;this.currentWidth=undefined;this.options=this.processDefaults(i);this.model=new l(t,i);this.dispose=this.dispose.bind(this);this.onDrawAnimation=this.onDrawAnimation.bind(this);this.onDrawPct=this.onDrawPct.bind(this);this.init();this.onDraw()};return t.prototype.processDefaults=function(n){return n.value=n.value||"value",n.ticker=n.ticker||"ticker",n.colour=n.colour||"colour",n.otherText=r.unwrap(f.getResource(n.otherText))||n.otherText,n.maxLegendEntries=n.maxLegendEntries||5,n.height=n.height||250,n.easing=n.easing||"none",n.duration=n.duration||1e3,n.origin=s(n.origin!==undefined?n.origin:270),n},t.prototype.init=function(){this.canvas=this.element.ownerDocument.createElement("canvas");this.syncCanvasAttributes();this.currentWidth||this.pollForElementWidth();this.element.appendChild(this.canvas);this.subscriptions.push(this.model.segments.subscribe(this.onDraw,this));h&&this.subscriptions.push(h.subscribe("screen-resize",this.onResize,this))},t.prototype.syncCanvasAttributes=function(){this.currentWidth=this.element.clientWidth;this.canvas.style.width=this.element.clientWidth+"px";this.canvas.style.height=this.options.height+"px";this.fontHeight=undefined},t.prototype.pollForElementWidth=function(){setTimeout(function(){this.syncCanvasAttributes();this.currentWidth?this.model.segments().length>0&&this.onDraw():this.pollForElementWidth()}.bind(this),10)},t.prototype.onResize=function(){this.element.clientWidth!=this.currentWidth&&(this.syncCanvasAttributes(),this.onDraw())},t.prototype.dispose=function(){while(this.subscriptions.length)this.subscriptions.pop().dispose()},t.prototype.onDraw=function(){if(this.currentWidth&&this.model.segments().length!==0){var n=this.canvas.getContext("2d");this.setSize(n);this.fontHeight||(this.fontHeight=this.measureFontHeight()==0?14:this.measureFontHeight());this.onDrawAnimation()}},t.prototype.onDrawAnimation=function(n){if(!n){this.animationIdentifier&&window.cancelAnimationFrame(this.animationIdentifier);this.animationIdentifier=window.requestAnimationFrame(this.onDrawAnimation);this.frameCount=0;this.lastTimestamp=undefined;this.restartFlag=!1;return}this.frameCount++;this.frameCount===1?this.lastTimestamp=n:this.frameCount!==2||this.restartFlag||n-this.lastTimestamp>200&&(this.easing=undefined,this.frameCount=1,this.lastTimestamp=n,this.restartFlag=!0);this.easing=this.easing||new a(this.options.easing,n,this.options.duration).easing;var t=Math.min(1,this.easing(n));this.onDrawPct(t);t<1?this.animationIdentifier=window.requestAnimationFrame(this.onDrawAnimation):(this.animationIdentifier=undefined,this.easing=undefined)},t.prototype.onDrawPct=function(n){var t;n=n!==undefined?n:1;t=this.canvas.getContext("2d");t.clearRect(0,0,this.canvas.width,this.canvas.height);var h=this.model.segments(),r=this.model.legendEntries(),u=r.map(function(n){return Math.max(t.measureText(n.ticker).width,t.measureText(n.legendValue).width)},this).reduce(function(n,t){return Math.max(n,t)},0);r.forEach(function(n,t){n.legend={rightOffset:u+i,Y1:t*(this.fontHeight+e)*2+this.fontHeight*this.ratio};n.legend.Y2=n.legend.Y1+this.fontHeight},this);var c=this.canvas.width-u-o*2-i,f=Math.floor(c*.4),s=Math.floor(this.canvas.height/2),l=Math.min(f,s)*.95;this.drawDonut({context:t,cX:f,cY:s,radius:l,width:this.canvas.width,origin:this.options.origin,drawPct:n},h);this.drawLegend({context:t,width:this.canvas.width},r)},t.prototype.setSize=function(t){var r=n.devicePixelRatio||1,e=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1,i=r/e,u,f;this.ratio=i;i!=0&&(u=this.canvas.clientWidth,f=this.canvas.clientHeight,this.canvas.width=u*i,this.canvas.height=f*i,this.canvas.style.width=u+"px",this.canvas.style.height=f+"px",t.setTransform(i/r,0,0,i/r,0,0),t.font=14*i+"px sans-serif")},t.prototype.drawDonut=function(n,t){var r=n.context,u=n.cX,f=n.cY,i;for(n.startArc=0,i=0;i<t.length;i++)n.startArc=this.drawWedge(n,t[i])},t.prototype.drawLegend=function(n,t){for(var i=0;i<t.length;i++)this.drawLegendEntry(n,t[i])},t.prototype.drawWedge=function(n,t){var i=n.context,r=n.cX,u=n.cY,f=n.startArc*n.drawPct+n.origin,e=f+t.radians*n.drawPct;return i.save(),i.moveTo(r,u),i.beginPath(),i.arc(r,u,n.radius,f,e,!1),i.arc(r,u,n.radius*.6,e,f,!0),i.closePath(),i.fillStyle=t.colour,i.fill(),i.restore(),n.startArc+t.radians},t.prototype.drawLegendEntry=function(n,t){var i=n.context,r=t.legend,u=n.width-r.rightOffset;i.save();i.strokeStyle="black";i.lineWidth=1;i.fillStyle=t.colour;i.fillRect(u-this.fontHeight*1.5,r.Y1-this.fontHeight/2,this.fontHeight,this.fontHeight);i.strokeRect(u-this.fontHeight*1.5,r.Y1-this.fontHeight/2,this.fontHeight,this.fontHeight);i.fillStyle="black";i.fillText(t.ticker,u,r.Y1);i.fillText(t.legendValue,u,r.Y2);i.restore()},t.prototype.measureFontHeight=function(){var i=this.canvas.getContext("2d"),o=0,s=0,r=100,u=100;i.save();i.translate(o,s+Math.round(u*.8));i.strokeText("gÀ",0,0);i.restore();for(var h=i.getImageData(o,s,r,u).data,f=!1,e=!1,t=u,n=0;!e&&--t;)for(n=0;n<r;n++)if(h[t*r*4+n*4+3]){e=t;break}while(--t){for(n=0;n<r;n++)if(h[t*r*4+n*4+3]){f=t;break}if(f!=t)return e-f}return 0},t}(),l=function(){var n=function(n,t){this.data=n;this.options=t;this.getValue=this.getValue.bind(this);this.getValueText=this.getValueText.bind(this);this.buildModel()};return n.prototype.getTicker=function(n){return r.unwrap(n[this.options.ticker])},n.prototype.getRawValue=function(n){return r.unwrap(n[this.options.value])},n.prototype.getColour=function(n){return r.unwrap(n[this.options.colour])},n.prototype.getValue=function(n){var t=this.getRawValue(n);return t instanceof u.Money&&(t=t.value),r.unwrap(t)},n.prototype.getValueText=function(n){var t=r.unwrap(n[this.options.value]);return t instanceof u.Money?t.toString():globalize.formatNumber(t)},n.prototype.buildModel=function(){this.segments=r.computedArray(function(){var i=this.data.map(function(n){return{value:this.getValue(n),legendValue:this.getValueText(n),ticker:this.getTicker(n),colour:this.getColour(n),item:n}},this).filter(function(n){return n.value!==undefined&&n.value!==0}),u=i.reduce(function(n,t){return n+t.value},0),r,n;for(i.forEach(function(n){n.pct=n.value/u;n.radians=t*(n.value/u)}),r=i.length-1;r>=0;r--)n=i[r],n.pct>.99&&(n.radians/=2,i.splice(r,0,{value:n.value,legendValue:n.legendValue,ticker:n.ticker,colour:n.colour,item:n.item,radians:n.radians,noLegend:!0}));return i},this);this.legendEntries=r.computedArray(function(){var t=this.options.maxLegendEntries,n=this.segments().filter(function(n){return n.noLegend!==!0}),i=n.slice(0,t),f,e;return n.length===t+1?i.push(n.slice(-1)[0]):n.length>t&&(f=n[t].colour,e=n.slice(t).reduce(function(n,t){return n.add(this.getRawValue(t.item))}.bind(this),new u.Money),i.push({ticker:r.unwrap(this.options.otherText),legendValue:e.toString(),colour:f})),i},this)},n}(),a=function(){var n={none:function(){return 1},easeInQuart:function(n){return Math.pow(n,4)},easeOutQuart:function(t){return 1-n.easeInQuart(1-t)}},t=function(t,i,r){this.start=i;this.duration=r;this.fn=n[t]||n.none;this.easing=this.easing.bind(this)};return t.prototype.easing=function(n){var t=Math.min(1,(n-this.start)/this.duration);return this.fn(t)},t}();r.bindingHandlers.pieChart={init:function(n,t,i){if(!Modernizr.canvas){n.appendChild(n.ownerDocument.createComment("Canvas is not supported"));return}var u=new c(n,t(),i.get("chartOptions"));return r.utils.domNodeDisposal.addDisposeCallback(n,u.dispose),{controlsDescendantBindings:!0}},update:function(){}}};f(h)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-profileIconStatus",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko))},u=function(n){n.bindingHandlers.profileIconStatus={init:function(){},update:function(n,t){var i=t()+"%";i<=100&&i>66&&(i=75);i<=66&&i>33&&(i=50);i<=33&&i>0&&(i=25);$(n).find(".profile-icon__percentage").each(function(){$(this).animate({height:i},2500)})}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-resourceText",i=["knockout","resources","configuration","jQuery","globalize-knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.CPU.configuration,$,n.Globalize))},u=function(n,t,i,r,u){function s(t,i){for(var u,r=0,e=t.length,f=[];r<e;r++)u=t[r].cloneNode(!0),f.push(i?n.cleanNode(u):u);return f}var o=i.resourceRoot||"CPU",f="resourceText",e;n.bindingHandlers.resourceText={init:function(t,i,r,u,e){var o=s(n.virtualElements.childNodes(t),!0);return n.virtualElements.emptyNode(t),n.utils.domData.set(t,f,o),n.bindingHandlers.html.init(t,i,r,u,e)},update:function(e,s,h,c,l){var a=n.unwrap(s()),v=h.get("resourceOptions"),p=v&&v.parameters||{},y,b,w;typeof a=="object"&&a["class"]&&(a=a["class"]+"-"+a.resourceKey);y=n.utils.domData.get(e,f);b=r(y);r(y).filter("[data-parameter]").each(function(){p[r(this).data("parameter")]=this.outerHTML});w=n.computed(function(){var l=a&&!!~a.indexOf(o+"/"),y=a&&u.rootResources.some(function(n){return!!~a.indexOf(n)}),f,h,r,s,c;return l|y?(f=t.getResource(a,undefined,p),h=n.utils.extend({hideIfUndefined:i.resourcesHideIfUndefined},v),h.hideIfUndefined&&(r=f.peek(),r&&r>""&&(s=i.undefinedResourceRegex,c=r==a||s&&r.match(s),e.style.display=c?"none":"")),f):a});n.bindingHandlers.html.update(e,w,h,c,l);e.querySelectorAll("[data-bind]").length&&n.applyBindingsToDescendants(l,e)}};e=n.bindingHandlers.options.update;n.bindingHandlers.options.update=function(n,i,r,u,f){var o=r,s=r.has("optionsCaption")&&r.get("optionsCaption");s&&(o={has:function(n){return r.has(n)},get:function(n){return n==="optionsCaption"?t.getResource(r.get(n)):r.get(n)}});e(n,i,o,u,f)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-scrollPosition",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko))},u=function(n){n.bindingHandlers.scrollPosition={init:function(){},update:function(t,i){var r=i();if(n.isObservable(r)&&(r={top:r}),typeof r!="object")throw new Error("Invalid configuration for scroll position");r.top!==undefined&&(t.scrollTop=n.unwrap(r.top));r.left!==undefined&&(t.scrollLeft=n.unwrap(r.left))}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-scrollTop",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko))},u=function(n){n.bindingHandlers.scrollTop={init:function(n,t){var r=300,u=1200,f=700,i=$(n),e=t();$(window).scroll(function(){$(this).scrollTop()>r?i.addClass("cd-is-visible"):i.removeClass("cd-is-visible cd-fade-out");$(this).scrollTop()>u&&i.addClass("cd-fade-out")});i.on("click",function(n){n.preventDefault();$("body,html").animate({scrollTop:0},f)})},update:function(){}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-scrollTopAccordion",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko))},u=function(n){n.bindingHandlers.scrollTopAccordion={init:function(t,i){var r=i(),u=n.unwrap(r)},update:function(t,i){var r=i(),u=n.unwrap(r);$("#"+u).on("shown.bs.collapse",function(){var n=$(this).find(".collapse.in").prev(".panel-heading");n&&$("html,body").animate({scrollTop:$(n).offset().top-60},500)})}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-style",i=["knockout","resources","configuration","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.resources,n.CPU.configuration,$))},u=function(n,t,i){var r=n.bindingHandlers.style.update,u=i.resourceRoot||"CPU";n.bindingHandlers.style.update=function(i,f,e,o,s){var l=n.unwrap(f()),h={},c;n.utils.objectForEach(l,function(n,i){typeof i=="object"&&i["class"]&&(i=i["class"]+"-"+i.resourceKey);h[n]=typeof i!="string"||!~i.indexOf(u+"/")?i:t.getResource(i)});c=function(){return h};r(i,c,e,o,s)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-tooltip",i=["knockout","jQuery"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},u=function(n,t){n.bindingHandlers.tooltip={init:function(i,r,u,f,e){var s=t(i),o=r();o.title&&n.applyBindingsToNode(i,{attr:{"data-original-title":o.title}},e);o.position&&s.data("placement",o.position);o.html&&s.data("html",o.html);s.tooltip()},update:function(){}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-transaction-steps",i=["jQuery","knockout","knockout-binding-validation-container"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(window.$,n.ko))},u=function(n,t){t.bindingHandlers.transactionSteps={init:function(i,r){var u=n(i),f=r();return t.renderTemplate("transactionStepsTemplate",f,{},u,"replaceNode"),{controlsDescendantBindings:!0}},update:function(){}}};r(u)}(),function(){function u(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function f(n,t){var u,f,i,e,r,o;return r=0,o=function(){r=new Date;i=null;e=n.apply(u,f)},function(){var s=new Date,h=t-(s-r);return u=this,f=arguments,h<=0?(clearTimeout(i),i=null,r=s,e=n.apply(u,f)):i||(i=setTimeout(o,h)),e}}var n=this||eval("this"),s=n.document,t="knockout-binding-typeahead",i=["knockout","jQuery","typeahead.js"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,$))},e=function(n,t,i){return function(r,e,o){var s=[],h=new RegExp(u(r),"i"),c=n.length>0,l=f(n,i||1e3);l(r).then(function(n){$.each(n,function(n,i){var r=t?i[t]:i;c?s.push(i):h.test(r)&&s.push(r)});o(s)})}},o=function(n,t){n.bindingHandlers.typeahead={init:function(i,r){function o(n){f||n&&t(i).typeahead("val",n[u.data.display]);f=!1}var u=n.unwrap(r())||{},f=!1,c=u.value.subscribe(o),s,h,l;n.utils.domNodeDisposal.addDisposeCallback(i,function(){t(i).unbind("typeahead:select typeahead:idle");t(i).typeahead("destroy");c.dispose()});s=u.data.search;delete u.data.search;h=t.extend({async:!0,source:e(s,u.data.display)},u.data);l=t(i).attr("autocomplete","off").typeahead(u,h);t(i).bind("typeahead:select",function(t,i){n.isWriteableObservable(u.value)&&(f=!0,u.value(i))});t(i).bind("typeahead:idle",function(){var n=t(i).typeahead("val");n===""&&u.value(undefined)});u.value()&&o(n.unwrap(u.value))},update:function(){}}};r(o)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-binding-validation-container",r=["knockout","knockout-validation","optional!messenger","knockout-binding-number"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,ko.validation,n.CPU.messenger))},f=function(n,i,r){var f=function(){var n=$(t).find("#errorPanel:visible, span.validationMessage:visible").position();n!==undefined&&($(window).scrollTop(n.top-90),$(t).find("span.validationMessage:visible").next("input:first").focus())},u,e;r&&r.subscribe("validation-showFirstError",f);u="validationContainer";i.utils.findValidationContainer=function(t){for(var i=t,r=undefined;i&&!r;)r=n.utils.domData.get(i,u),i=i.parentElement||i.parentNode;return r};e=function(){var r=function(n,t,r,u){return i.utils.isValidatable(u)?r.push(u):Array.isArray(u())&&(t.push(u.subscribe(function(t){n.removeAll(t)},null,"beforeChange")),t.push(u.subscribe(function(t){n.push.apply(n,t.filter(i.utils.isValidatable))})),r.push.apply(r,u().filter(i.utils.isValidatable))),r}.curry(),u=function(n,t){var i=t.isValid&&t.isValid(),r=t.isModified&&t.isModified();return i||!n.messagesOnModified&&r}.curry(),f=function(n){return!!n},t=function(t,i,e,o){this.validatables=n.observableArray();this.validatables(e.reduce(r(this.validatables,t),[]));this.group=n.validation.group(this.validatables,{live:!0});this.triggerAsyncValidation=o&&o.asyncToggle;this.isValid=n.computed(this.buildEvaluator(!0,"isValid","every",!0));this.isValidWithoutGenerics=n.computed(this.buildEvaluator(!1,"isValid","every",!0));this.isValidating=n.computed(this.buildEvaluator(!0,"isValidating","some",!1));this.validatables.isValidationGroup=!0;this.validatables.extend({validation:{validator:function(n){return n.length===0||n.map(u(i)).every(f)}}})};return t.prototype.buildEvaluator=function(n,t,r,u){var f=function(e){return e.length===0?u:e[r](function(r){return i.utils.isValidatable(r)?r[t]&&r[t]()?!0:n?!1:r.isValidationGroup?f(r()):r.isGenericError:r.length!==0})};return function(){var n=this.validatables()||[];return f(n)}.bind(this)},t.prototype.dispose=function(){this.isValid.dispose();this.isValidWithoutGenerics.dispose();this.isValidating.dispose()},t}();n.bindingHandlers.validationContainer={init:function(t,f,o){var l=f(),a=i.utils.getConfigOptions(t),h=[],v=o.get("validationContainerOptions")||{asyncToggle:undefined},s=new e(h,a,l,v),c=i.utils.findValidationContainer(t);c?c.validatables.push(s.validatables):r&&(r.publish("error-validation",s.validatables,s.group),n.utils.domNodeDisposal.addDisposeCallback(t,function(){r.publish("error-clear")}));n.utils.domData.set(t,u,s);n.utils.domNodeDisposal.addDisposeCallback(t,function(){while(h.length>0)h.pop().dispose();s.dispose()})},update:function(){}};n.bindingHandlers.validationContainerStatus={update:function(t,r,u,f,e){var c=r()||{},s=c.mode||"css",l=c.ignoreGeneric||!1,h=i.utils.findValidationContainer(t),o;h&&(o=l?h.isValidWithoutGenerics:h.isValid,s=="css"?n.bindingHandlers.css.update(t,function(){return{"container-valid":o,"container-invalid":!o()}},u,f,e):s=="disable"?n.bindingHandlers.disable.update(t,function(){return!o()},u,f,e):s=="enable"?n.bindingHandlers.enable.update(t,function(){return o},u,f,e):console.warn("Unsupported mode of "+s))}};n.bindingHandlers.validationPlaceholder={init:function(){}};n.bindingHandlers.validationContainerItem={init:function(t,r){var u=r(),f;if(!n.isObservable(u)&&u.param){if(u.condition!==undefined&&!n.unwrap(u.condition))return;u=u.param}n.isObservable(u)&&i.utils.isValidatable(u)&&(f=i.utils.findValidationContainer(t),f&&!~f.validatables.indexOf(u)&&f.validatables.push(u),n.utils.domNodeDisposal.addDisposeCallback(t,function(){var n=f.validatables().indexOf(u);f.validatables.splice(n,1)}))}};i.makeBindingHandlerContainerAware=function(t,r){var f=n.bindingHandlers[t].init,u=n.bindingHandlers[t].update;n.bindingHandlers[t].init=function(t,u,e,o,s){var h=u(),a,y=!1,p,b,c,w,l,v;if(n.isObservable(h)&&i.utils.isValidatable(h)&&(a=i.utils.findValidationContainer(t),a&&!~a.validatables.indexOf(h)&&(a.validatables.push(h),y=!0),y||n.applyBindingsToNode(t,{validationOptions:{insertMessages:!1,decorateInputElement:!1}},s),t.setAttribute("data-decorate",e.get("decorateFieldset")?"fieldset":"#form-group")),p=f(t,u,e,o,s),r&&n.bindingHandlers.validationCore.init(t,u,e,o,s),!n.isObservable(h)||!i.utils.isValidatable(h))return p;if(b=i.utils.getConfigOptions(t),b.decorateFormGroup&&y){for(c=t,w=!1;c&&c.tagName.toLowerCase()!=="form";){if(i.hasClassName(c,"form-group")){w=!0;break}c=c.parentNode}for(l=t,v=!1;l&&l.tagName.toLowerCase()!=="form";){if(l.tagName.toLowerCase()==="fieldset"){v=!0;break}l=l.parentNode}w&&!v&&n.applyBindingsToNode(c,{validationElement:h},s);v&&n.applyBindingsToNode(l,{validationElement:h},s)}return n.utils.domNodeDisposal.addDisposeCallback(t,function(){var n=a.validatables().indexOf(h);a.validatables.splice(n,1)}),p};n.bindingHandlers[t].update=function(t,r,f,e,o){var s=r(),c,h;(u&&u(t,r,f,e,o),n.isObservable(s)&&i.utils.isValidatable(s))&&(n.bindingHandlers.requiredIndicator.update(t,r,f,e,o),c=i.utils.isValidatable(s),h=c&&s.rules.find(function(n){return n.rule==="maxLength"&&(!n.condition||n.condition())}),h?t.setAttribute("maxLength",n.unwrap(h.params)):t.hasAttribute("maxLength")&&t.removeAttribute("maxLength"))}};i.makeBindingHandlerContainerAware("value");i.makeBindingHandlerContainerAware("selectedOptions");i.makeBindingHandlerContainerAware("textInput");i.makeBindingHandlerContainerAware("checked");i.makeBindingHandlerContainerAware("validationPlaceholder",!0);i.makeBindingHandlerValidatable("number");i.makeBindingHandlerValidatable("currency");i.makeBindingHandlerContainerAware("number");i.makeBindingHandlerContainerAware("currency"),function(){var t=n.bindingHandlers.submit.init;n.bindingHandlers.submit.init=function(n,r,u,e,o){var s=i.utils.findValidationContainer(n),h;s&&(h=r(),r=function(){return function(n){s.group.showAllMessages(!0);var t=h.call(this,n,s.group);return s.group.isAnyMessageShown()&&f(),t}});t(n,r,u,e,o)};n.bindingHandlers.submit.after=n.bindingHandlers.submit.after||[];n.bindingHandlers.submit.after.push("validationContainer")}(),function(){var t=n.bindingHandlers.validationElement.update;n.bindingHandlers.validationElement.update=function(n,r,u,f,e){t(n,r,u,f,e);var h=i.utils.getConfigOptions(n),o=h.errorElementClass,s;s=n.classList&&n.classList.contains?n.classList.contains(o):!!~(n.className.match(/\S+/g)||[]).indexOf(o);s?n.setAttribute("aria-invalid","true"):n.hasAttribute("aria-invalid")&&n.removeAttribute("aria-invalid")}}();n.virtualElements.allowedBindings.validationContainer=!0};u(f)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-binding-validation-summary",r=["knockout","knockout-validation","optional!messenger","resources","knockout-binding-validation-container"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,ko.validation,n.CPU.messenger,n.CPU.resources))},f=function(n,i){var r=function(){return function(t,r,u){var f=i.utils.getConfigOptions(r),e=function(n){var t=n.isValid&&n.isValid(),i=n.isModified&&n.isModified(),r=n.isGenericError||!1;return!t&&(!f.messagesOnModified||i)&&(!u||r)};this.validatables=t;this.properties=n.computedArray(function(){var n=function(t){if(t.isValidationGroup){var i=t(),r=i.map(n);return Array.prototype.concat.apply([],r)}return[t]};return Array.prototype.concat.apply([],this.validatables.map(n))},this);this.errors=n.computedArray(function(){return(this.properties()||[]).filter(e)},this);this.isAnyMessageShown=n.computed(function(){var n=this.properties();return n&&this.errors().length>0||!1},this)}}(),u='<div id="errorPanel" data-bind="visible: isAnyMessageShown()"><div class="panel panel-danger"><ul class="list-group" data-bind="foreach: errors"><li class="list-group-item" data-bind="validationText: $rawData, validationTextMode: \'panel\'"><\/li><\/ul><\/div><\/div>';n.bindingHandlers.validationSummary={init:function(f,e,o,s,h){var l=e()||{},a=i.utils.findValidationContainer(f),c,v,y;if(l.genericOnly=l.genericOnly||!1,a)return c=i.utils.getConfigOptions(f),c&&c.summaryTemplate?n.virtualElements.setDomNodeChildren(f,[t.createComment(" ko template: { name: '"+c.summaryTemplate+"' } "),t.createComment(" /ko ")]):n.virtualElements.setDomNodeChildren(f,n.utils.parseHtmlFragment(u)),v=new r(a.validatables,f,l.genericOnly),y=h.createChildContext(v),n.applyBindingsToDescendants(y,f),{controlsDescendantBindings:!0}},update:function(){}};n.virtualElements.allowedBindings.validationSummary=!0};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-validation-text",i=["knockout","knockout-validation","resources"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,ko.validation,n.CPU.resources))},u=function(n,t,i){n.bindingHandlers.validationText={init:function(t,i,r,u,f){return n.bindingHandlers.text.init(t,i,r,u,f)},update:function(r,u,f,e,o){var s=u(),c=f.get("validationTextMode")||"inline",l=t.utils.getConfigOptions(r),a=s.isModified&&s.isModified(),v=s.isValid&&s.isValid(),h=!v&&(!l.messagesOnModified||a),y=function(){var n=undefined;return h&&(n=s.error()),i.getErrorMessage(n,c)},p=function(){return h};n.bindingHandlers.text.update(r,y,f,e,o);n.bindingHandlers.visible.update(r,p,f,e,o)}};n.bindingHandlers.requiredIndicator={update:function(i,r){var u=r(),e=t.utils.isValidatable(u),o=e&&u.rules.find(function(n){return n.rule==="required"&&(!n.condition||n.condition())}),s=function(n){return t.hasClassName(n.parentNode,"form-group")},f=t.utils.findTargetDecoratorElement(i,s,function(n){return n.parentNode});f&&n.utils.toggleDomNodeCssClass(f,"form-control-required",o)}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-binding-wizardPanel",i=["knockout","knockout-validation","optional!messenger","knockout-binding-validation-container"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,ko.validation,n.CPU.messenger))},u=function(n,t){var i=function(n){return n?n.$data&&n.$data.hasOwnProperty("wizardId")?n.$data:i(n.$parentContext):undefined};n.bindingHandlers.wizardAccordionPanel={init:function(r,u,f,e,o){var w=u(),l=t.utils.findValidationContainer(r),a=[],y=r.getAttribute("aria-labelledby"),p=r.className.split(" "),c=undefined,s=i(o),v,h;if(!~p.indexOf("collapse"))throw new Error("wizardPanel binding is not on an element with the collapse class");if(!s)throw new Error("Cannot locate wizard viewmodel");if(!l)throw new Error("Cannot locate validation container");if(!y)throw new Error("Missing aria-labelledby attribute");if(v=r.ownerDocument.querySelector("#"+y),!v||!v.getAttribute("data-parent"))throw new Error("Panel header cannot be located or does not have the data-parent attribute");h={panel:r,validationContainer:l,open:function(){s.activePanel().validationContainer.isValid()&&(s.activePanel().validationContainer.isValidating()?s.activePanel().validationContainer.isValidating.onCondition(!1).then(function(){$(s.activePanel().panel).collapse("hide");$(r).collapse("show")}):$(s.activePanel().panel).collapse("hide"));$(r).collapse("show")}};s.panels.push(h);~p.indexOf("in")?s.activePanel(h):(c=n.observable().extend({required:{message:""}}),l.validatables.push(c));a.push(n.utils.$on(r,"show.bs.collapse",function(n){var t=s.activePanel(),i=function(){t==h||t.validationContainer.isValid()||t.validationContainer.validatables.forEach(function(n){n.isModified(!0)})},r,u;return h.validationContainer.isValid()&&!h.validationContainer.isValidating()&&(t.validationContainer.isValid()||t.panel.id>h.panel.id)?(s.activePanel(h),i(),!0):(t&&t.validationContainer.triggerAsyncValidation&&t.validationContainer.triggerAsyncValidation(!0),t&&(!t.validationContainer.isValid()||t.validationContainer.isValidating()))?(i(),u=n.target,t.validationContainer.isValidating()&&(r=t.validationContainer.isValidating.subscribe(function(){r.dispose();setTimeout(function(){t.validationContainer.isValid()&&$(u).parent().find('div[role="tab"]').trigger("click");t.validationContainer.triggerAsyncValidation&&t.validationContainer.triggerAsyncValidation(!1)},0)})),t.validationContainer.isValidating()||t.validationContainer.triggerAsyncValidation&&t.validationContainer.triggerAsyncValidation(!1),!1):s.firstInvalidPanel()!=h?(i(),!1):(s.activePanel(h),c&&(l.validatables.remove(c),c=undefined),l.validatables.forEach(function(n){n.isModified(!1)}),!0)}));a.push(n.utils.$on(r,"hide.bs.collapse",function(){if(s.activePanel()===h&&(!h.validationContainer.isValid()||h.validationContainer.isValidating()))return!1}));n.utils.domNodeDisposal.addDisposeCallback(r,function(){while(a.length>0)a.pop().dispose();s.panels.remove(h);c&&(l.validatables.remove(c),c=undefined)})},update:function(){}};n.bindingHandlers.wizardAccordionPanel.after=["attr"]};r(u)}(),function(){var n=this||eval("this"),t=n.document,i="knockout-component-captcha",r=["knockout","configuration","ajax","botDetect","messenger"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(n.ko,n.CPU.configuration,n.CPU.ajax,n.CPU.messenger))},f=function(n,i,r,u,f){"use strict";var e=function(){var e=function(t){this.inputId=n.observable(t.inputId);this.id=n.observable(t.id);this.captchaConfig=t.captchaConfig;this.config=n.observable();this.instance=n.observable();this.soundFullUrl=n.observable();this.soundUrl=n.observable();this.imageSource=n.observable();f.subscribe("captcha-force-reload",function(){this.reloadImage()},this);this.onImageLoaded=t.notifyImageLoaded||function(){};var i=this;this.getReloadCaptcha(this.id()).then(function(n){this.buildModel(n);setTimeout(function(){u.Init(n.id,n.instance,i.inputId(),!1,!0,!1,!0,1200,7200,0,!0)},1)}.bind(this))};return e.prototype.buildModel=function(n){this.captchaConfig(n);this.config(n);this.id(n.id);this.instance(n.instance);this.soundFullUrl(this.toAbsoluteUrl(n.soundUrl));this.soundUrl(n.soundUrl);this.imageSource(n.imageUrl)},e.prototype.reloadImage=function(){this.getReloadCaptcha(this.id()).then(function(n){this.buildModel(n);this.updateSoundUrls()}.bind(this));var n=t.getElementById(this.id()+"_AudioPlaceholder");n&&(n.innerHTML="")},e.prototype.getReloadCaptcha=function(n){return r.postJSON(i.baseUrl+"Captcha/Reload?captchaInstance="+n)},e.prototype.playSound=function(){var n=this;this.updateSoundUrls();setTimeout(function(){window[n.id()].PlaySound()},1)},e.prototype.updateSoundUrls=function(){this.soundUrl("");this.soundFullUrl("");var n=new Date,t=n.getTime()+n.getTimezoneOffset()*6e4;this.soundUrl(this.config().soundUrl+"&d="+t+"&e=1");this.soundFullUrl(this.toAbsoluteUrl(this.config().soundUrl+"&d="+t+"&e=1"));window[this.id()].SoundUrl=this.soundUrl();window[this.id()].soundFullUrl=this.soundFullUrl()},e.prototype.toAbsoluteUrl=function(n){var i=t.createElement("div"),r=t.createElement("a");return r.href=n,i.appendChild(r),i.innerHTML=i.innerHTML,i.firstChild.href},e}();n.components.register("captcha",{viewModel:e,template:'<!-- ko template: { name: "template-Captcha" }--><!-- /ko -->'})};u(f)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-component-hcaptcha",i=["knockout","configuration","messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.configuration,n.CPU.ajax,n.CPU.messenger))},u=function(n,t,i){"use strict";var r=function(){var r=function(t){this.input=t.input;this.id=n.observable(t.id);this.hCaptchaWidgetId=n.observable(undefined);i.subscribe("hcaptcha-reload",function(){this.reloadHCaptcha()},this);this.setHCaptchaWidget()};return r.prototype.setHCaptchaWidget=function(){var n=this;setTimeout(function(){var i=hcaptcha.render("captcha-1",{sitekey:t.hCaptchaSiteKey,callback:function(t){n.input(t)}});n.hCaptchaWidgetId(i)},1)},r.prototype.reloadHCaptcha=function(){var n=this.hCaptchaWidgetId();n&&hcaptcha.reset(n)},r}();n.components.register("hcaptcha",{viewModel:r,template:'<!-- ko template: { name: "template-HCaptcha" }--><!-- /ko -->'})};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-component-modal",i=["knockout","messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.messenger))},u=function(n,t){n.components.register("modal",{viewModel:function(n){this.name=n.name;this.linkSelector=n.linkSelector;this.titleSelector=n.titleSelector||".header";this.contentSelector=n.contentSelector||".content .xhtml-panel";this.buttonOptions=n.buttonOptions||"close";this.text=t.call("modal-getLinkText",{name:this.name,linkSelector:this.linkSelector||"#Provider > .xhtml-panel > a"});switch(this.buttonOptions.toLowerCase()){case"yesno":this.okText="CPU/Common/Yes";this.cancelText="CPU/Common/No";break;case"okcancel":this.okText="CPU/Common/Ok";this.cancelText="CPU/Common/Cancel";break;case"close":default:this.okText="CPU/Common/Close";this.cancelText=undefined}this.launchModal=function(){t.publish("modal-show",{name:this.name,titleSelector:this.titleSelector,contentSelector:this.contentSelector,cancelOptions:this.cancelText,okOptions:this.okText,modalBehaviour:{keyboard:!0}},this)}},template:'<a data-bind="click: launchModal, text: text"><\/a>'})};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-component-quicknavigationlinks-panel",i=["knockout","messenger","resources","ajax","configuration"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.messenger,n.CPU.resources))},u=function(n,t,i,r,u){n.components.register("quicknavigationlinks-panel",{viewModel:function(i){this.getQuickNavigationLinks=u.countryContext=="US"?function(n){return typeof n=="function"?r.postJSON(u.baseUrl+"Mobile/GetQuickNavigationLinks?pageKey="+n()):r.postJSON(u.baseUrl+"Mobile/GetQuickNavigationLinks?pageKey="+n)}:function(n){return r.postJSON(u.baseUrl+"Mobile/GetQuickNavigationLinks?pageKey="+n)};this.chevronClass=n.observable("cpuicon cpuicon-chevron-down");this.chevronState=n.observable(!1);this.visibleXS=n.computed(function(){return n.bootstrap.currentBreakpoint()===n.bootstrap.Breakpoints.xs});this.openUrlLocation=n.observable(!1);this.links=n.observable([]);this.toggleChevron=function(){this.chevronState(!this.chevronState());this.chevronState()?this.chevronClass("cpuicon cpuicon-chevron-up"):this.chevronClass("cpuicon cpuicon-chevron-down")};this.onMyProfile=function(){t.publish("onMyProfileClick")};this.onSellYourSecurities=function(){t.publish("holding-checkIfEligible")};this.getQuickNavigationLinks(i.pagekey).showLoading().then(function(n){var t=[];n&&n.QuickNavigationLinkContents.length>0&&(n.QuickNavigationLinkContents.forEach(function(i){i.Text!==""&&i.url!==""&&(n.UserAuthDetails.IsNonMember?n.NonMemberLinksExclusionlist&&n.NonMemberLinksExclusionlist.indexOf(i.Url)===-1&&t.push({text:i.Text,url:i.Url}):t.push({text:i.Text,url:i.Url}))}.bind(this)),this.links(t));t.forEach(function(n){(n.url.toLowerCase().indexOf("beneficiary")!==-1||n.url.toLowerCase().indexOf("myprofile/index/paymentupdate")!==-1||n.url.toLowerCase().indexOf("myprofile/index/portfoliocomms")!==-1||n.url.toLowerCase().indexOf("myprofile/index/bankingdetailsmobile")!==-1)&&this.openUrlLocation(!0)}.bind(this))}.bind(this))},template:'<!-- ko template: { name: "template-QuickNavigationLinksPanel" }--><!-- /ko -->'})};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-ajaxValidator",i=["knockout","knockout-validation","optional!messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.ko.validation,n.CPU.messenger))},u=function(n,t,i){n.extenders.ajaxValidator=function(r,u){var o=u.endpoint,s=u.key,f=u.revalidateWhen,h=u.params,c=u.onAjaxComplete||function(){},e={isValid:!0,message:"No Error"};f&&n.isSubscribable(f)&&f.subscribe(function(n){n&&t.validateObservable(r)});r.extend({validation:{async:!0,validator:function(t,r,u){var h=[t];if(Array.isArray(r)&&Array.prototype.push.apply(h,r.map(function(t){return n.unwrap(t)})),f&&!n.unwrap(f())){u(e);return}o.apply(undefined,h).then(function(n){if(n===!1){e=!1;u(!1);return}if(n===undefined){u(e);return}var r=n.ModelState||n.modelState||[],t=r.find(function(n){return n.Key===s})||{Value:[],Key:""},i={isValid:t.Value.length===0||!t.Value[0],message:t.Value[0]||"No Error"};e=i;u(i);c(n)})["catch"](function(n){i||i.publish("error-systemError",n);e=!1;u(!1)})},onlyIf:u.onlyIf,params:h}})};n.subscribable.fn.onValidationComplete=function(){var n=this,i=n();return new Promise(function(i){if(!t.utils.isValidatable(n)){i(!0);return}if(n.isValidating())var r=n.isValidating.subscribe(function(t){t||(i(n.isValid()),r.dispose())});else i(n.isValid())})}};r(u)}(),function(){}(),function(){var n=this||eval("this"),f=n.document,t="knockout-async",i=["knockout","optional!messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.CPU.messenger))},u=function(n,t){var i=function(n){return n&&n.then&&typeof n.then=="function"};n.extenders.async=function(r,u){if(!n.isComputed(r))throw new Error("Async extender expects a knockout computed");var f=(u?n.observableArray():n.observable()).extend({rateLimit:20,notify:"always"}),e=undefined;return n.computed(function(){var n,o,u,s;if(e&&e.cancel&&e.cancel(),n=r(),Array.isArray(n)){for(o=[],u=0;u<n.length;u++)s=n[u],o[u]=undefined,i(s)?function(n,i){n.then(function(n){o[i]=n;f(o)})["catch"](function(n){t&&t.publish("error-systemError",n)})}(s,u):o[u]=s;f(o)}else i(n)?e=n.then(function(n){return f(n),n})["catch"](function(n){t&&t.publish("error-systemError",n)}):f(n)}),f};n.computed.fn.fromAsync=function(n){return this.extend({async:n})};n.asyncComputed=function(t,i,r){var u=n.computed(t,i,r);return u.fromAsync(!1)};n.asyncComputedArray=function(t,i,r){var u=n.computed(t,i,r);return u.fromAsync(!0)}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-computedArray",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko))},u=function(n){n.extenders.computedArray=function(t){if(!n.isComputed(t))throw new Error("computedArray extender expects a knockout computed");var i=n.observableArray();return n.computed(function(){i(t())}),i};n.computed.fn.asArray=function(){return this.extend({computedArray:!0})};n.computedArray=function(t,i,r){t&&typeof t=="object"?t.deferEvaluation=!0:(r=r||{},r.deferEvaluation=!0);var u=n.computed(t,i,r);return u.asArray()}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-i18n",i=["knockout","globalize-knockout","bignumber","globalize-number","globalize-date"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize))},u=function(n,t,i){var r=function(n){return t.parseNumber(n.replace(/\u0020/g," "))},u=function(n){return t.parseDate(n.replace(/\u0020/g," "))};n.extenders.asNumber=function(t,i){i=i||{defaultValue:0};var u=n.computed({read:function(){return t()},write:function(n){var u=typeof n=="string"?r(n):parseFloat(n),f=!1;isNaN(u)&&(u=i.defaultValue,f=t.peek()===u);f?t.notifySubscribers(u):t(u)}});return u(t.peek()),u};n.numberObservable=function(t,i){return n.observable(t).extend({asNumber:{defaultValue:i}})};n.extenders.asBigNumber=function(t,u){u=u||{defaultValue:new i(0)};var f=n.computed({read:function(){return t()},write:function(n){var f,e;f=n===null||n===undefined?null:typeof n=="string"?new i(r(n)):new i(n);e=!1;(f===null||f.isNaN())&&(f=u.defaultValue);t(f)}});return f.extend({notify:"always"}),f(t.peek()),f};n.bigNumberObservable=function(t,r){return r===null||r instanceof i||(r=new i(r)),n.observable(t).extend({asBigNumber:{defaultValue:r}})};n.extenders.asDate=function(t,i){i=i||{defaultValue:null};var r=n.computed({read:function(){return t()},write:function(n){var r=typeof n=="string"?u(n):n,f=!1;r instanceof Date||(r=i.defaultValue,f=t.peek()===r);f?t.notifySubscribers(r):t(r)}});return r(t.peek()),r};n.dateObservable=function(t,i){return n.observable(t).extend({asDate:{defaultValue:i}})};t.parseISODateString=function(n){return t.parseDate(n,{raw:"yyyy-MM-dd'T'HH:mm:ss.SSSXXXX"})}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-extender-resettable",i=["knockout","knockout-validation"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.ko.validation))},u=function(n,t){n.extenders.resettable=function(i){return i.initialValue=n.observable(i()),i.initialiseWith=function(n){i.initialValue(n);i(n);t.utils.isValidatable(i)&&i.isModified(!1)},i.reset=function(){i.initialiseWith(i.initialValue());t.utils.isValidatable(i)&&i.isModified(!1)},i.commit=function(){i.initialiseWith(i())},i.isDirty=function(){return i.initialValue()!==i()},i};n.observable.fn.resettable=function(){return this.extend({resettable:{}}),this}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-extender-ReturnValueWhen",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize))},u=function(n){n.subscribable.fn.returnValueWhen=function(t,i){var r=this,f=n.isObservable(t)?t:n.computed(t),u=n.computed({read:function(){return f()?n.unwrap(i):r()},write:function(n){r(n)}});return u.extend({notify:"always"}),u.$internalObservable=r.$internalObservable||r,u}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-extender-SubscribeWhenValid",i=["knockout","knockout-validation"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.ko.validation))},u=function(n,t){n.subscribable.fn.subscribeWhenValid=function(n,i,r){var u=this,f,e;if(r=r===undefined?!0:r,!t.utils.isValidatable(u))throw new Error("observable must be validatable");if(r&&!u.rules().find(function(n){return n.rule==="required"}))throw new Error("observable is missing required validation rule");return f=function(){u.isValid()&&n.call(i||u,u())},e=[u.isValid.subscribe(f),u.subscribe(f)],{dispose:function(){e[0].dispose();e[1].dispose()}}}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-extender-trimmable",i=["knockout"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize))},u=function(n){n.extenders.trimmable=function(n,t){var i="";t||(t="");switch(t.toString().toLowerCase()){case"both":i=/^\s+|\s+$/g;break;case"leading":i=/^\s+/g;break;case"trailing":i=/\s+$/g;break;default:i=/\s+$/g}n.subscribe(function(){var t=n(),r=t?t.replace(i,""):t;return r!==t?n(r):n})};n.observable.fn.trimmable=function(n){return this.extend({trimmable:n}),this}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="knockout-extender-MappingName",i=["knockout","knockout-validation"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.ko.validation))},u=function(n){n.extenders.mappingName=function(n,t){n.mappingName=t};n.observable.fn.mappingName=function(n){return this.extend({mappingName:n}),this}};r(u)}(),function(){var n=this||eval("this"),f=n.document,t="globalize-knockout",i=["knockout","globalize","configuration","utils"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.ko,n.Globalize,n.CPU.configuration))},u=function(n,t,i){var c=t.locale,r=n.observable(),u=n.observable(),f=i.cultureJsonSource||"Scripts/lib/i18n/cultures/",l=i.loadResourcesUrl||"Resources/Strings?locale={locale}",e=[],a=[{Microsoft:"af-ZA",Unicode:"af",Name:"Afrikaans (South Africa)"},{Microsoft:"am-ET",Unicode:"am",Name:"Amharic (Ethiopia)"},{Microsoft:"ar-AE",Unicode:"ar-AE",Name:"Arabic (U.A.E.)"},{Microsoft:"ar-BH",Unicode:"ar-BH",Name:"Arabic (Bahrain)"},{Microsoft:"ar-DZ",Unicode:"ar-DZ",Name:"Arabic (Algeria)"},{Microsoft:"ar-EG",Unicode:"ar-EG",Name:"Arabic (Egypt)"},{Microsoft:"ar-IQ",Unicode:"ar-IQ",Name:"Arabic (Iraq)"},{Microsoft:"ar-JO",Unicode:"ar-JO",Name:"Arabic (Jordan)"},{Microsoft:"ar-KW",Unicode:"ar-KW",Name:"Arabic (Kuwait)"},{Microsoft:"ar-LB",Unicode:"ar-LB",Name:"Arabic (Lebanon)"},{Microsoft:"ar-LY",Unicode:"ar-LY",Name:"Arabic (Libya)"},{Microsoft:"ar-MA",Unicode:"ar-MA",Name:"Arabic (Morocco)"},{Microsoft:"ar-OM",Unicode:"ar-OM",Name:"Arabic (Oman)"},{Microsoft:"ar-QA",Unicode:"ar-QA",Name:"Arabic (Qatar)"},{Microsoft:"ar-SA",Unicode:"ar-SA",Name:"Arabic (Saudi Arabia)"},{Microsoft:"ar-SY",Unicode:"ar-SY",Name:"Arabic (Syria)"},{Microsoft:"ar-TN",Unicode:"ar-TN",Name:"Arabic (Tunisia)"},{Microsoft:"ar-YE",Unicode:"ar-YE",Name:"Arabic (Yemen)"},{Microsoft:"as-IN",Unicode:"as",Name:"Assamese (India)"},{Microsoft:"az-Cyrl-AZ",Unicode:"az-Cyrl",Name:"Azeri (Cyrillic, Azerbaijan)"},{Microsoft:"az-Latn-AZ",Unicode:"az-Latn",Name:"Azeri (Latin, Azerbaijan)"},{Microsoft:"ba-RU",Unicode:"ru",Name:"Bashkir (Russia)"},{Microsoft:"be-BY",Unicode:"be",Name:"Belarusian (Belarus)"},{Microsoft:"bg-BG",Unicode:"bg",Name:"Bulgarian (Bulgaria)"},{Microsoft:"bn-BD",Unicode:"bn",Name:"Bengali (Bangladesh)"},{Microsoft:"bn-IN",Unicode:"bn-IN",Name:"Bengali (India)"},{Microsoft:"bo-CN",Unicode:"bo",Name:"Tibetan (PRC)"},{Microsoft:"br-FR",Unicode:"br",Name:"Breton (France)"},{Microsoft:"bs-Cyrl-BA",Unicode:"bs-Cyrl",Name:"Bosnian (Cyrillic, Bosnia and Herzegovina)"},{Microsoft:"bs-Latn-BA",Unicode:"bs-Latn",Name:"Bosnian (Latin, Bosnia and Herzegovina)"},{Microsoft:"ca-ES",Unicode:"ca",Name:"Catalan (Catalan)"},{Microsoft:"cs-CZ",Unicode:"cs",Name:"Czech (Czech Republic)"},{Microsoft:"cy-GB",Unicode:"cy",Name:"Welsh (United Kingdom)"},{Microsoft:"da-DK",Unicode:"da",Name:"Danish (Denmark)"},{Microsoft:"de-AT",Unicode:"de-AT",Name:"German (Austria)"},{Microsoft:"de-CH",Unicode:"de-CH",Name:"German (Switzerland)"},{Microsoft:"de-DE",Unicode:"de",Name:"German (Germany)"},{Microsoft:"de-LI",Unicode:"de-LI",Name:"German (Liechtenstein)"},{Microsoft:"de-LU",Unicode:"de-LU",Name:"German (Luxembourg)"},{Microsoft:"dsb-DE",Unicode:"dsb",Name:"Lower Sorbian (Germany)"},{Microsoft:"el-GR",Unicode:"el",Name:"Greek (Greece)"},{Microsoft:"en-029",Unicode:"en",Name:"English (Caribbean)"},{Microsoft:"en-AU",Unicode:"en-AU",Name:"English (Australia)"},{Microsoft:"en-BZ",Unicode:"en-BZ",Name:"English (Belize)"},{Microsoft:"en-CA",Unicode:"en-CA",Name:"English (Canada)"},{Microsoft:"en-GB",Unicode:"en-GB",Name:"English (United Kingdom)"},{Microsoft:"en-IE",Unicode:"en-IE",Name:"English (Ireland)"},{Microsoft:"en-IN",Unicode:"en-IN",Name:"English (India)"},{Microsoft:"en-JM",Unicode:"en-JM",Name:"English (Jamaica)"},{Microsoft:"en-MY",Unicode:"en-MY",Name:"English (Malaysia)"},{Microsoft:"en-NZ",Unicode:"en-NZ",Name:"English (New Zealand)"},{Microsoft:"en-PH",Unicode:"en-PH",Name:"English (Republic of the Philippines)"},{Microsoft:"en-SG",Unicode:"en-SG",Name:"English (Singapore)"},{Microsoft:"en-TT",Unicode:"en-TT",Name:"English (Trinidad and Tobago)"},{Microsoft:"en-US",Unicode:"en",Name:"English (United States) - Browser Setting"},{Microsoft:"en-ZA",Unicode:"en-ZA",Name:"English (South Africa)"},{Microsoft:"en-ZW",Unicode:"en-ZW",Name:"English (Zimbabwe)"},{Microsoft:"es-AR",Unicode:"es-AR",Name:"Spanish (Argentina)"},{Microsoft:"es-BO",Unicode:"es-BO",Name:"Spanish (Bolivia)"},{Microsoft:"es-CL",Unicode:"es-CL",Name:"Spanish (Chile)"},{Microsoft:"es-CO",Unicode:"es-CO",Name:"Spanish (Colombia)"},{Microsoft:"es-CR",Unicode:"es-CR",Name:"Spanish (Costa Rica)"},{Microsoft:"es-DO",Unicode:"es-DO",Name:"Spanish (Dominican Republic)"},{Microsoft:"es-EC",Unicode:"es-EC",Name:"Spanish (Ecuador)"},{Microsoft:"es-ES",Unicode:"es",Name:"Spanish (Spain, International Sort)"},{Microsoft:"es-GT",Unicode:"es-GT",Name:"Spanish (Guatemala)"},{Microsoft:"es-HN",Unicode:"es-HN",Name:"Spanish (Honduras)"},{Microsoft:"es-MX",Unicode:"es-MX",Name:"Spanish (Mexico)"},{Microsoft:"es-NI",Unicode:"es-NI",Name:"Spanish (Nicaragua)"},{Microsoft:"es-PA",Unicode:"es-PA",Name:"Spanish (Panama)"},{Microsoft:"es-PE",Unicode:"es-PE",Name:"Spanish (Peru)"},{Microsoft:"es-PR",Unicode:"es-PR",Name:"Spanish (Puerto Rico)"},{Microsoft:"es-PY",Unicode:"es-PY",Name:"Spanish (Paraguay)"},{Microsoft:"es-SV",Unicode:"es-SV",Name:"Spanish (El Salvador)"},{Microsoft:"es-US",Unicode:"es-US",Name:"Spanish (United States)"},{Microsoft:"es-UY",Unicode:"es-UY",Name:"Spanish (Uruguay)"},{Microsoft:"es-VE",Unicode:"es-VE",Name:"Spanish (Bolivarian Republic of Venezuela)"},{Microsoft:"et-EE",Unicode:"et",Name:"Estonian (Estonia)"},{Microsoft:"eu-ES",Unicode:"eu",Name:"Basque (Basque)"},{Microsoft:"fa-IR",Unicode:"fa",Name:"Persian"},{Microsoft:"fi-FI",Unicode:"fi",Name:"Finnish (Finland)"},{Microsoft:"fil-PH",Unicode:"fil",Name:"Filipino (Philippines)"},{Microsoft:"fo-FO",Unicode:"fo",Name:"Faroese (Faroe Islands)"},{Microsoft:"fr-BE",Unicode:"fr-BE",Name:"French (Belgium)"},{Microsoft:"fr-CA",Unicode:"fr-CA",Name:"French (Canada)"},{Microsoft:"fr-CH",Unicode:"fr-CH",Name:"French (Switzerland)"},{Microsoft:"fr-FR",Unicode:"fr",Name:"French (France)"},{Microsoft:"fr-LU",Unicode:"fr-LU",Name:"French (Luxembourg)"},{Microsoft:"fr-MC",Unicode:"fr-MC",Name:"French (Monaco)"},{Microsoft:"fy-NL",Unicode:"fy",Name:"Frisian (Netherlands)"},{Microsoft:"ga-IE",Unicode:"ga",Name:"Irish (Ireland)"},{Microsoft:"gd-GB",Unicode:"gd",Name:"Scottish Gaelic (United Kingdom)"},{Microsoft:"gl-ES",Unicode:"gl",Name:"Galician (Galician)"},{Microsoft:"gsw-FR",Unicode:"gsw-FR",Name:"Alsatian (France)"},{Microsoft:"gu-IN",Unicode:"gu",Name:"Gujarati (India)"},{Microsoft:"ha-Latn-NG",Unicode:"ha-Latn",Name:"Hausa (Latin, Nigeria)"},{Microsoft:"he-IL",Unicode:"he",Name:"Hebrew (Israel)"},{Microsoft:"hi-IN",Unicode:"hi",Name:"Hindi (India)"},{Microsoft:"hr-BA",Unicode:"hr-BA",Name:"Croatian (Latin, Bosnia and Herzegovina)"},{Microsoft:"hr-HR",Unicode:"hr",Name:"Croatian (Croatia)"},{Microsoft:"hsb-DE",Unicode:"hsb",Name:"Upper Sorbian (Germany)"},{Microsoft:"hu-HU",Unicode:"hu",Name:"Hungarian (Hungary)"},{Microsoft:"hy-AM",Unicode:"hy",Name:"Armenian (Armenia)"},{Microsoft:"id-ID",Unicode:"id",Name:"Indonesian (Indonesia)"},{Microsoft:"ig-NG",Unicode:"ig",Name:"Igbo (Nigeria)"},{Microsoft:"ii-CN",Unicode:"ii",Name:"Yi (PRC)"},{Microsoft:"is-IS",Unicode:"is",Name:"Icelandic (Iceland)"},{Microsoft:"it-CH",Unicode:"it-CH",Name:"Italian (Switzerland)"},{Microsoft:"it-IT",Unicode:"it",Name:"Italian (Italy)"},{Microsoft:"ja-JP",Unicode:"ja",Name:"Japanese (Japan)"},{Microsoft:"ka-GE",Unicode:"ka",Name:"Georgian (Georgia)"},{Microsoft:"kk-KZ",Unicode:"kk",Name:"Kazakh (Kazakhstan)"},{Microsoft:"kl-GL",Unicode:"kl",Name:"Greenlandic (Greenland)"},{Microsoft:"km-KH",Unicode:"km",Name:"Khmer (Cambodia)"},{Microsoft:"kn-IN",Unicode:"kn",Name:"Kannada (India)"},{Microsoft:"ko-KR",Unicode:"ko",Name:"Korean (Korea)"},{Microsoft:"kok-IN",Unicode:"kok",Name:"Konkani (India)"},{Microsoft:"ky-KG",Unicode:"ky",Name:"Kyrgyz (Kyrgyzstan)"},{Microsoft:"lb-LU",Unicode:"lb",Name:"Luxembourgish (Luxembourg)"},{Microsoft:"lo-LA",Unicode:"lo",Name:"Lao (Lao P.D.R.)"},{Microsoft:"lt-LT",Unicode:"lt",Name:"Lithuanian (Lithuania)"},{Microsoft:"lv-LV",Unicode:"lv",Name:"Latvian (Latvia)"},{Microsoft:"mk-MK",Unicode:"mk",Name:"Macedonian (Former Yugoslav Republic of Macedonia)"},{Microsoft:"ml-IN",Unicode:"ml",Name:"Malayalam (India)"},{Microsoft:"mn-MN",Unicode:"mn-Cyrl",Name:"Mongolian (Cyrillic, Mongolia)"},{Microsoft:"mn-Mong-CN",Unicode:"mn",Name:"Mongolian (Traditional Mongolian, PRC)"},{Microsoft:"mr-IN",Unicode:"mr",Name:"Marathi (India)"},{Microsoft:"ms-BN",Unicode:"ms-Latn-BN",Name:"Malay (Brunei Darussalam)"},{Microsoft:"ms-MY",Unicode:"ms",Name:"Malay (Malaysia)"},{Microsoft:"mt-MT",Unicode:"mt",Name:"Maltese (Malta)"},{Microsoft:"nb-NO",Unicode:"nb",Name:"Norwegian, Bokmål (Norway)"},{Microsoft:"ne-NP",Unicode:"ne",Name:"Nepali (Nepal)"},{Microsoft:"nl-BE",Unicode:"nl-BE",Name:"Dutch (Belgium)"},{Microsoft:"nl-NL",Unicode:"nl",Name:"Dutch (Netherlands)"},{Microsoft:"nn-NO",Unicode:"nn",Name:"Norwegian, Nynorsk (Norway)"},{Microsoft:"or-IN",Unicode:"or",Name:"Oriya (India)"},{Microsoft:"pa-IN",Unicode:"pa",Name:"Punjabi (India)"},{Microsoft:"pl-PL",Unicode:"pl",Name:"Polish (Poland)"},{Microsoft:"ps-AF",Unicode:"ps",Name:"Pashto (Afghanistan)"},{Microsoft:"pt-PT",Unicode:"pt",Name:"Portuguese (Portugal)"},{Microsoft:"quz-BO",Unicode:"qu-BO",Name:"Quechua (Bolivia)"},{Microsoft:"quz-EC",Unicode:"qu-EC",Name:"Quechua (Ecuador)"},{Microsoft:"quz-PE",Unicode:"qu",Name:"Quechua (Peru)"},{Microsoft:"rm-CH",Unicode:"rm",Name:"Romansh (Switzerland)"},{Microsoft:"ro-RO",Unicode:"ro",Name:"Romanian (Romania)"},{Microsoft:"ru-RU",Unicode:"ru",Name:"Russian (Russia)"},{Microsoft:"rw-RW",Unicode:"rw",Name:"Kinyarwanda (Rwanda)"},{Microsoft:"sah-RU",Unicode:"sah",Name:"Yakut (Russia)"},{Microsoft:"se-FI",Unicode:"se-FI",Name:"Sami, Northern (Finland)"},{Microsoft:"se-NO",Unicode:"se",Name:"Sami, Northern (Norway)"},{Microsoft:"se-SE",Unicode:"se",Name:"Sami, Northern (Sweden)"},{Microsoft:"si-LK",Unicode:"si",Name:"Sinhala (Sri Lanka)"},{Microsoft:"sk-SK",Unicode:"sk",Name:"Slovak (Slovakia)"},{Microsoft:"sl-SI",Unicode:"sl",Name:"Slovenian (Slovenia)"},{Microsoft:"sma-NO",Unicode:"se",Name:"Sami, Southern (Norway)"},{Microsoft:"sma-SE",Unicode:"se",Name:"Sami, Southern (Sweden)"},{Microsoft:"smj-NO",Unicode:"se",Name:"Sami, Lule (Norway)"},{Microsoft:"smj-SE",Unicode:"se",Name:"Sami, Lule (Sweden)"},{Microsoft:"smn-FI",Unicode:"se",Name:"Sami, Inari (Finland)"},{Microsoft:"sms-FI",Unicode:"se",Name:"Sami, Skolt (Finland)"},{Microsoft:"sq-AL",Unicode:"sq",Name:"Albanian (Albania)"},{Microsoft:"sr-Cyrl-BA",Unicode:"sr-Cyrl-BA",Name:"Serbian (Cyrillic, Bosnia and Herzegovina)"},{Microsoft:"sr-Cyrl-CS",Unicode:"sr-Cyrl",Name:"Serbian (Cyrillic, Serbia and Montenegro (Former))"},{Microsoft:"sr-Cyrl-ME",Unicode:"sr-Cyrl-ME",Name:"Serbian (Cyrillic, Montenegro)"},{Microsoft:"sr-Cyrl-RS",Unicode:"sr-Cyrl",Name:"Serbian (Cyrillic, Serbia)"},{Microsoft:"sr-Latn-BA",Unicode:"sr-Latn-BA",Name:"Serbian (Latin, Bosnia and Herzegovina)"},{Microsoft:"sr-Latn-CS",Unicode:"sr-Latn",Name:"Serbian (Latin, Serbia and Montenegro (Former))"},{Microsoft:"sr-Latn-ME",Unicode:"sr-Latn-ME",Name:"Serbian (Latin, Montenegro)"},{Microsoft:"sr-Latn-RS",Unicode:"sr-Latn",Name:"Serbian (Latin, Serbia)"},{Microsoft:"sv-FI",Unicode:"sv-FI",Name:"Swedish (Finland)"},{Microsoft:"sv-SE",Unicode:"sv",Name:"Swedish (Sweden)"},{Microsoft:"sw-KE",Unicode:"sw",Name:"Kiswahili (Kenya)"},{Microsoft:"ta-IN",Unicode:"ta",Name:"Tamil (India)"},{Microsoft:"te-IN",Unicode:"te",Name:"Telugu (India)"},{Microsoft:"th-TH",Unicode:"th",Name:"Thai (Thailand)"},{Microsoft:"tr-TR",Unicode:"tr",Name:"Turkish (Turkey)"},{Microsoft:"tzm-Latn-DZ",Unicode:"tzm-Latn",Name:"Tamazight (Latin, Algeria)"},{Microsoft:"ug-CN",Unicode:"ug",Name:"Uyghur (PRC)"},{Microsoft:"uk-UA",Unicode:"uk",Name:"Ukrainian (Ukraine)"},{Microsoft:"ur-PK",Unicode:"ur",Name:"Urdu (Islamic Republic of Pakistan)"},{Microsoft:"uz-Cyrl-UZ",Unicode:"uz-Cyrl",Name:"Uzbek (Cyrillic, Uzbekistan)"},{Microsoft:"uz-Latn-UZ",Unicode:"uz-Latn",Name:"Uzbek (Latin, Uzbekistan)"},{Microsoft:"vi-VN",Unicode:"vi",Name:"Vietnamese (Vietnam)"},{Microsoft:"yo-NG",Unicode:"yo",Name:"Yoruba (Nigeria)"},{Microsoft:"zh",Unicode:"zh",Name:"Chinese"},{Microsoft:"zh-CN",Unicode:"zh-Hans",Name:"Chinese (Simplified, PRC)"},{Microsoft:"zh-HK",Unicode:"zh-Hant-HK",Name:"Chinese (Traditional, Hong Kong S.A.R.)"},{Microsoft:"zh-MO",Unicode:"zh-Hant-MO",Name:"Chinese (Traditional, Macao S.A.R.)"},{Microsoft:"zh-SG",Unicode:"zh-Hans-SG",Name:"Chinese (Simplified, Singapore)"},{Microsoft:"zh-TW",Unicode:"zh-Hant",Name:"Chinese (Traditional, Taiwan)"},{Microsoft:"zu-ZA",Unicode:"zu",Name:"isiZulu (South Africa)"}],o=function(n){return(a.find(function(t){return t.Microsoft===n})||{Unicode:"en"}).Unicode},b=function(){return i&&i.localisation&&i.localisation.fallback?o(i.localisation.fallback):"en"}(),s=function(n,t){return["json!",n,t,".json"].join("")}.curry(),v=function(n,t,i){return"json!"+(i!="Shell"?i+"/":"")+n.replace("{locale}",t)}.curry(),y=!1;t.locale=n.computed({read:function(){return r()},write:function(n){var h,i;u(n);h=o(n);r()!==h&&(i=[s(f,h)],i.push.apply(i,e.map(function(t){return v(l,n,t)})),i=i.filter(function(n){return!require.defined(n)}),new Promise(function(n){i.length>0?(y||i.unshift(s(f,"core")),require(i,function(){var i=Array.prototype.slice.call(arguments);i.forEach(function(n,t){if(n.CPU){var r={main:{}};r.main[h]=n;i[t]=r}});t.load(i);t.rootResources(i.mapMany(function(n){return n.main?Object.getOwnPropertyNames(n.main[h]):undefined}));n()})):n()}).then(function(){t.locale.cldr=c.call(t,h);r(h)}))}});t.locale.currentMSLocale=u;t.rootResources=n.observableArray();t.requestedResources=e;var h=!!"".localeCompare,p=function(){try{"foo".localeCompare("bar","i")}catch(n){return n.name==="RangeError"}return!1}(),w=h&&p?function(n,t){return(n||"").localeCompare(t,{usage:"sort",sensitivity:"case"})}:h?function(n,t){return(n||"").localeCompare(t)}:function(n,t){return(n||"")<t};return t.localeComparer=w,t};r(u)}(),function(n,t){typeof define=="function"&&define.amd?define("globalize-currency",["cldr","globalize","globalize-number","globalize-plural","cldr/event","cldr/supplemental"],t):typeof exports=="object"?module.exports=t(require("cldrjs"),require("../globalize")):t(n.Cldr,n.Globalize)}(this,function(n,t){function a(n,t){b(n,t,{skip:[/supplemental\/currencyData\/fractions\/[A-Za-z]{3}$/]})}var v=t._alwaysArray,y=t._formatMessage,r=t._numberNumberingSystem,p=t._numberPattern,e=t._runtimeBind,w=t._stringPad,b=t._validateCldr,k=t._validateDefaultLocale,i=t._validateParameterPresence,d=t._validateParameterType,u=t._validateParameterTypeNumber,g=t._validateParameterTypePlainObject,nt=function(n,t){d(n,t,n===undefined||typeof n=="string"&&/^[A-Za-z]{3}$/.test(n),"3-letter currency code string as defined by ISO 4217")},o=function(n,t,i){var r,u="",f=i.supplemental(["currencyData/fractions",n])||i.supplemental("currencyData/fractions/DEFAULT");return r=+f._digits,r&&(u="."+w("0",r).slice(0,-1)+f._rounding),t.replace(/\.(#+|0*[0-9]|0+[0-9]?)/g,u)},s=function(n,t){var i,r={};for(i in n)t.test(i)&&(r[i]=n[i]);return r},tt=function(n){return s(n.main(["numbers","currencyFormats-numberSystem-"+r(n)]),/^unitPattern/)},h=function(n,t){var i=p("decimal",t);return i=o(n,i,t),{currency:n,pattern:i,unitPatterns:tt(t)}},c=function(n,t,i){var u,f,r=i.displayNames||{},e=i.unitPatterns;return u=r["displayName-count-"+t]||r["displayName-count-other"]||r.displayName||i.currency,f=e["unitPattern-count-"+t]||e["unitPattern-count-other"],y(f,[n,u])},f=function(n,t,r){return t&&r?function(f){return i(f,"value"),u(f,"value"),c(n(f),t(f),r)}:function(t){return n(t)}},f=function(n,t,r){return t&&r?function(f){return i(f,"value"),u(f,"value"),c(n(f),t(f),r)}:function(t){return n(t)}},it=function(n,t){var i=h(n,t);return i.displayNames=s(t.main(["numbers/currencies",n]),/^displayName/),i},rt=/[\0-#%-\*,-;\?-\]_a-\{\}\x7F-\xA1\xA7\xAA\xAB\xAD\xB2\xB3\xB5-\xB7\xB9-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u0383\u0386-\u03F5\u03F7-\u0481\u0483-\u058C\u0590-\u0605\u0609\u060A\u060C\u060D\u0610-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF-\u07F5\u07F7-\u09F1\u09F4-\u09F9\u09FC-\u0AF0\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C7E\u0C80-\u0D78\u0D7A-\u0E3E\u0E40-\u0F00\u0F04-\u0F12\u0F14\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39-\u0FBD\u0FC6\u0FCD\u0FD0-\u0FD4\u0FD9-\u109D\u10A0-\u138F\u139A-\u17DA\u17DC-\u193F\u1941-\u19DD\u1A00-\u1B60\u1B6B-\u1B73\u1B7D-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF-\u2043\u2045-\u2051\u2053-\u2079\u207D-\u2089\u208D-\u209F\u20BE-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u218F\u2308-\u230B\u2329\u232A\u23FB-\u23FF\u2427-\u243F\u244B-\u249B\u24EA-\u24FF\u2768-\u2793\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2B74\u2B75\u2B96\u2B97\u2BBA-\u2BBC\u2BC9\u2BD2-\u2CE4\u2CEB-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u3003\u3005-\u3011\u3014-\u301F\u3021-\u3035\u3038-\u303D\u3040-\u309A\u309D-\u318F\u3192-\u3195\u31A0-\u31BF\u31E4-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u32FF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uAA76\uAA7A-\uAB5A\uAB5C-\uD7FF\uDC00-\uFB28\uFB2A-\uFBB1\uFBC2-\uFDFB\uFDFE-\uFE61\uFE63\uFE67\uFE68\uFE6A-\uFF03\uFF05-\uFF0A\uFF0C-\uFF1B\uFF1F-\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5F-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8D-\uDD8F\uDD9C-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDFFF]|[\uD801\uD803-\uD819\uD81B-\uD82E\uD830-\uD833\uD836-\uD83A\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD802[\uDC00-\uDC76\uDC79-\uDEC7\uDEC9-\uDFFF]|\uD81A[\uDC00-\uDF3B\uDF40-\uDF44\uDF46-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDDE-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD83B[\uDC00-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0F\uDD2F\uDD6C-\uDD6F\uDD9B-\uDDE5\uDE03-\uDE0F\uDE3B-\uDE3F\uDE49-\uDE4F\uDE52-\uDEFF\uDF2D-\uDF2F\uDF7E\uDF7F\uDFCF-\uDFD3\uDFF8-\uDFFF]|\uD83D[\uDCFF\uDD4B-\uDD4F\uDD7A\uDDA4\uDE43\uDE44\uDED0-\uDEDF\uDEED-\uDEEF\uDEF4-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDFFF]|[\uD800-\uDBFF]/,l=function(n,t,i){var f,e,s={"[:digit:]":/\d/,"[:^S:]":rt},u;try{u=t.main(["numbers/currencies",n,"symbol-alt-narrow"])}catch(h){u=t.main(["numbers/currencies",n,"symbol"])}return f=["beforeCurrency","afterCurrency"].map(function(n){return t.main(["numbers","currencyFormats-numberSystem-"+r(t),"currencySpacing",n])}),e=t.main(["numbers","currencyFormats-numberSystem-"+r(t),i.style==="accounting"?"accounting":"standard"]),e=o(n,e,t).split(";").map(function(n){return n.split("¤").map(function(n,t){var i=s[f[t].currencyMatch],r=s[f[t].surroundingMatch],e="";return i=i.test(u.charAt(t?u.length-1:0)),r=r.test(n.charAt(t?0:n.length-1).replace(/[#@,.]/g,"0")),i&&n&&r&&(e=f[t].insertBetween),(t?e:"")+n+(t?"":e)}).join("'"+u+"'")}).join(";"),{pattern:e}},ut=function(n,t){var i,r={};t=v(t);for(i in n)t.indexOf(i)===-1&&(r[i]=n[i]);return r};return t.currencyFormatter=t.prototype.currencyFormatter=function(n,t){var v,r,u,y,s,o,c;i(n,"currency");nt(n,"currency");g(t,"options");r=this.cldr;t=t||{};v=[n,t];c=t.style||"symbol";k(r);r.on("get",a);return s={accounting:l,code:h,name:it,symbol:l}[c](n,r,t),r.off("get",a),t=ut(t,"style"),t.raw=s.pattern,c==="symbol"||c==="accounting"?(u=this.numberFormatter(t),o=f(u),e(v,r,o,[u])):(u=this.numberFormatter(t),y=this.pluralGenerator(),o=f(u,y,s),e(v,r,o,[u,y,s])),o},t.currencyParser=t.prototype.currencyParser=function(){},t.formatCurrency=t.prototype.formatCurrency=function(n,t,r){return i(n,"value"),u(n,"value"),this.currencyFormatter(t,r)(n)},t.parseCurrency=t.prototype.parseCurrency=function(){},t}),function(n,t){typeof define=="function"&&define.amd?define("globalize-date",["cldr","globalize","globalize-number","cldr/event","cldr/supplemental"],t):typeof exports=="object"?module.exports=t(require("cldrjs"),require("../globalize")):t(n.Cldr,n.Globalize)}(this,function(n,t){function rt(n){return n.skeleton!==undefined||n.date!==undefined||n.time!==undefined||n.datetime!==undefined||n.raw!==undefined}function p(n,t){gt(n,t,{skip:[/dates\/calendars\/gregorian\/dateTimeFormats\/availableFormats/,/dates\/calendars\/gregorian\/days\/.*\/short/,/dates\/timeZoneNames\/zone/,/dates\/timeZoneNames\/metazone/,/globalize-iana/,/supplemental\/metaZones/,/supplemental\/timeData\/(?!001)/,/supplemental\/weekData\/(?!001)/]})}function wt(n){ut("date",n);ut("time",n);ut("datetime",n)}function ut(n,t){var i=t[n];nt("E_INVALID_OPTIONS",'Invalid `{{type}: "{value}"}`.',i===undefined||["short","medium","long","full"].indexOf(i)!==-1,{type:n,value:i})}function bt(n,t){nt("E_INVALID_OPTIONS",'Invalid `{skeleton: "{value}"}` based on provided CLDR.',t===undefined||typeof n=="string"&&n,{type:"skeleton",value:t})}function w(n){return function(t,i){/globalize-iana/.test(t)&&nt("E_MISSING_IANA_TZ","Missing required IANA timezone content for `{timeZone}`: `{path}`.",i,{path:t.replace(/globalize-iana\//,""),timeZone:n})}}var b=t._createError,r=t._createErrorUnsupportedFeature,k=t._formatMessage,kt=t._isPlainObject,f=t._looseMatching,dt=t._numberNumberingSystemDigitsMap,ft=t._numberSymbol,u=t._regexpEscape,et=t._removeLiteralQuotes,d=t._runtimeBind,g=t._stringPad,nt=t._validate,gt=t._validateCldr,ot=t._validateDefaultLocale,o=t._validateParameterPresence,ni=t._validateParameterType,c=t._validateParameterTypePlainObject,l=t._validateParameterTypeString,tt=function(n,t){ni(n,t,n===undefined||n instanceof Date,"Date")},ti=function(n,t){return b("E_INVALID_PAR_VALUE","Invalid `{name}` value ({value}).",{name:n,value:t})},ii="GyYuUrQqMLlwWEecdDFghHKkmsSAzZOvVXx".split("").reduce(function(n,t,i){return n[t]=i,n},{}),ri=function(n){var t,i=ii;n.replace(/[^GyYuUrQqMLlwWEecdDFghHKkmsSAzZOvVXx]/,function(t){throw b("E_INVALID_OPTIONS","Invalid field `{invalidField}` of skeleton `{value}`",{invalidField:t,type:"skeleton",value:n});});n.split("").every(function(r){if(i[r]<t)throw b("E_INVALID_OPTIONS","Invalid order `{invalidField}` of skeleton `{value}`",{invalidField:r,type:"skeleton",value:n});return t=i[r],!0})},st=function(n,t){return t=t||function(n,t,i){return n[i]=t,n},Object.keys(n).reduce(function(i,r){return t(i,r,n[r])},{})},ui=st({e:"eEc",L:"ML"},function(n,t,i){return i.split("").forEach(function(i){n[i]=t}),n}),ht=function(n){return ui[n]||n},e=/([a-z])\1*|'([^']|'')+'|''|./ig,fi=function(n,t){for(var r="",i=0;i<t;i++)r=r+n;return r},ei=function(n,t){var i,r,u,o,s,f,h=ht;for(n=n.match(e),t=t.match(e),i=0;i<t.length;i++)for(u=t[i].charAt(0),o=t[i].length,r=0;r<n.length;r++)s=n[r].charAt(0),f=n[r].length,h(u)===h(s)&&o<f&&(t[i]=fi(u,f));return t.join("")},oi=function(n,t){var h,c,i,o,s,l,r,u,f,a=ht;if(n===t)return 0;if(n=n.match(e),t=t.match(e),n.length!==t.length)return-1;for(i=1,u=0;u<n.length;u++){for(h=n[u].charAt(0),l=a(h),r=null,f=0;f<t.length;f++)if(c=t[f].charAt(0),r=a(c),l===r)break;else r=null;if(r===null)return-1;o=n[u].length;s=t[f].length;i=i+Math.abs(o-s);h!==c&&(i+=1);(o<3&&s>=3||o>=3&&s<3)&&(i+=20)}return i},si=function(n,t){var f,r,i,u,e="dates/calendars/gregorian/dateTimeFormats/availableFormats",o=ei,s=oi;if(r=n.main([e,t]),t&&!r){f=n.main([e]);i=[];for(u in f)i.push({skeleton:u,pattern:f[u],rate:s(t,u)});i=i.filter(function(n){return n.rate>-1}).sort(function(n,t){return n.rate-t.rate});i.length&&(r=o(t,i[0].pattern))}return r},ct=function(n,t){function s(n,i,r){return k(t.main(["dates/calendars/gregorian/dateTimeFormats",n]),[r,i])}var i,r,u,f,o,e=si;switch(!0){case"skeleton"in n:if(u=n.skeleton,u=u.replace(/j/g,function(){return t.supplemental.timeData.preferred()}),ri(u),r=e(t,u),r)break;f=u.split(/[^hHKkmsSAzZOvVXx]/).slice(-1)[0];i=u.split(/[^GyYuUrQqMLlwWdDFgEec]/)[0];i=e(t,i);f=e(t,f);o=/(MMMM|LLLL).*[Ec]/.test(i)?"full":/MMMM|LLLL/.test(i)?"long":/MMM|LLL/.test(i)?"medium":"short";r=i&&f?s(o,i,f):i||f;break;case"date"in n:case"time"in n:r=t.main(["dates/calendars/gregorian","date"in n?"dateFormats":"timeFormats",n.date||n.time]);break;case"datetime"in n:r=s(n.datetime,t.main(["dates/calendars/gregorian/dateFormats",n.datetime]),t.main(["dates/calendars/gregorian/timeFormats",n.datetime]));break;case"raw"in n:r=n.raw;break;default:throw ti({name:"options",value:n});}return r},lt=["sun","mon","tue","wed","thu","fri","sat"],it=function(n){return lt.indexOf(n.supplemental.weekData.firstDay())},s=function(n,t,i,r){var f,u;if(i)return(u=r.main(["dates/timeZoneNames/zone",i,n<4?"short":"long",t]),u)?u:(f=r.supplemental(["metaZones/metazoneInfo/timezone",i,0,"usesMetazone/_mzone"]),r.main(["dates/timeZoneNames/metazone",f,n<4?"short":"long",t]))},at=function(n){return n.split(";").map(function(n){return n.slice(0,n.indexOf("H")+1)}).join(";")},a=function(n,t){return n.split(";").map(function(n){var i=n.split(/H+/);return i.splice(1,0,t),i.join("")}).join(";")},vt=function(n,t){var i=function(){return t};return i.dataCacheKey=n,i},hi=function(n,t,i){function o(n){u.numberFormatters[n]=g("",n)}var u={numberFormatters:{},pattern:n,timeSeparator:ft("timeSeparator",t)},f=["abbreviated","wide","narrow"];return i&&(u.timeZoneData=vt("iana/"+i,{offsets:t.get(["globalize-iana/zoneData",i,"offsets"]),untils:t.get(["globalize-iana/zoneData",i,"untils"]),isdsts:t.get(["globalize-iana/zoneData",i,"isdsts"])})),n.replace(e,function(e){var y,c,p,l,d,h,w,b,v;c=e.charAt(0);h=e.length;c==="j"&&(u.preferredTime=c=t.supplemental.timeData.preferred());c==="Z"&&h===4&&(c="O",h=4);c==="z"&&(w=s(h,"standard",i,t),p=s(h,"daylight",i,t),w&&(u.standardTzName=w),p&&(u.daylightTzName=p),w&&p||(c="O",h<4&&(h=1)));c==="v"&&(d=s(h,"generic",i,t),d||(c="V",h=4));switch(c){case"G":u.eras=t.main(["dates/calendars/gregorian/eras",h<=3?"eraAbbr":h===4?"eraNames":"eraNarrow"]);break;case"y":l=!0;break;case"Y":u.firstDay=it(t);u.minDays=t.supplemental.weekData.minDays();l=!0;break;case"u":case"U":throw r({feature:"year pattern `"+c+"`"});case"Q":case"q":h>2?(u.quarters||(u.quarters={}),u.quarters[c]||(u.quarters[c]={}),u.quarters[c][h]=t.main(["dates/calendars/gregorian/quarters",c==="Q"?"format":"stand-alone",f[h-3]])):l=!0;break;case"M":case"L":h>2?(u.months||(u.months={}),u.months[c]||(u.months[c]={}),u.months[c][h]=t.main(["dates/calendars/gregorian/months",c==="M"?"format":"stand-alone",f[h-3]])):l=!0;break;case"w":case"W":u.firstDay=it(t);u.minDays=t.supplemental.weekData.minDays();l=!0;break;case"d":case"D":case"F":l=!0;break;case"g":throw r({feature:"Julian day pattern `g`"});case"e":case"c":if(h<=2){u.firstDay=it(t);l=!0;break}case"E":u.days||(u.days={});u.days[c]||(u.days[c]={});u.days[c][h]=h===6?t.main(["dates/calendars/gregorian/days",c==="c"?"stand-alone":"format","short"])||t.main(["dates/calendars/gregorian/days",c==="c"?"stand-alone":"format","abbreviated"]):t.main(["dates/calendars/gregorian/days",c==="c"?"stand-alone":"format",f[h<3?0:h-3]]);break;case"a":u.dayPeriods={am:t.main("dates/calendars/gregorian/dayPeriods/format/wide/am"),pm:t.main("dates/calendars/gregorian/dayPeriods/format/wide/pm")};break;case"h":case"H":case"K":case"k":case"m":case"s":case"S":case"A":l=!0;break;case"v":if(h!==1&&h!==4)throw r({feature:"timezone pattern `"+n+"`"});u.genericTzName=d;break;case"V":if(h===1)throw r({feature:"timezone pattern `"+n+"`"});if(i){if(h===2){u.timeZoneName=i;break}if(v=t.main(["dates/timeZoneNames/zone",i,"exemplarCity"]),h===3&&(v||(v=t.main(["dates/timeZoneNames/zone/Etc/Unknown/exemplarCity"])),b=v),v&&h===4&&(b=k(t.main("dates/timeZoneNames/regionFormat"),[v])),b){u.timeZoneName=b;break}}e==="v"&&(h=1);case"O":u.gmtFormat=t.main("dates/timeZoneNames/gmtFormat");u.gmtZeroFormat=t.main("dates/timeZoneNames/gmtZeroFormat");y=t.main("dates/timeZoneNames/hourFormat");u.hourFormat=h<4?[at(y),a(y,"H")]:a(y,"HH");case"Z":case"X":case"x":o(1);o(2)}l&&o(h)}),u},ci=function(n){return function(t){return n(t).map(function(n){return n.value}).join("")}},li=function(n,t){var i={preferredTimeData:n.supplemental.timeData.preferred()};return t&&(i.timeZoneData=vt("iana/"+t,{offsets:n.get(["globalize-iana/zoneData",t,"offsets"]),untils:n.get(["globalize-iana/zoneData",t,"untils"]),isdsts:n.get(["globalize-iana/zoneData",t,"isdsts"])})),i},v=function(){function t(n,t,i){Object.defineProperty(n,t,{value:i})}function i(n,t){for(var i=0,r=n.getTime();i<t.length-1&&r>=t[i];)i++;return i}function r(n){var i=this.getTimezoneOffset(),r=n(),t;return this.original.setTime(new Date(this.getTime())),t=this.getTimezoneOffset(),t-i&&this.original.setMinutes(this.original.getMinutes()+t-i),r}var n=function(n,i){if(t(this,"original",new Date(n.getTime())),t(this,"local",new Date(n.getTime())),t(this,"timeZoneData",i),t(this,"setWrap",r),!(i.untils&&i.offsets&&i.isdsts))throw new Error("Invalid IANA data");this.setTime(this.local.getTime()-this.getTimezoneOffset()*6e4)};return n.prototype.clone=function(){return new n(this.original,this.timeZoneData)},["getFullYear","getMonth","getDate","getDay","getHours","getMinutes","getSeconds","getMilliseconds"].forEach(function(t){var i="getUTC"+t.substr(3);n.prototype[t]=function(){return this.local[i]()}}),n.prototype.valueOf=n.prototype.getTime=function(){return this.local.getTime()+this.getTimezoneOffset()*6e4},n.prototype.getTimezoneOffset=function(){var n=i(this.original,this.timeZoneData.untils);return this.timeZoneData.offsets[n]},["setFullYear","setMonth","setDate","setHours","setMinutes","setSeconds","setMilliseconds"].forEach(function(t){var i="setUTC"+t.substr(3);n.prototype[t]=function(n){var t=this.local;return this.setWrap(function(){return t[i](n)})}}),n.prototype.setTime=function(n){return this.local.setTime(n)},n.prototype.isDST=function(){var n=i(this.original,this.timeZoneData.untils);return Boolean(this.timeZoneData.isdsts[n])},n.prototype.inspect=function(){var t=i(this.original,this.timeZoneData.untils),n=this.timeZoneData.abbrs;return this.local.toISOString().replace(/Z$/,"")+" "+(n&&n[t]+" "||this.getTimezoneOffset()*-1+" ")+(this.isDST()?"(daylight savings)":"")},n.prototype.toDate=function(){return new Date(this.getTime())},["toISOString","toJSON","toUTCString"].forEach(function(t){n.prototype[t]=function(){return this.toDate()[t]()}}),n}(),ai=function(n){return new Date(n,1,29).getMonth()===1},vi=function(n){return new Date(n.getFullYear(),n.getMonth()+1,0).getDate()},h=function(n,t){n=n instanceof v?n.clone():new Date(n.getTime());switch(t){case"year":n.setMonth(0);case"month":n.setDate(1);case"day":n.setHours(0);case"hour":n.setMinutes(0);case"minute":n.setSeconds(0);case"second":n.setMilliseconds(0)}return n},yi=function(n,t){var i=new Date(n.getFullYear(),n.getMonth()+1,0).getDate();n.setDate(t<1?1:t<i?t:i)},pi=function(n,t){var i=n.getDate();n.setDate(1);n.setMonth(t);yi(n,i)},i=function(n,t,i){return n<t||n>i},wi=function(n,t,u){var y,s,c,p,b,o,l,w,k,d=0,nt=1,g=2,a=3,tt=4,it=5,rt=6,f=new Date,e=[];if((u.timeZoneData&&(f=new v(f,u.timeZoneData())),!t.length)||(k=t.every(function(n){var k,h,t,v;if(n.type==="literal")return!0;h=n.type.charAt(0);v=n.type.length;h==="j"&&(h=u.preferredTimeData);switch(h){case"G":e.push(d);b=+n.value;break;case"y":if(t=n.value,v===2){if(i(t,0,99))return!1;k=Math.floor(f.getFullYear()/100)*100;t+=k;t>f.getFullYear()+20&&(t-=100)}f.setFullYear(t);e.push(d);break;case"Y":throw r({feature:"year pattern `"+h+"`"});case"M":case"L":if(t=v<=2?n.value:+n.value,i(t,1,12))return!1;p=t;e.push(nt);break;case"d":s=n.value;e.push(g);break;case"D":c=n.value;e.push(g);break;case"a":y=n.value;break;case"h":if(t=n.value,i(t,1,12))return!1;o=l=!0;f.setHours(t===12?0:t);e.push(a);break;case"K":if(t=n.value,i(t,0,11))return!1;o=l=!0;f.setHours(t);e.push(a);break;case"k":if(t=n.value,i(t,1,24))return!1;o=!0;f.setHours(t===24?0:t);e.push(a);break;case"H":if(t=n.value,i(t,0,23))return!1;o=!0;f.setHours(t);e.push(a);break;case"m":if(t=n.value,i(t,0,59))return!1;f.setMinutes(t);e.push(tt);break;case"s":if(t=n.value,i(t,0,59))return!1;f.setSeconds(t);e.push(it);break;case"A":f.setHours(0);f.setMinutes(0);f.setSeconds(0);case"S":t=Math.round(n.value*Math.pow(10,3-v));f.setMilliseconds(t);e.push(rt);break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":typeof n.value=="number"&&(w=n.value)}return!0}),!k)||o&&!(!y^l))return null;if(b===0&&f.setFullYear(f.getFullYear()*-1+1),p!==undefined&&pi(f,p-1),s!==undefined){if(i(s,1,vi(f)))return null;f.setDate(s)}else if(c!==undefined){if(i(c,1,ai(f.getFullYear())?366:365))return null;f.setMonth(0);f.setDate(c)}return l&&y==="pm"&&f.setHours(f.getHours()+12),w!==undefined&&f.setMinutes(f.getMinutes()+w-f.getTimezoneOffset()),e=Math.max.apply(null,e),f=h(f,["year","month","day","hour","minute","second","milliseconds"][e]),f instanceof v&&(f=f.toDate()),f},bi=function(n,t,i){var r,o,h=[],s=["abbreviated","wide","narrow"];return r=i.digitsRe,n=f(n),o=i.pattern.match(e).every(function(f){function b(t,i){var u,f,r=n.match(t);return(i=i||function(n){return+n},!r)?!1:(f=r[1],r.length<6?(u=f?1:3,c.value=i(r[u])*60):r.length<10?(u=f?[1,3]:[5,7],c.value=i(r[u[0]])*60+i(r[u[1]])):(u=f?[1,3,5]:[7,9,11],c.value=i(r[u[0]])*60+i(r[u[1]])+i(r[u[2]])/60),f&&(c.value*=-1),!0)}function p(){if(e===1)return a=!0,o=r}function d(){if(e===1)return a=!0,o=new RegExp("^("+r.source+"){1,2}")}function k(){if(e===1||e===2)return a=!0,o=new RegExp("^("+r.source+"){1,2}")}function w(){if(e===2)return a=!0,o=new RegExp("^("+r.source+"){2}")}function v(t){var r=i[t.join("/")];return r?(r.some(function(t){var i=t[1];if(i.test(n))return c.value=t[0],o=t[1],!0}),null):null}var y,l,e,a,o,c={};c.type=f;l=f.charAt(0);e=f.length;l==="Z"&&(e<4?(l="x",e=4):e<5?(l="O",e=4):(l="X",e=5));l==="z"&&i.standardOrDaylightTzName&&(c.value=null,o=i.standardOrDaylightTzName);l==="v"&&(i.genericTzName?(c.value=null,o=i.genericTzName):(l="V",e=4));l==="V"&&i.timeZoneName&&(c.value=e===2?i.timeZoneName:null,o=i.timeZoneNameRe);switch(l){case"G":v(["gregorian/eras",e<=3?"eraAbbr":e===4?"eraNames":"eraNarrow"]);break;case"y":case"Y":a=!0;o=e===1?new RegExp("^("+r.source+")+"):e===2?new RegExp("^("+r.source+"){1,2}"):new RegExp("^("+r.source+"){"+e+",}");break;case"Q":case"q":p()||w()||v(["gregorian/quarters",l==="Q"?"format":"stand-alone",s[e-3]]);break;case"M":case"L":k()||v(["gregorian/months",l==="M"?"format":"stand-alone",s[e-3]]);break;case"D":e<=3&&(a=!0,o=new RegExp("^("+r.source+"){"+e+",3}"));break;case"W":case"F":p();break;case"e":case"c":if(e<=2){p()||w();break}case"E":e===6?v(["gregorian/days",[l==="c"?"stand-alone":"format"],"short"])||v(["gregorian/days",[l==="c"?"stand-alone":"format"],"abbreviated"]):v(["gregorian/days",[l==="c"?"stand-alone":"format"],s[e<3?0:e-3]]);break;case"a":v(["gregorian/dayPeriods/format/wide"]);break;case"w":d()||w();break;case"d":case"h":case"H":case"K":case"k":case"j":case"m":case"s":k();break;case"S":a=!0;o=new RegExp("^("+r.source+"){"+e+"}");break;case"A":a=!0;o=new RegExp("^("+r.source+"){"+(e+5)+"}");break;case"v":case"V":case"z":if(o&&o.test(n))break;if(l==="V"&&e===2)break;case"O":if(n===i["timeZoneNames/gmtZeroFormat"])c.value=0,o=i["timeZoneNames/gmtZeroFormatRe"];else if(y=i["timeZoneNames/hourFormat"].some(function(n){if(b(n,t))return o=n,!0}),!y)return null;break;case"X":if(n==="Z"){c.value=0;o=/^Z/;break}case"x":if(y=i.x.some(function(n){if(b(n))return o=n,!0}),!y)return null;break;case"'":c.type="literal";o=new RegExp("^"+u(et(f)));break;default:c.type="literal";o=new RegExp("^"+u(f))}return o?(n=n.replace(o,function(n){return c.lexeme=n,a&&(c.value=t(n)),""}),!c.lexeme)?!1:a&&isNaN(c.value)?!1:(h.push(c),!0):!1}),n!==""&&(o=!1),o?h:[]},ki=function(n,t,i){return function(r){var u;return o(r,"value"),l(r,"value"),u=bi(r,n,i),wi(r,u,t)||null}},di=function(n,t){var i,r={};for(i in n)t.test(i)&&(r[i]=n[i]);return r},gi=function(n,t,i){function l(n,t,i,r){var u;return i||(i="\\d"),t||(t="{0}"),u=n.replace("+","\\+").replace(/HH|mm|ss/g,"(("+i+"){2})").replace(/H|m/g,"(("+i+"){1,2})"),r&&(u=u.replace(/:/g,r)),u=u.split(";").map(function(n){return t.replace("{0}",n)}).join("|"),new RegExp("^"+u)}function v(n,t){/(timeZoneNames\/zone|supplemental\/metaZones|timeZoneNames\/metazone|timeZoneNames\/regionFormat|timeZoneNames\/gmtFormat)/.test(n)||t&&(n=n.replace(/^.*\/dates\//,"").replace(/calendars\//,""),n==="gregorian/dayPeriods/format/wide"&&(t=di(t,/^am|^pm/)),t=kt(t)?Object.keys(t).map(function(n){return[n,new RegExp("^"+u(f(t[n])))]}).sort(function(n,t){return t[1].source.length-n[1].source.length}):f(t),o[n]=t)}function p(n){return"("+n.filter(function(n){return n}).reduce(function(n,t){return n+"|"+t})+")"}var h,o={pattern:f(n)},y=ft("timeSeparator",t),c=["abbreviated","wide","narrow"];h=dt(t);h=h?"["+h+"]":"\\d";o.digitsRe=new RegExp(h);t.on("get",v);return n.match(e).forEach(function(e){var tt,w,b,rt,v,d,it,g,nt;if(w=e.charAt(0),v=e.length,w==="Z"&&(v<5?(w="O",v=4):(w="X",v=5)),w==="z"&&(d=s(v,"standard",i,t),b=s(v,"daylight",i,t),d&&(d=u(f(d))),b&&(b=u(f(b))),(d||b)&&(o.standardOrDaylightTzName=new RegExp("^"+p([d,b]))),d&&b||(w="O",v<4&&(v=1))),w==="v"){if(v!==1&&v!==4)throw r({feature:"timezone pattern `"+n+"`"});it=s(v,"generic",i,t);it?(o.genericTzName=new RegExp("^"+u(f(it))),w="O"):(w="V",v=4)}switch(w){case"G":t.main(["dates/calendars/gregorian/eras",v<=3?"eraAbbr":v===4?"eraNames":"eraNarrow"]);break;case"u":case"U":throw r({feature:"year pattern `"+w+"`"});case"Q":case"q":v>2&&t.main(["dates/calendars/gregorian/quarters",w==="Q"?"format":"stand-alone",c[v-3]]);break;case"M":case"L":v>2&&t.main(["dates/calendars/gregorian/months",w==="M"?"format":"stand-alone",c[v-3]]);break;case"g":throw r({feature:"Julian day pattern `g`"});case"e":case"c":if(v<=2)break;case"E":v===6?t.main(["dates/calendars/gregorian/days",[w==="c"?"stand-alone":"format"],"short"])||t.main(["dates/calendars/gregorian/days",[w==="c"?"stand-alone":"format"],"abbreviated"]):t.main(["dates/calendars/gregorian/days",[w==="c"?"stand-alone":"format"],c[v<3?0:v-3]]);break;case"a":t.main("dates/calendars/gregorian/dayPeriods/format/wide");break;case"V":if(v===1)throw r({feature:"timezone pattern `"+n+"`"});if(i){if(v===2){o.timeZoneName=i;o.timeZoneNameRe=new RegExp("^"+u(i));break}nt=t.main(["dates/timeZoneNames/zone",i,"exemplarCity"]);v===3&&(nt||(nt=t.main(["dates/timeZoneNames/zone/Etc/Unknown/exemplarCity"])),g=nt);nt&&v===4&&(g=k(t.main("dates/timeZoneNames/regionFormat"),[nt]));g&&(g=f(g),o.timeZoneName=g,o.timeZoneNameRe=new RegExp("^"+u(g)))}e==="v"&&(v=1);case"z":case"O":rt=t.main("dates/timeZoneNames/gmtFormat");t.main("dates/timeZoneNames/gmtZeroFormat");t.main("dates/timeZoneNames/hourFormat");o["timeZoneNames/gmtZeroFormatRe"]=new RegExp("^"+u(o["timeZoneNames/gmtZeroFormat"]));tt=o["timeZoneNames/hourFormat"];o["timeZoneNames/hourFormat"]=(v<4?[a(tt,"H"),at(tt)]:[a(tt,"HH")]).map(function(n){return l(n,rt,h,y)});case"X":case"x":o.x=[["+HHmm;-HHmm","+HH;-HH"],["+HHmm;-HHmm"],["+HH:mm;-HH:mm"],["+HHmmss;-HHmmss","+HHmm;-HHmm"],["+HH:mm:ss;-HH:mm:ss","+HH:mm;-HH:mm"]][v-1].map(function(n){return l(n)})}}),t.off("get",v),o},y=function(n,t){return(n.getDay()-t+7)%7},nr=function(n,t){return(t.getTime()-n.getTime())/864e5},yt=function(n){return Math.floor(nr(h(n,"year"),n))},tr=st({era:"G",year:"yY",quarter:"qQ",month:"ML",week:"wW",day:"dDF",weekday:"ecE",dayperiod:"a",hour:"hHkK",minute:"m",second:"sSA",zone:"zvVOxX"},function(n,t,i){return i.split("").forEach(function(i){n[i]=t}),n}),ir=function(n){return n-h(n,"day")},pt=function(n,t,i,r){var u,f=n.getTimezoneOffset();return u=Math.abs(f),r=r||{1:function(n){return g(n,1)},2:function(n){return g(n,2)}},t.split(";")[f>0?1:0].replace(":",i).replace(/HH?/,function(n){return r[n.length](Math.floor(u/60))}).replace(/mm/,function(){return r[2](Math.floor(u%60))}).replace(/ss/,function(){return r[2](Math.floor(u%1*60))})},rr=function(n,t,i){var r=[],u=i.timeSeparator;return i.timeZoneData&&(n=new v(n,i.timeZoneData())),i.pattern.replace(e,function(f){var c,l,a,e,s=f.charAt(0),o=f.length;s==="j"&&(s=i.preferredTime);s==="Z"&&(o<4?(s="x",o=4):o<5?(s="O",o=4):(s="X",o=5));s==="z"&&(n.isDST&&(e=n.isDST()?i.daylightTzName:i.standardTzName),e||(s="O",o<4&&(o=1)));switch(s){case"G":e=i.eras[n.getFullYear()<0?0:1];break;case"y":e=n.getFullYear();o===2&&(e=String(e),e=+e.substr(e.length-2));break;case"Y":e=new Date(n.getTime());e.setDate(e.getDate()+7-y(n,i.firstDay)-i.firstDay-i.minDays);e=e.getFullYear();o===2&&(e=String(e),e=+e.substr(e.length-2));break;case"Q":case"q":e=Math.ceil((n.getMonth()+1)/3);o>2&&(e=i.quarters[s][o][e]);break;case"M":case"L":e=n.getMonth()+1;o>2&&(e=i.months[s][o][e]);break;case"w":e=y(h(n,"year"),i.firstDay);e=Math.ceil((yt(n)+e)/7)-(7-e>=i.minDays?0:1);break;case"W":e=y(h(n,"month"),i.firstDay);e=Math.ceil((n.getDate()+e)/7)-(7-e>=i.minDays?0:1);break;case"d":e=n.getDate();break;case"D":e=yt(n)+1;break;case"F":e=Math.floor(n.getDate()/7)+1;break;case"e":case"c":if(o<=2){e=y(n,i.firstDay)+1;break}case"E":e=lt[n.getDay()];e=i.days[s][o][e];break;case"a":e=i.dayPeriods[n.getHours()<12?"am":"pm"];break;case"h":e=n.getHours()%12||12;break;case"H":e=n.getHours();break;case"K":e=n.getHours()%12;break;case"k":e=n.getHours()||24;break;case"m":e=n.getMinutes();break;case"s":e=n.getSeconds();break;case"S":e=Math.round(n.getMilliseconds()*Math.pow(10,o-3));break;case"A":e=Math.round(ir(n)*Math.pow(10,o-3));break;case"z":break;case"v":if(i.genericTzName){e=i.genericTzName;break}case"V":if(i.timeZoneName){e=i.timeZoneName;break}f==="v"&&(o=1);case"O":n.getTimezoneOffset()===0?e=i.gmtZeroFormat:(o<4?(c=n.getTimezoneOffset(),c=i.hourFormat[c%60-c%1==0?0:1]):c=i.hourFormat,e=pt(n,c,u,t),e=i.gmtFormat.replace(/\{0\}/,e));break;case"X":if(n.getTimezoneOffset()===0){e="Z";break}case"x":c=n.getTimezoneOffset();o===1&&c%60-c%1!=0&&(o+=1);(o===4||o===5)&&c%1==0&&(o-=2);e=["+HH;-HH","+HHmm;-HHmm","+HH:mm;-HH:mm","+HHmmss;-HHmmss","+HH:mm:ss;-HH:mm:ss"][o-1];e=pt(n,e,":");break;case":":e=u;break;case"'":e=et(f);break;default:e=f}if(typeof e=="number"&&(e=t[o](e)),l=tr[s],a=l?l:"literal",a==="literal"&&r.length&&r[r.length-1].type==="literal"){r[r.length-1].value+=e;return}r.push({type:a,value:e})}),r},ur=function(n,t){return function(i){return o(i,"value"),tt(i,"value"),rr(i,n,t)}};return t.loadTimeZone=function(t){var i={"globalize-iana":t};o(t,"json");c(t,"json");n.load(i)},t.dateFormatter=t.prototype.dateFormatter=function(n){var r,t,i;return c(n,"options"),n=n||{},rt(n)||(n.skeleton="yMd"),r=[n],t=this.dateToPartsFormatter(n),i=ci(t),d(r,this.cldr,i,[t]),i},t.dateToPartsFormatter=t.prototype.dateToPartsFormatter=function(n){var s,t,r,f,e,u,o,i;c(n,"options");t=this.cldr;n=n||{};rt(n)||(n.skeleton="yMd");wt(n);ot(t);i=n.timeZone;l(i,"options.timeZone");s=[n];t.on("get",p);if(i)t.on("get",w(i));e=ct(n,t);bt(e,n.skeleton);u=hi(e,t,i);t.off("get",p);i&&t.off("get",w(i));r=u.numberFormatters;delete u.numberFormatters;for(f in r)r[f]=this.numberFormatter({raw:r[f]});return o=ur(r,u),d(s,t,o,[r,u]),o},t.dateParser=t.prototype.dateParser=function(n){var s,t,r,u,f,e,i,o;c(n,"options");t=this.cldr;n=n||{};rt(n)||(n.skeleton="yMd");wt(n);ot(t);i=n.timeZone;l(i,"options.timeZone");s=[n];t.on("get",p);if(i)t.on("get",w(i));return f=ct(n,t),bt(f,n.skeleton),o=gi(f,t,i),u=li(t,i),t.off("get",p),i&&t.off("get",w(i)),r=this.numberParser({raw:"0"}),e=ki(r,u,o),d(s,t,e,[r,u,o]),e},t.formatDate=t.prototype.formatDate=function(n,t){return o(n,"value"),tt(n,"value"),this.dateFormatter(t)(n)},t.formatDateToParts=t.prototype.formatDateToParts=function(n,t){return o(n,"value"),tt(n,"value"),this.dateToPartsFormatter(t)(n)},t.parseDate=t.prototype.parseDate=function(n,t){return o(n,"value"),l(n,"value"),this.dateParser(t)(n)},t}),function(n,t){typeof define=="function"&&define.amd?define("globalize",["cldr","cldr/event"],t):typeof exports=="object"?module.exports=t(require("cldrjs")):n.Globalize=t(n.Cldr)}(this,function(n){function v(n){n.once("get",s);n.get("supplemental/likelySubtags")}function t(n){if(!(this instanceof t))return new t(n);h(n,"locale");c(n,"locale");this.cldr=a(n);v(this.cldr)}var y=function(n){return typeof n=="string"?n:typeof n=="number"?""+n:JSON.stringify(n)},u=function(n,t){return n.replace(/{[0-9a-zA-Z-_. ]+}/g,function(n){return n=n.replace(/^{([^}]*)}$/,"$1"),y(t[n])})},f=function(){var n=arguments[0],t=[].slice.call(arguments,1);return t.forEach(function(t){var i;for(i in t)n[i]=t[i]}),n},e=function(n,t,i){var r;return t=n+(t?": "+u(t,i):""),r=new Error(t),r.code=n,f(r,i),r},p=function(n){return[].reduce.call(n,function(n,t){var i=t.charCodeAt(0);return n=(n<<5)-n+i,n|0},0)},w=function(n,t,i,r){var u;return r=r||JSON.stringify(i),u=p(n+t+r),u>0?"a"+u:"b"+Math.abs(u)},b=function(n){if(n.name!==undefined)return n.name;var t=/^function\s+([\w\$]+)\s*\(/.exec(n.toString());if(t&&t.length>0)return t[1]},k=function(n,t,i,r){var f=JSON.stringify(n),u=b(i),e=t.locale;return u?(i.runtimeKey=w(u,e,null,f),i.generatorString=function(){return'Globalize("'+e+'").'+u+"("+f.slice(1,-1)+")"},i.runtimeArgs=r,i):i},i=function(n,t,i,r){if(!i)throw e(n,t,r);},o=function(n){return Array.isArray(n)?n:n?[n]:[]},s=function(n,t,r){var u;r=r||{};u=o(r.skip).some(function(t){return t.test(n)});i("E_MISSING_CLDR","Missing required CLDR content `{path}`.",t||u,{path:n})},d=function(n){i("E_DEFAULT_LOCALE_NOT_DEFINED","Default locale has not been defined.",n!==undefined,{})},h=function(n,t){i("E_MISSING_PARAMETER","Missing required parameter `{name}`.",n!==undefined,{name:t})},g=function(n,t,r,u){i("E_PAR_OUT_OF_RANGE","Parameter `{name}` has value `{value}` out of range [{minimum}, {maximum}].",n===undefined||n>=r&&n<=u,{maximum:u,minimum:r,name:t,value:n})},r=function(n,t,r,u){i("E_INVALID_PAR_TYPE","Invalid `{name}` parameter ({value}). {expected} expected.",r,{expected:u,name:t,value:n})},c=function(t,i){r(t,i,t===undefined||typeof t=="string"||t instanceof n,"String or Cldr instance")},l=function(n){return n!==null&&""+n=="[object Object]"},nt=function(n,t){r(n,t,n===undefined||l(n),"Plain Object")},a=function(t){return t instanceof n?t:new n(t)},tt=function(n){return n.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")},it=function(n,t,i){var r;for(typeof n!="string"&&(n=String(n)),r=n.length;r<t;r+=1)n=i?n+"0":"0"+n;return n};return t.load=function(){n.load.apply(n,arguments)},t.locale=function(n){return c(n,"locale"),arguments.length&&(this.cldr=a(n),v(this.cldr)),this.cldr},t._alwaysArray=o,t._createError=e,t._formatMessage=u,t._isPlainObject=l,t._objectExtend=f,t._regexpEscape=tt,t._runtimeBind=k,t._stringPad=it,t._validate=i,t._validateCldr=s,t._validateDefaultLocale=d,t._validateParameterPresence=h,t._validateParameterRange=g,t._validateParameterTypePlainObject=nt,t._validateParameterType=r,t}),function(n,t){typeof define=="function"&&define.amd?define("globalize-number",["cldr","globalize","cldr/event","cldr/supplemental"],t):typeof exports=="object"?module.exports=t(require("cldrjs"),require("../globalize")):t(n.Cldr,n.Globalize)}(this,function(n,t){function ni(n){var f=n[2],r=n[3],e=n[4],t=n[5],i=n[6];if(isNaN(t*i))if(isNaN(t)&&isNaN(i))u(f,"minimumIntegerDigits",1,21),u(r,"minimumFractionDigits",0,20),u(e,"maximumFractionDigits",r,20);else throw new Error("Neither or both the minimum and maximum significant digits must be present");else u(t,"minimumSignificantDigits",1,21),u(i,"maximumSignificantDigits",t,21)}var ut=t._createError,r=t._regexpEscape,w=t._runtimeBind,o=t._stringPad,s=t._validateCldr,b=t._validateDefaultLocale,h=t._validateParameterPresence,u=t._validateParameterRange,k=t._validateParameterType,d=t._validateParameterTypePlainObject,f=function(n){return ut("E_UNSUPPORTED","Unsupported {feature}.",{feature:n})},a=function(n,t){k(n,t,n===undefined||typeof n=="number","Number")},v=function(n,t){k(n,t,n===undefined||typeof n=="string","a string")},ft=function(n,t,i){var r,f=t,u="",e=",",o=i?!0:!1;for(n=String(n).split("."),r=n[0].length;r>f;)u=n[0].slice(r-f,r)+(u.length?e:"")+u,r-=f,o&&(f=i,o=!1);return n[0]=n[0].slice(0,r)+(u.length?e:"")+u,n.join(".")},et=function(n,t,i,r,u,f){return n=r?f?u(n,f):u(n,{exponent:-r}):u(n),n=String(n),r&&/e-/.test(n)&&(n=(+n).toFixed(r).replace(/0+$/,"").replace(/\.$/,"")),i&&(n=n.split("."),n[1]=o(n[1]||"",i,!0),n=n.join(".")),t&&(n=n.split("."),n[0]=o(n[0],t),n=n.join(".")),n},g=function(n,t,i){var r;return n=n.toPrecision(t+2),r=Math.ceil(Math.log(Math.abs(n))/Math.log(10)),r-=t,i(n,{exponent:r})},ot=function(n,t,i,r){var u,e;if(t>i&&(i=t),u=g(n,t,r),e=g(n,i,r),n=+u==+e?u:e,n=(+n).toString(10),/e/.test(n))throw f({feature:"integers out of (1e21, 1e-7)"});return t-n.replace(/^0+|\./g,"").length>0&&(n=n.split("."),n[1]=o(n[1]||"",t-n[0].replace(/^0+/,"").length,!0),n=n.join(".")),n},y=function(n){return n[0]+n[n.length-1]!=="''"?n:n==="''"?"":n.replace(/''/g,"'").slice(1,-1)},st=function(n,t){var l,a,e,v,p,o,w,s,g,i,h,r,u,c,b,k,f,d;return(g=t[1],p=t[2],v=t[3],a=t[4],o=t[5],e=t[6],b=t[7],h=t[8],k=t[9],c=t[15],l=t[16],w=t[17],d=t[18],s=t[19],isNaN(n))?w:(n<0?(r=t[12],i=t[13],f=t[14]):(r=t[11],i=t[0],f=t[10]),!isFinite(n))?i+l+f:(u=i,r.indexOf("%")!==-1?n*=100:r.indexOf("‰")!==-1&&(n*=1e3),n=isNaN(o*e)?et(n,p,v,a,c,b):ot(n,o,e,c),n=n.replace(/^-/,""),h&&(n=ft(n,h,k)),u+=n,u+=f,u.replace(/('([^']|'')+'|'')|./g,function(n,t){return t?y(t):(n=n.replace(/[.,\-+E%\u2030]/,function(n){return d[n]}),s&&(n=n.replace(/[0-9]/,function(n){return s[+n]})),n)}))},ht=function(n){return function(t){return h(t,"value"),a(t,"value"),st(t,n)}},c=function(n){var t=n.attributes["u-nu"];return t?(t==="traditio"&&(t="traditional"),["native","traditional","finance"].indexOf(t)!==-1)?n.main(["numbers/otherNumberingSystems",t]):t:n.main("numbers/defaultNumberingSystem")},nt=function(n){var t,i=c(n);if(i!=="latn"){if(t=n.supplemental(["numberingSystems",i]),t._type!=="numeric")throw f("`"+t._type+"` numbering system");return t._digits}},ct=/^(('([^']|'')*'|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,tt=function(n){var i,r,u,e,c,l,a,t,v,o,s,y,p,w,b,k,h,d;if(n=n.match(ct),!n)throw new Error("Invalid pattern: "+n);if(y=n[1],s=n[4],e=n[5],h=n[9],b=n[10],d=n[11],h?h.replace(/(@+)(#*)/,function(n,t,i){o=t.length;a=o+i.length}):(u=n[8],c=n[7],u&&(u.replace(/[0-9]+/,function(n){t=n}),t?(w=+("0."+t),t=t.length):t=0,l=u.length-1),c.replace(/0+$/,function(n){v=n.length})),b)throw f({feature:"scientific notation (not implemented)"});if(s)throw f({feature:"padding (not implemented)"});return(i=e.lastIndexOf(","))!==-1&&(r=e.split(".")[0],p=r.length-i-1,(r=e.lastIndexOf(",",i-1))!==-1&&(k=i-1-r)),[y,s,v,t,l,o,a,w,p,k,d]},e=function(n,t){return t.main(["numbers/symbols-numberSystem-"+c(t),n])},l={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","‰":"perMille"},lt=function(n){var t,i={};for(t in l)i[t]=e(l[t],n);return i},at=function(n){return isNaN(n)?NaN:Math[n<0?"ceil":"floor"](n)},vt=function(n){return n=n||"round",n=n==="truncate"?at:Math[n],function(t,i){var u,r;if(t=+t,isNaN(t))return NaN;if(typeof i=="object"&&i.exponent){if(u=+i.exponent,r=1,u===0)return n(t);if(!(typeof u=="number"&&u%1==0))return NaN}else{if(r=+i||1,r===1)return n(t);if(isNaN(r))return NaN;r=r.toExponential().split("e");u=+r[1];r=+r[0]}return t=t.toString().split("e"),t[0]=+t[0]/r,t[1]=t[1]?+t[1]-u:-u,t=n(+(t[0]+"e"+t[1])),t=t.toString().split("e"),t[0]=+t[0]*r,t[1]=t[1]?+t[1]+u:u,+(t[0]+"e"+t[1])}},it=function(n,t,i){function f(n,t){n in i&&(r[t]=i[n])}var l,o,s,h,u,c,r;return i=i||{},n=n.split(";"),u=n[0],l=n[1]||"-"+u,s=tt(l),o=s[0],h=s[10],c=vt(i.round),c.generatorString=function(){return"numberRound("+(i.round?'"'+i.round+'"':"")+")"},r=tt(u).concat([u,o+u+h,o,h,c,e("infinity",t),e("nan",t),lt(t),nt(t)]),f("minimumIntegerDigits",2),f("minimumFractionDigits",3),f("maximumFractionDigits",4),f("minimumSignificantDigits",5),f("maximumSignificantDigits",6),i.useGrouping===!1&&(r[8]=null),"minimumFractionDigits"in i&&!("maximumFractionDigits"in i)?r[4]=Math.max(r[3],r[4]):!("minimumFractionDigits"in i)&&"maximumFractionDigits"in i&&(r[3]=Math.min(r[3],r[4])),r},yt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,pt=/[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g,wt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g,i=function(n){return n.replace(yt,"").replace(pt,"-").replace(wt," ")},bt=function(n,t){function v(n){return function(t){t=t.split("").map(function(n){return h[n]||s[n]||n}).join("");switch(n){case"infinity":r=Infinity;break;case"nan":r=NaN;break;case"number":t=t.replace(/,/g,"");r=+t;break;case"prefix":case"negativePrefix":l=t;break;case"suffix":f=t;break;case"negativeSuffix":f=t;c=!0;break;default:throw new Error("Internal error");}return""}}function y(n,t){return t.some(function(t){var i=n;return t.every(function(n){return i.match(e[n])===null?!1:(i=i.replace(e[n],v(n)),!0)})&&!i.length})}var o,s,h,c,r,l,u,f,e,a;return(o=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],h=t[0],s=t[1]||{},e=t[2],n=i(n),a=y(n,o),!a||isNaN(r))?NaN:(u=""+l+f,u.indexOf("%")!==-1?r/=100:u.indexOf("‰")!==-1&&(r/=1e3),c&&(r*=-1),r)},kt=function(n){return function(t){return h(t,"value"),v(t,"value"),bt(t,n)}},dt=function(n){var t,i={};for(t in l)i[e(l[t],n)]=t;return i},rt=function(n,t){return Object.keys(n).map(function(i){return t([i,n[i]])}).reduce(function(n,t){return n[t[0]]=t[1],n},{})},gt=function(n,t,u){var e,d,s,l,g,nt,tt,ut,ft,et,ot,a,v,h,o,p,c,w,b,k,f=it(n,t,u);return p=i(f[0]),ut=f[4],et=f[5],ft=f[6],c=f[8],w=f[9],b=i(f[10]),a=i(f[13]),v=i(f[14]),g=i(f[16]),ot=i(f[17]),k=rt(f[18],function(n){return[n[0],i(n[1])]}),h=f[19],tt=rt(dt(t),function(n){return[i(n[0]),n[1]]}),s=h?"["+h+"]":"\\d",l=r(k[","]),d=r(k["."]),h&&(nt=h.split("").reduce(function(n,t,i){return n[t]=String(i),n},{})),e=[p,b,a,v].map(function(n){return n.replace(/('([^']|'')+'|'')|./g,function(n,t){return t?y(t):n.replace(/[\-+E%\u2030]/,function(n){return k[n]})})}),p=e[0],b=e[1],a=e[2],v=e[3],o=s+"+",c&&(e=w?s+"{1,"+w+"}(("+l+s+"{"+w+"})*("+l+s+"{"+c+"}))":s+"{1,"+c+"}("+l+s+"{"+c+"})+",o="("+e+"|"+o+")"),(!isNaN(et*ft)||ut)&&(e=d+s+"+",o=o+"("+e+"|"+d+")?|("+o+")?"+e,o="("+o+")"),[tt,nt,{infinity:new RegExp("^"+r(g)),nan:new RegExp("^"+r(ot)),negativePrefix:new RegExp("^"+r(a)),negativeSuffix:new RegExp("^"+r(v)),number:new RegExp("^"+o),prefix:new RegExp("^"+r(p)),suffix:new RegExp("^"+r(b))}]},p=function(n,t){if(n!=="decimal"&&n!=="percent")throw new Error("Invalid style");return t.main(["numbers",n+"Formats-numberSystem-"+c(t),"standard"])};return t.numberFormatter=t.prototype.numberFormatter=function(n){var u,t,f,i,r;d(n,"options");n=n||{};t=this.cldr;u=[n];b(t);t.on("get",s);return f=n.raw?n.raw:p(n.style||"decimal",t),i=it(f,t,n),t.off("get",s),ni(i),r=ht(i),w(u,t,r,[i]),r},t.numberParser=t.prototype.numberParser=function(n){var u,t,f,i,r;d(n,"options");n=n||{};t=this.cldr;u=[n];b(t);t.on("get",s);return f=n.raw?n.raw:p(n.style||"decimal",t),i=gt(f,t,n),t.off("get",s),r=kt(i),w(u,t,r,[i]),r},t.formatNumber=t.prototype.formatNumber=function(n,t){return h(n,"value"),a(n,"value"),this.numberFormatter(t)(n)},t.parseNumber=t.prototype.parseNumber=function(n,t){return h(n,"value"),v(n,"value"),this.numberParser(t)(n)},t._createErrorUnsupportedFeature=f,t._numberNumberingSystem=c,t._numberNumberingSystemDigitsMap=nt,t._numberPattern=p,t._numberSymbol=e,t._looseMatching=i,t._removeLiteralQuotes=y,t._stringPad=o,t._validateParameterTypeNumber=a,t._validateParameterTypeString=v,t}),function(n,t){typeof define=="function"&&define.amd?define("globalize-plural",["cldr","globalize","cldr/event","cldr/supplemental"],t):typeof exports=="object"?module.exports=t(require("cldrjs"),require("../globalize")):t(n.Cldr,n.Globalize)}(this,function(n,t){var o=t._runtimeBind,r=t._validateCldr,s=t._validateDefaultLocale,u=t._validateParameterPresence,f=t._validateParameterType,h=t._validateParameterTypePlainObject,i=function(){"use strict";var u=function(n){return Array.isArray(n)?n:Array.from(n)},t=function(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)},i=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},r=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(){i(this,n)}return r(n,[{key:"parse",value:function(n){var t=this;return n==="i = 0 or n = 1"?"n >= 0 && n <= 1":n==="i = 0,1"?"n >= 0 && n < 2":n==="i = 1 and v = 0"?(this.v0=1,"n == 1 && v0"):n.replace(/([tv]) (!?)= 0/g,function(n,i,r){var u=i+"0";return t[u]=1,r?"!"+u:u}).replace(/\b[fintv]\b/g,function(n){return t[n]=1,n}).replace(/([fin]) % (10+)/g,function(n,i,r){var u=i+r;return t[u]=1,u}).replace(/n10+ = 0/g,"t0 && $&").replace(/(\w+ (!?)= )([0-9.]+,[0-9.,]+)/g,function(n,t,i,r){return n==="n = 0,1"?"(n == 0 || n == 1)":i?t+r.split(",").join(" && "+t):"("+t+r.split(",").join(" || "+t)+")"}).replace(/(\w+) (!?)= ([0-9]+)\.\.([0-9]+)/g,function(n,i,r,u,f){return Number(u)+1===Number(f)?r?""+i+" != "+u+" && "+i+" != "+f:"("+i+" == "+u+" || "+i+" == "+f+")":r?"("+i+" < "+u+" || "+i+" > "+f+")":i==="n"?(t.t0=1,"(t0 && n >= "+u+" && n <= "+f+")"):"("+i+" >= "+u+" && "+i+" <= "+f+")"}).replace(/ and /g," && ").replace(/ or /g," || ").replace(/ = /g," == ")}},{key:"vars",value:function(n){function t(){return n.apply(this,arguments)}return t.toString=function(){return n.toString()},t}(function(){var n=[],t,i;this.i&&n.push("i = s[0]");(this.f||this.v)&&n.push("f = s[1] || ''");this.t&&n.push("t = (s[1] || '').replace(/0+$/, '')");this.v&&n.push("v = f.length");this.v0&&n.push("v0 = !s[1]");(this.t0||this.n10||this.n100)&&n.push("t0 = Number(s[0]) == n");for(t in this)/^.10+$/.test(t)&&(i=t[0]==="n"?"t0 && s[0]":t[0],n.push(""+t+" = "+i+".slice(-"+t.substr(2).length+")"));return n.length?"var "+["s = String(n).split('.')"].concat(n).join(", "):""})}]),n}(),n=function(){function n(t){var r=arguments[1]===undefined?n:arguments[1],u=r.cardinals,e=r.ordinals;if(i(this,n),!u&&!e)throw new Error("At least one type of plural is required");return this.lc=t,this.categories={cardinal:[],ordinal:[]},this.parser=new f,this.fn=this.buildFunction(u,e),this.fn._obj=this,this.fn.categories=this.categories,this.fn.toString=this.fnToString.bind(this),this.fn}return r(n,[{key:"compile",value:function(i,r){var f=[],e=n.rules[i][this.lc],o;if(!e){if(r)throw new Error('Locale "'+this.lc+'" '+i+" rules not found");return this.categories[i]=["other"],"'other'"}for(o in e){var c=e[o].trim().split(/\s*@\w*/),s=u(c),h=s[0],a=s.slice(1),l=o.replace("pluralRule-count-","");h&&f.push([this.parser.parse(h),l])}return this.categories[i]=f.map(function(n){return n[1]}).concat("other"),f.length===1?"("+f[0][0]+") ? '"+f[0][1]+"' : 'other'":[].concat(t(f.map(function(n){return"("+n[0]+") ? '"+n[1]+"'"})),["'other'"]).join("\n      : ")}},{key:"buildFunction",value:function(n,i){var r=this,f=function(n){return n?(n[1]?"return ":"if (ord) return ")+r.compile.apply(r,t(n)):""},u={vars:function(n){return("  "+n+";").replace(/(.{1,78})(,|$) ?/g,"$1$2\n      ")},cond:function(n){return("  "+n+";").replace(/(.{1,78}) (\|\| |$) ?/gm,"$1\n          $2")}},e=[i&&["ordinal",!n],n&&["cardinal",!0]].map(f).map(u.cond),o=[u.vars(this.parser.vars())].concat(t(e)).join("\n").replace(/\s+$/gm,"").replace(/^[\s;]*[\r\n]+/gm,""),s=i&&n?"n, ord":"n";return new Function(s,o)}},{key:"fnToString",value:function(n){return Function.prototype.toString.call(this.fn).replace(/^function( \w+)?/,n?"function "+n:"function").replace("\n/**/","")}}],[{key:"load",value:function(){for(var i=arguments.length,r=Array(i),t=0;t<i;t++)r[t]=arguments[t];return r.forEach(function(t){var i=t&&t.supplemental||null;if(!i)throw new Error("Data does not appear to be CLDR data");n.rules={cardinal:i["plurals-type-cardinal"]||n.rules.cardinal,ordinal:i["plurals-type-ordinal"]||n.rules.ordinal}}),n}}]),n}();return n.cardinals=!0,n.ordinals=!1,n.rules={cardinal:{},ordinal:{}},n}();var e=function(n,t){f(n,t,n===undefined||typeof n=="number","Number")},c=function(n,t){f(n,t,n===undefined||n==="cardinal"||n==="ordinal",'String "cardinal" or "ordinal"')},l=function(n){return function(t){return u(t,"value"),e(t,"value"),n(t)}};return t.plural=t.prototype.plural=function(n,t){return u(n,"value"),e(n,"value"),this.pluralGenerator(t)(n)},t.pluralGenerator=t.prototype.pluralGenerator=function(n){var v,t,f,e,a,u;h(n,"options");n=n||{};t=this.cldr;v=[n];u=n.type||"cardinal";c(n.type,"options.type");s(t);f=u==="ordinal";t.on("get",r);return t.supplemental(["plurals-type-"+u,"{language}"]),t.off("get",r),i.rules={},i.rules[u]=t.supplemental("plurals-type-"+u),e=new i(t.attributes.language,{ordinals:f,cardinals:!f}),a=l(e),o(v,t,a,[e]),a},t}),function(n){if(typeof exports=="object"&&typeof module!="undefined")module.exports=n();else if(typeof define=="function"&&define.amd)define("google-libphonenumber",[],n);else{var t;t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this;t.libphonenumber=n()}}(function(){var n;return function t(n,i,r){function f(u,o){var h,c,s;if(!i[u]){if(!n[u]){if(h=typeof require=="function"&&require,!o&&h)return h(u,!0);if(e)return e(u,!0);c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[u]={exports:{}};n[u][0].call(s.exports,function(t){var i=n[u][1][t];return f(i?i:t)},s,s.exports,t,n,i,r)}return i[u].exports}for(var e=typeof require=="function"&&require,u=0;u<r.length;u++)f(r[u]);return f}({1:[function(t,i,r){(function(u){!function(t){if("object"==typeof r&&"undefined"!=typeof i)i.exports=t();else if("function"==typeof n&&n.amd)n([],t);else{var f;f="undefined"!=typeof window?window:"undefined"!=typeof u?u:"undefined"!=typeof self?self:this;f.libphonenumber=t()}}(function(){return function n(i,r,u){function f(e,s){var c,l,h;if(!r[e]){if(!i[e]){if(c="function"==typeof t&&t,!s&&c)return c(e,!0);if(o)return o(e,!0);l=new Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l;}h=r[e]={exports:{}};i[e][0].call(h.exports,function(n){var t=i[e][1][n];return f(t?t:n)},h,h.exports,n,i,r,u)}return r[e].exports}for(var o="function"==typeof t&&t,e=0;e<u.length;e++)f(u[e]);return f}({1:[function(n,t){var u=!0,i=i||{},r;i.global=this;i.isDef=function(n){return void 0!==n};i.exportPath_=function(n,t,r){n=n.split(".");r=r||i.global;n[0]in r||!r.execScript||r.execScript("var "+n[0]);for(var u;n.length&&(u=n.shift());)!n.length&&i.isDef(t)?r[u]=t:r=r[u]?r[u]:r[u]={}};i.define=function(n,t){var r=t;u||(i.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(i.global.CLOSURE_UNCOMPILED_DEFINES,n)?r=i.global.CLOSURE_UNCOMPILED_DEFINES[n]:i.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(i.global.CLOSURE_DEFINES,n)&&(r=i.global.CLOSURE_DEFINES[n]));i.exportPath_(n,r)};i.DEBUG=!0;i.LOCALE="en";i.TRUSTED_SITE=!0;i.STRICT_MODE_COMPATIBLE=!1;i.DISALLOW_TEST_ONLY_CODE=u&&!i.DEBUG;i.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;i.provide=function(n){if(i.isInModuleLoader_())throw Error("goog.provide can not be used within a goog.module.");if(!u&&i.isProvided_(n))throw Error('Namespace "'+n+'" already declared.');i.constructNamespace_(n)};i.constructNamespace_=function(n,t){if(!u){delete i.implicitNamespaces_[n];for(var r=n;(r=r.substring(0,r.lastIndexOf(".")))&&!i.getObjectByName(r);)i.implicitNamespaces_[r]=!0}i.exportPath_(n,t)};i.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;i.module=function(n){if(!i.isString(n)||!n||-1==n.search(i.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!i.isInModuleLoader_())throw Error("Module "+n+" has been loaded incorrectly.");if(i.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(i.moduleLoaderState_.moduleName=n,!u){if(i.isProvided_(n))throw Error('Namespace "'+n+'" already declared.');delete i.implicitNamespaces_[n]}};i.module.get=function(n){return i.module.getInternal_(n)};i.module.getInternal_=function(n){if(!u)return i.isProvided_(n)?n in i.loadedModules_?i.loadedModules_[n]:i.getObjectByName(n):null};i.moduleLoaderState_=null;i.isInModuleLoader_=function(){return null!=i.moduleLoaderState_};i.module.declareLegacyNamespace=function(){if(!u&&!i.isInModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!u&&!i.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");i.moduleLoaderState_.declareLegacyNamespace=!0};i.setTestOnly=function(n){if(i.DISALLOW_TEST_ONLY_CODE)throw n=n||"",Error("Importing test-only code into non-debug environment"+(n?": "+n:"."));};i.forwardDeclare=function(){};u||(i.isProvided_=function(n){return n in i.loadedModules_||!i.implicitNamespaces_[n]&&i.isDefAndNotNull(i.getObjectByName(n))},i.implicitNamespaces_={"goog.module":!0});i.getObjectByName=function(n,t){for(var u,f=n.split("."),r=t||i.global;u=f.shift();){if(!i.isDefAndNotNull(r[u]))return null;r=r[u]}return r};i.globalize=function(n,t){var r,u=t||i.global;for(r in n)u[r]=n[r]};i.addDependency=function(n,t,r,u){var o,f,e;if(i.DEPENDENCIES_ENABLED){for(n=n.replace(/\\/g,"/"),f=i.dependencies_,u&&"boolean"!=typeof u||(u=u?{module:"goog"}:{}),e=0;o=t[e];e++)f.nameToPath[o]=n,f.loadFlags[n]=u;for(u=0;t=r[u];u++)n in f.requires||(f.requires[n]={}),f.requires[n][t]=!0}};i.ENABLE_DEBUG_LOADER=!0;i.logToConsole_=function(n){i.global.console&&i.global.console.error(n)};i.require=function(n){if(!u){if(i.ENABLE_DEBUG_LOADER&&i.IS_OLD_IE_&&i.maybeProcessDeferredDep_(n),i.isProvided_(n))return i.isInModuleLoader_()?i.module.getInternal_(n):null;if(i.ENABLE_DEBUG_LOADER){var t=i.getPathFromDeps_(n);if(t)return i.writeScripts_(t),null}throw n="goog.require could not find: "+n,i.logToConsole_(n),Error(n);}};i.basePath="";i.nullFunction=function(){};i.abstractMethod=function(){throw Error("unimplemented abstract method");};i.addSingletonGetter=function(n){n.getInstance=function(){return n.instance_?n.instance_:(i.DEBUG&&(i.instantiatedSingletons_[i.instantiatedSingletons_.length]=n),n.instance_=new n)}};i.instantiatedSingletons_=[];i.LOAD_MODULE_USING_EVAL=!0;i.SEAL_MODULE_EXPORTS=i.DEBUG;i.loadedModules_={};i.DEPENDENCIES_ENABLED=!u&&i.ENABLE_DEBUG_LOADER;i.ALWAYS_TRANSPILE=!1;i.NEVER_TRANSPILE=!1;i.DEPENDENCIES_ENABLED&&(i.dependencies_={loadFlags:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}},i.inHtmlDocument_=function(){var n=i.global.document;return null!=n&&"write"in n},i.findBasePath_=function(){var u,t;if(i.isDef(i.global.CLOSURE_BASE_PATH))i.basePath=i.global.CLOSURE_BASE_PATH;else if(i.inHtmlDocument_())for(u=i.global.document.getElementsByTagName("SCRIPT"),t=u.length-1;t>=0;--t){var r=u[t].src,n=r.lastIndexOf("?"),n=-1==n?r.length:n;if("base.js"==r.substr(n-7,7)){i.basePath=r.substr(0,n-7);break}}},i.importScript_=function(n,t){(i.global.CLOSURE_IMPORT_SCRIPT||i.writeScriptTag_)(n,t)&&(i.dependencies_.written[n]=!0)},i.IS_OLD_IE_=!(i.global.atob||!i.global.document||!i.global.document.all),i.importProcessedScript_=function(n,t,r){i.importScript_("",'goog.retrieveAndExec_("'+n+'", '+t+", "+r+");")},i.queuedModules_=[],i.wrapModule_=function(n,t){return i.LOAD_MODULE_USING_EVAL&&i.isDef(i.global.JSON)?"goog.loadModule("+i.global.JSON.stringify(t+"\n//# sourceURL="+n+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+t+"\n;return exports});\n//# sourceURL="+n+"\n"},i.loadQueuedModules_=function(){var t=i.queuedModules_.length,r,n;if(t>0)for(r=i.queuedModules_,i.queuedModules_=[],n=0;t>n;n++)i.maybeProcessDeferredPath_(r[n])},i.maybeProcessDeferredDep_=function(n){i.isDeferredModule_(n)&&i.allDepsAreAvailable_(n)&&(n=i.getPathFromDeps_(n),i.maybeProcessDeferredPath_(i.basePath+n))},i.isDeferredModule_=function(n){var t=(n=i.getPathFromDeps_(n))&&i.dependencies_.loadFlags[n]||{};return n&&("goog"==t.module||i.needsTranspile_(t.lang))?i.basePath+n in i.dependencies_.deferred:!1},i.allDepsAreAvailable_=function(n){if((n=i.getPathFromDeps_(n))&&n in i.dependencies_.requires)for(var t in i.dependencies_.requires[n])if(!i.isProvided_(t)&&!i.isDeferredModule_(t))return!1;return!0},i.maybeProcessDeferredPath_=function(n){if(n in i.dependencies_.deferred){var t=i.dependencies_.deferred[n];delete i.dependencies_.deferred[n];i.globalEval(t)}},i.loadModuleFromUrl=function(n){i.retrieveAndExec_(n,!0,!1)},i.loadModule=function(n){var u=i.moduleLoaderState_,r,t;try{if(i.moduleLoaderState_={moduleName:void 0,declareLegacyNamespace:!1},i.isFunction(n))r=n.call(i.global,{});else{if(!i.isString(n))throw Error("Invalid module definition");r=i.loadModuleFromSource_.call(i.global,n)}if(t=i.moduleLoaderState_.moduleName,!i.isString(t)||!t)throw Error('Invalid module name "'+t+'"');i.moduleLoaderState_.declareLegacyNamespace?i.constructNamespace_(t,r):i.SEAL_MODULE_EXPORTS&&Object.seal&&Object.seal(r);i.loadedModules_[t]=r}finally{i.moduleLoaderState_=u}},i.loadModuleFromSource_=function(a){return eval(a),{}},i.writeScriptSrcNode_=function(n){i.global.document.write('<script type="text/javascript" src="'+n+'"><\/script>')},i.appendScriptSrcNode_=function(n){var r=i.global.document,t=r.createElement("script");t.type="text/javascript";t.src=n;t.defer=!1;t.async=!1;r.head.appendChild(t)},i.writeScriptTag_=function(n,t){var r,u;if(i.inHtmlDocument_()){if(r=i.global.document,!i.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&"complete"==r.readyState){if(/\bdeps.js$/.test(n))return!1;throw Error('Cannot write "'+n+'" after document load');}return void 0===t?i.IS_OLD_IE_?(u=" onreadystatechange='goog.onScriptLoad_(this, "+ ++i.lastNonModuleScriptIndex_+")' ",r.write('<script type="text/javascript" src="'+n+'"'+u+"><\/script>")):i.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING?i.appendScriptSrcNode_(n):i.writeScriptSrcNode_(n):r.write('<script type="text/javascript">'+t+"<\/script>"),!0}return!1},i.needsTranspile_=function(a){if(i.ALWAYS_TRANSPILE)return!0;if(i.NEVER_TRANSPILE)return!1;if(!i.transpiledLanguages_){i.transpiledLanguages_={es5:!0,es6:!0,"es6-impl":!0};try{i.transpiledLanguages_.es5=eval("[1,].length!=1");eval('(()=>{"use strict";let a={};const X=class{constructor(){}x(z){return new Map([...arguments]).get(z[0])==3}};return new X().x([a,3])})()')&&(i.transpiledLanguages_["es6-impl"]=!1);eval('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')&&(i.transpiledLanguages_.es6=!1)}catch(b){}}return!!i.transpiledLanguages_[a]},i.transpiledLanguages_=null,i.lastNonModuleScriptIndex_=0,i.onScriptLoad_=function(n,t){return"complete"==n.readyState&&i.lastNonModuleScriptIndex_==t&&i.loadQueuedModules_(),!0},i.writeScripts_=function(n){function s(n){if(!(n in t.written||n in t.visited)){if(t.visited[n]=!0,n in t.requires)for(var r in t.requires[n])if(!i.isProvided_(r)){if(!(r in t.nameToPath))throw Error("Undefined nameToPath for "+r);s(t.nameToPath[r])}n in h||(h[n]=!0,u.push(n))}}var u=[],h={},t=i.dependencies_,r,e,f,o;for(s(n),n=0;n<u.length;n++)r=u[n],i.dependencies_.written[r]=!0;for(e=i.moduleLoaderState_,i.moduleLoaderState_=null,n=0;n<u.length;n++){if(!(r=u[n]))throw i.moduleLoaderState_=e,Error("Undefined script input");f=t.loadFlags[r]||{};o=i.needsTranspile_(f.lang);"goog"==f.module||o?i.importProcessedScript_(i.basePath+r,"goog"==f.module,o):i.importScript_(i.basePath+r)}i.moduleLoaderState_=e},i.getPathFromDeps_=function(n){return n in i.dependencies_.nameToPath?i.dependencies_.nameToPath[n]:null},i.findBasePath_(),i.global.CLOSURE_NO_DEPS||i.importScript_(i.basePath+"deps.js"));i.normalizePath_=function(n){n=n.split("/");for(var t=0;t<n.length;)"."==n[t]?n.splice(t,1):t&&".."==n[t]&&n[t-1]&&".."!=n[t-1]?n.splice(--t,2):t++;return n.join("/")};i.loadFileSync_=function(n){if(i.global.CLOSURE_LOAD_FILE_SYNC)return i.global.CLOSURE_LOAD_FILE_SYNC(n);var t=new i.global.XMLHttpRequest;return t.open("get",n,!1),t.send(),200==t.status?t.responseText:null};i.retrieveAndExec_=function(n,t,r){var e,o,f;if(!u){if(e=n,n=i.normalizePath_(n),o=i.global.CLOSURE_IMPORT_SCRIPT||i.writeScriptTag_,f=i.loadFileSync_(n),null==f)throw Error('Load of "'+n+'" failed');r&&(f=i.transpile_.call(i.global,f,n));f=t?i.wrapModule_(n,f):f+("\n//# sourceURL="+n);i.IS_OLD_IE_?(i.dependencies_.deferred[e]=f,i.queuedModules_.push(e)):o(n,f)}};i.transpile_=function(a,b){var c=i.global.$jscomp,d,e,f;return c||(i.global.$jscomp=c={}),d=c.transpile,d||(e=i.basePath+"transpile.js",f=i.loadFileSync_(e),f&&(eval(f+"\n//# sourceURL="+e),c=i.global.$jscomp,d=c.transpile)),d||(d=c.transpile=function(n,t){return i.logToConsole_(t+" requires transpilation but no transpiler was found."),n}),d(a,b)};i.typeOf=function(n){var t=typeof n,i;if("object"==t){if(!n)return"null";if(n instanceof Array)return"array";if(n instanceof Object)return t;if(i=Object.prototype.toString.call(n),"[object Window]"==i)return"object";if("[object Array]"==i||"number"==typeof n.length&&"undefined"!=typeof n.splice&&"undefined"!=typeof n.propertyIsEnumerable&&!n.propertyIsEnumerable("splice"))return"array";if("[object Function]"==i||"undefined"!=typeof n.call&&"undefined"!=typeof n.propertyIsEnumerable&&!n.propertyIsEnumerable("call"))return"function"}else if("function"==t&&"undefined"==typeof n.call)return"object";return t};i.isNull=function(n){return null===n};i.isDefAndNotNull=function(n){return null!=n};i.isArray=function(n){return"array"==i.typeOf(n)};i.isArrayLike=function(n){var t=i.typeOf(n);return"array"==t||"object"==t&&"number"==typeof n.length};i.isDateLike=function(n){return i.isObject(n)&&"function"==typeof n.getFullYear};i.isString=function(n){return"string"==typeof n};i.isBoolean=function(n){return"boolean"==typeof n};i.isNumber=function(n){return"number"==typeof n};i.isFunction=function(n){return"function"==i.typeOf(n)};i.isObject=function(n){var t=typeof n;return"object"==t&&null!=n||"function"==t};i.getUid=function(n){return n[i.UID_PROPERTY_]||(n[i.UID_PROPERTY_]=++i.uidCounter_)};i.hasUid=function(n){return!!n[i.UID_PROPERTY_]};i.removeUid=function(n){null!==n&&"removeAttribute"in n&&n.removeAttribute(i.UID_PROPERTY_);try{delete n[i.UID_PROPERTY_]}catch(t){}};i.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0);i.uidCounter_=0;i.getHashCode=i.getUid;i.removeHashCode=i.removeUid;i.cloneObject=function(n){var t=i.typeOf(n),r;if("object"==t||"array"==t){if(n.clone)return n.clone();t="array"==t?[]:{};for(r in n)t[r]=i.cloneObject(n[r]);return t}return n};i.bindNative_=function(n){return n.call.apply(n.bind,arguments)};i.bindJs_=function(n,t){if(!n)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,i),n.apply(t,r)}}return function(){return n.apply(t,arguments)}};i.bind=function(){return i.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i.bindNative_:i.bindJs_,i.bind.apply(null,arguments)};i.partial=function(n){var t=Array.prototype.slice.call(arguments,1);return function(){var i=t.slice();return i.push.apply(i,arguments),n.apply(this,i)}};i.mixin=function(n,t){for(var i in t)n[i]=t[i]};i.now=i.TRUSTED_SITE&&Date.now||function(){return+new Date};i.globalEval=function(n){if(i.global.execScript)i.global.execScript(n,"JavaScript");else{if(!i.global.eval)throw Error("goog.globalEval not available");if(null==i.evalWorksForGlobals_)if(i.global.eval("var _evalTest_ = 1;"),"undefined"!=typeof i.global._evalTest_){try{delete i.global._evalTest_}catch(u){}i.evalWorksForGlobals_=!0}else i.evalWorksForGlobals_=!1;if(i.evalWorksForGlobals_)i.global.eval(n);else{var r=i.global.document,t=r.createElement("SCRIPT");t.type="text/javascript";t.defer=!1;t.appendChild(r.createTextNode(n));r.body.appendChild(t);r.body.removeChild(t)}}};i.evalWorksForGlobals_=null;i.getCssName=function(n,t){var u=function(n){return i.cssNameMapping_[n]||n},r=function(n){n=n.split("-");for(var i=[],t=0;t<n.length;t++)i.push(u(n[t]));return i.join("-")},r=i.cssNameMapping_?"BY_WHOLE"==i.cssNameMappingStyle_?u:r:function(n){return n};return t?n+"-"+r(t):r(n)};i.setCssNameMapping=function(n,t){i.cssNameMapping_=n;i.cssNameMappingStyle_=t};!u&&i.global.CLOSURE_CSS_NAME_MAPPING&&(i.cssNameMapping_=i.global.CLOSURE_CSS_NAME_MAPPING);i.getMsg=function(n,t){return t&&(n=n.replace(/\{\$([^}]+)}/g,function(n,i){return null!=t&&i in t?t[i]:n})),n};i.getMsgWithFallback=function(n){return n};i.exportSymbol=function(n,t,r){i.exportPath_(n,t,r)};i.exportProperty=function(n,t,i){n[t]=i};i.inherits=function(n,t){function i(){}i.prototype=t.prototype;n.superClass_=t.prototype;n.prototype=new i;n.prototype.constructor=n;n.base=function(n,i){for(var u=Array(arguments.length-2),r=2;r<arguments.length;r++)u[r-2]=arguments[r];return t.prototype[i].apply(n,u)}};i.base=function(n,t){var e=arguments.callee.caller,u,r,f;if(i.STRICT_MODE_COMPATIBLE||i.DEBUG&&!e)throw Error("arguments.caller not defined.  goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(e.superClass_){for(u=Array(arguments.length-1),r=1;r<arguments.length;r++)u[r-1]=arguments[r];return e.superClass_.constructor.apply(n,u)}for(u=Array(arguments.length-2),r=2;r<arguments.length;r++)u[r-2]=arguments[r];for(r=!1,f=n.constructor;f;f=f.superClass_&&f.superClass_.constructor)if(f.prototype[t]===e)r=!0;else if(r)return f.prototype[t].apply(n,u);if(n[t]===e)return n.constructor.prototype[t].apply(n,u);throw Error("goog.base called from a method of one name to a method of a different name");};i.scope=function(n){if(i.isInModuleLoader_())throw Error("goog.scope is not supported within a goog.module.");n.call(i.global)};u||(i.global.COMPILED=u);i.defineClass=function(n,t){var r=t.constructor,u=t.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).");}),r=i.defineClass.createSealingConstructor_(r,n),n&&i.inherits(r,n),delete t.constructor,delete t.statics,i.defineClass.applyProperties_(r.prototype,t),null!=u&&(u instanceof Function?u(r):i.defineClass.applyProperties_(r,u)),r};i.defineClass.SEAL_CLASS_INSTANCES=i.DEBUG;i.defineClass.createSealingConstructor_=function(n,t){if(!i.defineClass.SEAL_CLASS_INSTANCES)return n;var u=!i.defineClass.isUnsealable_(t),r=function(){var t=n.apply(this,arguments)||this;return t[i.UID_PROPERTY_]=t[i.UID_PROPERTY_],this.constructor===r&&u&&Object.seal instanceof Function&&Object.seal(t),t};return r};i.defineClass.isUnsealable_=function(n){return n&&n.prototype&&n.prototype[i.UNSEALABLE_CONSTRUCTOR_PROPERTY_]};i.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");i.defineClass.applyProperties_=function(n,t){var r,u;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);for(u=0;u<i.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;u++)r=i.defineClass.OBJECT_PROTOTYPE_FIELDS_[u],Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])};i.tagUnsealableClass=function(n){!u&&i.defineClass.SEAL_CLASS_INSTANCES&&(n.prototype[i.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)};i.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable";i.string={};i.string.StringBuffer=function(n){null!=n&&this.append.apply(this,arguments)};i.string.StringBuffer.prototype.buffer_="";i.string.StringBuffer.prototype.set=function(n){this.buffer_=""+n};i.string.StringBuffer.prototype.append=function(n,t){if(this.buffer_+=String(n),null!=t)for(var i=1;i<arguments.length;i++)this.buffer_+=arguments[i];return this};i.string.StringBuffer.prototype.clear=function(){this.buffer_=""};i.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length};i.string.StringBuffer.prototype.toString=function(){return this.buffer_};i.debug={};i.debug.Error=function(n){if(Error.captureStackTrace)Error.captureStackTrace(this,i.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}n&&(this.message=String(n));this.reportErrorToServer=!0};i.inherits(i.debug.Error,Error);i.debug.Error.prototype.name="CustomError";i.dom={};i.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};i.string.DETECT_DOUBLE_ESCAPING=!1;i.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;i.string.Unicode={NBSP:" "};i.string.startsWith=function(n,t){return 0==n.lastIndexOf(t,0)};i.string.endsWith=function(n,t){var i=n.length-t.length;return i>=0&&n.indexOf(t,i)==i};i.string.caseInsensitiveStartsWith=function(n,t){return 0==i.string.caseInsensitiveCompare(t,n.substr(0,t.length))};i.string.caseInsensitiveEndsWith=function(n,t){return 0==i.string.caseInsensitiveCompare(t,n.substr(n.length-t.length,t.length))};i.string.caseInsensitiveEquals=function(n,t){return n.toLowerCase()==t.toLowerCase()};i.string.subs=function(n){for(var t=n.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<t.length;)i+=t.shift()+r.shift();return i+t.join("%s")};i.string.collapseWhitespace=function(n){return n.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")};i.string.isEmptyOrWhitespace=function(n){return/^[\s\xa0]*$/.test(n)};i.string.isEmptyString=function(n){return 0==n.length};i.string.isEmpty=i.string.isEmptyOrWhitespace;i.string.isEmptyOrWhitespaceSafe=function(n){return i.string.isEmptyOrWhitespace(i.string.makeSafe(n))};i.string.isEmptySafe=i.string.isEmptyOrWhitespaceSafe;i.string.isBreakingWhitespace=function(n){return!/[^\t\n\r ]/.test(n)};i.string.isAlpha=function(n){return!/[^a-zA-Z]/.test(n)};i.string.isNumeric=function(n){return!/[^0-9]/.test(n)};i.string.isAlphaNumeric=function(n){return!/[^a-zA-Z0-9]/.test(n)};i.string.isSpace=function(n){return" "==n};i.string.isUnicodeChar=function(n){return 1==n.length&&n>=" "&&"~">=n||n>=""&&"�">=n};i.string.stripNewlines=function(n){return n.replace(/(\r\n|\r|\n)+/g," ")};i.string.canonicalizeNewlines=function(n){return n.replace(/(\r\n|\r|\n)/g,"\n")};i.string.normalizeWhitespace=function(n){return n.replace(/\xa0|\s/g," ")};i.string.normalizeSpaces=function(n){return n.replace(/\xa0|[ \t]+/g," ")};i.string.collapseBreakingSpaces=function(n){return n.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")};i.string.trim=i.TRUSTED_SITE&&String.prototype.trim?function(n){return n.trim()}:function(n){return n.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};i.string.trimLeft=function(n){return n.replace(/^[\s\xa0]+/,"")};i.string.trimRight=function(n){return n.replace(/[\s\xa0]+$/,"")};i.string.caseInsensitiveCompare=function(n,t){var i=String(n).toLowerCase(),r=String(t).toLowerCase();return r>i?-1:i==r?0:1};i.string.numberAwareCompare_=function(n,t,i){var e;if(n==t)return 0;if(!n)return-1;if(!t)return 1;for(var r=n.toLowerCase().match(i),u=t.toLowerCase().match(i),o=Math.min(r.length,u.length),f=0;o>f;f++)if(i=r[f],e=u[f],i!=e)return n=parseInt(i,10),!isNaN(n)&&(t=parseInt(e,10),!isNaN(t)&&n-t)?n-t:e>i?-1:1;return r.length!=u.length?r.length-u.length:t>n?-1:1};i.string.intAwareCompare=function(n,t){return i.string.numberAwareCompare_(n,t,/\d+|\D+/g)};i.string.floatAwareCompare=function(n,t){return i.string.numberAwareCompare_(n,t,/\d+|\.\d+|\D+/g)};i.string.numerateCompare=i.string.floatAwareCompare;i.string.urlEncode=function(n){return encodeURIComponent(String(n))};i.string.urlDecode=function(n){return decodeURIComponent(n.replace(/\+/g," "))};i.string.newLineToBr=function(n,t){return n.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")};i.string.htmlEscape=function(n,t){if(t)n=n.replace(i.string.AMP_RE_,"&amp;").replace(i.string.LT_RE_,"&lt;").replace(i.string.GT_RE_,"&gt;").replace(i.string.QUOT_RE_,"&quot;").replace(i.string.SINGLE_QUOTE_RE_,"&#39;").replace(i.string.NULL_RE_,"&#0;"),i.string.DETECT_DOUBLE_ESCAPING&&(n=n.replace(i.string.E_RE_,"&#101;"));else{if(!i.string.ALL_RE_.test(n))return n;-1!=n.indexOf("&")&&(n=n.replace(i.string.AMP_RE_,"&amp;"));-1!=n.indexOf("<")&&(n=n.replace(i.string.LT_RE_,"&lt;"));-1!=n.indexOf(">")&&(n=n.replace(i.string.GT_RE_,"&gt;"));-1!=n.indexOf('"')&&(n=n.replace(i.string.QUOT_RE_,"&quot;"));-1!=n.indexOf("'")&&(n=n.replace(i.string.SINGLE_QUOTE_RE_,"&#39;"));-1!=n.indexOf("\x00")&&(n=n.replace(i.string.NULL_RE_,"&#0;"));i.string.DETECT_DOUBLE_ESCAPING&&-1!=n.indexOf("e")&&(n=n.replace(i.string.E_RE_,"&#101;"))}return n};i.string.AMP_RE_=/&/g;i.string.LT_RE_=/</g;i.string.GT_RE_=/>/g;i.string.QUOT_RE_=/"/g;i.string.SINGLE_QUOTE_RE_=/'/g;i.string.NULL_RE_=/\x00/g;i.string.E_RE_=/e/g;i.string.ALL_RE_=i.string.DETECT_DOUBLE_ESCAPING?/[\x00&<>"'e]/:/[\x00&<>"']/;i.string.unescapeEntities=function(n){return i.string.contains(n,"&")?!i.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in i.global?i.string.unescapeEntitiesUsingDom_(n):i.string.unescapePureXmlEntities_(n):n};i.string.unescapeEntitiesWithDocument=function(n,t){return i.string.contains(n,"&")?i.string.unescapeEntitiesUsingDom_(n,t):n};i.string.unescapeEntitiesUsingDom_=function(n,t){var r,u={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};return r=t?t.createElement("div"):i.global.document.createElement("div"),n.replace(i.string.HTML_ENTITY_PATTERN_,function(n,t){var i=u[n],f;return i?i:("#"==t.charAt(0)&&(f=Number("0"+t.substr(1)),isNaN(f)||(i=String.fromCharCode(f))),i||(r.innerHTML=n+" ",i=r.firstChild.nodeValue.slice(0,-1)),u[n]=i)})};i.string.unescapePureXmlEntities_=function(n){return n.replace(/&([^;]+);/g,function(n,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:if("#"==t.charAt(0)){var i=Number("0"+t.substr(1));if(!isNaN(i))return String.fromCharCode(i)}return n}})};i.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g;i.string.whitespaceEscape=function(n,t){return i.string.newLineToBr(n.replace(/  /g," &#160;"),t)};i.string.preserveSpaces=function(n){return n.replace(/(^|[\n ]) /g,"$1"+i.string.Unicode.NBSP)};i.string.stripQuotes=function(n,t){for(var u,r=t.length,i=0;r>i;i++)if(u=1==r?t:t.charAt(i),n.charAt(0)==u&&n.charAt(n.length-1)==u)return n.substring(1,n.length-1);return n};i.string.truncate=function(n,t,r){return r&&(n=i.string.unescapeEntities(n)),n.length>t&&(n=n.substring(0,t-3)+"..."),r&&(n=i.string.htmlEscape(n)),n};i.string.truncateMiddle=function(n,t,r,u){if(r&&(n=i.string.unescapeEntities(n)),u&&n.length>t){u>t&&(u=t);var f=n.length-u;n=n.substring(0,t-u)+"..."+n.substring(f)}else n.length>t&&(u=Math.floor(t/2),f=n.length-u,n=n.substring(0,u+t%2)+"..."+n.substring(f));return r&&(n=i.string.htmlEscape(n)),n};i.string.specialEscapeChars_={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0b":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"};i.string.jsEscapeCache_={"'":"\\'"};i.string.quote=function(n){var u,t,r,f;for(n=String(n),u=['"'],t=0;t<n.length;t++)r=n.charAt(t),f=r.charCodeAt(0),u[t+1]=i.string.specialEscapeChars_[r]||(f>31&&127>f?r:i.string.escapeChar(r));return u.push('"'),u.join("")};i.string.escapeString=function(n){for(var r=[],t=0;t<n.length;t++)r[t]=i.string.escapeChar(n.charAt(t));return r.join("")};i.string.escapeChar=function(n){if(n in i.string.jsEscapeCache_)return i.string.jsEscapeCache_[n];if(n in i.string.specialEscapeChars_)return i.string.jsEscapeCache_[n]=i.string.specialEscapeChars_[n];var t,r=n.charCodeAt(0);return r>31&&127>r?t=n:(256>r?(t="\\x",(16>r||r>256)&&(t+="0")):(t="\\u",4096>r&&(t+="0")),t+=r.toString(16).toUpperCase()),i.string.jsEscapeCache_[n]=t};i.string.contains=function(n,t){return-1!=n.indexOf(t)};i.string.caseInsensitiveContains=function(n,t){return i.string.contains(n.toLowerCase(),t.toLowerCase())};i.string.countOf=function(n,t){return n&&t?n.split(t).length-1:0};i.string.removeAt=function(n,t,i){var r=n;return t>=0&&t<n.length&&i>0&&(r=n.substr(0,t)+n.substr(t+i,n.length-t-i)),r};i.string.remove=function(n,t){var r=new RegExp(i.string.regExpEscape(t),"");return n.replace(r,"")};i.string.removeAll=function(n,t){var r=new RegExp(i.string.regExpEscape(t),"g");return n.replace(r,"")};i.string.regExpEscape=function(n){return String(n).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};i.string.repeat=String.prototype.repeat?function(n,t){return n.repeat(t)}:function(n,t){return Array(t+1).join(n)};i.string.padNumber=function(n,t,r){return n=i.isDef(r)?n.toFixed(r):String(n),r=n.indexOf("."),-1==r&&(r=n.length),i.string.repeat("0",Math.max(0,t-r))+n};i.string.makeSafe=function(n){return null==n?"":String(n)};i.string.buildString=function(){return Array.prototype.join.call(arguments,"")};i.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^i.now()).toString(36)};i.string.compareVersions=function(n,t){for(var u,f,r=0,o=i.string.trim(String(n)).split("."),s=i.string.trim(String(t)).split("."),h=Math.max(o.length,s.length),e=0;0==r&&h>e;e++){var c=o[e]||"",l=s[e]||"",a=RegExp("(\\d*)(\\D*)","g"),v=RegExp("(\\d*)(\\D*)","g");do{if(u=a.exec(c)||["","",""],f=v.exec(l)||["","",""],0==u[0].length&&0==f[0].length)break;var r=0==u[1].length?0:parseInt(u[1],10),y=0==f[1].length?0:parseInt(f[1],10),r=i.string.compareElements_(r,y)||i.string.compareElements_(0==u[2].length,0==f[2].length)||i.string.compareElements_(u[2],f[2])}while(0==r)}return r};i.string.compareElements_=function(n,t){return t>n?-1:n>t?1:0};i.string.hashCode=function(n){for(var t=0,i=0;i<n.length;++i)t=31*t+n.charCodeAt(i)>>>0;return t};i.string.uniqueStringCounter_=2147483648*Math.random()|0;i.string.createUniqueString=function(){return"goog_"+i.string.uniqueStringCounter_++};i.string.toNumber=function(n){var t=Number(n);return 0==t&&i.string.isEmptyOrWhitespace(n)?NaN:t};i.string.isLowerCamelCase=function(n){return/^[a-z]+([A-Z][a-z]*)*$/.test(n)};i.string.isUpperCamelCase=function(n){return/^([A-Z][a-z]*)+$/.test(n)};i.string.toCamelCase=function(n){return String(n).replace(/\-([a-z])/g,function(n,t){return t.toUpperCase()})};i.string.toSelectorCase=function(n){return String(n).replace(/([A-Z])/g,"-$1").toLowerCase()};i.string.toTitleCase=function(n,t){var r=i.isString(t)?i.string.regExpEscape(t):"\\s";return n.replace(new RegExp("(^"+(r?"|["+r+"]+":"")+")([a-z])","g"),function(n,t,i){return t+i.toUpperCase()})};i.string.capitalize=function(n){return String(n.charAt(0)).toUpperCase()+String(n.substr(1)).toLowerCase()};i.string.parseInt=function(n){return isFinite(n)&&(n=String(n)),i.isString(n)?/^\s*-?0x/i.test(n)?parseInt(n,16):parseInt(n,10):NaN};i.string.splitLimit=function(n,t,i){n=n.split(t);for(var r=[];i>0&&n.length;)r.push(n.shift()),i--;return n.length&&r.push(n.join(t)),r};i.string.lastComponent=function(n,t){var i,r,u;if(!t)return n;for("string"==typeof t&&(t=[t]),i=-1,r=0;r<t.length;r++)""!=t[r]&&(u=n.lastIndexOf(t[r]),u>i&&(i=u));return-1==i?n:n.slice(i+1)};i.string.editDistance=function(n,t){var u=[],f=[],r,i;if(n==t)return 0;if(!n.length||!t.length)return Math.max(n.length,t.length);for(r=0;r<t.length+1;r++)u[r]=r;for(r=0;r<n.length;r++){for(f[0]=r+1,i=0;i<t.length;i++)f[i+1]=Math.min(f[i]+1,u[i+1]+1,u[i]+Number(n[r]!=t[i]));for(i=0;i<u.length;i++)u[i]=f[i]}return f[t.length]};i.asserts={};i.asserts.ENABLE_ASSERTS=i.DEBUG;i.asserts.AssertionError=function(n,t){t.unshift(n);i.debug.Error.call(this,i.string.subs.apply(null,t));t.shift();this.messagePattern=n};i.inherits(i.asserts.AssertionError,i.debug.Error);i.asserts.AssertionError.prototype.name="AssertionError";i.asserts.DEFAULT_ERROR_HANDLER=function(n){throw n;};i.asserts.errorHandler_=i.asserts.DEFAULT_ERROR_HANDLER;i.asserts.doAssertFailure_=function(n,t,r,u){var f="Assertion failed",e;r?(f=f+(": "+r),e=u):n&&(f+=": "+n,e=t);n=new i.asserts.AssertionError(""+f,e||[]);i.asserts.errorHandler_(n)};i.asserts.setErrorHandler=function(n){i.asserts.ENABLE_ASSERTS&&(i.asserts.errorHandler_=n)};i.asserts.assert=function(n,t){return i.asserts.ENABLE_ASSERTS&&!n&&i.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),n};i.asserts.fail=function(n){i.asserts.ENABLE_ASSERTS&&i.asserts.errorHandler_(new i.asserts.AssertionError("Failure"+(n?": "+n:""),Array.prototype.slice.call(arguments,1)))};i.asserts.assertNumber=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isNumber(n)&&i.asserts.doAssertFailure_("Expected number but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertString=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isString(n)&&i.asserts.doAssertFailure_("Expected string but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertFunction=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isFunction(n)&&i.asserts.doAssertFailure_("Expected function but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertObject=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isObject(n)&&i.asserts.doAssertFailure_("Expected object but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertArray=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isArray(n)&&i.asserts.doAssertFailure_("Expected array but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertBoolean=function(n,t){return i.asserts.ENABLE_ASSERTS&&!i.isBoolean(n)&&i.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertElement=function(n,t){return!i.asserts.ENABLE_ASSERTS||i.isObject(n)&&n.nodeType==i.dom.NodeType.ELEMENT||i.asserts.doAssertFailure_("Expected Element but got %s: %s.",[i.typeOf(n),n],t,Array.prototype.slice.call(arguments,2)),n};i.asserts.assertInstanceof=function(n,t,r){return!i.asserts.ENABLE_ASSERTS||n instanceof t||i.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[i.asserts.getType_(t),i.asserts.getType_(n)],r,Array.prototype.slice.call(arguments,3)),n};i.asserts.assertObjectPrototypeIsIntact=function(){for(var n in Object.prototype)i.asserts.fail(n+" should not be enumerable in Object.prototype.")};i.asserts.getType_=function(n){return n instanceof Function?n.displayName||n.name||"unknown type name":n instanceof Object?n.constructor.displayName||n.constructor.name||Object.prototype.toString.call(n):null===n?"null":typeof n};i.array={};i.NATIVE_ARRAY_PROTOTYPES=i.TRUSTED_SITE;i.array.ASSUME_NATIVE_FUNCTIONS=!1;i.array.peek=function(n){return n[n.length-1]};i.array.last=i.array.peek;i.array.indexOf=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.indexOf.call(n,t,r)}:function(n,t,r){if(r=null==r?0:0>r?Math.max(0,n.length+r):r,i.isString(n))return i.isString(t)&&1==t.length?n.indexOf(t,r):-1;for(;r<n.length;r++)if(r in n&&n[r]===t)return r;return-1};i.array.lastIndexOf=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.lastIndexOf.call(n,t,null==r?n.length-1:r)}:function(n,t,r){if(r=null==r?n.length-1:r,0>r&&(r=Math.max(0,n.length+r)),i.isString(n))return i.isString(t)&&1==t.length?n.lastIndexOf(t,r):-1;for(;r>=0;r--)if(r in n&&n[r]===t)return r;return-1};i.array.forEach=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(n,t,r){i.asserts.assert(null!=n.length);Array.prototype.forEach.call(n,t,r)}:function(n,t,r){for(var e=n.length,f=i.isString(n)?n.split(""):n,u=0;e>u;u++)u in f&&t.call(r,f[u],u,n)};i.array.forEachRight=function(n,t,r){for(var u=n.length,f=i.isString(n)?n.split(""):n,u=u-1;u>=0;--u)u in f&&t.call(r,f[u],u,n)};i.array.filter=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.filter.call(n,t,r)}:function(n,t,r){for(var f,s=n.length,e=[],h=0,o=i.isString(n)?n.split(""):n,u=0;s>u;u++)u in o&&(f=o[u],t.call(r,f,u,n)&&(e[h++]=f));return e};i.array.map=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.map.call(n,t,r)}:function(n,t,r){for(var f=n.length,e=Array(f),o=i.isString(n)?n.split(""):n,u=0;f>u;u++)u in o&&(e[u]=t.call(r,o[u],u,n));return e};i.array.reduce=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(n,t,r,u){return i.asserts.assert(null!=n.length),u&&(t=i.bind(t,u)),Array.prototype.reduce.call(n,t,r)}:function(n,t,r,u){var f=r;return i.array.forEach(n,function(i,r){f=t.call(u,f,i,r,n)}),f};i.array.reduceRight=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(n,t,r,u){return i.asserts.assert(null!=n.length),i.asserts.assert(null!=t),u&&(t=i.bind(t,u)),Array.prototype.reduceRight.call(n,t,r)}:function(n,t,r,u){var f=r;return i.array.forEachRight(n,function(i,r){f=t.call(u,f,i,r,n)}),f};i.array.some=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.some.call(n,t,r)}:function(n,t,r){for(var e=n.length,f=i.isString(n)?n.split(""):n,u=0;e>u;u++)if(u in f&&t.call(r,f[u],u,n))return!0;return!1};i.array.every=i.NATIVE_ARRAY_PROTOTYPES&&(i.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(n,t,r){return i.asserts.assert(null!=n.length),Array.prototype.every.call(n,t,r)}:function(n,t,r){for(var e=n.length,f=i.isString(n)?n.split(""):n,u=0;e>u;u++)if(u in f&&!t.call(r,f[u],u,n))return!1;return!0};i.array.count=function(n,t,r){var u=0;return i.array.forEach(n,function(n,i,f){t.call(r,n,i,f)&&++u},r),u};i.array.find=function(n,t,r){return t=i.array.findIndex(n,t,r),0>t?null:i.isString(n)?n.charAt(t):n[t]};i.array.findIndex=function(n,t,r){for(var e=n.length,f=i.isString(n)?n.split(""):n,u=0;e>u;u++)if(u in f&&t.call(r,f[u],u,n))return u;return-1};i.array.findRight=function(n,t,r){return t=i.array.findIndexRight(n,t,r),0>t?null:i.isString(n)?n.charAt(t):n[t]};i.array.findIndexRight=function(n,t,r){for(var u=n.length,f=i.isString(n)?n.split(""):n,u=u-1;u>=0;u--)if(u in f&&t.call(r,f[u],u,n))return u;return-1};i.array.contains=function(n,t){return 0<=i.array.indexOf(n,t)};i.array.isEmpty=function(n){return 0==n.length};i.array.clear=function(n){if(!i.isArray(n))for(var t=n.length-1;t>=0;t--)delete n[t];n.length=0};i.array.insert=function(n,t){i.array.contains(n,t)||n.push(t)};i.array.insertAt=function(n,t,r){i.array.splice(n,r,0,t)};i.array.insertArrayAt=function(n,t,r){i.partial(i.array.splice,n,r,0).apply(null,t)};i.array.insertBefore=function(n,t,r){var u;2==arguments.length||0>(u=i.array.indexOf(n,r))?n.push(t):i.array.insertAt(n,t,u)};i.array.remove=function(n,t){var r,u=i.array.indexOf(n,t);return(r=u>=0)&&i.array.removeAt(n,u),r};i.array.removeLast=function(n,t){var r=i.array.lastIndexOf(n,t);return r>=0?(i.array.removeAt(n,r),!0):!1};i.array.removeAt=function(n,t){return i.asserts.assert(null!=n.length),1==Array.prototype.splice.call(n,t,1).length};i.array.removeIf=function(n,t,r){return t=i.array.findIndex(n,t,r),t>=0?(i.array.removeAt(n,t),!0):!1};i.array.removeAllIf=function(n,t,r){var u=0;return i.array.forEachRight(n,function(f,e){t.call(r,f,e,n)&&i.array.removeAt(n,e)&&u++}),u};i.array.concat=function(){return Array.prototype.concat.apply(Array.prototype,arguments)};i.array.join=function(){return Array.prototype.concat.apply(Array.prototype,arguments)};i.array.toArray=function(n){var i=n.length,r,t;if(i>0){for(r=Array(i),t=0;i>t;t++)r[t]=n[t];return r}return[]};i.array.clone=i.array.toArray;i.array.extend=function(n){for(var t,f,e,r,u=1;u<arguments.length;u++)if(t=arguments[u],i.isArrayLike(t))for(f=n.length||0,e=t.length||0,n.length=f+e,r=0;e>r;r++)n[f+r]=t[r];else n.push(t)};i.array.splice=function(n){return i.asserts.assert(null!=n.length),Array.prototype.splice.apply(n,i.array.slice(arguments,1))};i.array.slice=function(n,t,r){return i.asserts.assert(null!=n.length),2>=arguments.length?Array.prototype.slice.call(n,t):Array.prototype.slice.call(n,t,r)};i.array.removeDuplicates=function(n,t,r){var u,f,e;t=t||n;u=function(n){return i.isObject(n)?"o"+i.getUid(n):(typeof n).charAt(0)+n};r=r||u;for(var u={},o=0,s=0;s<n.length;)f=n[s++],e=r(f),Object.prototype.hasOwnProperty.call(u,e)||(u[e]=!0,t[o++]=f);t.length=o};i.array.binarySearch=function(n,t,r){return i.array.binarySearch_(n,r||i.array.defaultCompare,!1,t)};i.array.binarySelect=function(n,t,r){return i.array.binarySearch_(n,t,!0,void 0,r)};i.array.binarySearch_=function(n,t,i,r,u){for(var h,s,e,f=0,o=n.length;o>f;)e=f+o>>1,s=i?t.call(u,n[e],e,n):t(r,n[e]),s>0?f=e+1:(o=e,h=!s);return h?f:~f};i.array.sort=function(n,t){n.sort(t||i.array.defaultCompare)};i.array.stableSort=function(n,t){for(var f,u=Array(n.length),r=0;r<n.length;r++)u[r]={index:r,value:n[r]};for(f=t||i.array.defaultCompare,i.array.sort(u,function(n,t){return f(n.value,t.value)||n.index-t.index}),r=0;r<n.length;r++)n[r]=u[r].value};i.array.sortByKey=function(n,t,r){var u=r||i.array.defaultCompare;i.array.sort(n,function(n,i){return u(t(n),t(i))})};i.array.sortObjectsByKey=function(n,t,r){i.array.sortByKey(n,function(n){return n[t]},r)};i.array.isSorted=function(n,t,r){var u,f;for(t=t||i.array.defaultCompare,u=1;u<n.length;u++)if(f=t(n[u-1],n[u]),f>0||0==f&&r)return!1;return!0};i.array.equals=function(n,t,r){var f,u;if(!i.isArrayLike(n)||!i.isArrayLike(t)||n.length!=t.length)return!1;for(f=n.length,r=r||i.array.defaultCompareEquality,u=0;f>u;u++)if(!r(n[u],t[u]))return!1;return!0};i.array.compare3=function(n,t,r){var e,u,f;for(r=r||i.array.defaultCompare,e=Math.min(n.length,t.length),u=0;e>u;u++)if(f=r(n[u],t[u]),0!=f)return f;return i.array.defaultCompare(n.length,t.length)};i.array.defaultCompare=function(n,t){return n>t?1:t>n?-1:0};i.array.inverseDefaultCompare=function(n,t){return-i.array.defaultCompare(n,t)};i.array.defaultCompareEquality=function(n,t){return n===t};i.array.binaryInsert=function(n,t,r){return r=i.array.binarySearch(n,t,r),0>r?(i.array.insertAt(n,t,-(r+1)),!0):!1};i.array.binaryRemove=function(n,t,r){return t=i.array.binarySearch(n,t,r),t>=0?i.array.removeAt(n,t):!1};i.array.bucket=function(n,t,r){for(var o,e,f={},u=0;u<n.length;u++)o=n[u],e=t.call(r,o,u,n),i.isDef(e)&&(f[e]||(f[e]=[])).push(o);return f};i.array.toObject=function(n,t,r){var u={};return i.array.forEach(n,function(i,f){u[t.call(r,i,f,n)]=i}),u};i.array.range=function(n,t,i){var f=[],r=0,u=n;if(i=i||1,void 0!==t&&(r=n,u=t),0>i*(u-r))return[];if(i>0)for(n=r;u>n;n+=i)f.push(n);else for(n=r;n>u;n+=i)f.push(n);return f};i.array.repeat=function(n,t){for(var r=[],i=0;t>i;i++)r[i]=n;return r};i.array.flatten=function(){for(var n,t,r=[],u=0;u<arguments.length;u++)if(n=arguments[u],i.isArray(n))for(t=0;t<n.length;t+=8192)for(var f=i.array.slice(n,t,t+8192),f=i.array.flatten.apply(null,f),e=0;e<f.length;e++)r.push(f[e]);else r.push(n);return r};i.array.rotate=function(n,t){return i.asserts.assert(null!=n.length),n.length&&(t%=n.length,t>0?Array.prototype.unshift.apply(n,n.splice(-t,t)):0>t&&Array.prototype.push.apply(n,n.splice(0,-t))),n};i.array.moveItem=function(n,t,r){i.asserts.assert(t>=0&&t<n.length);i.asserts.assert(r>=0&&r<n.length);t=Array.prototype.splice.call(n,t,1);Array.prototype.splice.call(n,r,0,t[0])};i.array.zip=function(){var r,t;if(!arguments.length)return[];for(var u=[],i=arguments[0].length,n=1;n<arguments.length;n++)arguments[n].length<i&&(i=arguments[n].length);for(n=0;i>n;n++){for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t][n]);u.push(r)}return u};i.array.shuffle=function(n,t){for(var r,f,u=t||Math.random,i=n.length-1;i>0;i--)r=Math.floor(u()*(i+1)),f=n[i],n[i]=n[r],n[r]=f};i.array.copyByIndex=function(n,t){var r=[];return i.array.forEach(t,function(t){r.push(n[t])}),r};i.array.concatMap=function(n,t,r){return i.array.concat.apply([],i.array.map(n,t,r))};i.proto2={};i.proto2.FieldDescriptor=function(n,t,r){switch(this.parent_=n,i.asserts.assert(i.string.isNumeric(t)),this.tag_=t,this.name_=r.name,this.isPacked_=!!r.packed,this.isRepeated_=!!r.repeated,this.isRequired_=!!r.required,this.fieldType_=r.fieldType,this.nativeType_=r.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case i.proto2.FieldDescriptor.FieldType.INT64:case i.proto2.FieldDescriptor.FieldType.UINT64:case i.proto2.FieldDescriptor.FieldType.FIXED64:case i.proto2.FieldDescriptor.FieldType.SFIXED64:case i.proto2.FieldDescriptor.FieldType.SINT64:case i.proto2.FieldDescriptor.FieldType.FLOAT:case i.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=r.defaultValue};i.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18};i.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_};i.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()};i.proto2.FieldDescriptor.prototype.getName=function(){return this.name_};i.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(void 0===this.defaultValue_){var n=this.nativeType_;if(n===Boolean)this.defaultValue_=!1;else if(n===Number)this.defaultValue_=0;else{if(n!==String)return new n;this.defaultValue_=this.deserializationConversionPermitted_?"0":""}}return this.defaultValue_};i.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_};i.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_};i.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_};i.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()};i.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==i.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==i.proto2.FieldDescriptor.FieldType.GROUP};i.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_};i.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_};i.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_};i.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_};i.object={};i.object.is=function(n,t){return n===t?0!==n||1/n==1/t:n!==n&&t!==t};i.object.forEach=function(n,t,i){for(var r in n)t.call(i,n[r],r,n)};i.object.filter=function(n,t,i){var r,u={};for(r in n)t.call(i,n[r],r,n)&&(u[r]=n[r]);return u};i.object.map=function(n,t,i){var r,u={};for(r in n)u[r]=t.call(i,n[r],r,n);return u};i.object.some=function(n,t,i){for(var r in n)if(t.call(i,n[r],r,n))return!0;return!1};i.object.every=function(n,t,i){for(var r in n)if(!t.call(i,n[r],r,n))return!1;return!0};i.object.getCount=function(n){var i,t=0;for(i in n)t++;return t};i.object.getAnyKey=function(n){for(var t in n)return t};i.object.getAnyValue=function(n){for(var t in n)return n[t]};i.object.contains=function(n,t){return i.object.containsValue(n,t)};i.object.getValues=function(n){var t,i=[],r=0;for(t in n)i[r++]=n[t];return i};i.object.getKeys=function(n){var t,i=[],r=0;for(t in n)i[r++]=t;return i};i.object.getValueByKeys=function(n,t){for(var r=i.isArrayLike(t),u=r?t:arguments,r=r?0:1;r<u.length&&(n=n[u[r]],i.isDef(n));r++);return n};i.object.containsKey=function(n,t){return null!==n&&t in n};i.object.containsValue=function(n,t){for(var i in n)if(n[i]==t)return!0;return!1};i.object.findKey=function(n,t,i){for(var r in n)if(t.call(i,n[r],r,n))return r};i.object.findValue=function(n,t,r){return(t=i.object.findKey(n,t,r))&&n[t]};i.object.isEmpty=function(n){for(var t in n)return!1;return!0};i.object.clear=function(n){for(var t in n)delete n[t]};i.object.remove=function(n,t){var i;return(i=t in n)&&delete n[t],i};i.object.add=function(n,t,r){if(null!==n&&t in n)throw Error('The object already contains the key "'+t+'"');i.object.set(n,t,r)};i.object.get=function(n,t,i){return null!==n&&t in n?n[t]:i};i.object.set=function(n,t,i){n[t]=i};i.object.setIfUndefined=function(n,t,i){return t in n?n[t]:n[t]=i};i.object.setWithReturnValueIfNotSet=function(n,t,i){return t in n?n[t]:(i=i(),n[t]=i)};i.object.equals=function(n,t){for(var i in n)if(!(i in t)||n[i]!==t[i])return!1;for(i in t)if(!(i in n))return!1;return!0};i.object.clone=function(n){var t,i={};for(t in n)i[t]=n[t];return i};i.object.unsafeClone=function(n){var t=i.typeOf(n),r;if("object"==t||"array"==t){if(i.isFunction(n.clone))return n.clone();t="array"==t?[]:{};for(r in n)t[r]=i.object.unsafeClone(n[r]);return t}return n};i.object.transpose=function(n){var t,i={};for(t in n)i[n[t]]=t;return i};i.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");i.object.extend=function(n){for(var t,r,f,u=1;u<arguments.length;u++){r=arguments[u];for(t in r)n[t]=r[t];for(f=0;f<i.object.PROTOTYPE_FIELDS_.length;f++)t=i.object.PROTOTYPE_FIELDS_[f],Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}};i.object.create=function(){var t=arguments.length,r,n;if(1==t&&i.isArray(arguments[0]))return i.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(r={},n=0;t>n;n+=2)r[arguments[n]]=arguments[n+1];return r};i.object.createSet=function(){var r=arguments.length,t,n;if(1==r&&i.isArray(arguments[0]))return i.object.createSet.apply(null,arguments[0]);for(t={},n=0;r>n;n++)t[arguments[n]]=!0;return t};i.object.createImmutableView=function(n){var t=n;return Object.isFrozen&&!Object.isFrozen(n)&&(t=Object.create(n),Object.freeze(t)),t};i.object.isImmutableView=function(n){return!!Object.isFrozen&&Object.isFrozen(n)};i.proto2.Descriptor=function(n,t,i){for(this.messageType_=n,this.name_=t.name||null,this.fullName_=t.fullName||null,this.containingType_=t.containingType,this.fields_={},n=0;n<i.length;n++)t=i[n],this.fields_[t.getTag()]=t};i.proto2.Descriptor.prototype.getName=function(){return this.name_};i.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_};i.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null};i.proto2.Descriptor.prototype.getFields=function(){var n=i.object.getValues(this.fields_);return i.array.sort(n,function(n,t){return n.getTag()-t.getTag()}),n};i.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_};i.proto2.Descriptor.prototype.findFieldByName=function(n){return i.object.findValue(this.fields_,function(t){return t.getName()==n})||null};i.proto2.Descriptor.prototype.findFieldByTag=function(n){return i.asserts.assert(i.string.isNumeric(n)),this.fields_[parseInt(n,10)]||null};i.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_};i.proto2.Message=function(){this.values_={};this.fields_=this.getDescriptor().getFieldsMap();this.deserializedFields_=this.lazyDeserializer_=null};i.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18};i.proto2.Message.prototype.initializeForLazyDeserializer=function(n,t){this.lazyDeserializer_=n;this.values_=t;this.deserializedFields_={}};i.proto2.Message.prototype.setUnknown=function(n,t){i.asserts.assert(!this.fields_[n],"Field is not unknown in this message");i.asserts.assert(n>=1,"Tag "+n+' has value "'+t+'" in descriptor '+this.getDescriptor().getName());i.asserts.assert(null!==t,"Value cannot be null");this.values_[n]=t;this.deserializedFields_&&delete this.deserializedFields_[n]};i.proto2.Message.prototype.forEachUnknown=function(n,t){var i,u=t||this,r;for(i in this.values_)r=Number(i),this.fields_[r]||n.call(u,r,this.values_[i])};i.proto2.Message.prototype.has=function(n){return i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.has$Value(n.getTag())};i.proto2.Message.prototype.arrayOf=function(n){return i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.array$Values(n.getTag())};i.proto2.Message.prototype.countOf=function(n){return i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.count$Values(n.getTag())};i.proto2.Message.prototype.get=function(n,t){return i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$Value(n.getTag(),t)};i.proto2.Message.prototype.getOrDefault=function(n,t){return i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$ValueOrDefault(n.getTag(),t)};i.proto2.Message.prototype.set=function(n,t){i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field");this.set$Value(n.getTag(),t)};i.proto2.Message.prototype.add=function(n,t){i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field");this.add$Value(n.getTag(),t)};i.proto2.Message.prototype.clear=function(n){i.asserts.assert(n.getContainingType()==this.getDescriptor(),"The current message does not contain the given field");this.clear$Field(n.getTag())};i.proto2.Message.prototype.equals=function(n){var f,u,i,t,e,o;if(!n||this.constructor!=n.constructor)return!1;for(f=this.getDescriptor().getFields(),u=0;u<f.length;u++){if(i=f[u],t=i.getTag(),this.has$Value(t)!=n.has$Value(t))return!1;if(this.has$Value(t)){var s=i.isCompositeType(),r=this.getValueForTag_(t),t=n.getValueForTag_(t);if(i.isRepeated()){if(r.length!=t.length)return!1;for(i=0;i<r.length;i++)if(e=r[i],o=t[i],s?!e.equals(o):e!=o)return!1}else if(s?!r.equals(t):r!=t)return!1}}return!0};i.proto2.Message.prototype.copyFrom=function(n){i.asserts.assert(this.constructor==n.constructor,"The source message must have the same type.");this!=n&&(this.values_={},this.deserializedFields_&&(this.deserializedFields_={}),this.mergeFrom(n))};i.proto2.Message.prototype.mergeFrom=function(n){var o,e,r,u,t,f;for(i.asserts.assert(this.constructor==n.constructor,"The source message must have the same type."),o=this.getDescriptor().getFields(),e=0;e<o.length;e++)if(t=o[e],r=t.getTag(),n.has$Value(r))if(this.deserializedFields_&&delete this.deserializedFields_[t.getTag()],u=t.isCompositeType(),t.isRepeated())for(t=n.array$Values(r),f=0;f<t.length;f++)this.add$Value(r,u?t[f].clone():t[f]);else t=n.getValueForTag_(r),u?(u=this.getValueForTag_(r))?u.mergeFrom(t):this.set$Value(r,t.clone()):this.set$Value(r,t)};i.proto2.Message.prototype.clone=function(){var n=new this.constructor;return n.copyFrom(this),n};i.proto2.Message.prototype.initDefaults=function(n){for(var u=this.getDescriptor().getFields(),r=0;r<u.length;r++){var t=u[r],i=t.getTag(),f=t.isCompositeType();if(this.has$Value(i)||t.isRepeated()||(f?this.values_[i]=new(t.getNativeType()):n&&(this.values_[i]=t.getDefaultValue())),f)if(t.isRepeated())for(t=this.array$Values(i),i=0;i<t.length;i++)t[i].initDefaults(n);else this.get$Value(i).initDefaults(n)}};i.proto2.Message.prototype.has$Value=function(n){return null!=this.values_[n]};i.proto2.Message.prototype.getValueForTag_=function(n){var t=this.values_[n];return i.isDefAndNotNull(t)?this.lazyDeserializer_?n in this.deserializedFields_?this.deserializedFields_[n]:(t=this.lazyDeserializer_.deserializeField(this,this.fields_[n],t),this.deserializedFields_[n]=t):t:null};i.proto2.Message.prototype.get$Value=function(n,t){var u=this.getValueForTag_(n),r;return this.fields_[n].isRepeated()?(r=t||0,i.asserts.assert(r>=0&&r<u.length,"Given index %s is out of bounds.  Repeated field length: %s",r,u.length),u[r]):u};i.proto2.Message.prototype.get$ValueOrDefault=function(n,t){return this.has$Value(n)?this.get$Value(n,t):this.fields_[n].getDefaultValue()};i.proto2.Message.prototype.array$Values=function(n){return this.getValueForTag_(n)||[]};i.proto2.Message.prototype.count$Values=function(n){return this.fields_[n].isRepeated()?this.has$Value(n)?this.values_[n].length:0:this.has$Value(n)?1:0};i.proto2.Message.prototype.set$Value=function(n,t){i.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[n],t);this.values_[n]=t;this.deserializedFields_&&(this.deserializedFields_[n]=t)};i.proto2.Message.prototype.add$Value=function(n,t){i.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[n],t);this.values_[n]||(this.values_[n]=[]);this.values_[n].push(t);this.deserializedFields_&&delete this.deserializedFields_[n]};i.proto2.Message.prototype.checkFieldType_=function(n,t){n.getFieldType()==i.proto2.FieldDescriptor.FieldType.ENUM?i.asserts.assertNumber(t):i.asserts.assert(Object(t).constructor==n.getNativeType())};i.proto2.Message.prototype.clear$Field=function(n){delete this.values_[n];this.deserializedFields_&&delete this.deserializedFields_[n]};i.proto2.Message.createDescriptor=function(n,t){var r,u=[],f=t[0];for(r in t)0!=r&&u.push(new i.proto2.FieldDescriptor(n,r,t[r]));return new i.proto2.Descriptor(n,f,u)};i.proto2.Serializer=function(){};i.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1;i.proto2.Serializer.prototype.getSerializedValue=function(n,t){return n.isCompositeType()?this.serialize(t):i.isNumber(t)&&!isFinite(t)?t.toString():t};i.proto2.Serializer.prototype.deserialize=function(n,t){var r=n.createMessageInstance();return this.deserializeTo(r,t),i.asserts.assert(r instanceof i.proto2.Message),r};i.proto2.Serializer.prototype.getDeserializedValue=function(n,t){if(n.isCompositeType())return t instanceof i.proto2.Message?t:this.deserialize(n.getFieldMessageType(),t);if(n.getFieldType()==i.proto2.FieldDescriptor.FieldType.ENUM){if(i.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&i.isString(t)){var r=n.getNativeType();if(r.hasOwnProperty(t))return r[t]}return i.isString(t)&&i.proto2.Serializer.INTEGER_REGEX.test(t)&&(r=Number(t),r>0)?r:t}if(!n.deserializationConversionPermitted())return t;if(r=n.getNativeType(),r===String){if(i.isNumber(t))return String(t)}else if(r===Number&&i.isString(t)&&("Infinity"===t||"-Infinity"===t||"NaN"===t||i.proto2.Serializer.INTEGER_REGEX.test(t)))return Number(t);return t};i.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/;i.proto2.LazyDeserializer=function(){};i.inherits(i.proto2.LazyDeserializer,i.proto2.Serializer);i.proto2.LazyDeserializer.prototype.deserialize=function(n,t){var r=n.createMessageInstance();return r.initializeForLazyDeserializer(this,t),i.asserts.assert(r instanceof i.proto2.Message),r};i.proto2.LazyDeserializer.prototype.deserializeTo=function(){throw Error("Unimplemented");};i.proto2.PbLiteSerializer=function(){};i.inherits(i.proto2.PbLiteSerializer,i.proto2.LazyDeserializer);i.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1;i.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(n){this.zeroIndexing_=n};i.proto2.PbLiteSerializer.prototype.serialize=function(n){for(var t,i,u,e=n.getDescriptor().getFields(),r=[],o=this.zeroIndexing_,f=0;f<e.length;f++)if(t=e[f],n.has(t))if(i=t.getTag(),i=o?i-1:i,t.isRepeated())for(r[i]=[],u=0;u<n.countOf(t);u++)r[i][u]=this.getSerializedValue(t,n.get(t,u));else r[i]=this.getSerializedValue(t,n.get(t));return n.forEachUnknown(function(n,t){r[o?n-1:n]=t}),r};i.proto2.PbLiteSerializer.prototype.deserializeField=function(n,t,r){if(null==r)return r;if(t.isRepeated()){n=[];i.asserts.assert(i.isArray(r),"Value must be array: %s",r);for(var u=0;u<r.length;u++)n[u]=this.getDeserializedValue(t,r[u]);return n}return this.getDeserializedValue(t,r)};i.proto2.PbLiteSerializer.prototype.getSerializedValue=function(n,t){return n.getFieldType()==i.proto2.FieldDescriptor.FieldType.BOOL?t?1:0:i.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)};i.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(n,t){return n.getFieldType()==i.proto2.FieldDescriptor.FieldType.BOOL?(i.asserts.assert(i.isNumber(t)||i.isBoolean(t),"Value is expected to be a number or boolean"),!!t):i.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)};i.proto2.PbLiteSerializer.prototype.deserialize=function(n,t){var r=t,u;if(this.zeroIndexing_){r=[];for(u in t)r[parseInt(u,10)+1]=t[u]}return i.proto2.PbLiteSerializer.superClass_.deserialize.call(this,n,r)};r={phonenumbers:{}};r.phonenumbers.NumberFormat=function(){i.proto2.Message.call(this)};i.inherits(r.phonenumbers.NumberFormat,i.proto2.Message);r.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)};r.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)};r.phonenumbers.NumberFormat.prototype.setPattern=function(n){this.set$Value(1,n)};r.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)};r.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)};r.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)};r.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)};r.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)};r.phonenumbers.NumberFormat.prototype.setFormat=function(n){this.set$Value(2,n)};r.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)};r.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)};r.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)};r.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(n){return this.get$Value(3,n)};r.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(n){return this.get$ValueOrDefault(3,n)};r.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(n){this.add$Value(3,n)};r.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)};r.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)};r.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)};r.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)};r.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)};r.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)};r.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(n){this.set$Value(4,n)};r.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)};r.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)};r.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)};r.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)};r.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)};r.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(n){this.set$Value(6,n)};r.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)};r.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)};r.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)};r.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)};r.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)};r.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(n){this.set$Value(5,n)};r.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)};r.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)};r.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)};r.phonenumbers.PhoneNumberDesc=function(){i.proto2.Message.call(this)};i.inherits(r.phonenumbers.PhoneNumberDesc,i.proto2.Message);r.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)};r.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)};r.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(n){this.set$Value(2,n)};r.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)};r.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)};r.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)};r.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberPattern=function(){return this.get$Value(3)};r.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberPatternOrDefault=function(){return this.get$ValueOrDefault(3)};r.phonenumbers.PhoneNumberDesc.prototype.setPossibleNumberPattern=function(n){this.set$Value(3,n)};r.phonenumbers.PhoneNumberDesc.prototype.hasPossibleNumberPattern=function(){return this.has$Value(3)};r.phonenumbers.PhoneNumberDesc.prototype.possibleNumberPatternCount=function(){return this.count$Values(3)};r.phonenumbers.PhoneNumberDesc.prototype.clearPossibleNumberPattern=function(){this.clear$Field(3)};r.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)};r.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)};r.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(n){this.set$Value(6,n)};r.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)};r.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)};r.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)};r.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberMatcherData=function(){return this.get$Value(7)};r.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberMatcherDataOrDefault=function(){return this.get$ValueOrDefault(7)};r.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberMatcherData=function(n){this.set$Value(7,n)};r.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberMatcherData=function(){return this.has$Value(7)};r.phonenumbers.PhoneNumberDesc.prototype.nationalNumberMatcherDataCount=function(){return this.count$Values(7)};r.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberMatcherData=function(){this.clear$Field(7)};r.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberMatcherData=function(){return this.get$Value(8)};r.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberMatcherDataOrDefault=function(){return this.get$ValueOrDefault(8)};r.phonenumbers.PhoneNumberDesc.prototype.setPossibleNumberMatcherData=function(n){this.set$Value(8,n)};r.phonenumbers.PhoneNumberDesc.prototype.hasPossibleNumberMatcherData=function(){return this.has$Value(8)};r.phonenumbers.PhoneNumberDesc.prototype.possibleNumberMatcherDataCount=function(){return this.count$Values(8)};r.phonenumbers.PhoneNumberDesc.prototype.clearPossibleNumberMatcherData=function(){this.clear$Field(8)};r.phonenumbers.PhoneMetadata=function(){i.proto2.Message.call(this)};i.inherits(r.phonenumbers.PhoneMetadata,i.proto2.Message);r.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)};r.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)};r.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(n){this.set$Value(1,n)};r.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)};r.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)};r.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)};r.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)};r.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)};r.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(n){this.set$Value(2,n)};r.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)};r.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)};r.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)};r.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)};r.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)};r.phonenumbers.PhoneMetadata.prototype.setMobile=function(n){this.set$Value(3,n)};r.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)};r.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)};r.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)};r.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)};r.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)};r.phonenumbers.PhoneMetadata.prototype.setTollFree=function(n){this.set$Value(4,n)};r.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)};r.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)};r.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)};r.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)};r.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)};r.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(n){this.set$Value(5,n)};r.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)};r.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)};r.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)};r.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)};r.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)};r.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(n){this.set$Value(6,n)};r.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)};r.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)};r.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)};r.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)};r.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)};r.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(n){this.set$Value(7,n)};r.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)};r.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)};r.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)};r.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)};r.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)};r.phonenumbers.PhoneMetadata.prototype.setVoip=function(n){this.set$Value(8,n)};r.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)};r.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)};r.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)};r.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)};r.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)};r.phonenumbers.PhoneMetadata.prototype.setPager=function(n){this.set$Value(21,n)};r.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)};r.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)};r.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)};r.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)};r.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)};r.phonenumbers.PhoneMetadata.prototype.setUan=function(n){this.set$Value(25,n)};r.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)};r.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)};r.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)};r.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)};r.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)};r.phonenumbers.PhoneMetadata.prototype.setEmergency=function(n){this.set$Value(27,n)};r.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)};r.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)};r.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)};r.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)};r.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)};r.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(n){this.set$Value(28,n)};r.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)};r.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)};r.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)};r.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)};r.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)};r.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(n){this.set$Value(24,n)};r.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)};r.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)};r.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)};r.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)};r.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)};r.phonenumbers.PhoneMetadata.prototype.setId=function(n){this.set$Value(9,n)};r.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)};r.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)};r.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)};r.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)};r.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)};r.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(n){this.set$Value(10,n)};r.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)};r.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)};r.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)};r.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)};r.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)};r.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(n){this.set$Value(11,n)};r.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)};r.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)};r.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)};r.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)};r.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)};r.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(n){this.set$Value(17,n)};r.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)};r.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)};r.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)};r.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(n){this.set$Value(12,n)};r.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)};r.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)};r.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)};r.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)};r.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)};r.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(n){this.set$Value(13,n)};r.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)};r.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)};r.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)};r.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(n){this.set$Value(15,n)};r.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)};r.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)};r.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)};r.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)};r.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(n){this.set$Value(16,n)};r.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)};r.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)};r.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)};r.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)};r.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)};r.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(n){this.set$Value(18,n)};r.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)};r.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)};r.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)};r.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(n){return this.get$Value(19,n)};r.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(n){return this.get$ValueOrDefault(19,n)};r.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(n){this.add$Value(19,n)};r.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)};r.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)};r.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)};r.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)};r.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(n){return this.get$Value(20,n)};r.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(n){return this.get$ValueOrDefault(20,n)};r.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(n){this.add$Value(20,n)};r.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)};r.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)};r.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)};r.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)};r.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)};r.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)};r.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(n){this.set$Value(22,n)};r.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)};r.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)};r.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)};r.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)};r.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)};r.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(n){this.set$Value(23,n)};r.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)};r.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)};r.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)};r.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossible=function(){return this.get$Value(26)};r.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossibleOrDefault=function(){return this.get$ValueOrDefault(26)};r.phonenumbers.PhoneMetadata.prototype.setLeadingZeroPossible=function(n){this.set$Value(26,n)};r.phonenumbers.PhoneMetadata.prototype.hasLeadingZeroPossible=function(){return this.has$Value(26)};r.phonenumbers.PhoneMetadata.prototype.leadingZeroPossibleCount=function(){return this.count$Values(26)};r.phonenumbers.PhoneMetadata.prototype.clearLeadingZeroPossible=function(){this.clear$Field(26)};r.phonenumbers.PhoneMetadataCollection=function(){i.proto2.Message.call(this)};i.inherits(r.phonenumbers.PhoneMetadataCollection,i.proto2.Message);r.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(n){return this.get$Value(1,n)};r.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(n){return this.get$ValueOrDefault(1,n)};r.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(n){this.add$Value(1,n)};r.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)};r.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)};r.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)};r.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)};r.phonenumbers.NumberFormat.prototype.getDescriptor=function(){return r.phonenumbers.NumberFormat.descriptor_||(r.phonenumbers.NumberFormat.descriptor_=i.proto2.Message.createDescriptor(r.phonenumbers.NumberFormat,{0:{name:"NumberFormat",fullName:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,fieldType:i.proto2.Message.FieldType.STRING,type:String},2:{name:"format",required:!0,fieldType:i.proto2.Message.FieldType.STRING,type:String},3:{name:"leading_digits_pattern",repeated:!0,fieldType:i.proto2.Message.FieldType.STRING,type:String},4:{name:"national_prefix_formatting_rule",fieldType:i.proto2.Message.FieldType.STRING,type:String},6:{name:"national_prefix_optional_when_formatting",fieldType:i.proto2.Message.FieldType.BOOL,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",fieldType:i.proto2.Message.FieldType.STRING,type:String}})),r.phonenumbers.NumberFormat.descriptor_};r.phonenumbers.NumberFormat.ctor=r.phonenumbers.NumberFormat;r.phonenumbers.NumberFormat.ctor.getDescriptor=r.phonenumbers.NumberFormat.prototype.getDescriptor;r.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){return r.phonenumbers.PhoneNumberDesc.descriptor_||(r.phonenumbers.PhoneNumberDesc.descriptor_=i.proto2.Message.createDescriptor(r.phonenumbers.PhoneNumberDesc,{0:{name:"PhoneNumberDesc",fullName:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",fieldType:i.proto2.Message.FieldType.STRING,type:String},3:{name:"possible_number_pattern",fieldType:i.proto2.Message.FieldType.STRING,type:String},6:{name:"example_number",fieldType:i.proto2.Message.FieldType.STRING,type:String},7:{name:"national_number_matcher_data",fieldType:i.proto2.Message.FieldType.BYTES,type:String},8:{name:"possible_number_matcher_data",fieldType:i.proto2.Message.FieldType.BYTES,type:String}})),r.phonenumbers.PhoneNumberDesc.descriptor_};r.phonenumbers.PhoneNumberDesc.ctor=r.phonenumbers.PhoneNumberDesc;r.phonenumbers.PhoneNumberDesc.ctor.getDescriptor=r.phonenumbers.PhoneNumberDesc.prototype.getDescriptor;r.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){return r.phonenumbers.PhoneMetadata.descriptor_||(r.phonenumbers.PhoneMetadata.descriptor_=i.proto2.Message.createDescriptor(r.phonenumbers.PhoneMetadata,{0:{name:"PhoneMetadata",fullName:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},2:{name:"fixed_line",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},3:{name:"mobile",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},4:{name:"toll_free",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},5:{name:"premium_rate",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},6:{name:"shared_cost",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},7:{name:"personal_number",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},8:{name:"voip",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},21:{name:"pager",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},25:{name:"uan",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},27:{name:"emergency",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},28:{name:"voicemail",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},24:{name:"no_international_dialling",fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneNumberDesc},9:{name:"id",required:!0,fieldType:i.proto2.Message.FieldType.STRING,type:String},10:{name:"country_code",fieldType:i.proto2.Message.FieldType.INT32,type:Number},11:{name:"international_prefix",fieldType:i.proto2.Message.FieldType.STRING,type:String},17:{name:"preferred_international_prefix",fieldType:i.proto2.Message.FieldType.STRING,type:String},12:{name:"national_prefix",fieldType:i.proto2.Message.FieldType.STRING,type:String},13:{name:"preferred_extn_prefix",fieldType:i.proto2.Message.FieldType.STRING,type:String},15:{name:"national_prefix_for_parsing",fieldType:i.proto2.Message.FieldType.STRING,type:String},16:{name:"national_prefix_transform_rule",fieldType:i.proto2.Message.FieldType.STRING,type:String},18:{name:"same_mobile_and_fixed_line_pattern",fieldType:i.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:"number_format",repeated:!0,fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.NumberFormat},20:{name:"intl_number_format",repeated:!0,fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.NumberFormat},22:{name:"main_country_for_code",fieldType:i.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:"leading_digits",fieldType:i.proto2.Message.FieldType.STRING,type:String},26:{name:"leading_zero_possible",fieldType:i.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean}})),r.phonenumbers.PhoneMetadata.descriptor_};r.phonenumbers.PhoneMetadata.ctor=r.phonenumbers.PhoneMetadata;r.phonenumbers.PhoneMetadata.ctor.getDescriptor=r.phonenumbers.PhoneMetadata.prototype.getDescriptor;r.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){return r.phonenumbers.PhoneMetadataCollection.descriptor_||(r.phonenumbers.PhoneMetadataCollection.descriptor_=i.proto2.Message.createDescriptor(r.phonenumbers.PhoneMetadataCollection,{0:{name:"PhoneMetadataCollection",fullName:"i18n.phonenumbers.PhoneMetadataCollection"},1:{name:"metadata",repeated:!0,fieldType:i.proto2.Message.FieldType.MESSAGE,type:r.phonenumbers.PhoneMetadata}})),r.phonenumbers.PhoneMetadataCollection.descriptor_};r.phonenumbers.PhoneMetadataCollection.ctor=r.phonenumbers.PhoneMetadataCollection;r.phonenumbers.PhoneMetadataCollection.ctor.getDescriptor=r.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor;r.phonenumbers.PhoneNumber=function(){i.proto2.Message.call(this)};i.inherits(r.phonenumbers.PhoneNumber,i.proto2.Message);r.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)};r.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)};r.phonenumbers.PhoneNumber.prototype.setCountryCode=function(n){this.set$Value(1,n)};r.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)};r.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)};r.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)};r.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)};r.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)};r.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(n){this.set$Value(2,n)};r.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)};r.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)};r.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)};r.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)};r.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)};r.phonenumbers.PhoneNumber.prototype.setExtension=function(n){this.set$Value(3,n)};r.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)};r.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)};r.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)};r.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)};r.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)};r.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(n){this.set$Value(4,n)};r.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)};r.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)};r.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)};r.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)};r.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)};r.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(n){this.set$Value(8,n)};r.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)};r.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)};r.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)};r.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)};r.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)};r.phonenumbers.PhoneNumber.prototype.setRawInput=function(n){this.set$Value(5,n)};r.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)};r.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)};r.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)};r.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)};r.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)};r.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(n){this.set$Value(6,n)};r.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)};r.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)};r.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)};r.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)};r.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)};r.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(n){this.set$Value(7,n)};r.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)};r.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)};r.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)};r.phonenumbers.PhoneNumber.CountryCodeSource={FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20};r.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){return r.phonenumbers.PhoneNumber.descriptor_||(r.phonenumbers.PhoneNumber.descriptor_=i.proto2.Message.createDescriptor(r.phonenumbers.PhoneNumber,{0:{name:"PhoneNumber",fullName:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,fieldType:i.proto2.Message.FieldType.INT32,type:Number},2:{name:"national_number",required:!0,fieldType:i.proto2.Message.FieldType.UINT64,type:Number},3:{name:"extension",fieldType:i.proto2.Message.FieldType.STRING,type:String},4:{name:"italian_leading_zero",fieldType:i.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:"number_of_leading_zeros",fieldType:i.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:"raw_input",fieldType:i.proto2.Message.FieldType.STRING,type:String},6:{name:"country_code_source",fieldType:i.proto2.Message.FieldType.ENUM,defaultValue:r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN,type:r.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:"preferred_domestic_carrier_code",fieldType:i.proto2.Message.FieldType.STRING,type:String}})),r.phonenumbers.PhoneNumber.descriptor_};r.phonenumbers.PhoneNumber.ctor=r.phonenumbers.PhoneNumber;r.phonenumbers.PhoneNumber.ctor.getDescriptor=r.phonenumbers.PhoneNumber.prototype.getDescriptor;r.phonenumbers.metadata={};r.phonenumbers.metadata.countryCodeToRegionCodeMap={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]};r.phonenumbers.metadata.countryToMetadata={AC:[,[,,"[46]\\d{4}|[01589]\\d{5}","\\d{5,6}"],[,,"6[2-467]\\d{3}","\\d{5}",,,"62889"],[,,"4\\d{4}","\\d{5}",,,"40123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AC",247,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"[01589]\\d{5}","\\d{6}",,,"542011"],,,[,,"NA","NA"]],AD:[,[,,"(?:[346-9]|180)\\d{5}","\\d{6,8}"],[,,"[78]\\d{5}","\\d{6}",,,"712345"],[,,"[346]\\d{5}","\\d{6}",,,"312345"],[,,"180[02]\\d{4}","\\d{8}",,,"18001234"],[,,"9\\d{5}","\\d{6}",,,"912345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[346-9]"]],[,"(180[02])(\\d{4})","$1 $2",["1"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AE:[,[,,"[2-79]\\d{7,8}|800\\d{2,9}","\\d{5,12}"],[,,"[2-4679][2-8]\\d{6}","\\d{7,8}",,,"22345678"],[,,"5[024-6]\\d{7}","\\d{9}",,,"501234567"],[,,"400\\d{6}|800\\d{2,9}","\\d{5,12}",,,"800123456"],[,,"900[02]\\d{5}","\\d{9}",,,"900234567"],[,,"700[05]\\d{5}","\\d{9}",,,"700012345"],[,,"NA","NA"],[,,"NA","NA"],"AE",971,"00","0",,,"0",,,,[[,"([2-4679])(\\d{3})(\\d{4})","$1 $2 $3",["[2-4679][2-8]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"([479]00)(\\d)(\\d{5})","$1 $2 $3",["[479]0"],"$1"],[,"([68]00)(\\d{2,9})","$1 $2",["60|8"],"$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"600[25]\\d{5}","\\d{9}",,,"600212345"],,,[,,"NA","NA"]],AF:[,[,,"[2-7]\\d{8}","\\d{7,9}"],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}","\\d{7,9}",,,"234567890"],[,,"7(?:[014-9]\\d{7}|2[89]\\d{6})","\\d{9}",,,"701234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AF",93,"00","0",,,"0",,,,[[,"([2-7]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AG:[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}","\\d{7}(?:\\d{3})?",,,"2684601234"],[,,"268(?:464|7(?:2[0-9]|64|7[0-689]|8[02-68]))\\d{4}","\\d{10}",,,"2684641234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"26848[01]\\d{4}","\\d{10}",,,"2684801234"],"AG",1,"011","1",,,"1",,,,,,[,,"26840[69]\\d{4}","\\d{10}",,,"2684061234"],,"268",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AI:[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"2644(?:6[12]|9[78])\\d{4}","\\d{7}(?:\\d{3})?",,,"2644612345"],[,,"264(?:235|476|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}","\\d{10}",,,"2642351234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"AI",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"264",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AL:[,[,,"[2-57]\\d{7}|6\\d{8}|8\\d{5,7}|9\\d{5}","\\d{5,9}"],[,,"(?:2(?:[168][1-9]|[247]\\d|9[1-7])|3(?:1[1-3]|[2-6]\\d|[79][1-8]|8[1-9])|4\\d{2}|5(?:1[1-4]|[2-578]\\d|6[1-5]|9[1-7])|8(?:[19][1-5]|[2-6]\\d|[78][1-7]))\\d{5}","\\d{5,8}",,,"22345678"],[,,"6[6-9]\\d{7}","\\d{9}",,,"661234567"],[,,"800\\d{4}","\\d{7}",,,"8001234"],[,,"900\\d{3}","\\d{6}",,,"900123"],[,,"808\\d{3}","\\d{6}",,,"808123"],[,,"700\\d{5}","\\d{8}",,,"70012345"],[,,"NA","NA"],"AL",355,"00","0",,,"0",,,,[[,"(4)(\\d{3})(\\d{4})","$1 $2 $3",["4[0-6]"],"0$1"],[,"(6[6-9])(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4[7-9]"],"0$1"],[,"(\\d{3})(\\d{3,5})","$1 $2",["[235][16-9]|8[016-9]|[79]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AM:[,[,,"[1-9]\\d{7}","\\d{5,8}"],[,,"(?:1[01]\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47\\d)\\d{5}","\\d{5,8}",,,"10123456"],[,,"(?:4[139]|55|77|9[1-9])\\d{6}","\\d{8}",,,"77123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[016]\\d{5}","\\d{8}",,,"90012345"],[,,"80[1-4]\\d{5}","\\d{8}",,,"80112345"],[,,"NA","NA"],[,,"60[2-6]\\d{5}","\\d{8}",,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["4[139]|[5-7]|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23]"],"(0$1)"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8|90"],"0 $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AO:[,[,,"[29]\\d{8}","\\d{9}"],[,,"2\\d(?:[26-9]\\d|\\d[26-9])\\d{5}","\\d{9}",,,"222123456"],[,,"9[1-49]\\d{7}","\\d{9}",,,"923123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AR:[,[,,"11\\d{8}|[2368]\\d{9}|9\\d{10}","\\d{6,11}"],[,,"11\\d{8}|(?:2(?:2(?:[013]\\d|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[067]\\d)|4(?:7[3-8]|9\\d)|6(?:[01346]\\d|2[24-6]|5[15-8])|80\\d|9(?:[0124789]\\d|3[1-6]|5[234]|6[2-46]))|3(?:3(?:2[79]|6\\d|8[2578])|4(?:[78]\\d|0[0124-9]|[1-35]\\d|4[24-7]|6[02-9]|9[123678])|5(?:[138]\\d|2[1245]|4[1-9]|6[2-4]|7[1-6])|6[24]\\d|7(?:[0469]\\d|1[1568]|2[013-9]|3[145]|5[14-8]|7[2-57]|8[0-24-9])|8(?:[013578]\\d|2[15-7]|4[13-6]|6[1-357-9]|9[124]))|670\\d)\\d{6}","\\d{6,10}",,,"1123456789"],[,,"675\\d{7}|9(?:11[2-9]\\d{7}|(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))[2-9]\\d{6}|\\d{4}[2-9]\\d{5})","\\d{6,11}",,,"91123456789"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"60[04579]\\d{7}","\\d{10}",,,"6001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{2})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{4})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"],"0$1"],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"],"0$1"],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d{3})","$1",["1[012]|911"],"$1"]],[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3-$4",["911"]],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9[23]"]],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1]],[,,"NA","NA"],,,[,,"810\\d{7}","\\d{10}",,,"8101234567"],[,,"810\\d{7}","\\d{10}",,,"8101234567"],,,[,,"NA","NA"]],AS:[,[,,"[5689]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}","\\d{7}(?:\\d{3})?",,,"6846221234"],[,,"684(?:2(?:5[2468]|72)|7(?:3[13]|70))\\d{4}","\\d{10}",,,"6847331234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"AS",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"684",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AT:[,[,,"[1-9]\\d{3,12}","\\d{3,13}"],[,,"1\\d{3,12}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-8]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|63|7[1368]|8[2457])|5(?:12|2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[1-35-8]|5[468]|62)|7(?:2[1-8]|3[25]|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{3,10}","\\d{3,13}",,,"1234567890"],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}","\\d{7,13}",,,"664123456"],[,,"800\\d{6,10}","\\d{9,13}",,,"800123456"],[,,"(?:9(?:0[01]|3[019]))\\d{6,10}","\\d{9,13}",,,"900123456"],[,,"8(?:10\\d|2(?:[01]\\d|8\\d?))\\d{5,9}","\\d{8,13}",,,"810123456"],[,,"NA","NA"],[,,"780\\d{6,10}","\\d{9,13}",,,"780123456"],"AT",43,"00","0",,,"0",,,,[[,"(116\\d{3})","$1",["116"],"$1"],[,"(1)(\\d{3,12})","$1 $2",["1"],"0$1"],[,"(5\\d)(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["5[079]"],"0$1"],[,"(5\\d)(\\d{4})(\\d{4,7})","$1 $2 $3",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["316|46|51|732|6(?:5[0-3579]|[6-9])|7(?:[28]0)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["2|3(?:1[1-578]|[3-8])|4[2378]|5[2-6]|6(?:[12]|4[1-9]|5[468])|7(?:2[1-8]|35|4[1-8]|[5-79])"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"5(?:(?:0[1-9]|17)\\d{2,10}|[79]\\d{3,11})|720\\d{6,10}","\\d{5,13}",,,"50123"],,,[,,"NA","NA"]],AU:[,[,,"[1-578]\\d{5,9}","\\d{6,10}"],[,,"[237]\\d{8}|8(?:[6-8]\\d{3}|9(?:[02-9]\\d{2}|1(?:[0-57-9]\\d|6[0135-9])))\\d{4}","\\d{8,9}",,,"212345678"],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}","\\d{9}",,,"412345678"],[,,"180(?:0\\d{3}|2)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"19(?:0[0126]\\d|[679])\\d{5}","\\d{8,10}",,,"1900123456"],[,,"13(?:00\\d{3}|45[0-4]|\\d)\\d{3}","\\d{6,10}",,,"1300123456"],[,,"500\\d{6}","\\d{9}",,,"500123456"],[,,"550\\d{6}","\\d{9}",,,"550123456"],"AU",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,[[,"([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[45]|14"],"0$1"],[,"(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[38]0|90)","1(?:[38]00|90)"],"$1"],[,"(180)(2\\d{3})","$1 $2",["180","1802"],"$1"],[,"(19\\d)(\\d{3})","$1 $2",["19[13]"],"$1"],[,"(19\\d{2})(\\d{4})","$1 $2",["19[679]"],"$1"],[,"(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"],"$1"]],,[,,"16\\d{3,7}","\\d{5,9}",,,"1612345"],1,,[,,"1(?:3(?:00\\d{3}|45[0-4]|\\d)\\d{3}|80(?:0\\d{6}|2\\d{3}))","\\d{6,10}",,,"1300123456"],[,,"NA","NA"],,,[,,"NA","NA"]],AW:[,[,,"[25-9]\\d{6}","\\d{7}"],[,,"5(?:2\\d|8[1-9])\\d{4}","\\d{7}",,,"5212345"],[,,"(?:5(?:6\\d|9[2-478])|6(?:[039]0|22|4[01]|6[0-2])|7[34]\\d|9(?:6[45]|9[4-8]))\\d{4}","\\d{7}",,,"5601234"],[,,"800\\d{4}","\\d{7}",,,"8001234"],[,,"900\\d{4}","\\d{7}",,,"9001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"28\\d{5}|501\\d{4}","\\d{7}",,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AX:[,[,,"[135]\\d{5,9}|[27]\\d{4,9}|4\\d{5,10}|6\\d{7,8}|8\\d{6,9}","\\d{5,12}"],[,,"18[1-8]\\d{3,9}","\\d{6,12}",,,"1812345678"],[,,"4\\d{5,10}|50\\d{4,8}","\\d{6,11}",,,"412345678"],[,,"800\\d{4,7}","\\d{7,10}",,,"8001234567"],[,,"[67]00\\d{5,6}","\\d{8,9}",,,"600123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AX",358,"00|99[049]","0",,,"0",,,,,,[,,"NA","NA"],,,[,,"[13]00\\d{3,7}|2(?:0(?:0\\d{3,7}|2[023]\\d{1,6}|9[89]\\d{1,6}))|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{2,7})","\\d{5,10}",,,"100123"],[,,"[13]0\\d{4,8}|2(?:0(?:[016-8]\\d{3,7}|[2-59]\\d{2,7})|9\\d{4,8})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{2,7})","\\d{5,10}",,,"10112345"],,,[,,"NA","NA"]],AZ:[,[,,"[1-9]\\d{8}","\\d{7,9}"],[,,"(?:1[28]\\d{3}|2(?:02|1[24]|2[2-4]|33|[45]2|6[23])\\d{2}|365(?:[0-46-9]\\d|5[0-35-9]))\\d{4}","\\d{7,9}",,,"123123456"],[,,"(?:36554|(?:4[04]|5[015]|60|7[07])\\d{3})\\d{4}","\\d{9}",,,"401234567"],[,,"88\\d{7}","\\d{9}",,,"881234567"],[,,"900200\\d{3}","\\d{9}",,,"900200123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["(?:1[28]|2(?:[45]2|[0-36])|365)"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BA:[,[,,"[3-9]\\d{7,8}","\\d{6,9}"],[,,"(?:[35]\\d|49)\\d{6}","\\d{6,8}",,,"30123456"],[,,"6(?:03|44|71|[1-356])\\d{6}","\\d{8,9}",,,"61123456"],[,,"8[08]\\d{6}","\\d{8}",,,"80123456"],[,,"9[0246]\\d{6}","\\d{8}",,,"90123456"],[,,"8[12]\\d{6}","\\d{8}",,,"82123456"],[,,"NA","NA"],[,,"NA","NA"],"BA",387,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-356]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6[047]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"70[23]\\d{5}","\\d{8}",,,"70223456"],,,[,,"NA","NA"]],BB:[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7(?:37|57)|9(?:1[89]|63))\\d{4}","\\d{7}(?:\\d{3})?",,,"2464123456"],[,,"246(?:2(?:[356]\\d|4[0-57-9]|8[0-79])|45\\d|8(?:[2-5]\\d|83))\\d{4}","\\d{10}",,,"2462501234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900\\d{7}|246976\\d{4}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"24631\\d{5}","\\d{10}",,,"2463101234"],"BB",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"246",[,,"NA","NA"],[,,"246(?:292|41[7-9]|43[01])\\d{4}","\\d{10}",,,"2464301234"],,,[,,"NA","NA"]],BD:[,[,,"[2-79]\\d{5,9}|1\\d{9}|8[0-7]\\d{4,8}","\\d{6,10}"],[,,"2(?:550\\d|7(?:1[0-267]|2[0-289]|3[0-29]|[46][01]|5[1-3]|7[017]|91)|8(?:0[125]|[139][1-6]|2[0157-9]|6[1-35]|7[1-5]|8[1-8]|90)|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0167]|7[15]|8[0146-8]))\\d{4}|3(?:12?[5-7]\\d{2}|0(?:2(?:[025-79]\\d|[348]\\d{1,2})|3(?:[2-4]\\d|[56]\\d?))|2(?:1\\d{2}|2(?:[12]\\d|[35]\\d{1,2}|4\\d?))|3(?:1\\d{2}|2(?:[2356]\\d|4\\d{1,2}))|4(?:1\\d{2}|2(?:2\\d{1,2}|[47]|5\\d{2}))|5(?:1\\d{2}|29)|[67]1\\d{2}|8(?:1\\d{2}|2(?:2\\d{2}|3|4\\d)))\\d{3}|4(?:0(?:2(?:[09]\\d|7)|33\\d{2})|1\\d{3}|2(?:1\\d{2}|2(?:[25]\\d?|[348]\\d|[67]\\d{1,2}))|3(?:1\\d{2}(?:\\d{2})?|2(?:[045]\\d|[236-9]\\d{1,2})|32\\d{2})|4(?:[18]\\d{2}|2(?:[2-46]\\d{2}|3)|5[25]\\d{2})|5(?:1\\d{2}|2(?:3\\d|5))|6(?:[18]\\d{2}|2(?:3(?:\\d{2})?|[46]\\d{1,2}|5\\d{2}|7\\d)|5(?:3\\d?|4\\d|[57]\\d{1,2}|6\\d{2}|8))|71\\d{2}|8(?:[18]\\d{2}|23\\d{2}|54\\d{2})|9(?:[18]\\d{2}|2[2-5]\\d{2}|53\\d{1,2}))\\d{3}|5(?:02[03489]\\d{2}|1\\d{2}|2(?:1\\d{2}|2(?:2(?:\\d{2})?|[457]\\d{2}))|3(?:1\\d{2}|2(?:[37](?:\\d{2})?|[569]\\d{2}))|4(?:1\\d{2}|2[46]\\d{2})|5(?:1\\d{2}|26\\d{1,2})|6(?:[18]\\d{2}|2|53\\d{2})|7(?:1|24)\\d{2}|8(?:1|26)\\d{2}|91\\d{2})\\d{3}|6(?:0(?:1\\d{2}|2(?:3\\d{2}|4\\d{1,2}))|2(?:2[2-5]\\d{2}|5(?:[3-5]\\d{2}|7)|8\\d{2})|3(?:1|2[3478])\\d{2}|4(?:1|2[34])\\d{2}|5(?:1|2[47])\\d{2}|6(?:[18]\\d{2}|6(?:2(?:2\\d|[34]\\d{2})|5(?:[24]\\d{2}|3\\d|5\\d{1,2})))|72[2-5]\\d{2}|8(?:1\\d{2}|2[2-5]\\d{2})|9(?:1\\d{2}|2[2-6]\\d{2}))\\d{3}|7(?:(?:02|[3-589]1|6[12]|72[24])\\d{2}|21\\d{3}|32)\\d{3}|8(?:(?:4[12]|[5-7]2|1\\d?)|(?:0|3[12]|[5-7]1|217)\\d)\\d{4}|9(?:[35]1|(?:[024]2|81)\\d|(?:1|[24]1)\\d{2})\\d{3}","\\d{6,9}",,,"27111234"],[,,"(?:1[13-9]\\d|(?:3[78]|44)[02-9]|6(?:44|6[02-9]))\\d{7}","\\d{10}",,,"1812345678"],[,,"80[03]\\d{7}","\\d{10}",,,"8001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"96(?:0[49]|1[0-4]|6[69])\\d{6}","\\d{10}",,,"9604123456"],"BD",880,"00[12]?","0",,,"0",,"00",,[[,"(2)(\\d{7,8})","$1-$2",["2"],"0$1"],[,"(\\d{2})(\\d{4,6})","$1-$2",["[3-79]1"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["1|3(?:0|[2-58]2)|4(?:0|[25]2|3[23]|[4689][25])|5(?:[02-578]2|6[25])|6(?:[0347-9]2|[26][25])|7[02-9]2|8(?:[023][23]|[4-7]2)|9(?:[02][23]|[458]2|6[016])"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["[3-79][2-9]|8"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BE:[,[,,"[1-9]\\d{7,8}","\\d{8,9}"],[,,"(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}|80[2-8]\\d{5}","\\d{8}",,,"12345678"],[,,"4(?:6[0135-8]|[79]\\d|8[3-9])\\d{6}","\\d{9}",,,"470123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"(?:70[2-467]|90[0-79])\\d{5}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[6-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4[23]|9[2-4]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[156]|7[018]|8(?:0[1-9]|[1-79])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"78\\d{6}","\\d{8}",,,"78123456"],,,[,,"NA","NA"]],BF:[,[,,"[267]\\d{7}","\\d{8}"],[,,"2(?:0(?:49|5[23]|9[016-9])|4(?:4[569]|5[4-6]|7[0179])|5(?:[34]\\d|50))\\d{4}","\\d{8}",,,"20491234"],[,,"6(?:[0-689]\\d|7[0-5])\\d{5}|7\\d{7}","\\d{8}",,,"70123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BG:[,[,,"[23567]\\d{5,7}|[489]\\d{6,8}","\\d{5,9}"],[,,"2(?:[0-8]\\d{5,6}|9\\d{4,6})|(?:[36]\\d|5[1-9]|8[1-6]|9[1-7])\\d{5,6}|(?:4(?:[124-7]\\d|3[1-6])|7(?:0[1-9]|[1-9]\\d))\\d{4,5}","\\d{5,8}",,,"2123456"],[,,"(?:8[7-9]\\d|9(?:8\\d|99))\\d{6}|4(?:3[0789]|8\\d)\\d{5}","\\d{8,9}",,,"48123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"700\\d{5}","\\d{5,9}",,,"70012345"],[,,"NA","NA"],"BG",359,"00","0",,,"0",,,,[[,"(2)(\\d{5})","$1 $2",["29"],"0$1"],[,"(2)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[78]00"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["999"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["48|8[7-9]|9[08]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BH:[,[,,"[136-9]\\d{7}","\\d{8}"],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9])|9[69][69])|7(?:1(?:11|78)|7\\d{2}))\\d{4}","\\d{8}",,,"17001234"],[,,"(?:3(?:[1-4679]\\d|5[013-69]|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9]|7[0-6])))\\d{4}","\\d{8}",,,"36001234"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"(?:87|9[014578])\\d{6}","\\d{8}",,,"90123456"],[,,"84\\d{6}","\\d{8}",,,"84123456"],[,,"NA","NA"],[,,"NA","NA"],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BI:[,[,,"[267]\\d{7}","\\d{8}"],[,,"22\\d{6}","\\d{8}",,,"22201234"],[,,"(?:29|6[189]|7[124-9])\\d{6}","\\d{8}",,,"79561234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BJ:[,[,,"[2689]\\d{7}|7\\d{3}","\\d{4,8}"],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}","\\d{8}",,,"20211234"],[,,"(?:6[1-8]|9[03-9])\\d{6}","\\d{8}",,,"90011234"],[,,"7[3-5]\\d{2}","\\d{4}",,,"7312"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"857[58]\\d{4}","\\d{8}",,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"81\\d{6}","\\d{8}",,,"81123456"],,,[,,"NA","NA"]],BL:[,[,,"[56]\\d{8}","\\d{9}"],[,,"590(?:2[7-9]|5[12]|87)\\d{4}","\\d{9}",,,"590271234"],[,,"690(?:0[0-7]|[1-9]\\d)\\d{4}","\\d{9}",,,"690301234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BL",590,"00","0",,,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BM:[,[,,"[4589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"441(?:2(?:02|23|61|[3479]\\d)|[46]\\d{2}|5(?:4\\d|60|89)|824)\\d{4}","\\d{7}(?:\\d{3})?",,,"4412345678"],[,,"441(?:[37]\\d|5[0-39])\\d{5}","\\d{10}",,,"4413701234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"BM",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"441",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BN:[,[,,"[2-578]\\d{6}","\\d{7}"],[,,"2(?:[013-9]\\d|2[0-7])\\d{4}|[3-5]\\d{6}","\\d{7}",,,"2345678"],[,,"22[89]\\d{4}|[78]\\d{6}","\\d{7}",,,"7123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BN",673,"00",,,,,,,,[[,"([2-578]\\d{2})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BO:[,[,,"[23467]\\d{7}","\\d{7,8}"],[,,"(?:2(?:2\\d{2}|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d{2}|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:2\\d|3[234]|4[248]|5[24]|6[2-6]|7\\d))|4(?:4\\d{2}|6(?:11|[24689]\\d|72)))\\d{4}","\\d{7,8}",,,"22123456"],[,,"[67]\\d{7}","\\d{8}",,,"71234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BO",591,"00(1\\d)?","0",,,"0(1\\d)?",,,,[[,"([234])(\\d{7})","$1 $2",["[234]"],,"0$CC $1"],[,"([67]\\d{7})","$1",["[67]"],,"0$CC $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BQ:[,[,,"[347]\\d{6}","\\d{7}"],[,,"(?:318[023]|416[023]|7(?:1[578]|50)\\d)\\d{3}","\\d{7}",,,"7151234"],[,,"(?:318[14-68]|416[15-9]|7(?:0[01]|7[07]|[89]\\d)\\d)\\d{3}","\\d{7}",,,"3181234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BQ",599,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BR:[,[,,"[1-46-9]\\d{7,10}|5\\d{8,9}","\\d{8,11}"],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])[2-5]\\d{7}","\\d{8,11}",,,"1123456789"],[,,"1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|3[1-578]|[689][1-9]|7[13-579])(?:[6-8]|9\\d?)\\d{7}|(?:4[1-9]|5[1-5])[6-9]\\d{7}","\\d{10,11}",,,"11961234567"],[,,"800\\d{6,7}","\\d{8,11}",,,"800123456"],[,,"(?:300|[59]00\\d?)\\d{6}","\\d{8,11}",,,"300123456"],[,,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}","\\d{8,10}",,,"40041234"],[,,"NA","NA"],[,,"NA","NA"],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{4})(\\d{4})","$1-$2",["[2-9](?:[1-9]|0[1-9])"],"$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9(?:[1-9]|0[1-9])"],"$1"],[,"(\\d{3,5})","$1",["1[125689]"],"$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[1689][1-9]|2[12478]|3[1-578]|7[13-579])9"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{4})(\\d{4})","$1-$2",["(?:300|40(?:0|20))"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"]],[[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[1689][1-9]|2[12478]|3[1-578]|7[13-579])9"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{4})(\\d{4})","$1-$2",["(?:300|40(?:0|20))"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"]],[,,"NA","NA"],,,[,,"(?:300\\d|40(?:0\\d|20))\\d{4}","\\d{8}",,,"40041234"],[,,"NA","NA"],,,[,,"NA","NA"]],BS:[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[3467]|8[0-4]|9[2-467])|461|502|6(?:0[1-3]|12|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}","\\d{7}(?:\\d{3})?",,,"2423456789"],[,,"242(?:3(?:5[79]|[79]5)|4(?:[2-4][1-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-9]|65|77)|6[34]6|727)\\d{4}","\\d{10}",,,"2423591234"],[,,"242300\\d{4}|8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"BS",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"242",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BT:[,[,,"[1-8]\\d{6,7}","\\d{6,8}"],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}","\\d{6,7}",,,"2345678"],[,,"(?:1[67]|77)\\d{6}","\\d{8}",,,"17123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BT",975,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]],[,"([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BW:[,[,,"[2-79]\\d{6,7}","\\d{7,8}"],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0235-9]|55|[69]\\d|7[01])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[0389]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}","\\d{7}",,,"2401234"],[,,"7(?:[1-6]\\d|7[014-8])\\d{5}","\\d{8}",,,"71123456"],[,,"NA","NA"],[,,"90\\d{5}","\\d{7}",,,"9012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"79[12][01]\\d{4}","\\d{8}",,,"79101234"],"BW",267,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],[,"(7\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(90)(\\d{5})","$1 $2",["9"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],BY:[,[,,"[1-4]\\d{8}|800\\d{3,7}|[89]\\d{9,10}","\\d{6,11}"],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d{2})|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}","\\d{6,11}",,,"152450911"],[,,"(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}","\\d{9}",,,"294911911"],[,,"8(?:0[13]|20\\d)\\d{7}|800\\d{3,7}","\\d{6,11}",,,"8011234567"],[,,"(?:810|902)\\d{7}","\\d{10}",,,"9021234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"249\\d{6}","\\d{9}",,,"249123456"],"BY",375,"810","8",,,"8?0?",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"],"8 0$1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"([89]\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8[01]|9"],"8 $1"],[,"(82\\d)(\\d{4})(\\d{4})","$1 $2 $3",["82"],"8 $1"],[,"(800)(\\d{3})","$1 $2",["800"],"8 $1"],[,"(800)(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"]],,[,,"NA","NA"],,,[,,"8(?:[013]|[12]0)\\d{8}|800\\d{3,7}|902\\d{7}","\\d{6,11}",,,"82012345678"],[,,"NA","NA"],,,[,,"NA","NA"]],BZ:[,[,,"[2-8]\\d{6}|0\\d{10}","\\d{7}(?:\\d{4})?"],[,,"(?:[23458][02]\\d|7(?:[02]\\d|32))\\d{4}","\\d{7}",,,"2221234"],[,,"6[0-35-7]\\d{5}","\\d{7}",,,"6221234"],[,,"0800\\d{7}","\\d{11}",,,"08001234123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(0)(800)(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],CA:[,[,,"[2-9]\\d{9}|3\\d{6}","\\d{7}(?:\\d{3})?"],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"CA",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CC:[,[,,"[1458]\\d{5,9}","\\d{6,10}"],[,,"89162\\d{4}","\\d{8,9}",,,"891621234"],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}","\\d{9}",,,"412345678"],[,,"180(?:0\\d{3}|2)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"190[0126]\\d{6}","\\d{10}",,,"1900123456"],[,,"13(?:00\\d{2})?\\d{4}","\\d{6,10}",,,"1300123456"],[,,"500\\d{6}","\\d{9}",,,"500123456"],[,,"550\\d{6}","\\d{9}",,,"550123456"],"CC",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CD:[,[,,"[2-6]\\d{6}|[18]\\d{6,8}|9\\d{8}","\\d{7,9}"],[,,"1(?:2\\d{7}|\\d{6})|[2-6]\\d{6}","\\d{7,9}",,,"1234567"],[,,"8(?:[0-2459]\\d{2}|8)\\d{5}|9[7-9]\\d{7}","\\d{7,9}",,,"991234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["12"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[0-2459]|9"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CF:[,[,,"[278]\\d{7}","\\d{8}"],[,,"2[12]\\d{6}","\\d{8}",,,"21612345"],[,,"7[0257]\\d{6}","\\d{8}",,,"70012345"],[,,"NA","NA"],[,,"8776\\d{4}","\\d{8}",,,"87761234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CG:[,[,,"[028]\\d{8}","\\d{9}"],[,,"222[1-589]\\d{5}","\\d{9}",,,"222123456"],[,,"0[14-6]\\d{7}","\\d{9}",,,"061234567"],[,,"NA","NA"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CG",242,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],CH:[,[,,"[2-9]\\d{8}|860\\d{9}","\\d{9}(?:\\d{3})?"],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}","\\d{9}",,,"212345678"],[,,"7[5-9]\\d{7}","\\d{9}",,,"781234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"90[016]\\d{6}","\\d{9}",,,"900123456"],[,,"84[0248]\\d{6}","\\d{9}",,,"840123456"],[,,"878\\d{6}","\\d{9}",,,"878123456"],[,,"NA","NA"],"CH",41,"00","0",,,"0",,,,[[,"([2-9]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]|[89]1"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["860"],"0$1"]],,[,,"74[0248]\\d{6}","\\d{9}",,,"740123456"],,,[,,"NA","NA"],[,,"5[18]\\d{7}","\\d{9}",,,"581234567"],,,[,,"860\\d{9}","\\d{12}",,,"860123456789"]],CI:[,[,,"[02-8]\\d{7}","\\d{8}"],[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}","\\d{8}",,,"21234567"],[,,"(?:0[1-9]|4\\d|5[14-9]|6[015-79]|7[578]|87)\\d{6}","\\d{8}",,,"01234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],CK:[,[,,"[2-8]\\d{4}","\\d{5}"],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}","\\d{5}",,,"21234"],[,,"[5-8]\\d{4}","\\d{5}",,,"71234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CL:[,[,,"(?:[2-9]|600|123)\\d{7,8}","\\d{7,11}"],[,,"2(?:1962\\d{4}|2\\d{7}|32[0-2]\\d{5})|(?:3[2-5]|[47][1-35]|5[1-3578]|6[13-57])\\d{7}","\\d{7,9}",,,"221234567"],[,,"9[4-9]\\d{7}","\\d{8,9}",,,"961234567"],[,,"800\\d{6}|1230\\d{7}","\\d{9,11}",,,"800123456"],[,,"NA","NA"],[,,"600\\d{7,8}","\\d{10,11}",,,"6001234567"],[,,"NA","NA"],[,,"44\\d{7}","\\d{9}",,,"441234567"],"CL",56,"(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0","0",,,"0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))",,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)","$CC ($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]"],"($1)","$CC ($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"],"0$1"],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"],"$1"],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"],"$1"],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"$1"],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)","$CC ($1)"],[,"(\\d{4,5})","$1",["[1-9]"],"$1"]],[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)","$CC ($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]"],"($1)","$CC ($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"],"0$1"],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"],"$1"],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"],"$1"],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"$1"],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)","$CC ($1)"]],[,,"NA","NA"],,,[,,"600\\d{7,8}","\\d{10,11}",,,"6001234567"],[,,"NA","NA"],,,[,,"NA","NA"]],CM:[,[,,"[2368]\\d{7,8}","\\d{8,9}"],[,,"2(?:22|33|4[23])\\d{6}","\\d{9}",,,"222123456"],[,,"6[5-9]\\d{7}","\\d{9}",,,"671234567"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"88\\d{6}","\\d{8}",,,"88012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CM",237,"00",,,,,,,,[[,"([26])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|88"]],[,"(800)(\\d{2})(\\d{3})","$1 $2 $3",["80"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CN:[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}","\\d{4,12}"],[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-4689]|6[2368]|9[02-9])|8(?:078|1[236-8]|2[5-7]|3\\d|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}","\\d{4,12}",,,"1012345678"],[,,"1(?:[38]\\d|4[57]|5[0-35-9]|7[0136-8])\\d{8}","\\d{11}",,,"13123456789"],[,,"(?:10)?800\\d{7}","\\d{10,12}",,,"8001234567"],[,,"16[08]\\d{5}","\\d{8}",,,"16812345"],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}","\\d{7,11}",,,"4001234567"],[,,"NA","NA"],[,,"NA","NA"],"CN",86,"(1(?:[129]\\d{3}|79\\d{2}))?00","0",,,"(1(?:[129]\\d{3}|79\\d{2}))|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"],"0$1","$CC $1",1],[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{5,6})","$1",["100|95"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|9[56])"],"0$1","$CC $1"],[,"(\\d{3,4})(\\d{4})","$1 $2",["[2-9]"]],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"],"0$1","$CC $1",1],[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|9[56])"],"0$1","$CC $1"],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[,,"NA","NA"],,,[,,"(?:4|(?:10)?8)00\\d{7}|950\\d{7,8}","\\d{10,12}",,,"4001234567"],[,,"NA","NA"],,,[,,"NA","NA"]],CO:[,[,,"(?:[13]\\d{0,3}|[24-8])\\d{7}","\\d{7,11}"],[,,"[124-8][2-9]\\d{6}","\\d{8}",,,"12345678"],[,,"3(?:0[0-5]|1\\d|2[0-2]|5[01])\\d{7}","\\d{10}",,,"3211234567"],[,,"1800\\d{7}","\\d{11}",,,"18001234567"],[,,"19(?:0[01]|4[78])\\d{7}","\\d{11}",,,"19001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:44|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["1(?:8[2-9]|9[0-3]|[2-7])|[24-8]","1(?:8[2-9]|9(?:09|[1-3])|[2-7])|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1-$2-$3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["1(?:8[2-9]|9[0-3]|[2-7])|[24-8]","1(?:8[2-9]|9(?:09|[1-3])|[2-7])|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1 $2 $3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"]]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CR:[,[,,"[24-9]\\d{7,9}","\\d{8,10}"],[,,"2[0-24-7]\\d{6}","\\d{8}",,,"22123456"],[,,"5(?:0[01]|7[0-3])\\d{5}|(?:[67][0-3]|8[3-9])\\d{6}","\\d{8}",,,"83123456"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"90[059]\\d{7}","\\d{10}",,,"9001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"210[0-6]\\d{4}|4\\d{7}|5100\\d{4}","\\d{8}",,,"40001234"],"CR",506,"00",,,,"(19(?:0[012468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"],,"$CC $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CU:[,[,,"[2-57]\\d{5,7}","\\d{4,8}"],[,,"2[1-4]\\d{5,6}|3(?:1\\d{6}|[23]\\d{4,6})|4(?:[125]\\d{5,6}|[36]\\d{6}|[78]\\d{4,6})|7\\d{6,7}","\\d{4,8}",,,"71234567"],[,,"5\\d{7}","\\d{8}",,,"51234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CU",53,"119","0",,,"0",,,,[[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d{2})(\\d{4,6})","$1 $2",["[2-4]"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CV:[,[,,"[259]\\d{6}","\\d{7}"],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}","\\d{7}",,,"2211234"],[,,"(?:9\\d|59)\\d{5}","\\d{7}",,,"9911234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CW:[,[,,"[169]\\d{6,7}","\\d{7,8}"],[,,"9(?:[48]\\d{2}|50\\d|7(?:2[0-24]|[34]\\d|6[35-7]|77|8[7-9]))\\d{4}","\\d{7,8}",,,"94151234"],[,,"9(?:5(?:[12467]\\d|3[01])|6(?:[15-9]\\d|3[01]))\\d{4}","\\d{7,8}",,,"95181234"],[,,"NA","NA"],[,,"NA","NA"],[,,"60[0-2]\\d{4}","\\d{7}",,,"6001234"],[,,"NA","NA"],[,,"NA","NA"],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-7]"]],[,"(9)(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,"955\\d{5}","\\d{7,8}",,,"95581234"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CX:[,[,,"[1458]\\d{5,9}","\\d{6,10}"],[,,"89164\\d{4}","\\d{8,9}",,,"891641234"],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}","\\d{9}",,,"412345678"],[,,"180(?:0\\d{3}|2)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"190[0126]\\d{6}","\\d{10}",,,"1900123456"],[,,"13(?:00\\d{2})?\\d{4}","\\d{6,10}",,,"1300123456"],[,,"500\\d{6}","\\d{9}",,,"500123456"],[,,"550\\d{6}","\\d{9}",,,"550123456"],"CX",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CY:[,[,,"[257-9]\\d{7}","\\d{8}"],[,,"2[2-6]\\d{6}","\\d{8}",,,"22345678"],[,,"9[4-79]\\d{6}","\\d{8}",,,"96123456"],[,,"800\\d{5}","\\d{8}",,,"80001234"],[,,"90[09]\\d{5}","\\d{8}",,,"90012345"],[,,"80[1-9]\\d{5}","\\d{8}",,,"80112345"],[,,"700\\d{5}","\\d{8}",,,"70012345"],[,,"NA","NA"],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"(?:50|77)\\d{6}","\\d{8}",,,"77123456"],,,[,,"NA","NA"]],CZ:[,[,,"[2-8]\\d{8}|9\\d{8,11}","\\d{9,12}"],[,,"2\\d{8}|(?:3[1257-9]|4[16-9]|5[13-9])\\d{7}","\\d{9,12}",,,"212345678"],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}","\\d{9,12}",,,"601123456"],[,,"800\\d{6}","\\d{9,12}",,,"800123456"],[,,"9(?:0[05689]|76)\\d{6}","\\d{9,12}",,,"900123456"],[,,"8[134]\\d{7}","\\d{9,12}",,,"811234567"],[,,"70[01]\\d{6}","\\d{9,12}",,,"700123456"],[,,"9[17]0\\d{6}","\\d{9,12}",,,"910123456"],"CZ",420,"00",,,,,,,,[[,"([2-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(96\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["96"]],[,"(9\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9[36]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"9(?:5\\d|7[234])\\d{6}","\\d{9,12}",,,"972123456"],,,[,,"9(?:3\\d{9}|6\\d{7,10})","\\d{9,12}",,,"93123456789"]],DE:[,[,,"[1-35-9]\\d{3,14}|4(?:[0-8]\\d{4,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,8})","\\d{2,15}"],[,,"[246]\\d{5,13}|3(?:0\\d{3,13}|2\\d{9}|[3-9]\\d{4,13})|5(?:0[2-8]|[1256]\\d|[38][0-8]|4\\d{0,2}|[79][0-7])\\d{3,11}|7(?:0[2-8]|[1-9]\\d)\\d{3,10}|8(?:0[2-9]|[1-9]\\d)\\d{3,10}|9(?:0[6-9]\\d{3,10}|1\\d{4,12}|[2-9]\\d{4,11})","\\d{2,15}",,,"30123456"],[,,"1(?:5[0-25-9]\\d{8}|6[023]\\d{7,8}|7(?:[0-57-9]\\d?|6\\d)\\d{7})","\\d{10,11}",,,"15123456789"],[,,"800\\d{7,12}","\\d{10,15}",,,"8001234567890"],[,,"137[7-9]\\d{6}|900(?:[135]\\d{6}|9\\d{7})","\\d{10,11}",,,"9001234567"],[,,"1(?:3(?:7[1-6]\\d{6}|8\\d{4})|80\\d{5,11})","\\d{7,14}",,,"18012345"],[,,"700\\d{8}","\\d{11}",,,"70012345678"],[,,"NA","NA"],"DE",49,"00","0",,,"0",,,,[[,"(1\\d{2})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(15\\d{3})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(1\\d{3})(\\d{7})","$1 $2",["15"],"0$1"],[,"(\\d{2})(\\d{3,11})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,11})","$1 $2",["2(?:\\d1|0[2389]|1[24]|28|34)|3(?:[3-9][15]|40)|[4-8][1-9]1|9(?:06|[1-9]1)"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|[7-9](?:\\d[1-9]|[1-9]\\d)|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])","[24-6]|[7-9](?:\\d[1-9]|[1-9]\\d)|3(?:3(?:0[1-467]|2[127-9]|3[124578]|[46][1246]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|3[1357]|4[13578]|6[1246]|7[1356]|9[1346])|5(?:0[14]|2[1-3589]|3[1357]|4[1246]|6[1-4]|7[1346]|8[13568]|9[1246])|6(?:0[356]|2[1-489]|3[124-6]|4[1347]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|3[1357]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|4[1347]|6[0135-9]|7[1467]|8[136])|9(?:0[12479]|2[1358]|3[1357]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))"],"0$1"],[,"(3\\d{4})(\\d{1,10})","$1 $2",["3"],"0$1"],[,"(800)(\\d{7,12})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["(?:18|90)0|137","1(?:37|80)|900[1359]"],"0$1"],[,"(1\\d{2})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(18\\d{3})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(18\\d{2})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(18\\d)(\\d{8})","$1 $2",["18[2-579]"],"0$1"],[,"(700)(\\d{4})(\\d{4})","$1 $2 $3",["700"],"0$1"],[,"(138)(\\d{4})","$1 $2",["138"],"0$1"],[,"(15[013-68])(\\d{2})(\\d{8})","$1 $2 $3",["15[013-68]"],"0$1"],[,"(15[279]\\d)(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(1[67]\\d)(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})","\\d{4,14}",,,"16412345"],,,[,,"NA","NA"],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})","\\d{8,14}",,,"18500123456"],,,[,,"1(?:5(?:(?:2\\d55|7\\d99|9\\d33)\\d{7}|(?:[034568]00|113)\\d{8})|6(?:013|255|399)\\d{7,8}|7(?:[015]13|[234]55|[69]33|[78]99)\\d{7,8})","\\d{12,13}",,,"177991234567"]],DJ:[,[,,"[27]\\d{7}","\\d{8}"],[,,"2(?:1[2-5]|7[45])\\d{5}","\\d{8}",,,"21360003"],[,,"77[0-26-8]\\d{5}","\\d{8}",,,"77831001"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],DK:[,[,,"[2-9]\\d{7}","\\d{8}"],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}","\\d{8}",,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}","\\d{8}",,,"20123456"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],DM:[,[,,"[57-9]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4]|70[1-3])\\d{4}","\\d{7}(?:\\d{3})?",,,"7674201234"],[,,"767(?:2(?:[234689]5|7[5-7])|31[5-7]|61[2-7])\\d{4}","\\d{10}",,,"7672251234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"DM",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"767",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],DO:[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"8(?:[04]9[2-9]\\d{6}|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d{2}|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9]))\\d{4})","\\d{7}(?:\\d{3})?",,,"8092345678"],[,,"8[024]9[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"8092345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"DO",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"8[024]9",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],DZ:[,[,,"(?:[1-4]|[5-9]\\d)\\d{7}","\\d{8,9}"],[,,"(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}|9619\\d{5}","\\d{8,9}",,,"12345678"],[,,"(?:5[4-6]|7[7-9])\\d{7}|6(?:[569]\\d|7[0-6])\\d{6}","\\d{9}",,,"551234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"80[3-689]1\\d{5}","\\d{9}",,,"808123456"],[,,"80[12]1\\d{5}","\\d{9}",,,"801123456"],[,,"NA","NA"],[,,"98[23]\\d{6}","\\d{9}",,,"983123456"],"DZ",213,"00","0",,,"0",,,,[[,"([1-4]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"([5-8]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],EC:[,[,,"1\\d{9,10}|[2-8]\\d{7}|9\\d{8}","\\d{7,11}"],[,,"[2-7][2-7]\\d{6}","\\d{7,8}",,,"22123456"],[,,"9(?:39|[45][89]|[67][7-9]|[89]\\d)\\d{6}","\\d{9}",,,"991234567"],[,,"1800\\d{6,7}","\\d{10,11}",,,"18001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"[2-7]890\\d{4}","\\d{8}",,,"28901234"],"EC",593,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[247]|[356][2-8]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["1"],"$1"]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[247]|[356][2-8]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["1"],"$1"]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],EE:[,[,,"1\\d{3,4}|[3-9]\\d{6,7}|800\\d{6,7}","\\d{4,10}"],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}","\\d{7}",,,"3212345"],[,,"(?:5\\d|8[1-5])\\d{6}|5(?:[02]\\d{2}|1(?:[0-8]\\d|95)|5[0-478]\\d|64[0-4]|65[1-589])\\d{3}","\\d{7,8}",,,"51234567"],[,,"800(?:0\\d{3}|1\\d|[2-9])\\d{3}","\\d{7,10}",,,"80012345"],[,,"(?:40\\d{2}|900)\\d{4}","\\d{7,8}",,,"9001234"],[,,"NA","NA"],[,,"70[0-2]\\d{5}","\\d{8}",,,"70012345"],[,,"NA","NA"],"EE",372,"00",,,,,,,,[[,"([3-79]\\d{2})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]"]],[,"(70)(\\d{2})(\\d{4})","$1 $2 $3",["70"]],[,"(8000)(\\d{3})(\\d{3})","$1 $2 $3",["800","8000"]],[,"([458]\\d{3})(\\d{3,4})","$1 $2",["40|5|8(?:00|[1-5])","40|5|8(?:00[1-9]|[1-5])"]]],,[,,"NA","NA"],,,[,,"1\\d{3,4}|800[2-9]\\d{3}","\\d{4,7}",,,"8002123"],[,,"1(?:2[01245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[012])\\d{1,2}","\\d{4,5}",,,"12123"],,,[,,"NA","NA"]],EG:[,[,,"1\\d{4,9}|[2456]\\d{8}|3\\d{7}|[89]\\d{8,9}","\\d{5,10}"],[,,"(?:1(?:3[23]\\d|5(?:[23]|9\\d))|2[2-4]\\d{2}|3\\d{2}|4(?:0[2-5]|[578][23]|64)\\d|5(?:0[2-7]|[57][23])\\d|6[24-689]3\\d|8(?:2[2-57]|4[26]|6[237]|8[2-4])\\d|9(?:2[27]|3[24]|52|6[2356]|7[2-4])\\d)\\d{5}|1[69]\\d{3}","\\d{5,9}",,,"234567890"],[,,"1(?:0[0-269]|1[0-245]|2[0-278])\\d{7}","\\d{10}",,,"1001234567"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"900\\d{7}","\\d{10}",,,"9001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1[012]|[89]00"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|[89][2-9]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],EH:[,[,,"[5689]\\d{8}","\\d{9}"],[,,"528[89]\\d{5}","\\d{9}",,,"528812345"],[,,"6(?:0[0-8]|[12-79]\\d|8[017])\\d{6}","\\d{9}",,,"650123456"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"89\\d{7}","\\d{9}",,,"891234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"EH",212,"00","0",,,"0",,,,,,[,,"NA","NA"],,"528[89]",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ER:[,[,,"[178]\\d{6}","\\d{6,7}"],[,,"1(?:1[12568]|20|40|55|6[146])\\d{4}|8\\d{6}","\\d{6,7}",,,"8370362"],[,,"17[1-3]\\d{4}|7\\d{6}","\\d{7}",,,"7123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ES:[,[,,"[5-9]\\d{8}","\\d{9}"],[,,"8(?:[13]0|[28][0-8]|[47][1-9]|5[01346-9]|6[0457-9])\\d{6}|9(?:[1238][0-8]\\d{6}|4[1-9]\\d{6}|5\\d{7}|6(?:[0-8]\\d{6}|9(?:0(?:[0-57-9]\\d{4}|6(?:0[0-8]|1[1-9]|[2-9]\\d)\\d{2})|[1-9]\\d{5}))|7(?:[124-9]\\d{2}|3(?:[0-8]\\d|9[1-9]))\\d{4})","\\d{9}",,,"810123456"],[,,"(?:6\\d{6}|7[1-4]\\d{5}|9(?:6906(?:09|10)|7390\\d{2}))\\d{2}","\\d{9}",,,"612345678"],[,,"[89]00\\d{6}","\\d{9}",,,"800123456"],[,,"80[367]\\d{6}","\\d{9}",,,"803123456"],[,,"90[12]\\d{6}","\\d{9}",,,"901123456"],[,,"70\\d{7}","\\d{9}",,,"701234567"],[,,"NA","NA"],"ES",34,"00",,,,,,,,[[,"([89]00)(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"([5-9]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[568]|[79][0-8]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"51\\d{7}","\\d{9}",,,"511234567"],,,[,,"NA","NA"]],ET:[,[,,"[1-59]\\d{8}","\\d{7,9}"],[,,"(?:11(?:1(?:1[124]|2[2-57]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:18|2[69]|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|22[0-6]|33[0134689]|44[04]|55[0-6]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:11[1-9]|22[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}","\\d{7,9}",,,"111112345"],[,,"9(?:[1-46]\\d|5[89])\\d{6}","\\d{9}",,,"911234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ET",251,"00","0",,,"0",,,,[[,"([1-59]\\d)(\\d{3})(\\d{4})","$1 $2 $3",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],FI:[,[,,"1\\d{4,11}|[2-9]\\d{4,10}","\\d{5,12}"],[,,"1(?:[3569][1-8]\\d{3,9}|[47]\\d{5,10})|2[1-8]\\d{3,9}|3(?:[1-8]\\d{3,9}|9\\d{4,8})|[5689][1-8]\\d{3,9}","\\d{5,12}",,,"1312345678"],[,,"4\\d{5,10}|50\\d{4,8}","\\d{6,11}",,,"412345678"],[,,"800\\d{4,7}","\\d{7,10}",,,"8001234567"],[,,"[67]00\\d{5,6}","\\d{8,9}",,,"600123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"FI",358,"00|99[049]","0",,,"0",,,,[[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]00|[6-8]0)"],"0$1"],[,"(116\\d{3})","$1",["116"],"$1"],[,"(\\d{2})(\\d{4,10})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d)(\\d{4,11})","$1 $2",["[25689][1-8]|3"],"0$1"]],,[,,"NA","NA"],1,,[,,"[13]00\\d{3,7}|2(?:0(?:0\\d{3,7}|2[023]\\d{1,6}|9[89]\\d{1,6}))|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{2,7})","\\d{5,10}",,,"100123"],[,,"[13]0\\d{4,8}|2(?:0(?:[016-8]\\d{3,7}|[2-59]\\d{2,7})|9\\d{4,8})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{2,7})","\\d{5,10}",,,"10112345"],,,[,,"NA","NA"]],FJ:[,[,,"[36-9]\\d{6}|0\\d{10}","\\d{7}(?:\\d{4})?"],[,,"(?:3[0-5]|6[25-7]|8[58])\\d{5}","\\d{7}",,,"3212345"],[,,"(?:7[0-8]|8[034679]|9\\d)\\d{5}","\\d{7}",,,"7012345"],[,,"0800\\d{7}","\\d{11}",,,"08001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[36-9]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],FK:[,[,,"[2-7]\\d{4}","\\d{5}"],[,,"[2-47]\\d{4}","\\d{5}",,,"31234"],[,,"[56]\\d{4}","\\d{5}",,,"51234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"FK",500,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],FM:[,[,,"[39]\\d{6}","\\d{7}"],[,,"3[2357]0[1-9]\\d{3}|9[2-6]\\d{5}","\\d{7}",,,"3201234"],[,,"3[2357]0[1-9]\\d{3}|9[2-7]\\d{5}","\\d{7}",,,"3501234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],FO:[,[,,"[2-9]\\d{5}","\\d{6}"],[,,"(?:20|[3-4]\\d|8[19])\\d{4}","\\d{6}",,,"201234"],[,,"(?:[27][1-9]|5\\d)\\d{4}","\\d{6}",,,"211234"],[,,"80[257-9]\\d{3}","\\d{6}",,,"802123"],[,,"90(?:[1345][15-7]|2[125-7]|99)\\d{2}","\\d{6}",,,"901123"],[,,"NA","NA"],[,,"NA","NA"],[,,"(?:6[0-36]|88)\\d{4}","\\d{6}",,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",,,"$CC $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],FR:[,[,,"[1-9]\\d{8}","\\d{9}"],[,,"[1-5]\\d{8}","\\d{9}",,,"123456789"],[,,"6\\d{8}|7(?:00\\d{6}|[3-9]\\d{7})","\\d{9}",,,"612345678"],[,,"80[0-5]\\d{6}","\\d{9}",,,"801234567"],[,,"89[1-37-9]\\d{6}","\\d{9}",,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}","\\d{9}",,,"810123456"],[,,"NA","NA"],[,,"9\\d{8}","\\d{9}",,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(1\\d{2})(\\d{3})","$1 $2",["11"],"$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"80[6-9]\\d{6}","\\d{9}",,,"806123456"],,,[,,"NA","NA"]],GA:[,[,,"0?\\d{7}","\\d{7,8}"],[,,"01\\d{6}","\\d{8}",,,"01441234"],[,,"0?[2-7]\\d{6}","\\d{7,8}",,,"06031234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GA",241,"00",,,,,,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],GB:[,[,,"\\d{7,10}","\\d{4,10}"],[,,"2(?:0[01378]|3[0189]|4[017]|8[0-46-9]|9[012])\\d{7}|1(?:(?:1(?:3[0-48]|[46][0-4]|5[012789]|7[0-49]|8[01349])|21[0-7]|31[0-8]|[459]1\\d|61[0-46-9]))\\d{6}|1(?:2(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-4789]|7[013-9]|9\\d)|3(?:0\\d|[25][02-9]|3[02-579]|[468][0-46-9]|7[1235679]|9[24578])|4(?:0[03-9]|[28][02-5789]|[37]\\d|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1235-9]|2[024-9]|3[015689]|4[02-9]|5[03-9]|6\\d|7[0-35-9]|8[0-468]|9[0-5789])|6(?:0[034689]|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0124578])|7(?:0[0246-9]|2\\d|3[023678]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-5789]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|2[02-689]|3[1-5789]|4[2-9]|5[0-579]|6[234789]|7[0124578]|8\\d|9[2-57]))\\d{6}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-4789]|8[345])))|3(?:638[2-5]|647[23]|8(?:47[04-9]|64[015789]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[123]))|5(?:24(?:3[2-79]|6\\d)|276\\d|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[567]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|955[0-4])|7(?:26(?:6[13-9]|7[0-7])|442\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|84(?:3[2-58]))|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}|176888[234678]\\d{2}|16977[23]\\d{3}","\\d{4,10}",,,"1212345678"],[,,"7(?:[1-4]\\d\\d|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[04-9]\\d|1[02-9]|2[0-35-9]|3[0-689]))\\d{6}","\\d{10}",,,"7400123456"],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})|500\\d{6}","\\d{7}(?:\\d{2,3})?",,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[2349]))\\d{7}","\\d{10}",,,"9012345678"],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})","\\d{7}(?:\\d{3})?",,,"8431234567"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7(?:0|6[013-9])","2|5[56]|7(?:0|6(?:[013-9]|2[0-35-9]))"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:1|\\d1)|3|9[018]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:387|5(?:24|39)|697|768|946)","1(?:3873|5(?:242|39[456])|697[347]|768[347]|9467)"],"0$1"],[,"(1\\d{3})(\\d{5,6})","$1 $2",["1"],"0$1"],[,"(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-5789]|62)","7(?:[1-5789]|624)"],"0$1"],[,"(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"],"0$1"],[,"(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1"],[,"([58]00)(\\d{6})","$1 $2",["[58]00"],"0$1"]],,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","\\d{10}",,,"7640123456"],1,,[,,"NA","NA"],[,,"(?:3[0347]|55)\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],GD:[,[,,"[4589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|68|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}","\\d{7}(?:\\d{3})?",,,"4732691234"],[,,"473(?:4(?:0[2-79]|1[04-9]|20|58)|5(?:2[01]|3[3-8])|901)\\d{4}","\\d{10}",,,"4734031234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"GD",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"473",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GE:[,[,,"[34578]\\d{8}","\\d{6,9}"],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}","\\d{6,9}",,,"322123456"],[,,"5(?:14|5[01578]|68|7[0147-9]|9[0-35-9])\\d{6}","\\d{9}",,,"555123456"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"706\\d{6}","\\d{9}",,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"],"$1"]],,[,,"NA","NA"],,,[,,"706\\d{6}","\\d{9}",,,"706123456"],[,,"NA","NA"],,,[,,"NA","NA"]],GF:[,[,,"[56]\\d{8}","\\d{9}"],[,,"594(?:10|2[012457-9]|3[0-57-9]|4[3-9]|5[7-9]|6[0-3]|9[014])\\d{4}","\\d{9}",,,"594101234"],[,,"694(?:[04][0-7]|1[0-5]|3[018]|[29]\\d)\\d{4}","\\d{9}",,,"694201234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GG:[,[,,"[135789]\\d{6,9}","\\d{6,10}"],[,,"1481\\d{6}","\\d{6,10}",,,"1481456789"],[,,"7(?:781|839|911)\\d{6}","\\d{10}",,,"7781123456"],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})|500\\d{6}","\\d{7}(?:\\d{2,3})?",,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[0-3]))\\d{7}","\\d{10}",,,"9012345678"],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})","\\d{7}(?:\\d{3})?",,,"8431234567"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"GG",44,"00","0"," x",,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","\\d{10}",,,"7640123456"],,,[,,"NA","NA"],[,,"(?:3[0347]|55)\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],GH:[,[,,"[235]\\d{8}|8\\d{7}","\\d{7,9}"],[,,"3(?:0[237]\\d|[167](?:2[0-6]|7\\d)|2(?:2[0-5]|7\\d)|3(?:2[0-3]|7\\d)|4(?:2[013-9]|3[01]|7\\d)|5(?:2[0-7]|7\\d)|8(?:2[0-2]|7\\d)|9(?:20|7\\d))\\d{5}","\\d{7,9}",,,"302345678"],[,,"(?:2[034678]\\d|5(?:[047]\\d|5[3-6]|6[01]))\\d{6}","\\d{9}",,,"231234567"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GH",233,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"]],,[,,"NA","NA"],,,[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"NA","NA"],,,[,,"NA","NA"]],GI:[,[,,"[2568]\\d{7}","\\d{8}"],[,,"2(?:00\\d|1(?:6[24-7]|9\\d)|2(?:00|2[2457]))\\d{4}","\\d{8}",,,"20012345"],[,,"(?:5[46-8]|62)\\d{6}","\\d{8}",,,"57123456"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"8[1-689]\\d{6}","\\d{8}",,,"88123456"],[,,"87\\d{6}","\\d{8}",,,"87123456"],[,,"NA","NA"],[,,"NA","NA"],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GL:[,[,,"[1-689]\\d{5}","\\d{6}"],[,,"(?:19|3[1-6]|6[14689]|8[14-79]|9\\d)\\d{4}","\\d{6}",,,"321000"],[,,"[245][2-9]\\d{4}","\\d{6}",,,"221234"],[,,"80\\d{4}","\\d{6}",,,"801234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"3[89]\\d{4}","\\d{6}",,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GM:[,[,,"[2-9]\\d{6}","\\d{7}"],[,,"(?:4(?:[23]\\d{2}|4(?:1[024679]|[6-9]\\d))|5(?:54[0-7]|6(?:[67]\\d)|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}","\\d{7}",,,"5661234"],[,,"[23679]\\d{6}","\\d{7}",,,"3012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GN:[,[,,"[367]\\d{7,8}","\\d{8,9}"],[,,"30(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])\\d{4}","\\d{8}",,,"30241234"],[,,"6[02356]\\d{7}","\\d{9}",,,"601123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"722\\d{6}","\\d{9}",,,"722123456"],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GP:[,[,,"[56]\\d{8}","\\d{9}"],[,,"590(?:0[13468]|1[012]|2[0-68]|3[28]|4[0-8]|5[579]|6[0189]|70|8[0-689]|9\\d)\\d{4}","\\d{9}",,,"590201234"],[,,"690(?:0[0-7]|[1-9]\\d)\\d{4}","\\d{9}",,,"690301234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GP",590,"00","0",,,"0",,,,[[,"([56]90)(\\d{2})(\\d{4})","$1 $2-$3",,"0$1"]],,[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GQ:[,[,,"[23589]\\d{8}","\\d{9}"],[,,"3(?:3(?:3\\d[7-9]|[0-24-9]\\d[46])|5\\d{2}[7-9])\\d{4}","\\d{9}",,,"333091234"],[,,"(?:222|55[15])\\d{6}","\\d{9}",,,"222123456"],[,,"80\\d[1-9]\\d{5}","\\d{9}",,,"800123456"],[,,"90\\d[1-9]\\d{5}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GR:[,[,,"[26-9]\\d{9}","\\d{10}"],[,,"2(?:1\\d{2}|2(?:2[1-46-9]|3[1-8]|4[1-7]|5[1-4]|6[1-8]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|3[1245]|4[1-7]|5[13-9]|[269][1-6]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}","\\d{10}",,,"2123456789"],[,,"69\\d{8}","\\d{10}",,,"6912345678"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"90[19]\\d{7}","\\d{10}",,,"9091234567"],[,,"8(?:0[16]|12|25)\\d{7}","\\d{10}",,,"8011234567"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],[,,"NA","NA"],"GR",30,"00",,,,,,,,[[,"([27]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2[2-9]1|[689]"]],[,"(2\\d{3})(\\d{6})","$1 $2",["2[2-9][02-9]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GT:[,[,,"[2-7]\\d{7}|1[89]\\d{9}","\\d{8}(?:\\d{3})?"],[,,"[267][2-9]\\d{6}","\\d{8}",,,"22456789"],[,,"[345]\\d{7}","\\d{8}",,,"51234567"],[,,"18[01]\\d{8}","\\d{11}",,,"18001112222"],[,,"19\\d{9}","\\d{11}",,,"19001112222"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GU:[,[,,"[5689]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:56|7[1-9]|8[236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[5-9])|7(?:[079]7|2[0167]|3[45]|47|8[789])|8(?:[2-5789]8|6[48])|9(?:2[29]|6[79]|7[179]|8[789]|9[78]))\\d{4}","\\d{7}(?:\\d{3})?",,,"6713001234"],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:56|7[1-9]|8[236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[5-9])|7(?:[079]7|2[0167]|3[45]|47|8[789])|8(?:[2-5789]8|6[48])|9(?:2[29]|6[79]|7[179]|8[789]|9[78]))\\d{4}","\\d{7}(?:\\d{3})?",,,"6713001234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"GU",1,"011","1",,,"1",,,1,,,[,,"NA","NA"],,"671",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GW:[,[,,"(?:4(?:0\\d{5}|4\\d{7})|9\\d{8})","\\d{7,9}"],[,,"443(?:2[0125]|3[1245]|4[12]|5[1-4]|70|9[1-467])\\d{4}","\\d{7,9}",,,"443201234"],[,,"9(?:55\\d|6(?:6\\d|9[012])|77\\d)\\d{5}","\\d{7,9}",,,"955012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"40\\d{5}","\\d{7,9}",,,"4012345"],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["44|9[567]"]],[,"(\\d{3})(\\d{4})","$1 $2",["40"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],GY:[,[,,"[2-4679]\\d{6}","\\d{7}"],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}","\\d{7}",,,"2201234"],[,,"6\\d{6}","\\d{7}",,,"6091234"],[,,"(?:289|862)\\d{4}","\\d{7}",,,"2891234"],[,,"9008\\d{3}","\\d{7}",,,"9008123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HK:[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{4,10}","\\d{5,11}"],[,,"(?:[23]\\d|58)\\d{6}","\\d{8}",,,"21234567"],[,,"(?:5[1-79]\\d|6\\d{2}|8[4-79]\\d|9(?:0[1-9]|[1-8]\\d))\\d{5}","\\d{8}",,,"51234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})","\\d{5,11}",,,"90012345678"],[,,"NA","NA"],[,,"8[1-3]\\d{6}","\\d{8}",,,"81123456"],[,,"NA","NA"],"HK",852,"00(?:[126-9]|30|5[09])?",,,,,,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[235-7]|[89](?:0[1-9]|[1-9])"]],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"]],[,"(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]],[,"(900)(\\d{2,5})","$1 $2",["900"]]],,[,,"7\\d{7}","\\d{8}",,,"71234567"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HN:[,[,,"[237-9]\\d{7}","\\d{8}"],[,,"2(?:2(?:0[019]|1[1-36]|[23]\\d|4[056]|5[57]|7[01389]|8[0146-9]|9[012])|4(?:07|2[3-59]|3[13-689]|4[0-68]|5[1-35])|5(?:16|4[3-5]|5\\d|6[4-6]|74)|6(?:[056]\\d|17|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034])|8(?:79|8[0-35789]|9[1-57-9]))\\d{4}","\\d{8}",,,"22123456"],[,,"[37-9]\\d{7}","\\d{8}",,,"91234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HR:[,[,,"[1-7]\\d{5,8}|[89]\\d{6,11}","\\d{6,12}"],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}","\\d{6,9}",,,"12345678"],[,,"9(?:[1-9]\\d{6,10}|01\\d{6,9})","\\d{8,12}",,,"912345678"],[,,"80[01]\\d{4,7}","\\d{7,10}",,,"8001234567"],[,,"6(?:[01459]\\d{4,7})","\\d{6,9}",,,"611234"],[,,"NA","NA"],[,,"7[45]\\d{4,7}","\\d{6,9}",,,"741234567"],[,,"NA","NA"],"HR",385,"00","0",,,"0",,,,[[,"(1)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(6[09])(\\d{4})(\\d{3})","$1 $2 $3",["6[09]"],"0$1"],[,"([67]2)(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]2"],"0$1"],[,"([2-5]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(9\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(9\\d)(\\d{3,4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[0145]|7"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{3})","$1 $2 $3",["6[0145]|7"],"0$1"],[,"(80[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(80[01])(\\d{3,4})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"[76]2\\d{6,7}","\\d{8,9}",,,"62123456"],,,[,,"NA","NA"]],HT:[,[,,"[2-489]\\d{7}","\\d{8}"],[,,"2(?:[248]\\d|5[1-5]|94)\\d{5}","\\d{8}",,,"22453300"],[,,"(?:3[1-9]\\d|4\\d{2}|9(?:8[0-35]|9[5-9]))\\d{5}","\\d{8}",,,"34101234"],[,,"8\\d{7}","\\d{8}",,,"80012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"98[89]\\d{5}","\\d{8}",,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HU:[,[,,"[1-9]\\d{7,8}","\\d{6,9}"],[,,"(?:1\\d|2(?:1\\d|[2-9])|3(?:[2-7]|8\\d)|4[24-9]|5[2-79]|6[23689]|7(?:1\\d|[2-9])|8[2-57-9]|9[2-69])\\d{6}","\\d{6,9}",,,"12345678"],[,,"(?:[257]0|3[01])\\d{7}","\\d{9}",,,"201234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"9[01]\\d{6}","\\d{8}",,,"90123456"],[,,"40\\d{6}","\\d{8}",,,"40123456"],[,,"NA","NA"],[,,"NA","NA"],"HU",36,"00","06",,,"06",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"($1)"]],,[,,"NA","NA"],,,[,,"[48]0\\d{6}","\\d{8}",,,"80123456"],[,,"NA","NA"],,,[,,"NA","NA"]],ID:[,[,,"(?:[1-79]\\d{6,10}|8\\d{7,11})","\\d{5,12}"],[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}","\\d{5,11}",,,"612345678"],[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359]|9\\d)|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,10}","\\d{9,12}",,,"812345678"],[,,"177\\d{6,8}|800\\d{5,7}","\\d{8,11}",,,"8001234567"],[,,"809\\d{7}","\\d{10}",,,"8091234567"],[,,"804\\d{7}","\\d{10}",,,"8041234567"],[,,"NA","NA"],[,,"NA","NA"],"ID",62,"0(?:0[1789]|10(?:00|1[67]))","0",,,"0",,,,[[,"(\\d{2})(\\d{5,8})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[4579]|2[035-9]|[36][02-9]"],"(0$1)"],[,"(8\\d{2})(\\d{3,4})(\\d{3,5})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(1)(500)(\\d{3})","$1 $2 $3",["15"],"$1"],[,"(177)(\\d{6,8})","$1 $2",["17"],"0$1"],[,"(800)(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(804)(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(80\\d)(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80[79]"],"0$1"]],,[,,"NA","NA"],,,[,,"8071\\d{6}","\\d{10}",,,"8071123456"],[,,"1500\\d{3}|8071\\d{6}","\\d{7,10}",,,"8071123456"],,,[,,"NA","NA"]],IE:[,[,,"[124-9]\\d{6,9}","\\d{5,10}"],[,,"1\\d{7,8}|2(?:1\\d{6,7}|3\\d{7}|[24-9]\\d{5})|4(?:0[24]\\d{5}|[1-469]\\d{7}|5\\d{6}|7\\d{5}|8[0-46-9]\\d{7})|5(?:0[45]\\d{5}|1\\d{6}|[23679]\\d{7}|8\\d{5})|6(?:1\\d{6}|[237-9]\\d{5}|[4-6]\\d{7})|7[14]\\d{7}|9(?:1\\d{6}|[04]\\d{7}|[35-9]\\d{5})","\\d{5,10}",,,"2212345"],[,,"8(?:22\\d{6}|[35-9]\\d{7})","\\d{9}",,,"850123456"],[,,"1800\\d{6}","\\d{10}",,,"1800123456"],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}","\\d{10}",,,"1520123456"],[,,"18[59]0\\d{6}","\\d{10}",,,"1850123456"],[,,"700\\d{6}","\\d{9}",,,"700123456"],[,,"76\\d{7}","\\d{9}",,,"761234567"],"IE",353,"00","0",,,"0",,,,[[,"(1)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["40[24]|50[45]"],"(0$1)"],[,"(48)(\\d{4})(\\d{4})","$1 $2 $3",["48"],"(0$1)"],[,"(818)(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[24-69]|7[14]"],"(0$1)"],[,"([78]\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["76|8[35-9]"],"0$1"],[,"(700)(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:8[059]|5)","1(?:8[059]0|5)"],"$1"]],,[,,"NA","NA"],,,[,,"18[59]0\\d{6}","\\d{10}",,,"1850123456"],[,,"818\\d{6}","\\d{9}",,,"818123456"],,,[,,"8[35-9]\\d{8}","\\d{10}",,,"8501234567"]],IL:[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"],[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"],[,,"5(?:[02-47-9]\\d{2}|5(?:01|2[23]|3[2-4]|4[45]|5[5689]|6[67]|7[0178]|8[6-9]|9[4-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"],[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"],[,,"1700\\d{6}","\\d{10}",,,"1700123456"],[,,"NA","NA"],[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[0168])|7\\d{2}|8(?:2\\d|33|55|77|81)|9[29]\\d)\\d{5}","\\d{9}",,,"771234567"],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(1)([7-9]\\d{2})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"],"$1"],[,"(1255)(\\d{3})","$1-$2",["125"],"$1"],[,"(1200)(\\d{3})(\\d{3})","$1-$2-$3",["120"],"$1"],[,"(1212)(\\d{2})(\\d{2})","$1-$2-$3",["121"],"$1"],[,"(1599)(\\d{6})","$1-$2",["15"],"$1"],[,"(\\d{4})","*$1",["[2-689]"],"$1"]],,[,,"NA","NA"],,,[,,"1700\\d{6}|[2-689]\\d{3}","\\d{4,10}",,,"1700123456"],[,,"[2-689]\\d{3}|1599\\d{6}","\\d{4}(?:\\d{6})?",,,"1599123456"],,,[,,"NA","NA"]],IM:[,[,,"[135789]\\d{6,9}","\\d{6,10}"],[,,"1624\\d{6}","\\d{6,10}",,,"1624456789"],[,,"7[569]24\\d{6}","\\d{10}",,,"7924123456"],[,,"808162\\d{4}","\\d{10}",,,"8081624567"],[,,"(?:872299|90[0167]624)\\d{4}","\\d{10}",,,"9016247890"],[,,"8(?:4(?:40[49]06|5624\\d)|70624\\d)\\d{3}","\\d{10}",,,"8456247890"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"IM",44,"00","0"," x",,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"3(?:08162\\d|3\\d{5}|4(?:40[49]06|5624\\d)|7(?:0624\\d|2299\\d))\\d{3}|55\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],IN:[,[,,"1\\d{7,12}|[2-9]\\d{9,10}","\\d{6,13}"],[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","\\d{6,10}",,,"1123456789"],[,,"(?:7(?:0\\d{3}|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|6[089])|9[389]\\d)|3(?:[05-8]\\d{2}|1(?:[089]\\d|7[5-8])|2(?:[5-8]\\d|[01][089])|3[17-9]\\d|4(?:[07-9]\\d|11)|9(?:[01689]\\d|59))|4(?:0[1-9]\\d|1(?:[015-9]\\d|4[08])|2(?:[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|5(?:0[089]|99)|7(?:0[3-9]|11|7[02-8]|[89]\\d)|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[08]|[89]\\d))|5(?:[034678]\\d|2[03-9]|5[017-9]|9[7-9])\\d|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9]\\d)\\d|7(?:0[2-9]|[1-79]\\d|8[1-9])\\d|8(?:[0-79]\\d{2}|880)|99[4-9]\\d)|8(?:0(?:[01589]\\d|6[67])|1(?:[02-57-9]\\d|1[0135-9])|2(?:[236-9]\\d|5[1-9])|3(?:[0357-9]\\d|4[1-9])|[45]\\d{2}|6[02457-9]\\d|7(?:07|[1-69]\\d)|8(?:[0-26-9]\\d|44|5[2-9])|9(?:[035-9]\\d|2[2-9]|4[0-8]))\\d|9\\d{4})\\d{5}","\\d{10}",,,"9987654321"],[,,"1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))","\\d{8,13}",,,"1800123456"],[,,"186[12]\\d{9}","\\d{13}",,,"1861123456789"],[,,"1860\\d{7}","\\d{11}",,,"18603451234"],[,,"NA","NA"],[,,"NA","NA"],"IN",91,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{5})","$1 $2",["7(?:[023578]|4[0-57-9]|6[0-35-9]|99)|8(?:0[015689]|1[0-57-9]|2[2356-9]|3[0-57-9]|[45]|6[02457-9]|7[01-69]|8[0-24-9]|9[02-9])|9","7(?:[08]|2(?:[0235679]|[14][017-9]|8[0-569]|9[389])|3(?:[05-8]|1[07-9]|2[015-8]|3[17-9]|4[017-9]|9[015689])|4(?:[02][1-9]|1[014-9]|3\\d|[47][017-9]|5[09]|[89])|5(?:[034678]|2[03-9]|5[017-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9])|7(?:0[2-9]|[1-79]|8[1-9])|99[4-9])|8(?:0(?:[01589]|6[67])|1(?:[02-57-9]|1[0135-9])|2(?:[236-9]|5[1-9])|3(?:[0357-9]|4[1-9])|[45]|6[02457-9]|7(?:07|[1-69])|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9","7(?:0|2(?:[0235679]|[14][017-9]|8[0-569]|9[389])|3(?:[05-8]|1(?:[089]|7[5-9])|2(?:[5-8]|[01][089])|3[17-9]|4(?:[07-9]|11)|9(?:[01689]|59))|4(?:0[1-9]|1(?:[015-9]|4[08])|2(?:[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|5(?:0[089]|99)|7(?:0[3-9]|11|7[02-8]|[89])|8(?:[0-24-7][089]|[389])|9(?:[0-6][089]|7[08]|[89]))|5(?:[034678]|2[03-9]|5[017-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9])|7(?:0[2-9]|[1-79]|8[1-9])|8(?:[0-79]|880)|99[4-9])|8(?:0(?:[01589]|6[67])|1(?:[02-57-9]|1[0135-9])|2(?:[236-9]|5[1-9])|3(?:[0357-9]|4[1-9])|[45]|6[02457-9]|7(?:07|[1-69])|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79|80[2-46]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[569][14]|7[1257]|8[1346]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)","7(?:12|2[14]|3[134]|4[47]|5(?:1|5[2-6])|[67]1|88)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"],"0$1",,1],[,"(1600)(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1",,1],[,"(1800)(\\d{4,5})","$1 $2",["180","1800"],"$1",,1],[,"(18[06]0)(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],"$1",,1],[,"(140)(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]","18(?:0[03]|6[12])"],"$1",,1]],,[,,"NA","NA"],,,[,,"1(?:600\\d{6}|8(?:0(?:0\\d{4,9}|3\\d{9})|6(?:0\\d{7}|[12]\\d{9})))","\\d{8,13}",,,"1800123456"],[,,"140\\d{7}","\\d{10}",,,"1409305260"],,,[,,"NA","NA"]],IO:[,[,,"3\\d{6}","\\d{7}"],[,,"37\\d{5}","\\d{7}",,,"3709100"],[,,"38\\d{5}","\\d{7}",,,"3801234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],IQ:[,[,,"[1-7]\\d{7,9}","\\d{6,10}"],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}","\\d{6,9}",,,"12345678"],[,,"7[3-9]\\d{8}","\\d{10}",,,"7912345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"IQ",964,"00","0",,,"0",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"([2-6]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],IR:[,[,,"[1-8]\\d{9}|9(?:[0-4]\\d{8}|9\\d{2,8})","\\d{4,10}"],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[146-8]|6[146]|7[1467]|8[13467])\\d{8}","\\d{10}",,,"2123456789"],[,,"9(?:0[1-3]|[13]\\d|2[0-2]|90)\\d{7}","\\d{10}",,,"9123456789"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"(?:[2-6]0\\d|993)\\d{7}","\\d{10}",,,"9932123456"],"IR",98,"00","0",,,"0",,,,[[,"(21)(\\d{3,5})","$1 $2",["21"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{3})(\\d{3})","$1 $2",["9"],"0$1"]],,[,,"943\\d{7}","\\d{10}",,,"9432123456"],,,[,,"NA","NA"],[,,"9990\\d{0,6}","\\d{4,10}",,,"9990123456"],,,[,,"NA","NA"]],IS:[,[,,"[4-9]\\d{6}|38\\d{7}","\\d{7,9}"],[,,"(?:4(?:1[0-24-6]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[013-79]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|87[23])\\d{4}","\\d{7}",,,"4101234"],[,,"38[589]\\d{6}|(?:6(?:1[1-8]|2[056]|3[089]|4[0167]|5[0159]|[67][0-69]|9\\d)|7(?:5[057]|6[0-2]|[78]\\d)|8(?:2[0-59]|3[0-4]|[469]\\d|5[1-9]))\\d{4}","\\d{7,9}",,,"6111234"],[,,"800\\d{4}","\\d{7}",,,"8001234"],[,,"90\\d{5}","\\d{7}",,,"9011234"],[,,"NA","NA"],[,,"NA","NA"],[,,"49\\d{5}","\\d{7}",,,"4921234"],"IS",354,"1(?:0(?:01|10|20)|100)|00",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(3\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"809\\d{4}","\\d{7}",,,"8091234"],,,[,,"(?:6(?:2[1-478]|49|8\\d)|8(?:7[0189]|80)|95[48])\\d{4}","\\d{7}",,,"6211234"]],IT:[,[,,"[01589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9})","\\d{6,11}"],[,,"0(?:[26]\\d{4,9}|(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2346]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[34578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7})","\\d{6,11}",,,"0212345678"],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})","\\d{9,11}",,,"3123456789"],[,,"80(?:0\\d{6}|3\\d{3})","\\d{6,9}",,,"800123456"],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})","\\d{6,10}",,,"899123456"],[,,"84(?:[08]\\d{6}|[17]\\d{3})","\\d{6,9}",,,"848123456"],[,,"1(?:78\\d|99)\\d{6}","\\d{9,10}",,,"1781234567"],[,,"55\\d{8}","\\d{10}",,,"5512345678"],"IT",39,"00",,,,,,,,[[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|55"]],[,"(0[26])(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(0[26])(\\d{4,6})","$1 $2",["0[26]"]],[,"(0\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(0\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["0[13-57-9][2-46-8]"]],[,"(0\\d{3})(\\d{2,6})","$1 $2",["0[13-57-9][2-46-8]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13]|8(?:00|4[08]|9[59])","[13]|8(?:00|4[08]|9(?:5[5-9]|9))"]],[,"(\\d{4})(\\d{4})","$1 $2",["894","894[5-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3"]]],,[,,"NA","NA"],1,,[,,"848\\d{6}","\\d{9}",,,"848123456"],[,,"NA","NA"],1,,[,,"NA","NA"]],JE:[,[,,"[135789]\\d{6,9}","\\d{6,10}"],[,,"1534\\d{6}","\\d{6,10}",,,"1534456789"],[,,"7(?:509|7(?:00|97)|829|937)\\d{6}","\\d{10}",,,"7797123456"],[,,"80(?:07(?:35|81)|8901)\\d{4}","\\d{10}",,,"8007354567"],[,,"(?:871206|90(?:066[59]|1810|71(?:07|55)))\\d{4}","\\d{10}",,,"9018105678"],[,,"8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|70002)\\d{4}","\\d{10}",,,"8447034567"],[,,"701511\\d{4}","\\d{10}",,,"7015115678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"JE",44,"00","0"," x",,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","\\d{10}",,,"7640123456"],,,[,,"NA","NA"],[,,"3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))\\d{4}|55\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],JM:[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"876(?:5(?:0[12]|1[0-468]|2[35]|63)|6(?:0[1-3579]|1[027-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468]))\\d{4}","\\d{7}(?:\\d{3})?",,,"8765123456"],[,,"876(?:2[16-9]\\d|[348]\\d{2}|5(?:0[3-9]|27|6[0-24-9]|[3-578]\\d)|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}","\\d{10}",,,"8762101234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"JM",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"876",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],JO:[,[,,"[235-9]\\d{7,8}","\\d{8,9}"],[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[57][023]|6[03])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|3(?:00|33)|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|90))\\d{4}","\\d{8}",,,"62001234"],[,,"7(?:55|7[025-9]|8[015-9]|9[0-25-9])\\d{6}","\\d{9}",,,"790123456"],[,,"80\\d{6}","\\d{8}",,,"80012345"],[,,"900\\d{5}","\\d{8}",,,"90012345"],[,,"85\\d{6}","\\d{8}",,,"85012345"],[,,"70\\d{7}","\\d{9}",,,"700123456"],[,,"NA","NA"],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"],"0$1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["70|8[0158]|9"],"0$1"]],,[,,"74(?:66|77)\\d{5}","\\d{9}",,,"746612345"],,,[,,"NA","NA"],[,,"8(?:10|8\\d)\\d{5}","\\d{8}",,,"88101234"],,,[,,"NA","NA"]],JP:[,[,,"[1-9]\\d{8,9}|00(?:[36]\\d{7,14}|7\\d{5,7}|8\\d{7})","\\d{8,17}"],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|2[2-9]\\d|[36][1-9]\\d|4(?:6[02-8]|[2-578]\\d|9[2-59])|5(?:6[1-9]|7[2-8]|[2-589]\\d)|7(?:3[4-9]|4[02-9]|[25-9]\\d)|8(?:3[2-9]|4[5-9]|5[1-9]|8[03-9]|[2679]\\d)|9(?:[679][1-9]|[2-58]\\d))\\d{6}","\\d{9}",,,"312345678"],[,,"[7-9]0[1-9]\\d{7}","\\d{10}",,,"9012345678"],[,,"120\\d{6}|800\\d{7}|00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})","\\d{8,17}",,,"120123456"],[,,"990\\d{6}","\\d{9}",,,"990123456"],[,,"NA","NA"],[,,"60\\d{7}","\\d{9}",,,"601234567"],[,,"50[1-9]\\d{7}","\\d{10}",,,"5012345678"],"JP",81,"010","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{4})(\\d{4})","$1-$2",["0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["0088"],"$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|5(?:76|97)|499|746|8(?:3[89]|63|47|51)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:76|97)9|499[2468]|7468|8(?:3(?:8[78]|96)|636|477|51[24])|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:769|979[2-69])|499[2468]|7468|8(?:3(?:8[78]|96[2457-9])|636[2-57-9]|477|51[24])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:7[2-6]|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|[4-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6[56]))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6(?:5[25]|60)))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5(?:[2-589]|39)|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:9[14-79]|74|[34]7|[56]9)|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|5(?:76|97)|499|746|8(?:3[89]|63|47|51)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:76|97)9|499[2468]|7468|8(?:3(?:8[78]|96)|636|477|51[24])|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:769|979[2-69])|499[2468]|7468|8(?:3(?:8[78]|96[2457-9])|636[2-57-9]|477|51[24])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:7[2-6]|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|[4-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6[56]))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6(?:5[25]|60)))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5(?:[2-589]|39)|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:9[14-79]|74|[34]7|[56]9)|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[,,"20\\d{8}","\\d{10}",,,"2012345678"],,,[,,"00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})","\\d{8,17}",,,"00777012"],[,,"570\\d{6}","\\d{9}",,,"570123456"],1,,[,,"NA","NA"]],KE:[,[,,"20\\d{6,7}|[4-9]\\d{6,9}","\\d{7,10}"],[,,"20\\d{6,7}|4(?:[0136]\\d{7}|[245]\\d{5,7})|5(?:[08]\\d{7}|[1-79]\\d{5,7})|6(?:[01457-9]\\d{5,7}|[26]\\d{7})","\\d{7,9}",,,"202012345"],[,,"7(?:[0-36]\\d|5[0-6]|[79][0-7]|8[0-25-9])\\d{6}","\\d{9}",,,"712123456"],[,,"800[24-8]\\d{5,6}","\\d{9,10}",,,"800223456"],[,,"900[02-9]\\d{5}","\\d{9}",,,"900223456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KE",254,"000","0",,,"005|0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KG:[,[,,"[235-8]\\d{8,9}","\\d{5,10}"],[,,"(?:3(?:1(?:[256]\\d|3[1-9]|47)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}","\\d{5,10}",,,"312123456"],[,,"(?:20[0-35]|5[124-7]\\d|7[07]\\d)\\d{6}","\\d{9}",,,"700123456"],[,,"800\\d{6,7}","\\d{9,10}",,,"800123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KG",996,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[25-7]|31[25]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[36]|[2-9])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KH:[,[,,"[1-9]\\d{7,9}","\\d{6,10}"],[,,"(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:[237-9]|4[56]|5\\d|6\\d?)\\d{5}|23(?:4[234]|8\\d{2})\\d{4}","\\d{6,9}",,,"23756789"],[,,"(?:1(?:[013-79]\\d|[28]\\d{1,2})|2[3-6]48|3(?:[18]\\d{2}|[2-6]48)|4[2-4]48|5[2-5]48|6(?:[016-9]\\d|[2-5]48)|7(?:[07-9]\\d|[16]\\d{2}|[2-5]48)|8(?:[013-79]\\d|8\\d{2})|9(?:6\\d{2}|7\\d{1,2}|[0-589]\\d))\\d{5}","\\d{8,9}",,,"91234567"],[,,"1800(?:1\\d|2[019])\\d{4}","\\d{10}",,,"1800123456"],[,,"1900(?:1\\d|2[09])\\d{4}","\\d{10}",,,"1900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["1\\d[1-9]|[2-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KI:[,[,,"[2458]\\d{4}|3\\d{4,7}|7\\d{7}","\\d{5,8}"],[,,"(?:[24]\\d|3[1-9]|50|8[0-5])\\d{3}","\\d{5}",,,"31234"],[,,"7\\d{7}","\\d{8}",,,"72012345"],[,,"NA","NA"],[,,"3001\\d{4}","\\d{5,8}",,,"30010000"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KI",686,"00",,,,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KM:[,[,,"[379]\\d{6}","\\d{7}"],[,,"7(?:6[0-37-9]|7[0-57-9])\\d{4}","\\d{7}",,,"7712345"],[,,"3[234]\\d{5}","\\d{7}",,,"3212345"],[,,"NA","NA"],[,,"(?:39[01]|9[01]0)\\d{4}","\\d{7}",,,"9001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KN:[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70))\\d{4}","\\d{7}(?:\\d{3})?",,,"8692361234"],[,,"869(?:5(?:5[6-8]|6[5-7])|66\\d|76[02-7])\\d{4}","\\d{10}",,,"8697652917"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"KN",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"869",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KP:[,[,,"1\\d{9}|[28]\\d{7}","\\d{6,8}|\\d{10}"],[,,"2\\d{7}|85\\d{6}","\\d{6,8}",,,"21234567"],[,,"19[123]\\d{7}","\\d{10}",,,"1921234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,"NA","NA"],,,[,,"2(?:[0-24-9]\\d{2}|3(?:[0-79]\\d|8[02-9]))\\d{4}","\\d{8}",,,"23821234"],[,,"NA","NA"],,,[,,"NA","NA"]],KR:[,[,,"007\\d{9,11}|[1-7]\\d{3,9}|8\\d{8}","\\d{4,14}"],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])(?:1\\d{2,3}|[1-9]\\d{6,7})","\\d{4,10}",,,"22123456"],[,,"1[0-26-9]\\d{7,8}","\\d{9,10}",,,"1000000000"],[,,"(?:00798\\d{0,2}|80)\\d{7}","\\d{9,14}",,,"801234567"],[,,"60[2-9]\\d{6}","\\d{9}",,,"602345678"],[,,"NA","NA"],[,,"50\\d{8}","\\d{10}",,,"5012345678"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],"KR",82,"00(?:[124-68]|3\\d{2}|7(?:[0-8]\\d|9[0-79]))","0",,,"0(8[1-46-8]|85\\d{2})?",,,,[[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["00798"],"$1","0$CC-$1"],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["00798"],"$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["1(?:0|1[19]|[69]9|5[458])|[57]0","1(?:0|1[19]|[69]9|5(?:44|59|8))|[57]0"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1(?:[01]|5[1-4]|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]","1(?:[01]|5(?:[1-3]|4[56])|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d)(\\d{4})","$1-$2-$3",["131","1312"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["131","131[13-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["13[2-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3-$4",["30"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})","$1-$2",["21[0-46-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1(?:[0-46-9])"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[46-9]|6[04678]|8[03579])","1(?:5(?:44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["1(?:0|1[19]|[69]9|5[458])|[57]0","1(?:0|1[19]|[69]9|5(?:44|59|8))|[57]0"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1(?:[01]|5[1-4]|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]","1(?:[01]|5(?:[1-3]|4[56])|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d)(\\d{4})","$1-$2-$3",["131","1312"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["131","131[13-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["13[2-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3-$4",["30"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})","$1-$2",["21[0-46-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1(?:[0-46-9])"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[46-9]|6[04678]|8[03579])","1(?:5(?:44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"]],[,,"15\\d{7,8}","\\d{9,10}",,,"1523456789"],,,[,,"00798\\d{7,9}","\\d{12,14}",,,"007981234567"],[,,"1(?:5(?:44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))\\d{4}","\\d{8}",,,"15441234"],,,[,,"NA","NA"]],KW:[,[,,"[12569]\\d{6,7}","\\d{7,8}"],[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}","\\d{7,8}",,,"22345678"],[,,"(?:5(?:[05]\\d{2}|1[0-7]\\d|2(?:22|5[25])|66\\d)|6(?:0[034679]\\d|222|5[015-9]\\d|6\\d{2}|7[067]\\d|9[0369]\\d)|9(?:0[09]\\d|22\\d|4[01479]\\d|55\\d|6[0679]\\d|[79]\\d{2}|8[057-9]\\d))\\d{4}","\\d{8}",,,"50012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[16]|2(?:[0-35-9]|4[0-35-9])|9[024-9]|52[25]"]],[,"(\\d{3})(\\d{5})","$1 $2",["244|5(?:[015]|66)"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KY:[,[,,"[3589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"345(?:2(?:22|44)|444|6(?:23|38|40)|7(?:4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}","\\d{7}(?:\\d{3})?",,,"3452221234"],[,,"345(?:32[1-9]|5(?:1[67]|2[5-7]|4[6-8]|76)|9(?:1[67]|2[2-9]|3[689]))\\d{4}","\\d{10}",,,"3453231234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}|345976\\d{4}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"KY",1,"011","1",,,"1",,,,,,[,,"345849\\d{4}","\\d{10}",,,"3458491234"],,"345",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],KZ:[,[,,"(?:33\\d|7\\d{2}|80[09])\\d{7}","\\d{10}"],[,,"33622\\d{5}|7(?:1(?:0(?:[23]\\d|4[023]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[1-79]|4[0-35-9]|59)|4(?:2\\d|3[013-79]|4[0-8]|5[1-79])|5(?:2\\d|3[1-8]|4[1-7]|59)|6(?:[234]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[234]\\d|5[139])|4(?:2\\d|3[1235-9]|59)|5(?:[23]\\d|4[01246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[237]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}","\\d{10}",,,"7123456789"],[,,"7(?:0[012578]|47|6[02-4]|7[15-8]|85)\\d{7}","\\d{10}",,,"7710009998"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"809\\d{7}","\\d{10}",,,"8091234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"751\\d{7}","\\d{10}",,,"7511234567"],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,"NA","NA"],,,[,,"751\\d{7}","\\d{10}",,,"7511234567"],[,,"NA","NA"],,,[,,"NA","NA"]],LA:[,[,,"[2-8]\\d{7,9}","\\d{6,10}"],[,,"(?:2[13]|3(?:0\\d|[14])|[5-7][14]|41|8[1468])\\d{6}","\\d{6,9}",,,"21212862"],[,,"20(?:2[2389]|5[4-689]|7[6-8]|9[15-9])\\d{6}","\\d{10}",,,"2023123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LA",856,"00","0",,,"0",,,,[[,"(20)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["20"],"0$1"],[,"([2-8]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(30)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LB:[,[,,"[13-9]\\d{6,7}","\\d{7,8}"],[,,"(?:[14-6]\\d{2}|7(?:[2-57]\\d|62|8[0-7]|9[04-9])|8[02-9]\\d|9\\d{2})\\d{4}","\\d{7}",,,"1123456"],[,,"(?:3\\d|7(?:[01]\\d|6[013-9]|8[89]|9[1-3])|81\\d)\\d{5}","\\d{7,8}",,,"71123456"],[,,"NA","NA"],[,,"9[01]\\d{6}","\\d{8}",,,"90123456"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"NA","NA"],[,,"NA","NA"],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]|9"],"0$1"],[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9]|8[89]|9[1-3])"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LC:[,[,,"[5789]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"758(?:4(?:30|5[0-9]|6[2-9]|8[0-2])|57[0-2]|638)\\d{4}","\\d{7}(?:\\d{3})?",,,"7584305678"],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2[0-8]))\\d{4}","\\d{10}",,,"7582845678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"LC",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"758",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LI:[,[,,"6\\d{8}|[23789]\\d{6}","\\d{7,9}"],[,,"(?:2(?:01|1[27]|3\\d|6[02-578]|96)|3(?:7[0135-7]|8[048]|9[0269]))\\d{4}","\\d{7}",,,"2345678"],[,,"6(?:51[01]|6(?:0[0-6]|2[016-9]|39))\\d{5}|7(?:[37-9]\\d|42|56)\\d{4}","\\d{7,9}",,,"660234567"],[,,"80(?:02[28]|9\\d{2})\\d{2}","\\d{7}",,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d{2}","\\d{7}",,,"9002222"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LI",423,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[23789]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[56]"]],[,"(69)(7\\d{2})(\\d{4})","$1 $2 $3",["697"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"870(?:28|87)\\d{2}","\\d{7}",,,"8702812"],,,[,,"697(?:42|56|[7-9]\\d)\\d{4}","\\d{9}",,,"697861234"]],LK:[,[,,"[1-9]\\d{8}","\\d{7,9}"],[,,"(?:[189]1|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}","\\d{7,9}",,,"112345678"],[,,"7[0125-8]\\d{7}","\\d{9}",,,"712345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{1})(\\d{6})","$1 $2 $3",["[1-689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LR:[,[,,"2\\d{7,8}|[37-9]\\d{8}|4\\d{6}|5\\d{6,8}","\\d{7,9}"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"(?:330\\d|4[67]|5\\d|77\\d{2}|88\\d{2}|994\\d)\\d{5}|(?:20\\d{3}|33(?:0\\d{2}|2(?:02|5\\d))|555\\d{2}|77[0567]\\d{2}|88[068]\\d{2}|994\\d{2})\\d{4}","\\d{7,9}",,,"770123456"],[,,"NA","NA"],[,,"90[03]\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"332(?:0[02]|5\\d)\\d{4}","\\d{9}",,,"332001234"],"LR",231,"00","0",,,"0",,,,[[,"(2\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2579]"],"0$1"],[,"([4-6])(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[38]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LS:[,[,,"[2568]\\d{7}","\\d{8}"],[,,"2\\d{7}","\\d{8}",,,"22123456"],[,,"[56]\\d{7}","\\d{8}",,,"50123456"],[,,"800[256]\\d{4}","\\d{8}",,,"80021234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LT:[,[,,"[3-9]\\d{7}","\\d{8}"],[,,"(?:3[1478]|4[124-6]|52)\\d{6}","\\d{8}",,,"31234567"],[,,"6\\d{7}","\\d{8}",,,"61234567"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}","\\d{8}",,,"90012345"],[,,"808\\d{5}","\\d{8}",,,"80812345"],[,,"700\\d{5}","\\d{8}",,,"70012345"],[,,"NA","NA"],"LT",370,"00","8",,,"[08]",,,,[[,"([34]\\d)(\\d{6})","$1 $2",["37|4(?:1|5[45]|6[2-4])"],"(8-$1)",,1],[,"([3-6]\\d{2})(\\d{5})","$1 $2",["3[148]|4(?:[24]|6[09])|528|6"],"(8-$1)",,1],[,"([7-9]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(5)(2\\d{2})(\\d{4})","$1 $2 $3",["52[0-79]"],"(8-$1)",,1]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"70[67]\\d{5}","\\d{8}",,,"70712345"],,,[,,"NA","NA"]],LU:[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"],[,,"(?:2[2-9]\\d{2,9}|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}",,,"27123456"],[,,"6[2679][18]\\d{6}","\\d{9}",,,"628123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[015]\\d{5}","\\d{8}",,,"90012345"],[,,"801\\d{5}","\\d{8}",,,"80112345"],[,,"70\\d{6}","\\d{8}",,,"70123456"],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})","\\d{4,10}",,,"20201234"],"LU",352,"00",,,,"(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|8(?:[1-9]|0[2-9])|9(?:[1-9]|0[2-46-9])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["70|80[01]|90[015]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LV:[,[,,"[2689]\\d{7}","\\d{8}"],[,,"6\\d{7}","\\d{8}",,,"63123456"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"81\\d{6}","\\d{8}",,,"81123456"],[,,"NA","NA"],[,,"NA","NA"],"LV",371,"00",,,,,,,,[[,"([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LY:[,[,,"[25679]\\d{8}","\\d{7,9}"],[,,"(?:2[1345]|5[1347]|6[123479]|71)\\d{7}","\\d{7,9}",,,"212345678"],[,,"9[1-6]\\d{7}","\\d{9}",,,"912345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LY",218,"00","0",,,"0",,,,[[,"([25679]\\d)(\\d{7})","$1-$2",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MA:[,[,,"[5689]\\d{8}","\\d{9}"],[,,"5(?:2(?:(?:[015-7]\\d|2[02-9]|3[2-57]|4[2-8]|8[235-7])\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}",,,"520123456"],[,,"6(?:0[0-8]|[12-79]\\d|8[017])\\d{6}","\\d{9}",,,"650123456"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"89\\d{7}","\\d{9}",,,"891234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MA",212,"00","0",,,"0",,,,[[,"([56]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|6"],"0$1"],[,"([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9])|892","5(?:2(?:[2-48]|90)|3(?:[5-79]|80))|892"],"0$1"],[,"(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"],"0$1"],[,"(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"],"0$1"]],,[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MC:[,[,,"[4689]\\d{7,8}","\\d{8,9}"],[,,"870\\d{5}|9[2-47-9]\\d{6}","\\d{8}",,,"99123456"],[,,"6\\d{8}|4(?:4\\d|5[1-9])\\d{5}","\\d{8,9}",,,"612345678"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MC",377,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1"]],,[,,"NA","NA"],,,[,,"8\\d{7}","\\d{8}"],[,,"NA","NA"],,,[,,"NA","NA"]],MD:[,[,,"[235-9]\\d{7}","\\d{8}"],[,,"(?:2(?:1[0569]|2\\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\\d{5}","\\d{8}",,,"22212345"],[,,"(?:562\\d|6(?:[089]\\d{2}|[12][01]\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}",,,"62112345"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[056]\\d{5}","\\d{8}",,,"90012345"],[,,"808\\d{5}","\\d{8}",,,"80812345"],[,,"NA","NA"],[,,"3[08]\\d{6}","\\d{8}",,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-79]|[5-7]"],"0$1"],[,"([89]\\d{2})(\\d{5})","$1 $2",["[89]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"8(?:03|14)\\d{5}","\\d{8}",,,"80312345"],,,[,,"NA","NA"]],ME:[,[,,"[2-9]\\d{7,8}","\\d{6,9}"],[,,"(?:20[2-8]|3(?:0[2-7]|[12][35-7]|3[4-7])|4(?:0[2367]|1[267])|5(?:0[467]|1[267]|2[367]))\\d{5}","\\d{6,8}",,,"30234567"],[,,"6(?:00\\d|32\\d|[89]\\d{2}|61\\d|7(?:[0-8]\\d|9(?:[3-9]|[0-2]\\d)))\\d{4}","\\d{8,9}",,,"67622901"],[,,"80\\d{6}","\\d{8}",,,"80080002"],[,,"(?:9(?:4[1568]|5[178]))\\d{5}","\\d{8}",,,"94515151"],[,,"NA","NA"],[,,"NA","NA"],[,,"78[1-9]\\d{5}","\\d{8}",,,"78108780"],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]","[2-57-9]|6(?:[03689]|7(?:[0-8]|9[3-9]))"],"0$1"],[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"77\\d{6}","\\d{8}",,,"77273012"],,,[,,"NA","NA"]],MF:[,[,,"[56]\\d{8}","\\d{9}"],[,,"590(?:[02][79]|13|5[0-268]|[78]7)\\d{4}","\\d{9}",,,"590271234"],[,,"690(?:0[0-7]|[1-9]\\d)\\d{4}","\\d{9}",,,"690301234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MF",590,"00","0",,,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MG:[,[,,"[23]\\d{8}","\\d{7,9}"],[,,"20(?:2\\d{2}|4[47]\\d|5[3467]\\d|6[279]\\d|7(?:2[29]|[35]\\d)|8[268]\\d|9[245]\\d)\\d{4}","\\d{7,9}",,,"202123456"],[,,"3[2-49]\\d{7}","\\d{9}",,,"321234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"22\\d{7}","\\d{9}",,,"221234567"],"MG",261,"00","0",,,"0",,,,[[,"([23]\\d)(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MH:[,[,,"[2-6]\\d{6}","\\d{7}"],[,,"(?:247|528|625)\\d{4}","\\d{7}",,,"2471234"],[,,"(?:235|329|45[56]|545)\\d{4}","\\d{7}",,,"2351234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"635\\d{4}","\\d{7}",,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MK:[,[,,"[2-578]\\d{7}","\\d{8}"],[,,"(?:2(?:[23]\\d|5[124578]|6[01])|3(?:1[3-6]|[23][2-6]|4[2356])|4(?:[23][2-6]|4[3-6]|5[256]|6[25-8]|7[24-6]|8[4-6]))\\d{5}","\\d{6,8}",,,"22212345"],[,,"7(?:[0-25-8]\\d{2}|32\\d|421)\\d{4}","\\d{8}",,,"72345678"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"5[02-9]\\d{6}","\\d{8}",,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}","\\d{8}",,,"80123456"],[,,"NA","NA"],[,,"NA","NA"],"MK",389,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([347]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"([58]\\d{2})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ML:[,[,,"[246-9]\\d{7}","\\d{8}"],[,,"(?:2(?:0(?:2\\d|7[0-8])|1(?:2[5-7]|[3-689]\\d))|44[1239]\\d)\\d{4}","\\d{8}",,,"20212345"],[,,"(?:2(?:079|17\\d)|[679]\\d{3}|8[239]\\d{2})\\d{4}","\\d{8}",,,"65012345"],[,,"80\\d{6}","\\d{8}",,,"80012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ML",223,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]],[,"(\\d{4})","$1",["67|74"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]]],[,,"NA","NA"],,,[,,"80\\d{6}","\\d{8}",,,"80012345"],[,,"NA","NA"],,,[,,"NA","NA"]],MM:[,[,,"[14578]\\d{5,7}|[26]\\d{5,8}|9(?:2\\d{0,2}|[58]|3\\d|4\\d{1,2}|6\\d?|[79]\\d{0,2})\\d{6}","\\d{5,10}"],[,,"1(?:2\\d{1,2}|[3-5]\\d|6\\d?|[89][0-6]\\d)\\d{4}|2(?:2(?:000\\d{3}|\\d{4})|3\\d{4}|4(?:0\\d{5}|\\d{4})|5(?:1\\d{3,6}|[02-9]\\d{3,5})|[6-9]\\d{4})|4(?:2[245-8]|[346][2-6]|5[3-5])\\d{4}|5(?:2(?:20?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\\d{4}|6(?:0[23]|1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7(?:[2367]|4\\d|5\\d?|8[145]\\d)|8[245]|9[24])\\d{4}|7(?:[04][24-8]|[15][2-7]|22|3[2-4])\\d{4}|8(?:1(?:2\\d{1,2}|[3-689]\\d)|2(?:2\\d|3(?:\\d|20)|[4-8]\\d)|3[24]\\d|4[24-7]\\d|5[245]\\d|6[23]\\d)\\d{3}","\\d{5,9}",,,"1234567"],[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2}|6[0-5]\\d)|3[0-36]\\d|4(?:0[0-4]\\d|[1379]\\d|2\\d{2}|4[0-589]\\d|5\\d{2}|88)|5[0-6]|61?\\d|7(?:3\\d|[789]\\d{2})|8\\d|9(?:1\\d|[67]\\d{2}|[089]))\\d{5}","\\d{7,10}",,,"92123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"1333\\d{4}","\\d{8}",,,"13331234"],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["1|2[245]"],"0$1"],[,"(2)(\\d{4})(\\d{4})","$1 $2 $3",["251"],"0$1"],[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["67|81"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3,4})","$1 $2 $3",["[4-8]"],"0$1"],[,"(9)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(9)([34]\\d{4})(\\d{4})","$1 $2 $3",["9(?:3[0-36]|4[0-57-9])"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92[56]"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["93"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}","\\d{6,10}"],[,,"[12](?:1\\d|2(?:[1-3]\\d?|7\\d)|3[2-8]\\d{1,2}|4[2-68]\\d{1,2}|5[1-4689]\\d{1,2})\\d{5}|5[0568]\\d{6}","\\d{6,10}",,,"50123456"],[,,"(?:8(?:[05689]\\d|3[01])|9[013-9]\\d)\\d{5}","\\d{8}",,,"88123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"7[05-8]\\d{6}","\\d{8}",,,"75123456"],"MN",976,"001","0",,,"0",,,,[[,"([12]\\d)(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"([12]2\\d)(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"([12]\\d{3})(\\d{5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)2"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"],"$1"],[,"([12]\\d{4})(\\d{4,5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)[4-9]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MO:[,[,,"[268]\\d{7}","\\d{8}"],[,,"(?:28[2-57-9]|8[2-57-9]\\d)\\d{5}","\\d{8}",,,"28212345"],[,,"6(?:[2356]\\d|8[158])\\d{5}","\\d{8}",,,"66123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MO",853,"00",,,,,,,,[[,"([268]\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MP:[,[,,"[5689]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[589]|8[3-9]8|989)\\d{4}","\\d{7}(?:\\d{3})?",,,"6702345678"],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[589]|8[3-9]8|989)\\d{4}","\\d{7}(?:\\d{3})?",,,"6702345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"MP",1,"011","1",,,"1",,,1,,,[,,"NA","NA"],,"670",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MQ:[,[,,"[56]\\d{8}","\\d{9}"],[,,"596(?:0[2-5]|[12]0|3[05-9]|4[024-8]|[5-7]\\d|89|9[4-8])\\d{4}","\\d{9}",,,"596301234"],[,,"696(?:[0-479]\\d|5[01]|8[0-689])\\d{4}","\\d{9}",,,"696201234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MR:[,[,,"[2-48]\\d{7}","\\d{8}"],[,,"25[08]\\d{5}|35\\d{6}|45[1-7]\\d{5}","\\d{8}",,,"35123456"],[,,"[234][0-46-9]\\d{6}","\\d{8}",,,"22123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MR",222,"00",,,,,,,,[[,"([2-48]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MS:[,[,,"[5689]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"664491\\d{4}","\\d{7}(?:\\d{3})?",,,"6644912345"],[,,"66449[2-6]\\d{4}","\\d{10}",,,"6644923456"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"MS",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"664",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MT:[,[,,"[2357-9]\\d{7}","\\d{8}"],[,,"2(?:0(?:1[0-6]|3[1-4]|[69]\\d)|[1-357]\\d{2})\\d{4}","\\d{8}",,,"21001234"],[,,"(?:7(?:210|[79]\\d{2})|9(?:2(?:1[01]|31)|696|8(?:1[1-3]|89|97)|9\\d{2}))\\d{4}","\\d{8}",,,"96961234"],[,,"800[3467]\\d{4}","\\d{8}",,,"80071234"],[,,"5(?:0(?:0(?:37|43)|6\\d{2}|70\\d|9[0168])|[12]\\d0[1-5])\\d{3}","\\d{8}",,,"50037123"],[,,"NA","NA"],[,,"NA","NA"],[,,"3550\\d{4}","\\d{8}",,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"7117\\d{4}","\\d{8}",,,"71171234"],,,[,,"NA","NA"],[,,"501\\d{5}","\\d{8}",,,"50112345"],,,[,,"NA","NA"]],MU:[,[,,"[2-9]\\d{6,7}","\\d{7,8}"],[,,"(?:2(?:[03478]\\d|1[0-7]|6[1-69])|4(?:[013568]\\d|2[4-7])|5(?:44\\d|471)|6\\d{2}|8(?:14|3[129]))\\d{4}","\\d{7,8}",,,"2012345"],[,,"5(?:2[59]\\d|4(?:2[1-389]|4\\d|7[1-9]|9\\d)|7\\d{2}|8(?:[0-2568]\\d|7[15-8])|9[0-8]\\d)\\d{4}","\\d{8}",,,"52512345"],[,,"80[012]\\d{4}","\\d{7}",,,"8001234"],[,,"30\\d{5}","\\d{7}",,,"3012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"3(?:20|9\\d)\\d{4}","\\d{7}",,,"3201234"],"MU",230,"0(?:0|[2-7]0|33)",,,,,,"020",,[[,"([2-46-9]\\d{2})(\\d{4})","$1 $2",["[2-46-9]"]],[,"(5\\d{3})(\\d{4})","$1 $2",["5"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MV:[,[,,"[3467]\\d{6}|9(?:00\\d{7}|\\d{6})","\\d{7,10}"],[,,"(?:3(?:0[01]|3[0-59])|6(?:[567][02468]|8[024689]|90))\\d{4}","\\d{7}",,,"6701234"],[,,"(?:46[46]|7[3-9]\\d|9[15-9]\\d)\\d{4}","\\d{7}",,,"7712345"],[,,"NA","NA"],[,,"900\\d{7}","\\d{10}",,,"9001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9(?:[1-9]|0[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["900"]]],,[,,"781\\d{4}","\\d{7}",,,"7812345"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MW:[,[,,"(?:1(?:\\d{2})?|[2789]\\d{2})\\d{6}","\\d{7,9}"],[,,"(?:1[2-9]|21\\d{2})\\d{5}","\\d{7,9}",,,"1234567"],[,,"(?:111|77\\d|88\\d|99\\d)\\d{6}","\\d{9}",,,"991234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1789]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MX:[,[,,"[1-9]\\d{9,10}","\\d{7,11}"],[,,"(?:33|55|81)\\d{8}|(?:2(?:0[01]|2[2-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[234][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7}","\\d{7,10}",,,"2221234567"],[,,"1(?:(?:33|55|81)\\d{8}|(?:2(?:2[2-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7})","\\d{11}",,,"12221234567"],[,,"8(?:00|88)\\d{7}","\\d{10}",,,"8001234567"],[,,"900\\d{7}","\\d{10}",,,"9001234567"],[,,"300\\d{7}","\\d{10}",,,"3001234567"],[,,"500\\d{7}","\\d{10}",,,"5001234567"],[,,"NA","NA"],"MX",52,"0[09]","01",,,"0[12]|04[45](\\d{10})","1$1",,,[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","044 $2 $3 $4",["1(?:33|55|81)"],"$1",,1],[,"(1)(\\d{3})(\\d{3})(\\d{4})","044 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"],"$1",,1]],[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3 $4",["1(?:33|55|81)"]],[,"(1)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"]]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],MY:[,[,,"[13-9]\\d{7,9}","\\d{6,10}"],[,,"(?:3[2-9]\\d|[4-9][2-9])\\d{6}","\\d{6,9}",,,"323456789"],[,,"1(?:1[1-5]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}","\\d{9,10}",,,"123456789"],[,,"1[378]00\\d{6}","\\d{10}",,,"1300123456"],[,,"1600\\d{6}","\\d{10}",,,"1600123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"154\\d{7}","\\d{10}",,,"1541234567"],"MY",60,"00","0",,,"0",,,,[[,"([4-79])(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(3)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"([18]\\d)(\\d{3})(\\d{3,4})","$1-$2 $3",["1[02-46-9][1-9]|8"],"0$1"],[,"(1)([36-8]00)(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]0"]],[,"(11)(\\d{4})(\\d{4})","$1-$2 $3",["11"],"0$1"],[,"(15[49])(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MZ:[,[,,"[28]\\d{7,8}","\\d{8,9}"],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}","\\d{8}",,,"21123456"],[,,"8[23467]\\d{7}","\\d{9}",,,"821234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MZ",258,"00",,,,,,,,[[,"([28]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-7]"]],[,"(80\\d)(\\d{3})(\\d{3})","$1 $2 $3",["80"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NA:[,[,,"[68]\\d{7,8}","\\d{8,9}"],[,,"6(?:1(?:17|2(?:[0189]\\d|[2-6]|7\\d?)|3(?:[01378]|2\\d)|4(?:[024]|10?|3[15]?)|69|7[014])|2(?:17|5(?:[0-36-8]|4\\d?)|69|70)|3(?:17|2(?:[0237]\\d?|[14-689])|34|6[289]|7[01]|81)|4(?:17|2(?:[012]|7?)|4(?:[06]|1\\d?)|5(?:[01357]|[25]\\d?)|69|7[01])|5(?:17|2(?:[0459]|[23678]\\d?)|69|7[01])|6(?:17|2(?:5|6\\d?)|38|42|69|7[01])|7(?:17|2(?:[569]|[234]\\d?)|3(?:0\\d?|[13])|69|7[01]))\\d{4}","\\d{8,9}",,,"61221234"],[,,"(?:60|8[125])\\d{7}","\\d{9}",,,"811234567"],[,,"NA","NA"],[,,"8701\\d{5}","\\d{9}",,,"870123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"8(?:3\\d{2}|86)\\d{5}","\\d{8,9}",,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(8\\d)(\\d{3})(\\d{4})","$1 $2 $3",["8[1235]"],"0$1"],[,"(6\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(88)(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(870)(\\d{3})(\\d{3})","$1 $2 $3",["870"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NC:[,[,,"[2-57-9]\\d{5}","\\d{6}"],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}","\\d{6}",,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}","\\d{6}",,,"751234"],[,,"NA","NA"],[,,"36\\d{4}","\\d{6}",,,"366711"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NC",687,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-46-9]|5[0-4]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NE:[,[,,"[0289]\\d{7}","\\d{8}"],[,,"2(?:0(?:20|3[1-7]|4[134]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}","\\d{8}",,,"20201234"],[,,"(?:8[089]|9\\d)\\d{6}","\\d{8}",,,"93123456"],[,,"08\\d{6}","\\d{8}",,,"08123456"],[,,"09\\d{6}","\\d{8}",,,"09123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[289]|09"]],[,"(08)(\\d{3})(\\d{3})","$1 $2 $3",["08"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],NF:[,[,,"[13]\\d{5}","\\d{5,6}"],[,,"(?:1(?:06|17|28|39)|3[012]\\d)\\d{3}","\\d{5,6}",,,"106609"],[,,"3[58]\\d{4}","\\d{5,6}",,,"381234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NF",672,"00",,,,,,,,[[,"(\\d{2})(\\d{4})","$1 $2",["1"]],[,"(\\d)(\\d{5})","$1 $2",["3"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NG:[,[,,"[1-6]\\d{5,8}|9\\d{5,9}|[78]\\d{5,13}","\\d{5,14}"],[,,"[12]\\d{6,7}|9(?:0[3-9]|[1-9]\\d)\\d{5}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}","\\d{5,9}",,,"12345678"],[,,"(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70[1-689]\\d|8(?:0(?:1[01]|[2-9]\\d)|1(?:[0-8]\\d|9[01]))|90[23589]\\d)\\d{6}","\\d{8,10}",,,"8021234567"],[,,"800\\d{7,11}","\\d{10,14}",,,"80017591759"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NG",234,"009","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[23589]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:[1-79]|0[1-9])|8[2-9]"],"0$1"],[,"([78]00)(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]00"],"0$1"],[,"([78]00)(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]00"],"0$1"],[,"(78)(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"700\\d{7,11}","\\d{10,14}",,,"7001234567"],,,[,,"NA","NA"]],NI:[,[,,"[12578]\\d{7}","\\d{8}"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"5(?:5[0-7]\\d{5}|[78]\\d{6})|7[5-8]\\d{6}|8\\d{7}","\\d{8}",,,"81234567"],[,,"1800\\d{4}","\\d{8}",,,"18001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NL:[,[,,"1\\d{4,8}|[2-7]\\d{8}|[89]\\d{6,9}","\\d{5,10}"],[,,"(?:1[0135-8]|2[02-69]|3[0-68]|4[0135-9]|[57]\\d|8[478])\\d{7}","\\d{9}",,,"101234567"],[,,"6[1-58]\\d{7}","\\d{9}",,,"612345678"],[,,"800\\d{4,7}","\\d{7,10}",,,"8001234"],[,,"90[069]\\d{4,7}","\\d{7,10}",,,"9061234"],[,,"NA","NA"],[,,"NA","NA"],[,,"85\\d{7}","\\d{9}",,,"851234567"],"NL",31,"00","0",,,"0",,,,[[,"([1-578]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7|8[4578]"],"0$1"],[,"([1-5]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(6)(\\d{8})","$1 $2",["6[0-57-9]"],"0$1"],[,"(66)(\\d{7})","$1 $2",["66"],"0$1"],[,"(14)(\\d{3,4})","$1 $2",["14"],"$1"],[,"([89]0\\d)(\\d{4,7})","$1 $2",["80|9"],"0$1"]],,[,,"66\\d{7}","\\d{9}",,,"662345678"],,,[,,"14\\d{3,4}","\\d{5,6}"],[,,"140(?:1(?:[035]|[16-8]\\d)|2(?:[0346]|[259]\\d)|3(?:[03568]|[124]\\d)|4(?:[0356]|[17-9]\\d)|5(?:[0358]|[124679]\\d)|7\\d|8[458])","\\d{5,6}",,,"14020"],,,[,,"NA","NA"]],NO:[,[,,"0\\d{4}|[2-9]\\d{7}","\\d{5}(?:\\d{3})?"],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}","\\d{8}",,,"21234567"],[,,"(?:4[015-8]|5[89]|87|9\\d)\\d{6}","\\d{8}",,,"40612345"],[,,"80[01]\\d{5}","\\d{8}",,,"80012345"],[,,"82[09]\\d{5}","\\d{8}",,,"82012345"],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}","\\d{8}",,,"81021234"],[,,"880\\d{5}","\\d{8}",,,"88012345"],[,,"85[0-5]\\d{5}","\\d{8}",,,"85012345"],"NO",47,"00",,,,,,,,[[,"([489]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[489]"]],[,"([235-7]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,"NA","NA"],1,,[,,"NA","NA"],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}","\\d{5}(?:\\d{3})?",,,"01234"],1,,[,,"81[23]\\d{5}","\\d{8}",,,"81212345"]],NP:[,[,,"[1-8]\\d{7}|9(?:[1-69]\\d{6,8}|7[2-6]\\d{5,7}|8\\d{8})","\\d{6,10}"],[,,"(?:1[0-6]\\d|2[13-79][2-6]|3[135-8][2-6]|4[146-9][2-6]|5[135-7][2-6]|6[13-9][2-6]|7[15-9][2-6]|8[1-46-9][2-6]|9[1-79][2-6])\\d{5}","\\d{6,8}",,,"14567890"],[,,"9(?:6[013]|7[245]|8[0-24-6])\\d{7}","\\d{10}",,,"9841234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NP",977,"00","0",,,"0",,,,[[,"(1)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"],"0$1"],[,"(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"],"$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NR:[,[,,"[458]\\d{6}","\\d{7}"],[,,"(?:444|888)\\d{4}","\\d{7}",,,"4441234"],[,,"55[5-9]\\d{4}","\\d{7}",,,"5551234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NU:[,[,,"[1-5]\\d{3}","\\d{4}"],[,,"[34]\\d{3}","\\d{4}",,,"4002"],[,,"[125]\\d{3}","\\d{4}",,,"1234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"NU",683,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],NZ:[,[,,"6[235-9]\\d{6}|[2-57-9]\\d{7,10}","\\d{7,11}"],[,,"(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}|24099\\d{3}","\\d{7,8}",,,"32345678"],[,,"2(?:[028]\\d{7,8}|1(?:[03]\\d{5,7}|[12457]\\d{5,6}|[689]\\d{5})|[79]\\d{7})","\\d{8,10}",,,"211234567"],[,,"508\\d{6,7}|80\\d{6,8}","\\d{8,10}",,,"800123456"],[,,"90\\d{7,9}","\\d{9,11}",,,"900123456"],[,,"NA","NA"],[,,"70\\d{7}","\\d{9}",,,"701234567"],[,,"NA","NA"],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"([34679])(\\d{3})(\\d{4})","$1-$2 $3",["[346]|7[2-57-9]|9[1-9]"],"0$1"],[,"(24099)(\\d{3})","$1 $2",["240","2409","24099"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"],"0$1"],[,"(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|5|[89]0"],"0$1"]],,[,,"[28]6\\d{6,7}","\\d{8,9}",,,"26123456"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],OM:[,[,,"(?:5|[279]\\d)\\d{6}|800\\d{5,6}","\\d{7,9}"],[,,"2[2-6]\\d{6}","\\d{8}",,,"23123456"],[,,"7[19]\\d{6}|9(?:0[1-9]|[1-9]\\d)\\d{5}","\\d{8}",,,"92123456"],[,,"8007\\d{4,5}|500\\d{4}","\\d{7,9}",,,"80071234"],[,,"900\\d{5}","\\d{8}",,,"90012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"OM",968,"00",,,,,,,,[[,"(2\\d)(\\d{6})","$1 $2",["2"]],[,"([79]\\d{3})(\\d{4})","$1 $2",["[79]"]],[,"([58]00)(\\d{4,6})","$1 $2",["[58]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PA:[,[,,"[1-9]\\d{6,7}","\\d{7,8}"],[,,"(?:1(?:0[0-8]|1[49]|2[37]|3[0137]|4[147]|5[05]|6[58]|7[0167]|8[58]|9[139])|2(?:[0235679]\\d|1[0-7]|4[04-9]|8[028])|3(?:[09]\\d|1[014-7]|2[0-3]|3[03]|4[03-57]|55|6[068]|7[06-8]|8[06-9])|4(?:3[013-69]|4\\d|7[0-589])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-267]|3[06]|[469]0|5[06-9]|7[0-24-79]|8[7-9])|8(?:09|[34]\\d|5[0134]|8[02])|9(?:0[6-9]|1[016-8]|2[036-8]|3[3679]|40|5[0489]|6[06-9]|7[046-9]|8[36-8]|9[1-9]))\\d{4}","\\d{7}",,,"2001234"],[,,"(?:1[16]1|21[89]|8(?:1[01]|7[23]))\\d{4}|6(?:[024-9]\\d|1[0-5]|3[0-24-9])\\d{5}","\\d{7,8}",,,"60012345"],[,,"80[09]\\d{4}","\\d{7}",,,"8001234"],[,,"(?:779|8(?:55|60|7[78])|9(?:00|81))\\d{4}","\\d{7}",,,"8601234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["6"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PE:[,[,,"[14-9]\\d{7,8}","\\d{6,9}"],[,,"(?:1\\d|4[1-4]|5[1-46]|6[1-7]|7[2-46]|8[2-4])\\d{6}","\\d{6,8}",,,"11234567"],[,,"9\\d{8}","\\d{9}",,,"912345678"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"805\\d{5}","\\d{8}",,,"80512345"],[,,"801\\d{5}","\\d{8}",,,"80112345"],[,,"80[24]\\d{5}","\\d{8}",,,"80212345"],[,,"NA","NA"],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(1)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"([4-8]\\d)(\\d{6})","$1 $2",["[4-7]|8[2-4]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PF:[,[,,"4\\d{5,7}|8\\d{7}","\\d{6}(?:\\d{2})?"],[,,"4(?:[09][45689]\\d|4)\\d{4}","\\d{6}(?:\\d{2})?",,,"40412345"],[,,"8[79]\\d{6}","\\d{8}",,,"87123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[09]|8[79]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]]],,[,,"NA","NA"],,,[,,"44\\d{4}","\\d{6}",,,"441234"],[,,"NA","NA"],,,[,,"NA","NA"]],PG:[,[,,"[1-9]\\d{6,7}","\\d{7,8}"],[,,"(?:3[0-2]\\d|4[25]\\d|5[34]\\d|64[1-9]|77(?:[0-24]\\d|30)|85[02-46-9]|9[78]\\d)\\d{4}","\\d{7}",,,"3123456"],[,,"(?:20150|68\\d{2}|7(?:[0-689]\\d|75)\\d{2})\\d{3}","\\d{7,8}",,,"6812345"],[,,"180\\d{4}","\\d{7}",,,"1801234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"275\\d{4}","\\d{7}",,,"2751234"],"PG",675,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-689]|27"]],[,"(\\d{4})(\\d{4})","$1 $2",["20|7"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PH:[,[,,"2\\d{5,7}|[3-9]\\d{7,9}|1800\\d{7,9}","\\d{5,13}"],[,,"2\\d{5}(?:\\d{2})?|(?:3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}|88(?:22\\d{6}|42\\d{4})","\\d{5,10}",,,"21234567"],[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[236-9]|50|7[34-79]|89|9[4-9]))\\d{7}","\\d{10}",,,"9051234567"],[,,"1800\\d{7,9}","\\d{11,13}",,,"180012345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"PH",63,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(2)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|5(?:22|44)|642|8(?:62|8[245])","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"([3-8]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[3-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["81|9"],"0$1"],[,"(1800)(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(1800)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PK:[,[,,"1\\d{8}|[2-8]\\d{5,11}|9(?:[013-9]\\d{4,9}|2\\d(?:111\\d{6}|\\d{3,7}))","\\d{6,12}"],[,,"(?:21|42)[2-9]\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}|58[126]\\d{7}","\\d{6,10}",,,"2123456789"],[,,"3(?:0\\d|1[0-6]|2[0-5]|3[0-7]|4[0-8]|55|64)\\d{7}","\\d{10}",,,"3012345678"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"900\\d{5}","\\d{8}",,,"90012345"],[,,"NA","NA"],[,,"122\\d{6}","\\d{9}",,,"122044444"],[,,"NA","NA"],"PK",92,"00","0",,,"0",,,,[[,"(\\d{2})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)1","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)11","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)111"],"(0$1)"],[,"(\\d{3})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[349]|45|54|60|72|8[2-5]|9[2-9]","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d1","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d11","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d111"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{3})(\\d{6,7})","$1 $2",["2[349]|45|54|60|72|8[2-5]|9[2-9]","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d[2-9]"],"(0$1)"],[,"(3\\d{2})(\\d{7})","$1 $2",["3"],"0$1"],[,"([15]\\d{3})(\\d{5,6})","$1 $2",["58[12]|1"],"(0$1)"],[,"(586\\d{2})(\\d{5})","$1 $2",["586"],"(0$1)"],[,"([89]00)(\\d{3})(\\d{2})","$1 $2 $3",["[89]00"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:[1-8]|0[468])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}","\\d{11,12}",,,"21111825888"],,,[,,"NA","NA"]],PL:[,[,,"[12]\\d{6,8}|[3-57-9]\\d{8}|6\\d{5,8}","\\d{6,9}"],[,,"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])\\d{7}|[12]2\\d{5}","\\d{6,9}",,,"123456789"],[,,"(?:5[0137]|6[069]|7[2389]|88)\\d{7}","\\d{9}",,,"512345678"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"70\\d{7}","\\d{9}",,,"701234567"],[,,"801\\d{6}","\\d{9}",,,"801234567"],[,,"NA","NA"],[,,"39\\d{7}","\\d{9}",,,"391234567"],"PL",48,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[14]|2[0-57-9]|3[2-4]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]],[,"(\\d{2})(\\d{1})(\\d{4})","$1 $2 $3",["[12]2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["26|39|5[0137]|6[0469]|7[02389]|8[08]"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})","$1 $2",["64"]]],,[,,"64\\d{4,7}","\\d{6,9}",,,"641234567"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PM:[,[,,"[45]\\d{5}","\\d{6}"],[,,"41\\d{4}","\\d{6}",,,"411234"],[,,"55\\d{4}","\\d{6}",,,"551234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"PM",508,"00","0",,,"0",,,,[[,"([45]\\d)(\\d{2})(\\d{2})","$1 $2 $3",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PR:[,[,,"[5789]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"(?:787|939)[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"7872345678"],[,,"(?:787|939)[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"7872345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"PR",1,"011","1",,,"1",,,1,,,[,,"NA","NA"],,"787|939",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PS:[,[,,"[24589]\\d{7,8}|1(?:[78]\\d{8}|[49]\\d{2,3})","\\d{4,10}"],[,,"(?:22[234789]|42[45]|82[01458]|92[369])\\d{5}","\\d{7,8}",,,"22234567"],[,,"5[69]\\d{7}","\\d{9}",,,"599123456"],[,,"1800\\d{6}","\\d{10}",,,"1800123456"],[,,"1(?:4|9\\d)\\d{2}","\\d{4,5}",,,"19123"],[,,"1700\\d{6}","\\d{10}",,,"1700123456"],[,,"NA","NA"],[,,"NA","NA"],"PS",970,"00","0",,,"0",,,,[[,"([2489])(2\\d{2})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(5[69]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(1[78]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[78]"],"$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PT:[,[,,"[2-46-9]\\d{8}","\\d{9}"],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}","\\d{9}",,,"212345678"],[,,"9(?:[1236]\\d{2}|480)\\d{5}","\\d{9}",,,"912345678"],[,,"80[02]\\d{6}","\\d{9}",,,"800123456"],[,,"6(?:0[178]|4[68])\\d{6}|76(?:0[1-57]|1[2-47]|2[237])\\d{5}","\\d{9}",,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}","\\d{9}",,,"808123456"],[,,"884[0-4689]\\d{5}","\\d{9}",,,"884123456"],[,,"30\\d{7}","\\d{9}",,,"301234567"],"PT",351,"00",,,,,,,,[[,"(2\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"([2-46-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[3-9]|[346-9]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"7(?:0(?:7\\d|8[17]))\\d{5}","\\d{9}",,,"707123456"],,,[,,"600\\d{6}","\\d{9}",,,"600110000"]],PW:[,[,,"[2-8]\\d{6}","\\d{7}"],[,,"2552255|(?:277|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76))\\d{4}","\\d{7}",,,"2771234"],[,,"(?:6[234689]0|77[45789])\\d{4}","\\d{7}",,,"6201234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],PY:[,[,,"5[0-5]\\d{4,7}|[2-46-9]\\d{5,8}","\\d{5,9}"],[,,"(?:[26]1|3[289]|4[124678]|7[123]|8[1236])\\d{5,7}|(?:2(?:2[4568]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51)|4(?:18|2[45]|3[12]|5[13]|64|71|9[1-47])|5(?:[1-4]\\d|5[0234])|6(?:3[1-3]|44|7[1-4678])|7(?:17|4[0-4]|6[1-578]|75|8[0-8])|858)\\d{5,6}","\\d{5,9}",,,"212345678"],[,,"9(?:6[12]|[78][1-6]|9[1-5])\\d{6}","\\d{9}",,,"961456789"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"8700[0-4]\\d{4}","\\d{9}",,,"870012345"],"PY",595,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["(?:[26]1|3[289]|4[124678]|7[123]|8[1236])"],"($1)"],[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["9[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8700"]],[,"(\\d{3})(\\d{4,6})","$1 $2",["[2-8][1-9]"],"($1)"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"[2-9]0\\d{4,7}","\\d{6,9}",,,"201234567"],,,[,,"NA","NA"]],QA:[,[,,"[2-8]\\d{6,7}","\\d{7,8}"],[,,"4[04]\\d{6}","\\d{7,8}",,,"44123456"],[,,"[3567]\\d{7}","\\d{7,8}",,,"33123456"],[,,"800\\d{4}","\\d{7,8}",,,"8001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"QA",974,"00",,,,,,,,[[,"([28]\\d{2})(\\d{4})","$1 $2",["[28]"]],[,"([3-7]\\d{3})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}","\\d{7}",,,"2123456"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],RE:[,[,,"[268]\\d{8}","\\d{9}"],[,,"262\\d{6}","\\d{9}",,,"262161234"],[,,"6(?:9[23]|47)\\d{6}","\\d{9}",,,"692123456"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"89[1-37-9]\\d{6}","\\d{9}",,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}","\\d{9}",,,"810123456"],[,,"NA","NA"],[,,"NA","NA"],"RE",262,"00","0",,,"0",,,,[[,"([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,"NA","NA"],1,"262|6[49]|8",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],RO:[,[,,"2\\d{5,8}|[37-9]\\d{8}","\\d{6,9}"],[,,"2(?:1(?:\\d{7}|9\\d{3})|[3-6](?:\\d{7}|\\d9\\d{2}))|3[13-6]\\d{7}","\\d{6,9}",,,"211234567"],[,,"7(?:[0-8]\\d{2}|99\\d)\\d{5}","\\d{9}",,,"712345678"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"90[036]\\d{6}","\\d{9}",,,"900123456"],[,,"801\\d{6}","\\d{9}",,,"801123456"],[,,"802\\d{6}","\\d{9}",,,"802123456"],[,,"NA","NA"],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(21)(\\d{4})","$1 $2",["21"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23][3-7]|[7-9]"],"0$1"],[,"(2\\d{2})(\\d{3})","$1 $2",["2[3-6]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"37\\d{7}","\\d{9}",,,"372123456"],,,[,,"NA","NA"]],RS:[,[,,"[126-9]\\d{4,11}|3(?:[0-79]\\d{3,10}|8[2-9]\\d{2,9})","\\d{5,12}"],[,,"(?:1(?:[02-9][2-9]|1[1-9])\\d|2(?:[0-24-7][2-9]\\d|[389](?:0[2-9]|[2-9]\\d))|3(?:[0-8][2-9]\\d|9(?:[2-9]\\d|0[2-9])))\\d{3,8}","\\d{5,12}",,,"10234567"],[,,"6(?:[0-689]|7\\d)\\d{6,7}","\\d{8,10}",,,"601234567"],[,,"800\\d{3,9}","\\d{6,12}",,,"80012345"],[,,"(?:90[0169]|78\\d)\\d{3,7}","\\d{6,12}",,,"90012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"RS",381,"00","0",,,"0",,,,[[,"([23]\\d{2})(\\d{4,9})","$1 $2",["(?:2[389]|39)0"],"0$1"],[,"([1-3]\\d)(\\d{5,10})","$1 $2",["1|2(?:[0-24-7]|[389][1-9])|3(?:[0-8]|9[1-9])"],"0$1"],[,"(6\\d)(\\d{6,8})","$1 $2",["6"],"0$1"],[,"([89]\\d{2})(\\d{3,9})","$1 $2",["[89]"],"0$1"],[,"(7[26])(\\d{4,9})","$1 $2",["7[26]"],"0$1"],[,"(7[08]\\d)(\\d{4,9})","$1 $2",["7[08]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"7[06]\\d{4,10}","\\d{6,12}",,,"700123456"],,,[,,"NA","NA"]],RU:[,[,,"[3489]\\d{9}","\\d{10}"],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}","\\d{10}",,,"3011234567"],[,,"9\\d{9}","\\d{10}",,,"9123456789"],[,,"80[04]\\d{7}","\\d{10}",,,"8001234567"],[,,"80[39]\\d{7}","\\d{10}",,,"8091234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[1-79]"],"$1",,1],[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[34689]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[34689]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],RW:[,[,,"[027-9]\\d{7,8}","\\d{8,9}"],[,,"2[258]\\d{7}|06\\d{6}","\\d{8,9}",,,"250123456"],[,,"7[238]\\d{7}","\\d{9}",,,"720123456"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"900\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"RW",250,"00","0",,,"0",,,,[[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"$1"],[,"([7-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],SA:[,[,,"1\\d{7,8}|(?:[2-467]|92)\\d{7}|5\\d{8}|8\\d{9}","\\d{7,10}"],[,,"11\\d{7}|1?(?:2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}","\\d{7,9}",,,"112345678"],[,,"(?:5(?:[013-689]\\d|7[0-26-8])|811\\d)\\d{6}","\\d{9,10}",,,"512345678"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"NA","NA"],[,,"92[05]\\d{6}","\\d{9}",,,"920012345"],[,,"NA","NA"],[,,"NA","NA"],"SA",966,"00","0",,,"0",,,,[[,"([1-467])(\\d{3})(\\d{4})","$1 $2 $3",["[1-467]"],"0$1"],[,"(1\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[1-467]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(92\\d{2})(\\d{5})","$1 $2",["92"],"$1"],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"$1"],[,"(811)(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SB:[,[,,"[1-9]\\d{4,6}","\\d{5,7}"],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}","\\d{5}",,,"40123"],[,,"48\\d{3}|7(?:30|[46-8]\\d|5[025-9]|9[0-5])\\d{4}|8[4-9]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}",,,"7421234"],[,,"1[38]\\d{3}","\\d{5}",,,"18123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"5[12]\\d{3}","\\d{5}",,,"51123"],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["[7-9]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SC:[,[,,"[2468]\\d{5,6}","\\d{6,7}"],[,,"4[2-46]\\d{5}","\\d{7}",,,"4217123"],[,,"2[5-8]\\d{5}","\\d{7}",,,"2510123"],[,,"8000\\d{2}","\\d{6}",,,"800000"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"64\\d{5}","\\d{7}",,,"6412345"],"SC",248,"0[0-2]",,,,,,"00",,[[,"(\\d{3})(\\d{3})","$1 $2",["8"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SD:[,[,,"[19]\\d{8}","\\d{9}"],[,,"1(?:[125]\\d|8[3567])\\d{6}","\\d{9}",,,"121231234"],[,,"9[0-3569]\\d{7}","\\d{9}",,,"911231234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SE:[,[,,"[1-35-9]\\d{5,11}|4\\d{6,8}","\\d{6,12}"],[,,"1(?:0[1-8]\\d{6}|[136]\\d{5,7}|(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)\\d{5,6})|2(?:[136]\\d{5,7}|(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])\\d{5,6})|3(?:[356]\\d{5,7}|(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])\\d{5,6})|4(?:[0246]\\d{5,7}|(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])\\d{5,6})|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])\\d{5,6}|6(?:[03]\\d{5,7}|(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])\\d{5,6})|8\\d{6,8}|9(?:0[1-9]\\d{4,6}|(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8])\\d{5,6})","\\d{7,9}",,,"8123456"],[,,"7[02369]\\d{7}","\\d{9}",,,"701234567"],[,,"20\\d{4,7}","\\d{6,9}",,,"20123456"],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}","\\d{7,10}",,,"9001234567"],[,,"77(?:0\\d{3}(?:\\d{3})?|[1-7]\\d{6})","\\d{6}(?:\\d{3})?",,,"771234567"],[,,"75[1-8]\\d{6}","\\d{9}",,,"751234567"],[,,"NA","NA"],"SE",46,"00","0",,,"0",,,,[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"],"0$1"],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1-$2 $3",["1[136]|2[136]|3[356]|4[0246]|6[03]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["7"],"0$1"],[,"(77)(\\d{2})(\\d{2})","$1-$2$3",["7"],"0$1"],[,"(20)(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9[034]"],"0$1"],[,"(9[034]\\d)(\\d{4})","$1-$2",["9[034]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["25[245]|67[3-6]"],"0$1"]],[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"]],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1 $2 $3",["1[136]|2[136]|3[356]|4[0246]|6[03]|90"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7"]],[,"(77)(\\d{2})(\\d{2})","$1 $2 $3",["7"]],[,"(20)(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9[034]"]],[,"(9[034]\\d)(\\d{4})","$1 $2",["9[034]"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["25[245]|67[3-6]"]]],[,,"74[02-9]\\d{6}","\\d{9}",,,"740123456"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"(?:25[245]|67[3-6])\\d{9}","\\d{12}",,,"254123456789"]],SG:[,[,,"[36]\\d{7}|[17-9]\\d{7,10}","\\d{8,11}"],[,,"6[1-9]\\d{6}","\\d{8}",,,"61234567"],[,,"(?:8[1-8]|9[0-8])\\d{6}","\\d{8}",,,"81234567"],[,,"1?800\\d{7}","\\d{10,11}",,,"18001234567"],[,,"1900\\d{7}","\\d{11}",,,"19001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"3[12]\\d{6}","\\d{8}",,,"31234567"],"SG",65,"0[0-3]\\d",,,,,,,,[[,"([3689]\\d{3})(\\d{4})","$1 $2",["[369]|8[1-9]"]],[,"(1[89]00)(\\d{3})(\\d{4})","$1 $2 $3",["1[89]"]],[,"(7000)(\\d{4})(\\d{3})","$1 $2 $3",["70"]],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["80"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"7000\\d{7}","\\d{11}",,,"70001234567"],,,[,,"NA","NA"]],SH:[,[,,"[256]\\d{4}","\\d{4,5}"],[,,"2(?:[0-57-9]\\d|6[4-9])\\d{2}","\\d{5}",,,"22158"],[,,"[56]\\d{4}","\\d{5}"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"262\\d{2}","\\d{5}"],"SH",290,"00",,,,,,,,,,[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SI:[,[,,"[1-7]\\d{6,7}|[89]\\d{4,7}","\\d{5,8}"],[,,"(?:1\\d|[25][2-8]|3[24-8]|4[24-8]|7[3-8])\\d{6}","\\d{7,8}",,,"11234567"],[,,"(?:[37][01]|4[0139]|51|6[48])\\d{6}","\\d{8}",,,"31234567"],[,,"80\\d{4,6}","\\d{6,8}",,,"80123456"],[,,"90\\d{4,6}|89[1-3]\\d{2,5}","\\d{5,8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"(?:59|8[1-3])\\d{6}","\\d{8}",,,"59012345"],"SI",386,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]|3[24-8]|4[24-8]|5[2-8]|7[3-8]"],"(0$1)"],[,"([3-7]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"([89][09])(\\d{3,6})","$1 $2",["[89][09]"],"0$1"],[,"([58]\\d{2})(\\d{5})","$1 $2",["59|8[1-3]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SJ:[,[,,"0\\d{4}|[4789]\\d{7}","\\d{5}(?:\\d{3})?"],[,,"79\\d{6}","\\d{8}",,,"79123456"],[,,"(?:4[015-8]|5[89]|9\\d)\\d{6}","\\d{8}",,,"41234567"],[,,"80[01]\\d{5}","\\d{8}",,,"80012345"],[,,"82[09]\\d{5}","\\d{8}",,,"82012345"],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}","\\d{8}",,,"81021234"],[,,"880\\d{5}","\\d{8}",,,"88012345"],[,,"85[0-5]\\d{5}","\\d{8}",,,"85012345"],"SJ",47,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}","\\d{5}(?:\\d{3})?",,,"01234"],1,,[,,"81[23]\\d{5}","\\d{8}",,,"81212345"]],SK:[,[,,"(?:[2-68]\\d{5,8}|9\\d{6,8})","\\d{6,9}"],[,,"2(?:16\\d{3,4}|\\d{8})|[3-5](?:[1-8]16\\d{2,3}|\\d{8})","\\d{6,9}",,,"212345678"],[,,"9(?:0(?:[1-8]\\d|9[1-9])|(?:1[0-24-9]|4[0489]|50)\\d)\\d{5}","\\d{9}",,,"912123456"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"9(?:[78]\\d{7}|00\\d{6})","\\d{9}",,,"900123456"],[,,"8[5-9]\\d{7}","\\d{9}",,,"850123456"],[,,"NA","NA"],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}","\\d{9}",,,"690123456"],"SK",421,"00","0",,,"0",,,,[[,"(2)(16)(\\d{3,4})","$1 $2 $3",["216"],"0$1"],[,"([3-5]\\d)(16)(\\d{2,3})","$1 $2 $3",["[3-5]"],"0$1"],[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"],[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(9090)(\\d{3})","$1 $2",["9090"],"0$1"]],,[,,"9090\\d{3}","\\d{7}",,,"9090123"],,,[,,"(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}|9090\\d{3}","\\d{7,9}",,,"800123456"],[,,"96\\d{7}","\\d{9}",,,"961234567"],,,[,,"NA","NA"]],SL:[,[,,"[2-9]\\d{7}","\\d{6,8}"],[,,"[235]2[2-4][2-9]\\d{4}","\\d{6,8}",,,"22221234"],[,,"(?:2[15]|3[03-5]|4[04]|5[05]|66|7[6-9]|88|99)\\d{6}","\\d{6,8}",,,"25123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",,"(0$1)"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SM:[,[,,"[05-7]\\d{7,9}","\\d{6,10}"],[,,"0549(?:8[0157-9]|9\\d)\\d{4}","\\d{6,10}",,,"0549886377"],[,,"6[16]\\d{6}","\\d{8}",,,"66661212"],[,,"NA","NA"],[,,"7[178]\\d{6}","\\d{8}",,,"71123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"5[158]\\d{6}","\\d{8}",,,"58001110"],"SM",378,"00",,,,"(?:0549)?([89]\\d{5})","0549$1",,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","$1 $2",["0"]],[,"(\\d{6})","0549 $1",["[89]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","($1) $2",["0"]],[,"(\\d{6})","(0549) $1",["[89]"]]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],SN:[,[,,"[3789]\\d{8}","\\d{9}"],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611|90[1-5])\\d{5}","\\d{9}",,,"301012345"],[,,"7(?:[067]\\d|21|8[0-46]|90)\\d{6}","\\d{9}",,,"701234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"88[4689]\\d{6}","\\d{9}",,,"884123456"],[,,"81[02468]\\d{6}","\\d{9}",,,"810123456"],[,,"NA","NA"],[,,"3392\\d{5}|93330\\d{4}","\\d{9}",,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SO:[,[,,"[1-79]\\d{6,8}","\\d{7,9}"],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|59)\\d{5}","\\d{7}",,,"4012345"],[,,"(?:15\\d|2(?:4\\d|8)|6[1-35-9]?\\d{2}|7(?:[1-8]\\d|99?\\d)|9(?:0[67]|[2-9])\\d)\\d{5}","\\d{7,9}",,,"71123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SO",252,"00","0",,,"0",,,,[[,"(\\d)(\\d{6})","$1 $2",["2[0-79]|[13-5]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["15|28|6[1-35-9]|799|9[2-9]"]],[,"(90\\d)(\\d{3})(\\d{3})","$1 $2 $3",["90"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SR:[,[,,"[2-8]\\d{5,6}","\\d{6,7}"],[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-58]|68\\d)\\d{4}","\\d{6,7}",,,"211234"],[,,"(?:7[124-7]|8[1-9])\\d{5}","\\d{7}",,,"7412345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"5(?:6\\d{4}|90[0-4]\\d{3})","\\d{6,7}",,,"561234"],"SR",597,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-4]|5[2-58]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{4})","$1-$2",["59|[6-8]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SS:[,[,,"[19]\\d{8}","\\d{9}"],[,,"18\\d{7}","\\d{9}",,,"181234567"],[,,"(?:12|9[1257])\\d{7}","\\d{9}",,,"977123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ST:[,[,,"[29]\\d{6}","\\d{7}"],[,,"22\\d{5}","\\d{7}",,,"2221234"],[,,"9(?:0(?:0[5-9]|[1-9]\\d)|[89]\\d{2})\\d{3}","\\d{7}",,,"9812345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SV:[,[,,"[267]\\d{7}|[89]\\d{6}(?:\\d{4})?","\\d{7,8}|\\d{11}"],[,,"2[1-6]\\d{6}","\\d{8}",,,"21234567"],[,,"[67]\\d{7}","\\d{8}",,,"70123456"],[,,"800\\d{4}(?:\\d{4})?","\\d{7}(?:\\d{4})?",,,"8001234"],[,,"900\\d{4}(?:\\d{4})?","\\d{7}(?:\\d{4})?",,,"9001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SV",503,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SX:[,[,,"[5789]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}","\\d{7}(?:\\d{3})?",,,"7215425678"],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}","\\d{10}",,,"7215205678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"SX",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"721",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SY:[,[,,"[1-59]\\d{7,8}","\\d{6,9}"],[,,"(?:1(?:1\\d?|4\\d|[2356])|2(?:1\\d?|[235])|3(?:[13]\\d|4)|4[13]|5[1-3])\\d{6}","\\d{6,9}",,,"112345678"],[,,"9(?:22|[35][0-8]|4\\d|6[024-9]|88|9[0-489])\\d{6}","\\d{9}",,,"944567890"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SZ:[,[,,"[027]\\d{7}","\\d{8}"],[,,"2[2-5]\\d{6}","\\d{8}",,,"22171234"],[,,"7[6-8]\\d{6}","\\d{8}",,,"76123456"],[,,"0800\\d{4}","\\d{8}",,,"08001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[027]"]]],,[,,"NA","NA"],,,[,,"0800\\d{4}","\\d{8}",,,"08001234"],[,,"NA","NA"],1,,[,,"NA","NA"]],TA:[,[,,"8\\d{3}","\\d{4}"],[,,"8\\d{3}","\\d{4}",,,"8999"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TA",290,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TC:[,[,,"[5689]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"649(?:712|9(?:4\\d|50))\\d{4}","\\d{7}(?:\\d{3})?",,,"6497121234"],[,,"649(?:2(?:3[129]|4[1-7])|3(?:3[1-389]|4[1-8])|4[34][1-3])\\d{4}","\\d{10}",,,"6492311234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"64971[01]\\d{4}","\\d{10}",,,"6497101234"],"TC",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"649",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TD:[,[,,"[2679]\\d{7}","\\d{8}"],[,,"22(?:[3789]0|5[0-5]|6[89])\\d{4}","\\d{8}",,,"22501234"],[,,"(?:6[023568]\\d|77\\d|9\\d{2})\\d{5}","\\d{8}",,,"63012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TG:[,[,,"[29]\\d{7}","\\d{8}"],[,,"2(?:2[2-7]|3[23]|44|55|66|77)\\d{5}","\\d{8}",,,"22212345"],[,,"9[0-389]\\d{6}","\\d{8}",,,"90112345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TH:[,[,,"[2-9]\\d{7,8}|1\\d{3}(?:\\d{5,6})?","\\d{4}|\\d{8,10}"],[,,"(?:2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}","\\d{8}",,,"21234567"],[,,"(?:14|6[1-4]|[89]\\d)\\d{7}","\\d{9}",,,"812345678"],[,,"1800\\d{6}","\\d{10}",,,"1800123456"],[,,"1900\\d{6}","\\d{10}",,,"1900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"6[08]\\d{7}","\\d{9}",,,"601234567"],"TH",66,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([13-9]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["14|[3-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"$1"]],,[,,"NA","NA"],,,[,,"1\\d{3}","\\d{4}",,,"1100"],[,,"1\\d{3}","\\d{4}",,,"1100"],,,[,,"NA","NA"]],TJ:[,[,,"[3-589]\\d{8}","\\d{3,9}"],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}","\\d{3,9}",,,"372123456"],[,,"(?:41[18]|50[125]|88\\d|9[0-35-9]\\d)\\d{6}","\\d{9}",,,"917123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TJ",992,"810","8",,,"8",,"8~10",,[[,"([349]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],"(8) $1",,1],[,"([4589]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[148]|[58]|9(?:1[59]|[0235-9])"],"(8) $1",,1],[,"(331700)(\\d)(\\d{2})","$1 $2 $3",["331","3317","33170","331700"],"(8) $1",,1],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]","3(?:[1245]|3(?:[02-9]|1[0-589]))"],"(8) $1",,1]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TK:[,[,,"[2-47]\\d{3,6}","\\d{4,7}"],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}","\\d{4,7}",,,"3101"],[,,"7[2-4]\\d{2,5}","\\d{4,7}",,,"7290"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TK",690,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TL:[,[,,"[2-489]\\d{6}|7\\d{6,7}","\\d{7,8}"],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}","\\d{7}",,,"2112345"],[,,"7[3-8]\\d{6}","\\d{8}",,,"77212345"],[,,"80\\d{5}","\\d{7}",,,"8012345"],[,,"90\\d{5}","\\d{7}",,,"9012345"],[,,"NA","NA"],[,,"70\\d{5}","\\d{7}",,,"7012345"],[,,"NA","NA"],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TM:[,[,,"[1-6]\\d{7}","\\d{8}"],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}","\\d{8}",,,"12345678"],[,,"6[1-9]\\d{6}","\\d{8}",,,"66123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["13|[2-5]"],"(8 $1)"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TN:[,[,,"[2-57-9]\\d{7}","\\d{8}"],[,,"3(?:[012]\\d|6[0-4]|91)\\d{5}|7\\d{7}|81200\\d{3}","\\d{8}",,,"71234567"],[,,"(?:[259]\\d|4[0-6])\\d{6}","\\d{8}",,,"20123456"],[,,"8010\\d{4}","\\d{8}",,,"80101234"],[,,"88\\d{6}","\\d{8}",,,"88123456"],[,,"8[12]10\\d{4}","\\d{8}",,,"81101234"],[,,"NA","NA"],[,,"NA","NA"],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TO:[,[,,"[02-8]\\d{4,6}","\\d{5,7}"],[,,"(?:2\\d|3[1-8]|4[1-4]|[56]0|7[0149]|8[05])\\d{3}","\\d{5}",,,"20123"],[,,"(?:7[578]|8[47-9])\\d{5}","\\d{7}",,,"7715123"],[,,"0800\\d{3}","\\d{7}",,,"0800222"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[1-6]|7[0-4]|8[05]"]],[,"(\\d{3})(\\d{4})","$1 $2",["7[5-9]|8[47-9]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],TR:[,[,,"[2-589]\\d{9}|444\\d{4}","\\d{7,10}"],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}","\\d{10}",,,"2123456789"],[,,"5(?:0[1-7]|22|[34]\\d|5[1-59]|9[246])\\d{7}","\\d{10}",,,"5012345678"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"900\\d{7}","\\d{10}",,,"9001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[23]|4(?:[0-35-9]|4[0-35-9])"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[589]"],"0$1",,1],[,"(444)(\\d{1})(\\d{3})","$1 $2 $3",["444"]]],,[,,"512\\d{7}","\\d{10}",,,"5123456789"],,,[,,"444\\d{4}","\\d{7}",,,"4441444"],[,,"444\\d{4}|850\\d{7}","\\d{7,10}",,,"4441444"],,,[,,"NA","NA"]],TT:[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"868(?:2(?:01|2[1-6]|3[1-5])|6(?:0[79]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}","\\d{7}(?:\\d{3})?",,,"8682211234"],[,,"868(?:2(?:[789]\\d)|3(?:0[1-9]|1[02-9]|[2-9]\\d)|4[6-9]\\d|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}","\\d{10}",,,"8682911234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"TT",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"868",[,,"NA","NA"],[,,"NA","NA"],,,[,,"868619\\d{4}","\\d{10}"]],TV:[,[,,"[279]\\d{4,6}","\\d{5,7}"],[,,"2[02-9]\\d{3}","\\d{5}",,,"20123"],[,,"(?:70\\d|90)\\d{4}","\\d{6,7}",,,"901234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"TV",688,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TW:[,[,,"[2-689]\\d{7,8}|7\\d{7,9}","\\d{8,10}"],[,,"[2-8]\\d{7,8}","\\d{8,9}",,,"21234567"],[,,"9\\d{8}","\\d{9}",,,"912345678"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"900\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],"TW",886,"0(?:0[25679]|19)","0","#",,"0",,,,[[,"([2-8])(\\d{3,4})(\\d{4})","$1 $2 $3",["[2-6]|[78][1-9]"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["80|9"],"0$1"],[,"(70)(\\d{4})(\\d{4})","$1 $2 $3",["70"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],TZ:[,[,,"\\d{9}","\\d{7,9}"],[,,"2[2-8]\\d{7}","\\d{7,9}",,,"222345678"],[,,"(?:6[125-9]|7[1-9])\\d{7}","\\d{9}",,,"621234567"],[,,"80[08]\\d{6}","\\d{9}",,,"800123456"],[,,"90\\d{7}","\\d{9}",,,"900123456"],[,,"8(?:40|6[01])\\d{6}","\\d{9}",,,"840123456"],[,,"NA","NA"],[,,"41\\d{7}","\\d{9}",,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"([24]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"([67]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"],[,"([89]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UA:[,[,,"[3-9]\\d{8}","\\d{5,9}"],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}","\\d{5,9}",,,"311234567"],[,,"(?:39|50|6[36-8]|73|9[1-9])\\d{7}","\\d{9}",,,"391234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"900\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"89\\d{7}","\\d{9}",,,"891234567"],"UA",380,"00","0",,,"0",,"0~0",,[[,"([3-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[38]9|4(?:[45][0-5]|87)|5(?:0|6[37]|7[37])|6[36-8]|73|9[1-9]","[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|73|9[1-9]"],"0$1"],[,"([3-689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3[1-8]2|4[13678]2|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90","3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90"],"0$1"],[,"([3-6]\\d{3})(\\d{5})","$1 $2",["3(?:5[013-9]|[1-46-8])|4(?:[137][013-9]|6|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6[0135-9]|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])","3(?:5[013-9]|[1-46-8](?:22|[013-9]))|4(?:[137][013-9]|6(?:[013-9]|22)|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6(?:3[02389]|[015689])|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UG:[,[,,"\\d{9}","\\d{5,9}"],[,,"20(?:[0147]\\d{2}|2(?:40|[5-9]\\d)|3[23]\\d|5[0-4]\\d|6[03]\\d|8[0-2]\\d)\\d{4}|[34]\\d{8}","\\d{5,9}",,,"312345678"],[,,"2030\\d{5}|7(?:0[0-7]|[15789]\\d|2[03]|30|[46][0-4])\\d{6}","\\d{9}",,,"712345678"],[,,"800[123]\\d{5}","\\d{9}",,,"800123456"],[,,"90[123]\\d{6}","\\d{9}",,,"901123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{3})(\\d{6})","$1 $2",["[7-9]|20(?:[013-8]|2[5-9])|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"],"0$1"],[,"(2024)(\\d{5})","$1 $2",["2024"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],US:[,[,,"[2-9]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2015550123"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2015550123"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",,,,1],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",,,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3"]],[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UY:[,[,,"[2489]\\d{6,7}","\\d{7,8}"],[,,"2\\d{7}|4[2-7]\\d{6}","\\d{7,8}",,,"21231234"],[,,"9[1-9]\\d{6}","\\d{8}",,,"94231234"],[,,"80[05]\\d{4}","\\d{7}",,,"8001234"],[,,"90[0-8]\\d{4}","\\d{7}",,,"9001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"UY",598,"0(?:1[3-9]\\d|0)","0"," int. ",,"0",,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[24]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9[1-9]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["[89]0"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UZ:[,[,,"[679]\\d{8}","\\d{7,9}"],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[123578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d{2}|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[12456]|9[135-8])|1[12]\\d|2(?:22|3[1345789]|4[123579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}","\\d{7,9}",,,"662345678"],[,,"6(?:1(?:2(?:98|2[01])|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:11\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4])|7\\d{2})|5(?:19[01]|2(?:27|9[26])|30\\d|59\\d|7\\d{2})|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|3[79]\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79])|9[0-3]\\d)|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|5\\d|3[01]|7[0-4])|5[67]\\d|6(?:2[0-26]|8\\d)|7\\d{2}))\\d{4}|7(?:0\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|33\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078])|9[4-6]\\d)|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0127]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[05629]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))\\d{4}|9[0-57-9]\\d{7}","\\d{7,9}",,,"912345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"UZ",998,"810","8",,,"8",,"8~10",,[[,"([679]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"8 $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],VA:[,[,,"(?:0(?:878\\d{5}|6698\\d{5})|[1589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9}))","\\d{6,11}"],[,,"06698\\d{5}","\\d{10}",,,"0669812345"],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})","\\d{9,11}",,,"3123456789"],[,,"80(?:0\\d{6}|3\\d{3})","\\d{6,9}",,,"800123456"],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})","\\d{6,10}",,,"899123456"],[,,"84(?:[08]\\d{6}|[17]\\d{3})","\\d{6,9}",,,"848123456"],[,,"1(?:78\\d|99)\\d{6}","\\d{9,10}",,,"1781234567"],[,,"55\\d{8}","\\d{10}",,,"5512345678"],"VA",39,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"848\\d{6}","\\d{9}",,,"848123456"],[,,"NA","NA"],1,,[,,"NA","NA"]],VC:[,[,,"[5789]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-24-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}","\\d{7}(?:\\d{3})?",,,"7842661234"],[,,"784(?:4(?:3[0-4]|5[45]|89|9[0-58])|5(?:2[6-9]|3[0-4]))\\d{4}","\\d{10}",,,"7844301234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"VC",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"784",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],VE:[,[,,"[24589]\\d{9}","\\d{7,10}"],[,,"(?:2(?:12|3[457-9]|[58][1-9]|[467]\\d|9[1-6])|50[01])\\d{7}","\\d{7,10}",,,"2121234567"],[,,"4(?:1[24-8]|2[46])\\d{7}","\\d{10}",,,"4121234567"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"900\\d{7}","\\d{10}",,,"9001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",,"0$1","$CC $1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],VG:[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"284(?:(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}|496[0-5]\\d{3})","\\d{7}(?:\\d{3})?",,,"2842291234"],[,,"284(?:(?:3(?:0[0-3]|4[0-367]|94)|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})","\\d{10}",,,"2843001234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"VG",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"284",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],VI:[,[,,"[3589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}","\\d{7}(?:\\d{3})?",,,"3406421234"],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}","\\d{7}(?:\\d{3})?",,,"3406421234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77|88)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"VI",1,"011","1",,,"1",,,1,,,[,,"NA","NA"],,"340",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],VN:[,[,,"[17]\\d{6,9}|[2-69]\\d{7,9}|8\\d{6,8}","\\d{7,10}"],[,,"(?:2(?:[025-79]|1[0189]|[348][01])|3(?:[0136-9]|[25][01])|4\\d|5(?:[01][01]|[2-9])|6(?:[0-46-8]|5[01])|7(?:[02-79]|[18][01]))\\d{7}|8(?:[1-57]\\d|[689][0-79])\\d{6}","\\d{9,10}",,,"2101234567"],[,,"(?:9\\d|1(?:2\\d|6[2-9]|8[68]|99))\\d{7}|8[689]8\\d{6}","\\d{9,10}",,,"912345678"],[,,"1800\\d{4,6}","\\d{8,10}",,,"1800123456"],[,,"1900\\d{4,6}","\\d{8,10}",,,"1900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"VN",84,"00","0",,,"0",,,,[[,"([17]99)(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"([48])(\\d{4})(\\d{4})","$1 $2 $3",["4|8(?:[1-57]|[689][0-79])"],"0$1",,1],[,"([235-7]\\d)(\\d{4})(\\d{3})","$1 $2 $3",["2[025-79]|3[0136-9]|5[2-9]|6[0-46-8]|7[02-79]"],"0$1",,1],[,"(80)(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(69\\d)(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"([235-7]\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["2[1348]|3[25]|5[01]|65|7[18]"],"0$1",,1],[,"([89]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8[689]8|9"],"0$1",,1],[,"(1[2689]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[26]|8[68]|99)"],"0$1",,1],[,"(1[89]00)(\\d{4,6})","$1 $2",["1[89]0"],"$1",,1]],,[,,"NA","NA"],,,[,,"[17]99\\d{4}|69\\d{5,6}","\\d{7,8}",,,"1992000"],[,,"[17]99\\d{4}|69\\d{5,6}|80\\d{5}","\\d{7,8}",,,"1992000"],,,[,,"NA","NA"]],VU:[,[,,"[2-57-9]\\d{4,6}","\\d{5,7}"],[,,"(?:2[02-9]\\d|3(?:[5-7]\\d|8[0-8])|48[4-9]|88\\d)\\d{2}","\\d{5}",,,"22123"],[,,"(?:5(?:7[2-5]|[0-689]\\d)|7[013-7]\\d)\\d{4}","\\d{7}",,,"5912345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[579]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"3[03]\\d{3}|900\\d{4}","\\d{5,7}",,,"30123"],,,[,,"NA","NA"]],WF:[,[,,"[4-8]\\d{5}","\\d{6}"],[,,"(?:50|68|72)\\d{4}","\\d{6}",,,"501234"],[,,"(?:50|68|72|8[23])\\d{4}","\\d{6}",,,"501234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"[48]0\\d{4}","\\d{6}",,,"401234"]],WS:[,[,,"[2-8]\\d{4,6}","\\d{5,7}"],[,,"(?:[2-5]\\d|6[1-9]|84\\d{2})\\d{3}","\\d{5,7}",,,"22123"],[,,"(?:60|7[25-7]\\d)\\d{4}","\\d{6,7}",,,"601234"],[,,"800\\d{3}","\\d{6}",,,"800123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"WS",685,"0",,,,,,,,[[,"(8\\d{2})(\\d{3,4})","$1 $2",["8"]],[,"(7\\d)(\\d{5})","$1 $2",["7"]],[,"(\\d{5})","$1",["[2-6]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],YE:[,[,,"[1-7]\\d{6,8}","\\d{6,9}"],[,,"(?:1(?:7\\d|[2-68])|2[2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-68])\\d{5}","\\d{6,8}",,,"1234567"],[,,"7[0137]\\d{7}","\\d{9}",,,"712345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"YE",967,"00","0",,,"0",,,,[[,"([1-7])(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7[0137]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],YT:[,[,,"[268]\\d{8}","\\d{9}"],[,,"269(?:6[0-4]|50)\\d{4}","\\d{9}",,,"269601234"],[,,"639\\d{6}","\\d{9}",,,"639123456"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"YT",262,"00","0",,,"0",,,,,,[,,"NA","NA"],,"269|63",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ZA:[,[,,"[1-79]\\d{8}|8(?:[067]\\d{7}|[1-4]\\d{3,7})","\\d{5,9}"],[,,"(?:1[0-8]|2[0-378]|3[1-69]|4\\d|5[1346-8])\\d{7}","\\d{9}",,,"101234567"],[,,"(?:6[0-5]|7[0-46-9])\\d{7}|8[1-4]\\d{3,7}","\\d{5,9}",,,"711234567"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"86[2-9]\\d{6}|90\\d{7}","\\d{9}",,,"862345678"],[,,"860\\d{6}","\\d{9}",,,"860123456"],[,,"NA","NA"],[,,"87\\d{7}","\\d{9}",,,"871234567"],"ZA",27,"00","0",,,"0",,,,[[,"(860)(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-79]|8(?:[0-47]|6[1-9])"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"861\\d{6}","\\d{9}",,,"861123456"],,,[,,"NA","NA"]],ZM:[,[,,"[289]\\d{8}","\\d{9}"],[,,"21[1-8]\\d{6}","\\d{9}",,,"211234567"],[,,"9(?:5[05]|6\\d|7[1-9])\\d{6}","\\d{9}",,,"955123456"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ZM",260,"00","0",,,"0",,,,[[,"([29]\\d)(\\d{7})","$1 $2",["[29]"],"0$1"],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],ZW:[,[,,"2(?:[012457-9]\\d{3,8}|6(?:[14]\\d{7}|\\d{4}))|[13-79]\\d{4,9}|8[06]\\d{8}","\\d{3,10}"],[,,"(?:2(?:0(?:4\\d|5\\d{2})|2[278]\\d|48\\d|7(?:[1-7]\\d|[089]\\d{2})|8(?:[2-57-9]|[146]\\d{2})|98)|3(?:08|17|3[78]|7(?:[19]|[56]\\d)|8[37]|98)|5[15][78]|6(?:28\\d{2}|[36]7|75\\d|[69]8|8(?:7\\d|8)))\\d{3}|(?:2(?:1[39]|2[0157]|6[14]|7[35]|84)|329)\\d{7}|(?:1(?:3\\d{2}|9\\d|[4-8])|2(?:0\\d{2}|[569]\\d)|3(?:[26]|[013459]\\d)|5(?:0|5\\d{2}|[689]\\d)|6(?:[39]|[01246]\\d|[78]\\d{2}))\\d{3}|(?:29\\d|39|54)\\d{6}|(?:(?:25|54)83|2582\\d)\\d{3}|(?:4\\d{6,7}|9[2-9]\\d{4,5})","\\d{3,10}",,,"1312345"],[,,"7[1378]\\d{7}","\\d{9}",,,"711234567"],[,,"800\\d{7}","\\d{10}",,,"8001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"86(?:1[12]|30|44|55|77|8[367]|99)\\d{6}","\\d{10}",,,"8686123456"],"ZW",263,"00","0",,,"0",,,,[[,"([49])(\\d{3})(\\d{2,4})","$1 $2 $3",["4|9[2-9]"],"0$1"],[,"(7\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["7"],"0$1"],[,"(86\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["86[24]"],"0$1"],[,"([2356]\\d{2})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8|[78])|3(?:08|17|3[78]|7[1569]|8[37]|98)|5[15][78]|6(?:[29]8|[38]7|6[78]|75|[89]8)"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|6[14]|7[35]|84)|329"],"0$1"],[,"([1-356]\\d)(\\d{3,5})","$1 $2",["1[3-9]|2[0569]|3[0-69]|5[05689]|6[0-46-9]"],"0$1"],[,"([235]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[23]9|54"],"0$1"],[,"([25]\\d{3})(\\d{3,5})","$1 $2",["(?:25|54)8","258[23]|5483"],"0$1"],[,"(8\\d{3})(\\d{6})","$1 $2",["86"],"0$1"],[,"(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],800:[,[,,"\\d{8}","\\d{8}",,,"12345678"],[,,"NA","NA",,,"12345678"],[,,"NA","NA",,,"12345678"],[,,"\\d{8}","\\d{8}",,,"12345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],808:[,[,,"\\d{8}","\\d{8}",,,"12345678"],[,,"NA","NA",,,"12345678"],[,,"NA","NA",,,"12345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"\\d{8}","\\d{8}",,,"12345678"],[,,"NA","NA"],[,,"NA","NA"],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],870:[,[,,"[35-7]\\d{8}","\\d{9}",,,"301234567"],[,,"NA","NA",,,"301234567"],[,,"(?:[356]\\d|7[6-8])\\d{7}","\\d{9}",,,"301234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],878:[,[,,"1\\d{11}","\\d{12}",,,"101234567890"],[,,"NA","NA",,,"101234567890"],[,,"NA","NA",,,"101234567890"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"10\\d{10}","\\d{12}",,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],881:[,[,,"[67]\\d{8}","\\d{9}",,,"612345678"],[,,"NA","NA",,,"612345678"],[,,"[67]\\d{8}","\\d{9}",,,"612345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[67]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],882:[,[,,"[13]\\d{6,11}","\\d{7,12}",,,"3451234567"],[,,"NA","NA",,,"3451234567"],[,,"3(?:2\\d{3}|37\\d{2}|4(?:2|7\\d{3}))\\d{4}","\\d{7,10}",,,"3451234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15678]|9[0689])\\d{4}|6\\d{5,10})|345\\d{7}","\\d{7,12}",,,"3451234567"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["348"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["16"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"348[57]\\d{7}","\\d{11}",,,"3451234567"]],883:[,[,,"51\\d{7}(?:\\d{3})?","\\d{9}(?:\\d{3})?",,,"510012345"],[,,"NA","NA",,,"510012345"],[,,"NA","NA",,,"510012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"51(?:00\\d{5}(?:\\d{3})?|[13]0\\d{8})","\\d{9}(?:\\d{3})?",,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],888:[,[,,"\\d{11}","\\d{11}",,,"12345678901"],[,,"NA","NA",,,"12345678901"],[,,"NA","NA",,,"12345678901"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"\\d{11}","\\d{11}",,,"12345678901"],1,,[,,"NA","NA"]],979:[,[,,"\\d{9}","\\d{9}",,,"123456789"],[,,"NA","NA",,,"123456789"],[,,"NA","NA",,,"123456789"],[,,"NA","NA"],[,,"\\d{9}","\\d{9}",,,"123456789"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3"]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]]};r.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}};i.addSingletonGetter(r.phonenumbers.PhoneNumberUtil);r.phonenumbers.Error={INVALID_COUNTRY_CODE:"Invalid country calling code",NOT_A_NUMBER:"The string supplied did not seem to be a phone number",TOO_SHORT_AFTER_IDD:"Phone number too short after IDD",TOO_SHORT_NSN:"The string supplied is too short to be a phone number",TOO_LONG:"The string supplied is too long to be a phone number"};r.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1;r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2;r.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17;r.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3;r.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250;r.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_="ZZ";r.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_="3";r.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={52:"1",54:"9"};r.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55];r.phonenumbers.PhoneNumberUtil.PLUS_SIGN="+";r.phonenumbers.PhoneNumberUtil.STAR_SIGN_="*";r.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=";ext=";r.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_="tel:";r.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=";phone-context=";r.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=";isub=";r.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","０":"0","１":"1","２":"2","３":"3","４":"4","５":"5","６":"6","７":"7","８":"8","９":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};r.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":r.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":"*"};r.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"};r.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","０":"0","１":"1","２":"2","３":"3","４":"4","５":"5","６":"6","７":"7","８":"8","９":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"};r.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",a:"A",b:"B",c:"C",d:"D",e:"E",f:"F",g:"G",h:"H",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z","-":"-","－":"-","‐":"-","‑":"-","‒":"-","–":"-","—":"-","―":"-","−":"-","/":"/","／":"/"," ":" ","　":" ","⁠":" ",".":".","．":"."};r.phonenumbers.PhoneNumberUtil.UNIQUE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/;r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION="-x‐-―−ー－-／  ­​⁠　()（）［］.\\[\\]/~⁓∼～";r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_="0-9０-９٠-٩۰-۹";r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_="A-Za-z";r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_="+＋";r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=new RegExp("["+r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+");r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_=new RegExp("^["+r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+");r.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_="["+r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]+";r.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=new RegExp("(["+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"])");r.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=new RegExp("["+r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]");r.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/;r.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=new RegExp("[^"+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"#]+$");r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/;r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_="["+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{"+r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+"}";r.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_="["+r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]*(?:["+r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+r.phonenumbers.PhoneNumberUtil.STAR_SIGN_+"]*["+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]){3,}["+r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+r.phonenumbers.PhoneNumberUtil.STAR_SIGN_+r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]*";r.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=" ext. ";r.phonenumbers.PhoneNumberUtil.CAPTURING_EXTN_DIGITS_="(["+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,7})";r.phonenumbers.PhoneNumberUtil.EXTN_PATTERNS_FOR_PARSING_=r.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+r.phonenumbers.PhoneNumberUtil.CAPTURING_EXTN_DIGITS_+"|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|ｅ?ｘｔｎ?|[,xｘ#＃~～]|int|anexo|ｉｎｔ)[:\\.．]?[  \\t,-]*"+r.phonenumbers.PhoneNumberUtil.CAPTURING_EXTN_DIGITS_+"#?|[- ]+(["+r.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,5})#";r.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=new RegExp("(?:"+r.phonenumbers.PhoneNumberUtil.EXTN_PATTERNS_FOR_PARSING_+")$","i");r.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=new RegExp("^"+r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+"$|^"+r.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+"(?:"+r.phonenumbers.PhoneNumberUtil.EXTN_PATTERNS_FOR_PARSING_+")?$","i");r.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/;r.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/;r.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/;r.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/;r.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/;r.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/;r.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY="001";r.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3};r.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1};r.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4};r.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3};r.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(n){var t=n.search(r.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return t>=0?(n=n.substring(t),n=n.replace(r.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,""),t=n.search(r.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_),t>=0&&(n=n.substring(0,t))):n="",n};r.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(n){return n.length<r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_?!1:r.phonenumbers.PhoneNumberUtil.matchesEntirely_(r.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,n)};r.phonenumbers.PhoneNumberUtil.normalize=function(n){return r.phonenumbers.PhoneNumberUtil.matchesEntirely_(r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,n)?r.phonenumbers.PhoneNumberUtil.normalizeHelper_(n,r.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):r.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(n)};r.phonenumbers.PhoneNumberUtil.normalizeSB_=function(n){var t=r.phonenumbers.PhoneNumberUtil.normalize(n.toString());n.clear();n.append(t)};r.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(n){return r.phonenumbers.PhoneNumberUtil.normalizeHelper_(n,r.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)};r.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(n){return r.phonenumbers.PhoneNumberUtil.normalizeHelper_(n,r.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)};r.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(n){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(n));return null!=t&&(t.hasNationalPrefix()||n.hasItalianLeadingZero())&&this.isNumberGeographical(n)?this.getLengthOfNationalDestinationCode(n):0};r.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(n){var t;return n.hasExtension()?(t=n.clone(),t.clearExtension()):t=n,t=this.format(t,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(r.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_),0==t[0].length&&t.shift(),2>=t.length?0:this.getNumberType(n)==r.phonenumbers.PhoneNumberType.MOBILE&&(n=r.phonenumbers.PhoneNumberUtil.getCountryMobileToken(n.getCountryCodeOrDefault()),""!=n)?t[2].length+n.length:t[1].length};r.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(n){return r.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[n]||""};r.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return i.array.filter(Object.keys(r.phonenumbers.metadata.countryToMetadata),function(n){return isNaN(n)})};r.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){var n=i.array.filter(Object.keys(r.phonenumbers.metadata.countryToMetadata),function(n){return!isNaN(n)});return i.array.map(n,function(n){return parseInt(n,10)})};r.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(n,t,r){for(var u,f,e=new i.string.StringBuffer,s=n.length,o=0;s>o;++o)u=n.charAt(o),f=t[u.toUpperCase()],null!=f?e.append(f):r||e.append(u);return e.toString()};r.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(n){return 0==n.length||r.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(n)};r.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(n){var t=this.getNumberType(n);return t==r.phonenumbers.PhoneNumberType.FIXED_LINE||t==r.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||i.array.contains(r.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_,n.getCountryCodeOrDefault())&&t==r.phonenumbers.PhoneNumberType.MOBILE};r.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(n){return null!=n&&isNaN(n)&&n.toUpperCase()in r.phonenumbers.metadata.countryToMetadata};r.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(n){return n in r.phonenumbers.metadata.countryCodeToRegionCodeMap};r.phonenumbers.PhoneNumberUtil.prototype.format=function(n,t){var i,u;if(0==n.getNationalNumber()&&n.hasRawInput()&&(i=n.getRawInputOrDefault(),0<i.length))return i;if(i=n.getCountryCodeOrDefault(),u=this.getNationalSignificantNumber(n),t==r.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(i,r.phonenumbers.PhoneNumberFormat.E164,u,"");if(!this.hasValidCountryCallingCode_(i))return u;var f=this.getRegionCodeForCountryCode(i),e=this.getMetadataForRegionOrCallingCode_(i,f),f=this.maybeGetFormattedExtension_(n,e,t),u=this.formatNsn_(u,e,t);return this.prefixNumberWithCountryCallingCode_(i,t,u,f)};r.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(n,t,i){var e=n.getCountryCodeOrDefault(),f=this.getNationalSignificantNumber(n),s;if(!this.hasValidCountryCallingCode_(e))return f;var o=this.getRegionCodeForCountryCode(e),o=this.getMetadataForRegionOrCallingCode_(e,o),u=this.chooseFormattingPatternForNumber_(i,f);return null!=u&&((i=u.clone(),u=u.getNationalPrefixFormattingRuleOrDefault(),0<u.length)&&(s=o.getNationalPrefixOrDefault(),0<s.length?(u=u.replace(r.phonenumbers.PhoneNumberUtil.NP_PATTERN_,s).replace(r.phonenumbers.PhoneNumberUtil.FG_PATTERN_,"$1"),i.setNationalPrefixFormattingRule(u)):i.clearNationalPrefixFormattingRule()),f=this.formatNsnUsingPattern_(f,i,t)),n=this.maybeGetFormattedExtension_(n,o,t),this.prefixNumberWithCountryCallingCode_(e,t,f,n)};r.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(n,t){var i=n.getCountryCodeOrDefault(),u=this.getNationalSignificantNumber(n);if(!this.hasValidCountryCallingCode_(i))return u;var f=this.getRegionCodeForCountryCode(i),e=this.getMetadataForRegionOrCallingCode_(i,f),f=this.maybeGetFormattedExtension_(n,e,r.phonenumbers.PhoneNumberFormat.NATIONAL),u=this.formatNsn_(u,e,r.phonenumbers.PhoneNumberFormat.NATIONAL,t);return this.prefixNumberWithCountryCallingCode_(i,r.phonenumbers.PhoneNumberFormat.NATIONAL,u,f)};r.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(n,t){return r.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t?this.getMetadataForNonGeographicalRegion(n):this.getMetadataForRegion(t)};r.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(n,t){return this.formatNationalNumberWithCarrierCode(n,n.hasPreferredDomesticCarrierCode()?n.getPreferredDomesticCarrierCodeOrDefault():t)};r.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(n,t,i){var o=n.getCountryCodeOrDefault(),u;if(!this.hasValidCountryCallingCode_(o))return n.hasRawInput()?n.getRawInputOrDefault():"";u="";n=n.clone();n.clearExtension();var f=this.getRegionCodeForCountryCode(o),e=this.getNumberType(n),s=e!=r.phonenumbers.PhoneNumberType.UNKNOWN;if(t==f)u=e==r.phonenumbers.PhoneNumberType.FIXED_LINE||e==r.phonenumbers.PhoneNumberType.MOBILE||e==r.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,"CO"==f&&e==r.phonenumbers.PhoneNumberType.FIXED_LINE?u=this.formatNationalNumberWithCarrierCode(n,r.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_):"BR"==f&&u?u=n.hasPreferredDomesticCarrierCode()?this.formatNationalNumberWithPreferredCarrierCode(n,""):"":s&&"HU"==f?u=this.getNddPrefixForRegion(f,!0)+" "+this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL):o==r.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(t=this.getMetadataForRegion(t),u=this.canBeInternationallyDialled(n)&&!this.isShorterThanPossibleNormalNumber_(t,this.getNationalSignificantNumber(n))?this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL)):u=(f==r.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||("MX"==f||"CL"==f)&&u)&&this.canBeInternationallyDialled(n)?this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL);else if(s&&this.canBeInternationallyDialled(n))return i?this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(n,r.phonenumbers.PhoneNumberFormat.E164);return i?u:r.phonenumbers.PhoneNumberUtil.normalizeHelper_(u,r.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)};r.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(n,t){var u,f;if(!this.isValidRegionCode_(t))return this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL);if(u=n.getCountryCodeOrDefault(),f=this.getNationalSignificantNumber(n),!this.hasValidCountryCallingCode_(u))return f;if(u==r.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return u+" "+this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(u==this.getCountryCodeForValidRegion_(t))return this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL);var i=this.getMetadataForRegion(t),o=i.getInternationalPrefixOrDefault(),e="";return r.phonenumbers.PhoneNumberUtil.matchesEntirely_(r.phonenumbers.PhoneNumberUtil.UNIQUE_INTERNATIONAL_PREFIX_,o)?e=o:i.hasPreferredInternationalPrefix()&&(e=i.getPreferredInternationalPrefixOrDefault()),i=this.getRegionCodeForCountryCode(u),i=this.getMetadataForRegionOrCallingCode_(u,i),f=this.formatNsn_(f,i,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL),i=this.maybeGetFormattedExtension_(n,i,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<e.length?e+" "+u+" "+f+i:this.prefixNumberWithCountryCallingCode_(u,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL,f,i)};r.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(n,t){var f,u,i,e;if(n.hasRawInput()&&(this.hasUnexpectedItalianLeadingZero_(n)||!this.hasFormattingPatternForNumber_(n)))return n.getRawInputOrDefault();if(!n.hasCountryCodeSource())return this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL);switch(n.getCountryCodeSource()){case r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:f=this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:f=this.formatOutOfCountryCallingNumber(n,t);break;case r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:f=this.format(n,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:u=this.getRegionCodeForCountryCode(n.getCountryCodeOrDefault());i=this.getNddPrefixForRegion(u,!0);(f=this.format(n,r.phonenumbers.PhoneNumberFormat.NATIONAL),null==i||0==i.length||this.rawInputContainsNationalPrefix_(n.getRawInputOrDefault(),i,u)||(u=this.getMetadataForRegion(u),i=this.getNationalSignificantNumber(n),u=this.chooseFormattingPatternForNumber_(u.numberFormatArray(),i),null==u))||(i=u.getNationalPrefixFormattingRuleOrDefault(),e=i.indexOf("$1"),0>=e||(i=i.substring(0,e),i=r.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(i),0!=i.length&&(f=u.clone(),f.clearNationalPrefixFormattingRule(),f=this.formatByPattern(n,r.phonenumbers.PhoneNumberFormat.NATIONAL,[f]))))}return u=n.getRawInputOrDefault(),null!=f&&0<u.length&&(i=r.phonenumbers.PhoneNumberUtil.normalizeHelper_(f,r.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0),e=r.phonenumbers.PhoneNumberUtil.normalizeHelper_(u,r.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0),i!=e&&(f=u)),f};r.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(n,t,u){if(n=r.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(n),i.string.startsWith(n,t))try{return this.isValidNumber(this.parse(n.substring(t.length),u))}catch(f){}return!1};r.phonenumbers.PhoneNumberUtil.prototype.hasUnexpectedItalianLeadingZero_=function(n){return n.hasItalianLeadingZero()&&!this.isLeadingZeroPossible(n.getCountryCodeOrDefault())};r.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(n){var t=n.getCountryCodeOrDefault(),i=this.getRegionCodeForCountryCode(t),t=this.getMetadataForRegionOrCallingCode_(t,i);return null==t?!1:(n=this.getNationalSignificantNumber(n),null!=this.chooseFormattingPatternForNumber_(t.numberFormatArray(),n))};r.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(n,t){var f=n.getRawInputOrDefault(),i,e,u;if(0==f.length)return this.formatOutOfCountryCallingNumber(n,t);if(i=n.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(i))return f;if(f=r.phonenumbers.PhoneNumberUtil.normalizeHelper_(f,r.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0),e=this.getNationalSignificantNumber(n),3<e.length&&(u=f.indexOf(e.substring(0,3)),-1!=u&&(f=f.substring(u))),u=this.getMetadataForRegion(t),i==r.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return i+" "+f}else if(null!=u&&i==this.getCountryCodeForValidRegion_(t))return i=this.chooseFormattingPatternForNumber_(u.numberFormatArray(),e),null==i?f:(i=i.clone(),i.setPattern("(\\d+)(.*)"),i.setFormat("$1$2"),this.formatNsnUsingPattern_(f,i,r.phonenumbers.PhoneNumberFormat.NATIONAL));return e="",null!=u&&(e=u.getInternationalPrefixOrDefault(),e=r.phonenumbers.PhoneNumberUtil.matchesEntirely_(r.phonenumbers.PhoneNumberUtil.UNIQUE_INTERNATIONAL_PREFIX_,e)?e:u.getPreferredInternationalPrefixOrDefault()),u=this.getRegionCodeForCountryCode(i),u=this.getMetadataForRegionOrCallingCode_(i,u),u=this.maybeGetFormattedExtension_(n,u,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<e.length?e+" "+i+" "+f+u:this.prefixNumberWithCountryCallingCode_(i,r.phonenumbers.PhoneNumberFormat.INTERNATIONAL,f,u)};r.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(n){var t=""+n.getNationalNumber();return n.hasItalianLeadingZero()&&n.getItalianLeadingZero()?Array(n.getNumberOfLeadingZerosOrDefault()+1).join("0")+t:t};r.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(n,t,i,u){switch(t){case r.phonenumbers.PhoneNumberFormat.E164:return r.phonenumbers.PhoneNumberUtil.PLUS_SIGN+n+i+u;case r.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return r.phonenumbers.PhoneNumberUtil.PLUS_SIGN+n+" "+i+u;case r.phonenumbers.PhoneNumberFormat.RFC3966:return r.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+r.phonenumbers.PhoneNumberUtil.PLUS_SIGN+n+"-"+i+u;default:return i+u}};r.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(n,t,i,u){return t=0==t.intlNumberFormatArray().length||i==r.phonenumbers.PhoneNumberFormat.NATIONAL?t.numberFormatArray():t.intlNumberFormatArray(),t=this.chooseFormattingPatternForNumber_(t,n),null==t?n:this.formatNsnUsingPattern_(n,t,i,u)};r.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(n,t){for(var i,u,e=n.length,f=0;e>f;++f)if(i=n[f],u=i.leadingDigitsPatternCount(),(0==u||0==t.search(i.getLeadingDigitsPattern(u-1)))&&(u=new RegExp(i.getPattern()),r.phonenumbers.PhoneNumberUtil.matchesEntirely_(u,t)))return i;return null};r.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(n,t,i,u){var f=t.getFormatOrDefault(),e=new RegExp(t.getPattern()),o=t.getDomesticCarrierCodeFormattingRuleOrDefault();return i==r.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=u&&0<u.length&&0<o.length?(t=o.replace(r.phonenumbers.PhoneNumberUtil.CC_PATTERN_,u),f=f.replace(r.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t),n=n.replace(e,f)):(t=t.getNationalPrefixFormattingRuleOrDefault(),n=i==r.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=t&&0<t.length?n.replace(e,f.replace(r.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t)):n.replace(e,f)),i==r.phonenumbers.PhoneNumberFormat.RFC3966&&(n=n.replace(new RegExp("^"+r.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),""),n=n.replace(new RegExp(r.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,"g"),"-")),n};r.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(n){return this.getExampleNumberForType(n,r.phonenumbers.PhoneNumberType.FIXED_LINE)};r.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(n,t){if(!this.isValidRegionCode_(n))return null;var i=this.getNumberDescByType_(this.getMetadataForRegion(n),t);try{if(i.hasExampleNumber())return this.parse(i.getExampleNumberOrDefault(),n)}catch(r){}return null};r.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(n){var t=this.getMetadataForNonGeographicalRegion(n);if(null!=t){t=t.getGeneralDesc();try{if(t.hasExampleNumber())return this.parse("+"+n+t.getExampleNumber(),"ZZ")}catch(i){}}return null};r.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(n,t,i){return n.hasExtension()&&0!=n.getExtension().length?i==r.phonenumbers.PhoneNumberFormat.RFC3966?r.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+n.getExtension():t.hasPreferredExtnPrefix()?t.getPreferredExtnPrefix()+n.getExtensionOrDefault():r.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+n.getExtensionOrDefault():""};r.phonenumbers.PhoneNumberUtil.prototype.getNumberDescByType_=function(n,t){switch(t){case r.phonenumbers.PhoneNumberType.PREMIUM_RATE:return n.getPremiumRate();case r.phonenumbers.PhoneNumberType.TOLL_FREE:return n.getTollFree();case r.phonenumbers.PhoneNumberType.MOBILE:return n.getMobile();case r.phonenumbers.PhoneNumberType.FIXED_LINE:case r.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return n.getFixedLine();case r.phonenumbers.PhoneNumberType.SHARED_COST:return n.getSharedCost();case r.phonenumbers.PhoneNumberType.VOIP:return n.getVoip();case r.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return n.getPersonalNumber();case r.phonenumbers.PhoneNumberType.PAGER:return n.getPager();case r.phonenumbers.PhoneNumberType.UAN:return n.getUan();case r.phonenumbers.PhoneNumberType.VOICEMAIL:return n.getVoicemail();default:return n.getGeneralDesc()}};r.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(n){var t=this.getRegionCodeForNumber(n),t=this.getMetadataForRegionOrCallingCode_(n.getCountryCodeOrDefault(),t);return null==t?r.phonenumbers.PhoneNumberType.UNKNOWN:(n=this.getNationalSignificantNumber(n),this.getNumberTypeHelper_(n,t))};r.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(n,t){return this.isNumberMatchingDesc_(n,t.getGeneralDesc())?this.isNumberMatchingDesc_(n,t.getPremiumRate())?r.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(n,t.getTollFree())?r.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(n,t.getSharedCost())?r.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(n,t.getVoip())?r.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(n,t.getPersonalNumber())?r.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(n,t.getPager())?r.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(n,t.getUan())?r.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(n,t.getVoicemail())?r.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(n,t.getFixedLine())?t.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(n,t.getMobile())?r.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:r.phonenumbers.PhoneNumberType.FIXED_LINE:!t.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(n,t.getMobile())?r.phonenumbers.PhoneNumberType.MOBILE:r.phonenumbers.PhoneNumberType.UNKNOWN:r.phonenumbers.PhoneNumberType.UNKNOWN};r.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(n){var t,u;if(null==n)return null;if(n=n.toUpperCase(),t=this.regionToMetadataMap[n],null==t){if(t=new i.proto2.PbLiteSerializer,u=r.phonenumbers.metadata.countryToMetadata[n],null==u)return null;t=t.deserialize(r.phonenumbers.PhoneMetadata.getDescriptor(),u);this.regionToMetadataMap[n]=t}return t};r.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(n){return this.getMetadataForRegion(""+n)};r.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(n,t){return r.phonenumbers.PhoneNumberUtil.matchesEntirely_(t.getPossibleNumberPatternOrDefault(),n)&&r.phonenumbers.PhoneNumberUtil.matchesEntirely_(t.getNationalNumberPatternOrDefault(),n)};r.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(n){var t=this.getRegionCodeForNumber(n);return this.isValidNumberForRegion(n,t)};r.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(n,t){var i=n.getCountryCodeOrDefault(),u=this.getMetadataForRegionOrCallingCode_(i,t);return null==u||r.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY!=t&&i!=this.getCountryCodeForValidRegion_(t)?!1:(i=this.getNationalSignificantNumber(n),this.getNumberTypeHelper_(i,u)!=r.phonenumbers.PhoneNumberType.UNKNOWN)};r.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(n){if(null==n)return null;var t=n.getCountryCodeOrDefault(),t=r.phonenumbers.metadata.countryCodeToRegionCodeMap[t];return null==t?null:1==t.length?t[0]:this.getRegionCodeForNumberFromRegionList_(n,t)};r.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(n,t){for(var u,i,e=this.getNationalSignificantNumber(n),o=t.length,f=0;o>f;f++)if(i=t[f],u=this.getMetadataForRegion(i),u.hasLeadingDigits()){if(0==e.search(u.getLeadingDigits()))return i}else if(this.getNumberTypeHelper_(e,u)!=r.phonenumbers.PhoneNumberType.UNKNOWN)return i;return null};r.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(n){return n=r.phonenumbers.metadata.countryCodeToRegionCodeMap[n],null==n?r.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:n[0]};r.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(n){return n=r.phonenumbers.metadata.countryCodeToRegionCodeMap[n],null==n?[]:n};r.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(n){return this.isValidRegionCode_(n)?this.getCountryCodeForValidRegion_(n):0};r.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(n){var t=this.getMetadataForRegion(n);if(null==t)throw Error("Invalid region code: "+n);return t.getCountryCodeOrDefault()};r.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(n,t){var i=this.getMetadataForRegion(n);return null==i?null:(i=i.getNationalPrefixOrDefault(),0==i.length?null:(t&&(i=i.replace("~","")),i))};r.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(n){return null!=n&&i.array.contains(r.phonenumbers.metadata.countryCodeToRegionCodeMap[r.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_],n.toUpperCase())};r.phonenumbers.PhoneNumberUtil.prototype.isLeadingZeroPossible=function(n){return n=this.getMetadataForRegionOrCallingCode_(n,this.getRegionCodeForCountryCode(n)),null!=n&&n.getLeadingZeroPossibleOrDefault()};r.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(n){return r.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(n)?(n=new i.string.StringBuffer(n),this.maybeStripExtension(n),r.phonenumbers.PhoneNumberUtil.matchesEntirely_(r.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,n.toString())):!1};r.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(n){return this.isPossibleNumberWithReason(n)==r.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE};r.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthAgainstPattern_=function(n,t){return r.phonenumbers.PhoneNumberUtil.matchesEntirely_(n,t)?r.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:0==t.search(n)?r.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:r.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT};r.phonenumbers.PhoneNumberUtil.prototype.isShorterThanPossibleNormalNumber_=function(n,t){var i=n.getGeneralDesc().getPossibleNumberPatternOrDefault();return this.testNumberLengthAgainstPattern_(i,t)==r.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT};r.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(n){var i=this.getNationalSignificantNumber(n),t;return(n=n.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(n))?r.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE:(t=this.getRegionCodeForCountryCode(n),n=this.getMetadataForRegionOrCallingCode_(n,t).getGeneralDesc().getPossibleNumberPatternOrDefault(),this.testNumberLengthAgainstPattern_(n,i))};r.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(n,t){try{return this.isPossibleNumber(this.parse(n,t))}catch(i){return!1}};r.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(n){if(this.isValidNumber(n))return!0;var i=n.clone(),t=n.getNationalNumberOrDefault();do if(t=Math.floor(t/10),i.setNationalNumber(t),0==t||this.isPossibleNumberWithReason(i)==r.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1;while(!this.isValidNumber(i));return n.setNationalNumber(t),!0};r.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(n,t){var u=n.toString(),f,e,i;if(0==u.length||"0"==u.charAt(0))return 0;for(e=u.length,i=1;i<=r.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&e>=i;++i)if(f=parseInt(u.substring(0,i),10),f in r.phonenumbers.metadata.countryCodeToRegionCodeMap)return t.append(u.substring(i)),f;return 0};r.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(n,t,u,f,e){var o,h,s;if(0==n.length)return 0;if(n=new i.string.StringBuffer(n),null!=t&&(o=t.getInternationalPrefix()),null==o&&(o="NonMatch"),o=this.maybeStripInternationalPrefixAndNormalize(n,o),f&&e.setCountryCodeSource(o),o!=r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(n.getLength()<=r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(r.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(u=this.extractCountryCode(n,u),0!=u)return e.setCountryCode(u),u;throw Error(r.phonenumbers.Error.INVALID_COUNTRY_CODE);}if(null!=t&&(o=t.getCountryCodeOrDefault(),h=""+o,s=n.toString(),i.string.startsWith(s,h))){var c=new i.string.StringBuffer(s.substring(h.length)),s=t.getGeneralDesc(),h=new RegExp(s.getNationalNumberPatternOrDefault());if(this.maybeStripNationalPrefixAndCarrierCode(c,t,null),t=c.toString(),s=s.getPossibleNumberPatternOrDefault(),!r.phonenumbers.PhoneNumberUtil.matchesEntirely_(h,n.toString())&&r.phonenumbers.PhoneNumberUtil.matchesEntirely_(h,t)||this.testNumberLengthAgainstPattern_(s,n.toString())==r.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG)return u.append(t),f&&e.setCountryCodeSource(r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),e.setCountryCode(o),o}return e.setCountryCode(0),0};r.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(n,t){var u=t.toString(),f,i;return 0==u.search(n)?(f=u.match(n)[0].length,i=u.substring(f).match(r.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN),i&&null!=i[1]&&0<i[1].length&&"0"==r.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(i[1])?!1:(t.clear(),t.append(u.substring(f)),!0)):!1};r.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(n,t){var i=n.toString();return 0==i.length?r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_.test(i)?(i=i.replace(r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_,""),n.clear(),n.append(r.phonenumbers.PhoneNumberUtil.normalize(i)),r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(i=new RegExp(t),r.phonenumbers.PhoneNumberUtil.normalizeSB_(n),this.parsePrefixAsIdd_(i,n)?r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:r.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)};r.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(n,t,i){var f=n.toString(),u=f.length,e=t.getNationalPrefixForParsing(),s;if(0==u||null==e||0==e.length)return!1;if(s=new RegExp("^(?:"+e+")"),u=s.exec(f)){var e=new RegExp(t.getGeneralDesc().getNationalNumberPatternOrDefault()),h=r.phonenumbers.PhoneNumberUtil.matchesEntirely_(e,f),o=u.length-1;if(t=t.getNationalPrefixTransformRule(),null==t||0==t.length||null==u[o]||0==u[o].length){if(h&&!r.phonenumbers.PhoneNumberUtil.matchesEntirely_(e,f.substring(u[0].length)))return!1;null!=i&&o>0&&null!=u[o]&&i.append(u[1]);n.set(f.substring(u[0].length))}else{if(f=f.replace(s,t),h&&!r.phonenumbers.PhoneNumberUtil.matchesEntirely_(e,f))return!1;null!=i&&o>0&&i.append(u[1]);n.set(f)}return!0}return!1};r.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(n){var i=n.toString(),f=i.search(r.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(f>=0&&r.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(i.substring(0,f)))for(var u=i.match(r.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),e=u.length,t=1;e>t;++t)if(null!=u[t]&&0<u[t].length)return n.clear(),n.append(i.substring(0,f)),u[t];return""};r.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(n,t){return this.isValidRegionCode_(t)||null!=n&&0<n.length&&r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_.test(n)};r.phonenumbers.PhoneNumberUtil.prototype.parse=function(n,t){return this.parseHelper_(n,t,!1,!0)};r.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(n,t){if(!this.isValidRegionCode_(t)&&0<n.length&&n.charAt(0)!=r.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(r.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(n,t,!0,!0)};r.phonenumbers.PhoneNumberUtil.prototype.setItalianLeadingZerosForPhoneNumber_=function(n,t){if(1<n.length&&"0"==n.charAt(0)){t.setItalianLeadingZero(!0);for(var i=1;i<n.length-1&&"0"==n.charAt(i);)i++;1!=i&&t.setNumberOfLeadingZeros(i)}};r.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(n,t,u,f){var e;if(null==n)throw Error(r.phonenumbers.Error.NOT_A_NUMBER);if(n.length>r.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(r.phonenumbers.Error.TOO_LONG);if(e=new i.string.StringBuffer,this.buildNationalNumberForParsing_(n,e),!r.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(e.toString()))throw Error(r.phonenumbers.Error.NOT_A_NUMBER);if(f&&!this.checkRegionForParsing_(e.toString(),t))throw Error(r.phonenumbers.Error.INVALID_COUNTRY_CODE);f=new r.phonenumbers.PhoneNumber;u&&f.setRawInput(n);n=this.maybeStripExtension(e);0<n.length&&f.setExtension(n);n=this.getMetadataForRegion(t);var s=new i.string.StringBuffer,o=0,h=e.toString();try{o=this.maybeExtractCountryCode(h,n,s,u,f)}catch(c){if(c.message!=r.phonenumbers.Error.INVALID_COUNTRY_CODE||!r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_.test(h))throw c;if(h=h.replace(r.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN_,""),o=this.maybeExtractCountryCode(h,n,s,u,f),0==o)throw c;}if(0!=o?(e=this.getRegionCodeForCountryCode(o),e!=t&&(n=this.getMetadataForRegionOrCallingCode_(o,e))):(r.phonenumbers.PhoneNumberUtil.normalizeSB_(e),s.append(e.toString()),null!=t?(o=n.getCountryCodeOrDefault(),f.setCountryCode(o)):u&&f.clearCountryCodeSource()),s.getLength()<r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(r.phonenumbers.Error.TOO_SHORT_NSN);if(null!=n&&(t=new i.string.StringBuffer,e=new i.string.StringBuffer(s.toString()),this.maybeStripNationalPrefixAndCarrierCode(e,n,t),this.isShorterThanPossibleNormalNumber_(n,e.toString())||(s=e,u&&f.setPreferredDomesticCarrierCode(t.toString()))),u=s.toString(),t=u.length,t<r.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(r.phonenumbers.Error.TOO_SHORT_NSN);if(t>r.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(r.phonenumbers.Error.TOO_LONG);return this.setItalianLeadingZerosForPhoneNumber_(u,f),f.setNationalNumber(parseInt(u,10)),f};r.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(n,t){var u=n.indexOf(r.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_),i,f;u>0?(i=u+r.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length,n.charAt(i)==r.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&(f=n.indexOf(";",i),f>0?t.append(n.substring(i,f)):t.append(n.substring(i))),i=n.indexOf(r.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_),t.append(n.substring(i>=0?i+r.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0,u))):t.append(r.phonenumbers.PhoneNumberUtil.extractPossibleNumber(n));u=t.toString();i=u.indexOf(r.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_);i>0&&(t.clear(),t.append(u.substring(0,i)))};r.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(n,t){var i,u,f,e;if("string"==typeof n)try{i=this.parse(n,r.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(o){if(o.message!=r.phonenumbers.Error.INVALID_COUNTRY_CODE)return r.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if("string"!=typeof t&&(f=this.getRegionCodeForCountryCode(t.getCountryCodeOrDefault()),f!=r.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)){try{i=this.parse(n,f)}catch(s){return r.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}return i=this.isNumberMatch(i,t),i==r.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?r.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:i}try{i=this.parseHelper_(n,null,!1,!1)}catch(s){return r.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else i=n.clone();if("string"==typeof t)try{return u=this.parse(t,r.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(n,u)}catch(o){return o.message!=r.phonenumbers.Error.INVALID_COUNTRY_CODE?r.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER:this.isNumberMatch(t,i)}else u=t.clone();return(i.clearRawInput(),i.clearCountryCodeSource(),i.clearPreferredDomesticCarrierCode(),u.clearRawInput(),u.clearCountryCodeSource(),u.clearPreferredDomesticCarrierCode(),i.hasExtension()&&0==i.getExtension().length&&i.clearExtension(),u.hasExtension()&&0==u.getExtension().length&&u.clearExtension(),i.hasExtension()&&u.hasExtension()&&i.getExtension()!=u.getExtension())?r.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(f=i.getCountryCodeOrDefault(),e=u.getCountryCodeOrDefault(),0!=f&&0!=e?i.equals(u)?r.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:f==e&&this.isNationalNumberSuffixOfTheOther_(i,u)?r.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:r.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(i.setCountryCode(0),u.setCountryCode(0),i.equals(u)?r.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(i,u)?r.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:r.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH))};r.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(n,t){var r=""+n.getNationalNumber(),u=""+t.getNationalNumber();return i.string.endsWith(r,u)||i.string.endsWith(u,r)};r.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(n){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(n));return null==t?!0:(n=this.getNationalSignificantNumber(n),!this.isNumberMatchingDesc_(n,t.getNoInternationalDialling()))};r.phonenumbers.PhoneNumberUtil.matchesEntirely_=function(n,t){var i="string"==typeof n?t.match("^(?:"+n+")$"):t.match(n);return i&&i[0].length==t.length?!0:!1};r.phonenumbers.AsYouTypeFormatter=function(n){this.DIGIT_PLACEHOLDER_=" ";this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_);this.currentOutput_="";this.formattingTemplate_=new i.string.StringBuffer;this.currentFormattingPattern_="";this.accruedInput_=new i.string.StringBuffer;this.accruedInputWithoutFormatting_=new i.string.StringBuffer;this.ableToFormat_=!0;this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1;this.phoneUtil_=r.phonenumbers.PhoneNumberUtil.getInstance();this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0;this.prefixBeforeNationalNumber_=new i.string.StringBuffer;this.shouldAddSpaceAfterNationalPrefix_=!1;this.extractedNationalPrefix_="";this.nationalNumber_=new i.string.StringBuffer;this.possibleFormats_=[];this.defaultCountry_=n;this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)};r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=" ";r.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new r.phonenumbers.PhoneMetadata;r.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix("NA");r.phonenumbers.AsYouTypeFormatter.CHARACTER_CLASS_PATTERN_=/\[([^\[\]])*\]/g;r.phonenumbers.AsYouTypeFormatter.STANDALONE_DIGIT_PATTERN_=/\d(?=[^,}][^,}])/g;r.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=new RegExp("^["+r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*(\\$\\d["+r.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*)+$");r.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/;r.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3;r.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(n){return n=this.phoneUtil_.getCountryCodeForRegion(n),n=this.phoneUtil_.getRegionCodeForCountryCode(n),n=this.phoneUtil_.getMetadataForRegion(n),null!=n?n:r.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_};r.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var t,i,u=this.possibleFormats_.length,n=0;u>n;++n){if(t=this.possibleFormats_[n],i=t.getPatternOrDefault(),this.currentFormattingPattern_==i)return!1;if(this.createFormattingTemplate_(t))return this.currentFormattingPattern_=i,this.shouldAddSpaceAfterNationalPrefix_=r.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(t.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1};r.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(n){for(var t,r=this.isCompleteNumber_&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),u=r.length,i=0;u>i;++i)t=r[i],(!this.currentMetadata_.hasNationalPrefix()||this.isCompleteNumber_||t.getNationalPrefixOptionalWhenFormatting()||this.phoneUtil_.formattingRuleHasFirstGroupOnly(t.getNationalPrefixFormattingRuleOrDefault()))&&this.isFormatEligible_(t.getFormatOrDefault())&&this.possibleFormats_.push(t);this.narrowDownPossibleFormats_(n)};r.phonenumbers.AsYouTypeFormatter.prototype.isFormatEligible_=function(n){return r.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(n)};r.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(n){for(var f,t,u=[],e=n.length-r.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,o=this.possibleFormats_.length,i=0;o>i;++i)t=this.possibleFormats_[i],0==t.leadingDigitsPatternCount()?u.push(this.possibleFormats_[i]):(f=Math.min(e,t.leadingDigitsPatternCount()-1),t=t.getLeadingDigitsPattern(f),0==n.search(t)&&u.push(this.possibleFormats_[i]));this.possibleFormats_=u};r.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(n){var t=n.getPatternOrDefault();return-1!=t.indexOf("|")?!1:(t=t.replace(r.phonenumbers.AsYouTypeFormatter.CHARACTER_CLASS_PATTERN_,"\\d"),t=t.replace(r.phonenumbers.AsYouTypeFormatter.STANDALONE_DIGIT_PATTERN_,"\\d"),this.formattingTemplate_.clear(),n=this.getFormattingTemplate_(t,n.getFormatOrDefault()),0<n.length?(this.formattingTemplate_.append(n),!0):!1)};r.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(n,t){var i="999999999999999".match(n)[0];return i.length<this.nationalNumber_.getLength()?"":(i=i.replace(new RegExp(n,"g"),t),i=i.replace(RegExp("9","g"),this.DIGIT_PLACEHOLDER_))};r.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_="";this.accruedInput_.clear();this.accruedInputWithoutFormatting_.clear();this.formattingTemplate_.clear();this.lastMatchPosition_=0;this.currentFormattingPattern_="";this.prefixBeforeNationalNumber_.clear();this.extractedNationalPrefix_="";this.nationalNumber_.clear();this.ableToFormat_=!0;this.inputHasFormatting_=!1;this.originalPosition_=this.positionToRemember_=0;this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1;this.possibleFormats_=[];this.shouldAddSpaceAfterNationalPrefix_=!1;this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))};r.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(n){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(n,!1)};r.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(n){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(n,!0)};r.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(n,t){if(this.accruedInput_.append(n),t&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(n)?n=this.normalizeAndAccrueDigitsAndPlusSign_(n,t):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_)if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_();return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(!this.attemptToExtractIdd_())return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();this.isExpectingCountryCallingCode_=!0;default:if(this.isExpectingCountryCallingCode_)return this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString();if(0<this.possibleFormats_.length){var u=this.inputDigitHelper_(n),i=this.attemptToFormatAccruedDigits_();return 0<i.length?i:(this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(u):this.accruedInput_.toString())}return this.attemptToChooseFormattingPattern_()}};r.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_="",this.attemptToChooseFormattingPattern_()};r.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_};r.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){var n,t;return 0<this.extractedNationalPrefix_.length&&(n=this.nationalNumber_.toString(),this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(n),n=this.prefixBeforeNationalNumber_.toString(),t=n.lastIndexOf(this.extractedNationalPrefix_),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(n.substring(0,t))),this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()};r.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(n){return r.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(n)||1==this.accruedInput_.getLength()&&r.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(n)};r.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var t,u,n=this.nationalNumber_.toString(),f=this.possibleFormats_.length,i=0;f>i;++i)if(t=this.possibleFormats_[i],u=t.getPatternOrDefault(),new RegExp("^(?:"+u+")$").test(n))return this.shouldAddSpaceAfterNationalPrefix_=r.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(t.getNationalPrefixFormattingRule()),n=n.replace(new RegExp(u,"g"),t.getFormat()),this.appendNationalNumber_(n);return""};r.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(n){var t=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&t>0&&this.prefixBeforeNationalNumber_.toString().charAt(t-1)!=r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+n:this.prefixBeforeNationalNumber_+n};r.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var t=0,n=0,r=this.accruedInputWithoutFormatting_.toString(),i=this.currentOutput_.toString();t<this.positionToRemember_&&n<i.length;)r.charAt(t)==i.charAt(n)&&t++,n++;return n};r.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var n=this.nationalNumber_.toString();return n.length>=r.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(n),n=this.attemptToFormatAccruedDigits_(),0<n.length?n:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(n)};r.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var i=this.nationalNumber_.toString(),r=i.length,t,n;if(r>0){for(t="",n=0;r>n;n++)t=this.inputDigitHelper_(i.charAt(n));return this.ableToFormat_?this.appendNationalNumber_(t):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()};r.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(1!=this.currentMetadata_.getCountryCode())return!1;var n=this.nationalNumber_.toString();return"1"==n.charAt(0)&&"0"!=n.charAt(1)&&"1"!=n.charAt(1)};r.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var i=this.nationalNumber_.toString(),t=0,n;return this.isNanpaNumberWithNationalPrefix_()?(t=1,this.prefixBeforeNationalNumber_.append("1").append(r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0):this.currentMetadata_.hasNationalPrefixForParsing()&&(n=new RegExp("^(?:"+this.currentMetadata_.getNationalPrefixForParsing()+")"),n=i.match(n),null!=n&&null!=n[0]&&0<n[0].length&&(this.isCompleteNumber_=!0,t=n[0].length,this.prefixBeforeNationalNumber_.append(i.substring(0,t)))),this.nationalNumber_.clear(),this.nationalNumber_.append(i.substring(t)),i.substring(0,t)};r.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var t=this.accruedInputWithoutFormatting_.toString(),n=new RegExp("^(?:\\"+r.phonenumbers.PhoneNumberUtil.PLUS_SIGN+"|"+this.currentMetadata_.getInternationalPrefix()+")"),n=t.match(n);return null!=n&&null!=n[0]&&0<n[0].length?(this.isCompleteNumber_=!0,n=n[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(t.substring(n)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(t.substring(0,n)),t.charAt(0)!=r.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0):!1};r.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(0==this.nationalNumber_.getLength())return!1;var n=new i.string.StringBuffer,t=this.phoneUtil_.extractCountryCode(this.nationalNumber_,n);return 0==t?!1:(this.nationalNumber_.clear(),this.nationalNumber_.append(n.toString()),n=this.phoneUtil_.getRegionCodeForCountryCode(t),r.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==n?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(t):n!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(n)),this.prefixBeforeNationalNumber_.append(""+t).append(r.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_="",!0)};r.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(n,t){var i;return n==r.phonenumbers.PhoneNumberUtil.PLUS_SIGN?(i=n,this.accruedInputWithoutFormatting_.append(n)):(i=r.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[n],this.accruedInputWithoutFormatting_.append(i),this.nationalNumber_.append(i)),t&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),i};r.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(n){var t=this.formattingTemplate_.toString(),i;return 0<=t.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)?(i=t.search(this.DIGIT_PATTERN_),n=t.replace(this.DIGIT_PATTERN_,n),this.formattingTemplate_.clear(),this.formattingTemplate_.append(n),this.lastMatchPosition_=i,n.substring(0,this.lastMatchPosition_+1)):(1==this.possibleFormats_.length&&(this.ableToFormat_=!1),this.currentFormattingPattern_="",this.accruedInput_.toString())};t.exports=r.phonenumbers["default"]=r.phonenumbers.libphonenumber=r.phonenumbers},{}]},{},[1])(1)})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)}),function(n,t){typeof define=="function"&&define.amd?define("cldr",t):typeof module=="object"&&typeof module.exports=="object"?module.exports=t():n.Cldr=t()}(this,function(){var i=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"},c=function(n,t){if(i(n)&&(n=n.join("/")),typeof n!="string")throw new Error('invalid path "'+n+'"');return n=n.replace(/^\//,"").replace(/^cldr\//,""),n=n.replace(/{[a-zA-Z]+}/g,function(n){return n=n.replace(/^{([^}]*)}$/,"$1"),t[n]}),n.split("/")},l=function(n,t){var i,r;if(n.some)return n.some(t);for(i=0,r=n.length;i<r;i++)if(t(n[i],i,n))return!0;return!1},u=function(n,t,i,r){var e,h,u=i[0],f=i[1],s=n.localeSep,o=i[2],c=i.slice(3,4);return(r=r||{},u!=="und"&&f!=="Zzzz"&&o!=="ZZ")?[u,f,o].concat(c):typeof t.get("supplemental/likelySubtags")=="undefined"?void 0:(h=l([[u,f,o],[u,o],[u,f],[u],["und",f]],function(n){return e=!/\b(Zzzz|ZZ)\b/.test(n.join(s))&&t.get(["supplemental/likelySubtags",n.join(s)])}),h?(e=e.split(s),[u!=="und"?u:e[0],f!=="Zzzz"?f:e[1],o!=="ZZ"?o:e[2]].concat(c)):r.force?t.get("supplemental/likelySubtags/und").split(s):void 0)},a=function(n,t,i){var f,e,r=i[0],o=i[1],s=i[2],h=i[3];return(e=l([[[r,"Zzzz","ZZ"],[r]],[[r,"Zzzz",s],[r,s]],[[r,o,"ZZ"],[r,o]]],function(r){var e=u(n,t,r[0]);return f=r[1],e&&e[0]===i[0]&&e[1]===i[1]&&e[2]===i[2]}),e)?(h&&f.push(h),f):i},v=function(n){var t,r,i=[];return(n=n.replace(/_/,"-"),t=n.split("-u-"),t[1]&&(t[1]=t[1].split("-t-"),n=t[0]+(t[1][1]?"-t-"+t[1][1]:""),i[4]=t[1][0]),r=n.split("-t-")[0],t=r.match(/^(([a-z]{2,3})(-([A-Z][a-z]{3}))?(-([A-Z]{2}|[0-9]{3}))?)((-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*)$|^(root)$/),t===null)?["und","Zzzz","ZZ"]:(i[0]=t[10]||t[2]||"und",i[1]=t[4]||"Zzzz",i[2]=t[6]||"ZZ",t[7]&&t[7].length&&(i[3]=t[7].slice(1)),i)},f=function(n,t){var i,r;if(n.forEach)return n.forEach(t);for(i=0,r=n.length;i<r;i++)t(n[i],i,n)},d=function(n,t,i){var e=n._availableBundleMap,r=n._availableBundleMapQueue;return r.length&&(f(r,function(i){var o,s,f,h;(h=v(i),s=u(n,t,h),f=a(n,t,s),f=f.join(n.localeSep),o=r[f],o&&o.length<i.length)||(e[f]=i)}),n._availableBundleMapQueue=[]),e[i]||null},g=function(n){var t,i=[];if(Object.keys)return Object.keys(n);for(t in n)i.push(t);return i},y=function(n,t){var i,r;return r=n+(t&&JSON?": "+JSON.stringify(t):""),i=new Error(r),i.code=n,f(g(t),function(n){i[n]=t[n]}),i},e=function(n,t,i){if(!t)throw y(n,i);},t=function(n,t){e("E_MISSING_PARAMETER",typeof n!="undefined",{name:t})},r=function(n,t,i,r){e("E_INVALID_PAR_TYPE",i,{expected:r,name:t,value:n})},o=function(n,t){r(n,t,typeof n=="string"||i(n),"String or Array")},nt=function(n){return n!==null&&""+n=="[object Object]"},p=function(n,t){r(n,t,typeof n=="undefined"||nt(n),"Plain Object")},tt=function(n,t){r(n,t,typeof n=="string","a string")},s=function(n,t){for(var r=n,u=t.length,i=0;i<u-1;i++)if(r=r[t[i]],!r)return undefined;return r[t[i]]},it=function(n,t){var i,u=n._availableBundleMapQueue,r=s(t,["main"]);if(r)for(i in r)r.hasOwnProperty(i)&&i!=="root"&&u.indexOf(i)===-1&&u.push(i)},h=function(n){return i(n)?n:[n]},w=function(){var n=function(){var t={},r=[].slice.call(arguments,0);return f(r,function(r){var u;for(u in r)t[u]=u in t&&typeof t[u]=="object"&&!i(t[u])?n(t[u],r[u]):r[u]}),t};return n}(),b=function(n,i,r){var e,u,f;for(t(r[0],"json"),e=0;e<r.length;e++)for(f=h(r[e]),u=0;u<f.length;u++)p(f[u],"json"),i=w(i,f[u]),it(n,f[u]);return i},k=function(n,t,i){var r=c(t,i);return s(n._resolved,r)},n=function(n){this.init(n)};return n._alwaysArray=h,n._coreLoad=b,n._createError=y,n._itemGetResolved=k,n._jsonMerge=w,n._pathNormalize=c,n._resourceGet=s,n._validatePresence=t,n._validateType=r,n._validateTypePath=o,n._validateTypePlainObject=p,n._availableBundleMap={},n._availableBundleMapQueue=[],n._resolved={},n.localeSep="-",n.load=function(){n._resolved=b(n,n._resolved,arguments)},n.prototype.init=function(i){var s,y,f,h,p,r,c,e,w,o=n.localeSep,l="";t(i,"locale");tt(i,"locale");r=v(i);r.length===5&&(e=r.pop(),l=o+"u"+o+e,r[3]||r.pop());w=r[3];f=u(n,this,r,{force:!0})||r;y=f[0];p=f[1];c=f[2];h=a(n,this,f).join(o);this.attributes=s={bundle:d(n,this,h),minLanguageId:h+l,maxLanguageId:f.join(o)+l,language:y,script:p,territory:c,region:c,variant:w};e&&("-"+e).replace(/-[a-z]{3,8}|(-[a-z]{2})-([a-z]{3,8})/g,function(n,t,i){t?s["u"+t]=i:s["u"+n]=!0});this.locale=i},n.prototype.get=function(i){return t(i,"path"),o(i,"path"),k(n,i,this.attributes)},n.prototype.main=function(n){return t(n,"path"),o(n,"path"),e("E_MISSING_BUNDLE",this.attributes.bundle!==null,{locale:this.locale}),n=h(n),this.get(["main/{bundle}"].concat(n))},n}),function(n){typeof define=="function"&&define.amd?define("cldr/event",["cldr"],n):typeof module=="object"&&typeof module.exports=="object"?module.exports=n(require("cldrjs")):n(Cldr)}(function(n){function y(n,t){f(n,t,typeof n=="string"||n instanceof RegExp,"String or RegExp")}function r(n,t){return function(i,r){return u(i,"event"),y(i,"event"),u(r,"listener"),e(r,"listener"),t[n].apply(t,arguments)}}function h(n){return r("off",n)}function c(n){return r("on",n)}function l(n){return r("once",n)}function a(){o=n.prototype.get;n.prototype.get=function(n){var i=o.apply(this,arguments);return n=v(n,this.attributes).join("/"),t.trigger("get",[n,i]),this.ee.trigger("get",[n,i]),i}}var v=n._pathNormalize,u=n._validatePresence,f=n._validateType,i,e,o,s,t;return i=function(){function i(){}function r(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function t(n){return function(){return this[n].apply(this,arguments)}}var n=i.prototype,u={};return n.getListeners=function(n){var t=this._getEvents(),r,i;if(n instanceof RegExp){r={};for(i in t)t.hasOwnProperty(i)&&n.test(i)&&(r[i]=t[i])}else r=t[n]||(t[n]=[]);return r},n.flattenListeners=function(n){for(var i=[],t=0;t<n.length;t+=1)i.push(n[t].listener);return i},n.getListenersAsObject=function(n){var t=this.getListeners(n),i;return t instanceof Array&&(i={},i[n]=t),i||t},n.addListener=function(n,t){var i=this.getListenersAsObject(n),f=typeof t=="object",u;for(u in i)i.hasOwnProperty(u)&&r(i[u],t)===-1&&i[u].push(f?t:{listener:t,once:!1});return this},n.on=t("addListener"),n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})},n.once=t("addOnceListener"),n.defineEvent=function(n){return this.getListeners(n),this},n.defineEvents=function(n){for(var t=0;t<n.length;t+=1)this.defineEvent(n[t]);return this},n.removeListener=function(n,t){var i=this.getListenersAsObject(n),f,u;for(u in i)i.hasOwnProperty(u)&&(f=r(i[u],t),f!==-1&&i[u].splice(f,1));return this},n.off=t("removeListener"),n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)},n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)},n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if(typeof t!="object"||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&(typeof u=="function"?f.call(this,r,u):e.call(this,r,u));return this},n.removeEvent=function(n){var r=typeof n,t=this._getEvents(),i;if(r==="string")delete t[n];else if(n instanceof RegExp)for(i in t)t.hasOwnProperty(i)&&n.test(i)&&delete t[i];else delete this._events;return this},n.removeAllListeners=t("removeEvent"),n.emitEvent=function(n,t){var r=this.getListenersAsObject(n),i,f,u,e;for(u in r)if(r.hasOwnProperty(u))for(f=r[u].length;f--;)i=r[u][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this},n.trigger=t("emitEvent"),n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)},n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this},n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},n._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return u.EventEmitter=originalGlobalValue,i},i}(),e=function(n,t){f(n,t,typeof n=="undefined"||typeof n=="function","Function")},t=new i,n.off=h(t),n.on=c(t),n.once=l(t),s=n.prototype.init,n.prototype.init=function(){var n;this.ee=n=new i;this.off=h(n);this.on=c(n);this.once=l(n);s.apply(this,arguments)},n._eventInit=a,a(),n}),function(n){typeof define=="function"&&define.amd?define("cldr/supplemental",["cldr"],n):typeof module=="object"&&typeof module.exports=="object"?module.exports=n(require("cldrjs")):n(Cldr)}(function(n){var t=n._alwaysArray,i=function(n){var r,i;return r=function(i){return function(r){return r=t(r),n.get([i].concat(r))}},i=r("supplemental"),i.weekData=r("supplemental/weekData"),i.weekData.firstDay=function(){return n.get("supplemental/weekData/firstDay/{territory}")||n.get("supplemental/weekData/firstDay/001")},i.weekData.minDays=function(){var t=n.get("supplemental/weekData/minDays/{territory}")||n.get("supplemental/weekData/minDays/001");return parseInt(t,10)},i.timeData=r("supplemental/timeData"),i.timeData.allowed=function(){return n.get("supplemental/timeData/{territory}/_allowed")||n.get("supplemental/timeData/001/_allowed")},i.timeData.preferred=function(){return n.get("supplemental/timeData/{territory}/_preferred")||n.get("supplemental/timeData/001/_preferred")},i},r=n.prototype.init;return n.prototype.init=function(){r.apply(this,arguments);this.supplemental=i(this)},n}),function(){var n=this||eval("this"),f=n.document,t="resources",i=["configuration","knockout","knockout-bootstrap","globalize-knockout","cldr","utils"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},r(n.CPU.configuration,n.ko,n.ko.bootstrap,n.Globalize,n.Cldr,n.CPU.utils,n.CPU.resources={}))},u=function(n,t,i,r,u,f,e){var o=n.resourceRoot||"CPU",s=function(){i.currentBreakpoint.notifySubscribers(i.currentBreakpoint())};r.locale.subscribe(s);var v=function(){return i.BreakpointMap.slice(0,i.currentBreakpoint()+1).reverse()},y=function(){return i.BreakpointMap.slice(i.currentBreakpoint())},h=function(n,t){return(t?y():v()).map(function(t){return n+"-"+t}).concat(n)},c=function(n){for(var i,t=0;t<n.length;t++)if(i=d(n[t]),i!==undefined)return i;return undefined},p=function(n,i){return t.utils.objectForEach(i,function(i,r){var u=new RegExp("{"+i+"}","gi");u.test(n)&&(n=n.replace(new RegExp("{"+i+"}","gi"),t.unwrap(r)))}),n},w=function(n,i,r){return t.pureComputed(function(){if(!n)return n;var u=h(n,i),t=c(u);return t?p(t,r):n})},b=function(n,i){return t.pureComputed(function(){var t;if(n===undefined||n===null)return n;t=l(i);typeof n!="string"&&n[t]!==undefined&&(n=n[t]);var r=~n.indexOf(o+"/")?n:o+"/ValidationMessages/"+n,f=h(r+"-"+t).concat(h(r)),u=c(f);return u!==undefined?u:n})},l=function(n){switch(n){case undefined:case 0:case"inline":return"inline";case 1:case"panel":return"panel"}throw new Error("Unsupported error mode : "+n.toString());},a=function(n){if(!r.locale()){r.locale.onInitialised().then(function(){a(n)});return}if(!n.main){var t={main:{}};t.main[r.locale()]=n;n=t}r.load(n);s()},k=function(){if(u&&u._resolved&&u._resolved.main){var n=u._resolved.main;Object.getOwnPropertyNames(u._resolved.main).forEach(function(t){n[t][o]&&delete n[t][o]});s()}},d=function(n){return r.cldr?r.cldr.main(n):undefined};e.ErrorMode={inline:0,panel:1};e.getResource=w;e.getErrorMessage=b;e.getErrorModeText=l;e.setResources=a;e.clearResources=k};r(u)}();define("resourceTemplateParser",["configuration","globalize","resources","jQuery","messenger"],function(n,t,i,r,u){u.subscribe("component-afterTemplateLoadAsync",function(n){return n.then(function(n){return f(n.resolvedTemplate).then(function(){return n})})});var f=function(n){var i=[],t=r(n).filter("#resources"),u;return t.length>0&&(i=t.children().map(function(){return"resourceLoader!"+r(this).data("resource")}).toArray(),u=n.indexOf(t[0]),n.splice(u,1)),new Promise(function(n){require(i,function(){n()})})};return null}),function(){var n=this||eval("this"),f=n.document,t="ComponentStack",i=["knockout","jQuery","messenger"],r=function(r){typeof define=="function"&&define.amd?define(t,i.concat("exports"),r):(n.CPU=n.CPU||{},n.CPU[t]=r(n.ko,n.$,n.CPU.messenger))},u=function(n,t,i){var r=new RegExp("/").source.length!==1,u=function(){var t=function(t,r){this.name=t;this.params=r;this.isShowing=n.observable(!1);this.isHiding=n.observable(!1);this.animationComplete=n.observable(0);this.isVisible=n.observable(!0);this.css=n.computed(function(){return(this.isVisible()?"shown":"hidden")+" "+(this.isShowing()?"in":this.isHiding()?"out":"")},this);var u=i.subscribe("router-viewActivated",function(n,t){this.name===t&&(this.instance=n,u.dispose())}.bind(this))};return t.prototype.onAnimationComplete=function(){this.animationComplete(this.animationComplete()+1)},t.prototype.beginTransition=function(n){return this.isShowing(n),this.isHiding(!n),new Promise(function(){var n=this.animationComplete.subscribe()})},t}();return function(){var t=function(t){this.options=t;this.components=n.observableArray();this.currentIndex=n.observableArray();this.currentIndex.subscribe(function(n){this.components.forEach(function(t,i){t.isVisible(!!~n.indexOf(i))})},this)};return t.prototype.pushItem=function(n,t){var i=new u(n,t);return this.components.push(i),i},t.prototype.setCurrent=function(n){var i=n===null,t;i&&(n=this.components.map(function(n,t){return t}));t=(Array.isArray(n)?n.slice():[n]).map(function(n){if(typeof n=="string"){var t=this.components.findIndex(function(t){return t.name===n});if(t===-1)throw new Error('Component "'+n+'" not found');return t}if(typeof n!="number"&&typeof n!="undefined")throw new TypeError("SetCurrent index must be a number, string or undefined");return n},this);this.currentIndex(t)},t.prototype.transitionView=function(n,t){var r,i=this.components().slice(-1).pop();return r=i&&i.instance&&i.instance.onUnload?i.instance.onUnload():Promise.resolve(!0),r.then(function(i){if(i){this.components.pop();var r=this.pushItem(n,t);return function(){this.components.remove(r)}.bind(this)}}.bind(this))},t}()};r(u)}(),function(){var n=this||eval("this"),t=n.document,i="routing",r=["require","jQuery","knockout","sammy","messenger","ComponentStack","optional!configuration"],u=function(t){typeof define=="function"&&define.amd?define(i,r.concat("exports"),t):(n.CPU=n.CPU||{},t(undefined,$,n.ko,n.Sammy,n.CPU.messenger,undefined,n.CPU.routing={}))},f=function(i,r,u,f,e,o,s,h){function c(n){return l?n.source.replace(/\\(?!\\)/g,""):n.source}var l=new RegExp("/").source.length!==1,a=n.history,v=u.components.get,y=u.components.defaultLoader.loadTemplate,p=u.components.defaultLoader.loadComponent;u.components.get=function(n,t){return v(n,function(i){if(!i){try{t(null)}catch(f){}u.components.clearCachedDefinition(n);u.components.unregister(n);return}var r=i.createViewModel;r&&r.isOverriden||(i.createViewModel=function(t){var f=!1,i=undefined,u;return r===undefined?t:(u=r(t),e.publish("router-viewActivated",u,n),u.onLoad&&(i=u.onLoad(),i&&i.then&&(f=!0,i.then(function(){e.publish("component-viewModelLoaded",n)}))),t._ensureOnLoadPromise&&!f&&console.debug("OnLoad for component '"+n+"' should have returned a promise, but returned "+typeof i),u)},i.createViewModel.isOverriden=!0);t(i);e.publish("component-activated",n)})};u.components.defaultLoader.loadComponent=function(n,t,r){t&&t.template&&t.template.require&&t.viewModel&&t.viewModel.require?i([t.template.require,t.viewModel.require],function(t,i){var f=new Promise(function(i){u.components.defaultLoader.loadTemplate(n,t,i)}),e=new Promise(function(t){u.components.defaultLoader.loadViewModel(n,i,t)});Promise.all([f,e]).then(function(n){r({template:n[0],createViewModel:n[1]})})},function(){r(null)}):p(n,t,r)};u.components.defaultLoader.loadTemplate=function(n,t,i){if(e.publish("component-beforeTemplateLoad",n,t),t instanceof Error){try{i(null)}catch(r){}u.components.clearCachedDefinition(n);u.components.unregister(n);return}return y(n,t,function(r){var u=e.call("component-afterTemplateLoadAsync",Promise.resolve({componentName:n,templateConfig:t,resolvedTemplate:r}));u.then(function(){e.publish("component-afterTemplateLoad",n,t,r);i(r)})})};u.components.register("viewstack",{viewModel:{createViewModel:function(n){return n.instance||new o(n.options)}},template:'<div class="router-viewstack" data-bind="foreach: components"><div class="component-container" data-bind="component: $data, css: css, animationComplete: onAnimationComplete"><\/div><\/div>'});u.bindingHandlers.viewStack={init:function(n,t,i){return u.applyBindingsToNode(n,{component:{name:"viewstack",params:{instance:t(),options:i.get("viewStackOptions")}}}),{controlsDescendantBindings:!0}},update:function(){}};var w=function(){function t(n){n.forEach(function(n){n._isFound=!1})}var n=function(n){this.stateItems=[];this.sammy=n;this.isRunningNestedRoutes=!1};return n.prototype.setState=function(n,i,r,u){for(;this.stateItems.length>0&&!this.stateItems[this.stateItems.length-1]._isFound;)this.stateItems.pop().dispose();arguments.length!==0?this.stateItems.push({title:n,context:i,_isFound:!0,dispose:u}):t(this.stateItems)},n.prototype.clear=function(){while(this.stateItems.length>0)this.stateItems.pop().dispose()},n.prototype.findStateItem=function(n,t,i){return this.stateItems.find(function(r){return i(n,t,r)})},n.prototype.isStatePresent=function(n,i,r){this.isRunningNestedRoutes||t(this.stateItems);var u=this.findStateItem(n,i,r);return u&&(u._isFound=!0),!!u},n.prototype.runRoutes=function(n,i){var r,f,u;for(this.isRunningNestedRoutes=!0,t(this.stateItems),r=[n.path];i&&i.parent;)r.push(i.parent.path.exec(n.path)[0]),i=i.parent.options;this.routesToRun=r.length;u=function(n){if(n!=="viewstack"){if(r.length===0){for(f.dispose(),this.isRunningNestedRoutes=!1;!this.stateItems[this.stateItems.length-1]._isFound;)this.stateItems.pop().dispose();t(this.stateItems);return}var i=r.pop();this.routesToRun=r.length;this.sammy.runRoute("get",i)}}.bind(this);f=e.subscribe("component-activated",u);setTimeout(u,0)},n}(),b=function(){var n=function(){this.canLeaveCallback=undefined;this.onUnloadCallback=undefined;this.canLeave=this.canLeave.bind(this);this.canUnload=this.canUnload.bind(this);this.onUnload=this.onUnload.bind(this);this.reset=this.reset.bind(this);e.subscribe("router-viewActivated",this.onViewModelLoaded,this)};return n.prototype.canLeave=function(){var n=this.canLeaveCallback?this.canLeaveCallback():!0;return{val:n,message:"ViewModel cancelled navigation"}},n.prototype.canUnload=function(){return this.canUnloadCallback?this.canUnloadCallback():{val:!0,message:undefined}},n.prototype.onUnload=function(){this.onUnloadCallback&&this.onUnloadCallback()},n.prototype.reset=function(){this.canLeaveCallback=undefined;this.onUnloadCallback=undefined},n.prototype.onViewModelLoaded=function(n){this.canLeaveCallback=n&&n.canLeaveCallback;this.onUnloadCallback=n&&n.onUnloadCallback},n}(),k=function(){var l=new f.Application,p="",et="",nt="",k="",tt="",it=!1,ut=undefined,y=new w(l),b={},d=!1,lt=s&&s.defaultComponentName||"view",rt=[],g=function(n){return n&&n.indexOf("/#")!==-1?n:null},ot=function(n,t,i){return i.title===n},v=function(){this.navigateBack=this.navigateBack.bind(this);this.navigateTo=this.navigateTo.bind(this);this.registerRoute=this.registerRoute.bind(this);this.routeTo=this.routeTo.bind(this);this.run=this.run.bind(this);this.sammy=l;this.routerState=y;this.resolveBundle=s.resolveBundle||function(n,t){return(s?s.scriptBaseUrl:"")+n+"/"+t}},st=function(n){return decodeURIComponent(n||"").replace(/\+/g," ")},ft=function(n,t,i){return t[i]||n.defaults[i]},ht=function(n,t){var r={},i=n.path.exec(t);return i?(i.shift(),i.reduce(function(t,i,r){return n.param_names[r]&&(t[n.param_names[r]]=st(i)),t},r)):r},ct=function(n,t){var c=this,s=!1,e=0,r,h,i,u,o=c.routablePath(t),f;if(typeof this.routes[n]!="undefined")for(h=this.routes[n].length;e<h;e++)if(i=this.routes[n][e],o.match(i.path)){for(u=!0,f=undefined,r=0;r<i.callback.length;r++)u&&i.callback[r].constraint&&(f=f||ht(i,o),u=i.callback[r].constraint(f,o));if(u){s=i;break}}return s};return l.lookupRoute=ct.bind(l),l._checkFormSubmission=function(n){var t=n[0];return u.bindingProvider.prototype.getBindingsString(t,u.contextFor(t))===null},v.prototype.run=function(n){var r;p=n.baseUrl;et=(n.scriptBaseUrl||p).replace(/\/$/,"")+"/";nt=n.defaultTarget;this.initRoutes();var i=l.getLocation(),t=g(i)||g(n.defaultRouteUrl)||tt,f=g(i)||g(n.defaultTabletRouteUrl)||tt;u.bootstrap.currentBreakpoint()!==u.bootstrap.Breakpoints.xs&&(t=/#portfolio\/index$/i.test("/Investor/#Portfolio/Index")?f:t);t!=i&&(e.publish("system-suppressAjaxErrors",!0),window.location=t);r=function(){l.getLocation()!=t?setTimeout(r,5):(l.disable_push_state=n.disable_push_state||!1,l.raise_errors=!0,l.run(t),k=t,this.registerBeforeLeaving(),this.registerBeforeUnload())}.bind(this);setTimeout(r,0)},v.prototype.stop=function(){l.unload()},v.prototype.releaseUnload=function(){d&&(r(n).unbind("unload.routeMediator"),d=!1)},v.prototype.navigateBack=function(){this.releaseUnload();a.go(-1)},v.prototype.navigateTo=function(n){this.releaseUnload();l.getLocation()===n?l.refresh():l.setLocation(n)},v.prototype.register=function(n){rt.push(n)},v.prototype.initRoutes=function(){for(var n;rt.length>0;){if(n=rt.shift(),n.routes){n.routes.forEach(function(t){this.registerRoute({title:n.title,defaults:n.defaults,model:n.model,view:n.view,suppressAnalytics:n.suppressAnalytics,routePattern:t.routePattern,isDefault:t.isDefault,constraint:n.constraint,isRouterStatePresent:n.isRouterStatePresent,routes:t.routes})},this);continue}this.registerRoute(n)}},v.prototype.registerRoute=function(n){var r,t,f;if(!n.model&&!i)throw Error("model must be specified");r=(i?this.resolveComponentFromModule:this.resolveComponentFromNamespace).bind(this);n.routePattern=p+n.routePattern;n.isRouterStatePresent=n.isRouterStatePresent||ot;n.isDefault&&(tt=n.routePattern,this.setupComponentGet(n,r,p),/.+\/$/.test(p)&&this.setupComponentGet(n,r,p.replace(/\/$/,"")));this.setupComponentGet(n,r);n.routes&&(t=l.routes.get,f=t[t.length-1],n.routes.forEach(function(i){this.registerRoute({title:n.title,defaults:u.utils.extend(i.defaults||{},n.defaults),model:i.model||n.model,view:i.view||n.view,suppressAnalytics:i.suppressAnalytics||n.suppressAnalytics,routePattern:i.routePattern,isDefault:i.isDefault,constraint:i.constraint||n.constraint,isRouterStatePresent:i.isRouterStatePresent||n.isRouterStatePresent,parent:{options:n,path:new RegExp(c(f.path).replace(/\$$/,""))}});var r=t.pop();t.splice(t.indexOf(f),0,r)},this))},v.prototype.resolveComponentFromNamespace=function(t,i,r){var e=t+"-"+i,f;if(!u.components.isRegistered(e)){if(f={template:"template-"+controller+"-"+i},r.model)f.viewModel=r.model;else if(n.CPU&&n.CPU[t]&&n.CPU[t][i])f.viewModel=n.CPU[t][i];else throw new Error('For controller "'+t+'", action "'+i+'" viewModel was not supplied or not found in global.CPU namespace');u.components.register(e,f)}return e},v.prototype.resolveComponentFromModule=function(n,t,i){var r=n+"-"+t;return u.components.isRegistered(r)||(i.model?u.components.register(r,{instance:i.model,template:{require:"textTemplate!"+n+"/"+t}}):this.resolveBundle(n,t).then(function(i){u.components.register(r,{viewModel:{require:i},template:{require:"textTemplate!"+n+"/"+t}})})),r},v.prototype.setupComponentGet=function(n,i,r){var h=r||n.routePattern,s,f;b[n.title]=b[n.title]||{patterns:[]};s=this;f=function(r){e.publish("system-suppressAjaxErrors",!1);var l=ft(n,r.params,"controller").capitaliseFirstLetter(),a=ft(n,r.params,"action").capitaliseFirstLetter(),v=n.title||l+"-"+a,p=n.isRouterStatePresent,c=i(l,a,n);if(y.isStatePresent(v,r,p))y.isRunningNestedRoutes?e.publish("component-activated",c):y.setState();else{if(n.parent&&!y.isRunningNestedRoutes)return y.runRoutes(r,n),!1;s.releaseUnload();ut=r;var h=t.querySelector(n.view||nt),w=h&&h.querySelector(".router-viewstack"),f=w&&u.dataFor(w);if(!h)throw new Error("Router: "+n.view||nt+" element cannot be located");return f&&f.transitionView||(f=new o,u.cleanNode(h),u.applyBindingsToNode(h,{viewStack:f},f)),r.params.isTargetRoute=!y.routesToRun,f.transitionView(c,r.params).then(function(n){n&&y.setState(v,r,p,n)}),e.publish("router-urlActivated",c.replace(/-/,"/")),!0}};n.constraint&&(f.constraint=n.constraint);l.get(h,f);b[n.title].patterns.push(l.routes.get.slice(-1)[0])},v.prototype.getUsableRoute=function(n){return n&&n.indexOf("/#")!==-1?n:null},v.prototype.registerBeforeLeaving=function(){l.before(/.*/,function(){var t=this,n=h.routeMediator.canLeave();return it||n.val?(it=!1,k=t.app.getLocation(),n.val&&h.routeMediator.reset()):(it=!0,k&&t.app.setLocation(k)),n.val})},v.prototype.registerBeforeUnload=function(){r(n).bind("beforeunload",function(){var t=h.routeMediator.canUnload(),i=t.val?undefined:t.message;return i!==undefined&&(d&&r(n).unbind("unload.routeMediator"),d=!0,r(n).bind("unload.routeMediator",function(){h.routeMediator.onUnload()})),i})},v.prototype.requestedContext=function(){return ut},v.prototype.routeFor=function(n,t,i){var f,e,o,r,s,u,h,l;if((typeof n!="string"&&arguments.length===1||typeof t=="boolean"&&arguments.length===2)&&(i=t||!1,t=n,n=undefined),f=b[n],!f||f.patterns.length===0)return p;for(e=Object.getOwnPropertyNames(t),o=0;o<b[n].patterns.length;o++)if((r=f.patterns[o],r.param_names.length==r.param_names.filter(function(n){return e.indexOf(n)>=0}).length)&&(!i||r.param_names.length==e.length)){for(s=!0,u=0;u<r.callback.length;u++)s&&r.callback[u].constraint&&(s=r.callback[u].constraint(t));if(s){for(h=c(r.path),l=0;l<r.param_names.length;l++)h=h.replace("([^/]+)",this.serialiseParam(t[r.param_names[l]]));var a="",v=e.filter(function(n){return r.param_names.indexOf(n)<0});return v.forEach(function(n){a=a.concat("&",n,"=",this.serialiseParam(t[n]))}.bind(this)),h.replace(/\$$/,"")+a.replace(/&/,"?")}}return null},v.prototype.routeTo=function(n,t){arguments.length===1&&typeof n!="string"&&(t=n,n=undefined);var i=this.routeFor(n,t);i&&this.navigateTo(i)},v.prototype.reload=function(){this.routerState.clear();l.runRoute("get",l.getLocation())},v.prototype.serialiseParam=function(n){var t;return t=n instanceof Date?n.valueOf():typeof n=="object"?JSON.stringify(n):typeof n.toString=="function"?n.toString():String(n),encodeURIComponent(t)},v}();h.routeMediator=new b;h.router=new k};u(f)}();String.prototype.capitaliseFirstLetter=function(){return this.charAt(0).toUpperCase()+this.slice(1)},function(n){typeof define=="function"&&define.amd?define("sammy",["jquery"],n):jQuery.sammy=window.Sammy=n(jQuery)}(function(n){var t,p="([^/]+)",s=/:([\w\d]+)/g,c=/\?([^#]*)?$/,r=function(n){return Array.prototype.slice.call(n)},i=function(n){return Object.prototype.toString.call(n)==="[object Function]"},u=function(n){return Object.prototype.toString.call(n)==="[object Array]"},l=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},e=function(n){return decodeURIComponent((n||"").replace(/\+/g," "))},a=encodeURIComponent,v=function(n){return String(n).replace(/&(?!\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},f=function(n){return function(){return this.route.apply(this,[n].concat(Array.prototype.slice.call(arguments)))}},h={},o=!!(window.history&&history.pushState),y=[];return t=function(){var u=r(arguments),f,e;return(t.apps=t.apps||{},u.length===0||u[0]&&i(u[0]))?t.apply(t,["body"].concat(u)):typeof(e=u.shift())=="string"?(f=t.apps[e]||new t.Application,f.element_selector=e,u.length>0&&n.each(u,function(n,t){f.use(t)}),f.element_selector!=e&&delete t.apps[e],t.apps[f.element_selector]=f,f):void 0},t.VERSION="0.7.6",t.addLogger=function(n){y.push(n)},t.log=function(){var i=r(arguments);i.unshift("["+Date()+"]");n.each(y,function(n,r){r.apply(t,i)})},typeof console!="undefined"?typeof window.console.log=="function"&&i(window.console.log.apply)?t.addLogger(function(){window.console.log.apply(window.console,arguments)}):t.addLogger(function(){window.console.log(arguments)}):typeof console!="undefined"&&t.addLogger(function(){console.log.apply(console,arguments)}),n.extend(t,{makeArray:r,isFunction:i,isArray:u}),t.Object=function(t){return n.extend(this,t||{})},n.extend(t.Object.prototype,{escapeHTML:v,h:v,toHash:function(){var t={};return n.each(this,function(n,r){i(r)||(t[n]=r)}),t},toHTML:function(){var t="";return n.each(this,function(n,r){i(r)||(t+="<strong>"+n+"<\/strong> "+r+"<br />")}),t},keys:function(n){var r=[],t;for(t in this)i(this[t])&&n||r.push(t);return r},has:function(t){return this[t]&&n.trim(this[t].toString())!==""},join:function(){var n=r(arguments),t=n.shift();return n.join(t)},log:function(){t.log.apply(t,arguments)},toString:function(t){var r=[];return n.each(this,function(n,u){(!i(u)||t)&&r.push('"'+n+'": '+u.toString())}),"Sammy.Object: {"+r.join(",")+"}"}}),t.targetIsThisWindow=function(t,i){var u=n(t.target).closest(i),r;return u.length===0?!0:(r=u.attr("target"),!r||r===window.name||r==="_self")?!0:r==="_blank"?!1:r==="top"&&window===window.top?!0:!1},t.DefaultLocationProxy=function(n,t){this.app=n;this.is_native=!1;this.has_history=o;this._startPolling(t)},t.DefaultLocationProxy.fullPath=function(n){var t=n.toString().match(/^[^#]*(#.*)$/),i=t?t[1]:"";return[n.pathname,n.search,i].join("")},n.extend(t.DefaultLocationProxy.prototype,{bind:function(){var u=this,r=this.app,i=t.DefaultLocationProxy;n(window).bind("hashchange."+this.app.eventNamespace(),function(n,t){u.is_native!==!1||t||(u.is_native=!0,window.clearInterval(i._interval),i._interval=null);r.trigger("location-changed")});o&&!r.disable_push_state&&(n(window).bind("popstate."+this.app.eventNamespace(),function(){r.trigger("location-changed")}),n(document).delegate("a","click.history-"+this.app.eventNamespace(),function(n){if(!n.isDefaultPrevented()&&!n.metaKey&&!n.ctrlKey){var f=i.fullPath(this),e=this.hostname?this.hostname:function(n){var t=document.createElement("a");return t.href=n.href,t.hostname}(this);if(e==window.location.hostname&&r.lookupRoute("get",f)&&t.targetIsThisWindow(n,"a"))return n.preventDefault(),u.setLocation(f),!1}}));i._bindings||(i._bindings=0);i._bindings++},unbind:function(){n(window).unbind("hashchange."+this.app.eventNamespace());n(window).unbind("popstate."+this.app.eventNamespace());n(document).undelegate("a","click.history-"+this.app.eventNamespace());t.DefaultLocationProxy._bindings--;t.DefaultLocationProxy._bindings<=0&&(window.clearInterval(t.DefaultLocationProxy._interval),t.DefaultLocationProxy._interval=null)},getLocation:function(){return t.DefaultLocationProxy.fullPath(window.location)},setLocation:function(n){if(/^([^#\/]|$)/.test(n)&&(n=o&&!this.app.disable_push_state?"/"+n:"#!/"+n),n!=this.getLocation())if(o&&!this.app.disable_push_state&&/^\//.test(n))history.pushState({path:n},window.title,n),this.app.trigger("location-changed");else return window.location=n},_startPolling:function(i){var u=this,r;t.DefaultLocationProxy._interval||(i||(i=10),r=function(){var i=u.getLocation();(typeof t.DefaultLocationProxy._last_location=="undefined"||i!=t.DefaultLocationProxy._last_location)&&window.setTimeout(function(){n(window).trigger("hashchange",[!0])},0);t.DefaultLocationProxy._last_location=i},r(),t.DefaultLocationProxy._interval=window.setInterval(r,i))}}),t.Application=function(n){var r=this;this.routes={};this.listeners=new t.Object({});this.arounds=[];this.befores=[];this.namespace=(new Date).getTime()+"-"+parseInt(Math.random()*1e3,10);this.context_prototype=function(){t.EventContext.apply(this,arguments)};this.context_prototype.prototype=new t.EventContext;i(n)&&n.apply(this,[this]);this._location_proxy||this.setLocationProxy(new t.DefaultLocationProxy(this,this.run_interval_every));this.debug&&this.bindToAllEvents(function(n,t){r.log(r.toString(),n.cleaned_type,t||{})})},t.Application.prototype=n.extend({},t.Object.prototype,{ROUTE_VERBS:["get","post","put","delete"],APP_EVENTS:["run","unload","lookup-route","run-route","route-found","event-context-before","event-context-after","changed","error","check-form-submission","redirect","location-changed"],_last_route:null,_location_proxy:null,_running:!1,element_selector:"body",debug:!1,raise_errors:!1,run_interval_every:50,disable_push_state:!1,template_engine:null,toString:function(){return"Sammy.Application:"+this.element_selector},$element:function(t){return t?n(this.element_selector).find(t):n(this.element_selector)},use:function(){var u=r(arguments),n=u.shift(),f=n||"";try{u.unshift(this);typeof n=="string"&&(f="Sammy."+n,n=t[n]);n.apply(this,u)}catch(e){typeof n=="undefined"?this.error("Plugin Error: called use() but plugin ("+f.toString()+") is not defined",e):i(n)?this.error("Plugin Error",e):this.error("Plugin Error: called use() but '"+f.toString()+"' is not a function",e)}return this},setLocationProxy:function(n){var t=this._location_proxy;this._location_proxy=n;this.isRunning()&&(t&&t.unbind(),this._location_proxy.bind())},log:function(){t.log.apply(t,Array.prototype.concat.apply([this.element_selector],arguments))},route:function(t,r){var f=this,o=[],e,h,u=Array.prototype.slice.call(arguments,2);if(u.length===0&&i(r)&&(u=[r],r=t,t="any"),t=t.toLowerCase(),r.constructor==String){for(s.lastIndex=0;(h=s.exec(r))!==null;)o.push(h[1]);r=new RegExp(r.replace(s,p)+"$","i")}return n.each(u,function(n,t){typeof t=="string"&&(u[n]=f[t])}),e=function(n){var t={verb:n,path:r,callback:u,param_names:o};f.routes[n]=f.routes[n]||[];f.routes[n].push(t)},t==="any"?n.each(this.ROUTE_VERBS,function(n,t){e(t)}):e(t),this},get:f("get"),post:f("post"),put:f("put"),del:f("delete"),any:f("any"),mapRoutes:function(t){var i=this;return n.each(t,function(n,t){i.route.apply(i,t)}),this},eventNamespace:function(){return["sammy-app",this.namespace].join("-")},bind:function(n,t,i){var r=this,u;return typeof i=="undefined"&&(i=t),u=function(){var t,u,n;t=arguments[0];n=arguments[1];n&&n.context?(u=n.context,delete n.context):u=new r.context_prototype(r,"bind",t.type,n,t.target);t.cleaned_type=t.type.replace(r.eventNamespace(),"");i.apply(u,[t,n])},this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push(u),this.isRunning()&&this._listen(n,u),this},trigger:function(n,t){return this.$element().trigger([n,this.eventNamespace()].join("."),[t]),this},refresh:function(){return this.last_location=null,this.trigger("location-changed"),this},before:function(n,t){return i(n)&&(t=n,n={}),this.befores.push([n,t]),this},after:function(n){return this.bind("event-context-after",n)},around:function(n){return this.arounds.push(n),this},onComplete:function(n){return this._onComplete=n,this},isRunning:function(){return this._running},helpers:function(t){return n.extend(this.context_prototype.prototype,t),this},helper:function(n,t){return this.context_prototype.prototype[n]=t,this},run:function(i){if(this.isRunning())return!1;var r=this;return n.each(this.listeners.toHash(),function(t,i){n.each(i,function(n,i){r._listen(t,i)})}),this.trigger("run",{start_url:i}),this._running=!0,this.last_location=null,/\#(.+)/.test(this.getLocation())||typeof i=="undefined"||this.setLocation(i),this._checkLocation(),this._location_proxy.bind(),this.bind("location-changed",function(){r._checkLocation()}),this.bind("submit",function(i){if(!t.targetIsThisWindow(i,"form"))return!0;var u=r._checkFormSubmission(n(i.target).closest("form"));return u===!1?i.preventDefault():!1}),n(window).bind("unload",function(){r.unload()}),this.trigger("changed")},unload:function(){if(!this.isRunning())return!1;var t=this;return this.trigger("unload"),this._location_proxy.unbind(),this.$element().unbind("submit").removeClass(t.eventNamespace()),n.each(this.listeners.toHash(),function(i,r){n.each(r,function(n,r){t._unlisten(i,r)})}),this._running=!1,this},destroy:function(){return this.unload(),delete t.apps[this.element_selector],this},bindToAllEvents:function(t){var i=this;return n.each(this.APP_EVENTS,function(n,r){i.bind(r,t)}),n.each(this.listeners.keys(!0),function(r,u){n.inArray(u,i.APP_EVENTS)==-1&&i.bind(u,t)}),this},routablePath:function(n){return n.replace(c,"")},lookupRoute:function(n,t){var e=this,u=!1,i=0,f,r;if(typeof this.routes[n]!="undefined")for(f=this.routes[n].length;i<f;i++)if(r=this.routes[n][i],e.routablePath(t).match(r.path)){u=r;break}return u},runRoute:function(t,i,r,u){var s=this,f=this.lookupRoute(t,i),o,c,y,l,a,h,v,p;if(this.debug&&this.log("runRoute",[t,i].join(" ")),this.trigger("run-route",{verb:t,path:i,params:r}),typeof r=="undefined"&&(r={}),n.extend(r,this._parseQueryString(i)),f){this.trigger("route-found",{route:f});(v=f.path.exec(this.routablePath(i)))!==null&&(v.shift(),n.each(v,function(n,t){f.param_names[n]?r[f.param_names[n]]=e(t):(r.splat||(r.splat=[]),r.splat.push(e(t)))}));o=new this.context_prototype(this,t,i,r,u);y=this.arounds.slice(0);l=this.befores.slice(0);h=[o];r.splat&&(h=h.concat(r.splat));c=function(){for(var n,t,i;l.length>0;)if(a=l.shift(),s.contextMatchesOptions(o,a[0])&&(n=a[1].apply(o,[o]),n===!1))return!1;return s.last_route=f,o.trigger("event-context-before",{context:o}),typeof f.callback=="function"&&(f.callback=[f.callback]),f.callback&&f.callback.length&&(t=-1,i=function(){t++;f.callback[t]?n=f.callback[t].apply(o,h):s._onComplete&&typeof(s._onComplete==="function")&&s._onComplete(o)},h.push(i),i()),o.trigger("event-context-after",{context:o}),n};n.each(y.reverse(),function(n,t){var i=c;c=function(){return t.apply(o,[i])}});try{p=c()}catch(w){this.error(["500 Error",t,i].join(" "),w)}return p}return this.notFound(t,i)},contextMatchesOptions:function(t,i,r){var f=i,h,e,a,v,c,o,s;if((typeof f=="string"||l(f))&&(f={path:f}),typeof r=="undefined"&&(r=!0),n.isEmptyObject(f))return!0;if(u(f.path)){for(h=[],e=0,v=f.path.length;e<v;e+=1)a=n.extend({},f,{path:f.path[e]}),h.push(this.contextMatchesOptions(t,a));return c=n.inArray(!0,h)>-1?!0:!1,r?c:!c}return f.only?this.contextMatchesOptions(t,f.only,!0):f.except?this.contextMatchesOptions(t,f.except,!1):(o=!0,s=!0,f.path&&(l(f.path)||(f.path=new RegExp(f.path.toString()+"$")),o=f.path.test(t.path)),f.verb&&(s=typeof f.verb=="string"?f.verb===t.verb:f.verb.indexOf(t.verb)>-1),r?s&&o:!(s&&o))},getLocation:function(){return this._location_proxy.getLocation()},setLocation:function(n){return this._location_proxy.setLocation(n)},swap:function(n,t){var r=this.$element().html(n);return i(t)&&t(n),r},templateCache:function(n,t){return typeof t!="undefined"?h[n]=t:h[n]},clearTemplateCache:function(){return h={}},notFound:function(n,t){var i=this.error(["404 Not Found",n,t].join(" "));return n==="get"?i:!0},error:function(n,t){if(t||(t=new Error),t.message=[n,t.message].join(" "),this.trigger("error",{message:t.message,error:t}),this.raise_errors)throw t;else this.log(t.message,t)},_checkLocation:function(){var n,t;return n=this.getLocation(),this.last_location&&this.last_location[0]=="get"&&this.last_location[1]==n||(this.last_location=["get",n],t=this.runRoute("get",n)),t},_getFormVerb:function(t){var u=n(t),i,r;return r=u.find('input[name="_method"]'),r.length>0&&(i=r.val()),i||(i=u[0].getAttribute("method")),i&&i!==""||(i="get"),n.trim(i.toString().toLowerCase())},_checkFormSubmission:function(t){var i,r,f,u,e;return this.trigger("check-form-submission",{form:t}),i=n(t),r=i.attr("action")||"",f=this._getFormVerb(i),this.debug&&this.log("_checkFormSubmission",i,r,f),f==="get"?(u=this._serializeFormParams(i),u!==""&&(r+="?"+u),this.setLocation(r),e=!1):(u=n.extend({},this._parseFormParams(i)),e=this.runRoute(f,r,u,t.get(0))),typeof e=="undefined"?!1:e},_serializeFormParams:function(n){var r="",t=n.serializeArray(),i;if(t.length>0)for(r=this._encodeFormPair(t[0].name,t[0].value),i=1;i<t.length;i++)r=r+"&"+this._encodeFormPair(t[i].name,t[i].value);return r},_encodeFormPair:function(n,t){return a(n)+"="+a(t)},_parseFormParams:function(n){for(var i={},r=n.serializeArray(),t=0;t<r.length;t++)i=this._parseParamPair(i,r[t].name,r[t].value);return i},_parseQueryString:function(n){var r={},t,u,f,i;if(t=n.match(c),t&&t[1])for(u=t[1].split("&"),i=0;i<u.length;i++)f=u[i].split("="),r=this._parseParamPair(r,e(f[0]),e(f[1]||""));return r},_parseParamPair:function(n,t,i){return typeof n[t]!="undefined"?u(n[t])?n[t].push(i):n[t]=[n[t],i]:n[t]=i,n},_listen:function(n,t){return this.$element().bind([n,this.eventNamespace()].join("."),t)},_unlisten:function(n,t){return this.$element().unbind([n,this.eventNamespace()].join("."),t)}}),t.RenderContext=function(n){this.event_context=n;this.callbacks=[];this.previous_content=null;this.content=null;this.next_engine=!1;this.waiting=!1},t.RenderContext.prototype=n.extend({},t.Object.prototype,{then:function(n){var r,t;if(!i(n))if(typeof n=="string"&&n in this.event_context)r=this.event_context[n],n=function(n){return r.apply(this.event_context,[n])};else return this;return t=this,this.waiting?this.callbacks.push(n):(this.wait(),window.setTimeout(function(){var i=n.apply(t,[t.content,t.previous_content]);i!==!1&&t.next(i)},0)),this},wait:function(){this.waiting=!0},next:function(n){this.waiting=!1;typeof n!="undefined"&&(this.previous_content=this.content,this.content=n);this.callbacks.length>0&&this.then(this.callbacks.shift())},load:function(t,r,u){var f=this;return this.then(function(){var e,s,o;return(i(r)?(u=r,r={}):r=n.extend({},r),u&&this.then(u),typeof t=="string")?(o=t.match(/\.json(\?|$)/)||r.json,e=o?r.cache===!0:r.cache!==!1,f.next_engine=f.event_context.engineFor(t),delete r.cache,delete r.json,r.engine&&(f.next_engine=r.engine,delete r.engine),e&&(s=this.event_context.app.templateCache(t)))?s:(this.wait(),n.ajax(n.extend({url:t,data:{},dataType:o?"json":"text",type:"get",success:function(n){e&&f.event_context.app.templateCache(t,n);f.next(n)}},r)),!1):t.nodeType?t.innerHTML:t.selector?(f.next_engine=t.attr("data-engine"),r.clone===!1?t.remove()[0].innerHTML.toString():t[0].innerHTML.toString()):void 0})},loadPartials:function(n){var t;if(n){this.partials=this.partials||{};for(t in n)(function(t,i){t.load(n[i]).then(function(n){this.partials[i]=n})})(this,t)}return this},render:function(n,t,r,u){return i(n)&&!t?this.then(n):(i(t)?(u=r,r=t,t=null):r&&!i(r)&&(u=r,r=null),this.loadPartials(u).load(n).interpolate(t,n).then(r))},partial:function(n,t,r,u){return i(r)?this.render(n,t,u).swap(r):i(t)?this.render(n,{},r).swap(t):this.render(n,t,r).swap()},send:function(){var t=this,n=r(arguments),i=n.shift();return u(n[0])&&(n=n[0]),this.then(function(){return n.push(function(n){t.next(n)}),t.wait(),i.apply(i,n),!1})},collect:function(t,r,u){var e=this,f=function(){i(t)&&(r=t,t=this.content);var u=[],f=!1;return n.each(t,function(n,t){var i=r.apply(e,[n,t]);return i.jquery&&i.length==1&&(i=i[0],f=!0),u.push(i),i}),f?u:u.join("")};return u?f():this.then(f)},renderEach:function(t,i,r,f){return u(i)&&(f=r,r=i,i=null),this.load(t).then(function(e){var o=this;if(r||(r=u(this.previous_content)?this.previous_content:[]),f)n.each(r,function(n,r){var u={},s=this.next_engine||t;i?u[i]=r:u=r;f(r,o.event_context.interpolate(e,u,s))});else return this.collect(r,function(n,r){var u={},f=this.next_engine||t;return i?u[i]=r:u=r,this.event_context.interpolate(e,u,f)},!0)})},interpolate:function(n,t,i){var r=this;return this.then(function(u,f){!n&&f&&(n=f);this.next_engine&&(t=this.next_engine,this.next_engine=!1);var e=r.event_context.interpolate(u,n,t,this.partials);return i?f+e:e})},swap:function(n){return this.then(function(t){return this.event_context.swap(t,n),t}).trigger("changed",{})},appendTo:function(t){return this.then(function(i){n(t).append(i)}).trigger("changed",{})},prependTo:function(t){return this.then(function(i){n(t).prepend(i)}).trigger("changed",{})},replace:function(t){return this.then(function(i){n(t).html(i)}).trigger("changed",{})},trigger:function(n,t){return this.then(function(i){return typeof t=="undefined"&&(t={content:i}),this.event_context.trigger(n,t),i})}}),t.EventContext=function(n,i,r,u,f){this.app=n;this.verb=i;this.path=r;this.params=new t.Object(u);this.target=f},t.EventContext.prototype=n.extend({},t.Object.prototype,{$element:function(){return this.app.$element(r(arguments).shift())},engineFor:function(n){var t=this,r;return i(n)?n:(n=(n||t.app.template_engine).toString(),(r=n.match(/\.([^\.\?\#]+)(\?|$)/))&&(n=r[1]),n&&i(t[n]))?t[n]:t.app.template_engine?this.engineFor(t.app.template_engine):function(n){return n}},interpolate:function(n,t,i,r){return this.engineFor(i).apply(this,[n,t,r])},render:function(n,i,r,u){return new t.RenderContext(this).render(n,i,r,u)},renderEach:function(n,i,r,u){return new t.RenderContext(this).renderEach(n,i,r,u)},load:function(n,i,r){return new t.RenderContext(this).load(n,i,r)},loadPartials:function(n){return new t.RenderContext(this).loadPartials(n)},partial:function(n,i,r,u){return new t.RenderContext(this).partial(n,i,r,u)},send:function(){var n=new t.RenderContext(this);return n.send.apply(n,arguments)},redirect:function(){var t,i=r(arguments),l=this.app.getLocation(),o=i.length,f;if(o>1){for(var u=0,s=[],h=[],e={},c=!1;u<o;u++)typeof i[u]=="string"?s.push(i[u]):(n.extend(e,i[u]),c=!0);if(t=s.join("/"),c){for(f in e)h.push(this.app._encodeFormPair(f,e[f]));t+="?"+h.join("&")}}else t=i[0];this.trigger("redirect",{to:t});this.app.last_location=[this.verb,this.path];this.app.setLocation(t);new RegExp(t).test(l)&&this.app.trigger("location-changed")},trigger:function(n,t){return typeof t=="undefined"&&(t={}),t.context||(t.context=this),this.app.trigger(n,t)},eventNamespace:function(){return this.app.eventNamespace()},swap:function(n,t){return this.app.swap(n,t)},notFound:function(){return this.app.notFound(this.verb,this.path)},json:function(t){return n.parseJSON(t)},toString:function(){return"Sammy.EventContext: "+[this.verb,this.path,this.params].join(" ")}}),t})