@aranova/tracking-browser 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- var AranovaTracking=(function(exports){'use strict';function Cn(e){let t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,o])=>t.indexOf(+r)===-1).map(([r,o])=>o)}function Mo(e,t){return typeof t=="bigint"?t.toString():t}var xn=class{constructor(t){this._getter=t,this._value=void 0;}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function Fo(e){return new xn(e)}function Lo(e){return e==null}function wt(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}var No=Symbol("evaluating");function Do(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==No)return r===void 0&&(r=No,r=n()),r},set(o){Object.defineProperty(e,t,{value:o});},configurable:true});}function Zo(e,t,n){Object.defineProperty(e,t,{value:n,writable:true,enumerable:true,configurable:true});}var wn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ct(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function jo(e){if(Ct(e)===false)return false;let t=e.constructor;if(t===void 0||typeof t!="function")return true;let n=t.prototype;return !(Ct(n)===false||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===false)}var Uo=new Set(["string","number","symbol"]);function Sn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ye(e,t,n){let r=new e._zod.constr(t??e._zod.def);return (!t||n?.parent)&&(r._zod.parent=e),r}function S(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Bo(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Vo={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function J(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==true)return true;return false}function Go(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===false)return true;return false}function se(e,t){return t.map(n=>{var r;return (r=n).path??(r.path=[]),n.path.unshift(e),n})}function We(e){return typeof e=="string"?e:e?.message}function kn(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n);}function ee(e,t,n){var r;let o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:We(e.inst?._zod.def?.error?.(e))??We(i?.(e))??We(t?.error?.(e))??We(n.customError?.(e))??We(n.localeError?.(e))??"Invalid input",s={};for(let u of Object.keys(e))u==="inst"||u==="schema"||u==="continue"||u==="input"||u==="__proto__"||(s[u]=e[u]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}var Tu=/[\uD800-\uDBFF]/;function Pn(e){let t=e.length;if(!Tu.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function En(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Tn(...e){let[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function Ko(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:false}):Ro(e,n,r.value);}for(let n of Object.getOwnPropertySymbols(t))Ro(e,n,t[n]);}function pe(e,t,n,r=true){return Object.defineProperty(e,t,{configurable:true,writable:true,enumerable:r,value:n}),n}function Ho(e,t,n){return pe(e,t,n,false)}function Ro(e,t,n){Object.defineProperty(e,t,{configurable:true,get(){return this==null?n:pe(this,t,n.bind(this))},set(r){pe(this,t,r);}});}function Au(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var bn,ae=false,Iu={configurable:true,get(){ae=true;}};function A(e,t,n){let r=Object.getPrototypeOf(e._zod);if(t in r&&bn!==e._zod){bn=void 0;return}bn=e._zod,Object.defineProperty(r,t,{configurable:true,get(){Object.defineProperty(this,t,Iu);let o=ae;ae=false;try{let i=n(this);return ae?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),ae=ae||o,i}catch(i){throw delete this[t],ae=ae||o,i}},set(o){Object.defineProperty(this,t,{configurable:true,writable:true,value:o});}});}function qo(e,t,n,r){let o=Au(e,t);o&&Object.defineProperty(o,t,{configurable:true,get(){let i={configurable:true,writable:true,enumerable:r,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:true,writable:true,enumerable:r,value:i});}});}var Wo;var An={value:void 0,enumerable:false},Yo="captureStackTrace"in Error?Error:null;function zu(e){let t=Yo;if(t){let n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0;}catch{return Yo=null,new e}try{return new e}finally{t.stackTraceLimit=n;}}}return new e}function y(e,t,n,r){let o={};function i(f){this.def=f,this.constr=c,this.traits=new Set;}i.prototype=o;let a=n,s=a&&new WeakSet;function u(f,m){if(!f._zod){An.value=new i(m);try{Object.defineProperty(f,"_zod",An);}finally{An.value=void 0;}}if(f._zod.traits.has(e))return;if(f._zod.traits.add(e),t(f,m),s){let $=Object.getPrototypeOf(f),_=f._zod.constr.prototype,P=$;for(;P&&P!==_;)P=Object.getPrototypeOf(P);let w=P??$;s.has(w)||(s.add(w),Ko(w,a));}let p=c.prototype;for(let $ in p)Object.prototype.hasOwnProperty.call(p,$)&&($ in f||(f[$]=p[$].bind(f)));}let d=r?.Parent??Object;class l extends d{}Object.defineProperty(l,"name",{value:e});function c(f){let m=r?.Parent?zu(l):this;u(m,f);let p=m._zod.deferred;if(p){for(let _ of p)_();m._zod.deferred=void 0;}let $=globalThis.__zod_globalConfig?.postProcessor;return $&&$(m),m}return Object.defineProperty(c,"init",{value:u}),Object.defineProperty(c,Symbol.hasInstance,{value:f=>r?.Parent&&f instanceof r.Parent?true:f?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var te=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}};(Wo=globalThis).__zod_globalConfig??(Wo.__zod_globalConfig={});var Se=globalThis.__zod_globalConfig;function H(e){return Se}function Ou(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Mo,2)),e.message}function Nu(e){this._zod.message=e;}var Ru={get:Ou,set:Nu,enumerable:true,configurable:true},zn={value:void 0,enumerable:false},Xo=new WeakSet([Object.prototype,Error.prototype]),Qo=(e,t)=>{e.name="$ZodError",zn.value=t,Object.defineProperty(e,"issues",zn),zn.value=void 0,Object.defineProperty(e,"message",Ru);let n=Object.getPrototypeOf(e);Xo.has(n)||(Xo.add(n),Object.defineProperty(n,"toString",{configurable:true,enumerable:false,get(){let r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true});}}));};y("$ZodError",Qo);var Xe=y("$ZodError",Qo,void 0,{Parent:Error});var Fu=e=>{let t=(n,r,o,i)=>{let a=o?{...o,async:false}:{async:false},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new te;if(s.issues.length){let u=new(i?.Err??e)(s.issues.map(d=>ee(d,a,H())));throw wn(u,i?.callee??t),u}return s.value};return t},me=Fu(Xe),Lu=e=>{let t=async(n,r,o,i)=>{let a=o?{...o,async:true}:{async:true},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let u=new(i?.Err??e)(s.issues.map(d=>ee(d,a,H())));throw wn(u,i?.callee??t),u}return s.value};return t},On=Lu(Xe),Du=e=>(t,n,r)=>{let o=r?{...r,async:false}:{async:false},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new te;return i.issues.length?Jo(e,i.issues,o):{success:true,data:i.value}},Nn=Du(Xe);function Jo(e,t,n){let r;return {success:false,get error(){return r||(r=new e(t.map(o=>ee(o,n,H()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0;}}}var Zu=e=>async(t,n,r)=>{let o=r?{...r,async:true}:{async:true},i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?Jo(e,i.issues,o):{success:true,data:i.value}},Rn=Zu(Xe);var Mn=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;var ei=/^[\s\S]{0,}$/;var Fn=/^-?\d+(?:\.\d+)?$/,ti=/^(?:true|false)$/i,ni=/^null$/i;var q=y("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[]);});var ri=e=>{let t=e.value;return !Lo(t)&&t.length!==void 0},St={number:"number",bigint:"bigint",object:"date"},oi=y("$ZodCheckLessThan",(e,t)=>{q.init(e,t);let n=St[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:St[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};}),Dn=y("$ZodCheckGreaterThan",(e,t)=>{q.init(e,t);let n=St[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:St[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};});var ii=y("$ZodCheckNumberFormat",(e,t)=>{q.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[o,i]=Vo[t.format];e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:r,format:t.format,code:"invalid_type",continue:false,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort});return}}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:true,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:true,inst:e,continue:!t.abort});};});var ai=y("$ZodCheckMaxLength",(e,t)=>{var n;q.init(e,t),(n=e._zod.def).when??(n.when=ri),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?Pn(o):i)<=t.maximum)return;let s=En(o);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:true,input:o,inst:e,continue:!t.abort});};}),si=y("$ZodCheckMinLength",(e,t)=>{var n;q.init(e,t),(n=e._zod.def).when??(n.when=ri),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?Pn(o):i)>=t.minimum)return;let s=En(o);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:true,input:o,inst:e,continue:!t.abort});};});var Zn=y("$ZodCheckStringFormat",(e,t)=>{var n,r;q.init(e,t),t.pattern?(n=e._zod).check??(n.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(r=e._zod).check??(r.check=()=>{});}),ui=y("$ZodCheckRegex",(e,t)=>{Zn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var di={major:4,minor:6,patch:2};var I=y("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=di;let r=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r?.length?[...r]:[];for(let i of o)for(let a of i._zod.onattach)a(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let i=(s,u,d)=>{if(s.memo)return s;let l=J(s),c;for(let f of u){if(f._zod.def.when){if(Go(s)||!f._zod.def.when(s))continue}else if(l)continue;let m=s.issues.length,p=f._zod.check(s);if(p instanceof Promise&&d?.async===false)throw new te;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,s.issues.length!==m&&(kn(s.issues,m,e),l||(l=J(s,m)));});else {if(s.issues.length===m)continue;kn(s.issues,m,e),l||(l=J(s,m));}}return c?c.then(()=>s):s},a=(s,u,d)=>{if(J(s))return s.aborted=true,s;let l=i(u,o,d);if(l instanceof Promise){if(d.async===false)throw new te;return l.then(c=>e._zod.parse(c,d))}return e._zod.parse(l,d)};e._zod.run=(s,u)=>{if(u.skipChecks)return e._zod.parse(s,u);if(u.direction==="backward"){let l=e._zod.parse({value:s.value,issues:[]},{...u,skipChecks:true});return l instanceof Promise?l.then(c=>a(c,s,u)):a(l,s,u)}let d=e._zod.parse(s,u);if(d instanceof Promise){if(u.async===false)throw new te;return d.then(l=>i(l,o,u))}return i(d,o,u)};}},{get"~standard"(){return Ho(this,"~standard",Uu(this))},set"~standard"(e){pe(this,"~standard",e);}}),gi=(e,t)=>e.issues.length?{issues:e.issues.map(n=>ee(n,t,H()))}:{value:e.value};async function ju(e,t){let n={async:true};return gi(await e._zod.run({value:t,issues:[]},n),n)}function Uu(e){return {validate:t=>{let n={async:false};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return gi(r,n)}catch{}return ju(e,t)},vendor:"zod",version:1}}var jn=y("$ZodString",(e,t)=>{I.init(e,t),e._zod.pattern=t.pattern??ei,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value);}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n};}),Un=y("$ZodStringFormat",(e,t)=>{Zn.init(e,t),jn.init(e,t);});var $i=y("$ZodUUID",(e,t)=>{if(t.version){let r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Mn(r));}else t.pattern??(t.pattern=Mn());Un.init(e,t);});var Bn=y("$ZodNumber",(e,t)=>{I.init(e,t),e._zod.pattern=Fn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value);}catch{}let o=n.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return n;let i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),n};}),hi=y("$ZodNumberFormat",(e,t)=>{ii.init(e,t),Bn.init(e,t);}),yi=y("$ZodBoolean",(e,t)=>{I.init(e,t),e._zod.pattern=ti,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value;}catch{}let o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n};});var _i=y("$ZodNull",(e,t)=>{I.init(e,t),e._zod.pattern=ni,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{let o=n.value;return o===null||n.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),n};});var vi=y("$ZodUnknown",(e,t)=>{I.init(e,t),e._zod.parse=n=>n;}),bi=y("$ZodNever",(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n);});function li(e,t,n){e.issues.length&&t.issues.push(...se(n,e.issues)),t.value[n]=e.value;}var xi=y("$ZodArray",(e,t)=>{I.init(e,t);let n=Se.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=n?n.alloc(e,r,Array(i.length),o):Array(i.length);let a=[],s=o?.abortEarly;for(let u=0;u<i.length;u++){let d=i[u],l=t.element._zod.run({value:d,issues:[]},o);if(l instanceof Promise)a.push(l.then(c=>li(c,r,u)));else if(li(l,r,u),s&&l.issues.length!==0&&J(l))break}return a.length?Promise.all(a).then(()=>r):r};});function kt(e,t,n,r,o,i){let a=n in r,s=i==="optional";if(!(!a&&s&&o==="optional")){if(e.issues.length){if(o!==void 0&&s&&!a)return;t.issues.push(...se(n,e.issues));}if(!a&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||o==="defaulted"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value;}}var Bu=[];function Vu(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:Bu,o=r.length?[...t,...r]:t;for(let a of o)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let i=Bo(e.shape);return {...e,allKeys:o,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Gu(e,t,n,r,o,i,a){let s=[],u=o.keySet,d=o.catchall._zod,l=d.def.type,c=d.optin,f=d.optout,m=0;for(let p in t){if(a&&n.issues.length!==m){if(J(n,m))break;m=n.issues.length;}if(u.has(p))continue;if(p==="__proto__"){l==="never"&&s.push(p);continue}if(l==="never"){s.push(p);continue}let $=d.run({value:t[p],issues:[]},r);$ instanceof Promise?e.push($.then(_=>kt(_,n,p,t,c,f))):kt($,n,p,t,c,f);}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i,continue:true}),e.length?Promise.all(e).then(()=>n):n}var Ci=y("$ZodObject",(e,t)=>{I.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),r=n?.get?n.get.raw:t.shape??{};if(r){let d=()=>{let l={...r};return Object.defineProperty(t,"shape",{value:l}),d.raw=l,l};d.raw=r,Object.defineProperty(t,"shape",{get:d});}let o=Fo(()=>Vu(t));A(e,"propValues",d=>{let l=d.def.shape,c={};for(let f in l){let m=l[f]._zod;if(m.values){Object.prototype.hasOwnProperty.call(c,f)||Zo(c,f,new Set);for(let p of m.values)c[f].add(p);m.optin!==void 0&&c[f].add(void 0);}}return c});let i=Ct,a=t.catchall,s,u=Se.memoizer;u?.attach(e),e._zod.parse=(d,l)=>{s??(s=o.value);let c=d.value;if(!i(c))return d.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),d;d.value=u?u.alloc(e,d,{},l):{};let f=[],m=s.shape,p=l?.abortEarly,$=d.issues.length;for(let _ of s.allKeys){if(p&&d.issues.length!==$){if(J(d,$))break;$=d.issues.length;}if(_==="__proto__")continue;let P=m[_],w=P._zod.optin,O=P._zod.optout,E=P._zod.run({value:c[_],issues:[]},l);E instanceof Promise?f.push(E.then(K=>kt(K,d,_,c,w,O))):kt(E,d,_,c,w,O);}return a?Gu(f,c,d,l,o.value,e,p===true):f.length?Promise.all(f).then(()=>d):d};});function fi(e,t,n,r){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!J(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>ee(a,r,H())))}),t)}var wi=y("$ZodUnion",(e,t)=>{I.init(e,t),A(e,"optin",r=>r.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":r.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),A(e,"optout",r=>r.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),A(e,"values",r=>{if(r.def.options.every(o=>o._zod.values))return new Set(r.def.options.flatMap(o=>Array.from(o._zod.values)))}),A(e,"pattern",r=>{if(r.def.options.every(o=>o._zod.pattern)){let o=r.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>wt(i.source)).join("|")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,o)=>{if(n)return n(r,o);let i=false,a=[];for(let s of t.options){let u=s._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)a.push(u),i=true;else {if(u.issues.length===0)return u;a.push(u);}}return i?Promise.all(a).then(s=>fi(s,r,e,o)):fi(a,r,e,o)};});var Si=y("$ZodRecord",(e,t)=>{I.init(e,t);let n=Se.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!jo(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},o):{};let u=new Set;for(let l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){if(u.add(typeof l=="number"?l.toString():l),l==="__proto__")continue;let c=t.keyType._zod.run({value:l,issues:[]},o);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(c.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(p=>ee(p,o,H())),input:l,path:[l],inst:e});continue}let f=c.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[l],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...se(l,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...se(l,m.issues)),r.value[f]=m.value);}let d;for(let l in i)if(!u.has(l))if(t.mode==="loose"){if(l==="__proto__")continue;r.value[l]=i[l];}else d=d??[],d.push(l);d&&d.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:d,continue:true});}else {r.value=n?n.alloc(e,r,{},o):{};let u;for(let d of Reflect.ownKeys(i)){if(d==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,d))continue;let l=t.keyType._zod.run({value:d,issues:[]},o);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof d=="string"&&Fn.test(d)&&l.issues.length){let p=t.keyType._zod.run({value:Number(d),issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p);}if(l.issues.length){t.mode==="loose"?r.value[d]=i[d]:s?(u=u??[],u.push(d)):r.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>ee(p,o,H())),input:d,path:[d],inst:e});continue}let f=l.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[d],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...se(d,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...se(d,m.issues)),r.value[f]=m.value);}u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:true});}return a.length?Promise.all(a).then(()=>r):r};});var ki=y("$ZodEnum",(e,t)=>{I.init(e,t);let n=Cn(t.entries),r=new Set(n);e._zod.values=r,A(e,"pattern",o=>{let i=Cn(o.def.entries).filter(a=>Uo.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>Sn(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{let a=o.value;return r.has(a)||o.issues.push({code:"invalid_value",values:n,input:a,inst:e}),o};});function pi(e,t){return e.value=t.issues.length?void 0:t.value,e}var Pi=y("$ZodOptional",(e,t)=>{I.init(e,t),A(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",A(e,"values",n=>{let r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),A(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${wt(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;let o=t.innerType._zod.run({value:n.value,issues:[]},r);return o instanceof Promise?o.then(i=>pi(n,i)):pi(n,o)}return t.innerType._zod.run(n,r)};});var Ei=y("$ZodNullable",(e,t)=>{I.init(e,t),A(e,"optin",n=>n.def.innerType._zod.optin),A(e,"optout",n=>n.def.innerType._zod.optout),A(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${wt(r.source)}|null)$`):void 0}),A(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r);});var Ti=y("$ZodLazy",(e,t)=>{I.init(e,t),Do(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),A(e,"pattern",n=>n.innerType?._zod?.pattern),A(e,"propValues",n=>n.innerType?._zod?.propValues),A(e,"optin",n=>n.innerType?._zod?.optin??void 0),A(e,"optout",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r);}),Ai=y("$ZodCustom",(e,t)=>{q.init(e,t),I.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{let r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(i=>mi(i,n,r,e));mi(o,n,r,e);};});function mi(e,t,n,r){if(!e){let o={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(Tn(o));}}var Ii;var Vn=class{constructor(){this._map=new WeakMap,this._idmap=new Map;}add(t,...n){let r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let r={...this.get(n)??{}};delete r.id;let o={...r,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function zi(){return new Vn}(Ii=globalThis).__zod_globalRegistry??(Ii.__zod_globalRegistry=zi());var Gn=globalThis.__zod_globalRegistry;function Oi(e,t){return new e({type:"string",...S(t)})}function Ni(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:false,...S(t)})}function Ri(e,t){return new e({type:"number",checks:[],...S(t)})}function Mi(e,t){return new e({type:"number",check:"number_format",abort:false,format:"safeint",...S(t)})}function Fi(e,t){return new e({type:"boolean",...S(t)})}function Li(e,t){return new e({type:"null",...S(t)})}function Di(e){return new e({type:"unknown"})}function Zi(e,t){return new e({type:"never",...S(t)})}function G(e,t){return new oi({check:"less_than",...S(t),value:e,inclusive:true})}function ji(e,t){return new Dn({check:"greater_than",...S(t),value:e,inclusive:false})}function N(e,t){return new Dn({check:"greater_than",...S(t),value:e,inclusive:true})}function Kn(e){return ji(0,e)}function Hn(e){return N(0,e)}function ge(e,t){return new ai({check:"max_length",...S(t),maximum:e})}function ne(e,t){return new si({check:"min_length",...S(t),minimum:e})}function $e(e,t){return new ui({check:"string_format",format:"regex",...S(t),pattern:e})}function Ui(e,t,n){let r=S(n);return r.abort??(r.abort=true),new e({type:"custom",check:"custom",fn:t,...r})}var D=y("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");I.init(e,t),e.def=t,e.type=t.type;},{get with(){return this.check},set with(e){pe(this,"with",e);},parse(e,t){return me(this,e,t,{callee:this.parse})},parseAsync(e,t){return On(this,e,t,{callee:this.parseAsync})},safeParse(e,t){return Nn(this,e,t)},safeParseAsync(e,t){return Rn(this,e,t)},check(...e){let t=this.def;return this.clone({...t,checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:true})},clone(e,t){return Ye(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},apply(e,...t){return t.length===0?e(this):e(this,...t)}}),Vi=y("ZodMiniString",(e,t)=>{jn.init(e,t),D.init(e,t);});function g(e){return Oi(Vi,e)}var Wu=y("ZodMiniStringFormat",(e,t)=>{Un.init(e,t),Vi.init(e,t);});var Yu=y("ZodMiniUUID",(e,t)=>{$i.init(e,t),Wu.init(e,t);});function Gi(e){return Ni(Yu,e)}var Ki=y("ZodMiniNumber",(e,t)=>{Bn.init(e,t),D.init(e,t);});function he(e){return Ri(Ki,e)}var Xu=y("ZodMiniNumberFormat",(e,t)=>{hi.init(e,t),Ki.init(e,t);});function R(e){return Mi(Xu,e)}var Qu=y("ZodMiniBoolean",(e,t)=>{yi.init(e,t),D.init(e,t);});function Pt(e){return Fi(Qu,e)}var Ju=y("ZodMiniNull",(e,t)=>{_i.init(e,t),D.init(e,t);});function Hi(e){return Li(Ju,e)}var ec=y("ZodMiniUnknown",(e,t)=>{vi.init(e,t),D.init(e,t);});function qi(){return Di(ec)}var tc=y("ZodMiniNever",(e,t)=>{bi.init(e,t),D.init(e,t);});function nc(e){return Zi(tc,e)}var rc=y("ZodMiniArray",(e,t)=>{xi.init(e,t),D.init(e,t);});function W(e,t){return new rc({type:"array",element:e,...S(t)})}var Wi=y("ZodMiniObject",(e,t)=>{Ci.init(e,t),D.init(e,t),qo(e,"shape",n=>n._zod.def.shape,false);});function Yi(e,t){let n={type:"object",shape:e??{},...S(t)};return new Wi(n)}function h(e,t){return new Wi({type:"object",shape:e,catchall:nc(),...S(t)})}var oc=y("ZodMiniUnion",(e,t)=>{wi.init(e,t),D.init(e,t);});function Xi(e,t){return new oc({type:"union",options:e,...S(t)})}var Bi=y("ZodMiniRecord",(e,t)=>{Si.init(e,t),D.init(e,t);});function ke(e,t,n){return !t||!t._zod?new Bi({type:"record",keyType:g(),valueType:e,...S(t)}):new Bi({type:"record",keyType:e,valueType:t,...S(n)})}var ic=y("ZodMiniEnum",(e,t)=>{ki.init(e,t),D.init(e,t),e.options=[...e._zod.values];});function Pe(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new ic({type:"enum",entries:n,...S(t)})}var ac=y("ZodMiniOptional",(e,t)=>{Pi.init(e,t),D.init(e,t);});function C(e){return new ac({type:"optional",innerType:e})}var sc=y("ZodMiniNullable",(e,t)=>{Ei.init(e,t),D.init(e,t);});function b(e){return new sc({type:"nullable",innerType:e})}var uc=y("ZodMiniLazy",(e,t)=>{Ti.init(e,t),D.init(e,t);});function Qi(e){return new uc({type:"lazy",getter:e})}var cc=y("ZodMiniCustom",(e,t)=>{Ai.init(e,t),D.init(e,t);});function Ji(e,t){return Ui(cc,e??(()=>true),t)}var ea="1.4.1";var ta={version:4,country_calling_codes:{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"],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"],383:["XK"],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"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],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"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",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"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"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{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $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"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\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"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|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-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|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-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|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[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[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}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|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(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\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]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\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",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|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]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|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]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|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])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\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)|544|88[245]|(?:52|64|86)2","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)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["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(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?: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(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(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{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\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"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?: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])1","30|(?: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])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[0-79]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\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"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function qn(e,t){var n=Array.prototype.slice.call(t);return n.push(ta),e.apply(this,n)}function Wn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return -1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var lc={}.constructor;function Y(e){return e!=null&&e.constructor===lc}var fc=/^\d+$/;function Yn(e){return fc.test(e)}function Ee(e){"@babel/helpers - typeof";return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(e)}function Et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function na(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(e,pc(r.key),r);}}function Tt(e,t,n){return t&&na(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function pc(e){var t=mc(e,"string");return Ee(t)=="symbol"?t:t+""}function mc(e,t){if(Ee(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ee(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var gc="1.2.0",$c="1.7.35",ra=" ext. ",x=(function(){function e(t){Et(this,e),Xn(t),this.metadata=t,sa.call(this,t);}return Tt(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return true;if(this.nonGeographic()){if(this.nonGeographic()[n])return true}else {var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return true}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){var o,i;if(n&&(Yn(n)?i=n:o=n),r&&(i=r),o&&o!=="001"){var a=this.getCountryMetadata(o);if(!a)throw new Error("Unknown country: ".concat(o));this.numberingPlan=new oa(a,this);}else if(i){if(!this.hasCallingCode(i))throw new Error("Unknown calling code: ".concat(i));this.numberingPlan=new oa(this.getNumberingPlanMetadata(i),this);}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else {var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var oa=(function(){function e(t,n){Et(this,e),this.globalMetadataObject=n,this.metadata=t,sa.call(this,n.metadata);}return Tt(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(o){return new hc(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return !!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?false:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&ia(this.types(),n))return new _c(ia(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?ra:this.metadata[13]||ra}}])})(),hc=(function(){function e(t,n){Et(this,e),this._format=t,this.metadata=n;}return Tt(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return !!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return !!(this.nationalPrefixFormattingRule()&&!yc.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),yc=/^\(?\$1\)?$/,_c=(function(){function e(t,n){Et(this,e),this.type=t,this.metadata=n;}return Tt(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function ia(e,t){switch(t){case "FIXED_LINE":return e[0];case "MOBILE":return e[1];case "TOLL_FREE":return e[2];case "PREMIUM_RATE":return e[3];case "PERSONAL_NUMBER":return e[4];case "VOICEMAIL":return e[5];case "UAN":return e[6];case "PAGER":return e[7];case "VOIP":return e[8];case "SHARED_COST":return e[9]}}function Xn(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Y(e)||!Y(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Y(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+vc(e)+": "+e,"."))}var vc=function(t){return Ee(t)};function Qe(e,t){var n=new x(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function aa(e,t){return t.countries.hasOwnProperty(e)}function sa(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Wn(t,gc)===-1?this.v2=true:Wn(t,$c)===-1?this.v3=true:this.v4=true:this.v1=true;}function ye(e,t,n){return ca(e,void 0,t,n)}function ca(e,t,n,r){n&&(r=new x(r.metadata),r.selectNumberingPlan(n));var o=r.type(t),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return "IS_POSSIBLE";var s=e.length,u=i[0];return u===s?"IS_POSSIBLE":u>s?"TOO_SHORT":i[i.length-1]<s?"TOO_LONG":i.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Jn(e,t,n){t===void 0&&(t={});var r=new x(n);if(t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode);}else {if(!e.phone)return false;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country);}else {if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode);}}if(r.possibleLengths())return er(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return true;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function er(e,t){return ye(e,void 0,t)==="IS_POSSIBLE"}function M(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Cc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=wc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ var AranovaTracking=(function(exports){'use strict';function Cn(e){let t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,o])=>t.indexOf(+r)===-1).map(([r,o])=>o)}function Mo(e,t){return typeof t=="bigint"?t.toString():t}var xn=class{constructor(t){this._getter=t,this._value=void 0;}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function Fo(e){return new xn(e)}function Lo(e){return e==null}function wt(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}var No=Symbol("evaluating");function Do(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==No)return r===void 0&&(r=No,r=n()),r},set(o){Object.defineProperty(e,t,{value:o});},configurable:true});}function Zo(e,t,n){Object.defineProperty(e,t,{value:n,writable:true,enumerable:true,configurable:true});}var wn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ct(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function jo(e){if(Ct(e)===false)return false;let t=e.constructor;if(t===void 0||typeof t!="function")return true;let n=t.prototype;return !(Ct(n)===false||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===false)}var Uo=new Set(["string","number","symbol"]);function Sn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ye(e,t,n){let r=new e._zod.constr(t??e._zod.def);return (!t||n?.parent)&&(r._zod.parent=e),r}function S(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Bo(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Vo={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function J(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==true)return true;return false}function Go(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===false)return true;return false}function se(e,t){return t.map(n=>{var r;return (r=n).path??(r.path=[]),n.path.unshift(e),n})}function We(e){return typeof e=="string"?e:e?.message}function kn(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n);}function ee(e,t,n){var r;let o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:We(e.inst?._zod.def?.error?.(e))??We(i?.(e))??We(t?.error?.(e))??We(n.customError?.(e))??We(n.localeError?.(e))??"Invalid input",s={};for(let u of Object.keys(e))u==="inst"||u==="schema"||u==="continue"||u==="input"||u==="__proto__"||(s[u]=e[u]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}var Tu=/[\uD800-\uDBFF]/;function Pn(e){let t=e.length;if(!Tu.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function En(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Tn(...e){let[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function Ko(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:false}):Ro(e,n,r.value);}for(let n of Object.getOwnPropertySymbols(t))Ro(e,n,t[n]);}function pe(e,t,n,r=true){return Object.defineProperty(e,t,{configurable:true,writable:true,enumerable:r,value:n}),n}function Ho(e,t,n){return pe(e,t,n,false)}function Ro(e,t,n){Object.defineProperty(e,t,{configurable:true,get(){return this==null?n:pe(this,t,n.bind(this))},set(r){pe(this,t,r);}});}function Au(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var bn,ae=false,Iu={configurable:true,get(){ae=true;}};function A(e,t,n){let r=Object.getPrototypeOf(e._zod);if(t in r&&bn!==e._zod){bn=void 0;return}bn=e._zod,Object.defineProperty(r,t,{configurable:true,get(){Object.defineProperty(this,t,Iu);let o=ae;ae=false;try{let i=n(this);return ae?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),ae=ae||o,i}catch(i){throw delete this[t],ae=ae||o,i}},set(o){Object.defineProperty(this,t,{configurable:true,writable:true,value:o});}});}function qo(e,t,n,r){let o=Au(e,t);o&&Object.defineProperty(o,t,{configurable:true,get(){let i={configurable:true,writable:true,enumerable:r,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:true,writable:true,enumerable:r,value:i});}});}var Wo;var An={value:void 0,enumerable:false},Yo="captureStackTrace"in Error?Error:null;function zu(e){let t=Yo;if(t){let n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0;}catch{return Yo=null,new e}try{return new e}finally{t.stackTraceLimit=n;}}}return new e}function y(e,t,n,r){let o={};function i(f){this.def=f,this.constr=c,this.traits=new Set;}i.prototype=o;let a=n,s=a&&new WeakSet;function u(f,m){if(!f._zod){An.value=new i(m);try{Object.defineProperty(f,"_zod",An);}finally{An.value=void 0;}}if(f._zod.traits.has(e))return;if(f._zod.traits.add(e),t(f,m),s){let $=Object.getPrototypeOf(f),_=f._zod.constr.prototype,P=$;for(;P&&P!==_;)P=Object.getPrototypeOf(P);let w=P??$;s.has(w)||(s.add(w),Ko(w,a));}let p=c.prototype;for(let $ in p)Object.prototype.hasOwnProperty.call(p,$)&&($ in f||(f[$]=p[$].bind(f)));}let d=r?.Parent??Object;class l extends d{}Object.defineProperty(l,"name",{value:e});function c(f){let m=r?.Parent?zu(l):this;u(m,f);let p=m._zod.deferred;if(p){for(let _ of p)_();m._zod.deferred=void 0;}let $=globalThis.__zod_globalConfig?.postProcessor;return $&&$(m),m}return Object.defineProperty(c,"init",{value:u}),Object.defineProperty(c,Symbol.hasInstance,{value:f=>r?.Parent&&f instanceof r.Parent?true:f?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var te=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}};(Wo=globalThis).__zod_globalConfig??(Wo.__zod_globalConfig={});var Se=globalThis.__zod_globalConfig;function H(e){return Se}function Ou(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Mo,2)),e.message}function Nu(e){this._zod.message=e;}var Ru={get:Ou,set:Nu,enumerable:true,configurable:true},zn={value:void 0,enumerable:false},Xo=new WeakSet([Object.prototype,Error.prototype]),Qo=(e,t)=>{e.name="$ZodError",zn.value=t,Object.defineProperty(e,"issues",zn),zn.value=void 0,Object.defineProperty(e,"message",Ru);let n=Object.getPrototypeOf(e);Xo.has(n)||(Xo.add(n),Object.defineProperty(n,"toString",{configurable:true,enumerable:false,get(){let r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true});}}));};y("$ZodError",Qo);var Xe=y("$ZodError",Qo,void 0,{Parent:Error});var Fu=e=>{let t=(n,r,o,i)=>{let a=o?{...o,async:false}:{async:false},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new te;if(s.issues.length){let u=new(i?.Err??e)(s.issues.map(d=>ee(d,a,H())));throw wn(u,i?.callee??t),u}return s.value};return t},me=Fu(Xe),Lu=e=>{let t=async(n,r,o,i)=>{let a=o?{...o,async:true}:{async:true},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let u=new(i?.Err??e)(s.issues.map(d=>ee(d,a,H())));throw wn(u,i?.callee??t),u}return s.value};return t},On=Lu(Xe),Du=e=>(t,n,r)=>{let o=r?{...r,async:false}:{async:false},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new te;return i.issues.length?Jo(e,i.issues,o):{success:true,data:i.value}},Nn=Du(Xe);function Jo(e,t,n){let r;return {success:false,get error(){return r||(r=new e(t.map(o=>ee(o,n,H()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0;}}}var Zu=e=>async(t,n,r)=>{let o=r?{...r,async:true}:{async:true},i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?Jo(e,i.issues,o):{success:true,data:i.value}},Rn=Zu(Xe);var Mn=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;var ei=/^[\s\S]{0,}$/;var Fn=/^-?\d+(?:\.\d+)?$/,ti=/^(?:true|false)$/i,ni=/^null$/i;var q=y("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[]);});var ri=e=>{let t=e.value;return !Lo(t)&&t.length!==void 0},St={number:"number",bigint:"bigint",object:"date"},oi=y("$ZodCheckLessThan",(e,t)=>{q.init(e,t);let n=St[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:St[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};}),Dn=y("$ZodCheckGreaterThan",(e,t)=>{q.init(e,t);let n=St[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:St[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};});var ii=y("$ZodCheckNumberFormat",(e,t)=>{q.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[o,i]=Vo[t.format];e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:r,format:t.format,code:"invalid_type",continue:false,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort});return}}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:true,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:true,inst:e,continue:!t.abort});};});var ai=y("$ZodCheckMaxLength",(e,t)=>{var n;q.init(e,t),(n=e._zod.def).when??(n.when=ri),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?Pn(o):i)<=t.maximum)return;let s=En(o);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:true,input:o,inst:e,continue:!t.abort});};}),si=y("$ZodCheckMinLength",(e,t)=>{var n;q.init(e,t),(n=e._zod.def).when??(n.when=ri),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?Pn(o):i)>=t.minimum)return;let s=En(o);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:true,input:o,inst:e,continue:!t.abort});};});var Zn=y("$ZodCheckStringFormat",(e,t)=>{var n,r;q.init(e,t),t.pattern?(n=e._zod).check??(n.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(r=e._zod).check??(r.check=()=>{});}),ui=y("$ZodCheckRegex",(e,t)=>{Zn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var di={major:4,minor:6,patch:2};var I=y("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=di;let r=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r?.length?[...r]:[];for(let i of o)for(let a of i._zod.onattach)a(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let i=(s,u,d)=>{if(s.memo)return s;let l=J(s),c;for(let f of u){if(f._zod.def.when){if(Go(s)||!f._zod.def.when(s))continue}else if(l)continue;let m=s.issues.length,p=f._zod.check(s);if(p instanceof Promise&&d?.async===false)throw new te;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,s.issues.length!==m&&(kn(s.issues,m,e),l||(l=J(s,m)));});else {if(s.issues.length===m)continue;kn(s.issues,m,e),l||(l=J(s,m));}}return c?c.then(()=>s):s},a=(s,u,d)=>{if(J(s))return s.aborted=true,s;let l=i(u,o,d);if(l instanceof Promise){if(d.async===false)throw new te;return l.then(c=>e._zod.parse(c,d))}return e._zod.parse(l,d)};e._zod.run=(s,u)=>{if(u.skipChecks)return e._zod.parse(s,u);if(u.direction==="backward"){let l=e._zod.parse({value:s.value,issues:[]},{...u,skipChecks:true});return l instanceof Promise?l.then(c=>a(c,s,u)):a(l,s,u)}let d=e._zod.parse(s,u);if(d instanceof Promise){if(u.async===false)throw new te;return d.then(l=>i(l,o,u))}return i(d,o,u)};}},{get"~standard"(){return Ho(this,"~standard",Uu(this))},set"~standard"(e){pe(this,"~standard",e);}}),gi=(e,t)=>e.issues.length?{issues:e.issues.map(n=>ee(n,t,H()))}:{value:e.value};async function ju(e,t){let n={async:true};return gi(await e._zod.run({value:t,issues:[]},n),n)}function Uu(e){return {validate:t=>{let n={async:false};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return gi(r,n)}catch{}return ju(e,t)},vendor:"zod",version:1}}var jn=y("$ZodString",(e,t)=>{I.init(e,t),e._zod.pattern=t.pattern??ei,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value);}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n};}),Un=y("$ZodStringFormat",(e,t)=>{Zn.init(e,t),jn.init(e,t);});var $i=y("$ZodUUID",(e,t)=>{if(t.version){let r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Mn(r));}else t.pattern??(t.pattern=Mn());Un.init(e,t);});var Bn=y("$ZodNumber",(e,t)=>{I.init(e,t),e._zod.pattern=Fn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value);}catch{}let o=n.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return n;let i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),n};}),hi=y("$ZodNumberFormat",(e,t)=>{ii.init(e,t),Bn.init(e,t);}),yi=y("$ZodBoolean",(e,t)=>{I.init(e,t),e._zod.pattern=ti,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value;}catch{}let o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n};});var _i=y("$ZodNull",(e,t)=>{I.init(e,t),e._zod.pattern=ni,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{let o=n.value;return o===null||n.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),n};});var vi=y("$ZodUnknown",(e,t)=>{I.init(e,t),e._zod.parse=n=>n;}),bi=y("$ZodNever",(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n);});function li(e,t,n){e.issues.length&&t.issues.push(...se(n,e.issues)),t.value[n]=e.value;}var xi=y("$ZodArray",(e,t)=>{I.init(e,t);let n=Se.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=n?n.alloc(e,r,Array(i.length),o):Array(i.length);let a=[],s=o?.abortEarly;for(let u=0;u<i.length;u++){let d=i[u],l=t.element._zod.run({value:d,issues:[]},o);if(l instanceof Promise)a.push(l.then(c=>li(c,r,u)));else if(li(l,r,u),s&&l.issues.length!==0&&J(l))break}return a.length?Promise.all(a).then(()=>r):r};});function kt(e,t,n,r,o,i){let a=n in r,s=i==="optional";if(!(!a&&s&&o==="optional")){if(e.issues.length){if(o!==void 0&&s&&!a)return;t.issues.push(...se(n,e.issues));}if(!a&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||o==="defaulted"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value;}}var Bu=[];function Vu(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:Bu,o=r.length?[...t,...r]:t;for(let a of o)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let i=Bo(e.shape);return {...e,allKeys:o,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Gu(e,t,n,r,o,i,a){let s=[],u=o.keySet,d=o.catchall._zod,l=d.def.type,c=d.optin,f=d.optout,m=0;for(let p in t){if(a&&n.issues.length!==m){if(J(n,m))break;m=n.issues.length;}if(u.has(p))continue;if(p==="__proto__"){l==="never"&&s.push(p);continue}if(l==="never"){s.push(p);continue}let $=d.run({value:t[p],issues:[]},r);$ instanceof Promise?e.push($.then(_=>kt(_,n,p,t,c,f))):kt($,n,p,t,c,f);}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i,continue:true}),e.length?Promise.all(e).then(()=>n):n}var Ci=y("$ZodObject",(e,t)=>{I.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),r=n?.get?n.get.raw:t.shape??{};if(r){let d=()=>{let l={...r};return Object.defineProperty(t,"shape",{value:l}),d.raw=l,l};d.raw=r,Object.defineProperty(t,"shape",{get:d});}let o=Fo(()=>Vu(t));A(e,"propValues",d=>{let l=d.def.shape,c={};for(let f in l){let m=l[f]._zod;if(m.values){Object.prototype.hasOwnProperty.call(c,f)||Zo(c,f,new Set);for(let p of m.values)c[f].add(p);m.optin!==void 0&&c[f].add(void 0);}}return c});let i=Ct,a=t.catchall,s,u=Se.memoizer;u?.attach(e),e._zod.parse=(d,l)=>{s??(s=o.value);let c=d.value;if(!i(c))return d.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),d;d.value=u?u.alloc(e,d,{},l):{};let f=[],m=s.shape,p=l?.abortEarly,$=d.issues.length;for(let _ of s.allKeys){if(p&&d.issues.length!==$){if(J(d,$))break;$=d.issues.length;}if(_==="__proto__")continue;let P=m[_],w=P._zod.optin,O=P._zod.optout,E=P._zod.run({value:c[_],issues:[]},l);E instanceof Promise?f.push(E.then(K=>kt(K,d,_,c,w,O))):kt(E,d,_,c,w,O);}return a?Gu(f,c,d,l,o.value,e,p===true):f.length?Promise.all(f).then(()=>d):d};});function fi(e,t,n,r){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!J(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>ee(a,r,H())))}),t)}var wi=y("$ZodUnion",(e,t)=>{I.init(e,t),A(e,"optin",r=>r.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":r.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),A(e,"optout",r=>r.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),A(e,"values",r=>{if(r.def.options.every(o=>o._zod.values))return new Set(r.def.options.flatMap(o=>Array.from(o._zod.values)))}),A(e,"pattern",r=>{if(r.def.options.every(o=>o._zod.pattern)){let o=r.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>wt(i.source)).join("|")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,o)=>{if(n)return n(r,o);let i=false,a=[];for(let s of t.options){let u=s._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)a.push(u),i=true;else {if(u.issues.length===0)return u;a.push(u);}}return i?Promise.all(a).then(s=>fi(s,r,e,o)):fi(a,r,e,o)};});var Si=y("$ZodRecord",(e,t)=>{I.init(e,t);let n=Se.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!jo(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},o):{};let u=new Set;for(let l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){if(u.add(typeof l=="number"?l.toString():l),l==="__proto__")continue;let c=t.keyType._zod.run({value:l,issues:[]},o);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(c.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(p=>ee(p,o,H())),input:l,path:[l],inst:e});continue}let f=c.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[l],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...se(l,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...se(l,m.issues)),r.value[f]=m.value);}let d;for(let l in i)if(!u.has(l))if(t.mode==="loose"){if(l==="__proto__")continue;r.value[l]=i[l];}else d=d??[],d.push(l);d&&d.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:d,continue:true});}else {r.value=n?n.alloc(e,r,{},o):{};let u;for(let d of Reflect.ownKeys(i)){if(d==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,d))continue;let l=t.keyType._zod.run({value:d,issues:[]},o);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof d=="string"&&Fn.test(d)&&l.issues.length){let p=t.keyType._zod.run({value:Number(d),issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p);}if(l.issues.length){t.mode==="loose"?r.value[d]=i[d]:s?(u=u??[],u.push(d)):r.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>ee(p,o,H())),input:d,path:[d],inst:e});continue}let f=l.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[d],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...se(d,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...se(d,m.issues)),r.value[f]=m.value);}u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:true});}return a.length?Promise.all(a).then(()=>r):r};});var ki=y("$ZodEnum",(e,t)=>{I.init(e,t);let n=Cn(t.entries),r=new Set(n);e._zod.values=r,A(e,"pattern",o=>{let i=Cn(o.def.entries).filter(a=>Uo.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>Sn(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{let a=o.value;return r.has(a)||o.issues.push({code:"invalid_value",values:n,input:a,inst:e}),o};});function pi(e,t){return e.value=t.issues.length?void 0:t.value,e}var Pi=y("$ZodOptional",(e,t)=>{I.init(e,t),A(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",A(e,"values",n=>{let r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),A(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${wt(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;let o=t.innerType._zod.run({value:n.value,issues:[]},r);return o instanceof Promise?o.then(i=>pi(n,i)):pi(n,o)}return t.innerType._zod.run(n,r)};});var Ei=y("$ZodNullable",(e,t)=>{I.init(e,t),A(e,"optin",n=>n.def.innerType._zod.optin),A(e,"optout",n=>n.def.innerType._zod.optout),A(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${wt(r.source)}|null)$`):void 0}),A(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r);});var Ti=y("$ZodLazy",(e,t)=>{I.init(e,t),Do(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),A(e,"pattern",n=>n.innerType?._zod?.pattern),A(e,"propValues",n=>n.innerType?._zod?.propValues),A(e,"optin",n=>n.innerType?._zod?.optin??void 0),A(e,"optout",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r);}),Ai=y("$ZodCustom",(e,t)=>{q.init(e,t),I.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{let r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(i=>mi(i,n,r,e));mi(o,n,r,e);};});function mi(e,t,n,r){if(!e){let o={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(Tn(o));}}var Ii;var Vn=class{constructor(){this._map=new WeakMap,this._idmap=new Map;}add(t,...n){let r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let r={...this.get(n)??{}};delete r.id;let o={...r,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function zi(){return new Vn}(Ii=globalThis).__zod_globalRegistry??(Ii.__zod_globalRegistry=zi());var Gn=globalThis.__zod_globalRegistry;function Oi(e,t){return new e({type:"string",...S(t)})}function Ni(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:false,...S(t)})}function Ri(e,t){return new e({type:"number",checks:[],...S(t)})}function Mi(e,t){return new e({type:"number",check:"number_format",abort:false,format:"safeint",...S(t)})}function Fi(e,t){return new e({type:"boolean",...S(t)})}function Li(e,t){return new e({type:"null",...S(t)})}function Di(e){return new e({type:"unknown"})}function Zi(e,t){return new e({type:"never",...S(t)})}function G(e,t){return new oi({check:"less_than",...S(t),value:e,inclusive:true})}function ji(e,t){return new Dn({check:"greater_than",...S(t),value:e,inclusive:false})}function N(e,t){return new Dn({check:"greater_than",...S(t),value:e,inclusive:true})}function Kn(e){return ji(0,e)}function Hn(e){return N(0,e)}function ge(e,t){return new ai({check:"max_length",...S(t),maximum:e})}function ne(e,t){return new si({check:"min_length",...S(t),minimum:e})}function $e(e,t){return new ui({check:"string_format",format:"regex",...S(t),pattern:e})}function Ui(e,t,n){let r=S(n);return r.abort??(r.abort=true),new e({type:"custom",check:"custom",fn:t,...r})}var D=y("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");I.init(e,t),e.def=t,e.type=t.type;},{get with(){return this.check},set with(e){pe(this,"with",e);},parse(e,t){return me(this,e,t,{callee:this.parse})},parseAsync(e,t){return On(this,e,t,{callee:this.parseAsync})},safeParse(e,t){return Nn(this,e,t)},safeParseAsync(e,t){return Rn(this,e,t)},check(...e){let t=this.def;return this.clone({...t,checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:true})},clone(e,t){return Ye(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},apply(e,...t){return t.length===0?e(this):e(this,...t)}}),Vi=y("ZodMiniString",(e,t)=>{jn.init(e,t),D.init(e,t);});function g(e){return Oi(Vi,e)}var Wu=y("ZodMiniStringFormat",(e,t)=>{Un.init(e,t),Vi.init(e,t);});var Yu=y("ZodMiniUUID",(e,t)=>{$i.init(e,t),Wu.init(e,t);});function Gi(e){return Ni(Yu,e)}var Ki=y("ZodMiniNumber",(e,t)=>{Bn.init(e,t),D.init(e,t);});function he(e){return Ri(Ki,e)}var Xu=y("ZodMiniNumberFormat",(e,t)=>{hi.init(e,t),Ki.init(e,t);});function R(e){return Mi(Xu,e)}var Qu=y("ZodMiniBoolean",(e,t)=>{yi.init(e,t),D.init(e,t);});function Pt(e){return Fi(Qu,e)}var Ju=y("ZodMiniNull",(e,t)=>{_i.init(e,t),D.init(e,t);});function Hi(e){return Li(Ju,e)}var ec=y("ZodMiniUnknown",(e,t)=>{vi.init(e,t),D.init(e,t);});function qi(){return Di(ec)}var tc=y("ZodMiniNever",(e,t)=>{bi.init(e,t),D.init(e,t);});function nc(e){return Zi(tc,e)}var rc=y("ZodMiniArray",(e,t)=>{xi.init(e,t),D.init(e,t);});function W(e,t){return new rc({type:"array",element:e,...S(t)})}var Wi=y("ZodMiniObject",(e,t)=>{Ci.init(e,t),D.init(e,t),qo(e,"shape",n=>n._zod.def.shape,false);});function Yi(e,t){let n={type:"object",shape:e??{},...S(t)};return new Wi(n)}function h(e,t){return new Wi({type:"object",shape:e,catchall:nc(),...S(t)})}var oc=y("ZodMiniUnion",(e,t)=>{wi.init(e,t),D.init(e,t);});function Xi(e,t){return new oc({type:"union",options:e,...S(t)})}var Bi=y("ZodMiniRecord",(e,t)=>{Si.init(e,t),D.init(e,t);});function ke(e,t,n){return !t||!t._zod?new Bi({type:"record",keyType:g(),valueType:e,...S(t)}):new Bi({type:"record",keyType:e,valueType:t,...S(n)})}var ic=y("ZodMiniEnum",(e,t)=>{ki.init(e,t),D.init(e,t),e.options=[...e._zod.values];});function Pe(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new ic({type:"enum",entries:n,...S(t)})}var ac=y("ZodMiniOptional",(e,t)=>{Pi.init(e,t),D.init(e,t);});function C(e){return new ac({type:"optional",innerType:e})}var sc=y("ZodMiniNullable",(e,t)=>{Ei.init(e,t),D.init(e,t);});function b(e){return new sc({type:"nullable",innerType:e})}var uc=y("ZodMiniLazy",(e,t)=>{Ti.init(e,t),D.init(e,t);});function Qi(e){return new uc({type:"lazy",getter:e})}var cc=y("ZodMiniCustom",(e,t)=>{Ai.init(e,t),D.init(e,t);});function Ji(e,t){return Ui(cc,e??(()=>true),t)}var ea="1.5.0";var ta={version:4,country_calling_codes:{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"],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"],383:["XK"],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"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],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"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",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"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"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{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $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"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|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[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\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"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|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-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|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-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|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[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[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}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|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(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\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]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\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",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|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]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|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]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|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])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\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)|544|88[245]|(?:52|64|86)2","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)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["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(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?: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(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(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{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\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"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?: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])1","30|(?: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])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\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(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[0-79]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\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"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function qn(e,t){var n=Array.prototype.slice.call(t);return n.push(ta),e.apply(this,n)}function Wn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return -1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var lc={}.constructor;function Y(e){return e!=null&&e.constructor===lc}var fc=/^\d+$/;function Yn(e){return fc.test(e)}function Ee(e){"@babel/helpers - typeof";return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(e)}function Et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function na(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(e,pc(r.key),r);}}function Tt(e,t,n){return t&&na(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function pc(e){var t=mc(e,"string");return Ee(t)=="symbol"?t:t+""}function mc(e,t){if(Ee(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ee(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var gc="1.2.0",$c="1.7.35",ra=" ext. ",x=(function(){function e(t){Et(this,e),Xn(t),this.metadata=t,sa.call(this,t);}return Tt(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return true;if(this.nonGeographic()){if(this.nonGeographic()[n])return true}else {var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return true}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){var o,i;if(n&&(Yn(n)?i=n:o=n),r&&(i=r),o&&o!=="001"){var a=this.getCountryMetadata(o);if(!a)throw new Error("Unknown country: ".concat(o));this.numberingPlan=new oa(a,this);}else if(i){if(!this.hasCallingCode(i))throw new Error("Unknown calling code: ".concat(i));this.numberingPlan=new oa(this.getNumberingPlanMetadata(i),this);}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else {var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var oa=(function(){function e(t,n){Et(this,e),this.globalMetadataObject=n,this.metadata=t,sa.call(this,n.metadata);}return Tt(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(o){return new hc(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return !!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?false:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&ia(this.types(),n))return new _c(ia(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?ra:this.metadata[13]||ra}}])})(),hc=(function(){function e(t,n){Et(this,e),this._format=t,this.metadata=n;}return Tt(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return !!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return !!(this.nationalPrefixFormattingRule()&&!yc.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),yc=/^\(?\$1\)?$/,_c=(function(){function e(t,n){Et(this,e),this.type=t,this.metadata=n;}return Tt(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function ia(e,t){switch(t){case "FIXED_LINE":return e[0];case "MOBILE":return e[1];case "TOLL_FREE":return e[2];case "PREMIUM_RATE":return e[3];case "PERSONAL_NUMBER":return e[4];case "VOICEMAIL":return e[5];case "UAN":return e[6];case "PAGER":return e[7];case "VOIP":return e[8];case "SHARED_COST":return e[9]}}function Xn(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Y(e)||!Y(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Y(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+vc(e)+": "+e,"."))}var vc=function(t){return Ee(t)};function Qe(e,t){var n=new x(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function aa(e,t){return t.countries.hasOwnProperty(e)}function sa(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Wn(t,gc)===-1?this.v2=true:Wn(t,$c)===-1?this.v3=true:this.v4=true:this.v1=true;}function ye(e,t,n){return ca(e,void 0,t,n)}function ca(e,t,n,r){n&&(r=new x(r.metadata),r.selectNumberingPlan(n));var o=r.type(t),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return "IS_POSSIBLE";var s=e.length,u=i[0];return u===s?"IS_POSSIBLE":u>s?"TOO_SHORT":i[i.length-1]<s?"TOO_LONG":i.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Jn(e,t,n){t===void 0&&(t={});var r=new x(n);if(t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode);}else {if(!e.phone)return false;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country);}else {if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode);}}if(r.possibleLengths())return er(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return true;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function er(e,t){return ye(e,void 0,t)==="IS_POSSIBLE"}function M(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Cc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=wc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wc(e,t){if(e){if(typeof e=="string")return da(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?da(e,t):void 0}}function da(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Sc=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function _e(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){var r=new x(n);r.selectNumberingPlan(e.country||e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(M(o,r.nationalNumberPattern())){if(tr(o,"FIXED_LINE",r))return r.type("MOBILE")&&r.type("MOBILE").pattern()===""||!r.type("MOBILE")||tr(o,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=Cc(Sc),a;!(a=i()).done;){var s=a.value;if(tr(o,s,r))return s}}}}function tr(e,t,n){var r=n.type(t);return !r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?false:M(e,r.pattern())}function nr(e,t,n){t=t||{};var r=new x(n);if(r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes())return _e(e,t,r.metadata)!==void 0;var o=t.v2?e.nationalNumber:e.phone;return M(o,r.nationalNumberPattern())}var kc=/^[A-Z]{2}$/;function rr(e){return kc.test(e)}var Pc=false;function or(e,t){var n,r,o=new x(t);return rr(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):(r=e,Pc),{country:n,callingCode:r}}function ir(e,t,n){var r=new x(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(i){return Ec(t,i,n)}):[]}function Ec(e,t,n){var r=new x(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Je=2,la=17,fa=3,F="0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9",Tc="-\u2010-\u2015\u2212\u30FC\uFF0D",Ac="\uFF0F/",Ic="\uFF0E.",zc=" \xA0\xAD\u200B\u2060\u3000",Oc="()\uFF08\uFF09\uFF3B\uFF3D\\[\\]",Nc="~\u2053\u223C\uFF5E",Te="".concat(Tc).concat(Ac).concat(Ic).concat(zc).concat(Oc).concat(Nc),et="+\uFF0B";var Rc=new RegExp("(["+F+"])");function ar(e,t,n,r){if(t){var o=new x(r);o.selectNumberingPlan(t||n);var i=new RegExp(o.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var a=e.match(Rc);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function sr(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a=r.length-1,s=a>0&&r[a];if(t.nationalPrefixTransformRule()&&s)o=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(i=r[1]);else {var u=r[0];o=e.slice(u.length),s&&(i=r[1]);}var d;if(s){var l=e.indexOf(r[1]),c=e.slice(0,l);c===t.numberingPlan.nationalPrefix()&&(d=t.numberingPlan.nationalPrefix());}else d=r[0];return {nationalNumber:o,nationalPrefix:d,carrierCode:i}}}return {nationalNumber:e}}function Mc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Fc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fc(e,t){if(e){if(typeof e=="string")return pa(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pa(e,t):void 0}}function pa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ur(e,t,n){for(var r=new x(n),o=Mc(t),i;!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if(_e({phone:e,country:a},void 0,r.metadata))return a}}function tt(e,t){var n=t.nationalNumber,r=t.metadata;var o=r.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:ur(n,o,r.metadata)}function Ae(e,t,n){var r=sr(e,n),o=r.carrierCode,i=r.nationalNumber;if(i!==e){if(!Dc(e,i,n))return {nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=tt(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!Zc(i,t,n)))return {nationalNumber:e}}return {nationalNumber:i,carrierCode:o}}function Dc(e,t,n){return !(M(e,n.nationalNumberPattern())&&!M(t,n.nationalNumberPattern()))}function Zc(e,t,n){switch(ye(e,t,n)){case "TOO_SHORT":case "INVALID_LENGTH":return false;default:return true}}function cr(e,t,n,r,o){if(!(n||r))return {number:e};var i=n?Qe(n,o):r;if(e.indexOf(i)===0){var a=new x(o);a.selectNumberingPlan(n||r);var s=e.slice(i.length),u=Ae(s,void 0,a),d=u.nationalNumber,l=Ae(e,void 0,a),c=l.nationalNumber;if(!M(c,a.nationalNumberPattern())&&M(d,a.nationalNumberPattern())||ye(c,void 0,a)==="TOO_LONG")return {countryCallingCode:i,number:s}}return {number:e}}function nt(e,t,n,r,o){if(!e)return {};var i;if(e[0]!=="+"){var a=ar(e,n,r,o);if(a&&a!==e)i=true,e="+"+a;else {if(n||r){var s=cr(e,t,n,r,o),u=s.countryCallingCode,d=s.number;if(u)return {countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:u,number:d}}return {number:e}}}if(e[1]==="0")return {};for(var l=new x(o),c=2;c-1<=fa&&c<=e.length;){var f=e.slice(1,c);if(l.hasCallingCode(f))return l.selectNumberingPlan(f),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(c)};c++;}return {}}function dr(e){return e.replace(new RegExp("[".concat(Te,"]+"),"g")," ").trim()}var jc=/(\$\d)/;function lr(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix,s=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(jc,t.nationalPrefixFormattingRule()):t.format());return r?dr(s):s}var Uc=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function fr(e,t,n){var r=new x(n);if(r.selectNumberingPlan(e||t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Uc.test(r.IDDPrefix()))return r.IDDPrefix()}var Bc=";ext=",Ie=function(t){return "([".concat(F,"]{1,").concat(t,"})")};function rt(e){var t="20",n="15",r="9",o="6",i="[ \xA0\\t,]*",a="[:\\.\uFF0E]?[ \xA0\\t,-]*",s="#?",u="(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)",d="(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)",l="[- ]+",c="[ \xA0\\t]*",f="(?:,{2}|;)",m=Bc+Ie(t),p=i+u+a+Ie(t)+s,$=i+d+a+Ie(r)+s,_=l+Ie(o)+"#",P=c+f+a+Ie(n)+s,w=c+"(?:,)+"+a+Ie(r)+s;return m+"|"+p+"|"+$+"|"+_+"|"+P+"|"+w}var Vc="["+F+"]{"+Je+"}",Gc="["+et+"]{0,1}(?:["+Te+"]*["+F+"]){3,}["+Te+F+"]*",Kc=new RegExp("^["+et+"]{0,1}(?:["+Te+"]*["+F+"]){1,2}$","i"),Hc=Gc+"(?:"+rt()+")?",qc=new RegExp("^"+Vc+"$|^"+Hc+"$","i");function pr(e){return e.length>=Je&&qc.test(e)}function ma(e){return Kc.test(e)}function ga(e){var t=e.number,n=e.ext;if(!t)return "";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return "tel:".concat(t).concat(n?";ext="+n:"")}var $a={formatExtension:function(t,n,r){return "".concat(t).concat(r.ext()).concat(n)}};function gr(e,t,n,r){n?n=Xc({},$a,n):n=$a;var o=new x(r);if(e.country&&e.country!=="001"){if(!o.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));o.selectNumberingPlan(e.country);}else if(e.countryCallingCode)o.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=o.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,s;switch(t){case "NATIONAL":return a?(s=At(a,e.carrierCode,"NATIONAL",o,n),mr(s,e.ext,o,n.formatExtension)):"";case "INTERNATIONAL":return a?(s=At(a,null,"INTERNATIONAL",o,n),s="+".concat(i," ").concat(s),mr(s,e.ext,o,n.formatExtension)):"+".concat(i);case "E.164":return "+".concat(i).concat(a);case "RFC3966":return ga({number:"+".concat(i).concat(a),ext:e.ext});case "IDD":if(!n.fromCountry)return;var u=Yc(a,e.carrierCode,i,n.fromCountry,o);return u?mr(u,e.ext,o,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function At(e,t,n,r,o){var i=Wc(r.formats(),e);return i?lr(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===false)}):e}function Wc(e,t){return Qc(e,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(t.search(r)!==0)return false}return M(t,n.pattern())})}function mr(e,t,n,r){return t?r(e,t,n):e}function Yc(e,t,n,r,o){var i=Qe(r,o.metadata);if(i===n){var a=At(e,t,"NATIONAL",o);return n==="1"?n+" "+a:a}var s=fr(r,void 0,o.metadata);if(s)return "".concat(s," ").concat(n," ").concat(At(e,null,"INTERNATIONAL",o))}function Xc(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var o in n[e])n[0][o]=n[e][o];e++;}return n[0]}function Qc(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++;}}function ot(e){"@babel/helpers - typeof";return ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(e)}function ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function ya(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ha(Object(n),true).forEach(function(r){Jc(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ha(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Jc(e,t,n){return (t=va(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(e,va(r.key),r);}}function td(e,t,n){return t&&_a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function va(e){var t=nd(e,"string");return ot(t)=="symbol"?t:t+""}function nd(e,t){if(ot(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ot(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var ba=(function(){function e(t,n,r){if(ed(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(Y(n)&&Y(n.countries)){r=n;var o=t;if(!rd.test(o))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=nt(o,void 0,void 0,void 0,r),a=i.countryCallingCode,s=i.number;if(n=s,t=a,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");Xn(r);var u=or(t,r),d=u.country,l=u.callingCode;this.country=d,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r};}return td(e,[{key:"setExt",value:function(n){this.ext=n;}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:ir(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Jn(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function(){return nr(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new x(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return _e(this,{v2:true},this.getMetadata())}},{key:"format",value:function(n,r){return gr(this,n,r?ya(ya({},r),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}])})();var rd=/^\+\d+$/;function ze(e){"@babel/helpers - typeof";return ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ze(e)}function od(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ud(e,t,n){return t=at(t),cd(e,hr()?Reflect.construct(t,n||[],at(e).constructor):t.apply(e,n))}function cd(e,t){if(t&&(ze(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return dd(e)}function dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&it(e,t);}function $r(e){var t=typeof Map=="function"?new Map:void 0;return $r=function(r){if(r===null||!pd(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o);}function o(){return fd(r,arguments,at(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),it(o,r)},$r(e)}function fd(e,t,n){if(hr())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&it(o,n.prototype),o}function hr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (hr=function(){return !!e})()}function pd(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function it(e,t){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},it(e,t)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(e)}var V=(function(e){function t(n){var r;return sd(this,t),r=ud(this,t,[n]),Object.setPrototypeOf(r,t.prototype),r.name=r.constructor.name,r}return ld(t,e),od(t)})($r(Error));var Ca=new RegExp("(?:"+rt()+")$","i");function yr(e){var t=e.search(Ca);if(t<0)return {};for(var n=e.slice(0,t),r=e.match(Ca),o=1;o<r.length;){if(r[o])return {number:n,ext:r[o]};o++;}}var md={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"};function wa(e){return md[e]}function gd(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=$d(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $d(e,t){if(e){if(typeof e=="string")return Sa(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sa(e,t):void 0}}function Sa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function It(e){for(var t="",n=gd(e.split("")),r;!(r=n()).done;){var o=r.value;t+=hd(o,t)||"";}return t}function hd(e,t,n){if(e==="+"){if(t){return}return "+"}return wa(e)}var vr="+",yd="[\\-\\.\\(\\)]?",ka="(["+F+"]|"+yd+")",_d="^\\"+vr+ka+"*["+F+"]"+ka+"*$",vd=new RegExp(_d,"g"),_r=F,bd="["+_r+"]+((\\-)*["+_r+"])*",xd="a-zA-Z",Cd="["+xd+"]+((\\-)*["+_r+"])*",wd="^("+bd+"\\.)*"+Cd+"\\.?$",Sd=new RegExp(wd,"g"),br="tel:",zt=";phone-context=",Pa=";isub=";function xr(e){var t=e.indexOf(zt);if(t<0)return null;var n=t+zt.length;if(n>=e.length)return "";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Ea(e){return e===null?true:e.length===0?false:vd.test(e)||Sd.test(e)}function Cr(e,t){var n=t.extractFormattedPhoneNumber,r=xr(e);if(!Ea(r))throw new V("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else {o="",r.charAt(0)===vr&&(o+=r);var i=e.indexOf(br),a;i>=0?a=i+br.length:a=0;var s=e.indexOf(zt);o+=e.substring(a,s);}var u=o.indexOf(Pa);if(u>0&&(o=o.substring(0,u)),o!=="")return o}var kd=250,Pd=new RegExp("["+et+F+"]"),Ed=new RegExp("[^"+F+"#]+$"),Td=false;function wr(e,t,n){t=t||{};var r=new x(n);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry))throw t.v2?new V("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var o=Id(e,t.v2,t.extract),i=o.number,a=o.ext,s=o.error;if(!i){if(t.v2)throw s==="TOO_SHORT"?new V("TOO_SHORT"):new V("NOT_A_NUMBER");return {}}var u=Od(i,t.defaultCountry,t.defaultCallingCode,r),d=u.country,l=u.nationalNumber,c=u.countryCallingCode,f=u.countryCallingCodeSource,m=u.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new V("INVALID_COUNTRY");return {}}if(!l||l.length<Je){if(t.v2)throw new V("TOO_SHORT");return {}}if(l.length>la){if(t.v2)throw new V("TOO_LONG");return {}}if(t.v2){var p=new ba(c,l,r.metadata);return d&&(p.country=d),m&&(p.carrierCode=m),a&&(p.ext=a),p.__countryCallingCodeSource=f,p}var $=(t.extended?r.hasSelectedNumberingPlan():d)?M(l,r.nationalNumberPattern()):false;return t.extended?{country:d,countryCallingCode:c,carrierCode:m,valid:$,possible:$?true:!!(t.extended===true&&r.possibleLengths()&&er(l,r)),phone:l,ext:a}:$?zd(d,l,a):{}}function Ad(e,t,n){if(e){if(e.length>kd){if(n)throw new V("TOO_LONG");return}if(t===false)return e;var r=e.search(Pd);if(!(r<0))return e.slice(r).replace(Ed,"")}}function Id(e,t,n){var r=Cr(e,{extractFormattedPhoneNumber:function(a){return Ad(a,n,t)}});if(!r)return {};if(!pr(r))return ma(r)?{error:"TOO_SHORT"}:{};var o=yr(r);return o.ext?o:{number:r}}function zd(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Od(e,t,n,r){var o=nt(It(e),void 0,t,n,r.metadata),i=o.countryCallingCodeSource,a=o.countryCallingCode,s=o.number,u;if(a)r.selectNumberingPlan(a);else if(s&&(t||n))t?(u=t,r.selectNumberingPlan(t),a=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),a=n,Td);else return {};if(!s)return {countryCallingCodeSource:i,countryCallingCode:a};var d=Ae(It(s),void 0,r),l=d.nationalNumber,c=d.carrierCode,f=tt(a,{nationalNumber:l,metadata:r});return f&&(u=f,f==="001"||r.selectNumberingPlan(u)),{country:u,countryCallingCode:a,countryCallingCodeSource:i,nationalNumber:l,carrierCode:c}}function st(e){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(e)}function Ta(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Aa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ta(Object(n),true).forEach(function(r){Nd(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ta(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Nd(e,t,n){return (t=Rd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Rd(e){var t=Md(e,"string");return st(t)=="symbol"?t:t+""}function Md(e,t){if(st(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(st(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function Sr(e,t,n){return wr(e,Aa(Aa({},t),{},{v2:true}),n)}function ut(e){"@babel/helpers - typeof";return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(e)}function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Fd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ia(Object(n),true).forEach(function(r){Ld(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ia(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Ld(e,t,n){return (t=Dd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Dd(e){var t=Zd(e,"string");return ut(t)=="symbol"?t:t+""}function Zd(e,t){if(ut(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ut(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function jd(e,t){return Gd(e)||Vd(e,t)||Bd(e,t)||Ud()}function Ud(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bd(e,t){if(e){if(typeof e=="string")return za(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],u=true,d=false;try{if(i=(n=n.call(e)).next,t===0);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(l){d=true,o=l;}finally{try{if(!u&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw o}}return s}}function Gd(e){if(Array.isArray(e))return e}function kr(e){var t=Array.prototype.slice.call(e),n=jd(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s,u,d;if(typeof r=="string")s=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")a?(u=i,d=a):(u=void 0,d=i),o&&(u=Fd({defaultCountry:o},u));else if(Y(o))i?(u=o,d=i):d=o;else throw new Error("Invalid second argument: ".concat(o));return {text:s,options:u,metadata:d}}function ct(e){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(e)}function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Oa(Object(n),true).forEach(function(r){Kd(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Kd(e,t,n){return (t=Hd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Hd(e){var t=qd(e,"string");return ct(t)=="symbol"?t:t+""}function qd(e,t){if(ct(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ct(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function Pr(e,t,n){t&&t.defaultCountry&&!aa(t.defaultCountry,n)&&(t=Na(Na({},t),{},{defaultCountry:void 0}));try{return Sr(e,t,n)}catch(r){if(!(r instanceof V))throw r}}function dt(){var e=kr(arguments),t=e.text,n=e.options,r=e.metadata;return Pr(t,n,r)}function Ot(){return qn(dt,arguments)}var Wd="CA";function Er(e,t){let n=t??Wd,r=Ot(e??"",n);if(!r)return {e164:null,national:"",international:"",country:n,isValid:false};let o=r.isValid();return {e164:o?r.number:null,national:r.formatNational(),international:r.formatInternational(),country:r.country??n,isValid:o}}function ce(e,t){return Er(e,t).e164}var Yd=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,Xd=/e[-_]?mail/i,Qd=/(^|[^a-z])(phone|tel|mobile|cell)/i,re={email:null,phoneNumber:null};function Ar(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Yd.test(t)?t:null}function Tr(e,t){let n=e[t];return typeof n=="string"?n:""}function Jd(e,t){let n={email:null,phoneNumber:null};if(!Array.isArray(e))return n;let r=[(o,i,a)=>Tr(o,"type").toLowerCase()===a,(o,i)=>i.test(Tr(o,"name"))||i.test(Tr(o,"label"))];for(let o of r){for(let i of e){if(i===null||typeof i!="object")continue;let a=i;if(!(typeof a.value!="string"||a.value.length===0)&&(n.email===null&&o(a,Xd,"email")&&(n.email=Ar(a.value)),n.phoneNumber===null&&o(a,Qd,"tel")))try{n.phoneNumber=ce(a.value,t);}catch{}}if(n.email!==null&&n.phoneNumber!==null)break}return n}function Ir(e,t){let n=Ar(e.email),r=null;if(typeof e.phone=="string"&&e.phone.length>0)try{r=ce(e.phone,t);}catch{r=null;}re={email:n??re.email,phoneNumber:r??re.phoneNumber};}function Ra(e,t){try{let n=Jd(e,t);re={email:n.email??re.email,phoneNumber:n.phoneNumber??re.phoneNumber};}catch{}}function Ma(){re={email:null,phoneNumber:null};}function Fa(e,t){if(typeof window>"u"||typeof window.gtag!="function")return false;let n=re.email,r=re.phoneNumber;if(e){let o=Ar(e.email);if(o&&(n=o),typeof e.phone=="string"&&e.phone.length>0)try{r=ce(e.phone,t)??r;}catch{}}if(n===null&&r===null)return false;try{return window.gtag("set","user_data",{...n!==null?{email:n}:{},...r!==null?{phone_number:r}:{}}),!0}catch{return false}}var Nt="consent_state",Rt="consent_timestamp",Oe="consent_expires_at",Or=90,La=864e5,zr={state:"granted",source:"default",updatedAt:null,expiresAt:null},el=new Set;function Da(e){for(let t of el)try{t(e);}catch{}}function Mt(e){return {ad_storage:e,ad_user_data:e,ad_personalization:e,analytics_storage:e}}function de(){if(typeof window>"u")return zr;try{let e=window.localStorage.getItem(Nt),t=window.localStorage.getItem(Rt);if(e==="granted")return {state:"granted",source:"explicit",updatedAt:t,expiresAt:null};if(e==="denied"){let n=window.localStorage.getItem(Oe);if(!n){n=new Date(Date.now()+Or*La).toISOString();try{window.localStorage.setItem(Oe,n);}catch{}}if(!(Date.parse(n)<=Date.now()))return {state:"denied",source:"explicit",updatedAt:t,expiresAt:n}}}catch{}return zr}function j(){return de().state}function Za(e){typeof window>"u"||(typeof window.gtag=="function"&&window.gtag("consent","update",Mt(e)),typeof window.fbq=="function"&&window.fbq("consent",e==="granted"?"grant":"revoke"));}function lt(e,t){if(typeof window>"u")return;let n=t?.declineTtlDays,r=typeof n=="number"&&Number.isFinite(n)&&n>0?n:Or,o=new Date().toISOString(),i=e==="denied"?new Date(Date.now()+r*La).toISOString():null;try{window.localStorage.setItem(Nt,e),window.localStorage.setItem(Rt,o),i!==null?window.localStorage.setItem(Oe,i):window.localStorage.removeItem(Oe);}catch{}if(Za(e),e==="denied"){Ma();try{typeof window.gtag=="function"&&window.gtag("set","user_data",null);}catch{}}Da({state:e,source:"explicit",updatedAt:o,expiresAt:i});}function Nr(){lt("granted");}function Rr(e){lt("denied",e);}function Mr(){if(!(typeof window>"u")){try{window.localStorage.removeItem(Nt),window.localStorage.removeItem(Rt),window.localStorage.removeItem(Oe);}catch{}Za("granted"),Da(zr);}}var ja=["ad_tags_google","ad_tags_meta","base_tracking","blog_rendering","booking_handoff","booking_integration","calendar_read","calendar_write","consent_controls","conversion_goals_auto","conversion_goals_manual","cross_site_linker","cta_click_capture","form_capture","phone_click_capture","phone_fields"],Fr="data-aranova-capability",Ua=new Set;function L(e){Ua.add(e);}function Lr(){let e=new Set(Ua);for(let t of tl())e.add(t);return Array.from(e).sort()}function tl(){if(typeof document>"u")return [];let e=new Set(ja),t=[];for(let n of document.querySelectorAll(`[${Fr}]`)){let r=n.getAttribute(Fr);r&&e.has(r)&&t.push(r);}return t}var Ne=["gclid","wbraid","gbraid","ylpcid","fbclid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function Re(){return {gclid:null,wbraid:null,gbraid:null,ylpcid:null,fbclid:null,utm_source:null,utm_medium:null,utm_campaign:null,utm_term:null,utm_content:null}}function Ft(e){return typeof e=="string"&&e.length>0?e:null}function Me(e){return Ne.reduce((t,n)=>(t[n]=Ft(e(n)),t),Re())}function Lt(e){return Ne.reduce((t,n)=>{let r=e.get(n);return typeof r=="string"&&r.trim().length>0&&(t[n]=r),t},{})}var nl="_aranova_track_";function Ba(e){return `${nl}${e}`}function Fe(e,t,n=7776e3){let r=encodeURIComponent(t);if(typeof document<"u")try{document.cookie=`${e}=${r}; Max-Age=${n}; Path=/; SameSite=Lax`;}catch{}if(typeof window<"u")try{window.localStorage.setItem(Ba(e),r);}catch{}}function oe(e){if(typeof document<"u"){let n=(document.cookie?document.cookie.split("; "):[]).find(r=>r.startsWith(`${e}=`));if(n){let[,r=""]=n.split("=");return Ft(decodeURIComponent(r))}}if(typeof window<"u")try{let t=window.localStorage.getItem(Ba(e));if(t)return Ft(decodeURIComponent(t))}catch{}return null}function Le(e){return oe(e)}function Dt(e,t,n=7776e3){Fe(e,t,n);}function Dr(e,t){return Ne.reduce((n,r)=>(n[r]=e[r]??t[r],n),Re())}function Va(e,t=7776e3){let n=Lt(e);return Object.entries(n).forEach(([r,o])=>{Dt(r,o,t);}),n}function ve(e=typeof window>"u"?"":window.location.href,t=7776e3){let n=typeof window>"u"?new URL(e||"https://example.invalid"):new URL(e,window.location.origin);return Va(n.searchParams,t),Me(Le)}var Ka="https://www.googletagmanager.com/gtag/js",De="data-aranova-tracking";function rl(e){return `aranova-${e}`}var ol=/^[A-Z]{1,3}-[A-Za-z0-9_-]+$/;function ft(e){return ol.test(e)}function Zt(){if(window.dataLayer=window.dataLayer||[],typeof window.gtag=="function")return window.gtag;function e(){window.dataLayer?.push(arguments);}return window.gtag=e,window.gtag}var il=/^AW-[A-Za-z0-9]+\/[A-Za-z0-9_-]+$/;function jt(e){return il.test(e)}function Zr(e){if(typeof window>"u"||typeof window.gtag!="function"||!jt(e.sendTo))return false;let t={send_to:e.sendTo};e.value!=null&&(t.value=e.value),e.currency&&(t.currency=e.currency),e.transactionId&&(t.transaction_id=e.transactionId);try{return window.gtag("event","conversion",t),!0}catch{return false}}function pt(){Zt()("consent","default",Mt(j()==="denied"?"denied":"granted"));}function mt(e){if(typeof document>"u")return;let t=rl("gtag-loader");if(document.querySelector(`script[${De}="${t}"]`))return;let r=document.createElement("script");r.async=true,r.src=`${Ka}?id=${encodeURIComponent(e)}`,r.setAttribute(De,t),document.head.append(r);}function Ha(e){let t=Zt();t("js",new Date),t("config",e);}function jr(e){typeof window>"u"||typeof document>"u"||ft(e)&&(pt(),mt(e),Ha(e));}function Ur(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&ft(r));if(t.length===0)return;pt(),mt(t[0]);let n=Zt();n("js",new Date);for(let r of t)n("config",r);}var qa="https://connect.facebook.net/en_US/fbevents.js",gt="_fbc",Wa="_fbp",al=/^\d{15,16}$/;function Br(e){return al.test(e)}function Ya(e){let t=e.split(".").filter(Boolean);return Math.max(0,t.length-1)}function Xa(e,t,n){let r=(typeof window>"u"?"":window.location.hostname);return `fb.${Ya(r)}.${t}.${e}`}function be(){return oe(gt)}function Vr(){return oe(Wa)}function sl(){if(typeof window>"u")return null;try{let e=new URL(window.location.href).searchParams.get("fbclid");return e&&e.trim().length>0?e:null}catch{return null}}function $t(e=typeof Date>"u"?0:Date.now()){if(typeof window>"u"||be())return;let t=sl()??oe("fbclid");t&&Fe(gt,Xa(t,e),7776e3);}function ul(e){return `aranova-${e}`}function Bt(){let e=window;if(typeof e.fbq=="function")return e.fbq;let t=function(...n){t.callMethod?t.callMethod.apply(t,n):t.queue.push(n);};return t.push=t,t.loaded=true,t.version="2.0",t.queue=[],e.fbq=t,e._fbq||(e._fbq=t),t}function Gr(){Bt()("consent",j()==="denied"?"revoke":"grant");}function Kr(){if(typeof document>"u")return;let e=ul("fbq-loader");if(document.querySelector(`script[${De}="${e}"]`))return;let n=document.createElement("script");n.async=true,n.src=qa,n.setAttribute(De,e),document.head.append(n);}function Qa(e){let t=Bt();t("init",e),t("track","PageView");}function Hr(e){typeof window>"u"||typeof document>"u"||Br(e)&&(Gr(),Kr(),Qa(e),$t());}function qr(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&Br(r));if(t.length===0)return;Gr(),Kr();let n=Bt();for(let r of t)n("init",r);n("track","PageView"),$t();}var Ja="_aranova_track_landing",ht=null;function cl(e){if(typeof e!="object"||e===null)return {};let t=e;return Ne.reduce((n,r)=>{let o=t[r];return typeof o=="string"&&o.length>0&&(n[r]=o),n},{})}function dl(){try{let e=window.localStorage.getItem(Ja);if(!e)return null;let t=JSON.parse(e);return typeof t.session_id!="string"||t.session_id.length===0?null:{session_id:t.session_id,params:cl(t.params)}}catch{return null}}function ll(e){ht=e;try{window.localStorage.setItem(Ja,JSON.stringify(e));}catch{}}function fl(e){try{let t=new URL(e??window.location.href,window.location.origin);return Lt(t.searchParams)}catch{return {}}}function Wr(e,t){if(typeof window>"u")return {};let n=dl();if(n&&n.session_id===e)return ht=n,n.params;if(ht&&ht.session_id===e)return ht.params;let r={session_id:e,params:fl(t)};return ll(r),r.params}function es(e,t){let n=t??(typeof window>"u"?null:Wr(e));return n===null?{}:{landing_gclid:n.gclid??null,landing_wbraid:n.wbraid??null,landing_gbraid:n.gbraid??null,landing_ylpcid:n.ylpcid??null,landing_fbclid:n.fbclid??null,landing_utm_source:n.utm_source??null,landing_utm_medium:n.utm_medium??null,landing_utm_campaign:n.utm_campaign??null,landing_utm_term:n.utm_term??null,landing_utm_content:n.utm_content??null}}function yt(){let e=globalThis.crypto;if(typeof e?.randomUUID=="function")return e.randomUUID();let t=new Uint8Array(16);if(typeof e?.getRandomValues=="function")e.getRandomValues(t);else for(let r=0;r<16;r+=1)t[r]=Math.floor(Math.random()*256);t[6]=t[6]&15|64,t[8]=t[8]&63|128;let n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return `${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}var _t="aranova_tracking_visitor",Vt="aranova_tracking_session",ts=1800*1e3;function vt(e){try{return window.localStorage.getItem(e)}catch{return null}}function Gt(e,t){try{window.localStorage.setItem(e,t);}catch{}}function Kt(){if(typeof window>"u")return yt();let e=vt(_t);if(e&&e.length>0)return e;let t=yt();return Gt(_t,t),t}function ns(e){if(typeof window>"u"||e.length===0)return false;let t=vt(_t);return t&&t.length>0?false:(Gt(_t,e),vt(_t)===e)}function xe(e=Date.now()){if(typeof window>"u")return {id:yt(),isNew:true};let t=vt(Vt);if(t)try{let r=JSON.parse(t);if(typeof r.id=="string"&&typeof r.last_event_at=="number"&&e-r.last_event_at<=ts){let o={id:r.id,last_event_at:e};return Gt(Vt,JSON.stringify(o)),{id:r.id,isNew:!1}}}catch{}let n={id:yt(),last_event_at:e};return Gt(Vt,JSON.stringify(n)),{id:n.id,isNew:true}}function rs(e=Date.now()){if(typeof window>"u")return null;let t=vt(Vt);if(!t)return null;try{let n=JSON.parse(t);return typeof n.id!="string"||typeof n.last_event_at!="number"?null:e-n.last_event_at<=ts?n.id:null}catch{return null}}var le="_arv",is="1",as=300*1e3,ml={g:"gclid",w:"wbraid",gb:"gbraid",f:"fbclid",y:"ylpcid"},ss=Object.entries(ml),Yr=g().check(ne(1),ge(128)),Ze=C(Yr),gl=Yi({v:Yr,s:Yr,t:g().check($e(/^[0-9a-z]{1,12}$/)),g:Ze,w:Ze,gb:Ze,f:Ze,fc:Ze,y:Ze});function $l(e){let t=new TextEncoder().encode(e),n="";for(let r of t)n+=String.fromCharCode(r);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function hl(e){try{let t=e.replace(/-/g,"+").replace(/_/g,"/"),n=atob(t+"=".repeat((4-t.length%4)%4)),r=Uint8Array.from(n,o=>o.charCodeAt(0));return new TextDecoder().decode(r)}catch{return null}}function us(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))typeof r=="string"&&r.length>0&&t.set(n,r);return `${is}.${$l(t.toString())}`}function cs(e){let t=e.indexOf(".");if(t<=0||e.slice(0,t)!==is)return null;let n=hl(e.slice(t+1));if(n===null)return null;let r=new URLSearchParams(n),o={};r.forEach((a,s)=>{o[s]=a;});let i=gl.safeParse(o);return i.success?i.data:null}function yl(e){let t={};for(let[n,r]of ss){let o=e[n];o&&(t[r]=o);}return {visitorId:e.v,sessionId:e.s,linkedAt:Number.parseInt(e.t,36),carried:t,fbc:e.fc??null}}function os(e){return e.toLowerCase().replace(/^www\./,"")}function Xr(e,t){let n=os(e),r=os(t);return n===r||n.endsWith(`.${r}`)}function Ht(e,t,n=Date.now()){if(typeof window>"u"||t.length===0)return null;let r;try{r=new URL(e,window.location.href);}catch{return null}if(r.protocol!=="http:"&&r.protocol!=="https:")return null;let o=window.location.hostname;if(o&&Xr(r.hostname,o))return null;let i=t.find(s=>Xr(r.hostname,s));if(i===void 0)return null;let a=de();return a.state==="denied"&&a.source==="explicit"?{hostname:i,decorated:e}:(r.searchParams.set(le,vl(n)),{hostname:i,decorated:r.href})}function X(e){try{let t=new URL(e,typeof window>"u"?void 0:window.location.href);return t.searchParams.has(le)?(t.searchParams.delete(le),t.href):e}catch{return e}}function qt(e){if(!e.includes(le))return e;let t=new URLSearchParams(e);if(!t.has(le))return e;t.delete(le);let n=t.toString();return n.length>0?`?${n}`:""}function _l(){let e={};for(let[t,n]of ss){let r=oe(n);r&&(e[t]=r);}return e}function vl(e=Date.now()){let t=be();return us({v:Kt(),s:xe(e).id,t:e.toString(36),..._l(),...t?{fc:t}:{}})}function Qr(e,t,n=Date.now()){return Ht(e,t,n)?.decorated??e}function Jr(e=typeof window>"u"?"":window.location.href,t=Date.now()){if(typeof window>"u"||!e)return null;let n;try{n=new URL(e,window.location.href).searchParams.get(le);}catch{return null}if(!n)return null;let r=cs(n);if(r===null)return {outcome:"invalid",link:null,adoptedVisitor:false};let o=yl(r),i=t-o.linkedAt;if(!Number.isFinite(i)||i<-6e4)return {outcome:"invalid",link:null,adoptedVisitor:false};if(i>as)return {outcome:"stale",link:null,adoptedVisitor:false};let a=ns(o.visitorId);for(let[s,u]of Object.entries(o.carried))oe(s)||Dt(s,u);return o.fbc&&!be()&&Fe(gt,o.fbc),{outcome:"linked",link:o,adoptedVisitor:a}}function eo(){if(typeof window>"u"||typeof history>"u")return;let e=X(window.location.href);if(e!==window.location.href)try{history.replaceState(null,"",e);}catch{}}var bl="_aranova_conv_";function ds(e){return `${bl}${e.transactionId??""}:${e.sendTo}`}function xl(e){if(!e.transactionId||typeof window>"u")return false;try{return window.sessionStorage.getItem(ds(e))!==null}catch{return false}}function Cl(e){if(!(!e.transactionId||typeof window>"u"))try{window.sessionStorage.setItem(ds(e),"1");}catch{}}function Ce(e,t){if(j()==="denied")return "denied";if(xl(e))return "duplicate";if(!jt(e.sendTo))return "invalid";try{return Fa(t?.userData),Zr(e)?(Cl(e),"fired"):"retryable"}catch{return "retryable"}}var wl=["live","test","simulated"];function Sl(e){return wl.includes(e)}function ls(e){return typeof e=="object"&&e!==null&&Object.values(e).every(t=>typeof t=="string")}function fs(e){if(!e||typeof e!="object")return null;let t=e;return typeof t.send_to!="string"?null:{send_to:t.send_to,value_cents:typeof t.value_cents=="number"?t.value_cents:null,currency:typeof t.currency=="string"?t.currency:null}}function ps(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function ms(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function gs(e){let t={};if(!e||typeof e!="object")return t;for(let[n,r]of Object.entries(e)){if(!r||typeof r!="object")continue;let o=r;t[n]={morning:ps(o.morning)?o.morning:[],afternoon:ps(o.afternoon)?o.afternoon:[]};}return t}function kl(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.min_days_ahead!="number"||typeof t.max_days_ahead!="number"||!t.hours||typeof t.hours!="object")return null;let n=gs(t.hours);return {min_days_ahead:t.min_days_ahead,max_days_ahead:t.max_days_ahead,hours:n,closed_dates:ms(t.closed_dates)?t.closed_dates:[],special_hours:gs(t.special_hours),vehicle_required:t.vehicle_required===true,drop_off_options:ms(t.drop_off_options)?t.drop_off_options:[]}}function Pl(e){if(!e||typeof e!="object")return [];let t=e;return typeof t.key!="string"||!t.key||typeof t.label!="string"?[]:[{key:t.key,label:t.label}]}function El(e){if(!e||typeof e!="object")return {};let t=e.autoleap;if(!t||typeof t!="object")return {};let n=t.booking;if(!n||typeof n!="object")return {};let r=n;return typeof r.fallback_url!="string"||!r.fallback_url?{}:{autoleap:{booking:{enabled:r.enabled===true,fallback_url:r.fallback_url,timezone:typeof r.timezone=="string"?r.timezone:"UTC",config_version:typeof r.config_version=="number"?r.config_version:null,accepts_bookings:r.accepts_bookings===true,rules:kl(r.rules),options:Array.isArray(r.options)?r.options.flatMap(Pl):[],...Sl(r.mode)?{mode:r.mode}:{}}}}}function Tl(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.event_type!="string")return null;let n={event_type:t.event_type};return typeof t.threshold_percent=="number"&&(n.threshold_percent=t.threshold_percent),typeof t.threshold_seconds=="number"&&(n.threshold_seconds=t.threshold_seconds),typeof t.page_threshold=="number"&&(n.page_threshold=t.page_threshold),typeof t.page_name=="string"&&(n.page_name=t.page_name),n}function je(e){if(!e||typeof e!="object")return null;let t=e,r=(Array.isArray(t.services)?t.services:[]).flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,firing:fs(s.firing)}]}),o=Array.isArray(t.goals)?t.goals:null,i=o?o.flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,kind:s.kind==="event"?"event":"sale",trigger:Tl(s.trigger),firing:fs(s.firing)}]}):r.map(a=>({key:a.key,label:a.label,kind:"sale",trigger:null,firing:a.firing}));return {schema_version:typeof t.schema_version=="number"?t.schema_version:1,config_version:typeof t.config_version=="number"?t.config_version:0,business_id:typeof t.business_id=="string"?t.business_id:void 0,customer_id:typeof t.customer_id=="string"?t.customer_id:null,environment:typeof t.environment=="string"?t.environment:void 0,google_tracking_state:t.google_tracking_state==="active"?"active":"disabled",gtag_ids:ls(t.gtag_ids)?t.gtag_ids:{},meta_pixel_ids:ls(t.meta_pixel_ids)?t.meta_pixel_ids:{},services:r,goals:i,linked_hostnames:Array.isArray(t.linked_hostnames)?t.linked_hostnames.filter(a=>typeof a=="string"&&a.length>0):[],integrations:El(t.integrations)}}var Al="_aranova_cfg_";function $s(e){return `${Al}${e}`}function Il(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem($s(e));if(!t)return null;let n=JSON.parse(t),r=je(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function zl(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem($s(e),JSON.stringify(t));}catch{}}function to(e){let t=Il(e.cdnUrl),n=t?.config??e.baked??null,r=t?.etag??null,o=new Map,i=new Set;function a(){o.clear();for(let l of n?.goals??[])o.set(l.key,l);}function s(){let l=[...i];i.clear();for(let c of l)try{c();}catch{}}function u(l,c){if(!l||n&&l.config_version<=n.config_version)return;let f=n===null;n=l,r=c,a(),zl(e.cdnUrl,{etag:r,config:l}),f&&s();}async function d(){if(!(typeof window>"u"))try{let l=e.fetchImpl??globalThis.fetch;if(!l)return;let c={};r&&(c["If-None-Match"]=r);let f=await l(e.cdnUrl,{method:"GET",headers:c});if(f.status===304||!f.ok)return;u(je(await f.json()),f.headers.get("ETag"));}catch{}}return a(),d(),{getFiring:l=>o.get(l)?.firing??null,getGoal:l=>o.get(l)??null,listGoals:()=>[...o.values()],linkedHostnames:()=>n?.linked_hostnames??[],current:()=>n,isReady:()=>n!==null,onResolve:l=>n!==null?(l(),()=>{}):(i.add(l),()=>i.delete(l)),revalidate:d}}var _s="_aranova_auto_txn_map",Wt=new Map,no=0;function Ol(e,t,n){return JSON.stringify([e,t,n])}function Nl(){let e=globalThis.crypto;if(typeof e?.randomUUID=="function")return e.randomUUID();if(typeof e?.getRandomValues=="function"){let o=e.getRandomValues(new Uint8Array(16));return Array.from(o,i=>i.toString(16).padStart(2,"0")).join("")}no=(no+1)%4294967296;let t=Date.now().toString(16).padStart(12,"0"),n=no.toString(16).padStart(8,"0"),r=Math.floor(Math.random()*0xffffffffffff).toString(16).padStart(12,"0");return `${t}${n}${r}`.slice(0,32)}function hs(e){return typeof e=="string"&&/^auto:(?:[0-9a-f]{32}|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$/i.test(e)&&e.length<=64}function ys(e){if(typeof window>"u")return {sessionId:e,entries:{}};try{let t=window.localStorage.getItem(_s);if(!t)return {sessionId:e,entries:{}};let n=JSON.parse(t);return n.sessionId!==e||!n.entries||typeof n.entries!="object"||Array.isArray(n.entries)?{sessionId:e,entries:{}}:{sessionId:e,entries:n.entries}}catch{return {sessionId:e,entries:{}}}}function Rl(e){if(!(typeof window>"u"))try{window.localStorage.setItem(_s,JSON.stringify(e));}catch{}}function Yt(e,t,n){let r=Ol(e,t,n),o=Wt.get(r);if(o)return o;let a=ys(e).entries[r];if(hs(a))return Wt.set(r,a),a;let s=`auto:${Nl()}`;Wt.set(r,s);let u=ys(e),d=u.entries[r];return hs(d)?(Wt.set(r,d),d):(u.entries[r]=s,Rl(u),s)}function ro(e,t){return typeof e[t]=="number"}function Ml(e,t){return typeof e[t]=="string"}function Xt(e,t,n){let r=e.trigger;if(!r||r.event_type!==t)return false;switch(t){case "scroll_depth":return ro(n,"depth_percent")&&r.threshold_percent!=null&&n.depth_percent>=r.threshold_percent;case "time_on_site":return ro(n,"duration_ms")&&r.threshold_seconds!=null&&n.duration_ms>=r.threshold_seconds*1e3;case "multi_page_session":return ro(n,"page_count")&&r.page_threshold!=null&&n.page_count>=r.page_threshold;case "specific_page_visit":return Ml(n,"page_name")&&n.page_name===r.page_name;case "page_view":case "form_start":case "phone_click":return true;default:return false}}var Fl={USD:2,CAD:2};function Ll(e){return Fl[e]??2}function fe(e,t){return e/10**Ll(t)}var ks="https://demos.aranova.io";function Dl(e){return e.siteId?`tracking-config/v1/sites/${e.siteId}-${e.environment}.json`:`tracking-config/v1/${e.businessId}-${e.environment}.json`}function bt(e){return e.cdnUrl?e.cdnUrl:`${(e.cdnBaseUrl?.trim()||ks).replace(/\/+$/,"")}/${Dl(e)}`}var Zl="_aranova_cfg_runtime_",vs=6e4,bs=50,jl=5e3,Ul=5*6e4,xs=new Map,Cs=new Set,Qt=null,ws=false;function Ps(e){return `${Zl}${e}`}function Jt(e,t){e.push(t),e.length>bs&&e.splice(0,e.length-bs);}function Bl(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem(Ps(e));if(!t)return null;let n=JSON.parse(t),r=je(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function Vl(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Ps(e),JSON.stringify(t));}catch{}}function Gl(e){return e.google_tracking_state==="disabled"||Object.keys(e.gtag_ids).length===0}function Ss(e,t){return e.business_id===t.businessId&&e.environment===t.environment&&(e.google_tracking_state==="active"||e.google_tracking_state==="disabled")}function Kl(){return typeof window>"u"||typeof document>"u"?null:{href:X(window.location.href),title:document.title||null,referrer:document.referrer||null}}function Hl(e){return typeof window>"u"||typeof document>"u"?Promise.resolve():(pt(),mt(e),Qt||(Qt=new Promise(t=>{let n=document.querySelector('script[data-aranova-tracking="aranova-gtag-loader"]');if(!n){t();return}if(n.dataset.loaded==="true"){t();return}window.setTimeout(t,0),n.addEventListener("load",()=>{n.dataset.loaded="true",t();},{once:true}),n.addEventListener("error",()=>t(),{once:true});}),Qt))}var en=class{constructor(t,n=globalThis.fetch){this.ref=t;this.current=null;this.etag=null;this.stateValue="unconfirmed";this.confirmedAt=0;this.authorityGeneration=0;this.inFlight=null;this.flushInFlight=null;this.flushRequested=false;this.retryTimer=null;this.started=false;this.authorityFailures=0;this.nextAuthorityAttemptAt=0;this.conversionQueue=[];this.automaticQueue=[];this.pageQueue=[];this.listeners=new Set;this.fetchImpl=n.bind(globalThis),this.url=bt(t);let r=Bl(this.url);this.current=r?.config??null,this.etag=r?.etag??null,this.start();}configUrl(){return this.url}start(){if(this.started){this.flush();return}this.started=true,this.revalidate(),typeof window<"u"&&(window.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.revalidate();}),window.addEventListener("focus",()=>{this.revalidate();}));}state(){return this.stateValue}config(){return this.stateValue==="active"||this.stateValue==="tombstone"?this.current:null}__unsafeExpireAuthorityForTests(){this.confirmedAt=Number.NEGATIVE_INFINITY,this.nextAuthorityAttemptAt=0;}__queueDepthsForTests(){return {conversions:this.conversionQueue.length,automatic:this.automaticQueue.length,pages:this.pageQueue.length}}subscribe(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async ensureAuthority(){return this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<vs?true:Date.now()<this.nextAuthorityAttemptAt?false:(await this.revalidateAuthority(),this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<vs)}async revalidate(){this.nextAuthorityAttemptAt=0,await this.revalidateAuthority(),await this.flush();}async revalidateAuthority(){if(!(typeof window>"u"||!this.fetchImpl))return this.inFlight?this.inFlight:(this.inFlight=this.revalidateNow().finally(()=>{this.inFlight=null;}),this.inFlight)}queuePageView(t=Kl()){t&&(Jt(this.pageQueue,t),this.flush());}fireConversion(t,n){Jt(this.conversionQueue,{key:t,...n}),this.flush();}queueAutomaticEvent(t,n,r,o){Jt(this.automaticQueue,{eventType:t,metadata:n,transactionPath:r,transactionScope:o}),this.flush();}listGoals(){return this.current?.goals??[]}linkedHostnames(){return this.current?.linked_hostnames??[]}integrations(){return this.current?.integrations??null}async revalidateNow(){try{let t={};this.etag&&(t["If-None-Match"]=this.etag);let n=await this.fetchImpl(this.url,{method:"GET",headers:t,cache:"no-cache"});if(n.status===304&&this.current&&Ss(this.current,this.ref)){this.confirm(this.current,this.etag);return}if(!n.ok){this.expireAuthority();return}let r=je(await n.json());if(!r||!Ss(r,this.ref)){this.expireAuthority();return}if(this.current&&r.config_version<this.current.config_version){this.expireAuthority();return}this.confirm(r,n.headers.get("ETag"));}catch{this.expireAuthority();}}expireAuthority(){this.authorityGeneration+=1,this.stateValue!=="unconfirmed"&&(this.stateValue="unconfirmed"),this.authorityFailures+=1;let t=Math.min(Ul,jl*2**(this.authorityFailures-1));this.nextAuthorityAttemptAt=Date.now()+t;}confirm(t,n){this.authorityGeneration+=1,this.current=t,this.etag=n,this.confirmedAt=Date.now(),this.authorityFailures=0,this.nextAuthorityAttemptAt=0,this.stateValue=Gl(t)?"tombstone":"active",Vl(this.url,{etag:n,config:t}),this.stateValue==="tombstone"&&(this.retryTimer!==null&&(window.clearTimeout(this.retryTimer),this.retryTimer=null),this.conversionQueue.length=0,this.automaticQueue.length=0,this.pageQueue.length=0);for(let r of this.listeners)r();}async flush(){return this.flushInFlight?(this.flushRequested=true,this.flushInFlight):(this.flushRequested=false,this.flushInFlight=this.flushNow().finally(()=>{this.flushInFlight=null,this.flushRequested&&this.stateValue==="active"&&this.flush();}),this.flushInFlight)}scheduleRetry(){this.retryTimer!==null||typeof window>"u"||(this.retryTimer=window.setTimeout(()=>{this.retryTimer=null,this.flush();},1e3));}async flushNow(){if(!await this.ensureAuthority()||this.stateValue!=="active"||!this.current)return;let t=this.current,n=this.authorityGeneration,r=Object.values(t.gtag_ids).filter(i=>typeof i=="string"&&ft(i));if(r.length===0||(await Hl(r[0]),this.authorityGeneration!==n||this.stateValue!=="active"||this.current!==t))return;let o=window.gtag;if(typeof o=="function"){try{ws||(o("js",new Date),ws=!0);for(let i of r)Cs.has(i)||(o("config",i,{send_page_view:!1}),Cs.add(i));}catch{this.scheduleRetry();return}for(;this.pageQueue.length>0;){let i=this.pageQueue[0];try{o("event","page_view",{page_location:i.href,page_title:i.title??void 0,page_referrer:i.referrer??void 0}),this.pageQueue.shift();}catch{this.scheduleRetry();return}}for(;this.automaticQueue.length>0;){let i=this.automaticQueue[0];for(let a of t.goals)a.kind!=="event"||!a.firing||Xt(a,i.eventType,i.metadata)&&Jt(this.conversionQueue,{key:a.key,transactionId:Yt(i.transactionScope,a.key,i.transactionPath)});this.automaticQueue.shift();}for(;this.conversionQueue.length>0;){let i=this.conversionQueue[0],s=t.goals.find(c=>c.key===i.key)?.firing;if(!s){this.conversionQueue.shift();continue}let u=i.currency??s.currency??null,d=i.value??(s.value_cents!=null&&u?fe(s.value_cents,u):null);if(Ce({sendTo:s.send_to,value:d,currency:u,transactionId:i.transactionId??null})==="retryable"){this.scheduleRetry();return}this.conversionQueue.shift();}}}};function tn(e,t){let n=`${bt(e)}|${e.businessId}|${e.environment}`,r=xs.get(n);if(r)return r;let o=new en(e,globalThis.fetch);return xs.set(n,o),o}var Es={hosts:["myalp.io"]};var Wl=new Set(Es.hosts);function nn(e){let t=e?.autoleap?.booking;if(!t)return null;let n=t.rules?Yl(t.rules):null;return {provider:"autoleap",enabled:t.enabled,fallbackUrl:t.fallback_url,acceptsBookings:t.accepts_bookings&&n!==null&&t.config_version!==null,timezone:t.timezone,configVersion:t.config_version,rules:n,options:t.options.map(r=>({key:r.key,label:r.label})),mode:t.mode??"live"}}function Yl(e){return {minDaysAhead:e.min_days_ahead,maxDaysAhead:e.max_days_ahead,hours:e.hours,closedDates:e.closed_dates,specialHours:e.special_hours,vehicleRequired:e.vehicle_required,dropOffOptions:e.drop_off_options}}function Ts(e,t={}){let n;try{n=new URL(e);}catch{return null}if(n.protocol!=="https:"||!Wl.has(n.hostname)||n.username||n.password||n.port)return null;let[r,o]=t.firstName?.trim()?[t.firstName,t.lastName]:Xl(t.name),i=[["firstName",r?.trim()],["lastName",o?.trim()],["phone",t.phone?Ql(t.phone):""],["email",t.email?.trim()]];for(let[a,s]of i)s&&n.searchParams.set(a,s);return n.toString()}function Xl(e){let[t="",...n]=(e??"").trim().split(/\s+/);return [t,n.join(" ")]}function Ql(e){let t=Er(e);return (t.isValid?t.national:e).replace(/\D/g,"")}function As(){return typeof window>"u"?"":window.location.pathname}var Jl=50;function rn(e){let t=[],n=false;function r(o,i,a){for(let s of e.listGoals()){if(s.kind!=="event"||!s.firing||!Xt(s,o,i))continue;let u=Yt(a,s.key,As());if("queueAutomaticEvent"in e){e.fireConversion(s.key,{transactionId:u});continue}let d=s.firing,l=d.value_cents??null,c=d.currency??null;Ce({sendTo:d.send_to,value:l!=null&&c?fe(l,c):null,currency:c,transactionId:u});}}return {onAutomaticEvent(o,i,a){if("queueAutomaticEvent"in e){e.queueAutomaticEvent(o,i,As(),a);return}if(e.isReady()){r(o,i,a);return}t.length<Jl&&t.push({eventType:o,metadata:i,transactionScope:a}),n||(n=true,e.onResolve(()=>{let s=t.splice(0);for(let u of s)r(u.eventType,u.metadata,u.transactionScope);}));}}}function on(e,t){return {...e,trackEvent:n=>{e.trackEvent(n);try{t.onAutomaticEvent(n.eventType,n.metadata??{},e.getSessionId());}catch{}}}}var z={page_view:{label:"Page view",category:"page",outcomeRole:"navigation",clientVisibility:"simple"},time_on_site:{label:"Time on site",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},specific_page_visit:{label:"Key page visit",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},scroll_depth:{label:"Scroll depth",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},multi_page_session:{label:"Multi-page session",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_start:{label:"Form started",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},sdk_heartbeat:{label:"SDK heartbeat",category:"system",outcomeRole:"diagnostic",clientVisibility:"hidden"},page_exit:{label:"Page exit",category:"engagement",outcomeRole:"diagnostic",clientVisibility:"detailed"},form_step:{label:"Form step",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_submit:{label:"Form submitted",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},phone_click:{label:"Phone click",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},cta_click:{label:"CTA click",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},site_link_click:{label:"Left for sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"detailed"},site_link_arrival:{label:"Arrived from sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"simple"}};function Is(e){return e in z?z[e]:null}var an=h({page:h({title:b(g()),path:g(),search:g(),hash:g()}),referrer:b(g()),viewport:C(b(h({w:he(),h:he()})))}),zs=h({});var ao="aranova_tracking_last_fired_url",oo=null,io=false;function ef(e){try{return typeof window>"u"?null:window.sessionStorage.getItem(e)}catch{return null}}function tf(e,t){try{if(typeof window>"u")return;window.sessionStorage.setItem(e,t);}catch{}}function nf(){if(!io){io=true;let e=ef(ao);e!==null&&(oo=e);}return oo}function rf(e){oo=e,io=true,tf(ao,e);}var sn=Symbol.for("aranova.tracking.autoPageView");function of(){let e=globalThis;return e[sn]??(e[sn]={key:null}),e[sn]}function Os(e,t){let n=qt(t);return n.length>1?`${e}${n}`:e}function so(e,t={}){if(typeof window>"u")return false;let n=Os(window.location.pathname,window.location.search),r=of();return !t.force&&r.key===n?false:(r.key=n,Rs(e),true)}function Ns(e){return typeof window>"u"||typeof document>"u"?null:me(an,{page:{title:document.title||null,path:window.location.pathname,search:qt(window.location.search),hash:window.location.hash},referrer:e!==void 0?e:document.referrer||null,viewport:{w:window.innerWidth,h:window.innerHeight}})}function Rs(e){if(typeof window>"u")return;let t=window.location.href,n=nf(),r=n!==null&&n!==t?n:null,o=typeof document<"u"&&document.referrer||null,a=Ns(r??o);e.trackEvent({eventType:"page_view",pageUrl:t,metadata:a}),t!==n&&rf(t);}function Ms(e){if(typeof window>"u")return ()=>{};function t(n){n.persisted&&so(e,{force:true});}return window.addEventListener("pageshow",t),()=>{window.removeEventListener("pageshow",t);}}function uo(e){if(typeof window>"u"||typeof history>"u")return ()=>{};function t(){so(e);}let n=history.pushState.bind(history),r=history.replaceState.bind(history);function o(...s){n(...s),setTimeout(t,0);}function i(...s){r(...s),setTimeout(t,0);}history.pushState=o,history.replaceState=i,window.addEventListener("popstate",t);let a=Ms(e);return t(),()=>{history.pushState=n,history.replaceState=r,window.removeEventListener("popstate",t),a();}}function un(e){if(e instanceof RegExp)return e.source;if(Array.isArray(e))return e.map(un);if(e!==null&&typeof e=="object"){let t={};for(let[n,r]of Object.entries(e))t[n]=un(r);return t}return e}function Fs(e,t,n,r,o=null,i=null){let a=r?Object.keys(r.automatic):[],s=r?.manual?Object.keys(r.manual):[],u=null;if(r){let d={};for(let[l,c]of Object.entries(r.automatic)){let f=un(c);Object.keys(f).length>0&&(d[l]=f);}if(r.manual)for(let[l,c]of Object.entries(r.manual)){if(c===void 0)continue;let f=un(c);Object.keys(f).length>0&&(d[l]=f);}Object.keys(d).length>0&&(u=d);}return {sdk_version:t??"unknown",package_name:n,surface:e,triggers:{automatic:a,manual:s},trigger_config:u,configured_gtag_ids:o,config_site_id:i}}var Ds=2e3,Zs=10,lo=50,af=6e4,sf=200,uf="aranova_tracking_pending_v1",cn="X-Aranova-Api-Key",dn="X-Aranova-Sdk-Version",ln="X-Aranova-Sdk-Package",fn="X-Aranova-Sdk-Surface",pn="X-Aranova-Sdk-Environment";function cf(e,t,n,r,o){return {surface:e,sdk_version:t,package_name:n,site_origin:typeof window>"u"?null:window.location.origin,page_title:typeof document>"u"?null:document.title||null,referrer:typeof document>"u"?null:document.referrer||null,environment:r,active_gtag_ids:o,capabilities:Lr()}}function df(){if(typeof window>"u")return Re();try{ve();}catch{}return Me(Le)}function lf(){try{let e=de();return {state:e.state,source:e.source,updated_at:e.updatedAt,expires_at:e.expiresAt}}catch{return null}}async function Ls(e,t,n,r,o){if(typeof fetch!="function")return "drop";try{let i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",[cn]:n,[dn]:r.sdkVersion,[ln]:r.packageName,[fn]:r.surface,[pn]:r.environment},body:t,keepalive:o,credentials:"omit",mode:"cors"});return i.ok?"ok":i.status===408||i.status===429||i.status>=500?"retry":"drop"}catch{return "retry"}}function ff(e,t){return `${uf}:${e}:${t}`}function pf(e){if(typeof window>"u")return [];try{let t=window.localStorage.getItem(e);if(!t)return [];let n=JSON.parse(t);return Array.isArray(n)?n.filter(r=>typeof r=="object"&&r!==null&&"session"in r&&Array.isArray(r.events)):[]}catch{return []}}function co(e,t){if(!(typeof window>"u"))try{t.length===0?window.localStorage.removeItem(e):window.localStorage.setItem(e,JSON.stringify(t));}catch{}}function mf(e){let t=e.reduce((r,o)=>r+o.events.length,0),n=e.slice();for(;t>sf&&n.length>1;){let r=n.shift();t-=r?r.events.length:0;}return n}function fo(e){let t=e.flushIntervalMs??Ds,n=Math.min(e.maxQueueSize??Zs,lo),r=e.sdkVersion??null,o=e.packageName??null,i=e.environment??"production",a=e.activeGtagIds??null,s=e.endpoint.replace(/\/$/,""),u=`${s}/events`,d={sdkVersion:r??"",packageName:o??"",surface:e.surface,environment:i},l=[],c=null,f=ff(e.apiKey,s),m=pf(f),p=Promise.resolve(),$=0,_=null,P=Re(),w=false,O=null;if(typeof window<"u")try{O=Jr();}catch{}let E=O?.link??null,K=Kt(),Be=xe(),Q=Be.id;if(typeof window<"u"){_=X(window.location.href);try{P=ve();}catch{}Wr(Q);try{$t();}catch{}}function Ve(){return typeof window>"u"?null:X(window.location.href)}function Ge(v,T,ie){l.push({event_type:v,page_url:ie,metadata:T,occurred_at:new Date().toISOString()});}function Ke(){Ge("sdk_heartbeat",Fs(e.surface,r,o,e.triggers??null,a,e.configSiteId??null),Ve());}if(Be.isNew&&Ke(),O!==null&&typeof window<"u"){let v=O.link;Ge("site_link_arrival",{outcome:O.outcome,origin_session_id:v?.sessionId??null,origin_visitor_id:v?.visitorId??null,transit_ms:v?Math.max(0,Date.now()-v.linkedAt):null,adopted_visitor:O.adoptedVisitor,page:{path:window.location.pathname}},_),He();}m.length>0&&He();function we(){let v=xe();v.isNew&&v.id!==Q&&(Ke(),E=null),Q=v.id;let T=Dr(df(),P),ie=cf(e.surface,r,o,i,a);return {session_id:Q,visitor_id:K,gclid:T.gclid,wbraid:T.wbraid,gbraid:T.gbraid,ylpcid:T.ylpcid,fbclid:T.fbclid,fbc:be(),fbp:Vr(),utm_source:T.utm_source,utm_medium:T.utm_medium,utm_campaign:T.utm_campaign,utm_term:T.utm_term,utm_content:T.utm_content,...es(Q),...E?{origin_session_id:E.sessionId,origin_visitor_id:E.visitorId,origin_linked_at:new Date(E.linkedAt).toISOString()}:{},first_page:_,consent_state:lf(),context:ie}}function He(v=t){c!==null||w||(c=setTimeout(()=>{c=null,vn();},v));}function _n(){c!==null&&(clearTimeout(c),c=null);}function zo(){if(l.length===0)return;let v=l.slice(0,lo);l=l.slice(v.length),m=mf([...m,{session:we(),events:v}]),co(f,m);}function vn(){return p=p.then(ku).catch(()=>{}),p}async function ku(){if(!w&&(_n(),zo(),m.length!==0))try{for(;m.length>0;){let v=m[0],T={session:v.session,events:v.events},ie=await Ls(u,JSON.stringify(T),e.apiKey,d,!1);if(w)return;if(ie==="retry"){$+=1;return}m=m.filter(Eu=>Eu!==v),co(f,m),$=0;}}finally{if(m.length>0){let v=Math.min(t*2**$,af);He(v);}else l.length>0&&He();}}function Pu(v){if(w||!v||typeof v.eventType!="string"||v.eventType.length===0)return;if(v.eventType==="form_submit"&&j()!=="denied")try{let ie=v.metadata?.form?.fields;ie&&Ra(ie,e.phone?.defaultCountry);}catch{}let T=v.occurredAt instanceof Date?v.occurredAt.toISOString():typeof v.occurredAt=="string"?v.occurredAt:new Date().toISOString();l.push({event_type:v.eventType,page_url:v.pageUrl!=null?X(v.pageUrl):Ve(),metadata:v.metadata??null,occurred_at:T}),l.length>=n||Is(v.eventType)?.outcomeRole==="lead"?vn():He();}function qe(){if(w||(zo(),_n(),m.length===0))return;let v=m[0];m=m.slice(1),co(f,m);let T={session:v.session,events:v.events};Ls(u,JSON.stringify(T),e.apiKey,d,true);}function Oo(){document.visibilityState==="hidden"&&qe();}return typeof window<"u"&&(window.addEventListener("pagehide",qe),window.addEventListener("visibilitychange",Oo)),{trackEvent:Pu,flush:vn,flushBeacon:qe,getSessionId:()=>Q,getVisitorId:()=>K,destroy:()=>{w||(l.length>0&&qe(),w=true,_n(),l=[],typeof window<"u"&&(window.removeEventListener("pagehide",qe),window.removeEventListener("visibilitychange",Oo)));}}}var js=h({cta_name:g(),page:h({path:g()}),section:C(b(g())),destination_url:C(b(g())),href:C(b(g())),element:C(b(g()))}),Us=h({autoCapture:C(h({selector:C(g())}))});var gf=h({automatic:W(g()),manual:W(g())}),Bs=h({sdk_version:g(),package_name:b(g()),surface:Pe(["next","react","script"]),triggers:gf,trigger_config:C(b(ke(g(),ke(g(),qi())))),configured_gtag_ids:C(b(ke(g(),g()))),config_site_id:C(b(Gi()))}),Vs=h({});var Gs=h({form:h({id:g(),action:b(g())}),page:h({path:g()})}),Ks=h({selector:C(g())});var Hs=h({form:h({id:g(),action:b(g())}),step:h({id:g().check(ne(1),ge(64),$e(/^[A-Za-z0-9_-]+$/)),index:R().check(N(1),G(50)),total:b(R().check(N(1),G(50)))}),direction:Pe(["forward","back"]),page:h({path:g()})}),qs=h({});var po=Qi(()=>Xi([g(),he(),Pt(),Hi(),W(po),ke(g(),po)])).register(Gn,{id:"JsonSerializableValue"}),Ws=h({form:h({id:g(),action:b(g()),fields:C(W(h({name:g(),type:g(),label:b(g()),value:po})))}),page:h({path:g()})}),Ys=h({});var Xs=h({page_count:R().check(N(2)),page:h({path:g()})}),Qs=h({pageThreshold:R().check(N(2))});var Js=h({dwell_ms:R().check(N(0)),max_scroll_percent:b(R().check(N(0),G(100))),scroll_baseline_percent:C(b(R().check(N(0),G(100)))),page:h({path:g()})}),eu=h({});var tu=h({phone_number:g(),page:h({path:g()}),section:C(b(g()))}),nu=h({autoCapture:C(h({selector:C(g())}))});var ru=h({depth_percent:R().check(N(1),G(100)),page:h({path:g()})}),ou=h({thresholds:W(R().check(N(1),G(100))).check(ne(1))});var $f=64,hf=/^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;var yf=g().check(ge($f),$e(hf,{message:"page identity must be lowercase snake_case, start with a letter, and contain at most 64 characters"})),iu=yf,au=h({page_name:iu,page:h({path:g()})}),su=h({pages:W(h({name:iu,pathPattern:Ji(e=>e instanceof RegExp,{message:"pathPattern must be a RegExp"})})).check(ne(1))});var uu=h({destination_host:g(),destination_url:g(),page:h({path:g()})}),cu=h({}),du=h({outcome:Pe(["linked","stale","invalid"]),origin_session_id:C(b(g())),origin_visitor_id:C(b(g())),transit_ms:C(b(he())),adopted_visitor:Pt(),page:h({path:g()})}),lu=h({});var fu=h({duration_ms:R().check(Hn()),page:h({path:g()})}),pu=h({thresholdSeconds:R().check(Kn())});var mn={page_view:{kind:"automatic",semantics:z.page_view,metadataSchema:an,configSchema:zs},time_on_site:{kind:"automatic",semantics:z.time_on_site,metadataSchema:fu,configSchema:pu},specific_page_visit:{kind:"automatic",semantics:z.specific_page_visit,metadataSchema:au,configSchema:su},scroll_depth:{kind:"automatic",semantics:z.scroll_depth,metadataSchema:ru,configSchema:ou},multi_page_session:{kind:"automatic",semantics:z.multi_page_session,metadataSchema:Xs,configSchema:Qs},form_start:{kind:"automatic",semantics:z.form_start,metadataSchema:Gs,configSchema:Ks},sdk_heartbeat:{kind:"automatic",semantics:z.sdk_heartbeat,metadataSchema:Bs,configSchema:Vs},page_exit:{kind:"automatic",semantics:z.page_exit,metadataSchema:Js,configSchema:eu},site_link_click:{kind:"automatic",semantics:z.site_link_click,metadataSchema:uu,configSchema:cu},site_link_arrival:{kind:"automatic",semantics:z.site_link_arrival,metadataSchema:du,configSchema:lu},form_submit:{kind:"manual",semantics:z.form_submit,metadataSchema:Ws,configSchema:Ys},form_step:{kind:"manual",semantics:z.form_step,metadataSchema:Hs,configSchema:qs},phone_click:{kind:"manual",semantics:z.phone_click,metadataSchema:tu,configSchema:nu},cta_click:{kind:"manual",semantics:z.cta_click,metadataSchema:js,configSchema:Us}};Object.entries(mn).filter(([,e])=>e.kind==="automatic").map(([e])=>e);Object.entries(mn).filter(([,e])=>e.kind==="manual").map(([e])=>e);Object.entries(mn).filter(([,e])=>e.semantics.outcomeRole==="lead").map(([e])=>e);function mu(e){return mn[e]}function mo(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.thresholdSeconds*1e3,r=0,o=document.visibilityState==="visible"?Date.now():null,i=null,a=false;function s(){a||(a=true,e.trackEvent({eventType:"time_on_site",metadata:{duration_ms:n,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function u(){if(a||o===null)return;let c=n-r;if(c<=0){s();return}i=setTimeout(s,c);}function d(){i!==null&&(clearTimeout(i),i=null);}function l(){a||(document.visibilityState==="hidden"?(o!==null&&(r+=Date.now()-o,o=null),d()):(o=Date.now(),u()));}return document.addEventListener("visibilitychange",l),u(),()=>{d(),document.removeEventListener("visibilitychange",l);}}function go(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let{pages:n}=t,r=new Set;function o(){let d=window.location.pathname;for(let{name:l,pathPattern:c}of n){if(c.lastIndex=0,!c.test(d))continue;let f=`${l}:${d}`;r.has(f)||(r.add(f),e.trackEvent({eventType:"specific_page_visit",metadata:{page_name:l,page:{path:d}},pageUrl:window.location.href,occurredAt:null}));}}let i=history.pushState.bind(history),a=history.replaceState.bind(history);function s(...d){i(...d),setTimeout(o,0);}function u(...d){a(...d),setTimeout(o,0);}return history.pushState=s,history.replaceState=u,window.addEventListener("popstate",o),o(),()=>{history.pushState=i,history.replaceState=a,window.removeEventListener("popstate",o);}}var xt=new Set,$o=null;function ho(){for(let e of xt)e();}function gu(){setTimeout(ho,0);}function _f(){let e=history.pushState,t=history.replaceState;function n(...o){e.apply(this,o),gu();}function r(...o){t.apply(this,o),gu();}history.pushState=n,history.replaceState=r,window.addEventListener("popstate",ho),$o=()=>{history.pushState=e,history.replaceState=t,window.removeEventListener("popstate",ho),$o=null;};}function gn(e){return xt.size===0&&_f(),xt.add(e),()=>{xt.delete(e)&&xt.size===0&&$o?.();}}function yo(){let e=document.scrollingElement??document.documentElement,t=e.scrollHeight,n=e.clientHeight;if(t<=0||n<=0||t<=n+2)return null;let r=t-n,o=Math.min(Math.max(e.scrollTop,0),r);return o+n>=t-2?100:Math.max(1,Math.min(100,Math.round((o+n)/t*100)))}function vf(e){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>{e(yo());});});return ()=>cancelAnimationFrame(t)}function $n(){let e=null,t=false,n=null;return {rebaseline(){n?.(),t=false,e=null,n=vf(r=>{e=r,t=true;});},cancel(){n?.();},baseline(){return t?e:null},sample(){return t?e===null?(e=yo(),null):yo():null}}}function _o(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=new Set(t.thresholds),r=new Set,o=window.location.pathname,i=null,a=$n();function s(){let c=a.sample();if(c===null)return;let f=a.baseline();if(f!==null)for(let m of n)m<=f||c>=m&&!r.has(m)&&(r.add(m),e.trackEvent({eventType:"scroll_depth",metadata:{depth_percent:m,page:{path:o}},pageUrl:window.location.href,occurredAt:null}));}function u(){i===null&&(i=requestAnimationFrame(()=>{i=null,s();}));}function d(){let c=window.location.pathname;c!==o&&(o=c,r=new Set,a.rebaseline());}let l=gn(d);return window.addEventListener("scroll",u,{passive:true}),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),l(),window.removeEventListener("scroll",u);}}var vo="aranova_tracking_mps_paths",$u="aranova_tracking_mps_session",bo="aranova_tracking_mps_fired";function bf(){try{return typeof window<"u"?window.sessionStorage:null}catch{return null}}function xo(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let n=bf();if(!n)return ()=>{};let{pageThreshold:r}=t,o="";function i(){try{let p=n.getItem(vo);return p?new Set(JSON.parse(p)):new Set}catch{return new Set}}function a(p){try{n.setItem(vo,JSON.stringify([...p]));}catch{}}function s(){let p=xe().id;n.getItem($u)!==p&&(n.setItem($u,p),n.removeItem(vo),n.removeItem(bo));}function u(){return n.getItem(bo)==="1"}function d(){let p=window.location.pathname;if(p===o||(o=p,s(),u()))return;let $=i();$.add(p),a($),$.size>=r&&(n.setItem(bo,"1"),e.trackEvent({eventType:"multi_page_session",metadata:{page_count:$.size,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}let l=history.pushState.bind(history),c=history.replaceState.bind(history);function f(...p){l(...p),setTimeout(d,0);}function m(...p){c(...p),setTimeout(d,0);}return history.pushState=f,history.replaceState=m,window.addEventListener("popstate",d),d(),()=>{history.pushState=l,history.replaceState=c,window.removeEventListener("popstate",d);}}function Co(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.selector??"form",r=new Set,o=window.location.pathname;function i(p){if(p.id)return `id:${p.id}`;let $=p.getAttribute("action");return $?`action:${$}`:`index:${Array.from(document.querySelectorAll(n)).indexOf(p)}`}function a(p){u(p.target);}function s(p){p.button===0&&u(p.target);}function u(p){if(!(p instanceof Element))return;let $=p.closest(n);if(!$||$.tagName!=="FORM")return;let _=i($);r.has(_)||(r.add(_),e.trackEvent({eventType:"form_start",metadata:{form:{id:$.id||"",action:$.getAttribute("action")??null},page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function d(){let p=window.location.pathname;p!==o&&(o=p,r=new Set);}let l=history.pushState.bind(history),c=history.replaceState.bind(history);function f(...p){l(...p),setTimeout(d,0);}function m(...p){c(...p),setTimeout(d,0);}return history.pushState=f,history.replaceState=m,window.addEventListener("popstate",d),document.addEventListener("focusin",a),document.addEventListener("pointerdown",s,{capture:true,passive:true}),()=>{history.pushState=l,history.replaceState=c,window.removeEventListener("popstate",d),document.removeEventListener("focusin",a),document.removeEventListener("pointerdown",s,{capture:true});}}var xf=50;function wo(e){if(typeof window>"u"||typeof document>"u")return ()=>{};let t=window.location.pathname,n=document.visibilityState==="visible"?Date.now():null,r=0,o=null,i=null,a=$n();function s(){i===null&&(i=requestAnimationFrame(()=>{i=null;let p=a.sample();p!==null&&(o===null||p>o)&&(o=p);}));}function u(){let p=r;return n!==null&&(p+=Date.now()-n),Math.max(0,Math.round(p))}function d(p,$){let _=u();_<xf||(e.trackEvent({eventType:"page_exit",metadata:{dwell_ms:_,max_scroll_percent:o,scroll_baseline_percent:a.baseline(),page:{path:p}},pageUrl:window.location.href,occurredAt:null}),$&&e.flushBeacon(),r=0,n=null);}function l(){let p=window.location.pathname;p!==t&&(d(t,false),t=p,o=null,a.rebaseline(),r=0,n=document.visibilityState==="visible"?Date.now():null);}function c(){document.visibilityState==="hidden"?d(t,true):n=Date.now();}function f(){d(t,true);}let m=gn(l);return window.addEventListener("scroll",s,{passive:true}),document.addEventListener("visibilitychange",c),window.addEventListener("pagehide",f),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),m(),window.removeEventListener("scroll",s),document.removeEventListener("visibilitychange",c),window.removeEventListener("pagehide",f);}}var hu="[data-aranova-cta]",Cf=120;function yu(e){let t=e.tagName.toLowerCase();return e.id?`${t}#${e.id}`:t}function wf(e){let t=e.getAttribute("data-aranova-cta");if(t&&t.trim().length>0)return t.trim();let n=(e.textContent??"").trim().replaceAll(/\s+/g," ");return n.length>0?n.slice(0,Cf):yu(e)}function So(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};L("cta_click_capture");let r=n.selector??hu;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u=s instanceof HTMLAnchorElement?s.href||null:s.getAttribute("href");e.trackEvent({eventType:"cta_click",metadata:{cta_name:wf(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section"),destination_url:u,href:u,element:yu(s)},pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}function Sf(e){if(!(e instanceof Element))return null;let t=e.closest("a[href]");return t instanceof HTMLAnchorElement?t:null}function _u(e){return e.button===0||e.button===1}function ko(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};L("cross_site_linker");function n(i){let a=Sf(i.target);if(a===null)return null;let s=Ht(a.href,t.linkedHostnames());return s===null?null:{anchor:a,link:s}}function r(i){if(!_u(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated);}function o(i){if(!_u(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated,e.trackEvent({eventType:"site_link_click",metadata:{destination_host:a.anchor.hostname,destination_url:X(a.anchor.href),page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}),e.flushBeacon());}return document.addEventListener("pointerdown",r,true),document.addEventListener("click",o,true),()=>{document.removeEventListener("pointerdown",r,true),document.removeEventListener("click",o,true);}}var vu='a[href^="tel:"]';function kf(e){try{return decodeURIComponent(e)}catch{return e}}function Pf(e){let t=e instanceof HTMLAnchorElement?e.href:e.getAttribute("href")??"",n=kf(t.replace(/^tel:/i,"").split(";")[0]).trim();return ce(n)??n}function Po(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};L("phone_click_capture");let r=n.selector??vu;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u={phone_number:Pf(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section")};e.trackEvent({eventType:"phone_click",metadata:u,pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}var Ue=class extends Error{constructor(t,n){super(t),this.name="AranovaApiError",this.status=n.status,this.code=n.code,this.requestId=n.requestId,this.context=n.context;}};function Ef(e){let t={[cn]:e.apiKey};return e.sdkVersion&&(t[dn]=e.sdkVersion),e.packageName&&(t[ln]=e.packageName),e.surface&&(t[fn]=e.surface),e.environment&&(t[pn]=e.environment),t}function Tf(e,t){return `${e.replace(/\/$/,"")}${t}`}async function bu(e,t,n,r,o){let i={...Ef(e),...o};r!==void 0&&(i["Content-Type"]="application/json");let a=await fetch(Tf(e.endpoint,n),{method:t,headers:i,body:r===void 0?void 0:JSON.stringify(r)});if(!a.ok){let s,u,d;try{let l=await a.json();if(l&&typeof l=="object"){let c=l;typeof c.detail=="string"&&(s=c.detail),typeof c.code=="string"&&(u=c.code),c.context&&typeof c.context=="object"&&(d=c.context);}}catch{}throw new Ue(s??a.statusText??"Request failed",{status:a.status,code:u,requestId:a.headers.get("x-request-id")??void 0,context:d})}if(a.status!==204)return await a.json()}var Z=bu;var Af="X-Aranova-Simulate";var xu={stale:"booking_config_stale",rejected:"booking_rejected"},If=[1e3,2e3,4e3,8e3,15e3],zf="Please check your details and try again.";function Of(e){return new Promise(t=>{setTimeout(t,e);})}function Eo(e){let t=e.mode??"live";return e.status==="created"?{status:"created",id:e.id,requestCode:e.request_code,mode:t}:e.status==="pending"?{status:"pending",id:e.id,mode:t}:{status:"failed",id:e.id,fallbackUrl:e.fallback_url,mode:t}}function Nf(e,t,n){let r=e.vehicle?`${e.vehicle.year} ${e.vehicle.make} ${e.vehicle.model}`:"",o=(i,a,s,u)=>({name:i,type:a,label:s,value:u});return {form:{id:t,action:"/tracking/bookings",fields:[o("first_name","text","First name",e.firstName),o("last_name","text","Last name",e.lastName),o("phone","tel","Phone",ce(e.phone)??e.phone),o("email","email","Email",e.email??""),o("service","select","Service",e.services.map(i=>n.get(i)??i).join(", ")),o("vehicle","text","Vehicle",r),o("start","text","Requested time",`${e.startDate} ${String(e.startHour).padStart(2,"0")}:00`),o("note","textarea","Notes",e.notes??"")]},page:{path:typeof window>"u"?"/":window.location.pathname}}}function To(e){return e&&"integrations"in e?e:null}function Cu(e){try{return ["localhost","127.0.0.1","[::1]"].includes(new URL(e).hostname)}catch{return false}}function Rf(e,t){if(!t||!Cu(e))return null;let n=bt(t.ref);return Cu(n)?null:`[aranova] Bookings go to the local API (${e}) but the runtime config comes from ${n}. Set NEXT_PUBLIC_ARANOVA_CDN_BASE_URL to the local bucket (http://localhost:9100/aranova-demos) so both come from one backend.`}function wu(e,t){let n=new Set,r=new Set,o=false;function i(c){if(o)return;o=true;let f=Rf(e.endpoint,c);f&&console.warn(f);}function a(c){let f=nn(To(t)?.integrations());return f?Ts(f.fallbackUrl,{firstName:c.firstName,lastName:c.lastName,phone:c.phone,email:c.email}):null}function s(c){let f=nn(To(t)?.integrations())?.mode??"live";return {status:"failed",id:null,fallbackUrl:a(c),mode:f}}function u(c,f){return c.status==="failed"&&!c.fallbackUrl?{...c,fallbackUrl:a(f)}:c}async function d(c,f){let m={status:"pending",id:c,mode:f};for(let p of If){await Of(p);try{let $=`/bookings/${encodeURIComponent(c)}`;m=Eo(await Z(e,"GET",$));}catch{continue}if(m.status!=="pending")return m}return m}async function l(c,f,m,p){if(!(c instanceof Ue))return s(f);if(c.code===xu.stale)return r.has(m)?s(f):(r.add(m),await p?.revalidate(),{status:"stale",message:c.message});if(c.code===xu.rejected){let $=c.context?.reasons;return {status:"invalid",message:c.message,reasons:Array.isArray($)?$.map(String):[]}}return c.code==="validation_error"?{status:"invalid",message:zf,reasons:[]}:s(f)}return {async submit(c,{attemptKey:f,formSubmit:m,simulate:p}){L("booking_integration");let $=To(t);i($);let _=nn($?.integrations());if(!_?.acceptsBookings||_.configVersion===null)return s(c);if(m&&!n.has(f)){n.add(f);let E=new Map(_.options.map(K=>[K.key,K.label]));m.tracking.trackEvent("form_submit",Nf(c,m.formId,E));}let P={idempotency_key:f,session_id:m?.tracking.getSessionId()??rs()??`no-session-${f}`,config_version:_.configVersion,start_date:c.startDate,start_hour:c.startHour,first_name:c.firstName.trim(),last_name:c.lastName.trim(),phone:c.phone,email:c.email?.trim()||null,vehicle:c.vehicle??null,drop_off:c.dropOff??null,services:c.services,notes:c.notes?.trim()||null,marketing_sms_consent:c.marketingSmsConsent===true,page_path:typeof window>"u"?null:window.location.pathname},w;try{let E=p?{[Af]:p}:void 0;w=await Z(e,"POST","/bookings",P,E);}catch(E){return l(E,c,f,$)}let O=Eo(w);return u(O.status==="pending"?await d(O.id,O.mode):O,c)},async status(c){return Eo(await Z(e,"GET",`/bookings/${encodeURIComponent(c)}`))}}}function Mf(e,t,n,r,o){if(!e)return;let i=t.customer_email||t.customer_phone?{email:t.customer_email??null,phone:t.customer_phone??null}:null;i&&j()!=="denied"&&Ir(i);let a=t.external_id??r.id;for(let s of n){if(!s.service)continue;if("fireConversion"in e){e.fireConversion(s.service,{value:s.amount_cents!=null?fe(s.amount_cents,o):void 0,currency:o,transactionId:`${a}:${s.service}`});continue}let u=e.getFiring(s.service);if(!u)continue;let d=s.amount_cents??u.value_cents??null;Ce({sendTo:u.send_to,value:d!=null?fe(d,o):null,currency:u.currency??o,transactionId:`${a}:${s.service}`},{userData:i});}}function Su(e){e.firing&&L("conversion_goals_manual");async function t(n){let r=n.currency??e.defaultCurrency;if(!r)throw new Error("record: `currency` is required (pass it on the sale or set config.defaultCurrency)");let o={...n,currency:r,occurred_at:n.occurred_at??new Date().toISOString()},i=await Z(e,"POST","/sales",o),a=n.services?.length?n.services.map(s=>({service:s.service,amount_cents:s.amount_cents})):[{service:n.service,amount_cents:n.amount_total_cents??null}];return Mf(e.firing,n,a,i,r),i}return {record:t,recordSale:t,trackConversion(n,r){if(e.firing&&"fireConversion"in e.firing){r?.userData&&j()!=="denied"&&Ir(r.userData),e.firing.fireConversion(n,{value:r?.value??void 0,currency:r?.currency??e.defaultCurrency??void 0,transactionId:r?.transactionId??null});return}let o=e.firing?.getFiring(n);if(!o)return;let i=o.currency??r?.currency??e.defaultCurrency??null,a=o.value_cents??null,s=r?.value??(a!=null&&i?fe(a,i):null);Ce({sendTo:o.send_to,value:s,currency:i,transactionId:r?.transactionId??null},{userData:r?.userData});},async list(n){let{cursor:r,limit:o,sort:i,order:a,want_total:s,...u}=n??{};return Z(e,"POST","/sales/query",{filters:u,...o!==void 0?{limit:o}:{},...r!==void 0?{cursor:r}:{},...i!==void 0?{sort:i}:{},...a!==void 0?{order:a}:{},...s!==void 0?{want_total:s}:{}})},async summary(n){let{range:r,include_categories:o,include_deleted_services:i,top_n:a,since:s,until:u,timezone:d,granularity:l,compare_to:c,...f}=n;return Z(e,"POST","/sales/summary",{filters:f,...r!==void 0?{range:r}:{},...o!==void 0?{include_categories:o}:{},...i!==void 0?{include_deleted_services:i}:{},...a!==void 0?{top_n:a}:{},...s!==void 0?{since:s}:{},...u!==void 0?{until:u}:{},...d!==void 0?{timezone:d}:{},...l!==void 0?{granularity:l}:{},...c!==void 0?{compare_to:c}:{}})},async get(n){return Z(e,"GET",`/sales/${n}`)},async update(n,r){return Z(e,"PATCH",`/sales/${n}`,r)},async delete(n){await Z(e,"DELETE",`/sales/${n}`);},customers:{async list(n){let{segment:r,sort:o,order:i,cursor:a,limit:s,want_total:u,...d}=n??{};return Z(e,"POST","/customers/query",{filters:d,...r!==void 0?{segment:r}:{},...o!==void 0?{sort:o}:{},...i!==void 0?{order:i}:{},...a!==void 0?{cursor:a}:{},...s!==void 0?{limit:s}:{},...u!==void 0?{want_total:u}:{}})},async get(n,r){let o=new URLSearchParams;r?.include_sales!==void 0&&o.set("include_sales",String(r.include_sales)),r?.limit!==void 0&&o.set("limit",String(r.limit)),r?.cursor!=null&&o.set("cursor",r.cursor);let i=o.toString();return Z(e,"GET",`/customers/${encodeURIComponent(n)}${i?`?${i}`:""}`)},async summary(n){let{range:r,since:o,until:i,timezone:a,compare_to:s,...u}=n??{};return Z(e,"POST","/customers/summary",{filters:u,...r!==void 0?{range:r}:{},...o!==void 0?{since:o}:{},...i!==void 0?{until:i}:{},...a!==void 0?{timezone:a}:{},...s!==void 0?{compare_to:s}:{}})}},business:{async config(){return Z(e,"GET","/business/config")}},bookings:wu(e,e.firing)}}function Ff(){return Me(Le)}var k=null,Ao=null,B=[],hn=null,yn=()=>[];function Lf(){for(let e=B.length-1;e>=0;e--)B[e]();B=[],k!==null&&(k.destroy(),k=null),Ao=null,hn=null,yn=()=>[];}function Df(e={}){if(typeof window>"u")return;window.AranovaTracking=Io;let{apiKey:t,endpoint:n,autoCaptureTrackingParams:r=true,cookieMaxAgeSeconds:o=7776e3,gtagId:i,gtagIds:a,metaPixelId:s,metaPixelIds:u,environment:d,renderConsentBanner:l,triggers:c,conversionConfig:f,trackingConfig:m}=e;if(L("base_tracking"),m&&L("conversion_goals_auto"),(m||i||a&&Object.keys(a).length>0)&&L("ad_tags_google"),(s||u&&Object.keys(u).length>0)&&L("ad_tags_meta"),r&&ve(window.location.href,o),m?tn(m).queuePageView():a&&Object.keys(a).length>0?Ur(a):i&&jr(i),u&&Object.keys(u).length>0?qr(u):s&&Hr(s),Lf(),!t||!n){(t||n)&&console.warn("[AranovaTracking] init() requires both `apiKey` and `endpoint` to enable first-party event ingest. Page-view events will not be sent.");return}let p=m?null:f?to({cdnUrl:f.cdnUrl,baked:f.baked}):null,$=m?tn(m):null;$?.start(),yn=()=>($??p)?.linkedHostnames()??[],hn=Su({apiKey:t,endpoint:n,firing:$??p??void 0});let _=c??{automatic:{page_view:{}},manual:{}};Ao=_;let P=a?Object.fromEntries(Object.entries(a).filter(we=>we[1]!=null)):i?{default:i}:void 0,w=fo({apiKey:t,endpoint:n,surface:"script",packageName:"@aranova/tracking-browser",sdkVersion:ea,triggers:_,environment:d,activeGtagIds:P,configSiteId:m?.siteId??null});k=p?on(w,rn(p)):$?on(w,rn($)):w;let O=$&&k?{...k,trackEvent:we=>{k?.trackEvent(we),we.eventType==="page_view"&&$.queuePageView();}}:k;eo(),B.push(uo(O)),B.push(wo(k)),B.push(ko(k,{linkedHostnames:()=>yn()}));let E=_.automatic.time_on_site;E&&B.push(mo(k,E));let K=_.automatic.specific_page_visit;K&&B.push(go(k,K));let Be=_.automatic.scroll_depth;Be&&B.push(_o(k,Be));let Q=_.automatic.multi_page_session;Q&&B.push(xo(k,Q));let Ve=_.automatic.form_start;Ve&&B.push(Co(k,Ve));let Ge=_.manual?.cta_click;Ge&&B.push(So(k,Ge));let Ke=_.manual?.phone_click;Ke&&B.push(Po(k,Ke));}function Zf(e,t){if(k===null){console.warn("[AranovaTracking] trackEvent called before init({ apiKey, endpoint })");return}let n=Ao;if(n===null){console.warn("[AranovaTracking] trackEvent called but no trigger registry was passed to init()");return}let r=n.manual??{};if(!(e in r)){console.warn(`[AranovaTracking] trackEvent: event "${e}" is not registered as a manual trigger. Register it under \`triggers.manual\` in init().`);return}try{let o=mu(e);me(o.metadataSchema,t);}catch(o){console.warn(`[AranovaTracking] trackEvent: metadata for "${e}" failed schema validation`,o);return}k.trackEvent({eventType:e,metadata:t,pageUrl:null,occurredAt:null});}function jf(){if(hn===null)throw new Error("[AranovaTracking] sales() called before init({ apiKey, endpoint })");return hn}var Io={init:Df,captureTrackingParams:()=>ve(),getTrackingParams:Ff,getConsentState:j,setConsentState:lt,getConsentChoice:de,optIn:Nr,optOut:Rr,resetConsent:Mr,trackEvent:Zf,sales:jf,decorateUrl:e=>Qr(e,yn())};typeof window<"u"&&(window.AranovaTracking=Io);var By=Io;
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bd(e,t){if(e){if(typeof e=="string")return za(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],u=true,d=false;try{if(i=(n=n.call(e)).next,t===0);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(l){d=true,o=l;}finally{try{if(!u&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw o}}return s}}function Gd(e){if(Array.isArray(e))return e}function kr(e){var t=Array.prototype.slice.call(e),n=jd(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s,u,d;if(typeof r=="string")s=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")a?(u=i,d=a):(u=void 0,d=i),o&&(u=Fd({defaultCountry:o},u));else if(Y(o))i?(u=o,d=i):d=o;else throw new Error("Invalid second argument: ".concat(o));return {text:s,options:u,metadata:d}}function ct(e){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(e)}function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Oa(Object(n),true).forEach(function(r){Kd(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Kd(e,t,n){return (t=Hd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Hd(e){var t=qd(e,"string");return ct(t)=="symbol"?t:t+""}function qd(e,t){if(ct(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ct(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function Pr(e,t,n){t&&t.defaultCountry&&!aa(t.defaultCountry,n)&&(t=Na(Na({},t),{},{defaultCountry:void 0}));try{return Sr(e,t,n)}catch(r){if(!(r instanceof V))throw r}}function dt(){var e=kr(arguments),t=e.text,n=e.options,r=e.metadata;return Pr(t,n,r)}function Ot(){return qn(dt,arguments)}var Wd="CA";function Er(e,t){let n=t??Wd,r=Ot(e??"",n);if(!r)return {e164:null,national:"",international:"",country:n,isValid:false};let o=r.isValid();return {e164:o?r.number:null,national:r.formatNational(),international:r.formatInternational(),country:r.country??n,isValid:o}}function ce(e,t){return Er(e,t).e164}var Yd=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,Xd=/e[-_]?mail/i,Qd=/(^|[^a-z])(phone|tel|mobile|cell)/i,re={email:null,phoneNumber:null};function Ar(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Yd.test(t)?t:null}function Tr(e,t){let n=e[t];return typeof n=="string"?n:""}function Jd(e,t){let n={email:null,phoneNumber:null};if(!Array.isArray(e))return n;let r=[(o,i,a)=>Tr(o,"type").toLowerCase()===a,(o,i)=>i.test(Tr(o,"name"))||i.test(Tr(o,"label"))];for(let o of r){for(let i of e){if(i===null||typeof i!="object")continue;let a=i;if(!(typeof a.value!="string"||a.value.length===0)&&(n.email===null&&o(a,Xd,"email")&&(n.email=Ar(a.value)),n.phoneNumber===null&&o(a,Qd,"tel")))try{n.phoneNumber=ce(a.value,t);}catch{}}if(n.email!==null&&n.phoneNumber!==null)break}return n}function Ir(e,t){let n=Ar(e.email),r=null;if(typeof e.phone=="string"&&e.phone.length>0)try{r=ce(e.phone,t);}catch{r=null;}re={email:n??re.email,phoneNumber:r??re.phoneNumber};}function Ra(e,t){try{let n=Jd(e,t);re={email:n.email??re.email,phoneNumber:n.phoneNumber??re.phoneNumber};}catch{}}function Ma(){re={email:null,phoneNumber:null};}function Fa(e,t){if(typeof window>"u"||typeof window.gtag!="function")return false;let n=re.email,r=re.phoneNumber;if(e){let o=Ar(e.email);if(o&&(n=o),typeof e.phone=="string"&&e.phone.length>0)try{r=ce(e.phone,t)??r;}catch{}}if(n===null&&r===null)return false;try{return window.gtag("set","user_data",{...n!==null?{email:n}:{},...r!==null?{phone_number:r}:{}}),!0}catch{return false}}var Nt="consent_state",Rt="consent_timestamp",Oe="consent_expires_at",Or=90,La=864e5,zr={state:"granted",source:"default",updatedAt:null,expiresAt:null},el=new Set;function Da(e){for(let t of el)try{t(e);}catch{}}function Mt(e){return {ad_storage:e,ad_user_data:e,ad_personalization:e,analytics_storage:e}}function de(){if(typeof window>"u")return zr;try{let e=window.localStorage.getItem(Nt),t=window.localStorage.getItem(Rt);if(e==="granted")return {state:"granted",source:"explicit",updatedAt:t,expiresAt:null};if(e==="denied"){let n=window.localStorage.getItem(Oe);if(!n){n=new Date(Date.now()+Or*La).toISOString();try{window.localStorage.setItem(Oe,n);}catch{}}if(!(Date.parse(n)<=Date.now()))return {state:"denied",source:"explicit",updatedAt:t,expiresAt:n}}}catch{}return zr}function j(){return de().state}function Za(e){typeof window>"u"||(typeof window.gtag=="function"&&window.gtag("consent","update",Mt(e)),typeof window.fbq=="function"&&window.fbq("consent",e==="granted"?"grant":"revoke"));}function lt(e,t){if(typeof window>"u")return;let n=t?.declineTtlDays,r=typeof n=="number"&&Number.isFinite(n)&&n>0?n:Or,o=new Date().toISOString(),i=e==="denied"?new Date(Date.now()+r*La).toISOString():null;try{window.localStorage.setItem(Nt,e),window.localStorage.setItem(Rt,o),i!==null?window.localStorage.setItem(Oe,i):window.localStorage.removeItem(Oe);}catch{}if(Za(e),e==="denied"){Ma();try{typeof window.gtag=="function"&&window.gtag("set","user_data",null);}catch{}}Da({state:e,source:"explicit",updatedAt:o,expiresAt:i});}function Nr(){lt("granted");}function Rr(e){lt("denied",e);}function Mr(){if(!(typeof window>"u")){try{window.localStorage.removeItem(Nt),window.localStorage.removeItem(Rt),window.localStorage.removeItem(Oe);}catch{}Za("granted"),Da(zr);}}var ja=["ad_tags_google","ad_tags_meta","base_tracking","blog_rendering","booking_handoff","booking_integration","calendar_read","calendar_write","consent_controls","conversion_goals_auto","conversion_goals_manual","cross_site_linker","cta_click_capture","form_capture","phone_click_capture","phone_fields"],Fr="data-aranova-capability",Ua=new Set;function L(e){Ua.add(e);}function Lr(){let e=new Set(Ua);for(let t of tl())e.add(t);return Array.from(e).sort()}function tl(){if(typeof document>"u")return [];let e=new Set(ja),t=[];for(let n of document.querySelectorAll(`[${Fr}]`)){let r=n.getAttribute(Fr);r&&e.has(r)&&t.push(r);}return t}var Ne=["gclid","wbraid","gbraid","ylpcid","fbclid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function Re(){return {gclid:null,wbraid:null,gbraid:null,ylpcid:null,fbclid:null,utm_source:null,utm_medium:null,utm_campaign:null,utm_term:null,utm_content:null}}function Ft(e){return typeof e=="string"&&e.length>0?e:null}function Me(e){return Ne.reduce((t,n)=>(t[n]=Ft(e(n)),t),Re())}function Lt(e){return Ne.reduce((t,n)=>{let r=e.get(n);return typeof r=="string"&&r.trim().length>0&&(t[n]=r),t},{})}var nl="_aranova_track_";function Ba(e){return `${nl}${e}`}function Fe(e,t,n=7776e3){let r=encodeURIComponent(t);if(typeof document<"u")try{document.cookie=`${e}=${r}; Max-Age=${n}; Path=/; SameSite=Lax`;}catch{}if(typeof window<"u")try{window.localStorage.setItem(Ba(e),r);}catch{}}function oe(e){if(typeof document<"u"){let n=(document.cookie?document.cookie.split("; "):[]).find(r=>r.startsWith(`${e}=`));if(n){let[,r=""]=n.split("=");return Ft(decodeURIComponent(r))}}if(typeof window<"u")try{let t=window.localStorage.getItem(Ba(e));if(t)return Ft(decodeURIComponent(t))}catch{}return null}function Le(e){return oe(e)}function Dt(e,t,n=7776e3){Fe(e,t,n);}function Dr(e,t){return Ne.reduce((n,r)=>(n[r]=e[r]??t[r],n),Re())}function Va(e,t=7776e3){let n=Lt(e);return Object.entries(n).forEach(([r,o])=>{Dt(r,o,t);}),n}function ve(e=typeof window>"u"?"":window.location.href,t=7776e3){let n=typeof window>"u"?new URL(e||"https://example.invalid"):new URL(e,window.location.origin);return Va(n.searchParams,t),Me(Le)}var Ka="https://www.googletagmanager.com/gtag/js",De="data-aranova-tracking";function rl(e){return `aranova-${e}`}var ol=/^[A-Z]{1,3}-[A-Za-z0-9_-]+$/;function ft(e){return ol.test(e)}function Zt(){if(window.dataLayer=window.dataLayer||[],typeof window.gtag=="function")return window.gtag;function e(){window.dataLayer?.push(arguments);}return window.gtag=e,window.gtag}var il=/^AW-[A-Za-z0-9]+\/[A-Za-z0-9_-]+$/;function jt(e){return il.test(e)}function Zr(e){if(typeof window>"u"||typeof window.gtag!="function"||!jt(e.sendTo))return false;let t={send_to:e.sendTo};e.value!=null&&(t.value=e.value),e.currency&&(t.currency=e.currency),e.transactionId&&(t.transaction_id=e.transactionId);try{return window.gtag("event","conversion",t),!0}catch{return false}}function pt(){Zt()("consent","default",Mt(j()==="denied"?"denied":"granted"));}function mt(e){if(typeof document>"u")return;let t=rl("gtag-loader");if(document.querySelector(`script[${De}="${t}"]`))return;let r=document.createElement("script");r.async=true,r.src=`${Ka}?id=${encodeURIComponent(e)}`,r.setAttribute(De,t),document.head.append(r);}function Ha(e){let t=Zt();t("js",new Date),t("config",e);}function jr(e){typeof window>"u"||typeof document>"u"||ft(e)&&(pt(),mt(e),Ha(e));}function Ur(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&ft(r));if(t.length===0)return;pt(),mt(t[0]);let n=Zt();n("js",new Date);for(let r of t)n("config",r);}var qa="https://connect.facebook.net/en_US/fbevents.js",gt="_fbc",Wa="_fbp",al=/^\d{15,16}$/;function Br(e){return al.test(e)}function Ya(e){let t=e.split(".").filter(Boolean);return Math.max(0,t.length-1)}function Xa(e,t,n){let r=(typeof window>"u"?"":window.location.hostname);return `fb.${Ya(r)}.${t}.${e}`}function be(){return oe(gt)}function Vr(){return oe(Wa)}function sl(){if(typeof window>"u")return null;try{let e=new URL(window.location.href).searchParams.get("fbclid");return e&&e.trim().length>0?e:null}catch{return null}}function $t(e=typeof Date>"u"?0:Date.now()){if(typeof window>"u"||be())return;let t=sl()??oe("fbclid");t&&Fe(gt,Xa(t,e),7776e3);}function ul(e){return `aranova-${e}`}function Bt(){let e=window;if(typeof e.fbq=="function")return e.fbq;let t=function(...n){t.callMethod?t.callMethod.apply(t,n):t.queue.push(n);};return t.push=t,t.loaded=true,t.version="2.0",t.queue=[],e.fbq=t,e._fbq||(e._fbq=t),t}function Gr(){Bt()("consent",j()==="denied"?"revoke":"grant");}function Kr(){if(typeof document>"u")return;let e=ul("fbq-loader");if(document.querySelector(`script[${De}="${e}"]`))return;let n=document.createElement("script");n.async=true,n.src=qa,n.setAttribute(De,e),document.head.append(n);}function Qa(e){let t=Bt();t("init",e),t("track","PageView");}function Hr(e){typeof window>"u"||typeof document>"u"||Br(e)&&(Gr(),Kr(),Qa(e),$t());}function qr(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&Br(r));if(t.length===0)return;Gr(),Kr();let n=Bt();for(let r of t)n("init",r);n("track","PageView"),$t();}var Ja="_aranova_track_landing",ht=null;function cl(e){if(typeof e!="object"||e===null)return {};let t=e;return Ne.reduce((n,r)=>{let o=t[r];return typeof o=="string"&&o.length>0&&(n[r]=o),n},{})}function dl(){try{let e=window.localStorage.getItem(Ja);if(!e)return null;let t=JSON.parse(e);return typeof t.session_id!="string"||t.session_id.length===0?null:{session_id:t.session_id,params:cl(t.params)}}catch{return null}}function ll(e){ht=e;try{window.localStorage.setItem(Ja,JSON.stringify(e));}catch{}}function fl(e){try{let t=new URL(e??window.location.href,window.location.origin);return Lt(t.searchParams)}catch{return {}}}function Wr(e,t){if(typeof window>"u")return {};let n=dl();if(n&&n.session_id===e)return ht=n,n.params;if(ht&&ht.session_id===e)return ht.params;let r={session_id:e,params:fl(t)};return ll(r),r.params}function es(e,t){let n=t??(typeof window>"u"?null:Wr(e));return n===null?{}:{landing_gclid:n.gclid??null,landing_wbraid:n.wbraid??null,landing_gbraid:n.gbraid??null,landing_ylpcid:n.ylpcid??null,landing_fbclid:n.fbclid??null,landing_utm_source:n.utm_source??null,landing_utm_medium:n.utm_medium??null,landing_utm_campaign:n.utm_campaign??null,landing_utm_term:n.utm_term??null,landing_utm_content:n.utm_content??null}}function yt(){let e=globalThis.crypto;if(typeof e?.randomUUID=="function")return e.randomUUID();let t=new Uint8Array(16);if(typeof e?.getRandomValues=="function")e.getRandomValues(t);else for(let r=0;r<16;r+=1)t[r]=Math.floor(Math.random()*256);t[6]=t[6]&15|64,t[8]=t[8]&63|128;let n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return `${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}var _t="aranova_tracking_visitor",Vt="aranova_tracking_session",ts=1800*1e3;function vt(e){try{return window.localStorage.getItem(e)}catch{return null}}function Gt(e,t){try{window.localStorage.setItem(e,t);}catch{}}function Kt(){if(typeof window>"u")return yt();let e=vt(_t);if(e&&e.length>0)return e;let t=yt();return Gt(_t,t),t}function ns(e){if(typeof window>"u"||e.length===0)return false;let t=vt(_t);return t&&t.length>0?false:(Gt(_t,e),vt(_t)===e)}function xe(e=Date.now()){if(typeof window>"u")return {id:yt(),isNew:true};let t=vt(Vt);if(t)try{let r=JSON.parse(t);if(typeof r.id=="string"&&typeof r.last_event_at=="number"&&e-r.last_event_at<=ts){let o={id:r.id,last_event_at:e};return Gt(Vt,JSON.stringify(o)),{id:r.id,isNew:!1}}}catch{}let n={id:yt(),last_event_at:e};return Gt(Vt,JSON.stringify(n)),{id:n.id,isNew:true}}function rs(e=Date.now()){if(typeof window>"u")return null;let t=vt(Vt);if(!t)return null;try{let n=JSON.parse(t);return typeof n.id!="string"||typeof n.last_event_at!="number"?null:e-n.last_event_at<=ts?n.id:null}catch{return null}}var le="_arv",is="1",as=300*1e3,ml={g:"gclid",w:"wbraid",gb:"gbraid",f:"fbclid",y:"ylpcid"},ss=Object.entries(ml),Yr=g().check(ne(1),ge(128)),Ze=C(Yr),gl=Yi({v:Yr,s:Yr,t:g().check($e(/^[0-9a-z]{1,12}$/)),g:Ze,w:Ze,gb:Ze,f:Ze,fc:Ze,y:Ze});function $l(e){let t=new TextEncoder().encode(e),n="";for(let r of t)n+=String.fromCharCode(r);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function hl(e){try{let t=e.replace(/-/g,"+").replace(/_/g,"/"),n=atob(t+"=".repeat((4-t.length%4)%4)),r=Uint8Array.from(n,o=>o.charCodeAt(0));return new TextDecoder().decode(r)}catch{return null}}function us(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))typeof r=="string"&&r.length>0&&t.set(n,r);return `${is}.${$l(t.toString())}`}function cs(e){let t=e.indexOf(".");if(t<=0||e.slice(0,t)!==is)return null;let n=hl(e.slice(t+1));if(n===null)return null;let r=new URLSearchParams(n),o={};r.forEach((a,s)=>{o[s]=a;});let i=gl.safeParse(o);return i.success?i.data:null}function yl(e){let t={};for(let[n,r]of ss){let o=e[n];o&&(t[r]=o);}return {visitorId:e.v,sessionId:e.s,linkedAt:Number.parseInt(e.t,36),carried:t,fbc:e.fc??null}}function os(e){return e.toLowerCase().replace(/^www\./,"")}function Xr(e,t){let n=os(e),r=os(t);return n===r||n.endsWith(`.${r}`)}function Ht(e,t,n=Date.now()){if(typeof window>"u"||t.length===0)return null;let r;try{r=new URL(e,window.location.href);}catch{return null}if(r.protocol!=="http:"&&r.protocol!=="https:")return null;let o=window.location.hostname;if(o&&Xr(r.hostname,o))return null;let i=t.find(s=>Xr(r.hostname,s));if(i===void 0)return null;let a=de();return a.state==="denied"&&a.source==="explicit"?{hostname:i,decorated:e}:(r.searchParams.set(le,vl(n)),{hostname:i,decorated:r.href})}function X(e){try{let t=new URL(e,typeof window>"u"?void 0:window.location.href);return t.searchParams.has(le)?(t.searchParams.delete(le),t.href):e}catch{return e}}function qt(e){if(!e.includes(le))return e;let t=new URLSearchParams(e);if(!t.has(le))return e;t.delete(le);let n=t.toString();return n.length>0?`?${n}`:""}function _l(){let e={};for(let[t,n]of ss){let r=oe(n);r&&(e[t]=r);}return e}function vl(e=Date.now()){let t=be();return us({v:Kt(),s:xe(e).id,t:e.toString(36),..._l(),...t?{fc:t}:{}})}function Qr(e,t,n=Date.now()){return Ht(e,t,n)?.decorated??e}function Jr(e=typeof window>"u"?"":window.location.href,t=Date.now()){if(typeof window>"u"||!e)return null;let n;try{n=new URL(e,window.location.href).searchParams.get(le);}catch{return null}if(!n)return null;let r=cs(n);if(r===null)return {outcome:"invalid",link:null,adoptedVisitor:false};let o=yl(r),i=t-o.linkedAt;if(!Number.isFinite(i)||i<-6e4)return {outcome:"invalid",link:null,adoptedVisitor:false};if(i>as)return {outcome:"stale",link:null,adoptedVisitor:false};let a=ns(o.visitorId);for(let[s,u]of Object.entries(o.carried))oe(s)||Dt(s,u);return o.fbc&&!be()&&Fe(gt,o.fbc),{outcome:"linked",link:o,adoptedVisitor:a}}function eo(){if(typeof window>"u"||typeof history>"u")return;let e=X(window.location.href);if(e!==window.location.href)try{history.replaceState(null,"",e);}catch{}}var bl="_aranova_conv_";function ds(e){return `${bl}${e.transactionId??""}:${e.sendTo}`}function xl(e){if(!e.transactionId||typeof window>"u")return false;try{return window.sessionStorage.getItem(ds(e))!==null}catch{return false}}function Cl(e){if(!(!e.transactionId||typeof window>"u"))try{window.sessionStorage.setItem(ds(e),"1");}catch{}}function Ce(e,t){if(j()==="denied")return "denied";if(xl(e))return "duplicate";if(!jt(e.sendTo))return "invalid";try{return Fa(t?.userData),Zr(e)?(Cl(e),"fired"):"retryable"}catch{return "retryable"}}var wl=["live","test","simulated"];function Sl(e){return wl.includes(e)}function ls(e){return typeof e=="object"&&e!==null&&Object.values(e).every(t=>typeof t=="string")}function fs(e){if(!e||typeof e!="object")return null;let t=e;return typeof t.send_to!="string"?null:{send_to:t.send_to,value_cents:typeof t.value_cents=="number"?t.value_cents:null,currency:typeof t.currency=="string"?t.currency:null}}function ps(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function ms(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function gs(e){let t={};if(!e||typeof e!="object")return t;for(let[n,r]of Object.entries(e)){if(!r||typeof r!="object")continue;let o=r;t[n]={morning:ps(o.morning)?o.morning:[],afternoon:ps(o.afternoon)?o.afternoon:[]};}return t}function kl(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.min_days_ahead!="number"||typeof t.max_days_ahead!="number"||!t.hours||typeof t.hours!="object")return null;let n=gs(t.hours);return {min_days_ahead:t.min_days_ahead,max_days_ahead:t.max_days_ahead,hours:n,closed_dates:ms(t.closed_dates)?t.closed_dates:[],special_hours:gs(t.special_hours),vehicle_required:t.vehicle_required===true,drop_off_options:ms(t.drop_off_options)?t.drop_off_options:[]}}function Pl(e){if(!e||typeof e!="object")return [];let t=e;return typeof t.key!="string"||!t.key||typeof t.label!="string"?[]:[{key:t.key,label:t.label,group:typeof t.group=="string"&&t.group?t.group:null,description:typeof t.description=="string"&&t.description?t.description:null}]}function El(e){if(!e||typeof e!="object")return {};let t=e.autoleap;if(!t||typeof t!="object")return {};let n=t.booking;if(!n||typeof n!="object")return {};let r=n;return typeof r.fallback_url!="string"||!r.fallback_url?{}:{autoleap:{booking:{enabled:r.enabled===true,fallback_url:r.fallback_url,timezone:typeof r.timezone=="string"?r.timezone:"UTC",config_version:typeof r.config_version=="number"?r.config_version:null,accepts_bookings:r.accepts_bookings===true,rules:kl(r.rules),options:Array.isArray(r.options)?r.options.flatMap(Pl):[],...Sl(r.mode)?{mode:r.mode}:{}}}}}function Tl(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.event_type!="string")return null;let n={event_type:t.event_type};return typeof t.threshold_percent=="number"&&(n.threshold_percent=t.threshold_percent),typeof t.threshold_seconds=="number"&&(n.threshold_seconds=t.threshold_seconds),typeof t.page_threshold=="number"&&(n.page_threshold=t.page_threshold),typeof t.page_name=="string"&&(n.page_name=t.page_name),n}function je(e){if(!e||typeof e!="object")return null;let t=e,r=(Array.isArray(t.services)?t.services:[]).flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,firing:fs(s.firing)}]}),o=Array.isArray(t.goals)?t.goals:null,i=o?o.flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,kind:s.kind==="event"?"event":"sale",trigger:Tl(s.trigger),firing:fs(s.firing)}]}):r.map(a=>({key:a.key,label:a.label,kind:"sale",trigger:null,firing:a.firing}));return {schema_version:typeof t.schema_version=="number"?t.schema_version:1,config_version:typeof t.config_version=="number"?t.config_version:0,business_id:typeof t.business_id=="string"?t.business_id:void 0,customer_id:typeof t.customer_id=="string"?t.customer_id:null,environment:typeof t.environment=="string"?t.environment:void 0,google_tracking_state:t.google_tracking_state==="active"?"active":"disabled",gtag_ids:ls(t.gtag_ids)?t.gtag_ids:{},meta_pixel_ids:ls(t.meta_pixel_ids)?t.meta_pixel_ids:{},services:r,goals:i,linked_hostnames:Array.isArray(t.linked_hostnames)?t.linked_hostnames.filter(a=>typeof a=="string"&&a.length>0):[],integrations:El(t.integrations)}}var Al="_aranova_cfg_";function $s(e){return `${Al}${e}`}function Il(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem($s(e));if(!t)return null;let n=JSON.parse(t),r=je(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function zl(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem($s(e),JSON.stringify(t));}catch{}}function to(e){let t=Il(e.cdnUrl),n=t?.config??e.baked??null,r=t?.etag??null,o=new Map,i=new Set;function a(){o.clear();for(let l of n?.goals??[])o.set(l.key,l);}function s(){let l=[...i];i.clear();for(let c of l)try{c();}catch{}}function u(l,c){if(!l||n&&l.config_version<=n.config_version)return;let f=n===null;n=l,r=c,a(),zl(e.cdnUrl,{etag:r,config:l}),f&&s();}async function d(){if(!(typeof window>"u"))try{let l=e.fetchImpl??globalThis.fetch;if(!l)return;let c={};r&&(c["If-None-Match"]=r);let f=await l(e.cdnUrl,{method:"GET",headers:c});if(f.status===304||!f.ok)return;u(je(await f.json()),f.headers.get("ETag"));}catch{}}return a(),d(),{getFiring:l=>o.get(l)?.firing??null,getGoal:l=>o.get(l)??null,listGoals:()=>[...o.values()],linkedHostnames:()=>n?.linked_hostnames??[],current:()=>n,isReady:()=>n!==null,onResolve:l=>n!==null?(l(),()=>{}):(i.add(l),()=>i.delete(l)),revalidate:d}}var _s="_aranova_auto_txn_map",Wt=new Map,no=0;function Ol(e,t,n){return JSON.stringify([e,t,n])}function Nl(){let e=globalThis.crypto;if(typeof e?.randomUUID=="function")return e.randomUUID();if(typeof e?.getRandomValues=="function"){let o=e.getRandomValues(new Uint8Array(16));return Array.from(o,i=>i.toString(16).padStart(2,"0")).join("")}no=(no+1)%4294967296;let t=Date.now().toString(16).padStart(12,"0"),n=no.toString(16).padStart(8,"0"),r=Math.floor(Math.random()*0xffffffffffff).toString(16).padStart(12,"0");return `${t}${n}${r}`.slice(0,32)}function hs(e){return typeof e=="string"&&/^auto:(?:[0-9a-f]{32}|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$/i.test(e)&&e.length<=64}function ys(e){if(typeof window>"u")return {sessionId:e,entries:{}};try{let t=window.localStorage.getItem(_s);if(!t)return {sessionId:e,entries:{}};let n=JSON.parse(t);return n.sessionId!==e||!n.entries||typeof n.entries!="object"||Array.isArray(n.entries)?{sessionId:e,entries:{}}:{sessionId:e,entries:n.entries}}catch{return {sessionId:e,entries:{}}}}function Rl(e){if(!(typeof window>"u"))try{window.localStorage.setItem(_s,JSON.stringify(e));}catch{}}function Yt(e,t,n){let r=Ol(e,t,n),o=Wt.get(r);if(o)return o;let a=ys(e).entries[r];if(hs(a))return Wt.set(r,a),a;let s=`auto:${Nl()}`;Wt.set(r,s);let u=ys(e),d=u.entries[r];return hs(d)?(Wt.set(r,d),d):(u.entries[r]=s,Rl(u),s)}function ro(e,t){return typeof e[t]=="number"}function Ml(e,t){return typeof e[t]=="string"}function Xt(e,t,n){let r=e.trigger;if(!r||r.event_type!==t)return false;switch(t){case "scroll_depth":return ro(n,"depth_percent")&&r.threshold_percent!=null&&n.depth_percent>=r.threshold_percent;case "time_on_site":return ro(n,"duration_ms")&&r.threshold_seconds!=null&&n.duration_ms>=r.threshold_seconds*1e3;case "multi_page_session":return ro(n,"page_count")&&r.page_threshold!=null&&n.page_count>=r.page_threshold;case "specific_page_visit":return Ml(n,"page_name")&&n.page_name===r.page_name;case "page_view":case "form_start":case "phone_click":return true;default:return false}}var Fl={USD:2,CAD:2};function Ll(e){return Fl[e]??2}function fe(e,t){return e/10**Ll(t)}var ks="https://demos.aranova.io";function Dl(e){return e.siteId?`tracking-config/v1/sites/${e.siteId}-${e.environment}.json`:`tracking-config/v1/${e.businessId}-${e.environment}.json`}function bt(e){return e.cdnUrl?e.cdnUrl:`${(e.cdnBaseUrl?.trim()||ks).replace(/\/+$/,"")}/${Dl(e)}`}var Zl="_aranova_cfg_runtime_",vs=6e4,bs=50,jl=5e3,Ul=5*6e4,xs=new Map,Cs=new Set,Qt=null,ws=false;function Ps(e){return `${Zl}${e}`}function Jt(e,t){e.push(t),e.length>bs&&e.splice(0,e.length-bs);}function Bl(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem(Ps(e));if(!t)return null;let n=JSON.parse(t),r=je(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function Vl(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Ps(e),JSON.stringify(t));}catch{}}function Gl(e){return e.google_tracking_state==="disabled"||Object.keys(e.gtag_ids).length===0}function Ss(e,t){return e.business_id===t.businessId&&e.environment===t.environment&&(e.google_tracking_state==="active"||e.google_tracking_state==="disabled")}function Kl(){return typeof window>"u"||typeof document>"u"?null:{href:X(window.location.href),title:document.title||null,referrer:document.referrer||null}}function Hl(e){return typeof window>"u"||typeof document>"u"?Promise.resolve():(pt(),mt(e),Qt||(Qt=new Promise(t=>{let n=document.querySelector('script[data-aranova-tracking="aranova-gtag-loader"]');if(!n){t();return}if(n.dataset.loaded==="true"){t();return}window.setTimeout(t,0),n.addEventListener("load",()=>{n.dataset.loaded="true",t();},{once:true}),n.addEventListener("error",()=>t(),{once:true});}),Qt))}var en=class{constructor(t,n=globalThis.fetch){this.ref=t;this.current=null;this.etag=null;this.stateValue="unconfirmed";this.confirmedAt=0;this.authorityGeneration=0;this.inFlight=null;this.flushInFlight=null;this.flushRequested=false;this.retryTimer=null;this.started=false;this.authorityFailures=0;this.nextAuthorityAttemptAt=0;this.conversionQueue=[];this.automaticQueue=[];this.pageQueue=[];this.listeners=new Set;this.fetchImpl=n.bind(globalThis),this.url=bt(t);let r=Bl(this.url);this.current=r?.config??null,this.etag=r?.etag??null,this.start();}configUrl(){return this.url}start(){if(this.started){this.flush();return}this.started=true,this.revalidate(),typeof window<"u"&&(window.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.revalidate();}),window.addEventListener("focus",()=>{this.revalidate();}));}state(){return this.stateValue}config(){return this.stateValue==="active"||this.stateValue==="tombstone"?this.current:null}__unsafeExpireAuthorityForTests(){this.confirmedAt=Number.NEGATIVE_INFINITY,this.nextAuthorityAttemptAt=0;}__queueDepthsForTests(){return {conversions:this.conversionQueue.length,automatic:this.automaticQueue.length,pages:this.pageQueue.length}}subscribe(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async ensureAuthority(){return this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<vs?true:Date.now()<this.nextAuthorityAttemptAt?false:(await this.revalidateAuthority(),this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<vs)}async revalidate(){this.nextAuthorityAttemptAt=0,await this.revalidateAuthority(),await this.flush();}async revalidateAuthority(){if(!(typeof window>"u"||!this.fetchImpl))return this.inFlight?this.inFlight:(this.inFlight=this.revalidateNow().finally(()=>{this.inFlight=null;}),this.inFlight)}queuePageView(t=Kl()){t&&(Jt(this.pageQueue,t),this.flush());}fireConversion(t,n){Jt(this.conversionQueue,{key:t,...n}),this.flush();}queueAutomaticEvent(t,n,r,o){Jt(this.automaticQueue,{eventType:t,metadata:n,transactionPath:r,transactionScope:o}),this.flush();}listGoals(){return this.current?.goals??[]}linkedHostnames(){return this.current?.linked_hostnames??[]}integrations(){return this.current?.integrations??null}async revalidateNow(){try{let t={};this.etag&&(t["If-None-Match"]=this.etag);let n=await this.fetchImpl(this.url,{method:"GET",headers:t,cache:"no-cache"});if(n.status===304&&this.current&&Ss(this.current,this.ref)){this.confirm(this.current,this.etag);return}if(!n.ok){this.expireAuthority();return}let r=je(await n.json());if(!r||!Ss(r,this.ref)){this.expireAuthority();return}if(this.current&&r.config_version<this.current.config_version){this.expireAuthority();return}this.confirm(r,n.headers.get("ETag"));}catch{this.expireAuthority();}}expireAuthority(){this.authorityGeneration+=1,this.stateValue!=="unconfirmed"&&(this.stateValue="unconfirmed"),this.authorityFailures+=1;let t=Math.min(Ul,jl*2**(this.authorityFailures-1));this.nextAuthorityAttemptAt=Date.now()+t;}confirm(t,n){this.authorityGeneration+=1,this.current=t,this.etag=n,this.confirmedAt=Date.now(),this.authorityFailures=0,this.nextAuthorityAttemptAt=0,this.stateValue=Gl(t)?"tombstone":"active",Vl(this.url,{etag:n,config:t}),this.stateValue==="tombstone"&&(this.retryTimer!==null&&(window.clearTimeout(this.retryTimer),this.retryTimer=null),this.conversionQueue.length=0,this.automaticQueue.length=0,this.pageQueue.length=0);for(let r of this.listeners)r();}async flush(){return this.flushInFlight?(this.flushRequested=true,this.flushInFlight):(this.flushRequested=false,this.flushInFlight=this.flushNow().finally(()=>{this.flushInFlight=null,this.flushRequested&&this.stateValue==="active"&&this.flush();}),this.flushInFlight)}scheduleRetry(){this.retryTimer!==null||typeof window>"u"||(this.retryTimer=window.setTimeout(()=>{this.retryTimer=null,this.flush();},1e3));}async flushNow(){if(!await this.ensureAuthority()||this.stateValue!=="active"||!this.current)return;let t=this.current,n=this.authorityGeneration,r=Object.values(t.gtag_ids).filter(i=>typeof i=="string"&&ft(i));if(r.length===0||(await Hl(r[0]),this.authorityGeneration!==n||this.stateValue!=="active"||this.current!==t))return;let o=window.gtag;if(typeof o=="function"){try{ws||(o("js",new Date),ws=!0);for(let i of r)Cs.has(i)||(o("config",i,{send_page_view:!1}),Cs.add(i));}catch{this.scheduleRetry();return}for(;this.pageQueue.length>0;){let i=this.pageQueue[0];try{o("event","page_view",{page_location:i.href,page_title:i.title??void 0,page_referrer:i.referrer??void 0}),this.pageQueue.shift();}catch{this.scheduleRetry();return}}for(;this.automaticQueue.length>0;){let i=this.automaticQueue[0];for(let a of t.goals)a.kind!=="event"||!a.firing||Xt(a,i.eventType,i.metadata)&&Jt(this.conversionQueue,{key:a.key,transactionId:Yt(i.transactionScope,a.key,i.transactionPath)});this.automaticQueue.shift();}for(;this.conversionQueue.length>0;){let i=this.conversionQueue[0],s=t.goals.find(c=>c.key===i.key)?.firing;if(!s){this.conversionQueue.shift();continue}let u=i.currency??s.currency??null,d=i.value??(s.value_cents!=null&&u?fe(s.value_cents,u):null);if(Ce({sendTo:s.send_to,value:d,currency:u,transactionId:i.transactionId??null})==="retryable"){this.scheduleRetry();return}this.conversionQueue.shift();}}}};function tn(e,t){let n=`${bt(e)}|${e.businessId}|${e.environment}`,r=xs.get(n);if(r)return r;let o=new en(e,globalThis.fetch);return xs.set(n,o),o}var Es={hosts:["myalp.io"]};var Wl=new Set(Es.hosts);function nn(e){let t=e?.autoleap?.booking;if(!t)return null;let n=t.rules?Yl(t.rules):null;return {provider:"autoleap",enabled:t.enabled,fallbackUrl:t.fallback_url,acceptsBookings:t.accepts_bookings&&n!==null&&t.config_version!==null,timezone:t.timezone,configVersion:t.config_version,rules:n,options:t.options.map(r=>({key:r.key,label:r.label,group:r.group,description:r.description})),mode:t.mode??"live"}}function Yl(e){return {minDaysAhead:e.min_days_ahead,maxDaysAhead:e.max_days_ahead,hours:e.hours,closedDates:e.closed_dates,specialHours:e.special_hours,vehicleRequired:e.vehicle_required,dropOffOptions:e.drop_off_options}}function Ts(e,t={}){let n;try{n=new URL(e);}catch{return null}if(n.protocol!=="https:"||!Wl.has(n.hostname)||n.username||n.password||n.port)return null;let[r,o]=t.firstName?.trim()?[t.firstName,t.lastName]:Xl(t.name),i=[["firstName",r?.trim()],["lastName",o?.trim()],["phone",t.phone?Ql(t.phone):""],["email",t.email?.trim()]];for(let[a,s]of i)s&&n.searchParams.set(a,s);return n.toString()}function Xl(e){let[t="",...n]=(e??"").trim().split(/\s+/);return [t,n.join(" ")]}function Ql(e){let t=Er(e);return (t.isValid?t.national:e).replace(/\D/g,"")}function As(){return typeof window>"u"?"":window.location.pathname}var Jl=50;function rn(e){let t=[],n=false;function r(o,i,a){for(let s of e.listGoals()){if(s.kind!=="event"||!s.firing||!Xt(s,o,i))continue;let u=Yt(a,s.key,As());if("queueAutomaticEvent"in e){e.fireConversion(s.key,{transactionId:u});continue}let d=s.firing,l=d.value_cents??null,c=d.currency??null;Ce({sendTo:d.send_to,value:l!=null&&c?fe(l,c):null,currency:c,transactionId:u});}}return {onAutomaticEvent(o,i,a){if("queueAutomaticEvent"in e){e.queueAutomaticEvent(o,i,As(),a);return}if(e.isReady()){r(o,i,a);return}t.length<Jl&&t.push({eventType:o,metadata:i,transactionScope:a}),n||(n=true,e.onResolve(()=>{let s=t.splice(0);for(let u of s)r(u.eventType,u.metadata,u.transactionScope);}));}}}function on(e,t){return {...e,trackEvent:n=>{e.trackEvent(n);try{t.onAutomaticEvent(n.eventType,n.metadata??{},e.getSessionId());}catch{}}}}var z={page_view:{label:"Page view",category:"page",outcomeRole:"navigation",clientVisibility:"simple"},time_on_site:{label:"Time on site",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},specific_page_visit:{label:"Key page visit",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},scroll_depth:{label:"Scroll depth",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},multi_page_session:{label:"Multi-page session",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_start:{label:"Form started",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},sdk_heartbeat:{label:"SDK heartbeat",category:"system",outcomeRole:"diagnostic",clientVisibility:"hidden"},page_exit:{label:"Page exit",category:"engagement",outcomeRole:"diagnostic",clientVisibility:"detailed"},form_step:{label:"Form step",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_submit:{label:"Form submitted",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},phone_click:{label:"Phone click",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},cta_click:{label:"CTA click",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},site_link_click:{label:"Left for sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"detailed"},site_link_arrival:{label:"Arrived from sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"simple"}};function Is(e){return e in z?z[e]:null}var an=h({page:h({title:b(g()),path:g(),search:g(),hash:g()}),referrer:b(g()),viewport:C(b(h({w:he(),h:he()})))}),zs=h({});var ao="aranova_tracking_last_fired_url",oo=null,io=false;function ef(e){try{return typeof window>"u"?null:window.sessionStorage.getItem(e)}catch{return null}}function tf(e,t){try{if(typeof window>"u")return;window.sessionStorage.setItem(e,t);}catch{}}function nf(){if(!io){io=true;let e=ef(ao);e!==null&&(oo=e);}return oo}function rf(e){oo=e,io=true,tf(ao,e);}var sn=Symbol.for("aranova.tracking.autoPageView");function of(){let e=globalThis;return e[sn]??(e[sn]={key:null}),e[sn]}function Os(e,t){let n=qt(t);return n.length>1?`${e}${n}`:e}function so(e,t={}){if(typeof window>"u")return false;let n=Os(window.location.pathname,window.location.search),r=of();return !t.force&&r.key===n?false:(r.key=n,Rs(e),true)}function Ns(e){return typeof window>"u"||typeof document>"u"?null:me(an,{page:{title:document.title||null,path:window.location.pathname,search:qt(window.location.search),hash:window.location.hash},referrer:e!==void 0?e:document.referrer||null,viewport:{w:window.innerWidth,h:window.innerHeight}})}function Rs(e){if(typeof window>"u")return;let t=window.location.href,n=nf(),r=n!==null&&n!==t?n:null,o=typeof document<"u"&&document.referrer||null,a=Ns(r??o);e.trackEvent({eventType:"page_view",pageUrl:t,metadata:a}),t!==n&&rf(t);}function Ms(e){if(typeof window>"u")return ()=>{};function t(n){n.persisted&&so(e,{force:true});}return window.addEventListener("pageshow",t),()=>{window.removeEventListener("pageshow",t);}}function uo(e){if(typeof window>"u"||typeof history>"u")return ()=>{};function t(){so(e);}let n=history.pushState.bind(history),r=history.replaceState.bind(history);function o(...s){n(...s),setTimeout(t,0);}function i(...s){r(...s),setTimeout(t,0);}history.pushState=o,history.replaceState=i,window.addEventListener("popstate",t);let a=Ms(e);return t(),()=>{history.pushState=n,history.replaceState=r,window.removeEventListener("popstate",t),a();}}function un(e){if(e instanceof RegExp)return e.source;if(Array.isArray(e))return e.map(un);if(e!==null&&typeof e=="object"){let t={};for(let[n,r]of Object.entries(e))t[n]=un(r);return t}return e}function Fs(e,t,n,r,o=null,i=null){let a=r?Object.keys(r.automatic):[],s=r?.manual?Object.keys(r.manual):[],u=null;if(r){let d={};for(let[l,c]of Object.entries(r.automatic)){let f=un(c);Object.keys(f).length>0&&(d[l]=f);}if(r.manual)for(let[l,c]of Object.entries(r.manual)){if(c===void 0)continue;let f=un(c);Object.keys(f).length>0&&(d[l]=f);}Object.keys(d).length>0&&(u=d);}return {sdk_version:t??"unknown",package_name:n,surface:e,triggers:{automatic:a,manual:s},trigger_config:u,configured_gtag_ids:o,config_site_id:i}}var Ds=2e3,Zs=10,lo=50,af=6e4,sf=200,uf="aranova_tracking_pending_v1",cn="X-Aranova-Api-Key",dn="X-Aranova-Sdk-Version",ln="X-Aranova-Sdk-Package",fn="X-Aranova-Sdk-Surface",pn="X-Aranova-Sdk-Environment";function cf(e,t,n,r,o){return {surface:e,sdk_version:t,package_name:n,site_origin:typeof window>"u"?null:window.location.origin,page_title:typeof document>"u"?null:document.title||null,referrer:typeof document>"u"?null:document.referrer||null,environment:r,active_gtag_ids:o,capabilities:Lr()}}function df(){if(typeof window>"u")return Re();try{ve();}catch{}return Me(Le)}function lf(){try{let e=de();return {state:e.state,source:e.source,updated_at:e.updatedAt,expires_at:e.expiresAt}}catch{return null}}async function Ls(e,t,n,r,o){if(typeof fetch!="function")return "drop";try{let i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",[cn]:n,[dn]:r.sdkVersion,[ln]:r.packageName,[fn]:r.surface,[pn]:r.environment},body:t,keepalive:o,credentials:"omit",mode:"cors"});return i.ok?"ok":i.status===408||i.status===429||i.status>=500?"retry":"drop"}catch{return "retry"}}function ff(e,t){return `${uf}:${e}:${t}`}function pf(e){if(typeof window>"u")return [];try{let t=window.localStorage.getItem(e);if(!t)return [];let n=JSON.parse(t);return Array.isArray(n)?n.filter(r=>typeof r=="object"&&r!==null&&"session"in r&&Array.isArray(r.events)):[]}catch{return []}}function co(e,t){if(!(typeof window>"u"))try{t.length===0?window.localStorage.removeItem(e):window.localStorage.setItem(e,JSON.stringify(t));}catch{}}function mf(e){let t=e.reduce((r,o)=>r+o.events.length,0),n=e.slice();for(;t>sf&&n.length>1;){let r=n.shift();t-=r?r.events.length:0;}return n}function fo(e){let t=e.flushIntervalMs??Ds,n=Math.min(e.maxQueueSize??Zs,lo),r=e.sdkVersion??null,o=e.packageName??null,i=e.environment??"production",a=e.activeGtagIds??null,s=e.endpoint.replace(/\/$/,""),u=`${s}/events`,d={sdkVersion:r??"",packageName:o??"",surface:e.surface,environment:i},l=[],c=null,f=ff(e.apiKey,s),m=pf(f),p=Promise.resolve(),$=0,_=null,P=Re(),w=false,O=null;if(typeof window<"u")try{O=Jr();}catch{}let E=O?.link??null,K=Kt(),Be=xe(),Q=Be.id;if(typeof window<"u"){_=X(window.location.href);try{P=ve();}catch{}Wr(Q);try{$t();}catch{}}function Ve(){return typeof window>"u"?null:X(window.location.href)}function Ge(v,T,ie){l.push({event_type:v,page_url:ie,metadata:T,occurred_at:new Date().toISOString()});}function Ke(){Ge("sdk_heartbeat",Fs(e.surface,r,o,e.triggers??null,a,e.configSiteId??null),Ve());}if(Be.isNew&&Ke(),O!==null&&typeof window<"u"){let v=O.link;Ge("site_link_arrival",{outcome:O.outcome,origin_session_id:v?.sessionId??null,origin_visitor_id:v?.visitorId??null,transit_ms:v?Math.max(0,Date.now()-v.linkedAt):null,adopted_visitor:O.adoptedVisitor,page:{path:window.location.pathname}},_),He();}m.length>0&&He();function we(){let v=xe();v.isNew&&v.id!==Q&&(Ke(),E=null),Q=v.id;let T=Dr(df(),P),ie=cf(e.surface,r,o,i,a);return {session_id:Q,visitor_id:K,gclid:T.gclid,wbraid:T.wbraid,gbraid:T.gbraid,ylpcid:T.ylpcid,fbclid:T.fbclid,fbc:be(),fbp:Vr(),utm_source:T.utm_source,utm_medium:T.utm_medium,utm_campaign:T.utm_campaign,utm_term:T.utm_term,utm_content:T.utm_content,...es(Q),...E?{origin_session_id:E.sessionId,origin_visitor_id:E.visitorId,origin_linked_at:new Date(E.linkedAt).toISOString()}:{},first_page:_,consent_state:lf(),context:ie}}function He(v=t){c!==null||w||(c=setTimeout(()=>{c=null,vn();},v));}function _n(){c!==null&&(clearTimeout(c),c=null);}function zo(){if(l.length===0)return;let v=l.slice(0,lo);l=l.slice(v.length),m=mf([...m,{session:we(),events:v}]),co(f,m);}function vn(){return p=p.then(ku).catch(()=>{}),p}async function ku(){if(!w&&(_n(),zo(),m.length!==0))try{for(;m.length>0;){let v=m[0],T={session:v.session,events:v.events},ie=await Ls(u,JSON.stringify(T),e.apiKey,d,!1);if(w)return;if(ie==="retry"){$+=1;return}m=m.filter(Eu=>Eu!==v),co(f,m),$=0;}}finally{if(m.length>0){let v=Math.min(t*2**$,af);He(v);}else l.length>0&&He();}}function Pu(v){if(w||!v||typeof v.eventType!="string"||v.eventType.length===0)return;if(v.eventType==="form_submit"&&j()!=="denied")try{let ie=v.metadata?.form?.fields;ie&&Ra(ie,e.phone?.defaultCountry);}catch{}let T=v.occurredAt instanceof Date?v.occurredAt.toISOString():typeof v.occurredAt=="string"?v.occurredAt:new Date().toISOString();l.push({event_type:v.eventType,page_url:v.pageUrl!=null?X(v.pageUrl):Ve(),metadata:v.metadata??null,occurred_at:T}),l.length>=n||Is(v.eventType)?.outcomeRole==="lead"?vn():He();}function qe(){if(w||(zo(),_n(),m.length===0))return;let v=m[0];m=m.slice(1),co(f,m);let T={session:v.session,events:v.events};Ls(u,JSON.stringify(T),e.apiKey,d,true);}function Oo(){document.visibilityState==="hidden"&&qe();}return typeof window<"u"&&(window.addEventListener("pagehide",qe),window.addEventListener("visibilitychange",Oo)),{trackEvent:Pu,flush:vn,flushBeacon:qe,getSessionId:()=>Q,getVisitorId:()=>K,destroy:()=>{w||(l.length>0&&qe(),w=true,_n(),l=[],typeof window<"u"&&(window.removeEventListener("pagehide",qe),window.removeEventListener("visibilitychange",Oo)));}}}var js=h({cta_name:g(),page:h({path:g()}),section:C(b(g())),destination_url:C(b(g())),href:C(b(g())),element:C(b(g()))}),Us=h({autoCapture:C(h({selector:C(g())}))});var gf=h({automatic:W(g()),manual:W(g())}),Bs=h({sdk_version:g(),package_name:b(g()),surface:Pe(["next","react","script"]),triggers:gf,trigger_config:C(b(ke(g(),ke(g(),qi())))),configured_gtag_ids:C(b(ke(g(),g()))),config_site_id:C(b(Gi()))}),Vs=h({});var Gs=h({form:h({id:g(),action:b(g())}),page:h({path:g()})}),Ks=h({selector:C(g())});var Hs=h({form:h({id:g(),action:b(g())}),step:h({id:g().check(ne(1),ge(64),$e(/^[A-Za-z0-9_-]+$/)),index:R().check(N(1),G(50)),total:b(R().check(N(1),G(50)))}),direction:Pe(["forward","back"]),page:h({path:g()})}),qs=h({});var po=Qi(()=>Xi([g(),he(),Pt(),Hi(),W(po),ke(g(),po)])).register(Gn,{id:"JsonSerializableValue"}),Ws=h({form:h({id:g(),action:b(g()),fields:C(W(h({name:g(),type:g(),label:b(g()),value:po})))}),page:h({path:g()})}),Ys=h({});var Xs=h({page_count:R().check(N(2)),page:h({path:g()})}),Qs=h({pageThreshold:R().check(N(2))});var Js=h({dwell_ms:R().check(N(0)),max_scroll_percent:b(R().check(N(0),G(100))),scroll_baseline_percent:C(b(R().check(N(0),G(100)))),page:h({path:g()})}),eu=h({});var tu=h({phone_number:g(),page:h({path:g()}),section:C(b(g()))}),nu=h({autoCapture:C(h({selector:C(g())}))});var ru=h({depth_percent:R().check(N(1),G(100)),page:h({path:g()})}),ou=h({thresholds:W(R().check(N(1),G(100))).check(ne(1))});var $f=64,hf=/^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;var yf=g().check(ge($f),$e(hf,{message:"page identity must be lowercase snake_case, start with a letter, and contain at most 64 characters"})),iu=yf,au=h({page_name:iu,page:h({path:g()})}),su=h({pages:W(h({name:iu,pathPattern:Ji(e=>e instanceof RegExp,{message:"pathPattern must be a RegExp"})})).check(ne(1))});var uu=h({destination_host:g(),destination_url:g(),page:h({path:g()})}),cu=h({}),du=h({outcome:Pe(["linked","stale","invalid"]),origin_session_id:C(b(g())),origin_visitor_id:C(b(g())),transit_ms:C(b(he())),adopted_visitor:Pt(),page:h({path:g()})}),lu=h({});var fu=h({duration_ms:R().check(Hn()),page:h({path:g()})}),pu=h({thresholdSeconds:R().check(Kn())});var mn={page_view:{kind:"automatic",semantics:z.page_view,metadataSchema:an,configSchema:zs},time_on_site:{kind:"automatic",semantics:z.time_on_site,metadataSchema:fu,configSchema:pu},specific_page_visit:{kind:"automatic",semantics:z.specific_page_visit,metadataSchema:au,configSchema:su},scroll_depth:{kind:"automatic",semantics:z.scroll_depth,metadataSchema:ru,configSchema:ou},multi_page_session:{kind:"automatic",semantics:z.multi_page_session,metadataSchema:Xs,configSchema:Qs},form_start:{kind:"automatic",semantics:z.form_start,metadataSchema:Gs,configSchema:Ks},sdk_heartbeat:{kind:"automatic",semantics:z.sdk_heartbeat,metadataSchema:Bs,configSchema:Vs},page_exit:{kind:"automatic",semantics:z.page_exit,metadataSchema:Js,configSchema:eu},site_link_click:{kind:"automatic",semantics:z.site_link_click,metadataSchema:uu,configSchema:cu},site_link_arrival:{kind:"automatic",semantics:z.site_link_arrival,metadataSchema:du,configSchema:lu},form_submit:{kind:"manual",semantics:z.form_submit,metadataSchema:Ws,configSchema:Ys},form_step:{kind:"manual",semantics:z.form_step,metadataSchema:Hs,configSchema:qs},phone_click:{kind:"manual",semantics:z.phone_click,metadataSchema:tu,configSchema:nu},cta_click:{kind:"manual",semantics:z.cta_click,metadataSchema:js,configSchema:Us}};Object.entries(mn).filter(([,e])=>e.kind==="automatic").map(([e])=>e);Object.entries(mn).filter(([,e])=>e.kind==="manual").map(([e])=>e);Object.entries(mn).filter(([,e])=>e.semantics.outcomeRole==="lead").map(([e])=>e);function mu(e){return mn[e]}function mo(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.thresholdSeconds*1e3,r=0,o=document.visibilityState==="visible"?Date.now():null,i=null,a=false;function s(){a||(a=true,e.trackEvent({eventType:"time_on_site",metadata:{duration_ms:n,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function u(){if(a||o===null)return;let c=n-r;if(c<=0){s();return}i=setTimeout(s,c);}function d(){i!==null&&(clearTimeout(i),i=null);}function l(){a||(document.visibilityState==="hidden"?(o!==null&&(r+=Date.now()-o,o=null),d()):(o=Date.now(),u()));}return document.addEventListener("visibilitychange",l),u(),()=>{d(),document.removeEventListener("visibilitychange",l);}}function go(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let{pages:n}=t,r=new Set;function o(){let d=window.location.pathname;for(let{name:l,pathPattern:c}of n){if(c.lastIndex=0,!c.test(d))continue;let f=`${l}:${d}`;r.has(f)||(r.add(f),e.trackEvent({eventType:"specific_page_visit",metadata:{page_name:l,page:{path:d}},pageUrl:window.location.href,occurredAt:null}));}}let i=history.pushState.bind(history),a=history.replaceState.bind(history);function s(...d){i(...d),setTimeout(o,0);}function u(...d){a(...d),setTimeout(o,0);}return history.pushState=s,history.replaceState=u,window.addEventListener("popstate",o),o(),()=>{history.pushState=i,history.replaceState=a,window.removeEventListener("popstate",o);}}var xt=new Set,$o=null;function ho(){for(let e of xt)e();}function gu(){setTimeout(ho,0);}function _f(){let e=history.pushState,t=history.replaceState;function n(...o){e.apply(this,o),gu();}function r(...o){t.apply(this,o),gu();}history.pushState=n,history.replaceState=r,window.addEventListener("popstate",ho),$o=()=>{history.pushState=e,history.replaceState=t,window.removeEventListener("popstate",ho),$o=null;};}function gn(e){return xt.size===0&&_f(),xt.add(e),()=>{xt.delete(e)&&xt.size===0&&$o?.();}}function yo(){let e=document.scrollingElement??document.documentElement,t=e.scrollHeight,n=e.clientHeight;if(t<=0||n<=0||t<=n+2)return null;let r=t-n,o=Math.min(Math.max(e.scrollTop,0),r);return o+n>=t-2?100:Math.max(1,Math.min(100,Math.round((o+n)/t*100)))}function vf(e){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>{e(yo());});});return ()=>cancelAnimationFrame(t)}function $n(){let e=null,t=false,n=null;return {rebaseline(){n?.(),t=false,e=null,n=vf(r=>{e=r,t=true;});},cancel(){n?.();},baseline(){return t?e:null},sample(){return t?e===null?(e=yo(),null):yo():null}}}function _o(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=new Set(t.thresholds),r=new Set,o=window.location.pathname,i=null,a=$n();function s(){let c=a.sample();if(c===null)return;let f=a.baseline();if(f!==null)for(let m of n)m<=f||c>=m&&!r.has(m)&&(r.add(m),e.trackEvent({eventType:"scroll_depth",metadata:{depth_percent:m,page:{path:o}},pageUrl:window.location.href,occurredAt:null}));}function u(){i===null&&(i=requestAnimationFrame(()=>{i=null,s();}));}function d(){let c=window.location.pathname;c!==o&&(o=c,r=new Set,a.rebaseline());}let l=gn(d);return window.addEventListener("scroll",u,{passive:true}),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),l(),window.removeEventListener("scroll",u);}}var vo="aranova_tracking_mps_paths",$u="aranova_tracking_mps_session",bo="aranova_tracking_mps_fired";function bf(){try{return typeof window<"u"?window.sessionStorage:null}catch{return null}}function xo(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let n=bf();if(!n)return ()=>{};let{pageThreshold:r}=t,o="";function i(){try{let p=n.getItem(vo);return p?new Set(JSON.parse(p)):new Set}catch{return new Set}}function a(p){try{n.setItem(vo,JSON.stringify([...p]));}catch{}}function s(){let p=xe().id;n.getItem($u)!==p&&(n.setItem($u,p),n.removeItem(vo),n.removeItem(bo));}function u(){return n.getItem(bo)==="1"}function d(){let p=window.location.pathname;if(p===o||(o=p,s(),u()))return;let $=i();$.add(p),a($),$.size>=r&&(n.setItem(bo,"1"),e.trackEvent({eventType:"multi_page_session",metadata:{page_count:$.size,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}let l=history.pushState.bind(history),c=history.replaceState.bind(history);function f(...p){l(...p),setTimeout(d,0);}function m(...p){c(...p),setTimeout(d,0);}return history.pushState=f,history.replaceState=m,window.addEventListener("popstate",d),d(),()=>{history.pushState=l,history.replaceState=c,window.removeEventListener("popstate",d);}}function Co(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.selector??"form",r=new Set,o=window.location.pathname;function i(p){if(p.id)return `id:${p.id}`;let $=p.getAttribute("action");return $?`action:${$}`:`index:${Array.from(document.querySelectorAll(n)).indexOf(p)}`}function a(p){u(p.target);}function s(p){p.button===0&&u(p.target);}function u(p){if(!(p instanceof Element))return;let $=p.closest(n);if(!$||$.tagName!=="FORM")return;let _=i($);r.has(_)||(r.add(_),e.trackEvent({eventType:"form_start",metadata:{form:{id:$.id||"",action:$.getAttribute("action")??null},page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function d(){let p=window.location.pathname;p!==o&&(o=p,r=new Set);}let l=history.pushState.bind(history),c=history.replaceState.bind(history);function f(...p){l(...p),setTimeout(d,0);}function m(...p){c(...p),setTimeout(d,0);}return history.pushState=f,history.replaceState=m,window.addEventListener("popstate",d),document.addEventListener("focusin",a),document.addEventListener("pointerdown",s,{capture:true,passive:true}),()=>{history.pushState=l,history.replaceState=c,window.removeEventListener("popstate",d),document.removeEventListener("focusin",a),document.removeEventListener("pointerdown",s,{capture:true});}}var xf=50;function wo(e){if(typeof window>"u"||typeof document>"u")return ()=>{};let t=window.location.pathname,n=document.visibilityState==="visible"?Date.now():null,r=0,o=null,i=null,a=$n();function s(){i===null&&(i=requestAnimationFrame(()=>{i=null;let p=a.sample();p!==null&&(o===null||p>o)&&(o=p);}));}function u(){let p=r;return n!==null&&(p+=Date.now()-n),Math.max(0,Math.round(p))}function d(p,$){let _=u();_<xf||(e.trackEvent({eventType:"page_exit",metadata:{dwell_ms:_,max_scroll_percent:o,scroll_baseline_percent:a.baseline(),page:{path:p}},pageUrl:window.location.href,occurredAt:null}),$&&e.flushBeacon(),r=0,n=null);}function l(){let p=window.location.pathname;p!==t&&(d(t,false),t=p,o=null,a.rebaseline(),r=0,n=document.visibilityState==="visible"?Date.now():null);}function c(){document.visibilityState==="hidden"?d(t,true):n=Date.now();}function f(){d(t,true);}let m=gn(l);return window.addEventListener("scroll",s,{passive:true}),document.addEventListener("visibilitychange",c),window.addEventListener("pagehide",f),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),m(),window.removeEventListener("scroll",s),document.removeEventListener("visibilitychange",c),window.removeEventListener("pagehide",f);}}var hu="[data-aranova-cta]",Cf=120;function yu(e){let t=e.tagName.toLowerCase();return e.id?`${t}#${e.id}`:t}function wf(e){let t=e.getAttribute("data-aranova-cta");if(t&&t.trim().length>0)return t.trim();let n=(e.textContent??"").trim().replaceAll(/\s+/g," ");return n.length>0?n.slice(0,Cf):yu(e)}function So(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};L("cta_click_capture");let r=n.selector??hu;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u=s instanceof HTMLAnchorElement?s.href||null:s.getAttribute("href");e.trackEvent({eventType:"cta_click",metadata:{cta_name:wf(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section"),destination_url:u,href:u,element:yu(s)},pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}function Sf(e){if(!(e instanceof Element))return null;let t=e.closest("a[href]");return t instanceof HTMLAnchorElement?t:null}function _u(e){return e.button===0||e.button===1}function ko(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};L("cross_site_linker");function n(i){let a=Sf(i.target);if(a===null)return null;let s=Ht(a.href,t.linkedHostnames());return s===null?null:{anchor:a,link:s}}function r(i){if(!_u(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated);}function o(i){if(!_u(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated,e.trackEvent({eventType:"site_link_click",metadata:{destination_host:a.anchor.hostname,destination_url:X(a.anchor.href),page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}),e.flushBeacon());}return document.addEventListener("pointerdown",r,true),document.addEventListener("click",o,true),()=>{document.removeEventListener("pointerdown",r,true),document.removeEventListener("click",o,true);}}var vu='a[href^="tel:"]';function kf(e){try{return decodeURIComponent(e)}catch{return e}}function Pf(e){let t=e instanceof HTMLAnchorElement?e.href:e.getAttribute("href")??"",n=kf(t.replace(/^tel:/i,"").split(";")[0]).trim();return ce(n)??n}function Po(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};L("phone_click_capture");let r=n.selector??vu;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u={phone_number:Pf(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section")};e.trackEvent({eventType:"phone_click",metadata:u,pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}var Ue=class extends Error{constructor(t,n){super(t),this.name="AranovaApiError",this.status=n.status,this.code=n.code,this.requestId=n.requestId,this.context=n.context;}};function Ef(e){let t={[cn]:e.apiKey};return e.sdkVersion&&(t[dn]=e.sdkVersion),e.packageName&&(t[ln]=e.packageName),e.surface&&(t[fn]=e.surface),e.environment&&(t[pn]=e.environment),t}function Tf(e,t){return `${e.replace(/\/$/,"")}${t}`}async function bu(e,t,n,r,o){let i={...Ef(e),...o};r!==void 0&&(i["Content-Type"]="application/json");let a=await fetch(Tf(e.endpoint,n),{method:t,headers:i,body:r===void 0?void 0:JSON.stringify(r)});if(!a.ok){let s,u,d;try{let l=await a.json();if(l&&typeof l=="object"){let c=l;typeof c.detail=="string"&&(s=c.detail),typeof c.code=="string"&&(u=c.code),c.context&&typeof c.context=="object"&&(d=c.context);}}catch{}throw new Ue(s??a.statusText??"Request failed",{status:a.status,code:u,requestId:a.headers.get("x-request-id")??void 0,context:d})}if(a.status!==204)return await a.json()}var Z=bu;var Af="X-Aranova-Simulate";var xu={stale:"booking_config_stale",rejected:"booking_rejected"},If=[1e3,2e3,4e3,8e3,15e3],zf="Please check your details and try again.";function Of(e){return new Promise(t=>{setTimeout(t,e);})}function Eo(e){let t=e.mode??"live";return e.status==="created"?{status:"created",id:e.id,requestCode:e.request_code,mode:t}:e.status==="pending"?{status:"pending",id:e.id,mode:t}:{status:"failed",id:e.id,fallbackUrl:e.fallback_url,mode:t}}function Nf(e,t,n){let r=e.vehicle?`${e.vehicle.year} ${e.vehicle.make} ${e.vehicle.model}`:"",o=(i,a,s,u)=>({name:i,type:a,label:s,value:u});return {form:{id:t,action:"/tracking/bookings",fields:[o("first_name","text","First name",e.firstName),o("last_name","text","Last name",e.lastName),o("phone","tel","Phone",ce(e.phone)??e.phone),o("email","email","Email",e.email??""),o("service","select","Service",e.services.map(i=>n.get(i)??i).join(", ")),o("vehicle","text","Vehicle",r),o("start","text","Requested time",`${e.startDate} ${String(e.startHour).padStart(2,"0")}:00`),o("note","textarea","Notes",e.notes??"")]},page:{path:typeof window>"u"?"/":window.location.pathname}}}function To(e){return e&&"integrations"in e?e:null}function Cu(e){try{return ["localhost","127.0.0.1","[::1]"].includes(new URL(e).hostname)}catch{return false}}function Rf(e,t){if(!t||!Cu(e))return null;let n=bt(t.ref);return Cu(n)?null:`[aranova] Bookings go to the local API (${e}) but the runtime config comes from ${n}. Set NEXT_PUBLIC_ARANOVA_CDN_BASE_URL to the local bucket (http://localhost:9100/aranova-demos) so both come from one backend.`}function wu(e,t){let n=new Set,r=new Set,o=false;function i(c){if(o)return;o=true;let f=Rf(e.endpoint,c);f&&console.warn(f);}function a(c){let f=nn(To(t)?.integrations());return f?Ts(f.fallbackUrl,{firstName:c.firstName,lastName:c.lastName,phone:c.phone,email:c.email}):null}function s(c){let f=nn(To(t)?.integrations())?.mode??"live";return {status:"failed",id:null,fallbackUrl:a(c),mode:f}}function u(c,f){return c.status==="failed"&&!c.fallbackUrl?{...c,fallbackUrl:a(f)}:c}async function d(c,f){let m={status:"pending",id:c,mode:f};for(let p of If){await Of(p);try{let $=`/bookings/${encodeURIComponent(c)}`;m=Eo(await Z(e,"GET",$));}catch{continue}if(m.status!=="pending")return m}return m}async function l(c,f,m,p){if(!(c instanceof Ue))return s(f);if(c.code===xu.stale)return r.has(m)?s(f):(r.add(m),await p?.revalidate(),{status:"stale",message:c.message});if(c.code===xu.rejected){let $=c.context?.reasons;return {status:"invalid",message:c.message,reasons:Array.isArray($)?$.map(String):[]}}return c.code==="validation_error"?{status:"invalid",message:zf,reasons:[]}:s(f)}return {async submit(c,{attemptKey:f,formSubmit:m,simulate:p}){L("booking_integration");let $=To(t);i($);let _=nn($?.integrations());if(!_?.acceptsBookings||_.configVersion===null)return s(c);if(m&&!n.has(f)){n.add(f);let E=new Map(_.options.map(K=>[K.key,K.label]));m.tracking.trackEvent("form_submit",Nf(c,m.formId,E));}let P={idempotency_key:f,session_id:m?.tracking.getSessionId()??rs()??`no-session-${f}`,config_version:_.configVersion,start_date:c.startDate,start_hour:c.startHour,first_name:c.firstName.trim(),last_name:c.lastName.trim(),phone:c.phone,email:c.email?.trim()||null,vehicle:c.vehicle??null,drop_off:c.dropOff??null,services:c.services,notes:c.notes?.trim()||null,marketing_sms_consent:c.marketingSmsConsent===true,page_path:typeof window>"u"?null:window.location.pathname},w;try{let E=p?{[Af]:p}:void 0;w=await Z(e,"POST","/bookings",P,E);}catch(E){return l(E,c,f,$)}let O=Eo(w);return u(O.status==="pending"?await d(O.id,O.mode):O,c)},async status(c){return Eo(await Z(e,"GET",`/bookings/${encodeURIComponent(c)}`))}}}function Mf(e,t,n,r,o){if(!e)return;let i=t.customer_email||t.customer_phone?{email:t.customer_email??null,phone:t.customer_phone??null}:null;i&&j()!=="denied"&&Ir(i);let a=t.external_id??r.id;for(let s of n){if(!s.service)continue;if("fireConversion"in e){e.fireConversion(s.service,{value:s.amount_cents!=null?fe(s.amount_cents,o):void 0,currency:o,transactionId:`${a}:${s.service}`});continue}let u=e.getFiring(s.service);if(!u)continue;let d=s.amount_cents??u.value_cents??null;Ce({sendTo:u.send_to,value:d!=null?fe(d,o):null,currency:u.currency??o,transactionId:`${a}:${s.service}`},{userData:i});}}function Su(e){e.firing&&L("conversion_goals_manual");async function t(n){let r=n.currency??e.defaultCurrency;if(!r)throw new Error("record: `currency` is required (pass it on the sale or set config.defaultCurrency)");let o={...n,currency:r,occurred_at:n.occurred_at??new Date().toISOString()},i=await Z(e,"POST","/sales",o),a=n.services?.length?n.services.map(s=>({service:s.service,amount_cents:s.amount_cents})):[{service:n.service,amount_cents:n.amount_total_cents??null}];return Mf(e.firing,n,a,i,r),i}return {record:t,recordSale:t,trackConversion(n,r){if(e.firing&&"fireConversion"in e.firing){r?.userData&&j()!=="denied"&&Ir(r.userData),e.firing.fireConversion(n,{value:r?.value??void 0,currency:r?.currency??e.defaultCurrency??void 0,transactionId:r?.transactionId??null});return}let o=e.firing?.getFiring(n);if(!o)return;let i=o.currency??r?.currency??e.defaultCurrency??null,a=o.value_cents??null,s=r?.value??(a!=null&&i?fe(a,i):null);Ce({sendTo:o.send_to,value:s,currency:i,transactionId:r?.transactionId??null},{userData:r?.userData});},async list(n){let{cursor:r,limit:o,sort:i,order:a,want_total:s,...u}=n??{};return Z(e,"POST","/sales/query",{filters:u,...o!==void 0?{limit:o}:{},...r!==void 0?{cursor:r}:{},...i!==void 0?{sort:i}:{},...a!==void 0?{order:a}:{},...s!==void 0?{want_total:s}:{}})},async summary(n){let{range:r,include_categories:o,include_deleted_services:i,top_n:a,since:s,until:u,timezone:d,granularity:l,compare_to:c,...f}=n;return Z(e,"POST","/sales/summary",{filters:f,...r!==void 0?{range:r}:{},...o!==void 0?{include_categories:o}:{},...i!==void 0?{include_deleted_services:i}:{},...a!==void 0?{top_n:a}:{},...s!==void 0?{since:s}:{},...u!==void 0?{until:u}:{},...d!==void 0?{timezone:d}:{},...l!==void 0?{granularity:l}:{},...c!==void 0?{compare_to:c}:{}})},async get(n){return Z(e,"GET",`/sales/${n}`)},async update(n,r){return Z(e,"PATCH",`/sales/${n}`,r)},async delete(n){await Z(e,"DELETE",`/sales/${n}`);},customers:{async list(n){let{segment:r,sort:o,order:i,cursor:a,limit:s,want_total:u,...d}=n??{};return Z(e,"POST","/customers/query",{filters:d,...r!==void 0?{segment:r}:{},...o!==void 0?{sort:o}:{},...i!==void 0?{order:i}:{},...a!==void 0?{cursor:a}:{},...s!==void 0?{limit:s}:{},...u!==void 0?{want_total:u}:{}})},async get(n,r){let o=new URLSearchParams;r?.include_sales!==void 0&&o.set("include_sales",String(r.include_sales)),r?.limit!==void 0&&o.set("limit",String(r.limit)),r?.cursor!=null&&o.set("cursor",r.cursor);let i=o.toString();return Z(e,"GET",`/customers/${encodeURIComponent(n)}${i?`?${i}`:""}`)},async summary(n){let{range:r,since:o,until:i,timezone:a,compare_to:s,...u}=n??{};return Z(e,"POST","/customers/summary",{filters:u,...r!==void 0?{range:r}:{},...o!==void 0?{since:o}:{},...i!==void 0?{until:i}:{},...a!==void 0?{timezone:a}:{},...s!==void 0?{compare_to:s}:{}})}},business:{async config(){return Z(e,"GET","/business/config")}},bookings:wu(e,e.firing)}}function Ff(){return Me(Le)}var k=null,Ao=null,B=[],hn=null,yn=()=>[];function Lf(){for(let e=B.length-1;e>=0;e--)B[e]();B=[],k!==null&&(k.destroy(),k=null),Ao=null,hn=null,yn=()=>[];}function Df(e={}){if(typeof window>"u")return;window.AranovaTracking=Io;let{apiKey:t,endpoint:n,autoCaptureTrackingParams:r=true,cookieMaxAgeSeconds:o=7776e3,gtagId:i,gtagIds:a,metaPixelId:s,metaPixelIds:u,environment:d,renderConsentBanner:l,triggers:c,conversionConfig:f,trackingConfig:m}=e;if(L("base_tracking"),m&&L("conversion_goals_auto"),(m||i||a&&Object.keys(a).length>0)&&L("ad_tags_google"),(s||u&&Object.keys(u).length>0)&&L("ad_tags_meta"),r&&ve(window.location.href,o),m?tn(m).queuePageView():a&&Object.keys(a).length>0?Ur(a):i&&jr(i),u&&Object.keys(u).length>0?qr(u):s&&Hr(s),Lf(),!t||!n){(t||n)&&console.warn("[AranovaTracking] init() requires both `apiKey` and `endpoint` to enable first-party event ingest. Page-view events will not be sent.");return}let p=m?null:f?to({cdnUrl:f.cdnUrl,baked:f.baked}):null,$=m?tn(m):null;$?.start(),yn=()=>($??p)?.linkedHostnames()??[],hn=Su({apiKey:t,endpoint:n,firing:$??p??void 0});let _=c??{automatic:{page_view:{}},manual:{}};Ao=_;let P=a?Object.fromEntries(Object.entries(a).filter(we=>we[1]!=null)):i?{default:i}:void 0,w=fo({apiKey:t,endpoint:n,surface:"script",packageName:"@aranova/tracking-browser",sdkVersion:ea,triggers:_,environment:d,activeGtagIds:P,configSiteId:m?.siteId??null});k=p?on(w,rn(p)):$?on(w,rn($)):w;let O=$&&k?{...k,trackEvent:we=>{k?.trackEvent(we),we.eventType==="page_view"&&$.queuePageView();}}:k;eo(),B.push(uo(O)),B.push(wo(k)),B.push(ko(k,{linkedHostnames:()=>yn()}));let E=_.automatic.time_on_site;E&&B.push(mo(k,E));let K=_.automatic.specific_page_visit;K&&B.push(go(k,K));let Be=_.automatic.scroll_depth;Be&&B.push(_o(k,Be));let Q=_.automatic.multi_page_session;Q&&B.push(xo(k,Q));let Ve=_.automatic.form_start;Ve&&B.push(Co(k,Ve));let Ge=_.manual?.cta_click;Ge&&B.push(So(k,Ge));let Ke=_.manual?.phone_click;Ke&&B.push(Po(k,Ke));}function Zf(e,t){if(k===null){console.warn("[AranovaTracking] trackEvent called before init({ apiKey, endpoint })");return}let n=Ao;if(n===null){console.warn("[AranovaTracking] trackEvent called but no trigger registry was passed to init()");return}let r=n.manual??{};if(!(e in r)){console.warn(`[AranovaTracking] trackEvent: event "${e}" is not registered as a manual trigger. Register it under \`triggers.manual\` in init().`);return}try{let o=mu(e);me(o.metadataSchema,t);}catch(o){console.warn(`[AranovaTracking] trackEvent: metadata for "${e}" failed schema validation`,o);return}k.trackEvent({eventType:e,metadata:t,pageUrl:null,occurredAt:null});}function jf(){if(hn===null)throw new Error("[AranovaTracking] sales() called before init({ apiKey, endpoint })");return hn}var Io={init:Df,captureTrackingParams:()=>ve(),getTrackingParams:Ff,getConsentState:j,setConsentState:lt,getConsentChoice:de,optIn:Nr,optOut:Rr,resetConsent:Mr,trackEvent:Zf,sales:jf,decorateUrl:e=>Qr(e,yn())};typeof window<"u"&&(window.AranovaTracking=Io);var By=Io;
6
6
  exports.default=By;exports.init=Df;Object.defineProperty(exports,'__esModule',{value:true});return exports;})({});//# sourceMappingURL=aranova-tracking.global.js.map
7
7
  //# sourceMappingURL=aranova-tracking.global.js.map