1import{_ as ar}from"./icon-0r43nCVi.js";import{_ as ir}from"./icon-segments-zCfp1aJ4.js";import{V as Vn}from"./VerticalLine-DwxrqEQp.js";import{a as or}from"./CustomAttributeEditor.vue_vue_type_script_setup_true_lang-DCOdAjFs.js";import{d as ye,s as q,c7 as je,c as I,f as Ke,ak as lr,cd as sr,H as Vt,G as Ge,a as C,o as f,b as a,l as _,e as L,q as Rd,j as $,aa as it,F as pe,r as Me,m as H,t as V,w as R,E as ae,i as W,aT as $n,aU as Gt,aV as Md,ah as zt,an as ur,al as he,am as zn,ce as Wn,c3 as ce,b$ as cr,B as Ue,k as me,K as $r,bT as fr,bE as pr,bC as mr,bD as vr,n as ue,cf as Kn,cg as gr,bV as fn,ca as fe,ch as pn,aR as Yn,av as tn,aS as br,I as Be,aN as yr,v as hr,aL as nn,ab as mt,ag as kd,ci as _r,cj as Cr,a8 as xr,ck as wr,cl as Er,cm as Tr,cn as dt,D as Ld,U as rt,aI as Xn,af as Bt,co as Sr,A as We,y as Fd,cp as Ar,cq as Or,cr as Nr,cs as Pr,_ as Ir}from"./index-B73K4ptn.js";import{_ as qn}from"./SegmentFilterEditor.vue_vue_type_script_setup_true_lang-BrVOLwSQ.js";import{_ as Dr,a as Rr,d as Zn}from"./EmailDesignFields.vue_vue_type_script_setup_true_lang-Ail5hr5w.js";import{E as _e}from"./index-CWRKf-Fg.js";import{E as Mr,_ as kr}from"./EmailInputDialog.vue_vue_type_script_setup_true_lang-DN7iUPyX.js";import{_ as Lr}from"./Dialog.vue_vue_type_script_setup_true_lang-hRQ66mC-.js";import{E as Fr,a as Br}from"./index-92ulsmEZ.js";import{_ as Jn,a as Ur}from"./CampaignEditorLoader.vue_vue_type_script_setup_true_lang-DhOuRxAk.js";import{_ as Gr,a as jr}from"./BuilderTab.vue_vue_type_script_setup_true_lang-CyQLdtML.js";import{d as Hr,_ as Qn}from"./Editor.vue_vue_type_style_index_0_lang-DeQu03mb.js";import{E as ed}from"./index-BKeQpVOf.js";import{_ as Vr}from"./SaveStateTag.vue_vue_type_script_setup_true_lang-DP_wFaRk.js";import"./iso3166-countries-BFmX30xo.js";import"./index-DRNOooiw.js";import"./index-Bqi8reVG.js";import"./index-BJml6pYf.js";import"./index-CyIyvjcg.js";import"./_baseClone-D9pG2A2c.js";import"./_initCloneObject-BrnTUaWZ.js";import"./index-DWJu5tOM.js";import"./FilePicker.vue_vue_type_script_setup_true_lang-Dd6Wdtcn.js";import"./index-CDohETxC.js";import"./index-BQOwcTse.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2953552d-9ec9-4d4d-acb8-02c5b7481d0c",e._sentryDebugIdIdentifier="sentry-dbid-2953552d-9ec9-4d4d-acb8-02c5b7481d0c")})()}catch{}const zr={class:"container max-w-(--breakpoint-md) pt-0"},Wr={class:"bg-white border-brand-sand border-2 rounded-xl relative"},Kr={class:"mx-6 my-6 brand-input"},Yr={key:0,class:"bg-white border-brand-sand border-2 rounded-xl relative"},Xr={key:0},qr={class:"mt-4"},Zr={key:0,class:"h-1 bg-brand-sand relative -ml-4 -mr-4 mb-9"},Jr={key:1,class:"-mt-4 mb-4 px-4 py-2 bg-brand-light-sand text-brand-brown font-medium text-sm rounded-md"},Qr={class:"text-brand-black font-medium"},ea={class:"text-brand-black font-semibold font-mono bg-brand-dark-sand text-xs px-1 rounded-md mx-0.5 py-0.5"},ta={class:"capitalize"},na={class:"border-t-2 border-brand-sand"},da={class:"text-center py-4"},ra={key:1,class:"my-4 mx-4 flex"},aa={key:1,class:"flex justify-end mt-2"},ia={key:2,class:"bg-white border-brand-sand border-2 rounded-lg relative"},oa={key:0},la={class:"mt-4"},sa={key:0,class:"h-1 bg-brand-sand relative -ml-4 -mr-4 mb-9"},ua={class:"text-center"},ca=ye({__name:"AudienceEditor",emits:["next"],setup(e,{emit:t}){const n=q(!1),d=je(),r=I(()=>!d.currentCampaignBlueprint),s=I(()=>d.currentCampaignBlueprint?.audience),u=I(()=>{if(!d.isABTestsEnabled||!d.currentCampaignBlueprint)return;const U=d.currentCampaignBlueprint._id;return(d.campaignABTests||[]).find(E=>E.blueprints.includes(U)&&!E.completedAt)}),c=I(()=>s.value?.filters||[]),m=Ke(),i=I(()=>lr("dunning",{includeCardFunding:m.provider==="stripe"})),p=I(()=>d.isCustomAttributesEnabled?m.org?.customAttributes||[]:[]),g=I(()=>{const U=i.value.map(E=>({label:sr(E),value:E})),w=p.value.map(E=>({label:E.label,value:E.name,custom:!0}));return[...U,...w]});function v(U){if(d.currentCampaignBlueprint){const w=d.currentCampaignBlueprint._id;d.storeCampaignBlueprintData(w,{saveState:ce.UNSAVED,...U}
1),d.scheduleSaveCampaignBlueprint(w)}}function P(U){u.value&&"filters"in U||s.value&&v({audience:{...s.value,...U}})}function M(U){if(u.value)return;let w={};if(U)if(i.value.includes(U)){const x=ur(U),G=[he.Attribute.SUBSCRIPTION_START_DATE,he.Attribute.PRICE,he.Attribute.MRR,he.Attribute.SUBSCRIPTION_AGE_MONTHS,he.Attribute.BILLING_INTERVAL_COUNT,he.Attribute.INVOICE_AMOUNT_DUE,he.Attribute.CANCEL_DATE].includes(U)?he.Operand.GTE:he.Operand.INCLUDES,B=zn(x,G);w={attribute:U,operand:G,value:B}}else{const x=p.value.find(G=>G.name===U);if(x){let G;x.type===Wn.Type.NUMBER||x.type===Wn.Type.DATE?G=he.Operand.GTE:G=he.Operand.INCLUDES;const B=zn(x.type,G);w={attribute:U,operand:G,value:B,type:x.type}}}const E={name:"",...s.value,filters:[...c.value,w]};v({audience:E})}function j(U){if(u.value)return;const w={name:"",...s.value,filters:c.value.filter((E,x)=>x!==U)};v({audience:w})}function Z(U,w){if(u.value)return;const E=[...c.value];E[U]=w;const x={name:"",...s.value,filters:E};v({audience:x})}const ve=t;return(U,w)=>{const E=Vt("loading");return Ge((f(),C("div",zr,[a("div",Wr,[w[6]||(w[6]=Rd('<div class="bg-brand-light-sand px-6 py-4 text-left rounded-tl-lg rounded-tr-lg border-b-2 border-brand-sand"><div class="absolute top-0 left-0 right-0 flex justify-left"><img src="'+ir+'" class="-mt-5 ml-5" width="32" height="32"></div><h3 class="text-xl leading-6 mt-2 font-bold text-gray-900">Who's the audience?</h3><p class="mt-1 mb-1 text-md font-semibold leading-8 text-brand-brown"> Give your segment a memorable, direct name. </p></div>',1)),a("div",Kr,[_($(it),{placeholder:"Audience Name","model-value":s.value?.name,maxlength:"60","show-word-limit":"","onUpdate:modelValue":w[0]||(w[0]=x=>P({name:x}))},null,8,["model-value"])])]),_(Vn,{height:40}),u.value?L("",!0):(f(),C("div",Yr,[w[13]||(w[13]=a("div",{class:"bg-brand-light-sand px-6 py-4 text-left rounded-tl-lg rounded-tr-lg border-b-2 border-brand-sand"},[a("h3",{class:"text-xl leading-6 mt-2 font-bold text-gray-900"},"Conditions"),a("p",{class:"mt-1 mb-1 text-md font-semibold leading-8 text-brand-brown"}," Select customers who match the following... ")],-1)),c.value.length?(f(),C("div",Xr,[a("div",qr,[(f(!0),C(pe,null,Me(c.value,(x,G)=>(f(),C("div",{key:x.attribute,class:"mx-4 pt-3"},[G!==0?(f(),C("div",Zr,[...w[7]||(w[7]=[a("p",{class:"absolute text-brand-brown rounded-lg tracking-widest bg-brand-sand font-bold -ml-8 -mt-3 px-4 text-sm",style:{top:"50%",left:"50%"}}," AND ",-1)])])):L("",!0),p.value.map(B=>B.name).includes(x.attribute)?(f(),C("div",Jr,[w[8]||(w[8]=H(" To use ",-1)),a("span",Qr,V(p.value.find(B=>B.name===x.attribute)?.label),1),w[9]||(w[9]=H(" for Payment Recovery, a ",-1)),a("span",ea,V(x.attribute),1),w[10]||(w[10]=H(" property must be included in the customer metadata on ",-1)),a("span",ta,V($(m).provider),1),w[11]||(w[11]=H(". ",-1))])):L("",!0),_(qn,{class:"pb-4","model-value":x,filters:c.value,"enable-custom-attributes":!0,include:i.value,"onUpdate:modelValue":B=>Z(G,B),onRemove:B=>j(G)},null,8,["model-value","filters","include","onUpdate:modelValue","onRemove"])]))),128))]),a("div",na,[a("div",da,[_($(ae),{plain:"",size:"small",class:"border-brand-gray-blue border-2 px-6 rounded-lg",onClick:w[1]||(w[1]=x=>M())},{default:R(()=>[...w[12]||(w[12]=[a("span",{class:"text-base text-brand-blue font-bold"},"Add Another Condition â",-1)])]),_:1})])])])):(f(),C("div",ra,[_($(Md),{class:"grow",value:null,"value-key":"value",placeholder:"Select Condition to Filter Customers",onChange:w[2]||(w[2]=x=>M(x))},{default:R(()=>[g.value.filter(x=>x.custom).length?(f(),W($($n),{key:0,label:"Custom Attributes"},{default:R(()=>[(f(!0),C(pe,null,Me(g.value.filter(x=>x.custom),x=>(f(),W($(Gt),{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1})):L("",!0),_($($n),{label:"Default"},{default:R(()=>[(f(!0),C(pe,null,Me(g.value.filter(x=>!x.custom),x=>(f(),W($(Gt),{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1})]),_:1})]))])),u.value?L("",!0):(f(),C("div",aa,[a("p",{class:"text-brand-blue font-semibold cursor-pointer hover:text-opacity-80 text-sm",onClick:w[3]||(w[3]=x=>n.value=!0)}," Edit Custom Attributes â ")])),u.value?(f(),C("div",ia,[w[16]||(w[16]=a("div",{class:"bg-brand-sand px-2 py-4 text-center"},[a("h3",{class:"text-xl leading-6 font-bold text-gray-900"},"Conditions"),a("p",{class:"mb-1 mt-0.5 text-sm font-semibold leading-5 text-brand-brown"}," This campaign is a part of A/B Test and therefore you can't edit the audience. ")],-1)),c.value.length?(f(),
1C("div",oa,[w[15]||(w[15]=a("div",{class:"absolute w-full h-full z-50 top-0 bg-gray-200 opacity-50"},null,-1)),a("div",la,[(f(!0),C(pe,null,Me(c.value,(x,G)=>(f(),C("div",{key:x.attribute,class:"mx-4 pt-3"},[G!==0?(f(),C("div",sa,[...w[14]||(w[14]=[a("p",{class:"absolute text-brand-brown rounded-lg tracking-widest bg-brand-sand font-bold -ml-8 -mt-3 px-4 text-sm",style:{top:"50%",left:"50%"}}," AND ",-1)])])):L("",!0),_(qn,{class:"pb-4","model-value":x,filters:c.value,include:i.value,"onUpdate:modelValue":B=>Z(G,B),onRemove:B=>j(G)},null,8,["model-value","filters","include","onUpdate:modelValue","onRemove"])]))),128))])])):L("",!0)])):L("",!0),_(Vn,{class:"-mt-8",height:90}),a("div",ua,[a("button",{type:"button",class:"inline-flex items-center px-6 py-2 border-2 border-brand-sand shadow-sm text-base font-semibold rounded-lg text-brand-brown bg-brand-light-sand hover:bg-brand-sand focus:outline-none focus:opacity-80 transition-colors",onClick:w[4]||(w[4]=x=>ve("next"))}," Continue to Recovery Campaign â ")]),_($(zt),{modelValue:n.value,"onUpdate:modelValue":w[5]||(w[5]=x=>n.value=x),class:"container max-w-3xl brand-card-lg","close-on-click-modal":!0,"append-to-body":!0},{default:R(()=>[_(or)]),_:1},8,["modelValue"])])),[[E,r.value]])}}}),$a="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%2344B887'/%3e%3cpath%20d='M9.37024%2010.2939C9.37024%2010.0489%209.46757%209.81394%209.64081%209.64069C9.81406%209.46745%2010.049%209.37012%2010.294%209.37012H21.3797C21.6247%209.37012%2021.8596%209.46745%2022.0329%209.64069C22.2061%209.81394%2022.3035%2010.0489%2022.3035%2010.2939V12.1415C22.3035%2012.3865%2022.2061%2012.6215%2022.0329%2012.7947C21.8596%2012.968%2021.6247%2013.0653%2021.3797%2013.0653H10.294C10.049%2013.0653%209.81406%2012.968%209.64081%2012.7947C9.46757%2012.6215%209.37024%2012.3865%209.37024%2012.1415V10.2939Z'%20fill='%23B4FFDF'/%3e%3cpath%20d='M9.37024%2015.8369C9.37024%2015.5919%209.46757%2015.3569%209.64081%2015.1837C9.81406%2015.0104%2010.049%2014.9131%2010.294%2014.9131H15.8368C16.0819%2014.9131%2016.3168%2015.0104%2016.4901%2015.1837C16.6633%2015.3569%2016.7607%2015.5919%2016.7607%2015.8369V21.3797C16.7607%2021.6247%2016.6633%2021.8597%2016.4901%2022.0329C16.3168%2022.2062%2016.0819%2022.3035%2015.8368%2022.3035H10.294C10.049%2022.3035%209.81406%2022.2062%209.64081%2022.0329C9.46757%2021.8597%209.37024%2021.6247%209.37024%2021.3797V15.8369Z'%20fill='%23B4FFDF'/%3e%3cpath%20d='M19.532%2014.9131C19.287%2014.9131%2019.0521%2015.0104%2018.8788%2015.1837C18.7056%2015.3569%2018.6082%2015.5919%2018.6082%2015.8369V21.3797C18.6082%2021.6247%2018.7056%2021.8597%2018.8788%2022.0329C19.0521%2022.2062%2019.287%2022.3035%2019.532%2022.3035H21.3797C21.6247%2022.3035%2021.8596%2022.2062%2022.0329%2022.0329C22.2061%2021.8597%2022.3035%2021.6247%2022.3035%2021.3797V15.8369C22.3035%2015.5919%2022.2061%2015.3569%2022.0329%2015.1837C21.8596%2015.0104%2021.6247%2014.9131%2021.3797%2014.9131H19.532Z'%20fill='%23B4FFDF'/%3e%3c/svg%3e",fa={class:"container max-w-(--breakpoint-md) pt-0"},pa={class:"bg-white border-brand-sand border-2 rounded-xl relative"},ma={class:"mx-6 my-6 brand-input"},va={class:"flex items-center justify-between"},ga={class:"mt-6 border-t border-brand-sand/60 pt-6"},ba={class:"mt-6 flex justify-end"},ya=ye({__name:"CampaignDesignEditor",setup(e){const t=Ke(),n=je(),d=I(()=>n.currentCampaignBlueprint?._id),r=I(()=>!!n.currentCampaignBlueprint?.design?.overrideOrgDefault),s=I(()=>t.org?.branding?.emailDesign??{}),u=I(()=>r.value?n.currentCampaignBlueprint?.design??{}:s.value);function c(P){d.value&&(P?n.setCampaignDesign(d.value,{...s.value,overrideOrgDefault:!0},{replace:!0}):n.setCampaignDesign(d.value,{overrideOrgDefault:!1},{replace:!0}))}function m(P){if(!d.value||!r.value)return;const M=P.colors&&Object.fromEntries(Object.entries(P.colors).map(([j,Z])=>[j,Z??void 0]));n.setCampaignDesign(d.value,{...P,...M&&{colors:M},overrideOrgDefault:!0})}const i=q(!1),p=q(!1),g=q("");async function v(){if(t.org){i.value=!0;try{const P=await cr.previewEmailDesign(t.org._id,u.value);g.value=P.layoutBody.replace("{{{ @content }}}",()=>`<div>${P.content}</div>`),p.value=!0}catch{Ue.error("Error","Failed to generate preview")}finally{i.value=!1}}}return(P,M)=>(f(),C("div",fa,[a("div",pa,[M[4]||(M[4]=Rd('<div class="bg-brand-light-sand px-6 py-4 text-left rounded-tl-lg rounded-tr-lg border-b-2 border-brand-sand"><div class="absolute top-0 left-0 right-0 flex justify-left"><img src="'+$a+'" class="-mt-5 ml-5" width="32" height="32"></div><h3 class="text-xl leading-6 mt-2 font-bold text-gray-900">How should the emails look?</h3><p class="mt-1 mb-1 text-md font-semibold leading-8 text-brand-brown"> Colors and font applied to every email in this sequence. </p></div>',1)),a("div",ma,[a("div",va,[M[2]||(M[2]=a("div",null,[a("p",{class:"text-sm font-semibold text-brand-black"},"Override Organization Default Design"),a("p",{class:"mt-0.5 text-sm font-medium text-brand-brown"}," Turn on to set colors and font for this sequence. Off uses your organization's default. ")],-1)),_($(_e),{disabled:!$(t).permissions.dunning.write,"model-value":r.value,"active-text":"Yes","inactive-text":"No","onUpdate:modelValue":M[0]||(M[0]=j=>c(j))},null,8,["disabled","model-value"])]),a("div",ga,[_(Dr,{"model-value":u.value,disabled:!$(t).permissions.dunning.write||!r.value,onUpdate:m},null,8,["model-value","disabled"])]),a("div",ba,[_($(ae),{size:"small",plain:"",loading:i.value,onClick:v},{default:R(()=>[...M[3]||(M[3]=[H(" Preview ",-1)])]),_:1},8,["loading"])])])]),_(Rr,{visible:p.value,"onUpdate:visible":M[1]||(M[1]=j=>p.value=j),"content-html":g.value},null,8,["visible","content-html"])]))}}),ha={class:"flex flex-col items-center justify-center text-center py-12 px-6"},_a={class:"bg-red-50 rounded-full w-16 h-16 flex items-center justify-center mb-5"},Ca={class:"text-brand-black font-bold text-lg mb-1"},xa={key:0,class:"text-brand-brown text-sm mb-6 max-w-md"},wa=ye({__name:"ErrorState",props:{title:{},description:{},retry:{type:Function}},setup(e){return(t,n)=>(f(),C("div",ha,[a("div",_a,[_($(me),{icon:["fas","triangle-exclamation"],class:"text-red-500 text-2xl"}
1)]),a("p",Ca,V(t.title),1),t.description?(f(),C("p",xa,V(t.description),1)):L("",!0),t.retry?(f(),W($(ae),{key:1,type:"primary",onClick:t.retry},{default:R(()=>[...n[0]||(n[0]=[H(" Try again ",-1)])]),_:1},8,["onClick"])):L("",!0)]))}}),Ea={key:0,class:"p-2 text-sm font-medium bg-white border-2 border-brand-yellow text-brand-brown my-4 px-4 py-2 rounded-lg rounded relative",role:"alert"},Ta=ye({__name:"PrecisionRetriesBox",setup(e){const t=je(),n=I(()=>t.relevantMessageGroups.filter(s=>!s.delete)),d=Ke(),r=I(()=>n.value.length===0&&d.org?.smartRetries?.enabled);return(s,u)=>r.value?(f(),C("div",Ea,[...u[0]||(u[0]=[a("div",{class:"space-y-1"},[a("p",{class:"font-semibold text-brand-black text-ellipsis whitespace-nowrap overflow-hidden text-sm"}," Precision Retries "),a("p",{class:"font-semibold text-xs text-brand-medium-brown"}," This campaign contains no messages. However, our Precision Retries system will operate anyway, retrying failed payments in optimal dates and times. ")],-1)])])):L("",!0)}}),Sa={style:{"min-width":"360px","max-width":"360px"}},Aa={class:"fixed pl-4 h-3/4 overflow-auto",style:{width:"360px"}},Oa={class:"rounded-l-lg border-brand-sand border-2 px-4 pl-6 border-r-0"},Na={class:"absolute top-4 right-0 flex flex-row-reverse items-center"},Pa={class:"absolute top-4 -left-10 z-10"},Ia={class:"inline-flex items-center px-2.5 py-0.5 rounded-md text-sm font-semibold bg-brand-light-sand border text-brand-brown border-brand-sand"},Da=["onClick"],Ra={class:"space-y-1"},Ma={key:0,class:"font-bold text-brand-black text-ellipsis whitespace-nowrap overflow-hidden text-sm"},ka={key:1,class:"font-bold text-brand-black text-ellipsis whitespace-nowrap overflow-hidden text-sm"},La={class:"mt-6 pr-6 pl-8 pt-4 pb-2 sticky top-0 bg-white z-50 -ml-4 top-white-shadow w-full"},Fa="40404",Ba=ye({__name:"CampaignSequence",emits:["addMessage","markForDelete"],setup(e,{emit:t}){const n=je(),d=I(()=>n.relevantMessageGroups.filter(m=>!m.delete));function r(m){return m===n.currentEmailBlueprintId}const s=t,u=$r("listBottom");async function c(){s("addMessage"),await fn(),u.value?.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}return(m,i)=>(f(),C("div",Sa,[a("div",Aa,[a("div",Oa,[_(Ta),_(fr,{name:"email-sequence",tag:"div",class:"divide-y-2 divide-brand-sand"},{default:R(()=>[(f(!0),C(pe,null,Me(d.value,(p,g)=>(f(),C("div",{key:p.guid,class:"relative"},[a("div",Na,[_($(pr),{trigger:"click"},{dropdown:R(()=>[_($(mr),null,{default:R(()=>[_($(vr),{class:"font-semibold gap-1",onClick:v=>s("markForDelete",p.guid)},{default:R(()=>[_($(me),{icon:["far","trash-can"]}),i[0]||(i[0]=H(" Delete Message ",-1))]),_:1},8,["onClick"])]),_:2},1024)]),default:R(()=>[a("div",null,[_($(me),{icon:["fas","ellipsis-v"],class:"text-brand-brown font-thin text-xs mx-3"})])]),_:2},1024),p.enableSms&&$(n).isSmsEnabled?(f(),W($(me),{key:0,icon:["fas","comment-dots"],class:"text-brand-blue ml-2"})):L("",!0),p.enableEmail&&$(n).isSmsEnabled?(f(),W($(me),{key:1,icon:["fas","paper-plane"],class:"text-brand-blue ml-2"})):L("",!0)]),a("div",Pa,[a("span",Ia,V(g+1),1)]),a("div",{class:ue(["py-2 my-2 px-4 cursor-pointer rounded-md transition-colors",[r(p.guid)?"bg-brand-medium-blue hover:bg-brand-medium-blue":"bg-white hover:bg-brand-light-blue "]]),onClick:v=>$(n).currentEmailBlueprintId=p.guid},[a("div",Ra,[a("p",{class:ue([[r(p.guid)?"text-blue-600":"text-purple-500"],"font-bold uppercase text-[11px] sequence-item-time tracking-wider"])},V(p.email.sendOnDay===0?"Immediately":`${p.email.sendOnDay} ${p.email.sendOnDay===1?"day":"days"}`)+" after failed payment ",3),p.enableEmail?(f(),C("p",Ma,V(p.email.senderName||p.email.from||""),1)):(f(),C("p",ka,V(Fa))),p.enableEmail?(f(),C("p",{key:2,class:ue(["font-semibold text-ellipsis whitespace-nowrap overflow-hidden text-xs",[r(p.guid)?"text-brand-blue":"text-brand-brown"]])},V($(Kn)(p.email.subject||"")),3)):L("",!0),p.enableEmail?(f(),C("p",{key:3,class:ue(["text-xs font-semibold pt-0.5 confidential-blurry-text",[r(p.guid)?"text-brand-blue text-opacity-75":"text-brand-medium-brown"]])},V($(Kn)(p.email.previewText||"")),3)):(f(),C("p",{key:4,class:ue(["text-xs font-semibold pt-0.5 confidential-blurry-text",[r(p.guid)?"text-brand-blue text-opacity-75":"text-brand-medium-brown"]])},V($(gr)(p.sms.content||"")),3))])],10,Da)]))),128))]),_:1}),a("div",{ref_key:"listBottom",ref:u},null,512)]),a("div",La,[_($(ae),{type:"primary",class:"py-4 w-full",disabled:$(n).currentCampaignBlueprint?.saveState===$(ce).SAVING||$(n).currentCampaignBlueprint?.saveState===$(ce).ERROR_SAVING,onClick:c},{default:R(()=>[...i[1]||(i[1]=[a("span",{class:"font-bold"},"New Message",-1)])]),_:1},8,["disabled"])])])]))}}),Ua={key:0},Ga={class:"px-8 pt-3 pb-8"},ja={class:"mt-4"},Ha={class:"rounded-lg border-brand-sand border-2 px-3 py-4 flex"},Va={class:"flex-none w-6"},za={class:"flex-initial space-y-1"},Wa={class:"font-semibold text-sm text-gray-700"},Ka=["innerHTML"],Ya=["innerHTML"],Xa={class:"mt-4"},qa={class:"rounded-lg border-brand-sand border-2 py-4 font-normal text-gray-800",style:{"min-height":"40vh"}},Za=["srcdoc"],Ja={class:"border-t border-brand-light-brown bg-brand-sand py-4 rounded-b-lg"},Qa={class:"flex justify-end px-8 space-x-4"},ei=ye({__name:"EmailPreviewDynamic",props:{email:{},previewEmail:{type:Boolean},campaignType:{default:fe.Type.DELINQUENCY},contentHtml:{default:""}},emits:["view","update:previewEmail"],setup(e,{emit:t}){const n=e,r={FIRST_NAME:"Elizabeth",CARD_BRAND:"VISA",LAST_4:"4242",ORG_NAME:Ke().org?.name||"Acme Corp",RECOVERY_LINK:"https://billing.example.com/update"},s=I(()=>n.email?.subject?pn(n.email.subject,r):""),u=I(()=>'<base target="_parent|_blank">'+n.contentHtml),c=I(()=>n.email?.previewText?pn(n.email.previewText,r):""),m=I({get:()=>n.previewEmail,set:p=>i("update:previewEmail",p)}),i=t;return(p,g)=>p.email?(f(),C("div",Ua,[_($(zt),{modelValue:m.value,"onUpdate:modelValue":g[1]||(g[1]=v=>m.value=v),"modal-append-to-body":!1,"before-close":()=>i("view",p.email),class:"container max-w-5xl rounded-lg px-0 py-0 no-padding"},{default:R(()=>[a("div",Ga,[g[4]||(g[4]=a("p",{class:"font-bold text-xl text-gray-800"},"Email Preview",-1)),a("div",ja,[g[2]||(g[2]=a("p",{class:"font-semibold text-sm text-gray-800 mb
1-2"},"Inbox View",-1)),a("div",Ha,[a("div",Va,[_($(me),{icon:["fas","circle"],class:"text-brand-blue mt-1 text-xs"})]),a("div",za,[a("p",Wa,V(p.email.senderName),1),a("p",{class:"font-semibold text-xs text-brand-brown",innerHTML:s.value},null,8,Ka),a("p",{class:"font-medium text-xs mt-0.5 text-brand-brown",innerHTML:c.value},null,8,Ya)])])]),a("div",Xa,[g[3]||(g[3]=a("p",{class:"font-semibold text-sm text-gray-800 mb-2"},"Message View",-1)),a("div",qa,[a("iframe",{class:"overflow-auto email-preview-content w-full",srcdoc:u.value,title:"Email Preview",style:{"min-height":"40vh"}},null,8,Za)])])]),a("div",Ja,[a("div",Qa,[_($(ae),{type:"primary",onClick:g[0]||(g[0]=()=>{i("view",p.email),i("update:previewEmail",!1)})},{default:R(()=>[...g[5]||(g[5]=[H(" Close ",-1)])]),_:1})])])]),_:1},8,["modelValue","before-close"])])):L("",!0)}});/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Bd,setPrototypeOf:td,isFrozen:ti,getPrototypeOf:ni,getOwnPropertyDescriptor:di}=Object;let{freeze:ie,seal:be,create:Ud}=Object,{apply:mn,construct:vn}=typeof Reflect<"u"&&Reflect;ie||(ie=function(t){return t});be||(be=function(t){return t});mn||(mn=function(t,n,d){return t.apply(n,d)});vn||(vn=function(t,n){return new t(...n)});const Lt=oe(Array.prototype.forEach),ri=oe(Array.prototype.lastIndexOf),nd=oe(Array.prototype.pop),vt=oe(Array.prototype.push),ai=oe(Array.prototype.splice),Ut=oe(String.prototype.toLowerCase),dn=oe(String.prototype.toString),dd=oe(String.prototype.match),gt=oe(String.prototype.replace),ii=oe(String.prototype.indexOf),oi=oe(String.prototype.trim),Ce=oe(Object.prototype.hasOwnProperty),de=oe(RegExp.prototype.test),bt=li(TypeError);function oe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,d=new Array(n>1?n-1:0),r=1;r<n;r++)d[r-1]=arguments[r];return mn(e,t,d)}}function li(e){return function(){for(var t=arguments.length,n=new Array(t),d=0;d<t;d++)n[d]=arguments[d];return vn(e,n)}}function F(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ut;td&&td(e,null);let d=t.length;for(;d--;){let r=t[d];if(typeof r=="string"){const s=n(r);s!==r&&(ti(t)||(t[d]=s),r=s)}e[r]=!0}return e}function si(e){for(let t=0;t<e.length;t++)Ce(e,t)||(e[t]=null);return e}function De(e){const t=Ud(null);for(const[n,d]of Bd(e))Ce(e,n)&&(Array.isArray(d)?t[n]=si(d):d&&typeof d=="object"&&d.constructor===Object?t[n]=De(d):t[n]=d);return t}function yt(e,t){for(;e!==null;){const d=di(e,t);if(d){if(d.get)return oe(d.get);if(typeof d.value=="function")return oe(d.value)}e=ni(e)}function n(){return null}return n}const rd=ie(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),rn=ie(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),an=ie(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ui=ie(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),on=ie(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ci=ie(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ad=ie(["#text"]),id=ie(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),ln=ie(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),od=ie(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ft=ie(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$i=be(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fi=be(/<%[\w\W]*|[\w\W]*%>/gm),pi=be(/\$\{[\w\W]*/gm),mi=be(/^data-[\-\w.\u00B7-\uFFFF]+$/),vi=be(/^aria-[\-\w]+$/),Gd=be(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gi=be(/^(?:\w+script|data):/i),bi=be(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jd=be(/^html$/i),yi=be(/^[a-z][.\w]*(-[.\w]+)+$/i);var ld=Object.freeze({__proto__:null,ARIA_ATTR:vi,ATTR_WHITESPACE:bi,CUSTOM_ELEMENT:yi,DATA_ATTR:mi,DOCTYPE_NAME:jd,ERB_EXPR:fi,IS_ALLOWED_URI:Gd,IS_SCRIPT_OR_DATA:gi,MUSTACHE_EXPR:$i,TMPLIT_EXPR:pi});const ht={element:1,text:3,progressingInstruction:7,comment:8,document:9},hi=function(){return typeof window>"u"?null:window},_i=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let d=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(d=n.getAttribute(r));const s="dompurify"+(d?"#"+d:"");try{return t.createPolicy(s,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},sd=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Hd(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:hi();const t=N=>Hd(N);if(t.version="3.2.6",t.removed=[],!e||!e.document||e.document.nodeType!==ht.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const d=n,r=d.currentScript,{DocumentFragment:s,HTMLTemplateElement:u,Node:c,Element:m,NodeFilter:i,NamedNodeMap:p=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:v,trustedTypes:P}=e,M=m.prototype,j=yt(M,"cloneNode"),Z=yt(M,"remove"),ve=yt(M,"nextSibling"),U=yt(M,"childNodes"),w=yt(M,"parentNode");if(typeof u=="function"){const N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}let E,x="";const{implementation:G,createNodeIterator:B,createDocumentFragment:ne,getElementsByTagName:Ye}=n,{importNode:Le}=d;let X=sd();t.isSupported=typeof Bd=="function"&&typeof w=="function"&&G&&G.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:He,ERB_EXPR:Ve,TMPLIT_EXPR:$e,DATA_ATTR:Fe,ARIA_ATTR:we,IS_SCRIPT_OR_DATA:ze,ATTR_WHITESPACE:Xe,CUSTOM_ELEMENT:qe}=ld;let{IS_ALLOWED_URI:Te}=ld,K=null;const y=F({},[...rd,...rn,...an,...on,...ad]);let b=null;const O=F({},[...id,...ln,...od,...Ft]);
vendor: 4,116 bytes, line 1
1let D=Object.seal(Ud(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,Se=null,st=!0,ut=!0,Nt=!1,Pt=!0,Ae=!1,Ze=!0,Oe=!1,ct=!1,T=!1,l=!1,k=!1,ge=!1,A=!0,It=!1;const Zd="user-content-";let Yt=!0,$t=!1,Je={},Qe=null;const An=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let On=null;const Nn=F({},["audio","video","img","source","image","track"]);let Xt=null;const Pn=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Dt="http://www.w3.org/1998/Math/MathML",Rt="http://www.w3.org/2000/svg",Ne="http://www.w3.org/1999/xhtml";let et=Ne,qt=!1,Zt=null;const Jd=F({},[Dt,Rt,Ne],dn);let Mt=F({},["mi","mo","mn","ms","mtext"]),kt=F({},["annotation-xml"]);const Qd=F({},["title","style","font","a","script"]);let ft=null;const er=["application/xhtml+xml","text/html"],tr="text/html";let Q=null,tt=null;const nr=n.createElement("form"),In=function(o){return o instanceof RegExp||o instanceof Function},Jt=function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(tt&&tt===o)){if((!o||typeof o!="object")&&(o={}),o=De(o),ft=er.indexOf(o.PARSER_MEDIA_TYPE)===-1?tr:o.PARSER_MEDIA_TYPE,Q=ft==="application/xhtml+xml"?dn:Ut,K=Ce(o,"ALLOWED_TAGS")?F({},o.ALLOWED_TAGS,Q):y,b=Ce(o,"ALLOWED_ATTR")?F({},o.ALLOWED_ATTR,Q):O,Zt=Ce(o,"ALLOWED_NAMESPACES")?F({},o.ALLOWED_NAMESPACES,dn):Jd,Xt=Ce(o,"ADD_URI_SAFE_ATTR")?F(De(Pn),o.ADD_URI_SAFE_ATTR,Q):Pn,On=Ce(o,"ADD_DATA_URI_TAGS")?F(De(Nn),o.ADD_DATA_URI_TAGS,Q):Nn,Qe=Ce(o,"FORBID_CONTENTS")?F({},o.FORBID_CONTENTS,Q):An,z=Ce(o,"FORBID_TAGS")?F({},o.FORBID_TAGS,Q):De({}),Se=Ce(o,"FORBID_ATTR")?F({},o.FORBID_ATTR,Q):De({}),Je=Ce(o,"USE_PROFILES")?o.USE_PROFILES:!1,st=o.ALLOW_ARIA_ATTR!==!1,ut=o.ALLOW_DATA_ATTR!==!1,Nt=o.ALLOW_UNKNOWN_PROTOCOLS||!1,Pt=o.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ae=o.SAFE_FOR_TEMPLATES||!1,Ze=o.SAFE_FOR_XML!==!1,Oe=o.WHOLE_DOCUMENT||!1,l=o.RETURN_DOM||!1,k=o.RETURN_DOM_FRAGMENT||!1,ge=o.RETURN_TRUSTED_TYPE||!1,T=o.FORCE_BODY||!1,A=o.SANITIZE_DOM!==!1,It=o.SANITIZE_NAMED_PROPS||!1,Yt=o.KEEP_CONTENT!==!1,$t=o.IN_PLACE||!1,Te=o.ALLOWED_URI_REGEXP||Gd,et=o.NAMESPACE||Ne,Mt=o.MATHML_TEXT_INTEGRATION_POINTS||Mt,kt=o.HTML_INTEGRATION_POINTS||kt,D=o.CUSTOM_ELEMENT_HANDLING||{},o.CUSTOM_ELEMENT_HANDLING&&In(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(D.tagNameCheck=o.CUSTOM_ELEMENT_HANDLING.tagNameCheck),o.CUSTOM_ELEMENT_HANDLING&&In(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(D.attributeNameCheck=o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),o.CUSTOM_ELEMENT_HANDLING&&typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(D.allowCustomizedBuiltInElements=o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ae&&(ut=!1),k&&(l=!0),Je&&(K=F({},ad),b=[],Je.html===!0&&(F(K,rd),F(b,id)),Je.svg===!0&&(F(K,rn),F(b,ln),F(b,Ft)),Je.svgFilters===!0&&(F(K,an),F(b,ln),F(b,Ft)),Je.mathMl===!0&&(F(K,on),F(b,od),F(b,Ft))),o.ADD_TAGS&&(K===y&&(K=De(K)),F(K,o.ADD_TAGS,Q)),o.ADD_ATTR&&(b===O&&(b=De(b)),F(b,o.ADD_ATTR,Q)),o.ADD_URI_SAFE_ATTR&&F(Xt,o.ADD_URI_SAFE_ATTR,Q),o.FORBID_CONTENTS&&(Qe===An&&(Qe=De(Qe)),F(Qe,o.FORBID_CONTENTS,Q)),Yt&&(K["#text"]=!0),Oe&&F(K,["html","head","body"]),K.table&&(F(K,["tbody"]),delete z.tbody),o.TRUSTED_TYPES_POLICY){if(typeof o.TRUSTED_TYPES_POLICY.createHTML!="function")throw bt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof o.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw bt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=o.TRUSTED_TYPES_POLICY,x=E.createHTML("")}else E===void 0&&(E=_i(P,r)),E!==null&&typeof x=="string"&&(x=E.createHTML(""));ie&&ie(o),tt=o}},Dn=F({},[...rn,...an,...ui]),Rn=F({},[...on,...ci]),dr=function(o){let h=w(o);
vendor: 5,345 bytes, line 1
1(!h||!h.tagName)&&(h={namespaceURI:et,tagName:"template"});const S=Ut(o.tagName),Y=Ut(h.tagName);return Zt[o.namespaceURI]?o.namespaceURI===Rt?h.namespaceURI===Ne?S==="svg":h.namespaceURI===Dt?S==="svg"&&(Y==="annotation-xml"||Mt[Y]):!!Dn[S]:o.namespaceURI===Dt?h.namespaceURI===Ne?S==="math":h.namespaceURI===Rt?S==="math"&&kt[Y]:!!Rn[S]:o.namespaceURI===Ne?h.namespaceURI===Rt&&!kt[Y]||h.namespaceURI===Dt&&!Mt[Y]?!1:!Rn[S]&&(Qd[S]||!Dn[S]):!!(ft==="application/xhtml+xml"&&Zt[o.namespaceURI]):!1},Ee=function(o){vt(t.removed,{element:o});try{w(o).removeChild(o)}catch{Z(o)}},nt=function(o,h){try{vt(t.removed,{attribute:h.getAttributeNode(o),from:h})}catch{vt(t.removed,{attribute:null,from:h})}if(h.removeAttribute(o),o==="is")if(l||k)try{Ee(h)}catch{}else try{h.setAttribute(o,"")}catch{}},Mn=function(o){let h=null,S=null;if(T)o="<remove></remove>"+o;else{const J=dd(o,/^[\r\n\t ]+/);S=J&&J[0]}ft==="application/xhtml+xml"&&et===Ne&&(o='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+o+"</body></html>");const Y=E?E.createHTML(o):o;if(et===Ne)try{h=new v().parseFromString(Y,ft)}catch{}if(!h||!h.documentElement){h=G.createDocument(et,"template",null);try{h.documentElement.innerHTML=qt?x:Y}catch{}}const ee=h.body||h.documentElement;return o&&S&&ee.insertBefore(n.createTextNode(S),ee.childNodes[0]||null),et===Ne?Ye.call(h,Oe?"html":"body")[0]:Oe?h.documentElement:ee},kn=function(o){return B.call(o.ownerDocument||o,o,i.SHOW_ELEMENT|i.SHOW_COMMENT|i.SHOW_TEXT|i.SHOW_PROCESSING_INSTRUCTION|i.SHOW_CDATA_SECTION,null)},Qt=function(o){return o instanceof g&&(typeof o.nodeName!="string"||typeof o.textContent!="string"||typeof o.removeChild!="function"||!(o.attributes instanceof p)||typeof o.removeAttribute!="function"||typeof o.setAttribute!="function"||typeof o.namespaceURI!="string"||typeof o.insertBefore!="function"||typeof o.hasChildNodes!="function")},Ln=function(o){return typeof c=="function"&&o instanceof c};function Pe(N,o,h){Lt(N,S=>{S.call(t,o,h,tt)})}const Fn=function(o){let h=null;if(Pe(X.beforeSanitizeElements,o,null),Qt(o))return Ee(o),!0;const S=Q(o.nodeName);if(Pe(X.uponSanitizeElement,o,{tagName:S,allowedTags:K}),Ze&&o.hasChildNodes()&&!Ln(o.firstElementChild)&&de(/<[/\w!]/g,o.innerHTML)&&de(/<[/\w!]/g,o.textContent)||o.nodeType===ht.progressingInstruction||Ze&&o.nodeType===ht.comment&&de(/<[/\w]/g,o.data))return Ee(o),!0;if(!K[S]||z[S]){if(!z[S]&&Un(S)&&(D.tagNameCheck instanceof RegExp&&de(D.tagNameCheck,S)||D.tagNameCheck instanceof Function&&D.tagNameCheck(S)))return!1;if(Yt&&!Qe[S]){const Y=w(o)||o.parentNode,ee=U(o)||o.childNodes;if(ee&&Y){const J=ee.length;for(let se=J-1;se>=0;--se){const Ie=j(ee[se],!0);Ie.__removalCount=(o.__removalCount||0)+1,Y.insertBefore(Ie,ve(o))}}}return Ee(o),!0}return o instanceof m&&!dr(o)||(S==="noscript"||S==="noembed"||S==="noframes")&&de(/<\/no(script|embed|frames)/i,o.innerHTML)?(Ee(o),!0):(Ae&&o.nodeType===ht.text&&(h=o.textContent,Lt([He,Ve,$e],Y=>{h=gt(h,Y," ")}),o.textContent!==h&&(vt(t.removed,{element:o.cloneNode()}),o.textContent=h)),Pe(X.afterSanitizeElements,o,null),!1)},Bn=function(o,h,S){if(A&&(h==="id"||h==="name")&&(S in n||S in nr))return!1;if(!(ut&&!Se[h]&&de(Fe,h))){if(!(st&&de(we,h))){if(!b[h]||Se[h]){if(!(Un(o)&&(D.tagNameCheck instanceof RegExp&&de(D.tagNameCheck,o)||D.tagNameCheck instanceof Function&&D.tagNameCheck(o))&&(D.attributeNameCheck instanceof RegExp&&de(D.attributeNameCheck,h)||D.attributeNameCheck instanceof Function&&D.attributeNameCheck(h))||h==="is"&&D.allowCustomizedBuiltInElements&&(D.tagNameCheck instanceof RegExp&&de(D.tagNameCheck,S)||D.tagNameCheck instanceof Function&&D.tagNameCheck(S))))return!1}else if(!Xt[h]){if(!de(Te,gt(S,Xe,""))){if(!((h==="src"||h==="xlink:href"||h==="href")&&o!=="script"&&ii(S,"data:")===0&&On[o])){if(!(Nt&&!de(ze,gt(S,Xe,"")))){if(S)return!1}}}}}}return!0},Un=function(o){return o!=="annotation-xml"&&dd(o,qe)},Gn=function(o){Pe(X.beforeSanitizeAttributes,o,null);const{attributes:h}=o;if(!h||Qt(o))return;const S={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:b,forceKeepAttr:void 0};let Y=h.length;for(;Y--;){const ee=h[Y],{name:J,namespaceURI:se,value:Ie}=ee,pt=Q(J),en=Ie;let te=J==="value"?en:oi(en);if(S.attrName=pt,S.attrValue=te,S.keepAttr=!0,S.forceKeepAttr=void 0,Pe(X.uponSanitizeAttribute,o,S),te=S.attrValue,It&&(pt==="id"||pt==="name")&&(nt(J,o),te=Zd+te),Ze&&de(/((--!?|])>)|<\/(style|title)/i,te)){nt(J,o);continue}if(S.forceKeepAttr)continue;if(!S.keepAttr){nt(J,o);continue}if(!Pt&&de(/\/>/i,te)){nt(J,o);continue}Ae&&Lt([He,Ve,$e],Hn=>{te=gt(te,Hn," ")});const jn=Q(o.nodeName);if(!Bn(jn,pt,te)){nt(J,o);continue}if(E&&typeof P=="object"&&typeof P.getAttributeType=="function"&&!se)switch(P.getAttributeType(jn,pt)){case"TrustedHTML":{te=E.createHTML(te);break}case"TrustedScriptURL":{te=E.createScriptURL(te);break}}if(te!==en)try{se?o.setAttributeNS(se,J,te):o.setAttribute(J,te),Qt(o)?Ee(o):nd(t.removed)}catch{nt(J,o)}}Pe(X.afterSanitizeAttributes,o,null)},rr=function N(o){let h=null;const S=kn(o);for(Pe(X.beforeSanitizeShadowDOM,o,null);h=S.nextNode();)Pe(X.uponSanitizeShadowNode,h,null),Fn(h),Gn(h),h.content instanceof s&&N(h.content);Pe(X.afterSanitizeShadowDOM,o,null)};return t.sanitize=function(N){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,S=null,Y=null,ee=null;if(qt=!N,qt&&(N="<!-->
1"),typeof N!="string"&&!Ln(N))if(typeof N.toString=="function"){if(N=N.toString(),typeof N!="string")throw bt("dirty is not a string, aborting")}else throw bt("toString is not a function");if(!t.isSupported)return N;if(ct||Jt(o),t.removed=[],typeof N=="string"&&($t=!1),$t){if(N.nodeName){const Ie=Q(N.nodeName);if(!K[Ie]||z[Ie])throw bt("root node is forbidden and cannot be sanitized in-place")}}else if(N instanceof c)h=Mn("<!---->"),S=h.ownerDocument.importNode(N,!0),S.nodeType===ht.element&&S.nodeName==="BODY"||S.nodeName==="HTML"?h=S:h.appendChild(S);else{if(!l&&!Ae&&!Oe&&N.indexOf("<")===-1)return E&&ge?E.createHTML(N):N;if(h=Mn(N),!h)return l?null:ge?x:""}h&&T&&Ee(h.firstChild);const J=kn($t?N:h);for(;Y=J.nextNode();)Fn(Y),Gn(Y),Y.content instanceof s&&rr(Y.content);if($t)return N;if(l){if(k)for(ee=ne.call(h.ownerDocument);h.firstChild;)ee.appendChild(h.firstChild);else ee=h;return(b.shadowroot||b.shadowrootmode)&&(ee=Le.call(d,ee,!0)),ee}let se=Oe?h.outerHTML:h.innerHTML;return Oe&&K["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&de(jd,h.ownerDocument.doctype.name)&&(se="<!DOCTYPE "+h.ownerDocument.doctype.name+`> 2`+se),Ae&&Lt([He,Ve,$e],Ie=>{se=gt(se,Ie," ")}),E&&ge?E.createHTML(se):se},t.setConfig=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Jt(N),ct=!0},t.clearConfig=function(){tt=null,ct=!1},t.isValidAttribute=function(N,o,h){tt||Jt({});const S=Q(N),Y=Q(o);return Bn(S,Y,h)},t.addHook=function(N,o){typeof o=="function"&&vt(X[N],o)},t.removeHook=function(N,o){if(o!==void 0){const h=ri(X[N],o);return h===-1?void 0:ai(X[N],h,1)[0]}return nd(X[N])},t.removeHooks=function(N){X[N]=[]},t.removeAllHooks=function(){X=sd()},t}var Ci=Hd();const xi={key:0},wi={class:"px-8 pt-3 pb-8"},Ei={class:"mt-4"},Ti={class:"rounded-lg border-brand-sand border-2 px-10 py-8 font-medium text-gray-800"},Si=["innerHTML"],Ai={class:"border-t border-brand-light-brown bg-brand-sand py-4 rounded-b-lg"},Oi={class:"flex justify-end px-8 space-x-4"},Ni=ye({__name:"SmsPreview",props:{sms:{},previewSms:{type:Boolean}},emits:["view","update:previewSms"],setup(e,{emit:t}){const n=e,d=je(),r=Ke(),s=t,u={FIRST_NAME:"Elizabeth",CARD_BRAND:"VISA",LAST_4:"4242",ORG_NAME:r.org?.name||"Acme Corp"},c=I(()=>{let p=n.sms?.content;const g=d.hostedBillingPage?`${d.hostedBillingPage}/demo/recover`:void 0;return p?(p=pn(p,u,!0,g,!0),p):""}),m=I(()=>Ci.sanitize(c.value)),i=I({get:()=>n.previewSms,set:p=>s("update:previewSms",p)});return(p,g)=>p.sms?(f(),C("div",xi,[_($(zt),{modelValue:i.value,"onUpdate:modelValue":g[1]||(g[1]=v=>i.value=v),"modal-append-to-body":!1,"before-close":()=>s("view",p.sms),class:"container max-w-xl rounded-lg px-0 py-0 no-padding"},{default:R(()=>[a("div",wi,[g[3]||(g[3]=a("p",{class:"font-bold text-xl text-gray-800"},"SMS Preview",-1)),a("div",Ei,[g[2]||(g[2]=a("p",{class:"font-semibold text-sm text-gray-800 mb-2"},"Message View",-1)),a("div",Ti,[a("div",{class:"overflow-auto sms-preview-content",innerHTML:m.value},null,8,Si)])])]),a("div",Ai,[a("div",Oi,[_($(ae),{type:"primary",onClick:g[0]||(g[0]=()=>{s("view",p.sms),s("update:previewSms",!1)})},{default:R(()=>[...g[4]||(g[4]=[H("Close",-1)])]),_:1})])])]),_:1},8,["modelValue","before-close"])])):L("",!0)}}),Pi={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-4
26-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,[["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\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)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[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}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-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","(?:[025-7]\\d|44)\\d{6}",[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|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,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)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\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}
2|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]|33|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-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-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","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],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}
2)","$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-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-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}
2)","$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,"528[89]"],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-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"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-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50
vendor: 10,689 bytes, line 2
2))\\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","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|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{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"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","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,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]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[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(?:(?:2[14]|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|4[47])|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(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|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]|28|3[129]|4[1-35689]|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[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|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
23)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|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",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[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,10}|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",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|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[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["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|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",["7"],"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
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","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|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",["2(?:[0367]|4[3-8])"]],["(\\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",["2(?:[0367]|4[3-8])"]],["(\\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]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|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{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\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}"]]],MC:["377","00","(?:[3489]|6\\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",["6
vendor: 18,815 bytes, line 2
2"],"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","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,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",["[12]1"],"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","(?:596\\d|7091)\\d{5}|(?:69|[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",["(?: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","(?: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","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"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","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,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",["[26]1|3[289]|4[1246-8]|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,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?: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,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"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-8]\\d|90)\\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","
2[267]\\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",["[267]"]],["(\\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|30|[689]\\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{8}",[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",["[0-57-9]"]]],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-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"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{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?: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,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-68]))\\d{4}|(?:2742|305[3-9]|(?:472|983)[2-47-9]|505[2-57-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-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|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-47-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-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|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]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],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"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["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","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?: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}
2)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\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})|50\\d{3})\\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 Ii(e,t){var n=Array.prototype.slice.call(t);return n.push(Pi),e.apply(this,n)}function ud(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),d=t[0].split("."),r=0;r<3;r++){var s=Number(n[r]),u=Number(d[r]);if(s>u)return 1;if(u>s)return-1;if(!isNaN(s)&&isNaN(u))return 1;if(isNaN(s)&&!isNaN(u))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 Di={}.constructor;function ot(e){return e!=null&&e.constructor===Di}function lt(e){"@babel/helpers - typeof";return lt=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},lt(e)}function Wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e,t){for(var n=0;n<t.length;n++){var d=t[n];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(e,Mi(d.key),d)}}function Kt(e,t,n){return t&&Ri(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mi(e){var t=ki(e,"string");return lt(t)=="symbol"?t:t+""}function ki(e,t){if(lt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(lt(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Li="1.2.0",Fi="1.7.35",cd=" ext. ",Bi=/^\d+$/,le=(function(){function e(t){Wt(this,e),Vd(t),this.metadata=t,zd.call(this,t)}return Kt(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!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var d=this.countryCallingCodes()[n];if(d&&d.length===1&&d[0]==="001")return!0}}},{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,d){if(n&&Bi.test(n)&&(d=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new $d(this.getCountryMetadata(n),this)}else if(d){if(!this.hasCallingCode(d))throw new Error("Unknown calling code: ".concat(d));this.numberingPlan=new $d(this.getNumberingPlanMetadata(d),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var d=this.countryCallingCodes()[n];if(d)return d.length===1&&d[0].length===3?void 0:d}},{key:"getCountryCodeForCallingCode",value:function(n){var d=this.getCountryCodesForCallingCode(n);if(d)return d[0]}},{key:"getNumberingPlanMetadata",value:function(n){var d=this.getCountryCodeForCallingCode(n);if(d)return this.getCountryMetadata(d);if(this.nonGeographic()){var r=this.nonGeographic()[n];if(r)return r}else{var s=this.countryCallingCodes()[n];if(s&&s.length===1&&s[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}}])})(),$d=(function(){function e(t,n){Wt(this,e),this.globalMetadataObject=n,this.metadata=t,zd.call(this,n.metadata)}return Kt(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{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,d=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return d.map(function(r){return new Ui(r,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.getDefaultCountryMetadataForRegion())}},{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.getDefaultCountryMetadataForRegion())}},{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?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&fd(this.types(),n))return new ji(fd(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?cd:this.metadata[13]||cd}}])})(),Ui=(function(){function e(t,n){Wt(this,e),this._format=t,this.metadata=n}return Kt(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()&&!Gi.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),Gi=/^\(?\$1\)?$/,ji=(function(){function e(t,n){Wt(this,e),this.type=t,this.metadata=n}return Kt(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
vendor: 4,133 bytes, lines 2-3
2ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function fd(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 Vd(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!ot(e)||!ot(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(ot(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Hi(e)+": "+e,"."))}var Hi=function(t){return lt(t)};function Cn(e,t){if(t=new le(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Vi(e,t){return t.countries.hasOwnProperty(e)}function zd(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?ud(t,Li)===-1?this.v2=!0:ud(t,Fi)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function xn(e,t){return zi(e,void 0,t)}function zi(e,t,n){var d=n.type(t),r=d&&d.possibleLengths()||n.possibleLengths();if(!r)return"IS_POSSIBLE";var s=e.length,u=r[0];return u===s?"IS_POSSIBLE":u>s?"TOO_SHORT":r[r.length-1]<s?"TOO_LONG":r.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Wi(e,t,n){if(t===void 0&&(t={}),n=new le(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Wd(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Wd(e,t){switch(xn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function ke(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Ki(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=Yi(e))||t){n&&(e=n);var d=0;return function(){return d>=e.length?{done:!0}:{done:!1,value:e[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yi(e,t){if(e){if(typeof e=="string")return pd(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)?pd(e,t):void 0}}function pd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,d=Array(t);n<t;n++)d[n]=e[n];return d}var Xi=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function wn(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new le(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var d=t.v2?e.nationalNumber:e.phone;if(ke(d,n.nationalNumberPattern())){if(sn(d,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||sn(d,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var r=Ki(Xi),s;!(s=r()).done;){var u=s.value;if(sn(d,u,n))return u}}}}function sn(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:ke(e,t.pattern())}function qi(e,t,n){if(t=t||{},n=new le(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return wn(e,t,n.metadata)!==void 0;var d=t.v2?e.nationalNumber:e.phone;return ke(d,n.nationalNumberPattern())}function Zi(e,t,n){var d=new le(n),r=d.getCountryCodesForCallingCode(e);
vendor: 9,555 bytes, lines 3-4
3return r?r.filter(function(s){return Ji(t,s,n)}):[]}function Ji(e,t,n){var d=new le(n);return d.selectNumberingPlan(t),d.numberingPlan.possibleLengths().indexOf(e.length)>=0}var En=2,Qi=17,eo=3,xe="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",to="-â-ââã¼ï¼",no="ï¼/",ro="ï¼.",ao="  Âââ ã",io="()ï¼ï¼ï¼»ï¼½\\[\\]",oo="~ââ¼ï½",jt="".concat(to).concat(no).concat(ro).concat(ao).concat(io).concat(oo),Tn="+ï¼",lo=new RegExp("(["+xe+"])");function so(e,t,n,d){if(t){var r=new le(d);r.selectNumberingPlan(t,n);var s=new RegExp(r.IDDPrefix());if(e.search(s)===0){e=e.slice(e.match(s)[0].length);var u=e.match(lo);if(!(u&&u[1]!=null&&u[1].length>0&&u[1]==="0"))return e}}}function uo(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),d=n.exec(e);if(d){var r,s,u=d.length-1,c=u>0&&d[u];if(t.nationalPrefixTransformRule()&&c)r=e.replace(n,t.nationalPrefixTransformRule()),u>1&&(s=d[1]);else{var m=d[0];r=e.slice(m.length),c&&(s=d[1])}var i;if(c){var p=e.indexOf(d[1]),g=e.slice(0,p);g===t.numberingPlan.nationalPrefix()&&(i=t.numberingPlan.nationalPrefix())}else i=d[0];return{nationalNumber:r,nationalPrefix:i,carrierCode:s}}}return{nationalNumber:e}}function gn(e,t){var n=uo(e,t),d=n.carrierCode,r=n.nationalNumber;if(r!==e){if(!co(e,r,t))return{nationalNumber:e};if(t.possibleLengths()&&!$o(r,t))return{nationalNumber:e}}return{nationalNumber:r,carrierCode:d}}function co(e,t,n){return!(ke(e,n.nationalNumberPattern())&&!ke(t,n.nationalNumberPattern()))}function $o(e,t){switch(xn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function fo(e,t,n,d){var r=t?Cn(t,d):n;if(e.indexOf(r)===0){d=new le(d),d.selectNumberingPlan(t,n);var s=e.slice(r.length),u=gn(s,d),c=u.nationalNumber,m=gn(e,d),i=m.nationalNumber;if(!ke(i,d.nationalNumberPattern())&&ke(c,d.nationalNumberPattern())||xn(i,d)==="TOO_LONG")return{countryCallingCode:r,number:s}}return{number:e}}function Kd(e,t,n,d){if(!e)return{};var r;if(e[0]!=="+"){var s=so(e,t,n,d);if(s&&s!==e)r=!0,e="+"+s;else{if(t||n){var u=fo(e,t,n,d),c=u.countryCallingCode,m=u.number;if(c)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:c,number:m}}return{number:e}}}if(e[1]==="0")return{};d=new le(d);for(var i=2;i-1<=eo&&i<=e.length;){var p=e.slice(1,i);if(d.hasCallingCode(p))return d.selectNumberingPlan(p),{countryCallingCodeSource:r?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:p,number:e.slice(i)};i++}return{}}function po(e){return e.replace(new RegExp("[".concat(jt,"]+"),"g")," ").trim()}var mo=/(\$\d)/;function vo(e,t,n){var d=n.useInternationalFormat,r=n.withNationalPrefix,s=e.replace(new RegExp(t.pattern()),d?t.internationalFormat():r&&t.nationalPrefixFormattingRule()?t.format().replace(mo,t.nationalPrefixFormattingRule()):t.format());return d?po(s):s}var go=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function bo(e,t,n){var d=new le(n);if(d.selectNumberingPlan(e,t),d.defaultIDDPrefix())return d.defaultIDDPrefix();if(go.test(d.IDDPrefix()))return d.IDDPrefix()}var yo=";ext=",at=function(t){return"([".concat(xe,"]{1,").concat(t,"})")};function Yd(e){var t="20",n="15",d="9",r="6",s="[  \\t,]*",u="[:\\.ï¼]?[  \\t,-]*",c="#?",m="(?:e?xt(?:ensi(?:oÌ?|ó))?n?|ï½ ?ï½ï½ï½?|доб|anexo)",i="(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)",p="[- ]+",g="[  \\t]*",v="(?:,{2}|;)",P=yo+at(t),M=s+m+u+at(t)+c,j=s+i+u+at(d)+c,Z=p+at(r)+"#",ve=g+v+u+at(n)+c,U=g+"(?:,)+"+u+at(d)+c;return P+"|"+M+"|"+j+"|"+Z+"|"+ve+"|"+U}var ho="["+xe+"]{"+En+"}",_o="["+Tn+"]{0,1}(?:["+jt+"]*["+xe+"]){3,}["+jt+xe+"]*",Co=new RegExp("^["+Tn+"]{0,1}(?:["+jt+"]*["+xe+"]){1,2}$","i"),xo=_o+"(?:"+Yd()+")?",wo=new RegExp("^"+ho+"$|^"+xo+"$","i");function Eo(e){return e.length>=En&&wo.test(e)}function To(e){return Co.test(e)}function So(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:"")}function xt(e){"@babel/helpers - typeof";return xt=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},xt(e)}function Ao(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=Oo(e))||t){n&&(e=n);var d=0;return function(){return d>=e.length?{done:!0}:{done:!1,value:e[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oo(e,t){if(e){if(typeof e=="string")return md(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)?md(e,t):void 0}}function md(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,d=Array(t);n<t;n++)d[n]=e[n];return d}function vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);t&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,d)}return n}function gd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vd(Object(n),!0).forEach(function(d){No(e,d,n[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vd(Object(n)).forEach(function(d){Object.defineProperty(e,d,Object.getOwnPropertyDescriptor(n,d))})}return e}function No(e,t,n){return(t=Po(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e){var t=Io(e,"string");return xt(t)=="symbol"?t:t+""}function Io(e,t){if(xt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(xt(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bd={formatExtension:function(t,n,d){return"".concat(t).concat(d.ext()).concat(n)}};function Do(e,t,n,d){if(n?n=gd(gd({},bd),n):n=bd,d=new le(d),e.country&&e.country!=="001"){if(!d.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));d.country(e.country)}else if(e.countryCallingCode)d.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var r=d.countryCallingCode(),s=n.v2?e.nationalNumber:e.phone,u;switch(t){case"NATIONAL":return s?(u=Ht(s,e.carrierCode,"NATIONAL",d,n),un(u,e.ext,d,n.formatExtension)):"";case"INTERNATIONAL":return s?(u=Ht(s,null,"INTERNATIONAL",d,n),u="+".concat(r," ").concat(u),un(u,e.ext,d,n.formatExtension)):"+".concat(r);case"E.164":return"+".concat(r).concat(s);case"RFC3966":return So({number:"+".concat(r).concat(s),ext:e.ext});case"IDD":if(!n.fromCountry)return;var c=Mo(s,e.carrierCode,r,n.fromCountry,d);return un(c,e.ext,d,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Ht(e,t,n,d,r){var s=Ro(d.formats(),e);return s?vo(e,s,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(s.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&r&&r.nationalPrefix===!1)}):e}function Ro(e,t){for(var n=Ao(e),d;!(d=n()).done;){var r=d.value;if(r.leadingDigitsPatterns().length>0){var s=r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length-1];if(t.search(s)!==0)continue}if(ke(t,r.pattern()))return r}}function un(e,t,n,d){return t?d(e,t,n):e}function Mo(e,t,n,d,r){var s=Cn(d,r.metadata);if(s===n){var u=Ht(e,t,"NATIONAL",r);return n==="1"?n+" "+u:u}var c=bo(d,void 0,r.metadata);if(c)return"".concat(c," ").concat(n," ").concat(Ht(e,null,"INTERNATIONAL",r))}function wt(e){"@babel/helpers - typeof";return wt=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},wt(e)}function yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);t&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,d)}return n}function hd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yd(Object(n),!0).forEach(function(d){ko(e,d,n[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yd(Object(n)).forEach(function(d){Object.defineProperty(e,d,Object.getOwnPropertyDescriptor(n,d))})}return e}function ko(e,t,n){return(t=Xd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fo(e,t){for(var n=0;n<t.length;n++){var d=t[n];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(e,Xd(d.key),d)}}function Bo(e,t,n){return t&&Fo(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xd(e){var t=Uo(e,"string");return wt(t)=="symbol"?t:t+""}function Uo(e,t){if(wt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(wt(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Go=(function(){function e(t,n,d){if(Lo(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");
vendor: 8,266 bytes, lines 4-6
4if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(ot(n)&&ot(n.countries)){d=n;var r=t;if(!Vo.test(r))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var s=Kd(r,void 0,void 0,d),u=s.countryCallingCode,c=s.number;if(n=c,t=u,!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");Vd(d);var m=Ho(t,d),i=m.country,p=m.countryCallingCode;this.country=i,this.countryCallingCode=p,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return d}}return Bo(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Zi(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Wi(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return qi(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new le(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 wn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,d){return Do(this,n,d?hd(hd({},d),{},{v2:!0}):{v2:!0},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)}}])})(),jo=function(t){return/^[A-Z]{2}$/.test(t)};function Ho(e,t){var n,d,r=new le(t);return jo(e)?(n=e,r.selectNumberingPlan(n),d=r.countryCallingCode()):d=e,{country:n,countryCallingCode:d}}var Vo=/^\+\d+$/;function bn(e){"@babel/helpers - typeof";return bn=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},bn(e)}function zo(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(e,t,n){return t=Tt(t),Yo(e,Sn()?Reflect.construct(t,n||[],Tt(e).constructor):t.apply(e,n))}function Yo(e,t){if(t&&(bn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xo(e)}function Xo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qo(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:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Et(e,t)}function yn(e){var t=typeof Map=="function"?new Map:void 0;return yn=function(d){if(d===null||!Jo(d))return d;if(typeof d!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(d))return t.get(d);t.set(d,r)}function r(){return Zo(d,arguments,Tt(this).constructor)}return r.prototype=Object.create(d.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Et(r,d)},yn(e)}function Zo(e,t,n){if(Sn())return Reflect.construct.apply(null,arguments);var d=[null];d.push.apply(d,t);var r=new(e.bind.apply(e,d));return n&&Et(r,n.prototype),r}function Sn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Sn=function(){return!!e})()}function Jo(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Et(e,t){return Et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,d){return n.__proto__=d,n},Et(e,t)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(e)}var Re=(function(e){function t(n){var d;return Wo(this,t),d=Ko(this,t,[n]),Object.setPrototypeOf(d,t.prototype),d.name=d.constructor.name,d}return qo(t,e),zo(t)})(yn(Error)),_d=new RegExp("(?:"+Yd()+")$","i");function Qo(e){var t=e.search(_d);if(t<0)return{};for(var n=e.slice(0,t),d=e.match(_d),r=1;r<d.length;){if(d[r])return{number:n,ext:d[r]};r++}}var el={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function tl(e){return el[e]}function nl(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=dl(e))||t){n&&(e=n);var d=0;return function(){return d>=e.length?{done:!0}:{done:!1,value:e[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dl(e,t){if(e){if(typeof e=="string")return Cd(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)?Cd(e,t):void 0}}function Cd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,d=Array(t);n<t;n++)d[n]=e[n];return d}function xd(e){for(var t="",n=nl(e.split("")),d;!(d=n()).done;){var r=d.value;t+=rl(r,t)||""}return t}function rl(e,t,n){return e==="+"?t?void 0:"+":tl(e)}function al(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=il(e))||t){n&&(e=n);var d=0;return function(){return d>=e.length?{done:!0}:{done:!1,value:e[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function il(e,t){if(e){if(typeof e=="string")return wd(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)?wd(e,t):void 0}}function wd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,d=Array(t);n<t;n++)d[n]=e[n];return d}function ol(e,t){var n=t.countries,d=t.metadata;d=new le(d);for(var r=al(n),s;!(s=r()).done;){var u=s.value;if(d.country(u),d.leadingDigits()){if(e&&e.search(d.leadingDigits())===0)return u}else if(wn({phone:e,country:u},void 0,d.metadata))return u}}function ll(e,t){var n=t.nationalNumber,d=t.metadata,r=d.getCountryCodesForCallingCode(e);if(r)return r.length===1?r[0]:ol(n,{countries:r,metadata:d.metadata})}var qd="+",sl="[\\-\\.\\(\\)]?",Ed="(["+xe+"]|"+sl+")",ul="^\\"+qd+Ed+"*["+xe+"]"+Ed+"*$",cl=new RegExp(ul,"g"),hn=xe,$l="["+hn+"]+((\\-)*["+hn+"])*",fl="a-zA-Z",pl="["+fl+"]+((\\-)*["+hn+"])*",ml="^("+$l+"\\.)*"+pl+"\\.?$",vl=new RegExp(ml,"g"),Td="tel:",_n=";phone-context=",gl=";isub=";function bl(e){var t=e.indexOf(_n);if(t<0)return null;var n=t+_n.length;if(n>=e.length)return"";var d=e.indexOf(";",n);return d>=0?e.substring(n,d):e.substring(n)}function yl(e){return e===null?!0:e.length===0?!1:cl.test(e)||vl.test(e)}function hl(e,t){var n=t.extractFormattedPhoneNumber,d=bl(e);if(!yl(d))throw new Re("NOT_A_NUMBER");var r;if(d===null)r=n(e)||"";else{r="",d.charAt(0)===qd&&(r+=d);var s=e.indexOf(Td),u;s>=0?u=s+Td.length:u=0;var c=e.indexOf(_n);r+=e.substring(u,c)}var m=r.indexOf(gl);if(m>0&&(r=r.substring(0,m)),r!=="")return r}var _l=250,Cl=new RegExp("["+Tn+xe+"]"),xl=new RegExp("[^"+xe+"#]+$");function wl(e,t,n){if(t=t||{},n=new le(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Re("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var d=Tl(e,t.v2,t.extract),r=d.number,s=d.ext,u=d.error;if(!r){if(t.v2)throw u==="TOO_SHORT"?new Re("TOO_SHORT"):new Re("NOT_A_NUMBER");return{}}
vendor: 9,422 bytes, lines 6-7
6var c=Al(r,t.defaultCountry,t.defaultCallingCode,n),m=c.country,i=c.nationalNumber,p=c.countryCallingCode,g=c.countryCallingCodeSource,v=c.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Re("INVALID_COUNTRY");return{}}if(!i||i.length<En){if(t.v2)throw new Re("TOO_SHORT");return{}}if(i.length>Qi){if(t.v2)throw new Re("TOO_LONG");return{}}if(t.v2){var P=new Go(p,i,n.metadata);return m&&(P.country=m),v&&(P.carrierCode=v),s&&(P.ext=s),P.__countryCallingCodeSource=g,P}var M=(t.extended?n.hasSelectedNumberingPlan():m)?ke(i,n.nationalNumberPattern()):!1;return t.extended?{country:m,countryCallingCode:p,carrierCode:v,valid:M,possible:M?!0:!!(t.extended===!0&&n.possibleLengths()&&Wd(i,n)),phone:i,ext:s}:M?Sl(m,i,s):{}}function El(e,t,n){if(e){if(e.length>_l){if(n)throw new Re("TOO_LONG");return}if(t===!1)return e;var d=e.search(Cl);if(!(d<0))return e.slice(d).replace(xl,"")}}function Tl(e,t,n){var d=hl(e,{extractFormattedPhoneNumber:function(u){return El(u,n,t)}});if(!d)return{};if(!Eo(d))return To(d)?{error:"TOO_SHORT"}:{};var r=Qo(d);return r.ext?r:{number:d}}function Sl(e,t,n){var d={country:e,phone:t};return n&&(d.ext=n),d}function Al(e,t,n,d){var r=Kd(xd(e),t,n,d.metadata),s=r.countryCallingCodeSource,u=r.countryCallingCode,c=r.number,m;if(u)d.selectNumberingPlan(u);else if(c&&(t||n))d.selectNumberingPlan(t,n),t&&(m=t),u=n||Cn(t,d.metadata);else return{};if(!c)return{countryCallingCodeSource:s,countryCallingCode:u};var i=gn(xd(c),d),p=i.nationalNumber,g=i.carrierCode,v=ll(u,{nationalNumber:p,metadata:d});return v&&(m=v,v==="001"||d.country(m)),{country:m,countryCallingCode:u,countryCallingCodeSource:s,nationalNumber:p,carrierCode:g}}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 Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);t&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,d)}return n}function Ad(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sd(Object(n),!0).forEach(function(d){Ol(e,d,n[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach(function(d){Object.defineProperty(e,d,Object.getOwnPropertyDescriptor(n,d))})}return e}function Ol(e,t,n){return(t=Nl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e){var t=Pl(e,"string");return St(t)=="symbol"?t:t+""}function Pl(e,t){if(St(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(St(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Il(e,t,n){return wl(e,Ad(Ad({},t),{},{v2:!0}),n)}function At(e){"@babel/helpers - typeof";return At=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},At(e)}function Od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);t&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,d)}return n}function Dl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Od(Object(n),!0).forEach(function(d){Rl(e,d,n[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Od(Object(n)).forEach(function(d){Object.defineProperty(e,d,Object.getOwnPropertyDescriptor(n,d))})}return e}function Rl(e,t,n){return(t=Ml(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){var t=kl(e,"string");return At(t)=="symbol"?t:t+""}function kl(e,t){if(At(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(At(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ll(e,t){return Gl(e)||Ul(e,t)||Bl(e,t)||Fl()}function Fl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bl(e,t){if(e){if(typeof e=="string")return Nd(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)?Nd(e,t):void 0}}function Nd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,d=Array(t);n<t;n++)d[n]=e[n];return d}function Ul(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var d,r,s,u,c=[],m=!0,i=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(m=(d=s.call(n)).done)&&(c.push(d.value),c.length!==t);m=!0);}catch(p){i=!0,r=p}finally{try{if(!m&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(i)throw r}}return c}}function Gl(e){if(Array.isArray(e))return e}function jl(e){var t=Array.prototype.slice.call(e),n=Ll(t,4),d=n[0],r=n[1],s=n[2],u=n[3],c,m,i;if(typeof d=="string")c=d;else throw new TypeError("A text for parsing must be a string.");if(!r||typeof r=="string")u?(m=s,i=u):(m=void 0,i=s),r&&(m=Dl({defaultCountry:r},m));else if(ot(r))s?(m=r,i=s):i=r;else throw new Error("Invalid second argument: ".concat(r));return{text:c,options:m,metadata:i}}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 Pd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);t&&(d=d.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,d)}return n}function Id(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pd(Object(n),!0).forEach(function(d){Hl(e,d,n[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach(function(d){Object.defineProperty(e,d,Object.getOwnPropertyDescriptor(n,d))})}return e}function Hl(e,t,n){return(t=Vl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e){var t=zl(e,"string");return Ot(t)=="symbol"?t:t+""}function zl(e,t){if(Ot(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var d=n.call(e,t);if(Ot(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wl(e,t,n){t&&t.defaultCountry&&!Vi(t.defaultCountry,n)&&(t=Id(Id({},t),{},{defaultCountry:void 0}));try{return Il(e,t,n)}catch(d){if(!(d instanceof Re))throw d}}function Kl(){var e=jl(arguments),t=e.text,n=e.options,d=e.metadata;return Wl(t,n,d)}function cn(){return Ii(Kl,arguments)}const Yl=[["Afghanistan (â«Ø§ÙØºØ§ÙØ³ØªØ§Ùâ¬â)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (â«Ø§Ùجزائرâ¬â)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (ÕÕ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Ãsterreich)","at","43"],["Azerbaijan (AzÉrbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (â«Ø§ÙØ¨ØØ±ÙÙâ¬â)","bh","973"],["Bangladesh (বাà¦à¦²à¦¾à¦¦à§à¦¶)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (ÐелаÑÑÑÑ)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འà½à¾²à½´à½)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (ÐоÑна и ХеÑÑеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (ÐÑлгаÑиÑ)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (ááááá»áá¶)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (ä¸å½)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (â«Ø¬Ø²Ø± اÙÙ٠رâ¬â)","km","269"],["Congo (DRC) (République démocratique du C
vendor: 7,009 bytes, line 7
7ongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte dâIvoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (ÎÏÏÏοÏ)","cy","357"],["Czech Republic (Äeská republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (â«Ù
صرâ¬â)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (á¡áá¥áá ááááá)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Îλλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (馿¸¯)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ãsland)","is","354"],["India (à¤à¤¾à¤°à¤¤)","in","91"],["Indonesia","id","62"],["Iran (â«Ø§ÛراÙâ¬â)","ir","98"],["Iraq (â«Ø§ÙعراÙâ¬â)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (â«×שר××â¬â)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (æ¥æ¬)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (â«Ø§ÙأردÙâ¬â)","jo","962"],["Kazakhstan (ÐазаÑ
ÑÑан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (â«Ø§ÙÙÙÙØªâ¬â)","kw","965"],["Kyrgyzstan (ÐÑÑгÑзÑÑан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (â«ÙØ¨ÙØ§Ùâ¬â)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (â«ÙÙØ¨Ùاâ¬â)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (æ¾³é)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (â«Ù
ÙØ±ÙتاÙÙØ§â¬â)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Ðонгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (â«Ø§ÙÙ
غربâ¬â)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (áá¼ááºáá¬)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नà¥à¤ªà¤¾à¤²)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (ì¡°ì 민주주ì ì¸ë¯¼ ê³µíêµ)","kp","850"],["North Macedonia (СевеÑна ÐакедониÑа)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (â«Ø¹ÙÙ
اÙâ¬â)","om","968"],["Pakistan (â«Ù¾Ø§Ú©Ø³ØªØ§Ùâ¬â)","pk","92"],["Palau","pw","680"],["Palestine (â«ÙÙØ³Ø·ÙÙâ¬â)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (â«Ùطرâ¬â)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (РоÑÑиÑ)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and PrÃncipe (São Tomé e PrÃncipe)","st","239"],["Saudi Arabia (â«Ø§ÙÙ
Ù
ÙÙØ© Ø§ÙØ¹Ø±Ø¨ÙØ© Ø§ÙØ³Ø¹ÙØ¯ÙØ©â¬â)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (СÑбиÑа)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (ëí민êµ)","kr","82"],["South Sudan (â«Ø¬ÙÙØ¨ Ø§ÙØ³ÙداÙâ¬â)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (à·à·âර෠ලà¶à¶à·à·)","lk","94"],["Sudan (â«Ø§ÙØ³ÙØ¯Ø§Ùâ¬â)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (â«Ø³ÙØ±ÙØ§â¬â)","sy","963"],["Taiwan (å°ç£)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (à¹à¸à¸¢)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (â«ØªÙÙØ³â¬â)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (УкÑаÑна)","ua","380"],["United Arab Emirates (â«Ø§ÙØ¥Ù
ارات Ø§ÙØ¹Ø±Ø¨ÙØ© اÙÙ
ØªØØ¯Ø©â¬â)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (OÊ»zbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Viá»t Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (â«Ø§ÙØµØØ±Ø§Ø¡ Ø§ÙØºØ±Ø¨ÙØ©â¬â)","eh","212",1,["5288","5289"]],["Yemen (â«Ø§ÙÙÙ
Ùâ¬â)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Ã
land Islands","ax","358",1,["18"]]],
vendor: 3,203 bytes, line 7
7Xl=Yl.map(([e,t,n,d=0,r=null])=>({name:e,iso2:t.toUpperCase(),dialCode:n,priority:d,areaCodes:r}));function ql(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||t[0]!=="1")throw new Error("unable to fetch the country");return t.substr(2,2)})}function Zl(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if("createTextRange"in e&&typeof e.createTextRange=="function"){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const Jl=[{name:"allCountries",type:Array,default:Xl,description:"All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",inDemo:!1},{name:"autoFormat",type:Boolean,default:!0,description:"Auto update the input to the formatted phone number when it's valid",inDemo:!0},{name:"customValidate",type:[Boolean,RegExp],default:!1,description:"Custom validation RegExp for input",inDemo:!1},{name:"defaultCountry",default:"",type:[String,Number],description:"Default country (by iso2 or dialCode), will override the country fetched from IP address of user",inDemo:!1},{name:"disabled",default:!1,type:Boolean,description:"Disable <code>vue-tel-input</code>, including the input & flag dropdown",inDemo:!1},{name:"autoDefaultCountry",default:!0,type:Boolean,description:"To fetch default country based on IP address of user",inDemo:!1},{name:"dropdownOptions",type:Object,description:"Options for dropdown, see below",inDemo:!1},{name:"dropdownOptions.disabled",default:!1,type:Boolean,description:"Disable dropdown",inDemo:!1},{name:"dropdownOptions.showDialCodeInList",default:!0,type:Boolean,description:"Show dial code in the dropdown list",inDemo:!0},{name:"dropdownOptions.showDialCodeInSelection",default:!1,type:Boolean,description:"Show dial code in the dropdown selection",inDemo:!0},{name:"dropdownOptions.showFlags",default:!0,type:Boolean,description:"Show flags in the dropdown selection and list",inDemo:!0},{name:"dropdownOptions.showSearchBox",default:!1,type:Boolean,description:"Show country search box",inDemo:!0},{name:"dropdownOptions.searchBoxPlaceholder",default:"",type:String,description:"Placeholder for the search box",inDemo:!1},{name:"dropdownOptions.tabindex",default:0,type:Number,description:"Native dropdown <code>tabindex</code> attribute",inDemo:!1},{name:"ignoredCountries",default:[],type:Array,description:"List of countries will NOT be shown on the dropdown",inDemo:!1},{name:"inputOptions",type:Object,description:"Options for input, see below",inDemo:!1},{name:"inputOptions.autocomplete",type:String,default:"on",description:"Native input <code>autocomplete</code> attribute",inDemo:!1},{name:"inputOptions.autofocus",type:Boolean,default:!1,description:"Native input <code>autofocus</code> attribute",inDemo:!1},{name:"inputOptions.aria-describedby",default:"",type:String,description:"Native input <code>aria-describedby</code> attribute",inDemo:!1},{name:"inputOptions.id",default:"",type:String,description:"Native input <code>id</code> attribute",inDemo:!1},{name:"inputOptions.maxlength",default:25,type:Number,description:"Native input <code>maxlength</code> attribute",inDemo:!1}
7,{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",inDemo:!1},{name:"inputOptions.showDialCode",default:!1,type:Boolean,description:"Show dial code in input",inDemo:!1},{name:"inputOptions.placeholder",default:"Enter a phone number",type:String,description:"Placeholder for the input",inDemo:!1},{name:"inputOptions.readonly",default:!1,type:Boolean,description:"Native input <code>readonly</code> attribute",inDemo:!1},{name:"inputOptions.required",default:!1,type:Boolean,description:"Native input <code>required</code> attribute",inDemo:!1},{name:"inputOptions.tabindex",default:0,type:Number,description:"Native input <code>tabindex</code> attribute",inDemo:!1},{name:"inputOptions.type",default:"tel",type:String,description:"Native input <code>type</code> attribute",inDemo:!1},{name:"inputOptions.styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the <code>input</code>",inDemo:!1},{name:"invalidMsg",default:"",type:String,description:"",inDemo:!1},{name:"mode",default:"auto",type:String,description:"Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",inDemo:!0,options:["auto","national","international"]},{name:"onlyCountries",default:[],type:Array,description:"List of countries will be shown on the dropdown",inDemo:!1},{name:"preferredCountries",default:[],type:Array,description:"Preferred countries list, will be on top of the dropdown",inDemo:!1},{name:"styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the wrapper",inDemo:!1},{name:"validCharactersOnly",default:!1,type:Boolean,description:"Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",inDemo:!1}],Ql=[...Jl].reduce((e,t)=>{if(t.name.includes(".")){const[n,d]=t.name.split(".");e[n]?Object.assign(e[n],{[d]:t.default}):Object.assign(e,{[n]:{[d]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),Dd={options:{...Ql}};function re(e){const t=Dd.options[e];return typeof t>"u"?Dd.options[e]:t}function _t(e){return e?.toLowerCase()}function Ct(e){return e?.toUpperCase()}const es={beforeMount(e,t,n){if(typeof t.value!="function"){const d=n.context.name;let r=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;d&&(r+=`Found in component ${d}`),console.warn(r)}e.clickOutsideEvent=function(d){const r=d.composedPath?d.composedPath():d.path;e===d.target||e.contains(d.target)||r.includes(e)||t.value(d,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}},ts=["aria-expanded","tabindex"],ns={class:"vti__selection"},ds={key:1,class:"vti__country-code"},rs={class:"vti__dropdown-arrow"},as={key:0,class:"vti__search_box_container"},is=["placeholder"],os=["onClick","onMousemove","aria-selected"],ls={key:1},ss=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex","value","aria-describedby"],us=ye({name:"VueTelInput",directives:{clickOutside:es},__name:"vue-tel-input",props:Yn({allCountries:{type:Array,default:()=>re("allCountries")},autoFormat:{type:Boolean,default:()=>re("autoFormat")},customValidate:{type:[Boolean,RegExp],default:()=>re("customValidate")},defaultCountry:{type:[String,Number],default:()=>re("defaultCountry")},disabled:{type:Boolean,default:()=>re("disabled")},autoDefaultCountry:{type:Boolean,default:()=>re("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>re("dropdownOptions")},ignoredCountries:{type:Array,default:()=>re("ignoredCountries")},inputOptions:{type:Object,default:()=>re("inputOptions")},invalidMsg:{type:String,default:()=>re("invalidMsg")},mode:{type:String,default:()=>re("mode")},onlyCountries:{type:Array,default:()=>re("onlyCountries")},preferredCountries:{type:Array,default:()=>re("preferredCountries")}
7,validCharactersOnly:{type:Boolean,default:()=>re("validCharactersOnly")},styleClasses:{type:[String,Array,Object],default:()=>re("styleClasses")}},{modelValue:{type:String},modelModifiers:{}}),emits:Yn(["blur","close","country-changed","enter","focus","on-input","open","space","validate"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const d=tn(),r=tn(),s=tn(),u=n,c=e,m=br(e,"modelValue");Be(m,(y,b)=>{B()?i.phone=y??"":fn(()=>{i.phone=b??"",Ye()})});const i=yr({phone:"",activeCountryCode:void 0,open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:void 0,dropdownOpenDirection:"below",parsedPlaceholder:c.inputOptions.placeholder,searchQuery:""});Be(()=>i.open,y=>{y?(K(),u("open")):u("close")});const p=I(()=>c.onlyCountries.length?c.allCountries.filter(({iso2:y})=>c.onlyCountries.some(b=>Ct(b)===y)):c.ignoredCountries.length?c.allCountries.filter(({iso2:y})=>!c.ignoredCountries.includes(Ct(y))&&!c.ignoredCountries.includes(_t(y))):c.allCountries),g=I(()=>U(i.activeCountryCode));Be(g,(y,b)=>{if(!y&&b!=null&&b.iso2){i.activeCountryCode=b.iso2;return}y!=null&&y.iso2&&u("country-changed",y)});const v=I(()=>{var y;const b=_t(c.mode);return b==="auto"?(y=i.phone)!=null&&y.startsWith("+")?"international":"national":["national","international","e.164","rfc3966","idd"].includes(b)?b:(console.error('Invalid value of prop "mode"'),"international")}),P=I(()=>{const y=[...ve(c.preferredCountries).map(O=>({...O,preferred:!0})),...p.value];if(!c.dropdownOptions.showSearchBox)return y;const b=i.searchQuery.toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g,"");return y.filter(O=>new RegExp(b,"i").test(O.name)||new RegExp(b,"i").test(O.iso2)||new RegExp(b,"i").test(O.dialCode))}),M=I(()=>{var y;const b=i.phone.startsWith("+")?cn(i.phone):cn(i.phone,i.activeCountryCode),O={country:b?.country,countryCode:b?.country,formatted:i.phone,valid:b?.isValid(),possible:(y=b?.isPossible)==null?void 0:y.call(b),nationalNumber:b?.nationalNumber};return O.valid&&(O.formatted=b?.format(Ct(v.value))),b!=null&&b.country&&(c.ignoredCountries.length||c.onlyCountries.length)&&!U(b.country)&&(O.valid=!1,O.possible=!1,b.country=null),b?{...O,...b}:O});Be(()=>M.value.countryCode,y=>{y&&(i.activeCountryCode=y)}),Be(()=>M.value.valid,()=>{u("validate",M.value)}),Be(()=>M.value.formatted,y=>{!c.autoFormat||c.customValidate||(Le(y),fn(()=>{y&&!m.value&&(i.phone=y)}))}),Be(()=>c.inputOptions.placeholder,j),hr(()=>{m.value&&(i.phone=m.value.trim()),G(),Z().then(()=>{var y;!i.phone&&(y=c.inputOptions)!=null&&y.showDialCode&&i.activeCountryCode&&(i.phone=`+${i.activeCountryCode}`),u("validate",M.value)}).catch(console.error).then(()=>{i.finishMounted=!0})});function j(){i.parsedPlaceholder=c.inputOptions.placeholder}function Z(){return new Promise(y=>{var b;if(((b=i.phone)==null?void 0:b[0])==="+"){y();return}if(c.defaultCountry){if(typeof c.defaultCountry=="string"){x(c.defaultCountry),y();return}if(typeof c.defaultCountry=="number"){const D=w(c.defaultCountry);if(D){x(D.iso2),y();return}}}const O=c.preferredCountries[0]||p.value[0];c.autoDefaultCountry?ql().then(D=>{x(D||i.activeCountryCode)}).catch(D=>{console.warn(D),x(O)}).then(()=>{y()}):(x(O),y())})}function ve(y=[]){return y.map(U).filter(Boolean)}function U(y=""){return p.value.find(b=>b.iso2===Ct(y))}function w(y){return p.value.find(b=>Number(b.dialCode)===y)}function E(y,b){const O=i.selectedIndex===y,D=y===c.preferredCountries.length-1,z=c.preferredCountries.some(Se=>Ct(Se)===b);return{highlighted:O,"last-preferred":D,preferred:z}}function x(y){var b,O,D;let z=y;if(typeof z=="string"&&(z=U(z)),!!z){if(((b=i.phone)==null?void 0:b[0])==="+"&&z.iso2&&M.value.nationalNumber){i.activeCountryCode=z.iso2,i.phone=((O=cn(M.value.nationalNumber,z.iso2))==null?void 0:O.formatInternational())??"";return}if((D=c.inputOptions)!=null&&D.showDialCode&&z){i.phone=`+${z.dialCode}`,i.activeCountryCode=z.iso2;return}i.activeCountryCode=z.iso2,Le(i.phone)}}function G(){const y=i.phone;if(c.validCharactersOnly){const b=i.phone.match(/[()\-+0-9\s]*/g);i.phone=b.join("")}if(c.customValidate&&c.customValidate instanceof RegExp){const b=i.phone.match(c.customValidate);i.phone=b.join("")}y!==i.phone&&Le(i.phone)}function B(){return c.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(i.phone)?!1:c.customValidate?ne():!0}function ne(){return c.customValidate instanceof RegExp?c.customValidate.test(i.phone):!1}function Ye(){var y;(y=s.value)==null||y.setCustomValidity(M.value.valid?"":c.invalidMsg),Le(i.phone)}function Le(y){m.value=y,u("on-input",y,M.value,s.value)}function X(y){u("blur",y)}function He(y){Zl(s.value,i.phone.length),u("focus",y)}function Ve(y){u("enter",y)}function $e(y){u("space",y)}function Fe(){var y;(y=s.value)==null||y.focus()}function we(){var y;(y=s.value)==null||y.blur()}function ze(){c.disabled||c.dropdownOptions.disabled||(i.searchQuery="",i.open=!i.open)}function Xe(){i.open=!1}function qe(y){if(y.keyCode===40){y.preventDefault(),i.open=!0,i.selectedIndex===null?i.selectedIndex=0:i.selectedIndex=Math.min(P.value.length-1,i.selectedIndex+1);const b=r.value.children[i.selectedIndex];b.focus(),b.offsetTop+b.clientHeight>r.value.scrollTop+r.value.clientHeight&&(r.value.scrollTop=b.offsetTop-r.value.clientHeight+b.clientHeight)}else if(y.keyCode===38){y.preventDefault(),i.open=!0,i.selectedIndex===null?i.selectedIndex=P.value.length-1:i.selectedIndex=Math.max(0,i.selectedIndex-1);const b=r.value.children[i.selectedIndex];b.focus(),b.offsetTop<r.value.scrollTop&&(r.value.scrollTop=b.offsetTop)}else if(y.keyCode===13)i.selectedIndex!==null&&x(P.value[i.selectedIndex]),i.open=!i.open;else if(i.open){i.typeToFindInput+=y.key,clearTimeout(i.typeToFindTimer),i.typeToFindTimer=setTimeout(()=>{i.typeToFindInput=""},700);const b=P.value.slice(c.preferredCountries.length).findIndex(O=>_t(O.name).startsWith(i.typeToFindInput));if(b>=0){i.selectedIndex=c.preferredCountries.length+b;const O=r.value.children[i.selectedIndex],D=O.offsetTop<r.value.scrollTop,z=O.offsetTop+O.clientHeight>r.value.scrollTop+r.value.clientHeight;(D||z)&&(r.value.scrollTop=O.offsetTop-r.value.clientHeight/2)}}}function Te(){i.selectedIndex=P.value.map(y=>y.iso2).indexOf(i.activeCountryCode),i.open=!1}function K(){window.innerHeight-d.value.getBoundingClientRect().bottom>200?i.dropdownOpenDirection="below":i.dropdownOpenDirection="above"}return t({focus:Fe,blur:we}),(y,b)=>{const O=Vt("click-outside");return f(),C("div",{ref_key:"refRoot",ref:d,class:ue(["vue-tel-input",e.styleClasses,{disabled:e.disabled}])},[Ge((f(),C("div",{"aria-label":"Country Code Selector","aria-haspopup":"listbox","aria-expanded":i.open,role:"button",class:ue(["vti__dropdown",{open:i.open,disabled:e.dropdownOptions.disabled}]),tabindex:e.dropdownOptions.tabindex,onKeydown:[qe,mt(ze,["space"]),mt(Te,["esc"]),mt(Te,["tab"])],onClick:ze},[a("span",ns,[e.dropdownOptions.showFlags?(f(),C("span",{key:0,class:ue(["vti__flag",$(_t)(i.activeCountryCode)])},null,2)):L("",!0),e.dropdownOptions.showDialCodeInSelection?(f(),
7C("span",ds," +"+V(g.value&&g.value.dialCode),1)):L("",!0),nn(y.$slots,"arrow-icon",{open:i.open},()=>[a("span",rs,V(i.open?"â²":"â¼"),1)])]),i.open?(f(),C("ul",{key:0,ref_key:"refList",ref:r,class:ue(["vti__dropdown-list",i.dropdownOpenDirection]),role:"listbox"},[e.dropdownOptions.showSearchBox?(f(),C("div",as,[nn(y.$slots,"search-icon"),Ge(a("input",{class:ue(["vti__input","vti__search_box"]),"aria-label":"Search by country name or country code",placeholder:e.dropdownOptions.searchBoxPlaceholder||(P.value.length?P.value[0].name:""),type:"text","onUpdate:modelValue":b[0]||(b[0]=D=>i.searchQuery=D),onClick:b[1]||(b[1]=kd(()=>{},["stop"]))},null,8,is),[[_r,i.searchQuery]])])):L("",!0),(f(!0),C(pe,null,Me(P.value,(D,z)=>(f(),C("li",{role:"option",class:ue(["vti__dropdown-item",E(z,D.iso2)]),key:D.iso2+(D.preferred?"-preferred":""),tabindex:"-1",onClick:Se=>x(D),onMousemove:Se=>i.selectedIndex=z,"aria-selected":i.activeCountryCode===D.iso2&&!D.preferred},[e.dropdownOptions.showFlags?(f(),C("span",{key:0,class:ue(["vti__flag",$(_t)(D.iso2)])},null,2)):L("",!0),a("strong",null,V(D.name),1),e.dropdownOptions.showDialCodeInList?(f(),C("span",ls," +"+V(D.dialCode),1)):L("",!0)],42,os))),128))],2)):L("",!0)],42,ts)),[[O,Xe]]),Ge(a("input",{"onUpdate:modelValue":b[2]||(b[2]=D=>i.phone=D),ref_key:"refInput",ref:s,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:ue(["vti__input","vti__phone",e.inputOptions.styleClasses]),disabled:e.disabled,id:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputOptions.name,placeholder:i.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,value:m.value,"aria-describedby":e.inputOptions["aria-describedby"],onBlur:X,onFocus:He,onInput:Ye,onKeyup:[mt(Ve,["enter"]),mt($e,["space"])]},null,42,ss),[[Cr,i.phone]]),nn(y.$slots,"icon-right")],2)}}}),cs={class:"px-4"},$s={class:"font-bold text-xl text-gray-800"},fs={class:"mt-4"},ps={class:"font-medium text-sm text-brand-brown mb-2"},ms={class:"mt-4"},vs={class:"w-full max-w-sm"},gs=ye({__name:"SmsInputDialog",props:{title:{},description:{},submitText:{},visible:{type:Boolean}},emits:["submit","update:visible"],setup(e,{emit:t}){const n=t,d=e,r=q(""),s=q(""),u=q(!0),c=["US","CA","AU","GB"],m=(g,v)=>{u.value=!v.valid,r.value=v.formatted},i=()=>{n("submit",r.value),n("update:visible",!1)},p=I({get:()=>d.visible,set:g=>{n("update:visible",g),s.value="",u.value=!0}});return(g,v)=>(f(),W(Lr,{modelValue:p.value,"onUpdate:modelValue":v[1]||(v[1]=P=>p.value=P),"confirm-disabled":u.value,"confirm-text":"Send Test SMS",size:"max-w-xl",onConfirm:i},{default:R(()=>[a("div",cs,[a("p",$s,V(g.title),1),a("div",fs,[a("p",ps,V(g.description),1)]),a("div",ms,[a("div",vs,[_($(Fr),{class:"sms-input-form brand-input","label-position":"top","label-width":"100px",onSubmit:kd(i,["prevent"])},{default:R(()=>[_($(Br),{label:"Phone Number",name:"Phone Number",class:"font-bold text-left mb-0"},{default:R(()=>[_($(us),{modelValue:s.value,"onUpdate:modelValue":v[0]||(v[0]=P=>s.value=P),"only-countries":c,"default-country":"US","input-options":{required:!0,showDialCode:!0},"style-classes":[u.value?"is-invalid":""],onOnInput:m},null,8,["modelValue","style-classes"])]),_:1})]),_:1})])])])]),_:1},8,["modelValue","confirm-disabled"]))}}),bs={class:"rounded-r-lg border-brand-sand border-2 divide-y-2 divide-brand-sand"},ys={key:0},hs={class:"space-y-6 px-6 py-6"},_s={class:"flex items-end justify-between"},Cs={key:0,class:"flex items-end justify-between"},xs={class:"flex items-end justify-between"},ws={class:"space-y-1"},Es={key:0,class:"text-brand-brown text-sm font-medium"},Ts={key:1,class:"text-brand-brown text-sm font-medium"},Ss={class:"mt-4"},As={class:"bg-brand-light-sand px-6 py-4 border-t border-b border-brand-sand flex justify-between"},Os={class:"flex items-center justify-between w-full"},Ns={key:0,class:"space-y-6 px-6 pt-6 pb-8"},Ps={key:0,class:"bg-white border-2 border-brand-yellow text-brand-brown px-4 py-3 rounded-lg text-sm font-medium",role:"alert"},Is={class:"mb-2"},Ds={class:"font-mono bg-brand-light-sand px-1 rounded"},Rs={class:"flex flex-col"},Ms={class:"flex items-center space-x-1.5 mb-2"},ks={class:"flex flex-col"},Ls={key:0},Fs={class:"bg-white border-2 border-brand-yellow text-brand-brown my-6 px-4 py-2 rounded-lg rounded relative",role:"alert"},Bs={class:"text-sm font-medium"},Us={class:"py-2"},Gs={key:0,class:"py-2"},js={class:"rounded-lg border-brand-medium-blue py-1 text-brand-blue",style:{"border-width":"2px"}},Hs={class:"flex items-center space-x-1.5 mb-2"},Vs={class:"rounded-lg border-brand-medium-blue py-1 text-brand-blue",style:{"border-width":"2px"}},zs={class:"flex items-end justify-between mb-1"},Ws={class:"flex items-center space-x-2"},Ks={key:0,class:"bg-white border-2 border-brand-yellow text-brand-brown mb-3 px-4 py-3 rounded-lg text-sm font-medium",role:"alert"},Ys={class:"rounded-lg border-brand-medium-blue",style:{"border-width":"2px"}},Xs={class:"text-right flex space-x-2 mt-2"},qs={class:"inline-flex"},Zs={class:"bg-brand-light-sand px-6 py-4 border-t border-b border-brand-sand flex justify-between"},Js={class:"flex items-center justify-between w-full"},Qs={key:0,class:"space-y-6 px-6 py-6"},e1={class:"rounded-lg border-brand-medium-blue",style:{"border-width":"2px"}},t1={class:"text-right flex space-x mt-2"},n1={key:0},d1={class:"space-y-6 px-6 py-6"},r1={class:"flex items-end justify-between"},a1={key:0,class:"flex flex-col"},i1={class:"space-y-6 px-6 py-6"},o1={class:"flex items-end justify-between"},l1={key:0,class:"flex justify-between"},s1={class:"space-y-1 w-1/2 pr-4"}
7,u1={key:0,class:"form-label self-start"},c1={key:1,class:"form-label self-start"},$1={class:"text-brand-brown text-sm font-semibold"},f1={class:"w-1/2"},p1={class:"py-1"},m1={key:0,class:"space-y-6 px-6 py-6"},v1={class:"flex items-end justify-between"},g1={key:0,class:"flex flex-col"},b1=ye({__name:"EmailEditor",emits:["update","updateSms"],setup(e,{emit:t}){const n=q(),d=q(!1),r=q(!1),s=q(!1),u=q(!1),c=q(!1),m=q(!1),i=q(!1),p=xr(),g=je(),v=I(()=>g.currentCampaignMessageGroup?.email),P=I(()=>g.currentCampaignMessageGroup?.sms),M=I(()=>wr(g.currentCampaignBlueprint,g.mergeFields)),j=I(()=>[...g.mergeFields,...M.value]),Z=I(()=>g.currentCampaignBlueprintSaveState===ce.SAVING||g.currentCampaignBlueprintSaveState===ce.UNSAVED||g.currentCampaignBlueprintSaveState===ce.ERROR_SAVING),ve=I(()=>!!(!v.value?.enabled||P.value?.enabled)),U=I(()=>!!(!P.value?.enabled||v.value?.enabled)),w=I(()=>v.value?.ctaMode==="HIDDEN"),E=[...Hr,"cta"],x=I(()=>{let T=v.value?.content||"";return w.value?T.replace(/<cta\b[^>]*>[\s\S]*?<\/cta>/gi,"").replace(Zn.CTA_MARKER_REGEX,""):(T.match(Zn.CTA_MARKER_REGEX)||(T=`${T} 8 9${Er}`),v.value?.ctaText&&(T=T.replace(/(<cta\b[^>]*\btext=")[^"]*(")/gi,(l,k,ge)=>`${k}${Tr(v.value?.ctaText??"")}${ge}`)),T)}),G=I(()=>w.value&&!/\{\{\s*RECOVERY_LINK\s*(\|[^}]*)?\s*\}\}/i.test(v.value?.content??""));function B(T){O("update",{ctaMode:T?"HIDDEN":"AUTO"})}const ne=q();function Ye(){const T=j.value.find(l=>l.id==="RECOVERY_LINK");T&&ne.value?.insertMergeField(T)}function Le(T){O("update",{customHtml:{enabled:T,html:v.value?.customHtml?.html??""}})}const X=q();function He(){X.value?.click()}function Ve(T){const l=T.target.files?.[0];if(!l)return;const k=new FileReader;k.onload=()=>{O("update",{customHtml:{enabled:!0,html:String(k.result??"")}})},k.readAsText(l),T.target.value=""}const $e=I(()=>v.value?.offers??[]),Fe=I(()=>$e.value.find(T=>T.offerType===fe.Offer.Type.DISCOUNT)),we=I(()=>$e.value.find(T=>T.offerType===fe.Offer.Type.INVOICE_DISCOUNT)),ze=I(()=>we.value?we.value.invoiceDiscountConfig.type===dt.PERCENT:!1),Xe=I(()=>we.value?ze.value?dt.PERCENT:dt.AMOUNT:dt.AMOUNT),qe=Ke(),Te=I(()=>{const T=qe.org?.dunning?.senderDomains;return T?.length?T.filter(k=>k.dkimVerified&&k.returnPathVerified).map(k=>k.url):[]}),K=I(()=>{if(!v.value)return"";const T=v.value.from;if(!T)return"";const l=T.split("@");return l.length<2?"":l[1]}),y=I(()=>K.value===""?!0:Te.value.includes(K.value));function b(T,l){v.value&&(l?(D(T),v.value.ctaText===""&&(v.value.ctaText="Update Payment & Accept Offers")):(z(T),$e.value.length===0&&(v.value.ctaText="")))}const O=t;function D(T){const l=Sr(T);O("update",{offers:[...$e.value,l]})}function z(T){const l=v.value?.offers?.filter(k=>k.offerType!==T)??[];O("update",{offers:l})}function Se(T){if(!Fe.value)return;const l=$e.value.map(k=>k.offerType===fe.Offer.Type.DISCOUNT?{...k,discountConfig:{...k.discountConfig,couponId:T??""}}:k);O("update",{offers:l})}function st(T,l){const{type:k}=T;return k===dt.AMOUNT?T.amount=Math.max(0,l):k===dt.PERCENT&&(T.amount=Math.max(0,Math.min(100,l))),T}function ut(T){const l=$e.value.map(k=>{if(k.offerType===fe.Offer.Type.INVOICE_DISCOUNT){const{amount:ge}=k.invoiceDiscountConfig;k.invoiceDiscountConfig.type=T,k.invoiceDiscountConfig=st(k.invoiceDiscountConfig,ge||0)}return k});O("update",{offers:[...l]})}function Nt(T){const l=$e.value.map(k=>(k.offerType===fe.Offer.Type.INVOICE_DISCOUNT&&(k.invoiceDiscountConfig=st(k.invoiceDiscountConfig,T)),k));O("update",{offers:[...l]})}function Pt(){d.value=!d.value}function Ae(){r.value=!r.value}async function Ze(T){i.value=!0,m.value=!1;try{const l=g.currentEmailBlueprint?.guid,k=g.currentCampaignBlueprintId;if(!T||!l||!k)return;await g.sendTestSms({campaignBlueprintId:k,smsBlueprintGuid:l,phoneNumber:T}),Ue.success("Test SMS Sent!",`A test SMS was sent to ${T}`)}catch(l){Ue.error("Error sending Test SMS",We.fromUnknown(l))}finally{i.value=!1}}async function Oe(){if(c.value=!0,!g.currentEmailBlueprint?._id||!g.currentCampaignBlueprintId)return;const T=g.currentEmailBlueprint?._id,l=g.currentCampaignBlueprintId,k=await g.generateEmailPreview({campaignBlueprintId:l,emailBlueprintId:T}),ge=k.layoutBody?.replace("{{{ @content }}}",()=>`<div>${k.content}</div>`);
9n.value=ge,d.value=!0,c.value=!1}async function ct(T){u.value=!0,s.value=!1;try{const l=g.currentEmailBlueprint?._id,k=g.currentCampaignBlueprintId;if(!T||!l||!k)return;await g.sendTestEmail({campaignBlueprintId:k,emailBlueprintId:l,emailTo:T}),Ue.success("Test Email Sent!",`A test email was sent to ${T}`)}catch(l){Ue.error("Error sending Test Email",We.fromUnknown(l))}finally{u.value=!1}}return(T,l)=>{const k=Ld("RouterLink"),ge=Vt("loading");return f(),C("div",bs,[$(g).currentCampaignMessageGroup?Ge((f(),C("div",ys,[a("div",null,[a("div",null,[l[28]||(l[28]=a("div",{class:"bg-brand-light-sand px-6 py-4"},[a("h3",{class:"header"},"Sending Details"),a("p",{class:"mt-1 subheader"}," Varying sender details per campaign improves deliverability. ")],-1)),a("div",hs,[a("div",_s,[l[25]||(l[25]=a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Send Delay (Days)"),a("p",{class:"text-brand-brown text-sm font-medium"}," Stagger failed payment reminders up to two months. ")],-1)),a("div",null,[_($(ed),{size:"small","model-value":v.value?.sendOnDay,step:1,min:0,max:60,class:"w-24","controls-position":"right",onChange:l[0]||(l[0]=A=>O("update",{sendOnDay:A,...A===0&&{autoRetry:!1}}))},null,8,["model-value"])])]),$(qe).org?.smartRetries?.enabled?L("",!0):(f(),C("div",Cs,[l[26]||(l[26]=a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Auto Retry Payment"),a("p",{class:"text-brand-brown text-sm font-medium"}," Retry the failed payment right before sending this campaign message. ")],-1)),a("div",null,[_($(_e),{disabled:!v.value?.sendOnDay,"model-value":v.value?.autoRetry,"active-text":"Yes","inactive-text":"No",onChange:l[1]||(l[1]=A=>O("update",{autoRetry:A}))},null,8,["disabled","model-value"])])])),a("div",xs,[a("div",ws,[l[27]||(l[27]=a("p",{class:"form-label"},"Time of Day",-1)),v.value?.sendOnDay?(f(),C("p",Es," We'll line this up with your customer's local time. ")):(f(),C("p",Ts," We'll send the first email immediately after a failed payment. "))]),a("div",null,[_($(Mr),{style:{width:"96px"},placeholder:v.value?.sendOnDay?"09:30":"","model-value":v.value?.timeToSend||"","picker-options":{start:"00:30",step:"00:30",end:"23:30"},disabled:v.value?.sendOnDay===0,class:"w-12 grow-0",size:"small","onUpdate:modelValue":l[2]||(l[2]=A=>O("update",{timeToSend:A}))},null,8,["placeholder","model-value","disabled"])])])])]),a("div",Ss,[a("div",As,[a("div",Os,[l[30]||(l[30]=a("div",{class:"mr-4"},[a("h3",{class:"header"},"Email"),a("p",{class:"mt-1 subheader"}," Customize subject line, content, variables, and calls to action. ")],-1)),ve.value?Ge((f(),W($(_e),{key:1,class:"ml-auto","model-value":v.value?.enabled,onChange:l[3]||(l[3]=A=>O("update",{enabled:A}))},null,8,["model-value"])),[[Xn,$(g).isSmsEnabled]]):Ge((f(),W($(rt),{key:0,effect:"dark",placement:"top","popper-class":"brand-tooltip"},{content:R(()=>[...l[29]||(l[29]=[a("div",null,"Enable Text Messages below before disabling Emails.",-1)])]),default:R(()=>[_($(_e),{class:"ml-auto","model-value":v.value?.enabled,disabled:!0},null,8,["model-value"])]),_:1}
9,512)),[[Xn,$(g).isSmsEnabled]])])]),v.value?.enabled?(f(),C("div",Ns,[M.value.length?(f(),C("div",Ps,[a("p",Is,[l[31]||(l[31]=H(" This template uses the ",-1)),(f(!0),C(pe,null,Me(M.value,(A,It)=>(f(),C(pe,{key:A.id},[a("code",Ds,V(A.id),1),It<M.value.length-1?(f(),C(pe,{key:0},[H(", ")],64)):L("",!0)],64))),128)),H(" "+V(M.value.length>1?"variables":"variable")+". For "+V(M.value.length>1?"them":"it")+" to populate in sent emails, set the same "+V(M.value.length>1?"keys":"key")+" either: ",1)]),l[32]||(l[32]=a("ul",{class:"list-disc list-inside space-y-1"},[a("li",null,"in the Stripe customer or subscription metadata, or"),a("li",null,[H(" in the "),a("code",{class:"font-mono"},"data"),H(" object when registering billing admins via the "),a("a",{href:"https://docs.churnkey.co/failed-payment-recovery/billing-contact-api/",target:"_blank",rel:"noopener noreferrer",class:"text-brand-blue font-bold"}," Billing Contact API "),H(". ")])],-1))])):L("",!0),a("div",Rs,[a("div",Ms,[l[34]||(l[34]=a("p",{class:"form-label self-start"},"Sender Name",-1)),_($(rt),{effect:"dark",placement:"right-end","popper-class":"brand-tooltip"},{content:R(()=>[...l[33]||(l[33]=[a("div",null,"The name displayed in your customers' inboxes.",-1)])]),default:R(()=>[_($(me),{icon:["fas","info-circle"],class:"text-brand-gray-blue text-sm"})]),_:1})]),_($(it),{type:"text",placeholder:"Jane Doe","model-value":v.value?.senderName,maxlength:"45","onUpdate:modelValue":l[4]||(l[4]=A=>O("update",{senderName:A}))},null,8,["model-value"])]),a("div",ks,[l[39]||(l[39]=a("p",{class:"form-label mb-2 self-start"},"Sender Email Address",-1)),_($(it),{type:"text",placeholder:"[email protected]","model-value":v.value?.from,maxlength:"45","onUpdate:modelValue":l[5]||(l[5]=A=>O("update",{from:A}))},null,8,["model-value"]),y.value?L("",!0):(f(),C("div",Ls,[a("div",Fs,[a("div",Bs,[a("p",Us,[l[36]||(l[36]=H(" This email domain is not verified. To maximize campaign efficacy, please add ",-1)),a("b",null,V(K.value),1),l[37]||(l[37]=H(" as a Sender Domain in your ",-1)),_(k,{to:"/dunning/advanced-settings"},{default:R(()=>[...l[35]||(l[35]=[a("span",{class:"text-brand-blue font-extrabold"},"DNS Configuration",-1)])]),_:1})]),Te.value.length?(f(),C("div",Gs,[l[38]||(l[38]=a("p",null," Or enter an address that uses one of the domains you have already verified: ",-1)),a("ul",null,[(f(!0),C(pe,null,Me(Te.value,A=>(f(),C("li",{key:A},[a("b",null,"@"+V(A),1)]))),128))])])):L("",!0)])])]))]),a("div",null,[l[40]||(l[40]=a("p",{class:"form-label mb-2"},"Reply-to Email Address",-1)),_($(it),{type:"text",placeholder:"[email protected]","model-value":v.value?.replyTo,maxlength:"45","onUpdate:modelValue":l[6]||(l[6]=A=>O("update",{replyTo:A}))},null,8,["model-value"])]),a("div",null,[l[41]||(l[41]=a("p",{class:"form-label mb-2"},"Subject Line",-1)),a("div",js,[(f(),W(Jn,{key:v.value?.guid,"merge-fields":j.value,"model-value":v.value?.subject,maxlength:80,"onUpdate:modelValue":l[7]||(l[7]=A=>O("update",{subject:A}))},null,8,["merge-fields","model-value"]))])]),a("div",null,[a("div",Hs,[l[43]||(l[43]=a("p",{class:"form-label self-start"},"Preview Text",-1)),_($(rt),{effect:"dark",placement:"right-end","popper-class":"brand-tooltip"},{content:R(()=>[...l[42]||(l[42]=[a("div",null," Preview text, usually non-bolded and sometimes gray, will appear in your customers' inbox right after the subject line. The recommended length is between 50 and 90 characters. ",-1)])]),default:R(()=>[_($(me),{icon:["fas","info-circle"],class:"text-brand-gray-blue text-sm"})]),_:1})]),a("div",Vs,[(f(),W(Jn,{key:v.value?.guid,"merge-fields":j.value,"model-value":v.value?.previewText,maxlength:140,"onUpdate:modelValue":l[8]||(l[8]=A=>O("update",{previewText:A}))},null,8,["merge-fields","model-value"]))])]),a("div",null,[a("div",zs,[l[45]||(l[45]=a("p",{class:"form-label"},"Content",-1)),a("div",Ws,[l[44]||(l[44]=a("p",{class:"text-sm font-semibold text-brand-blue"},"Custom HTML",-1)),_($(_e),{"model-value":!!v.value?.customHtml?.enabled,onChange:l[9]||(l[9]=A=>Le(A))},null,8,["model-value"])])]),l[53]||(l[53]=a("p",{class:"text-brand-brown text-sm font-medium mb-2"}," Replace this email with your own HTML â merge fields still work, and it's sanitized on save. ",-1)),v.value?.customHtml?.enabled?(f(),
9C(pe,{key:1},[l[48]||(l[48]=a("div",{class:"bg-white border-2 border-brand-yellow text-brand-brown mb-3 px-4 py-3 rounded-lg text-sm font-medium",role:"alert"}," This email uses a custom HTML template, so the sequence's colors and fonts don't apply to it. ",-1)),_($(it),{type:"textarea",rows:14,class:"font-mono",placeholder:"<html>...</html>","model-value":v.value?.customHtml?.html,"onUpdate:modelValue":l[11]||(l[11]=A=>O("update",{customHtml:{enabled:!0,html:A}}))},null,8,["model-value"]),a("input",{ref_key:"customHtmlFileInputRef",ref:X,type:"file",accept:".html,text/html",class:"hidden",onChange:Ve},null,544)],64)):(f(),C(pe,{key:0},[G.value?(f(),C("div",Ks,[l[47]||(l[47]=a("p",null," You've hidden the call-to-action button but haven't added a recovery link. Customers won't have a way to update their payment. ",-1)),_($(ae),{size:"small",plain:"",class:"mt-2",onClick:Ye},{default:R(()=>[...l[46]||(l[46]=[H(" Insert recovery link ",-1)])]),_:1})])):L("",!0),a("div",Ys,[(f(),W(Qn,{ref_key:"contentEditorRef",ref:ne,key:v.value?.guid,features:E,"enable-input-rules":!1,"merge-fields":j.value,"model-value":x.value,maxlength:2e3,"onUpdate:modelValue":l[10]||(l[10]=A=>O("update",{content:A}))},null,8,["merge-fields","model-value"]))])],64)),a("div",Xs,[v.value?.customHtml?.enabled?(f(),W($(ae),{key:0,size:"small",plain:"",onClick:He},{default:R(()=>[...l[49]||(l[49]=[H(" Upload HTML file ",-1)])]),_:1})):L("",!0),_($(rt),{effect:"dark",placement:"top","popper-class":"brand-tooltip",disabled:!Z.value},{content:R(()=>[...l[50]||(l[50]=[a("div",null,"Saving changes â preview will be available once saved.",-1)])]),default:R(()=>[a("span",qs,[_($(ae),{size:"small",plain:"",loading:c.value,disabled:Z.value,onClick:Oe},{default:R(()=>[_($(me),{icon:["fas","eye"]}),l[51]||(l[51]=H(" Preview ",-1))]),_:1},8,["loading","disabled"])])]),_:1},8,["disabled"]),_($(ae),{size:"small",plain:"",loading:u.value,onClick:l[12]||(l[12]=A=>s.value=!0)},{default:R(()=>[u.value?L("",!0):(f(),W($(me),{key:0,icon:["fas","paper-plane"]})),l[52]||(l[52]=H(" Send Test Email ",-1))]),_:1},8,["loading"])])])])):L("",!0)]),a("div",{class:ue({"opacity-50":!$(g).isSmsEnabled})},[a("div",Zs,[a("div",Js,[l[56]||(l[56]=a("div",{class:"mr-4"},[a("h3",{class:"header"},"Text Message"),a("p",{class:"mt-1 subheader"}," If you have a customer's phone number, you can text them recovery campaigns. ")],-1)),$(g).isSmsEnabled?U.value?(f(),W($(_e),{key:2,class:"ml-auto","model-value":P.value?.enabled,onChange:l[13]||(l[13]=A=>O("updateSms",{enabled:A}))},null,8,["model-value"])):(f(),W($(rt),{key:1,effect:"dark",placement:"top","popper-class":"brand-tooltip"},{content:R(()=>[...l[55]||(l[55]=[a("div",null,"Enable Emails before disabling Text Messages.",-1)])]),default:R(()=>[_($(_e),{class:"ml-auto","model-value":P.value?.enabled,disabled:!0},null,8,["model-value"])]),_:1})):(f(),W($(rt),{key:0,effect:"dark",placement:"top","popper-class":"brand-tooltip"},{content:R(()=>[...l[54]||(l[54]=[a("div",null," Available as an add-on. Contact your Account Manager or Support for pricing. ",-1)])]),default:R(()=>[_($(_e),{class:"ml-auto","model-value":!1,disabled:!0})]),_:1}
9))])]),P.value?.enabled?(f(),C("div",Qs,[a("div",null,[l[59]||(l[59]=a("p",{class:"form-label mb-2"},"Content",-1)),a("div",e1,[(f(),W(Qn,{key:P.value?.guid,features:["magicLink"],"enable-input-rules":!1,"merge-fields":j.value,"model-value":P.value?.content,maxlength:160,"onUpdate:modelValue":l[14]||(l[14]=A=>O("updateSms",{content:A}))},null,8,["merge-fields","model-value"]))]),a("div",t1,[_($(ae),{size:"small",class:"text-brand-blue h-8",onClick:Ae},{default:R(()=>[_($(me),{icon:["fas","eye"]}),l[57]||(l[57]=H(" Preview ",-1))]),_:1}),_($(ae),{size:"small",loading:i.value,class:"h-8",onClick:l[15]||(l[15]=A=>m.value=!0)},{default:R(()=>[i.value?L("",!0):(f(),W($(me),{key:0,icon:["fas","comment-dots"]})),l[58]||(l[58]=H(" Send Test SMS ",-1))]),_:1},8,["loading"])])])])):L("",!0)],2),(f(),C("div",n1,[l[69]||(l[69]=a("div",{class:"px-6 py-4 flex justify-between items-center bg-brand-light-sand"},[a("div",null,[a("h3",{class:"header"},"Personalized Offers"),a("p",{class:"mt-1 subheader"}," Reduce cancellation risk and incentivize customers to update their payment methods. ")])],-1)),a("div",null,[a("div",d1,[a("div",r1,[l[60]||(l[60]=a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Discount Future Subscription"),a("p",{class:"text-brand-brown text-sm font-semibold"}," Discount will be applied automatically in checkout experience. ")],-1)),a("div",null,[_($(_e),{"model-value":!!Fe.value,"active-text":"Yes","inactive-text":"No",onChange:l[16]||(l[16]=A=>b($(fe).Offer.Type.DISCOUNT,A))},null,8,["model-value"])])]),Fe.value?(f(),C("div",a1,[l[61]||(l[61]=a("div",{class:"flex items-center space-x-1.5 mb-2"},[a("p",{class:"form-label self-start"},"Select Coupon to Apply for Offer")],-1)),_(Gr,{"model-value":Fe.value.discountConfig.couponId,coupons:$(p).coupons,"onUpdate:modelValue":Se},null,8,["model-value","coupons"])])):L("",!0)]),a("div",i1,[a("div",o1,[l[62]||(l[62]=a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Discount Existing Invoice"),a("p",{class:"text-brand-brown text-sm font-semibold"}," Enable partial payments with either firm or percentage discounts. Existing invoice discounts are one-time only. If amount is greater than the invoice, it will be free. ")],-1)),a("div",null,[_($(_e),{"model-value":!!we.value,"active-text":"Yes","inactive-text":"No",onChange:l[17]||(l[17]=A=>b($(fe).Offer.Type.INVOICE_DISCOUNT,A))},null,8,["model-value"])])]),we.value?(f(),C("div",l1,[a("div",s1,[ze.value?(f(),C("p",u1," One-Time Discount Percentage ")):(f(),C("p",c1,"One-Time Discount Amount ($)")),a("p",$1,[_($(ed),{"model-value":we.value.invoiceDiscountConfig.amount,maxlength:"50",onChange:l[18]||(l[18]=A=>Nt(A))},null,8,["model-value"])])]),a("div",f1,[l[65]||(l[65]=a("p",{class:"space-y-1 w-1/2 pr-4 form-label"},"Discount Type",-1)),a("p",p1,[_($(Md),{"model-value":Xe.value,placeholder:"Select",class:"w-full",onChange:l[19]||(l[19]=A=>ut(A))},{default:R(()=>[_($($n),null,{default:R(()=>[_($(Gt),{key:"AMOUNT",label:"Amount ($)",value:"AMOUNT"},{default:R(()=>[...l[63]||(l[63]=[H(" Amount ($) ",-1)])]),_:1}),_($(Gt),{key:"PERCENT",label:"Percentage",value:"PERCENT"},{default:R(()=>[...l[64]||(l[64]=[H(" Percentage ",-1)])]),_:1})]),_:1})]),_:1},8,["model-value"])])])])):L("",!0)]),v.value?.customHtml?.enabled?L("",!0):(f(),C("div",m1,[l[68]||(l[68]=a("div",{class:"flex items-end justify-between"},[a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Customize the Call to Action on the Payment Update Page"),a("p",{class:"text-brand-brown text-sm font-medium"}," Modify the Call to Action text to align with the offers you're presenting and encourage customers to complete the update process. ")])],-1)),a("div",v1,[l[66]||(l[66]=a("div",{class:"space-y-1"},[a("p",{class:"form-label"},"Show Call-to-Action Button"),a("p",{class:"text-brand-brown text-sm font-medium"}," Drag the CTA marker in the Content area above to reposition it. Turn off to remove the button entirely. ")],-1)),_($(_e),{"model-value":!w.value,"active-text":"Yes","inactive-text":"No",onChange:l[20]||(l[20]=A=>B(!A))},null,8,["model-value"])]),w.value?L("",!0):(f(),C("div",g1,[l[67]||(l[67]=a("div",{class:"flex items-center space-x-1.5 mb-2"}
9,[a("p",{class:"form-label self-start"},"Call to Action Text")],-1)),_($(it),{type:"text",placeholder:"Update Payment & Accept Offers","model-value":v.value?.ctaText,maxlength:"200","show-word-limit":"","onUpdate:modelValue":l[21]||(l[21]=A=>O("update",{ctaText:A}))},null,8,["model-value"])]))]))])])),_(ei,{"preview-email":d.value,"onUpdate:previewEmail":l[22]||(l[22]=A=>d.value=A),email:v.value,"content-html":n.value,onView:Pt},null,8,["preview-email","email","content-html"]),_(kr,{visible:s.value,"onUpdate:visible":l[23]||(l[23]=A=>s.value=A),title:"Test Your Payment Recovery Campaign",description:"Enter your email address below to receive a simulated payment recovery email.","submit-text":"Receive Test Email Now",onSubmit:ct},null,8,["visible"]),_(Ni,{sms:P.value,"preview-sms":r.value,onView:Ae},null,8,["sms","preview-sms"]),_(gs,{visible:m.value,"onUpdate:visible":l[24]||(l[24]=A=>m.value=A),title:"Test Your Payment Recovery Campaign",description:"Enter your phone number below to receive a simulated Payment Recovery text message.","submit-text":"Receive Test SMS Now",onSubmit:Ze},null,8,["visible"])])])),[[ge,$(g).currentCampaignMessageGroup?.loadState===$(Bt).LOADED]]):L("",!0)])}}}),y1={class:"bg-white brand-input"},h1={key:0},_1={key:0},C1={class:"max-w-(--breakpoint-xl) mx-auto sm:px-6 lg:px-8"},x1={class:"flex grow"},w1={key:2},E1={class:"max-w-(--breakpoint-xl) container"},T1=ye({__name:"CampaignEditor",setup(e){const t=Fd(),n=je();function d(){const m=t.params.id;if(typeof m!="string")throw new We("Campaign blueprint ID is required");return m}const r=d();Be(()=>n.campaignBlueprints[r]?.loadState,m=>{if(m!==Bt.LOADED)return;n.currentEmailBlueprintId=n.relevantMessageGroups[0]?.guid;const i=n.currentCampaignBlueprint;i&&Array.isArray(i.emails)&&Array.isArray(i.sms)&&i.sms.length===0&&(i.sms=i.emails.map(p=>Nr(p)))},{immediate:!0});function s(m,i,p){const g=p?n.currentCampaignMessageGroupMap[p]:n.currentCampaignMessageGroup;if(!g)throw new We("Message group not found");const v=i===fe.Message.Type.EMAIL?g.email:g.sms;if(!v)throw new We("Message data not found");const P=v.guid,j=Ar(m,{},["deleted","delete","sendOnDay","timeToSend","offers"]),Z=Object.keys(j).length>0;i===fe.Message.Type.EMAIL?(n.setCampaignEmail(r,P,{...v,...m,saveState:ce.UNSAVED}),Z&&n.storeSmsData(r,P,{...j,saveState:ce.UNSAVED})):(n.setCampaignSms(r,P,{...v,...m,saveState:ce.UNSAVED}),Z&&n.storeEmailData(r,P,{...j,saveState:ce.UNSAVED})),n.scheduleSaveCampaignBlueprint(r)}function u(){let m;if(n.relevantMessageGroups.length){const v=n.relevantMessageGroups[n.relevantMessageGroups.length-1];m=Or({baseMessage:v,sendOnDay:(v?.email?.sendOnDay||1)+1})}else{if(!n.baseMessage)throw new We("Dunning Base message undefined");m={...n.baseMessage,deleted:!1,enabled:!0}}n.isSmsEnabled||(m.email.enabled=!0,m.sms.enabled=!1,m.enableSms=!1,m.enableEmail=!0),m.saveState=ce.UNSAVED;const i=[...n.currentCampaignMessageGroups,m],p=i.filter(v=>v.email).map(v=>v.email),g=i.filter(v=>v.sms).map(v=>v.sms);n.storeCampaignBlueprintData(r,{emails:p,sms:g,saveState:ce.UNSAVED}),n.currentEmailBlueprintId=m.guid,n.scheduleSaveCampaignBlueprint(r)}async function c(m){if(s({delete:!0},fe.Message.Type.EMAIL,m),n.currentEmailBlueprintId===m){const i=n.relevantMessageGroups.filter(g=>!g.delete),p=i.length>0?i[0]?.guid:"";n.currentEmailBlueprintId=p}n.scheduleSaveCampaignBlueprint(m)}return(m,i)=>(f(),C("div",y1,[$(n).currentCampaignBlueprintLoadState===$(Bt).LOADED?(f(),C("div",h1,[$(n).currentCampaignBlueprint?(f(),C("main",_1,[a("div",C1,[a("div",x1,[_(Ba,{onAddMessage:u,onMarkForDelete:i[0]||(i[0]=p=>c(p))}),_(b1,{class:"grow",onUpdate:i[1]||(i[1]=p=>s(p,$(fe).Message.Type.EMAIL)),onUpdateSms:i[2]||(i[2]=p=>s(p,$(fe).Message.Type.SMS))})])])])):L("",!0)])):$(n).currentCampaignBlueprintLoadState===$(Bt).ERROR_LOADING?(f(),W(wa,{key:1,title:"Failed to load campaign",description:"Something went wrong while loading this campaign.",retry:()=>$(n).fetchCampaignBlueprint($(r))},null,8,["retry"])):(f(),C("div",w1,[i[3]||(i[3]=a("div",{class:"bg-brand-sand w-full h-20"},null,-1)),a("div",E1,[_(Ur)])]))]))}}),S1={class:"bg-white brand-input min-h-screen"},A1={class:"sticky top-0 z-40 lg:flex lg:items-center lg:justify-between bg-brand-sand py-2 lg:pt-3 lg:pb-2 border-b border-brand-dark-sand"},O1={key:0,class:"flex space-x-2 text-sm font-semibold pl-4 lg:w-96 justify-center lg:justify-start"},N1={class:"text-brand-brown whitespace-nowrap"},P1={key:0,class:"text-brand-brown whitespace-nowrap"},I1={class:"text-brand-black text-ellipsis overflow-hidden whitespace-nowrap"},D1={key:1},R1={class:"mx-auto flex grow max-w-(--breakpoint-sm) text-center text-brand-brown font-semibold text-sm space-x-4 lg:space-x-8 justify-center mt-4 lg:mt-0"},M1={class:"flex flex-col items-center grow-0 mt-2 mx-auto lg:mx-3 lg:mt-0 lg:shrink-0 lg:space-x-3 lg:flex-row lg:w-96 lg:mr-4 lg:justify-end"},k1={class:"my-2 lg:inline-block lg:my-0 space-x-3"},L1={key:0,class:"bg-brand-medium-blue text-brand-blue inline-flex items-center px-4 py-2 text-sm leading-6 font-medium rounded-md transition ease-in-out duration-150 space-x-2"},F1={class:"font-bold"},B1={key:0},U1={class:"max-w-7xl mx-auto py-6 sm:px-6 lg:px-8"},G1={class:"max-w-(--breakpoint-xl) mt-8 rounded-lg"},j1={class:"has-border-radius-16"},H1={class:"dialog-footer mt-8 border-t-2 border-brand-sand bg-brand-light-sand"},V1={class:"max-w-md mx-auto py-5 flex justify-center space-x-4 items-center"},z1={href:"/upgrade"},W1=ye({__name:"[id]",setup(e){const t=[{name:"Payment Recovery Campaign",value:"editor"},{name:"Design",value:"design"}],n=[{name:"Audience",value:"audience"},{name:"Payment Recovery Campaign",value:"editor"},{name:"Design",value:"design"}],d=Ke(),r=je(),s=Fd();if(s.params.id&&typeof s.params.id=="string")r.currentCampaignBlueprintId=s.params.id;else throw new We("Campaign not found, invalid ID",{statusCode:404});const u=q(!1),c=q(Number(s.query.step)||0),m=q(!1),i=I(()=>r.currentCampaignBlueprint?.audience),p=I(()=>i.value?n:t),g=I(()=>r.currentCampaignBlueprint?.abTests?.find(w=>!w.completedAt)),v=I(()=>!!r.currentCampaignBlueprint?.publishedAt),P=I(()=>
9{if(!r.currentCampaignBlueprint)return!1;const{publishedAt:w,updatedAt:E}=r.currentCampaignBlueprint;return!w||new Date(E??new Date).getTime()-new Date(w??new Date).getTime()>0}),M=I(()=>v.value?"Push Changes":i.value?"Activate Segment":"Activate Campaign"),j=I(()=>r.currentCampaignBlueprintSaveState);function Z(w){c.value=w}function ve(){Z(c.value+1)}async function U(){if(!r.currentCampaignBlueprint)return;const w=x=>Object.keys(x).length>0;if(!r.currentCampaignBlueprint?.audience||r.currentCampaignBlueprint.audience.filters.every(w))u.value=!0;else{Ue.error("Error","You have left a filtering condition blank",{duration:5e3}),u.value=!1;return}v.value||(r.storeCampaignBlueprintData(r.currentCampaignBlueprint?._id,{enabled:!0}),r.scheduleSaveCampaignBlueprint(r.currentCampaignBlueprint?._id,0));const E=await r.publishCampaignBlueprint(r.currentCampaignBlueprint?._id);if(E?.resultsByType){const x=Pr(E.resultsByType).reduce((B,ne)=>(B.nInserted+=E.resultsByType[ne].nInserted,B.nUpserted+=E.resultsByType[ne].nUpserted,B.nMatched+=E.resultsByType[ne].nMatched,B.nModified+=E.resultsByType[ne].nModified,B.nRemoved+=E.resultsByType[ne].nRemoved,B),{nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0}),G=[];x.nInserted>0&&G.push(`${x.nInserted} new emails scheduled`),x.nModified>0&&G.push(`${x.nModified} emails updated`),x.nRemoved>0&&G.push(`${x.nRemoved} scheduled emails removed`),G.length?Ue.success("Campaign Published",`<ul class="list-disc space-y-1">${G.map(B=>`<li>${B}</li>`).join("")}</ul>`,{dangerouslyUseHTMLString:!0,duration:5e3}):Ue.success("Campaign Published","Emails changes applied successfully",{duration:5e3})}u.value=!1}return(w,E)=>{const x=Ld("RouterLink"),G=Vt("loading");return Ge((f(),C("div",S1,[a("div",null,[a("div",null,[a("header",A1,[i.value?(f(),C("div",O1,[a("span",N1,[_(x,{to:"/dunning/campaigns"},{default:R(()=>[...E[2]||(E[2]=[H(" Payment Recovery Campaigns ",-1)])]),_:1})]),E[4]||(E[4]=a("span",{class:"text-brand-medium-brown"}," / ",-1)),g.value?(f(),C("span",P1,[_(x,{to:"/dunning/campaigns"},{default:R(()=>[H(V(g.value.name),1)]),_:1}),E[3]||(E[3]=a("span",{class:"text-brand-medium-brown"}," / ",-1))])):L("",!0),a("span",I1,V(i.value.name||"New Campaign"),1)])):(f(),C("div",D1,[_(x,{class:"text-center lg:text-left lg:grow-0 justify-left lg:w-96 flex-grow-1 flex items-center pl-4 cursor-pointer",to:"/dunning/campaigns"},{default:R(()=>[a("span",null,[_($(me),{icon:["fas","arrow-left"],class:"text-brand-brown"})]),E[5]||(E[5]=a("img",{src:ar,class:"w-auto inline-block h-14 p-2.5 rounded-full",alt:"Logo"},null,-1))]),_:1})])),a("div",R1,[(f(!0),C(pe,null,Me(p.value,(B,ne)=>(f(),C("div",{key:B.value},[_(jr,{value:B.value,label:B.name,active:ne===c.value,onSelect:()=>Z(ne)},null,8,["value","label","active","onSelect"])]))),128))]),a("div",M1,[j.value?(f(),W(Vr,{key:0,status:j.value},null,8,["status"])):L("",!0),a("div",k1,[!P.value&&j.value===$(ce).SAVED?(f(),C("div",L1,[...E[6]||(E[6]=[a("span",{class:"cursor-default"},"Changes Pushed",-1)])])):(f(),W($(ae),{key:1,id:"flow-publish",type:"primary",loading:u.value,disabled:!$(d).permissions.dunning.write||j.value!==$(ce).SAVED||u.value,onClick:U},{default:R(()=>[a("span",F1,V(M.value),1)]),_:1},8,["loading","disabled"]))])])]),$(r).currentCampaignBlueprint?(f(),C("main",B1,[a("div",U1,[a("section",null,[a("div",G1,[p.value[c.value]?.value==="editor"?(f(),W(T1,{key:0,onNext:ve})):L("",!0),p.value[c.value]?.value==="audience"?(f(),W(ca,{key:1,onNext:ve})):L("",!0),p.value[c.value]?.value==="design"?(f(),W(ya,{key:2})):L("",!0)])]),_($(zt),{modelValue:m.value,"onUpdate:modelValue":E[1]||(E[1]=B=>m.value=B),class:"mx-auto max-w-xl rounded-lg","close-on-click-modal":!0},{default:R(()=>[a("div",j1,[E[9]||(E[9]=a("div",{class:"max-w-md mx-auto my-2 text-brand-brown font-semibold"},[a("h3",{class:"text-xl leading-6 my-6 font-bold text-gray-900"}," Ready to go live with Payment Recovery? "),a("p",{class:"break-normal text-md font-semibold"}," Great news. Now that your Payment Recovery campaign is ready, it's time for Churnkey to gather your payment details. Once that's completed, you'll start your 14-day trial. ")],-1)),a("div",H1,[a("div",V1,[_($(ae),{id:"publish-payment-cancel",onClick:E[0]||(E[0]=B=>m.value=!1)},{default:R(()=>
9[...E[7]||(E[7]=[H(" Not Now ",-1)])]),_:1}),a("a",z1,[_($(ae),{type:"primary"},{default:R(()=>[...E[8]||(E[8]=[H("View Our Plans",-1)])]),_:1})])])])])]),_:1},8,["modelValue"])])])):L("",!0)])])])),[[G,u.value,void 0,{fullscreen:!0,lock:!0}]])}}}),h0=Ir(W1,[["__scopeId","data-v-d4a1ba84"]]);export{h0 as default}; 10//# sourceMappingURL=_id_-D0KJQoD2.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.