@ozdao/prometheus-framework 0.1.78 → 0.1.80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +33 -30
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +41 -43
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +33 -35
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +44 -46
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +83 -81
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +44 -46
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +38 -0
- package/dist/prometheus-framework/src/modules/auth/router/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/router/auth.js +114 -111
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +93 -75
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +5 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +20 -19
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +15 -13
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +10 -10
- package/dist/prometheus-framework.es.js +8 -5
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/src/components/Field/Field.vue +4 -1
- package/src/modules/auth/components/layouts/Auth.vue +45 -36
- package/src/modules/auth/components/pages/EnterCode.vue +0 -17
- package/src/modules/auth/components/pages/EnterPassword.vue +0 -23
- package/src/modules/auth/components/pages/ResetPassword.vue +0 -27
- package/src/modules/auth/components/pages/SignIn.vue +26 -54
- package/src/modules/auth/components/pages/SignUp.vue +0 -29
- package/src/modules/auth/localization/EnterCode.json +14 -0
- package/src/modules/auth/localization/EnterPassword.json +20 -0
- package/src/modules/auth/localization/ResetPassword.json +24 -0
- package/src/modules/auth/localization/SignIn.json +34 -0
- package/src/modules/auth/localization/SignUp.json +26 -0
- package/src/modules/auth/router/auth.js +95 -86
- package/src/modules/auth/store/auth.js +20 -20
- package/src/modules/constructor/components/elements/Bullets.vue +1 -0
- package/src/modules/constructor/components/elements/Caption.vue +1 -0
- package/src/modules/constructor/components/elements/H2.vue +1 -0
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/constructor/components/elements/Textarea.vue +1 -0
- package/src/modules/globals/localization/methods/get-app-locales.js +13 -0
- package/src/modules/globals/localization/vue-i18n.js +20 -14
- package/src/modules/globals/localization/vue-i18n.singleton.js +1 -1
- package/src/modules/middlewares/client/inputs.validation.js +1 -0
- package/src/modules/globals/localization/vue-i18n-new.js +0 -70
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue");const ue=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ba={key:0,class:"t-transp mn-r-small"},Ua=["placeholder","value"],ja={key:0,class:"mn-t-thin invalid-feedback"},Ga={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=i.ref(null);let o;const a=()=>{o=new google.maps.places.Autocomplete(r.value),o.addListener("place_changed",l)},s=()=>{o||a()},l=()=>{const d=o.getPlace();if(!d.geometry||!d.address_components)return;let c="",p="",$="";for(let N=0;N<d.address_components.length;N++){console.log(d.address_components);let b=d.address_components[N];b.types.includes("country")&&(c=b.long_name),b.types.includes("administrative_area_level_1")&&(p=b.long_name),b.types.includes("locality")&&($=b.long_name)}const g=d.formatted_address,S={lat:d.geometry.location.lat(),lng:d.geometry.location.lng()};t("update:address",g),t("update:location",S),t("update:country",c),t("update:state",p),t("update:city",$)};return i.watchEffect(()=>{n.address!==r.value&&(r.value=n.address)}),i.onMounted(()=>{a()}),(d,c)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([d.$attrs.class,"flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ba,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{ref_key:"addressInput",ref:r,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:s},null,40,Ua),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[d.validation?(i.openBlock(),i.createElementBlock("div",ja," * "+i.toDisplayString(d.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],2))}},po=ue(Ga,[["__scopeId","data-v-faece1a6"]]),Ha=Object.freeze(Object.defineProperty({__proto__:null,default:po},Symbol.toStringTag,{value:"Module"}));const Wa=["onClick","disabled"],Ka={key:0},Ya={key:0,class:"loading"},Xa=i.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[i.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])],-1),za=[Xa],qa={key:0,class:"loading t-white"},Ja={key:0,class:"error"},mo={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(null),r=i.ref(null),o=i.ref(!1),a=i.ref(!1);async function s(){n.value.style["pointer-events"]="none",r.value=null,o.value=!0;const l=()=>{n.value&&(n.value.classList.replace("bg-light-main","bg-main"),n.value.style.pointerEvents="auto",o.value=!1,a.value=!1,r.value=null)};try{await t.submit(),n.value.classList.replace("bg-main","bg-light-main"),o.value=!1,t.showSucces?(a.value=!0,setTimeout(l,500)):l(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value="❌",setTimeout(()=>{l(),n.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(l,d)=>(i.openBlock(),i.createElementBlock("button",{onClick:i.withModifiers(s,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"w-100 bg-main button"},[i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[!o.value&&!r.value&&!a.value?(i.openBlock(),i.createElementBlock("span",Ka,[i.renderSlot(l.$slots,"default")])):i.createCommentVNode("",!0)]),_:3}),i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[o.value&&!r.value?(i.openBlock(),i.createElementBlock("span",Ya,za)):i.createCommentVNode("",!0)]),_:1}),i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[a.value&&e.showSucces?(i.openBlock(),i.createElementBlock("span",qa,"✔")):i.createCommentVNode("",!0)]),_:1}),i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[r.value?(i.openBlock(),i.createElementBlock("span",Ja,i.toDisplayString(r.value),1)):i.createCommentVNode("",!0)]),_:1})],8,Wa))}},Za=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"}));const Qa={class:"flex-v-center flex-nowrap flex"},ei={key:0,class:"mn-r-auto t-transp mn-r-small"},ti=["name","value","checked"],ni={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=o=>{if(Array.isArray(n.radio)){let a=[...n.radio];if(o.target.checked)a.push(n.value);else{const s=a.indexOf(n.value);s!==-1&&a.splice(s,1)}t("update:radio",a)}else typeof n.radio=="boolean"&&t("update:radio",o.target.checked)};return(o,a)=>(i.openBlock(),i.createElementBlock("label",Qa,[e.label?(i.openBlock(),i.createElementBlock("div",ei,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onChange:r,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,ti),i.createElementVNode("div",{class:i.normalizeClass(["transition-elastic pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[i.createElementVNode("div",{class:i.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},ho=ue(ni,[["__scopeId","data-v-f641f618"]]),ri=Object.freeze(Object.defineProperty({__proto__:null,default:ho},Symbol.toStringTag,{value:"Module"})),go={beforeMount(e,t,n){if(typeof t.value!="function"){const r=n.context.name;let o=`[Vue-click-outside:] provided expression ${t.expression}
|
2
|
-
is not a function, but has to be`;r&&(o+=`Found in component ${r}`),console.warn(o)}e.clickOutsideEvent=function(r){e===r.target||e.contains(r.target)||t.value(r,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};const oi={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(e){let t=go;const n=i.ref(!1);function r(){n.value=!1}return(o,a)=>i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"dropdown pos-relative",onClick:a[0]||(a[0]=i.withModifiers(s=>n.value=!n.value,["stop"]))},[i.createTextVNode(i.toDisplayString(e.label)+" ",1),i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{style:i.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[i.renderSlot(o.$slots,"default",{},void 0,!0)],4),[[i.vShow,n.value]])]),_:3})])),[[i.unref(t),r]])}},yo=ue(oi,[["__scopeId","data-v-2f59adb5"]]),ai=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),ii={class:"error-wrapper"},si={class:"error-card"},_o={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",ii,[i.createElementVNode("div",si,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},li=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"}));const di={key:0,class:"t-transp mn-r-small"},ui={class:"w-100"},ci=["type","value","placeholder"],fi=["value","placeholder"],$i={key:1,class:"t-transp mn-l-small"},pi={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},mi={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,validation:!1,disabled:!1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=e,r=i.ref(n.field);return(o,a)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",di,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",ui,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=s=>r.value=t("update:field",s.target.value)),onFocus:a[1]||(a[1]=s=>t("focus",s)),onBlur:a[2]||(a[2]=s=>t("blur",s)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder},null,40,ci)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=s=>r.value=t("update:field",s.target.value)),onFocus:a[4]||(a[4]=s=>t("focus",s)),onBlur:a[5]||(a[5]=s=>t("blur",s)),class:"w-100",value:e.field,placeholder:e.placeholder},null,40,fi))]),i.renderSlot(o.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",$i,[i.createElementVNode("span",null,i.toDisplayString(e.symbol),1)])):i.createCommentVNode("",!0)],2),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",pi," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},bo=ue(mi,[["__scopeId","data-v-f4a29b0d"]]),hi=Object.freeze(Object.defineProperty({__proto__:null,default:bo},Symbol.toStringTag,{value:"Module"})),gi={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?: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]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?: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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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]|22"],"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{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-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","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?: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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\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","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],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-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|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|73)|90[25])[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(?:00|2[125-9]|33|44|66|77|88)|622)[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\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{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"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],[["(\\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{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[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[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[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],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","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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],[["(\\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{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"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)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"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,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\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-2]))|(?: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{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|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","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{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\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","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-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","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-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","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,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",["[67]"],"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-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[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]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\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","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|83)|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})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\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]"]],["(\\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}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[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]],0,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","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\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}|[257-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|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|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]|636[457-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",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"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[23]|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",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{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",["60|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,"33|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",["30[013-9]"],"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-7]|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","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"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]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",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{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\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-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"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,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\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"],"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{6}|(?: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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\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",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"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{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"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]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",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[047]"]]]],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","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"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","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"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)|[59]|80"],"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|86"],"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|80\\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-6])"],"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[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-4]))\\d{4}"],["69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\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",["[237-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,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[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{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\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],[["(\\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-8]|[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|[57]9)\\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]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],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","[267]\\d{7}|[89]00\\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-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"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|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],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",["[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\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{7}",[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",["6"],"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]|616)","5(?:[0-59]|6161)"],"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,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|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}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"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{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],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],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)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\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","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\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",["[23]"],"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","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|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])\\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|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"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}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],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,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|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,0,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[013-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 yi(e,t){var n=Array.prototype.slice.call(t);return n.push(gi),e.apply(this,n)}function on(e){"@babel/helpers - typeof";return on=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},on(e)}function Xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _i(e,t,n){return t&&Xn(e.prototype,t),n&&Xn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(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&&$t(e,t)}function Ei(e){var t=Eo();return function(){var r=pt(e),o;if(t){var a=pt(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return Ni(this,o)}}function Ni(e,t){if(t&&(on(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vo(e)}function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function an(e){var t=typeof Map=="function"?new Map:void 0;return an=function(r){if(r===null||!Oi(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return St(r,arguments,pt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),$t(o,r)},an(e)}function St(e,t,n){return Eo()?St=Reflect.construct:St=function(o,a,s){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(o,l),c=new d;return s&&$t(c,s.prototype),c},St.apply(null,arguments)}function Eo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oi(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e,t){return $t=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$t(e,t)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pt(e)}var ve=function(e){vi(n,e);var t=Ei(n);function n(r){var o;return bi(this,n),o=t.call(this,r),Object.setPrototypeOf(vo(o),n.prototype),o.name=o.constructor.name,o}return _i(n)}(an(Error)),Tn=2,Ci=17,Si=3,$e="0-90-9٠-٩۰-۹",Ti="-‐-―−ー-",wi="//",Li="..",Pi=" ",Ii="()()[]\\[\\]",Ai="~⁓∼~",Pt="".concat(Ti).concat(wi).concat(Li).concat(Pi).concat(Ii).concat(Ai),wn="++";function zn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var a=Number(n[o]),s=Number(r[o]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))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}function It(e){"@babel/helpers - typeof";return It=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},It(e)}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e,t,n){return t&&qn(e.prototype,t),n&&qn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ki="1.2.0",Di="1.7.35",Jn=" ext. ",Ri=/^\d+$/,ne=function(){function e(t){Rt(this,e),xi(t),this.metadata=t,No.call(this,t)}return Ft(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 r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[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,r){if(n&&Ri.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Zn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Zn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[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}}]),e}(),Zn=function(){function e(t,n){Rt(this,e),this.globalMetadataObject=n,this.metadata=t,No.call(this,n.metadata)}return Ft(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,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(o){return new Fi(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.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()&&Qn(this.types(),n))return new Vi(Qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Jn:this.metadata[13]||Jn}}]),e}(),Fi=function(){function e(t,n){Rt(this,e),this._format=t,this.metadata=n}return Ft(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()&&!Mi.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Mi=/^\(?\$1\)?$/,Vi=function(){function e(t,n){Rt(this,e),this.type=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Qn(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 xi(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Kt(e)||!Kt(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(Kt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Bi(e)+": "+e,"."))}var Kt=function(t){return It(t)==="object"},Bi=function(t){return It(t)};function Ln(e,t){if(t=new ne(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Ui(e,t){return t.countries.hasOwnProperty(e)}function No(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?zn(t,ki)===-1?this.v2=!0:zn(t,Di)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var ji=";ext=",ze=function(t){return"([".concat($e,"]{1,").concat(t,"})")};function Oo(e){var t="20",n="15",r="9",o="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",p="[- ]+",$="[ \\t]*",g="(?:,{2}|;)",S=ji+ze(t),N=a+d+s+ze(t)+l,b=a+c+s+ze(r)+l,w=p+ze(o)+"#",m=$+g+s+ze(n)+l,y=$+"(?:,)+"+s+ze(r)+l;return S+"|"+N+"|"+b+"|"+w+"|"+m+"|"+y}var Gi="["+$e+"]{"+Tn+"}",Hi="["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){3,}["+Pt+$e+"]*",Wi=new RegExp("^["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){1,2}$","i"),Ki=Hi+"(?:"+Oo()+")?",Yi=new RegExp("^"+Gi+"$|^"+Ki+"$","i");function Xi(e){return e.length>=Tn&&Yi.test(e)}function zi(e){return Wi.test(e)}var er=new RegExp("(?:"+Oo()+")$","i");function qi(e){var t=e.search(er);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(er),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}var Ji={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","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"};function Zi(e){return Ji[e]}function Qi(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=es(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
+
is not a function, but has to be`;r&&(o+=`Found in component ${r}`),console.warn(o)}e.clickOutsideEvent=function(r){e===r.target||e.contains(r.target)||t.value(r,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};const oi={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(e){let t=go;const n=i.ref(!1);function r(){n.value=!1}return(o,a)=>i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"dropdown pos-relative",onClick:a[0]||(a[0]=i.withModifiers(s=>n.value=!n.value,["stop"]))},[i.createTextVNode(i.toDisplayString(e.label)+" ",1),i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{style:i.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[i.renderSlot(o.$slots,"default",{},void 0,!0)],4),[[i.vShow,n.value]])]),_:3})])),[[i.unref(t),r]])}},yo=ue(oi,[["__scopeId","data-v-2f59adb5"]]),ai=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),ii={class:"error-wrapper"},si={class:"error-card"},_o={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",ii,[i.createElementVNode("div",si,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},li=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"}));const di={key:0,class:"t-transp mn-r-small"},ui={class:"w-100"},ci=["type","value","placeholder","tabindex"],fi=["value","placeholder","tabindex"],$i={key:1,class:"t-transp mn-l-small"},pi={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},mi={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,validation:!1,disabled:!1,tabindex:-1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=e,r=i.ref(n.field);return(o,a)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",di,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",ui,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=s=>r.value=t("update:field",s.target.value)),onFocus:a[1]||(a[1]=s=>t("focus",s)),onBlur:a[2]||(a[2]=s=>t("blur",s)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,ci)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=s=>r.value=t("update:field",s.target.value)),onFocus:a[4]||(a[4]=s=>t("focus",s)),onBlur:a[5]||(a[5]=s=>t("blur",s)),class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,fi))]),i.renderSlot(o.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",$i,[i.createElementVNode("span",null,i.toDisplayString(e.symbol),1)])):i.createCommentVNode("",!0)],2),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",pi," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},bo=ue(mi,[["__scopeId","data-v-839e7ced"]]),hi=Object.freeze(Object.defineProperty({__proto__:null,default:bo},Symbol.toStringTag,{value:"Module"})),gi={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?: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]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?: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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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]|22"],"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{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-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","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?: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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\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","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],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-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|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|73)|90[25])[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(?:00|2[125-9]|33|44|66|77|88)|622)[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\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{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"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],[["(\\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{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[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[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[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],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","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|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],[["(\\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{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"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)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"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,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\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-2]))|(?: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{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|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","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{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\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","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-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","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-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","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,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",["[67]"],"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-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[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]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\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","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|83)|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})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\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]"]],["(\\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}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[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]],0,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","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\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}|[257-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|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|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]|636[457-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",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"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[23]|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",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{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",["60|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,"33|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",["30[013-9]"],"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-7]|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","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"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]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",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{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\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-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"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,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\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"],"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{6}|(?: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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\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",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"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{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"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]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",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[047]"]]]],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","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"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","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"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)|[59]|80"],"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|86"],"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|80\\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-6])"],"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[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-4]))\\d{4}"],["69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\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",["[237-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,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[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{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\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],[["(\\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-8]|[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|[57]9)\\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]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],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","[267]\\d{7}|[89]00\\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-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"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|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],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",["[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\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{7}",[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",["6"],"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]|616)","5(?:[0-59]|6161)"],"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,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|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}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"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{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],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],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)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\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","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\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",["[23]"],"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","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|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])\\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|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"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}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],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,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|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,0,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[013-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 yi(e,t){var n=Array.prototype.slice.call(t);return n.push(gi),e.apply(this,n)}function on(e){"@babel/helpers - typeof";return on=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},on(e)}function Xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _i(e,t,n){return t&&Xn(e.prototype,t),n&&Xn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(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&&$t(e,t)}function Ei(e){var t=Eo();return function(){var r=pt(e),o;if(t){var a=pt(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return Ni(this,o)}}function Ni(e,t){if(t&&(on(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vo(e)}function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function an(e){var t=typeof Map=="function"?new Map:void 0;return an=function(r){if(r===null||!Oi(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return St(r,arguments,pt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),$t(o,r)},an(e)}function St(e,t,n){return Eo()?St=Reflect.construct:St=function(o,a,s){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(o,l),c=new d;return s&&$t(c,s.prototype),c},St.apply(null,arguments)}function Eo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oi(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e,t){return $t=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$t(e,t)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pt(e)}var ve=function(e){vi(n,e);var t=Ei(n);function n(r){var o;return bi(this,n),o=t.call(this,r),Object.setPrototypeOf(vo(o),n.prototype),o.name=o.constructor.name,o}return _i(n)}(an(Error)),Tn=2,Ci=17,Si=3,$e="0-90-9٠-٩۰-۹",Ti="-‐-―−ー-",wi="//",Li="..",Pi=" ",Ii="()()[]\\[\\]",Ai="~⁓∼~",Pt="".concat(Ti).concat(wi).concat(Li).concat(Pi).concat(Ii).concat(Ai),wn="++";function zn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var a=Number(n[o]),s=Number(r[o]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))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}function It(e){"@babel/helpers - typeof";return It=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},It(e)}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e,t,n){return t&&qn(e.prototype,t),n&&qn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ki="1.2.0",Di="1.7.35",Jn=" ext. ",Ri=/^\d+$/,ne=function(){function e(t){Rt(this,e),Vi(t),this.metadata=t,No.call(this,t)}return Ft(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 r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[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,r){if(n&&Ri.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Zn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Zn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[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}}]),e}(),Zn=function(){function e(t,n){Rt(this,e),this.globalMetadataObject=n,this.metadata=t,No.call(this,n.metadata)}return Ft(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,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(o){return new Fi(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.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()&&Qn(this.types(),n))return new xi(Qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Jn:this.metadata[13]||Jn}}]),e}(),Fi=function(){function e(t,n){Rt(this,e),this._format=t,this.metadata=n}return Ft(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()&&!Mi.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Mi=/^\(?\$1\)?$/,xi=function(){function e(t,n){Rt(this,e),this.type=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Qn(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 Vi(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Kt(e)||!Kt(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(Kt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Bi(e)+": "+e,"."))}var Kt=function(t){return It(t)==="object"},Bi=function(t){return It(t)};function Ln(e,t){if(t=new ne(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Ui(e,t){return t.countries.hasOwnProperty(e)}function No(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?zn(t,ki)===-1?this.v2=!0:zn(t,Di)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var ji=";ext=",ze=function(t){return"([".concat($e,"]{1,").concat(t,"})")};function Oo(e){var t="20",n="15",r="9",o="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",p="[- ]+",$="[ \\t]*",g="(?:,{2}|;)",S=ji+ze(t),N=a+d+s+ze(t)+l,b=a+c+s+ze(r)+l,w=p+ze(o)+"#",m=$+g+s+ze(n)+l,y=$+"(?:,)+"+s+ze(r)+l;return S+"|"+N+"|"+b+"|"+w+"|"+m+"|"+y}var Gi="["+$e+"]{"+Tn+"}",Hi="["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){3,}["+Pt+$e+"]*",Wi=new RegExp("^["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){1,2}$","i"),Ki=Hi+"(?:"+Oo()+")?",Yi=new RegExp("^"+Gi+"$|^"+Ki+"$","i");function Xi(e){return e.length>=Tn&&Yi.test(e)}function zi(e){return Wi.test(e)}var er=new RegExp("(?:"+Oo()+")$","i");function qi(e){var t=e.search(er);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(er),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}var Ji={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","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"};function Zi(e){return Ji[e]}function Qi(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=es(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function es(e,t){if(e){if(typeof e=="string")return tr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tr(e,t)}}function tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nr(e){for(var t="",n=Qi(e.split("")),r;!(r=n()).done;){var o=r.value;t+=ts(o,t)||""}return t}function ts(e,t){return e==="+"?t?void 0:"+":Zi(e)}function ns(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=rs(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rs(e,t){if(e){if(typeof e=="string")return rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rr(e,t)}}function rr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function os(e,t){for(var n=e.slice(),r=ns(t),o;!(o=r()).done;){var a=o.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(s,l){return s-l})}function Pn(e,t){return Co(e,void 0,t)}function Co(e,t,n){var r=n.type(t),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Co(e,"MOBILE",n);var a=n.type("MOBILE");a&&(o=os(o,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var s=e.length,l=o[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":o[o.length-1]<s?"TOO_LONG":o.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function as(e,t,n){if(t===void 0&&(t={}),n=new ne(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 So(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 So(e,t){switch(Pn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Oe(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function is(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=ss(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ss(e,t){if(e){if(typeof e=="string")return or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return or(e,t)}}function or(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ls=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function In(e,t,n){if(t=t||{},!!e.country){n=new ne(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Oe(r,n.nationalNumberPattern())){if(Yt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Yt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=is(ls),a;!(a=o()).done;){var s=a.value;if(Yt(r,s,n))return s}}}}function Yt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Oe(e,t.pattern())}function ds(e,t,n){if(t=t||{},n=new ne(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return In(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Oe(r,n.nationalNumberPattern())}function us(e,t,n){var r=new ne(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(a){return cs(t,a,n)}):[]}function cs(e,t,n){var r=new ne(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function fs(e){return e.replace(new RegExp("[".concat(Pt,"]+"),"g")," ").trim()}var $s=/(\$\d)/;function ps(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace($s,t.nationalPrefixFormattingRule()):t.format());return r?fs(a):a}var ms=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function hs(e,t,n){var r=new ne(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(ms.test(r.IDDPrefix()))return r.IDDPrefix()}function gs(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 ys(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=_s(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _s(e,t){if(e){if(typeof e=="string")return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ar(e,t)}}function ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ir(Object(n),!0).forEach(function(r){bs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function vs(e,t,n,r){if(n?n=sr(sr({},lr),n):n=lr,r=new ne(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var o=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,s;switch(t){case"NATIONAL":return a?(s=At(a,e.carrierCode,"NATIONAL",r,n),Xt(s,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(s=At(a,null,"INTERNATIONAL",r,n),s="+".concat(o," ").concat(s),Xt(s,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return gs({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=Ns(a,e.carrierCode,o,n.fromCountry,r);return Xt(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function At(e,t,n,r,o){var a=Es(r.formats(),e);return a?ps(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function Es(e,t){for(var n=ys(e),r;!(r=n()).done;){var o=r.value;if(o.leadingDigitsPatterns().length>0){var a=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(Oe(t,o.pattern()))return o}}function Xt(e,t,n,r){return t?r(e,t,n):e}function Ns(e,t,n,r,o){var a=Ln(r,o.metadata);if(a===n){var s=At(e,t,"NATIONAL",o);return n==="1"?n+" "+s:s}var l=hs(r,void 0,o.metadata);if(l)return"".concat(l," ").concat(n," ").concat(At(e,null,"INTERNATIONAL",o))}function dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dr(Object(n),!0).forEach(function(r){Os(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ss(e,t,n){return t&&cr(e.prototype,t),n&&cr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ts=function(){function e(t,n,r){if(Cs(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=Ls(t,r),a=o.country,s=o.countryCallingCode;this.country=a,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Ss(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:us(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return as(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return ds(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new ne(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 In(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return vs(this,n,r?ur(ur({},r),{},{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)}}]),e}(),ws=function(t){return/^[A-Z]{2}$/.test(t)};function Ls(e,t){var n,r,o=new ne(t);return ws(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Ps=new RegExp("(["+$e+"])");function Is(e,t,n,r){if(t){var o=new ne(r);o.selectNumberingPlan(t,n);var a=new RegExp(o.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var s=e.match(Ps);if(!(s&&s[1]!=null&&s[1].length>0&&s[1]==="0"))return e}}}function As(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,a,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)o=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(a=r[1]);else{var d=r[0];o=e.slice(d.length),l&&(a=r[1])}var c;if(l){var p=e.indexOf(r[1]),$=e.slice(0,p);$===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:o,nationalPrefix:c,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=As(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!ks(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!Ds(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function ks(e,t,n){return!(Oe(e,n.nationalNumberPattern())&&!Oe(t,n.nationalNumberPattern()))}function Ds(e,t){switch(Pn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Rs(e,t,n,r){var o=t?Ln(t,r):n;if(e.indexOf(o)===0){r=new ne(r),r.selectNumberingPlan(t,n);var a=e.slice(o.length),s=sn(a,r),l=s.nationalNumber,d=sn(e,r),c=d.nationalNumber;if(!Oe(c,r.nationalNumberPattern())&&Oe(l,r.nationalNumberPattern())||Pn(c,r)==="TOO_LONG")return{countryCallingCode:o,number:a}}return{number:e}}function Fs(e,t,n,r){if(!e)return{};var o;if(e[0]!=="+"){var a=Is(e,t,n,r);if(a&&a!==e)o=!0,e="+"+a;else{if(t||n){var s=Rs(e,t,n,r),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new ne(r);for(var c=2;c-1<=Si&&c<=e.length;){var p=e.slice(1,c);if(r.hasCallingCode(p))return r.selectNumberingPlan(p),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:p,number:e.slice(c)};c++}return{}}function Ms(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=
|
7
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pl(e,t){if(e){if(typeof e=="string")return yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yr(e,t)}}function yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ml(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){a=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function hl(e){if(Array.isArray(e))return e}function gl(e){var t=Array.prototype.slice.call(e),n=fl(t,4),r=n[0],o=n[1],a=n[2],s=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")s?(d=a,c=s):(d=void 0,c=a),o&&(d=ul({defaultCountry:o},d));else if(yl(o))a?(d=o,c=a):c=o;else throw new Error("Invalid second argument: ".concat(o));return{text:l,options:d,metadata:c}}var yl=function(t){return un(t)==="object"};function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_r(Object(n),!0).forEach(function(r){_l(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e,t,n){t&&t.defaultCountry&&!Ui(t.defaultCountry,n)&&(t=br(br({},t),{},{defaultCountry:void 0}));try{return dl(e,t,n)}catch(r){if(!(r instanceof ve))throw r}}function vl(){var e=gl(arguments),t=e.text,n=e.options,r=e.metadata;return bl(t,n,r)}function zt(){return yi(vl,arguments)}const El=[["افغانستان","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["الجزائر","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["البحرين","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["جزر القمر","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["مصر","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["ایران","ir","98",,"🇮🇷"],["العراق","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["ישראל","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["الأردن","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["الكويت","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["لبنان","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["ليبيا","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["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",,"🇲🇶"],["موريتانيا","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["المغرب","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["عُمان","om","968",,"🇴🇲"],["پاکستان","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["فلسطين","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["قطر","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["المملكة العربية السعودية","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["جنوب السودان","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්රී ලංකාව","lk","94",,"🇱🇰"],["السودان","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["سوريا","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["تونس","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["الإمارات العربية المتحدة","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["الصحراء الغربية","eh","212",1,,"🇪🇭"],["اليمن","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],Nl=El.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null}));function Ol(){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 Cl(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if(e.createTextRange){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const Sl=[{name:"allCountries",type:Array,default:Nl,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,description:"Default country, 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.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.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.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},{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",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}],Tl=[...Sl].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),vr={options:{...Tl}};function Q(e){const t=vr.options[e];return typeof t>"u"?vr.options[e]:t}const wl=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:go},props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>Q("allCountries")},autoFormat:{type:Boolean,default:()=>Q("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>Q("customValidate")},defaultCountry:{type:String,default:()=>Q("defaultCountry")},disabled:{type:Boolean,default:()=>Q("disabled")},autoDefaultCountry:{type:Boolean,default:()=>Q("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>Q("dropdownOptions")},ignoredCountries:{type:Array,default:()=>Q("ignoredCountries")},inputOptions:{type:Object,default:()=>Q("inputOptions")},invalidMsg:{type:String,default:()=>Q("invalidMsg")},mode:{type:String,default:()=>Q("mode")},onlyCountries:{type:Array,default:()=>Q("onlyCountries")},preferredCountries:{type:Array,default:()=>Q("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>Q("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>Q("styleClasses")},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""}},data(){return{counter:5,initCounter:5,message:{action:null,amount:null},phone:this.modelValue?this.modelValue:"",activeCountryCode:"",open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,dropdownOpenDirection:"below",parsedPlaceholder:this.Placeholder!==""?this.Placeholder:this.inputOptions.placeholder}},watch:{activeCountry(e,t){if(!e&&(t!=null&&t.iso2)){this.activeCountryCode=t.iso2;return}e!=null&&e.iso2&&this.$emit("country-changed",e)},"phoneObject.countryCode":function(e){this.activeCountryCode=e},"phoneObject.valid":function(){this.$emit("validate",this.phoneObject)},"phoneObject.formatted":function(e){!this.autoFormat||this.customValidate||(this.emitInput(e),this.$nextTick(()=>{e&&!this.value&&(this.phone=e)}))},"inputOptions.placeholder":function(){this.resetPlaceholder()},value(e,t){this.testCharacters()?this.phone=e:this.$nextTick(()=>{this.phone=t,this.onInput()})},open(e){e?(this.setDropdownPosition(),this.$emit("open")):this.$emit("close")}},mounted(){this.cleanInvalidCharacters(),this.initializeCountry().then(()=>{var e;!this.phone&&((e=this.inputOptions)!=null&&e.showDialCode)&&this.activeCountryCode&&(this.phone=`+${this.activeCountryCode}`),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},computed:{activeCountry(){return this.findCountry(this.activeCountryCode)},activeCountryFlag(){return this.activeCountry?this.activeCountry.flag:null},parsedMode(){return this.mode==="auto"?!this.phone||this.phone[0]!=="+"?"national":"international":["international","national"].includes(this.mode)?this.mode:(console.error('Invalid value of prop "mode"'),"international")},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(({iso2:e})=>this.onlyCountries.some(t=>t.toUpperCase()===e)):this.ignoredCountries.length?this.allCountries.filter(({iso2:e})=>!this.ignoredCountries.includes(e.toUpperCase())&&!this.ignoredCountries.includes(e.toLowerCase())):this.allCountries},sortedCountries(){return[...this.getCountries(this.preferredCountries).map(t=>({...t,preferred:!0})),...this.filteredCountries]},phoneObject(){var a,s,l;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=zt(this.phone)||{}:e=zt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(s=e.isValid)==null?void 0:s.call(e),o=this.phone;return r&&(o=(l=e.format)==null?void 0:l.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:o}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?Ol().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,o=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:o}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=zt(this.phoneObject.nationalNumber,t.iso2).formatInternational();return}if((r=this.inputOptions)!=null&&r.showDialCode&&t){this.phone=`+${t.dialCode}`;return}this.activeCountryCode=t.iso2,this.emitInput(this.phone)}},cleanInvalidCharacters(){const e=this.phone;if(this.validCharactersOnly){const t=this.phone.match(/[()\-+0-9\s]*/g);this.phone=t.join("")}if(this.customValidate&&this.customValidate instanceof RegExp){const t=this.phone.match(this.customValidate);this.phone=t.join("")}e!==this.phone&&this.emitInput(this.phone)},testCharacters(){return this.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(this.phone)?!1:this.customValidate?this.testCustomValidate():!0},testCustomValidate(){return this.customValidate instanceof RegExp?this.customValidate.test(this.phone):!1},onInput(){this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.emitInput(this.phoneObject)},emitInput(e){this.$emit("update:modelValue",e)},onBlur(){this.$emit("blur")},onFocus(){Cl(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,o=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||o)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Ll=["tabindex"],Pl={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Il=["innerHTML"],Al={key:1,class:"vti__country-code"},kl=["onClick","onMousemove"],Dl=["innerHTML"],Rl={key:1},Fl=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Ml={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function Vl(e,t,n,r,o,a){const s=i.resolveDirective("click-outside");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:i.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...l)=>e.keyboardNav&&e.keyboardNav(...l)),t[2]||(t[2]=i.withKeys((...l)=>e.reset&&e.reset(...l),["esc"]))],onClick:t[1]||(t[1]=(...l)=>e.toggleDropdown&&e.toggleDropdown(...l)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",Pl,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Il)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",Al," +"+i.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):i.createCommentVNode("",!0)]),i.withDirectives(i.createElementVNode("ul",{ref:"list",class:i.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:i.normalizeStyle([e.listStyle])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.sortedCountries,(l,d)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(d,l.iso2)]]),key:l.iso2+(l.preferred?"-preferred":""),onClick:c=>e.choose(l),onMousemove:c=>e.selectedIndex=d},[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:l.flag,class:"mn-r-thin"},null,8,Dl)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(l.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Rl," +"+i.toDisplayString(l.dialCode),1)):i.createCommentVNode("",!0)],42,kl))),128))],6),[[i.vShow,e.open]])],46,Ll)),[[s,e.clickedOutside]]),i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>e.phone=l),pattern:"[0-9]*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:i.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:i.normalizeStyle([e.inputStyle,e.Istyles]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:e.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:t[4]||(t[4]=(...l)=>e.onBlur&&e.onBlur(...l)),onFocus:t[5]||(t[5]=(...l)=>e.onFocus&&e.onFocus(...l)),onInput:t[6]||(t[6]=(...l)=>e.onInput&&e.onInput(...l)),onKeyup:[t[7]||(t[7]=i.withKeys((...l)=>e.onEnter&&e.onEnter(...l),["enter"])),t[8]||(t[8]=i.withKeys((...l)=>e.onSpace&&e.onSpace(...l),["space"]))]},null,46,Fl),[[i.vModelDynamic,e.phone]]),i.renderSlot(e.$slots,"default",{},void 0,!0)],6),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",Ml," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const wo=ue(wl,[["render",Vl],["__scopeId","data-v-50353ca7"]]),xl=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"}));const Bl=e=>(i.pushScopeId("data-v-29acef04"),e=e(),i.popScopeId(),e),Ul={class:"pos-relative map-container"},jl=Bl(()=>i.createElementVNode("svg",{class:"i-medium",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"white"}),i.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"white"})],-1)),Gl=[jl],Hl={__name:"LocationMarker",props:{location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},apiKey:String},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=i.ref(null);let o,a;i.onMounted(()=>{o=new google.maps.Map(r.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1}),a=new google.maps.Marker({position:n.location,map:o,draggable:!0}),a.addListener("dragend",d=>{const c={lat:d.latLng.lat(),lng:d.latLng.lng()};t("update:location",c),s(c)})}),i.watchEffect(()=>{n.location&&a&&a.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&o){const d=new google.maps.LatLng(n.location.lat,n.location.lng);o.setCenter(d)}});function s(d){new google.maps.Geocoder().geocode({location:d},(p,$)=>{if($==="OK")if(p[0]){t("update:address",p[0].formatted_address);let g="",S="",N="";p[0].address_components.forEach(b=>{b.types.includes("country")&&(g=b.long_name),b.types.includes("administrative_area_level_1")&&(S=b.long_name),b.types.includes("locality")&&(N=b.long_name)}),t("update:country",g),t("update:state",S),t("update:city",N)}else console.error("No results found");else console.error("Geocoder failed due to: "+$)})}async function l(){navigator.geolocation?navigator.geolocation.getCurrentPosition(d=>{const c={lat:d.coords.latitude,lng:d.coords.longitude};t("update:location",c),s(c)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(d,c)=>(i.openBlock(),i.createElementBlock("div",Ul,[i.createElementVNode("div",{ref_key:"mapContainer",ref:r,class:"w-100 h-100"},null,512),i.createElementVNode("button",{class:"pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",onClick:l},Gl)]))}},Lo=ue(Hl,[["__scopeId","data-v-29acef04"]]),Wl=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"}));const Kl={__name:"Map",props:{location:Object},setup(e){const t=e;let n=i.ref(null),r=null,o=null;return i.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),o=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),i.watch(()=>t.location,()=>{r&&o&&(o.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(a,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Po=ue(Kl,[["__scopeId","data-v-c194b4a5"]]),Yl=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"}));/*!
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _s(e,t){if(e){if(typeof e=="string")return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ar(e,t)}}function ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ir(Object(n),!0).forEach(function(r){bs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function vs(e,t,n,r){if(n?n=sr(sr({},lr),n):n=lr,r=new ne(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var o=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,s;switch(t){case"NATIONAL":return a?(s=At(a,e.carrierCode,"NATIONAL",r,n),Xt(s,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(s=At(a,null,"INTERNATIONAL",r,n),s="+".concat(o," ").concat(s),Xt(s,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return gs({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=Ns(a,e.carrierCode,o,n.fromCountry,r);return Xt(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function At(e,t,n,r,o){var a=Es(r.formats(),e);return a?ps(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function Es(e,t){for(var n=ys(e),r;!(r=n()).done;){var o=r.value;if(o.leadingDigitsPatterns().length>0){var a=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(Oe(t,o.pattern()))return o}}function Xt(e,t,n,r){return t?r(e,t,n):e}function Ns(e,t,n,r,o){var a=Ln(r,o.metadata);if(a===n){var s=At(e,t,"NATIONAL",o);return n==="1"?n+" "+s:s}var l=hs(r,void 0,o.metadata);if(l)return"".concat(l," ").concat(n," ").concat(At(e,null,"INTERNATIONAL",o))}function dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dr(Object(n),!0).forEach(function(r){Os(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ss(e,t,n){return t&&cr(e.prototype,t),n&&cr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ts=function(){function e(t,n,r){if(Cs(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=Ls(t,r),a=o.country,s=o.countryCallingCode;this.country=a,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Ss(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:us(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return as(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return ds(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new ne(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 In(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return vs(this,n,r?ur(ur({},r),{},{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)}}]),e}(),ws=function(t){return/^[A-Z]{2}$/.test(t)};function Ls(e,t){var n,r,o=new ne(t);return ws(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Ps=new RegExp("(["+$e+"])");function Is(e,t,n,r){if(t){var o=new ne(r);o.selectNumberingPlan(t,n);var a=new RegExp(o.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var s=e.match(Ps);if(!(s&&s[1]!=null&&s[1].length>0&&s[1]==="0"))return e}}}function As(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,a,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)o=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(a=r[1]);else{var d=r[0];o=e.slice(d.length),l&&(a=r[1])}var c;if(l){var p=e.indexOf(r[1]),$=e.slice(0,p);$===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:o,nationalPrefix:c,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=As(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!ks(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!Ds(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function ks(e,t,n){return!(Oe(e,n.nationalNumberPattern())&&!Oe(t,n.nationalNumberPattern()))}function Ds(e,t){switch(Pn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Rs(e,t,n,r){var o=t?Ln(t,r):n;if(e.indexOf(o)===0){r=new ne(r),r.selectNumberingPlan(t,n);var a=e.slice(o.length),s=sn(a,r),l=s.nationalNumber,d=sn(e,r),c=d.nationalNumber;if(!Oe(c,r.nationalNumberPattern())&&Oe(l,r.nationalNumberPattern())||Pn(c,r)==="TOO_LONG")return{countryCallingCode:o,number:a}}return{number:e}}function Fs(e,t,n,r){if(!e)return{};var o;if(e[0]!=="+"){var a=Is(e,t,n,r);if(a&&a!==e)o=!0,e="+"+a;else{if(t||n){var s=Rs(e,t,n,r),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new ne(r);for(var c=2;c-1<=Si&&c<=e.length;){var p=e.slice(1,c);if(r.hasCallingCode(p))return r.selectNumberingPlan(p),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:p,number:e.slice(c)};c++}return{}}function Ms(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=xs(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xs(e,t){if(e){if(typeof e=="string")return fr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fr(e,t)}}function fr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vs(e,t){var n=t.countries,r=t.defaultCountry,o=t.metadata;o=new ne(o);for(var a=[],s=Ms(n),l;!(l=s()).done;){var d=l.value;if(o.country(d),o.leadingDigits()){if(e&&e.search(o.leadingDigits())===0)return d}else if(In({phone:e,country:d},void 0,o.metadata))if(r){if(d===r)return d;a.push(d)}else return d}if(a.length>0)return a[0]}var Bs=!1;function Us(e,t){var n=t.nationalNumber,r=t.defaultCountry,o=t.metadata;if(Bs&&o.isNonGeographicCallingCode(e))return"001";var a=o.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Vs(n,{countries:a,defaultCountry:r,metadata:o.metadata})}var To="+",js="[\\-\\.\\(\\)]?",$r="(["+$e+"]|"+js+")",Gs="^\\"+To+$r+"*["+$e+"]"+$r+"*$",Hs=new RegExp(Gs,"g"),ln=$e,Ws="["+ln+"]+((\\-)*["+ln+"])*",Ks="a-zA-Z",Ys="["+Ks+"]+((\\-)*["+ln+"])*",Xs="^("+Ws+"\\.)*"+Ys+"\\.?$",zs=new RegExp(Xs,"g"),pr="tel:",dn=";phone-context=",qs=";isub=";function Js(e){var t=e.indexOf(dn);if(t<0)return null;var n=t+dn.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Zs(e){return e===null?!0:e.length===0?!1:Hs.test(e)||zs.test(e)}function Qs(e,t){var n=t.extractFormattedPhoneNumber,r=Js(e);if(!Zs(r))throw new ve("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else{o="",r.charAt(0)===To&&(o+=r);var a=e.indexOf(pr),s;a>=0?s=a+pr.length:s=0;var l=e.indexOf(dn);o+=e.substring(s,l)}var d=o.indexOf(qs);if(d>0&&(o=o.substring(0,d)),o!=="")return o}var el=250,tl=new RegExp("["+wn+$e+"]"),nl=new RegExp("[^"+$e+"#]+$");function rl(e,t,n){if(t=t||{},n=new ne(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new ve("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=al(e,t.v2,t.extract),o=r.number,a=r.ext,s=r.error;if(!o){if(t.v2)throw s==="TOO_SHORT"?new ve("TOO_SHORT"):new ve("NOT_A_NUMBER");return{}}var l=sl(o,t.defaultCountry,t.defaultCallingCode,n),d=l.country,c=l.nationalNumber,p=l.countryCallingCode,$=l.countryCallingCodeSource,g=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new ve("INVALID_COUNTRY");return{}}if(!c||c.length<Tn){if(t.v2)throw new ve("TOO_SHORT");return{}}if(c.length>Ci){if(t.v2)throw new ve("TOO_LONG");return{}}if(t.v2){var S=new Ts(p,c,n.metadata);return d&&(S.country=d),g&&(S.carrierCode=g),a&&(S.ext=a),S.__countryCallingCodeSource=$,S}var N=(t.extended?n.hasSelectedNumberingPlan():d)?Oe(c,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:p,carrierCode:g,valid:N,possible:N?!0:!!(t.extended===!0&&n.possibleLengths()&&So(c,n)),phone:c,ext:a}:N?il(d,c,a):{}}function ol(e,t,n){if(e){if(e.length>el){if(n)throw new ve("TOO_LONG");return}if(t===!1)return e;var r=e.search(tl);if(!(r<0))return e.slice(r).replace(nl,"")}}function al(e,t,n){var r=Qs(e,{extractFormattedPhoneNumber:function(s){return ol(s,n,t)}});if(!r)return{};if(!Xi(r))return zi(r)?{error:"TOO_SHORT"}:{};var o=qi(r);return o.ext?o:{number:r}}function il(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function sl(e,t,n,r){var o=Fs(nr(e),t,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,l=o.number,d;if(s)r.selectNumberingPlan(s);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),s=n||Ln(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var c=sn(nr(l),r),p=c.nationalNumber,$=c.carrierCode,g=Us(s,{nationalNumber:p,defaultCountry:t,metadata:r});return g&&(d=g,g==="001"||r.country(d)),{country:d,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:p,carrierCode:$}}function mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mr(Object(n),!0).forEach(function(r){ll(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ll(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e,t,n){return rl(e,hr(hr({},t),{},{v2:!0}),n)}function un(e){"@babel/helpers - typeof";return un=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},un(e)}function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gr(Object(n),!0).forEach(function(r){cl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e,t){return hl(e)||ml(e,t)||pl(e,t)||$l()}function $l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pl(e,t){if(e){if(typeof e=="string")return yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yr(e,t)}}function yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ml(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){a=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function hl(e){if(Array.isArray(e))return e}function gl(e){var t=Array.prototype.slice.call(e),n=fl(t,4),r=n[0],o=n[1],a=n[2],s=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")s?(d=a,c=s):(d=void 0,c=a),o&&(d=ul({defaultCountry:o},d));else if(yl(o))a?(d=o,c=a):c=o;else throw new Error("Invalid second argument: ".concat(o));return{text:l,options:d,metadata:c}}var yl=function(t){return un(t)==="object"};function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_r(Object(n),!0).forEach(function(r){_l(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e,t,n){t&&t.defaultCountry&&!Ui(t.defaultCountry,n)&&(t=br(br({},t),{},{defaultCountry:void 0}));try{return dl(e,t,n)}catch(r){if(!(r instanceof ve))throw r}}function vl(){var e=gl(arguments),t=e.text,n=e.options,r=e.metadata;return bl(t,n,r)}function zt(){return yi(vl,arguments)}const El=[["افغانستان","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["الجزائر","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["البحرين","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["جزر القمر","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["مصر","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["ایران","ir","98",,"🇮🇷"],["العراق","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["ישראל","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["الأردن","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["الكويت","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["لبنان","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["ليبيا","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["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",,"🇲🇶"],["موريتانيا","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["المغرب","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["عُمان","om","968",,"🇴🇲"],["پاکستان","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["فلسطين","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["قطر","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["المملكة العربية السعودية","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["جنوب السودان","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්රී ලංකාව","lk","94",,"🇱🇰"],["السودان","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["سوريا","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["تونس","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["الإمارات العربية المتحدة","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["الصحراء الغربية","eh","212",1,,"🇪🇭"],["اليمن","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],Nl=El.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null}));function Ol(){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 Cl(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if(e.createTextRange){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const Sl=[{name:"allCountries",type:Array,default:Nl,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,description:"Default country, 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.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.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.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},{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",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}],Tl=[...Sl].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),vr={options:{...Tl}};function Q(e){const t=vr.options[e];return typeof t>"u"?vr.options[e]:t}const wl=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:go},props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>Q("allCountries")},autoFormat:{type:Boolean,default:()=>Q("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>Q("customValidate")},defaultCountry:{type:String,default:()=>Q("defaultCountry")},disabled:{type:Boolean,default:()=>Q("disabled")},autoDefaultCountry:{type:Boolean,default:()=>Q("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>Q("dropdownOptions")},ignoredCountries:{type:Array,default:()=>Q("ignoredCountries")},inputOptions:{type:Object,default:()=>Q("inputOptions")},invalidMsg:{type:String,default:()=>Q("invalidMsg")},mode:{type:String,default:()=>Q("mode")},onlyCountries:{type:Array,default:()=>Q("onlyCountries")},preferredCountries:{type:Array,default:()=>Q("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>Q("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>Q("styleClasses")},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""}},data(){return{counter:5,initCounter:5,message:{action:null,amount:null},phone:this.modelValue?this.modelValue:"",activeCountryCode:"",open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,dropdownOpenDirection:"below",parsedPlaceholder:this.Placeholder!==""?this.Placeholder:this.inputOptions.placeholder}},watch:{activeCountry(e,t){if(!e&&(t!=null&&t.iso2)){this.activeCountryCode=t.iso2;return}e!=null&&e.iso2&&this.$emit("country-changed",e)},"phoneObject.countryCode":function(e){this.activeCountryCode=e},"phoneObject.valid":function(){this.$emit("validate",this.phoneObject)},"phoneObject.formatted":function(e){!this.autoFormat||this.customValidate||(this.emitInput(e),this.$nextTick(()=>{e&&!this.value&&(this.phone=e)}))},"inputOptions.placeholder":function(){this.resetPlaceholder()},value(e,t){this.testCharacters()?this.phone=e:this.$nextTick(()=>{this.phone=t,this.onInput()})},open(e){e?(this.setDropdownPosition(),this.$emit("open")):this.$emit("close")}},mounted(){this.cleanInvalidCharacters(),this.initializeCountry().then(()=>{var e;!this.phone&&((e=this.inputOptions)!=null&&e.showDialCode)&&this.activeCountryCode&&(this.phone=`+${this.activeCountryCode}`),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},computed:{activeCountry(){return this.findCountry(this.activeCountryCode)},activeCountryFlag(){return this.activeCountry?this.activeCountry.flag:null},parsedMode(){return this.mode==="auto"?!this.phone||this.phone[0]!=="+"?"national":"international":["international","national"].includes(this.mode)?this.mode:(console.error('Invalid value of prop "mode"'),"international")},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(({iso2:e})=>this.onlyCountries.some(t=>t.toUpperCase()===e)):this.ignoredCountries.length?this.allCountries.filter(({iso2:e})=>!this.ignoredCountries.includes(e.toUpperCase())&&!this.ignoredCountries.includes(e.toLowerCase())):this.allCountries},sortedCountries(){return[...this.getCountries(this.preferredCountries).map(t=>({...t,preferred:!0})),...this.filteredCountries]},phoneObject(){var a,s,l;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=zt(this.phone)||{}:e=zt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(s=e.isValid)==null?void 0:s.call(e),o=this.phone;return r&&(o=(l=e.format)==null?void 0:l.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:o}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?Ol().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,o=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:o}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=zt(this.phoneObject.nationalNumber,t.iso2).formatInternational();return}if((r=this.inputOptions)!=null&&r.showDialCode&&t){this.phone=`+${t.dialCode}`;return}this.activeCountryCode=t.iso2,this.emitInput(this.phone)}},cleanInvalidCharacters(){const e=this.phone;if(this.validCharactersOnly){const t=this.phone.match(/[()\-+0-9\s]*/g);this.phone=t.join("")}if(this.customValidate&&this.customValidate instanceof RegExp){const t=this.phone.match(this.customValidate);this.phone=t.join("")}e!==this.phone&&this.emitInput(this.phone)},testCharacters(){return this.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(this.phone)?!1:this.customValidate?this.testCustomValidate():!0},testCustomValidate(){return this.customValidate instanceof RegExp?this.customValidate.test(this.phone):!1},onInput(){this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.emitInput(this.phoneObject)},emitInput(e){this.$emit("update:modelValue",e)},onBlur(){this.$emit("blur")},onFocus(){Cl(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,o=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||o)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Ll=["tabindex"],Pl={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Il=["innerHTML"],Al={key:1,class:"vti__country-code"},kl=["onClick","onMousemove"],Dl=["innerHTML"],Rl={key:1},Fl=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Ml={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function xl(e,t,n,r,o,a){const s=i.resolveDirective("click-outside");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:i.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...l)=>e.keyboardNav&&e.keyboardNav(...l)),t[2]||(t[2]=i.withKeys((...l)=>e.reset&&e.reset(...l),["esc"]))],onClick:t[1]||(t[1]=(...l)=>e.toggleDropdown&&e.toggleDropdown(...l)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",Pl,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Il)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",Al," +"+i.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):i.createCommentVNode("",!0)]),i.withDirectives(i.createElementVNode("ul",{ref:"list",class:i.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:i.normalizeStyle([e.listStyle])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.sortedCountries,(l,d)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(d,l.iso2)]]),key:l.iso2+(l.preferred?"-preferred":""),onClick:c=>e.choose(l),onMousemove:c=>e.selectedIndex=d},[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:l.flag,class:"mn-r-thin"},null,8,Dl)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(l.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Rl," +"+i.toDisplayString(l.dialCode),1)):i.createCommentVNode("",!0)],42,kl))),128))],6),[[i.vShow,e.open]])],46,Ll)),[[s,e.clickedOutside]]),i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>e.phone=l),pattern:"[0-9]*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:i.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:i.normalizeStyle([e.inputStyle,e.Istyles]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:e.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:t[4]||(t[4]=(...l)=>e.onBlur&&e.onBlur(...l)),onFocus:t[5]||(t[5]=(...l)=>e.onFocus&&e.onFocus(...l)),onInput:t[6]||(t[6]=(...l)=>e.onInput&&e.onInput(...l)),onKeyup:[t[7]||(t[7]=i.withKeys((...l)=>e.onEnter&&e.onEnter(...l),["enter"])),t[8]||(t[8]=i.withKeys((...l)=>e.onSpace&&e.onSpace(...l),["space"]))]},null,46,Fl),[[i.vModelDynamic,e.phone]]),i.renderSlot(e.$slots,"default",{},void 0,!0)],6),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",Ml," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const wo=ue(wl,[["render",xl],["__scopeId","data-v-50353ca7"]]),Vl=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"}));const Bl=e=>(i.pushScopeId("data-v-29acef04"),e=e(),i.popScopeId(),e),Ul={class:"pos-relative map-container"},jl=Bl(()=>i.createElementVNode("svg",{class:"i-medium",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"white"}),i.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"white"})],-1)),Gl=[jl],Hl={__name:"LocationMarker",props:{location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},apiKey:String},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=i.ref(null);let o,a;i.onMounted(()=>{o=new google.maps.Map(r.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1}),a=new google.maps.Marker({position:n.location,map:o,draggable:!0}),a.addListener("dragend",d=>{const c={lat:d.latLng.lat(),lng:d.latLng.lng()};t("update:location",c),s(c)})}),i.watchEffect(()=>{n.location&&a&&a.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&o){const d=new google.maps.LatLng(n.location.lat,n.location.lng);o.setCenter(d)}});function s(d){new google.maps.Geocoder().geocode({location:d},(p,$)=>{if($==="OK")if(p[0]){t("update:address",p[0].formatted_address);let g="",S="",N="";p[0].address_components.forEach(b=>{b.types.includes("country")&&(g=b.long_name),b.types.includes("administrative_area_level_1")&&(S=b.long_name),b.types.includes("locality")&&(N=b.long_name)}),t("update:country",g),t("update:state",S),t("update:city",N)}else console.error("No results found");else console.error("Geocoder failed due to: "+$)})}async function l(){navigator.geolocation?navigator.geolocation.getCurrentPosition(d=>{const c={lat:d.coords.latitude,lng:d.coords.longitude};t("update:location",c),s(c)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(d,c)=>(i.openBlock(),i.createElementBlock("div",Ul,[i.createElementVNode("div",{ref_key:"mapContainer",ref:r,class:"w-100 h-100"},null,512),i.createElementVNode("button",{class:"pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",onClick:l},Gl)]))}},Lo=ue(Hl,[["__scopeId","data-v-29acef04"]]),Wl=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"}));const Kl={__name:"Map",props:{location:Object},setup(e){const t=e;let n=i.ref(null),r=null,o=null;return i.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),o=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),i.watch(()=>t.location,()=>{r&&o&&(o.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(a,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Po=ue(Kl,[["__scopeId","data-v-c194b4a5"]]),Yl=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"}));/*!
|
9
9
|
* vue-router v4.1.6
|
10
10
|
* (c) 2022 Eduardo San Martin Morote
|
11
11
|
* @license MIT
|
@@ -19,18 +19,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
19
19
|
* (c) 2023 kazuya kawaguchi
|
20
20
|
* Released under the MIT License.
|
21
21
|
*/function ld(e,t,n){return{line:e,column:t,offset:n}}function cn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const dd=/\{([0-9a-zA-Z]+)\}/g;function ud(e,...t){return t.length===1&&cd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(dd,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const ko=Object.assign,Lr=e=>typeof e=="string",cd=e=>e!==null&&typeof e=="object";function Do(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const k={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},fd={[k.EXPECTED_TOKEN]:"Expected token: '{0}'",[k.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[k.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[k.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[k.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[k.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[k.EMPTY_PLACEHOLDER]:"Empty placeholder",[k.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[k.INVALID_LINKED_FORMAT]:"Invalid linked format",[k.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[k.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[k.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[k.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[k.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[k.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tt(e,t,n={}){const{domain:r,messages:o,args:a}=n,s=ud((o||fd)[e]||"",...a||[]),l=new SyntaxError(String(s));return l.code=e,t&&(l.location=t),l.domain=r,l}function $d(e){throw e}const pd=/<\/?[\w\s="/.':;#-\/]+>/,md=e=>pd.test(e),be=" ",hd="\r",ee=`
|
22
|
-
`,gd=String.fromCharCode(8232),yd=String.fromCharCode(8233);function _d(e){const t=e;let n=0,r=1,o=1,a=0;const s=O=>t[O]===hd&&t[O+1]===ee,l=O=>t[O]===ee,d=O=>t[O]===yd,c=O=>t[O]===gd,p=O=>s(O)||l(O)||d(O)||c(O),$=()=>n,g=()=>r,S=()=>o,N=()=>a,b=O=>s(O)||d(O)||c(O)?ee:t[O],w=()=>b(n),m=()=>b(n+a);function y(){return a=0,p(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function C(){return s(n+a)&&a++,a++,t[n+a]}function E(){n=0,r=1,o=1,a=0}function I(O=0){a=O}function L(){const O=n+a;for(;O!==n;)y();a=0}return{index:$,line:g,column:S,peekOffset:N,charAt:b,currentChar:w,currentPeek:m,next:y,peek:C,reset:E,resetPeek:I,skipToPeek:L}}const Te=void 0,bd=".",Pr="'",vd="tokenizer";function Ed(e,t={}){const n=t.location!==!1,r=_d(e),o=()=>r.index(),a=()=>ld(r.line(),r.column(),r.index()),s=a(),l=o(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:p}=t;function $(f,u,h,...P){const D=c();if(u.column+=h,u.offset+=h,p){const x=n?cn(D.startLoc,u):null,me=tt(f,x,{domain:vd,args:P});p(me)}}function g(f,u,h){f.endLoc=a(),f.currentType=u;const P={type:u};return n&&(P.loc=cn(f.startLoc,f.endLoc)),h!=null&&(P.value=h),P}const S=f=>g(f,14);function N(f,u){return f.currentChar()===u?(f.next(),u):($(k.EXPECTED_TOKEN,a(),0,u),"")}function b(f){let u="";for(;f.currentPeek()===be||f.currentPeek()===ee;)u+=f.currentPeek(),f.peek();return u}function w(f){const u=b(f);return f.skipToPeek(),u}function m(f){if(f===Te)return!1;const u=f.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(f){if(f===Te)return!1;const u=f.charCodeAt(0);return u>=48&&u<=57}function C(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=m(f.currentPeek());return f.resetPeek(),P}function E(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=f.currentPeek()==="-"?f.peek():f.currentPeek(),D=y(P);return f.resetPeek(),D}function I(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=f.currentPeek()===Pr;return f.resetPeek(),P}function L(f,u){const{currentType:h}=u;if(h!==8)return!1;b(f);const P=f.currentPeek()===".";return f.resetPeek(),P}function O(f,u){const{currentType:h}=u;if(h!==9)return!1;b(f);const P=m(f.currentPeek());return f.resetPeek(),P}function R(f,u){const{currentType:h}=u;if(!(h===8||h===12))return!1;b(f);const P=f.currentPeek()===":";return f.resetPeek(),P}function V(f,u){const{currentType:h}=u;if(h!==10)return!1;const P=()=>{const x=f.currentPeek();return x==="{"?m(f.peek()):x==="@"||x==="%"||x==="|"||x===":"||x==="."||x===be||!x?!1:x===ee?(f.peek(),P()):m(x)},D=P();return f.resetPeek(),D}function W(f){b(f);const u=f.currentPeek()==="|";return f.resetPeek(),u}function ce(f){const u=b(f),h=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:h,hasSpace:u.length>0}}function q(f,u=!0){const h=(D=!1,x="",me=!1)=>{const _e=f.currentPeek();return _e==="{"?x==="%"?!1:D:_e==="@"||!_e?x==="%"?!0:D:_e==="%"?(f.peek(),h(D,"%",!0)):_e==="|"?x==="%"||me?!0:!(x===be||x===ee):_e===be?(f.peek(),h(!0,be,me)):_e===ee?(f.peek(),h(!0,ee,me)):!0},P=h();return u&&f.resetPeek(),P}function ae(f,u){const h=f.currentChar();return h===Te?Te:u(h)?(f.next(),h):null}function Ge(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function rt(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=48&&P<=57})}function pe(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function He(f){let u="",h="";for(;u=rt(f);)h+=u;return h}function ot(f){w(f);const u=f.currentChar();return u!=="%"&&$(k.EXPECTED_TOKEN,a(),0,u),f.next(),"%"}function We(f){let u="";for(;;){const h=f.currentChar();if(h==="{"||h==="}"||h==="@"||h==="|"||!h)break;if(h==="%")if(q(f))u+=h,f.next();else break;else if(h===be||h===ee)if(q(f))u+=h,f.next();else{if(W(f))break;u+=h,f.next()}else u+=h,f.next()}return u}function fe(f){w(f);let u="",h="";for(;u=Ge(f);)h+=u;return f.currentChar()===Te&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h}function Ke(f){w(f);let u="";return f.currentChar()==="-"?(f.next(),u+=`-${He(f)}`):u+=He(f),f.currentChar()===Te&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),u}function at(f){w(f),N(f,"'");let u="",h="";const P=x=>x!==Pr&&x!==ee;for(;u=ae(f,P);)u==="\\"?h+=it(f):h+=u;const D=f.currentChar();return D===ee||D===Te?($(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),D===ee&&(f.next(),N(f,"'")),h):(N(f,"'"),h)}function it(f){const u=f.currentChar();switch(u){case"\\":case"'":return f.next(),`\\${u}`;case"u":return Ye(f,u,4);case"U":return Ye(f,u,6);default:return $(k.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function Ye(f,u,h){N(f,u);let P="";for(let D=0;D<h;D++){const x=pe(f);if(!x){$(k.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${P}${f.currentChar()}`);break}P+=x}return`\\${u}${P}`}function st(f){w(f);let u="",h="";const P=D=>D!=="{"&&D!=="}"&&D!==be&&D!==ee;for(;u=ae(f,P);)h+=u;return h}function Et(f){let u="",h="";for(;u=Ge(f);)h+=u;return h}function lt(f){const u=(h=!1,P)=>{const D=f.currentChar();return D==="{"||D==="%"||D==="@"||D==="|"||D==="("||D===")"||!D||D===be?P:D===ee||D===bd?(P+=D,f.next(),u(h,P)):(P+=D,f.next(),u(!0,P))};return u(!1,"")}function De(f){w(f);const u=N(f,"|");return w(f),u}function Re(f,u){let h=null;switch(f.currentChar()){case"{":return u.braceNest>=1&&$(k.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),f.next(),h=g(u,2,"{"),w(f),u.braceNest++,h;case"}":return u.braceNest>0&&u.currentType===2&&$(k.EMPTY_PLACEHOLDER,a(),0),f.next(),h=g(u,3,"}"),u.braceNest--,u.braceNest>0&&w(f),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),h;case"@":return u.braceNest>0&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h=Se(f,u)||S(u),u.braceNest=0,h;default:let D=!0,x=!0,me=!0;if(W(f))return u.braceNest>0&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,h;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return $(k.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,Fe(f,u);if(D=C(f,u))return h=g(u,5,fe(f)),w(f),h;if(x=E(f,u))return h=g(u,6,Ke(f)),w(f),h;if(me=I(f,u))return h=g(u,7,at(f)),w(f),h;if(!D&&!x&&!me)return h=g(u,13,st(f)),$(k.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,h.value),w(f),h;break}return h}function Se(f,u){const{currentType:h}=u;let P=null;const D=f.currentChar();switch((h===8||h===9||h===12||h===10)&&(D===ee||D===be)&&$(k.INVALID_LINKED_FORMAT,a(),0),D){case"@":return f.next(),P=g(u,8,"@"),u.inLinked=!0,P;case".":return w(f),f.next(),g(u,9,".");case":":return w(f),f.next(),g(u,10,":");default:return W(f)?(P=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,P):L(f,u)||R(f,u)?(w(f),Se(f,u)):O(f,u)?(w(f),g(u,12,Et(f))):V(f,u)?(w(f),D==="{"?Re(f,u)||P:g(u,11,lt(f))):(h===8&&$(k.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,Fe(f,u))}}function Fe(f,u){let h={type:14};if(u.braceNest>0)return Re(f,u)||S(u);if(u.inLinked)return Se(f,u)||S(u);switch(f.currentChar()){case"{":return Re(f,u)||S(u);case"}":return $(k.UNBALANCED_CLOSING_BRACE,a(),0),f.next(),g(u,3,"}");case"@":return Se(f,u)||S(u);default:if(W(f))return h=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,h;const{isModulo:D,hasSpace:x}=ce(f);if(D)return x?g(u,0,We(f)):g(u,4,ot(f));if(q(f))return g(u,0,We(f));break}return h}function dt(){const{currentType:f,offset:u,startLoc:h,endLoc:P}=d;return d.lastType=f,d.lastOffset=u,d.lastStartLoc=h,d.lastEndLoc=P,d.offset=o(),d.startLoc=a(),r.currentChar()===Te?g(d,14):Fe(r,d)}return{nextToken:dt,currentOffset:o,currentPosition:a,context:c}}const Nd="parser",Od=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Cd(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Sd(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,C,E,...I){const L=m.currentPosition();if(L.offset+=E,L.column+=E,n){const O=t?cn(C,L):null,R=tt(y,O,{domain:Nd,args:I});n(R)}}function o(m,y,C){const E={type:m};return t&&(E.start=y,E.end=y,E.loc={start:C,end:C}),E}function a(m,y,C,E){E&&(m.type=E),t&&(m.end=y,m.loc&&(m.loc.end=C))}function s(m,y){const C=m.context(),E=o(3,C.offset,C.startLoc);return E.value=y,a(E,m.currentOffset(),m.currentPosition()),E}function l(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(5,E,I);return L.index=parseInt(y,10),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function d(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(4,E,I);return L.key=y,m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function c(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(9,E,I);return L.value=y.replace(Od,Cd),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function p(m){const y=m.nextToken(),C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(8,E,I);return y.type!==12?(r(m,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),L.value="",a(L,E,I),{nextConsumeToken:y,node:L}):(y.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,he(y)),L.value=y.value||"",a(L,m.currentOffset(),m.currentPosition()),{node:L})}function $(m,y){const C=m.context(),E=o(7,C.offset,C.startLoc);return E.value=y,a(E,m.currentOffset(),m.currentPosition()),E}function g(m){const y=m.context(),C=o(6,y.offset,y.startLoc);let E=m.nextToken();if(E.type===9){const I=p(m);C.modifier=I.node,E=I.nextConsumeToken||m.nextToken()}switch(E.type!==10&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),E=m.nextToken(),E.type===2&&(E=m.nextToken()),E.type){case 11:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=$(m,E.value||"");break;case 5:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=d(m,E.value||"");break;case 6:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=l(m,E.value||"");break;case 7:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=c(m,E.value||"");break;default:r(m,k.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=m.context(),L=o(7,I.offset,I.startLoc);return L.value="",a(L,I.offset,I.startLoc),C.key=L,a(C,I.offset,I.startLoc),{nextConsumeToken:E,node:C}}return a(C,m.currentOffset(),m.currentPosition()),{node:C}}function S(m){const y=m.context(),C=y.currentType===1?m.currentOffset():y.offset,E=y.currentType===1?y.endLoc:y.startLoc,I=o(2,C,E);I.items=[];let L=null;do{const V=L||m.nextToken();switch(L=null,V.type){case 0:V.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(V)),I.items.push(s(m,V.value||""));break;case 6:V.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(V)),I.items.push(l(m,V.value||""));break;case 5:V.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(V)),I.items.push(d(m,V.value||""));break;case 7:V.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(V)),I.items.push(c(m,V.value||""));break;case 8:const W=g(m);I.items.push(W.node),L=W.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const O=y.currentType===1?y.lastOffset:m.currentOffset(),R=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(I,O,R),I}function N(m,y,C,E){const I=m.context();let L=E.items.length===0;const O=o(1,y,C);O.cases=[],O.cases.push(E);do{const R=S(m);L||(L=R.items.length===0),O.cases.push(R)}while(I.currentType!==14);return L&&r(m,k.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),a(O,m.currentOffset(),m.currentPosition()),O}function b(m){const y=m.context(),{offset:C,startLoc:E}=y,I=S(m);return y.currentType===14?I:N(m,C,E,I)}function w(m){const y=Ed(m,ko({},e)),C=y.context(),E=o(0,C.offset,C.startLoc);return t&&E.loc&&(E.loc.source=m),E.body=b(y),e.onCacheKey&&(E.cacheKey=e.onCacheKey(m)),C.currentType!==14&&r(y,k.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,m[C.offset]||""),a(E,y.currentOffset(),y.currentPosition()),E}return{parse:w}}function he(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Td(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ir(e,t){for(let n=0;n<e.length;n++)Dn(e[n],t)}function Dn(e,t){switch(e.type){case 1:Ir(e.cases,t),t.helper("plural");break;case 2:Ir(e.items,t);break;case 6:Dn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function wd(e,t={}){const n=Td(e);n.helper("normalize"),e.body&&Dn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ld(e){const t=e.body;return t.type===2?Ar(t):t.cases.forEach(n=>Ar(n)),e}function Ar(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Do(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Pd="minifier";function qe(e){switch(e.t=e.type,e.type){case 0:const t=e;qe(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let p=0;p<r.length;p++)qe(r[p]);n.c=r,delete n.cases;break;case 2:const o=e,a=o.items;for(let p=0;p<a.length;p++)qe(a[p]);o.i=a,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const l=e;qe(l.key),l.k=l.key,delete l.key,l.modifier&&(qe(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const d=e;d.i=d.index,delete d.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw tt(k.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Pd,args:[e.type]})}delete e.type}const Id="parser";function Ad(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:a}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(w,m){l.code+=w}function p(w,m=!0){const y=m?o:"";c(a?y+" ".repeat(w):y)}function $(w=!0){const m=++l.indentLevel;w&&p(m)}function g(w=!0){const m=--l.indentLevel;w&&p(m)}function S(){p(l.indentLevel)}return{context:d,push:c,indent:$,deindent:g,newline:S,helper:w=>`_${w}`,needIndent:()=>l.needIndent}}function kd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Qe(e,t.key),t.modifier?(e.push(", "),Qe(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(Qe(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Rd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(Qe(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Fd(e,t){t.body?Qe(e,t.body):e.push("null")}function Qe(e,t){const{helper:n}=e;switch(t.type){case 0:Fd(e,t);break;case 1:Rd(e,t);break;case 2:Dd(e,t);break;case 6:kd(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw tt(k.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Id,args:[t.type]})}}const Md=(e,t={})=>{const n=Lr(t.mode)?t.mode:"normal",r=Lr(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
23
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Ad(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:s});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),l.length>0&&(d.push(`const { ${Do(l.map($=>`${$}: _${$}`),", ")} } = ctx`),d.newline()),d.push("return "),Qe(d,e),d.deindent(s),d.push("}"),delete e.helpers;const{code:c,map:p}=d.context();return{ast:e,code:c,map:p?p.toJSON():void 0}};function
|
22
|
+
`,gd=String.fromCharCode(8232),yd=String.fromCharCode(8233);function _d(e){const t=e;let n=0,r=1,o=1,a=0;const s=O=>t[O]===hd&&t[O+1]===ee,l=O=>t[O]===ee,d=O=>t[O]===yd,c=O=>t[O]===gd,p=O=>s(O)||l(O)||d(O)||c(O),$=()=>n,g=()=>r,S=()=>o,N=()=>a,b=O=>s(O)||d(O)||c(O)?ee:t[O],w=()=>b(n),m=()=>b(n+a);function y(){return a=0,p(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function C(){return s(n+a)&&a++,a++,t[n+a]}function E(){n=0,r=1,o=1,a=0}function I(O=0){a=O}function L(){const O=n+a;for(;O!==n;)y();a=0}return{index:$,line:g,column:S,peekOffset:N,charAt:b,currentChar:w,currentPeek:m,next:y,peek:C,reset:E,resetPeek:I,skipToPeek:L}}const Te=void 0,bd=".",Pr="'",vd="tokenizer";function Ed(e,t={}){const n=t.location!==!1,r=_d(e),o=()=>r.index(),a=()=>ld(r.line(),r.column(),r.index()),s=a(),l=o(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:p}=t;function $(f,u,h,...P){const D=c();if(u.column+=h,u.offset+=h,p){const V=n?cn(D.startLoc,u):null,me=tt(f,V,{domain:vd,args:P});p(me)}}function g(f,u,h){f.endLoc=a(),f.currentType=u;const P={type:u};return n&&(P.loc=cn(f.startLoc,f.endLoc)),h!=null&&(P.value=h),P}const S=f=>g(f,14);function N(f,u){return f.currentChar()===u?(f.next(),u):($(k.EXPECTED_TOKEN,a(),0,u),"")}function b(f){let u="";for(;f.currentPeek()===be||f.currentPeek()===ee;)u+=f.currentPeek(),f.peek();return u}function w(f){const u=b(f);return f.skipToPeek(),u}function m(f){if(f===Te)return!1;const u=f.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(f){if(f===Te)return!1;const u=f.charCodeAt(0);return u>=48&&u<=57}function C(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=m(f.currentPeek());return f.resetPeek(),P}function E(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=f.currentPeek()==="-"?f.peek():f.currentPeek(),D=y(P);return f.resetPeek(),D}function I(f,u){const{currentType:h}=u;if(h!==2)return!1;b(f);const P=f.currentPeek()===Pr;return f.resetPeek(),P}function L(f,u){const{currentType:h}=u;if(h!==8)return!1;b(f);const P=f.currentPeek()===".";return f.resetPeek(),P}function O(f,u){const{currentType:h}=u;if(h!==9)return!1;b(f);const P=m(f.currentPeek());return f.resetPeek(),P}function R(f,u){const{currentType:h}=u;if(!(h===8||h===12))return!1;b(f);const P=f.currentPeek()===":";return f.resetPeek(),P}function x(f,u){const{currentType:h}=u;if(h!==10)return!1;const P=()=>{const V=f.currentPeek();return V==="{"?m(f.peek()):V==="@"||V==="%"||V==="|"||V===":"||V==="."||V===be||!V?!1:V===ee?(f.peek(),P()):m(V)},D=P();return f.resetPeek(),D}function W(f){b(f);const u=f.currentPeek()==="|";return f.resetPeek(),u}function ce(f){const u=b(f),h=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:h,hasSpace:u.length>0}}function q(f,u=!0){const h=(D=!1,V="",me=!1)=>{const _e=f.currentPeek();return _e==="{"?V==="%"?!1:D:_e==="@"||!_e?V==="%"?!0:D:_e==="%"?(f.peek(),h(D,"%",!0)):_e==="|"?V==="%"||me?!0:!(V===be||V===ee):_e===be?(f.peek(),h(!0,be,me)):_e===ee?(f.peek(),h(!0,ee,me)):!0},P=h();return u&&f.resetPeek(),P}function ae(f,u){const h=f.currentChar();return h===Te?Te:u(h)?(f.next(),h):null}function Ge(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function rt(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=48&&P<=57})}function pe(f){return ae(f,h=>{const P=h.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function He(f){let u="",h="";for(;u=rt(f);)h+=u;return h}function ot(f){w(f);const u=f.currentChar();return u!=="%"&&$(k.EXPECTED_TOKEN,a(),0,u),f.next(),"%"}function We(f){let u="";for(;;){const h=f.currentChar();if(h==="{"||h==="}"||h==="@"||h==="|"||!h)break;if(h==="%")if(q(f))u+=h,f.next();else break;else if(h===be||h===ee)if(q(f))u+=h,f.next();else{if(W(f))break;u+=h,f.next()}else u+=h,f.next()}return u}function fe(f){w(f);let u="",h="";for(;u=Ge(f);)h+=u;return f.currentChar()===Te&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h}function Ke(f){w(f);let u="";return f.currentChar()==="-"?(f.next(),u+=`-${He(f)}`):u+=He(f),f.currentChar()===Te&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),u}function at(f){w(f),N(f,"'");let u="",h="";const P=V=>V!==Pr&&V!==ee;for(;u=ae(f,P);)u==="\\"?h+=it(f):h+=u;const D=f.currentChar();return D===ee||D===Te?($(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),D===ee&&(f.next(),N(f,"'")),h):(N(f,"'"),h)}function it(f){const u=f.currentChar();switch(u){case"\\":case"'":return f.next(),`\\${u}`;case"u":return Ye(f,u,4);case"U":return Ye(f,u,6);default:return $(k.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function Ye(f,u,h){N(f,u);let P="";for(let D=0;D<h;D++){const V=pe(f);if(!V){$(k.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${P}${f.currentChar()}`);break}P+=V}return`\\${u}${P}`}function st(f){w(f);let u="",h="";const P=D=>D!=="{"&&D!=="}"&&D!==be&&D!==ee;for(;u=ae(f,P);)h+=u;return h}function Et(f){let u="",h="";for(;u=Ge(f);)h+=u;return h}function lt(f){const u=(h=!1,P)=>{const D=f.currentChar();return D==="{"||D==="%"||D==="@"||D==="|"||D==="("||D===")"||!D||D===be?P:D===ee||D===bd?(P+=D,f.next(),u(h,P)):(P+=D,f.next(),u(!0,P))};return u(!1,"")}function De(f){w(f);const u=N(f,"|");return w(f),u}function Re(f,u){let h=null;switch(f.currentChar()){case"{":return u.braceNest>=1&&$(k.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),f.next(),h=g(u,2,"{"),w(f),u.braceNest++,h;case"}":return u.braceNest>0&&u.currentType===2&&$(k.EMPTY_PLACEHOLDER,a(),0),f.next(),h=g(u,3,"}"),u.braceNest--,u.braceNest>0&&w(f),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),h;case"@":return u.braceNest>0&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h=Se(f,u)||S(u),u.braceNest=0,h;default:let D=!0,V=!0,me=!0;if(W(f))return u.braceNest>0&&$(k.UNTERMINATED_CLOSING_BRACE,a(),0),h=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,h;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return $(k.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,Fe(f,u);if(D=C(f,u))return h=g(u,5,fe(f)),w(f),h;if(V=E(f,u))return h=g(u,6,Ke(f)),w(f),h;if(me=I(f,u))return h=g(u,7,at(f)),w(f),h;if(!D&&!V&&!me)return h=g(u,13,st(f)),$(k.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,h.value),w(f),h;break}return h}function Se(f,u){const{currentType:h}=u;let P=null;const D=f.currentChar();switch((h===8||h===9||h===12||h===10)&&(D===ee||D===be)&&$(k.INVALID_LINKED_FORMAT,a(),0),D){case"@":return f.next(),P=g(u,8,"@"),u.inLinked=!0,P;case".":return w(f),f.next(),g(u,9,".");case":":return w(f),f.next(),g(u,10,":");default:return W(f)?(P=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,P):L(f,u)||R(f,u)?(w(f),Se(f,u)):O(f,u)?(w(f),g(u,12,Et(f))):x(f,u)?(w(f),D==="{"?Re(f,u)||P:g(u,11,lt(f))):(h===8&&$(k.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,Fe(f,u))}}function Fe(f,u){let h={type:14};if(u.braceNest>0)return Re(f,u)||S(u);if(u.inLinked)return Se(f,u)||S(u);switch(f.currentChar()){case"{":return Re(f,u)||S(u);case"}":return $(k.UNBALANCED_CLOSING_BRACE,a(),0),f.next(),g(u,3,"}");case"@":return Se(f,u)||S(u);default:if(W(f))return h=g(u,1,De(f)),u.braceNest=0,u.inLinked=!1,h;const{isModulo:D,hasSpace:V}=ce(f);if(D)return V?g(u,0,We(f)):g(u,4,ot(f));if(q(f))return g(u,0,We(f));break}return h}function dt(){const{currentType:f,offset:u,startLoc:h,endLoc:P}=d;return d.lastType=f,d.lastOffset=u,d.lastStartLoc=h,d.lastEndLoc=P,d.offset=o(),d.startLoc=a(),r.currentChar()===Te?g(d,14):Fe(r,d)}return{nextToken:dt,currentOffset:o,currentPosition:a,context:c}}const Nd="parser",Od=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Cd(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Sd(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,C,E,...I){const L=m.currentPosition();if(L.offset+=E,L.column+=E,n){const O=t?cn(C,L):null,R=tt(y,O,{domain:Nd,args:I});n(R)}}function o(m,y,C){const E={type:m};return t&&(E.start=y,E.end=y,E.loc={start:C,end:C}),E}function a(m,y,C,E){E&&(m.type=E),t&&(m.end=y,m.loc&&(m.loc.end=C))}function s(m,y){const C=m.context(),E=o(3,C.offset,C.startLoc);return E.value=y,a(E,m.currentOffset(),m.currentPosition()),E}function l(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(5,E,I);return L.index=parseInt(y,10),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function d(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(4,E,I);return L.key=y,m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function c(m,y){const C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(9,E,I);return L.value=y.replace(Od,Cd),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function p(m){const y=m.nextToken(),C=m.context(),{lastOffset:E,lastStartLoc:I}=C,L=o(8,E,I);return y.type!==12?(r(m,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),L.value="",a(L,E,I),{nextConsumeToken:y,node:L}):(y.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,he(y)),L.value=y.value||"",a(L,m.currentOffset(),m.currentPosition()),{node:L})}function $(m,y){const C=m.context(),E=o(7,C.offset,C.startLoc);return E.value=y,a(E,m.currentOffset(),m.currentPosition()),E}function g(m){const y=m.context(),C=o(6,y.offset,y.startLoc);let E=m.nextToken();if(E.type===9){const I=p(m);C.modifier=I.node,E=I.nextConsumeToken||m.nextToken()}switch(E.type!==10&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),E=m.nextToken(),E.type===2&&(E=m.nextToken()),E.type){case 11:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=$(m,E.value||"");break;case 5:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=d(m,E.value||"");break;case 6:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=l(m,E.value||"");break;case 7:E.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(E)),C.key=c(m,E.value||"");break;default:r(m,k.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=m.context(),L=o(7,I.offset,I.startLoc);return L.value="",a(L,I.offset,I.startLoc),C.key=L,a(C,I.offset,I.startLoc),{nextConsumeToken:E,node:C}}return a(C,m.currentOffset(),m.currentPosition()),{node:C}}function S(m){const y=m.context(),C=y.currentType===1?m.currentOffset():y.offset,E=y.currentType===1?y.endLoc:y.startLoc,I=o(2,C,E);I.items=[];let L=null;do{const x=L||m.nextToken();switch(L=null,x.type){case 0:x.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(x)),I.items.push(s(m,x.value||""));break;case 6:x.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(x)),I.items.push(l(m,x.value||""));break;case 5:x.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(x)),I.items.push(d(m,x.value||""));break;case 7:x.value==null&&r(m,k.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(x)),I.items.push(c(m,x.value||""));break;case 8:const W=g(m);I.items.push(W.node),L=W.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const O=y.currentType===1?y.lastOffset:m.currentOffset(),R=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(I,O,R),I}function N(m,y,C,E){const I=m.context();let L=E.items.length===0;const O=o(1,y,C);O.cases=[],O.cases.push(E);do{const R=S(m);L||(L=R.items.length===0),O.cases.push(R)}while(I.currentType!==14);return L&&r(m,k.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),a(O,m.currentOffset(),m.currentPosition()),O}function b(m){const y=m.context(),{offset:C,startLoc:E}=y,I=S(m);return y.currentType===14?I:N(m,C,E,I)}function w(m){const y=Ed(m,ko({},e)),C=y.context(),E=o(0,C.offset,C.startLoc);return t&&E.loc&&(E.loc.source=m),E.body=b(y),e.onCacheKey&&(E.cacheKey=e.onCacheKey(m)),C.currentType!==14&&r(y,k.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,m[C.offset]||""),a(E,y.currentOffset(),y.currentPosition()),E}return{parse:w}}function he(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Td(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ir(e,t){for(let n=0;n<e.length;n++)Dn(e[n],t)}function Dn(e,t){switch(e.type){case 1:Ir(e.cases,t),t.helper("plural");break;case 2:Ir(e.items,t);break;case 6:Dn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function wd(e,t={}){const n=Td(e);n.helper("normalize"),e.body&&Dn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ld(e){const t=e.body;return t.type===2?Ar(t):t.cases.forEach(n=>Ar(n)),e}function Ar(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Do(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Pd="minifier";function qe(e){switch(e.t=e.type,e.type){case 0:const t=e;qe(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let p=0;p<r.length;p++)qe(r[p]);n.c=r,delete n.cases;break;case 2:const o=e,a=o.items;for(let p=0;p<a.length;p++)qe(a[p]);o.i=a,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const l=e;qe(l.key),l.k=l.key,delete l.key,l.modifier&&(qe(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const d=e;d.i=d.index,delete d.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw tt(k.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Pd,args:[e.type]})}delete e.type}const Id="parser";function Ad(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:a}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(w,m){l.code+=w}function p(w,m=!0){const y=m?o:"";c(a?y+" ".repeat(w):y)}function $(w=!0){const m=++l.indentLevel;w&&p(m)}function g(w=!0){const m=--l.indentLevel;w&&p(m)}function S(){p(l.indentLevel)}return{context:d,push:c,indent:$,deindent:g,newline:S,helper:w=>`_${w}`,needIndent:()=>l.needIndent}}function kd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Qe(e,t.key),t.modifier?(e.push(", "),Qe(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(Qe(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Rd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(Qe(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Fd(e,t){t.body?Qe(e,t.body):e.push("null")}function Qe(e,t){const{helper:n}=e;switch(t.type){case 0:Fd(e,t);break;case 1:Rd(e,t);break;case 2:Dd(e,t);break;case 6:kd(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw tt(k.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Id,args:[t.type]})}}const Md=(e,t={})=>{const n=Lr(t.mode)?t.mode:"normal",r=Lr(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
23
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Ad(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:s});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),l.length>0&&(d.push(`const { ${Do(l.map($=>`${$}: _${$}`),", ")} } = ctx`),d.newline()),d.push("return "),Qe(d,e),d.deindent(s),d.push("}"),delete e.helpers;const{code:c,map:p}=d.context();return{ast:e,code:c,map:p?p.toJSON():void 0}};function xd(e,t={}){const n=ko({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null?!0:n.optimize,l=Sd(n).parse(e);return r?(a&&Ld(l),o&&qe(l),{ast:l,code:""}):(wd(l,n),Md(l,n))}/*!
|
24
24
|
* core-base v9.7.0
|
25
25
|
* (c) 2023 kazuya kawaguchi
|
26
26
|
* Released under the MIT License.
|
27
|
-
*/function xd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ee().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ee().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ee().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const ke=[];ke[0]={w:[0],i:[3,0],"[":[4],o:[7]};ke[1]={w:[1],".":[2],"[":[4],o:[7]};ke[2]={w:[2],i:[3,0],0:[3,0]};ke[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ke[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ke[5]={"'":[4,0],o:8,l:[5,0]};ke[6]={'"':[4,0],o:8,l:[6,0]};const Bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ud(e){return Bd.test(e)}function jd(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Gd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Hd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ud(t)?jd(t):"*"+t}function Wd(e){const t=[];let n=-1,r=0,o=0,a,s,l,d,c,p,$;const g=[];g[0]=()=>{s===void 0?s=l:s+=l},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,s===void 0||(s=Hd(s),s===!1))return!1;g[1]()}};function S(){const N=e[n+1];if(r===5&&N==="'"||r===6&&N==='"')return n++,l="\\"+N,g[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&S())){if(d=Gd(a),$=ke[r],c=$[d]||$.l||8,c===8||(r=c[0],c[1]!==void 0&&(p=g[c[1]],p&&(l=a,p()===!1))))return;if(r===7)return t}}const kr=new Map;function Kd(e,t){return U(e)?e[t]:null}function Yd(e,t){if(!U(e))return null;let n=kr.get(t);if(n||(n=Wd(t),n&&kr.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const s=o[n[a]];if(s===void 0||H(o))return null;o=s,a++}return o}const Xd=e=>e,zd=e=>"",qd="text",Jd=e=>e.length===0?"":od(e),Zd=rd;function Dr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qd(e){const t=J(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(J(e.named.count)||J(e.named.n))?J(e.named.count)?e.named.count:J(e.named.n)?e.named.n:t:t}function eu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function tu(e={}){const t=e.locale,n=Qd(e),r=U(e.pluralRules)&&A(t)&&H(e.pluralRules[t])?e.pluralRules[t]:Dr,o=U(e.pluralRules)&&A(t)&&H(e.pluralRules[t])?Dr:void 0,a=m=>m[r(n,m.length,o)],s=e.list||[],l=m=>s[m],d=e.named||{};J(e.pluralIndex)&&eu(n,d);const c=m=>d[m];function p(m){const y=H(e.messages)?e.messages(m):U(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):zd)}const $=m=>e.modifiers?e.modifiers[m]:Xd,g=F(e.processor)&&H(e.processor.normalize)?e.processor.normalize:Jd,S=F(e.processor)&&H(e.processor.interpolate)?e.processor.interpolate:Zd,N=F(e.processor)&&A(e.processor.type)?e.processor.type:qd,w={list:l,named:c,plural:a,linked:(m,...y)=>{const[C,E]=y;let I="text",L="";y.length===1?U(C)?(L=C.modifier||L,I=C.type||I):A(C)&&(L=C||L):y.length===2&&(A(C)&&(L=C||L),A(E)&&(I=E||I));const O=p(m)(w),R=I==="vnode"&&X(O)&&L?O[0]:O;return L?$(L)(R,I):R},message:p,type:N,interpolate:S,normalize:g,values:Z({},s,d)};return w}let ht=null;function nu(e){ht=e}function ru(e,t,n){ht&&ht.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ou=au("function:translate");function au(e){return t=>ht&&ht.emit(e,t)}const te={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},iu={[te.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[te.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[te.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[te.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[te.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[te.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ue(e,...t){return An(iu[e],...t)}function Rn(e,t){return t.locale!=null?Rr(t.locale):Rr(e.locale)}let qt;function Rr(e){return A(e)?e:qt!=null&&e.resolvedOnce?qt:qt=e()}function su(e,t,n){return[...new Set([n,...X(t)?t:U(t)?Object.keys(t):A(t)?[t]:[n]])]}function Ro(e,t,n){const r=A(n)?n:gt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;X(s);)s=Fr(a,s,t);const l=X(t)||!F(t)?t:t.default?t.default:null;s=A(l)?[l]:l,X(s)&&Fr(a,s,!1),o.__localeChainCache.set(r,a)}return a}function Fr(e,t,n){let r=!0;for(let o=0;o<t.length&&j(r);o++){const a=t[o];A(a)&&(r=lu(e,t[o],n))}return r}function lu(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=du(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function du(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(X(n)||F(n))&&n[o]&&(r=n[o])}return r}const uu="9.7.0",Vt=-1,gt="en-US",kt="",Mr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cu(){return{upper:(e,t)=>t==="text"&&A(e)?e.toUpperCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&A(e)?e.toLowerCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&A(e)?Mr(e):t==="vnode"&&U(e)&&"__v_isVNode"in e?Mr(e.children):e}}let Fo;function Vr(e){Fo=e}let Mo;function fu(e){Mo=e}let Vo;function $u(e){Vo=e}let xo=null;const pu=e=>{xo=e},mu=()=>xo;let Bo=null;const xr=e=>{Bo=e},hu=()=>Bo;let Br=0;function gu(e={}){const t=H(e.onWarn)?e.onWarn:Ae,n=A(e.version)?e.version:uu,r=A(e.locale)||H(e.locale)?e.locale:gt,o=H(r)?gt:r,a=X(e.fallbackLocale)||F(e.fallbackLocale)||A(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=F(e.messages)?e.messages:{[o]:{}},l=F(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},d=F(e.numberFormats)?e.numberFormats:{[o]:{}},c=Z({},e.modifiers||{},cu()),p=e.pluralRules||{},$=H(e.missing)?e.missing:null,g=j(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,S=j(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,N=!!e.fallbackFormat,b=!!e.unresolving,w=H(e.postTranslation)?e.postTranslation:null,m=F(e.processor)?e.processor:null,y=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,E=H(e.messageCompiler)?e.messageCompiler:Fo;process.env.NODE_ENV!=="production"&&H(e.messageCompiler)&&id(Ue(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=H(e.messageResolver)?e.messageResolver:Mo||Kd,L=H(e.localeFallbacker)?e.localeFallbacker:Vo||su,O=U(e.fallbackContext)?e.fallbackContext:void 0,R=e,V=U(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,W=U(R.__numberFormatters)?R.__numberFormatters:new Map,ce=U(R.__meta)?R.__meta:{};Br++;const q={version:n,cid:Br,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:p,missing:$,missingWarn:g,fallbackWarn:S,fallbackFormat:N,unresolving:b,postTranslation:w,processor:m,warnHtmlMessage:y,escapeParameter:C,messageCompiler:E,messageResolver:I,localeFallbacker:L,fallbackContext:O,onWarn:t,__meta:ce};return q.datetimeFormats=l,q.numberFormats=d,q.__datetimeFormatters=V,q.__numberFormatters=W,process.env.NODE_ENV!=="production"&&(q.__v_emitter=R.__v_emitter!=null?R.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ru(q,n,ce),q}function xt(e,t){return e instanceof RegExp?e.test(t):e}function Uo(e,t){return e instanceof RegExp?e.test(t):e}function Fn(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return A(l)?l:t}else return process.env.NODE_ENV!=="production"&&Uo(r,t)&&s(Ue(te.NOT_FOUND_KEY,{key:t,locale:n})),t}function ut(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Jt(e){return n=>yu(n,e)}function yu(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((a,s)=>[...a,Ur(e,s)],[]))}else return Ur(e,n)}function Ur(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,a)=>[...o,fn(e,a)],[]);return e.normalize(r)}}function fn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index));case 6:const l=t,d=l.m||l.modifier;return e.linked(fn(e,l.k||l.key),d?fn(e,d):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const p=t;return p.v||p.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jo=k.__EXTEND_POINT__,Ct=kn(jo),le={INVALID_ARGUMENT:jo,INVALID_DATE_ARGUMENT:Ct(),INVALID_ISO_DATE_ARGUMENT:Ct(),NOT_SUPPORT_NON_STRING_MESSAGE:Ct(),__EXTEND_POINT__:Ct()};function xe(e){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:_u}:void 0)}const _u={[le.INVALID_ARGUMENT]:"Invalid arguments",[le.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[le.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[le.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message"},bu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Go(e,t){t&&md(e)&&Ae(An(bu,{source:e}))}const Ho=e=>e;let Je=Object.create(null);const je=e=>U(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Wo(e,t={}){let n=!1;const r=t.onError||$d;return t.onError=o=>{n=!0,r(o)},{...Vd(e,t),detectError:n}}const vu=(e,t)=>{if(!A(e))throw xe(le.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Go(e,n);const o=(t.onCacheKey||Ho)(e),a=Je[o];if(a)return a;const{code:s,detectError:l}=Wo(e,t),d=new Function(`return ${s}`)();return l?d:Je[o]=d}};function Eu(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&A(e)){const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Go(e,n);const o=(t.onCacheKey||Ho)(e),a=Je[o];if(a)return a;const{ast:s,detectError:l}=Wo(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=Jt(s);return l?d:Je[o]=d}else{if(process.env.NODE_ENV!=="production"&&!je(e))return Ae(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Je[n];return r||(Je[n]=Jt(e))}else return Jt(e)}}const jr=()=>"",se=e=>H(e);function Gr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:s,messages:l}=e,[d,c]=$n(...t),p=j(c.missingWarn)?c.missingWarn:e.missingWarn,$=j(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=j(c.escapeParameter)?c.escapeParameter:e.escapeParameter,S=!!c.resolvedMessage,N=A(c.default)||j(c.default)?j(c.default)?a?d:()=>d:c.default:n?a?d:()=>d:"",b=n||N!=="",w=Rn(e,c);g&&Nu(c);let[m,y,C]=S?[d,w,l[w]||{}]:Ko(e,d,w,s,$,p),E=m,I=d;if(!S&&!(A(E)||je(E)||se(E))&&b&&(E=N,I=E),!S&&(!(A(E)||je(E)||se(E))||!A(y)))return o?Vt:d;if(process.env.NODE_ENV!=="production"&&A(E)&&e.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let L=!1;const O=()=>{L=!0},R=se(E)?E:Yo(e,d,y,E,I,O);if(L)return E;const V=Tu(e,y,C,c),W=tu(V),ce=Ou(e,R,W),q=r?r(ce,d):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:A(d)?d:se(E)?E.key:"",locale:y||(se(E)?E.locale:""),format:A(E)?E:se(E)?E.source:"",message:q};ae.meta=Z({},e.__meta,mu()||{}),ou(ae)}return q}function Nu(e){X(e.list)?e.list=e.list.map(t=>A(t)?Sr(t):t):U(e.named)&&Object.keys(e.named).forEach(t=>{A(e.named[t])&&(e.named[t]=Sr(e.named[t]))})}function Ko(e,t,n,r,o,a){const{messages:s,onWarn:l,messageResolver:d,localeFallbacker:c}=e,p=c(e,r,n);let $={},g,S=null,N=n,b=null;const w="translate";for(let m=0;m<p.length;m++){if(g=b=p[m],process.env.NODE_ENV!=="production"&&n!==g&&xt(o,t)&&l(Ue(te.FALLBACK_TO_TRANSLATE,{key:t,target:g})),process.env.NODE_ENV!=="production"&&n!==g){const L=e.__v_emitter;L&&L.emit("fallback",{type:w,key:t,from:N,to:b,groupId:`${w}:${t}`})}$=s[g]||{};let y=null,C,E;if(process.env.NODE_ENV!=="production"&&Ie&&(y=window.performance.now(),C="intlify-message-resolve-start",E="intlify-message-resolve-end",oe&&oe(C)),(S=d($,t))===null&&(S=$[t]),process.env.NODE_ENV!=="production"&&Ie){const L=window.performance.now(),O=e.__v_emitter;O&&y&&S&&O.emit("message-resolve",{type:"message-resolve",key:t,message:S,time:L-y,groupId:`${w}:${t}`}),C&&E&&oe&&Be&&(oe(E),Be("intlify message resolve",C,E))}if(A(S)||je(S)||se(S))break;const I=Fn(e,t,g,a,w);I!==t&&(S=I),N=b}return[S,g,$]}function Yo(e,t,n,r,o,a){const{messageCompiler:s,warnHtmlMessage:l}=e;if(se(r)){const g=r;return g.locale=g.locale||n,g.key=g.key||t,g}if(s==null){const g=()=>r;return g.locale=n,g.key=t,g}let d=null,c,p;process.env.NODE_ENV!=="production"&&Ie&&(d=window.performance.now(),c="intlify-message-compilation-start",p="intlify-message-compilation-end",oe&&oe(c));const $=s(r,Cu(e,n,o,r,l,a));if(process.env.NODE_ENV!=="production"&&Ie){const g=window.performance.now(),S=e.__v_emitter;S&&d&&S.emit("message-compilation",{type:"message-compilation",message:r,time:g-d,groupId:`translate:${t}`}),c&&p&&oe&&Be&&(oe(p),Be("intlify message compilation",c,p))}return $.locale=n,$.key=t,$.source=r,$}function Ou(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&Ie&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",oe&&oe(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&Ie){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-r,groupId:`translate:${t.key}`}),o&&a&&oe&&Be&&(oe(a),Be("intlify message evaluation",o,a))}return s}function $n(...e){const[t,n,r]=e,o={};if(!A(t)&&!J(t)&&!se(t)&&!je(t))throw xe(le.INVALID_ARGUMENT);const a=J(t)?String(t):(se(t),t);return J(n)?o.plural=n:A(n)?o.default=n:F(n)&&!Mt(n)?o.named=n:X(n)&&(o.list=n),J(r)?o.plural=r:A(r)?o.default=r:F(r)&&Z(o,r),[a,o]}function Cu(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const l=Su(r),d=`Message compilation error: ${s.message}`,c=s.location&&l&&ad(l,s.location.start.offset,s.location.end.offset),p=e.__v_emitter;p&&l&&p.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
28
|
-
${c}`:d)}else throw s},onCacheKey:s=>Ql(t,n,s)}}function Su(e){if(A(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Tu(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:s,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:a,messages:S=>{let N=s(n,S);if(N==null&&p){const[,,b]=Ko(p,S,t,l,d,c);N=s(b,S)}if(A(N)||je(N)){let b=!1;const m=Yo(e,S,t,N,S,()=>{b=!0});return b?jr:m}else return se(N)?N:jr}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),J(r.plural)&&(g.pluralIndex=r.plural),g}const Hr=typeof Intl<"u",Xo={dateTimeFormat:Hr&&typeof Intl.DateTimeFormat<"u",numberFormat:Hr&&typeof Intl.NumberFormat<"u"};function Wr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Xo.dateTimeFormat)return a(Ue(te.CANNOT_FORMAT_DATE)),kt;const[d,c,p,$]=pn(...t),g=j(p.missingWarn)?p.missingWarn:e.missingWarn,S=j(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,N=!!p.part,b=Rn(e,p),w=s(e,o,b);if(!A(d)||d==="")return new Intl.DateTimeFormat(b,$).format(c);let m={},y,C=null,E=b,I=null;const L="datetime format";for(let
|
27
|
+
*/function Vd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ee().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ee().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ee().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const ke=[];ke[0]={w:[0],i:[3,0],"[":[4],o:[7]};ke[1]={w:[1],".":[2],"[":[4],o:[7]};ke[2]={w:[2],i:[3,0],0:[3,0]};ke[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ke[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ke[5]={"'":[4,0],o:8,l:[5,0]};ke[6]={'"':[4,0],o:8,l:[6,0]};const Bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ud(e){return Bd.test(e)}function jd(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Gd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Hd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ud(t)?jd(t):"*"+t}function Wd(e){const t=[];let n=-1,r=0,o=0,a,s,l,d,c,p,$;const g=[];g[0]=()=>{s===void 0?s=l:s+=l},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,s===void 0||(s=Hd(s),s===!1))return!1;g[1]()}};function S(){const N=e[n+1];if(r===5&&N==="'"||r===6&&N==='"')return n++,l="\\"+N,g[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&S())){if(d=Gd(a),$=ke[r],c=$[d]||$.l||8,c===8||(r=c[0],c[1]!==void 0&&(p=g[c[1]],p&&(l=a,p()===!1))))return;if(r===7)return t}}const kr=new Map;function Kd(e,t){return U(e)?e[t]:null}function Yd(e,t){if(!U(e))return null;let n=kr.get(t);if(n||(n=Wd(t),n&&kr.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const s=o[n[a]];if(s===void 0||H(o))return null;o=s,a++}return o}const Xd=e=>e,zd=e=>"",qd="text",Jd=e=>e.length===0?"":od(e),Zd=rd;function Dr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qd(e){const t=J(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(J(e.named.count)||J(e.named.n))?J(e.named.count)?e.named.count:J(e.named.n)?e.named.n:t:t}function eu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function tu(e={}){const t=e.locale,n=Qd(e),r=U(e.pluralRules)&&A(t)&&H(e.pluralRules[t])?e.pluralRules[t]:Dr,o=U(e.pluralRules)&&A(t)&&H(e.pluralRules[t])?Dr:void 0,a=m=>m[r(n,m.length,o)],s=e.list||[],l=m=>s[m],d=e.named||{};J(e.pluralIndex)&&eu(n,d);const c=m=>d[m];function p(m){const y=H(e.messages)?e.messages(m):U(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):zd)}const $=m=>e.modifiers?e.modifiers[m]:Xd,g=F(e.processor)&&H(e.processor.normalize)?e.processor.normalize:Jd,S=F(e.processor)&&H(e.processor.interpolate)?e.processor.interpolate:Zd,N=F(e.processor)&&A(e.processor.type)?e.processor.type:qd,w={list:l,named:c,plural:a,linked:(m,...y)=>{const[C,E]=y;let I="text",L="";y.length===1?U(C)?(L=C.modifier||L,I=C.type||I):A(C)&&(L=C||L):y.length===2&&(A(C)&&(L=C||L),A(E)&&(I=E||I));const O=p(m)(w),R=I==="vnode"&&X(O)&&L?O[0]:O;return L?$(L)(R,I):R},message:p,type:N,interpolate:S,normalize:g,values:Z({},s,d)};return w}let ht=null;function nu(e){ht=e}function ru(e,t,n){ht&&ht.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ou=au("function:translate");function au(e){return t=>ht&&ht.emit(e,t)}const te={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},iu={[te.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[te.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[te.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[te.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[te.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[te.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ue(e,...t){return An(iu[e],...t)}function Rn(e,t){return t.locale!=null?Rr(t.locale):Rr(e.locale)}let qt;function Rr(e){return A(e)?e:qt!=null&&e.resolvedOnce?qt:qt=e()}function su(e,t,n){return[...new Set([n,...X(t)?t:U(t)?Object.keys(t):A(t)?[t]:[n]])]}function Ro(e,t,n){const r=A(n)?n:gt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;X(s);)s=Fr(a,s,t);const l=X(t)||!F(t)?t:t.default?t.default:null;s=A(l)?[l]:l,X(s)&&Fr(a,s,!1),o.__localeChainCache.set(r,a)}return a}function Fr(e,t,n){let r=!0;for(let o=0;o<t.length&&j(r);o++){const a=t[o];A(a)&&(r=lu(e,t[o],n))}return r}function lu(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=du(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function du(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(X(n)||F(n))&&n[o]&&(r=n[o])}return r}const uu="9.7.0",xt=-1,gt="en-US",kt="",Mr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cu(){return{upper:(e,t)=>t==="text"&&A(e)?e.toUpperCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&A(e)?e.toLowerCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&A(e)?Mr(e):t==="vnode"&&U(e)&&"__v_isVNode"in e?Mr(e.children):e}}let Fo;function xr(e){Fo=e}let Mo;function fu(e){Mo=e}let xo;function $u(e){xo=e}let Vo=null;const pu=e=>{Vo=e},mu=()=>Vo;let Bo=null;const Vr=e=>{Bo=e},hu=()=>Bo;let Br=0;function gu(e={}){const t=H(e.onWarn)?e.onWarn:Ae,n=A(e.version)?e.version:uu,r=A(e.locale)||H(e.locale)?e.locale:gt,o=H(r)?gt:r,a=X(e.fallbackLocale)||F(e.fallbackLocale)||A(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=F(e.messages)?e.messages:{[o]:{}},l=F(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},d=F(e.numberFormats)?e.numberFormats:{[o]:{}},c=Z({},e.modifiers||{},cu()),p=e.pluralRules||{},$=H(e.missing)?e.missing:null,g=j(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,S=j(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,N=!!e.fallbackFormat,b=!!e.unresolving,w=H(e.postTranslation)?e.postTranslation:null,m=F(e.processor)?e.processor:null,y=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,E=H(e.messageCompiler)?e.messageCompiler:Fo;process.env.NODE_ENV!=="production"&&H(e.messageCompiler)&&id(Ue(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=H(e.messageResolver)?e.messageResolver:Mo||Kd,L=H(e.localeFallbacker)?e.localeFallbacker:xo||su,O=U(e.fallbackContext)?e.fallbackContext:void 0,R=e,x=U(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,W=U(R.__numberFormatters)?R.__numberFormatters:new Map,ce=U(R.__meta)?R.__meta:{};Br++;const q={version:n,cid:Br,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:p,missing:$,missingWarn:g,fallbackWarn:S,fallbackFormat:N,unresolving:b,postTranslation:w,processor:m,warnHtmlMessage:y,escapeParameter:C,messageCompiler:E,messageResolver:I,localeFallbacker:L,fallbackContext:O,onWarn:t,__meta:ce};return q.datetimeFormats=l,q.numberFormats=d,q.__datetimeFormatters=x,q.__numberFormatters=W,process.env.NODE_ENV!=="production"&&(q.__v_emitter=R.__v_emitter!=null?R.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ru(q,n,ce),q}function Vt(e,t){return e instanceof RegExp?e.test(t):e}function Uo(e,t){return e instanceof RegExp?e.test(t):e}function Fn(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return A(l)?l:t}else return process.env.NODE_ENV!=="production"&&Uo(r,t)&&s(Ue(te.NOT_FOUND_KEY,{key:t,locale:n})),t}function ut(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Jt(e){return n=>yu(n,e)}function yu(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((a,s)=>[...a,Ur(e,s)],[]))}else return Ur(e,n)}function Ur(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,a)=>[...o,fn(e,a)],[]);return e.normalize(r)}}function fn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index));case 6:const l=t,d=l.m||l.modifier;return e.linked(fn(e,l.k||l.key),d?fn(e,d):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const p=t;return p.v||p.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jo=k.__EXTEND_POINT__,Ct=kn(jo),le={INVALID_ARGUMENT:jo,INVALID_DATE_ARGUMENT:Ct(),INVALID_ISO_DATE_ARGUMENT:Ct(),NOT_SUPPORT_NON_STRING_MESSAGE:Ct(),__EXTEND_POINT__:Ct()};function Ve(e){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:_u}:void 0)}const _u={[le.INVALID_ARGUMENT]:"Invalid arguments",[le.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[le.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[le.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message"},bu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Go(e,t){t&&md(e)&&Ae(An(bu,{source:e}))}const Ho=e=>e;let Je=Object.create(null);const je=e=>U(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Wo(e,t={}){let n=!1;const r=t.onError||$d;return t.onError=o=>{n=!0,r(o)},{...xd(e,t),detectError:n}}const vu=(e,t)=>{if(!A(e))throw Ve(le.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Go(e,n);const o=(t.onCacheKey||Ho)(e),a=Je[o];if(a)return a;const{code:s,detectError:l}=Wo(e,t),d=new Function(`return ${s}`)();return l?d:Je[o]=d}};function Eu(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&A(e)){const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Go(e,n);const o=(t.onCacheKey||Ho)(e),a=Je[o];if(a)return a;const{ast:s,detectError:l}=Wo(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=Jt(s);return l?d:Je[o]=d}else{if(process.env.NODE_ENV!=="production"&&!je(e))return Ae(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Je[n];return r||(Je[n]=Jt(e))}else return Jt(e)}}const jr=()=>"",se=e=>H(e);function Gr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:s,messages:l}=e,[d,c]=$n(...t),p=j(c.missingWarn)?c.missingWarn:e.missingWarn,$=j(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=j(c.escapeParameter)?c.escapeParameter:e.escapeParameter,S=!!c.resolvedMessage,N=A(c.default)||j(c.default)?j(c.default)?a?d:()=>d:c.default:n?a?d:()=>d:"",b=n||N!=="",w=Rn(e,c);g&&Nu(c);let[m,y,C]=S?[d,w,l[w]||{}]:Ko(e,d,w,s,$,p),E=m,I=d;if(!S&&!(A(E)||je(E)||se(E))&&b&&(E=N,I=E),!S&&(!(A(E)||je(E)||se(E))||!A(y)))return o?xt:d;if(process.env.NODE_ENV!=="production"&&A(E)&&e.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let L=!1;const O=()=>{L=!0},R=se(E)?E:Yo(e,d,y,E,I,O);if(L)return E;const x=Tu(e,y,C,c),W=tu(x),ce=Ou(e,R,W),q=r?r(ce,d):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:A(d)?d:se(E)?E.key:"",locale:y||(se(E)?E.locale:""),format:A(E)?E:se(E)?E.source:"",message:q};ae.meta=Z({},e.__meta,mu()||{}),ou(ae)}return q}function Nu(e){X(e.list)?e.list=e.list.map(t=>A(t)?Sr(t):t):U(e.named)&&Object.keys(e.named).forEach(t=>{A(e.named[t])&&(e.named[t]=Sr(e.named[t]))})}function Ko(e,t,n,r,o,a){const{messages:s,onWarn:l,messageResolver:d,localeFallbacker:c}=e,p=c(e,r,n);let $={},g,S=null,N=n,b=null;const w="translate";for(let m=0;m<p.length;m++){if(g=b=p[m],process.env.NODE_ENV!=="production"&&n!==g&&Vt(o,t)&&l(Ue(te.FALLBACK_TO_TRANSLATE,{key:t,target:g})),process.env.NODE_ENV!=="production"&&n!==g){const L=e.__v_emitter;L&&L.emit("fallback",{type:w,key:t,from:N,to:b,groupId:`${w}:${t}`})}$=s[g]||{};let y=null,C,E;if(process.env.NODE_ENV!=="production"&&Ie&&(y=window.performance.now(),C="intlify-message-resolve-start",E="intlify-message-resolve-end",oe&&oe(C)),(S=d($,t))===null&&(S=$[t]),process.env.NODE_ENV!=="production"&&Ie){const L=window.performance.now(),O=e.__v_emitter;O&&y&&S&&O.emit("message-resolve",{type:"message-resolve",key:t,message:S,time:L-y,groupId:`${w}:${t}`}),C&&E&&oe&&Be&&(oe(E),Be("intlify message resolve",C,E))}if(A(S)||je(S)||se(S))break;const I=Fn(e,t,g,a,w);I!==t&&(S=I),N=b}return[S,g,$]}function Yo(e,t,n,r,o,a){const{messageCompiler:s,warnHtmlMessage:l}=e;if(se(r)){const g=r;return g.locale=g.locale||n,g.key=g.key||t,g}if(s==null){const g=()=>r;return g.locale=n,g.key=t,g}let d=null,c,p;process.env.NODE_ENV!=="production"&&Ie&&(d=window.performance.now(),c="intlify-message-compilation-start",p="intlify-message-compilation-end",oe&&oe(c));const $=s(r,Cu(e,n,o,r,l,a));if(process.env.NODE_ENV!=="production"&&Ie){const g=window.performance.now(),S=e.__v_emitter;S&&d&&S.emit("message-compilation",{type:"message-compilation",message:r,time:g-d,groupId:`translate:${t}`}),c&&p&&oe&&Be&&(oe(p),Be("intlify message compilation",c,p))}return $.locale=n,$.key=t,$.source=r,$}function Ou(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&Ie&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",oe&&oe(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&Ie){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-r,groupId:`translate:${t.key}`}),o&&a&&oe&&Be&&(oe(a),Be("intlify message evaluation",o,a))}return s}function $n(...e){const[t,n,r]=e,o={};if(!A(t)&&!J(t)&&!se(t)&&!je(t))throw Ve(le.INVALID_ARGUMENT);const a=J(t)?String(t):(se(t),t);return J(n)?o.plural=n:A(n)?o.default=n:F(n)&&!Mt(n)?o.named=n:X(n)&&(o.list=n),J(r)?o.plural=r:A(r)?o.default=r:F(r)&&Z(o,r),[a,o]}function Cu(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const l=Su(r),d=`Message compilation error: ${s.message}`,c=s.location&&l&&ad(l,s.location.start.offset,s.location.end.offset),p=e.__v_emitter;p&&l&&p.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
28
|
+
${c}`:d)}else throw s},onCacheKey:s=>Ql(t,n,s)}}function Su(e){if(A(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Tu(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:s,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:a,messages:S=>{let N=s(n,S);if(N==null&&p){const[,,b]=Ko(p,S,t,l,d,c);N=s(b,S)}if(A(N)||je(N)){let b=!1;const m=Yo(e,S,t,N,S,()=>{b=!0});return b?jr:m}else return se(N)?N:jr}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),J(r.plural)&&(g.pluralIndex=r.plural),g}const Hr=typeof Intl<"u",Xo={dateTimeFormat:Hr&&typeof Intl.DateTimeFormat<"u",numberFormat:Hr&&typeof Intl.NumberFormat<"u"};function Wr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Xo.dateTimeFormat)return a(Ue(te.CANNOT_FORMAT_DATE)),kt;const[d,c,p,$]=pn(...t),g=j(p.missingWarn)?p.missingWarn:e.missingWarn,S=j(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,N=!!p.part,b=Rn(e,p),w=s(e,o,b);if(!A(d)||d==="")return new Intl.DateTimeFormat(b,$).format(c);let m={},y,C=null,E=b,I=null;const L="datetime format";for(let x=0;x<w.length;x++){if(y=I=w[x],process.env.NODE_ENV!=="production"&&b!==y&&Vt(S,d)&&a(Ue(te.FALLBACK_TO_DATE_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const W=e.__v_emitter;W&&W.emit("fallback",{type:L,key:d,from:E,to:I,groupId:`${L}:${d}`})}if(m=n[y]||{},C=m[d],F(C))break;Fn(e,d,y,g,L),E=I}if(!F(C)||!A(y))return r?xt:d;let O=`${y}__${d}`;Mt($)||(O=`${O}__${JSON.stringify($)}`);let R=l.get(O);return R||(R=new Intl.DateTimeFormat(y,Z({},C,$)),l.set(O,R)),N?R.formatToParts(c):R.format(c)}const zo=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pn(...e){const[t,n,r,o]=e,a={};let s={},l;if(A(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Ve(le.INVALID_ISO_DATE_ARGUMENT);const c=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Ve(le.INVALID_ISO_DATE_ARGUMENT)}}else if(td(t)){if(isNaN(t.getTime()))throw Ve(le.INVALID_DATE_ARGUMENT);l=t}else if(J(t))l=t;else throw Ve(le.INVALID_ARGUMENT);return A(n)?a.key=n:F(n)&&Object.keys(n).forEach(d=>{zo.includes(d)?s[d]=n[d]:a[d]=n[d]}),A(r)?a.locale=r:F(r)&&(s=r),F(o)&&(s=o),[a.key||"",l,a,s]}function Kr(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function Yr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Xo.numberFormat)return a(Ue(te.CANNOT_FORMAT_NUMBER)),kt;const[d,c,p,$]=mn(...t),g=j(p.missingWarn)?p.missingWarn:e.missingWarn,S=j(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,N=!!p.part,b=Rn(e,p),w=s(e,o,b);if(!A(d)||d==="")return new Intl.NumberFormat(b,$).format(c);let m={},y,C=null,E=b,I=null;const L="number format";for(let x=0;x<w.length;x++){if(y=I=w[x],process.env.NODE_ENV!=="production"&&b!==y&&Vt(S,d)&&a(Ue(te.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const W=e.__v_emitter;W&&W.emit("fallback",{type:L,key:d,from:E,to:I,groupId:`${L}:${d}`})}if(m=n[y]||{},C=m[d],F(C))break;Fn(e,d,y,g,L),E=I}if(!F(C)||!A(y))return r?xt:d;let O=`${y}__${d}`;Mt($)||(O=`${O}__${JSON.stringify($)}`);let R=l.get(O);return R||(R=new Intl.NumberFormat(y,Z({},C,$)),l.set(O,R)),N?R.formatToParts(c):R.format(c)}const qo=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mn(...e){const[t,n,r,o]=e,a={};let s={};if(!J(t))throw Ve(le.INVALID_ARGUMENT);const l=t;return A(n)?a.key=n:F(n)&&Object.keys(n).forEach(d=>{qo.includes(d)?s[d]=n[d]:a[d]=n[d]}),A(r)?a.locale=r:F(r)&&(s=r),F(o)&&(s=o),[a.key||"",l,a,s]}function Xr(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}Vd();/*!
|
29
29
|
* vue-i18n v9.7.0
|
30
30
|
* (c) 2023 kazuya kawaguchi
|
31
31
|
* Released under the MIT License.
|
32
|
-
*/const wu="9.7.0";function Lu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ee().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ee().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ee().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ee().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ee().__INTLIFY_PROD_DEVTOOLS__=!1)}const Jo=te.__EXTEND_POINT__,we=kn(Jo),ie={FALLBACK_TO_ROOT:Jo,NOT_SUPPORTED_PRESERVE:we(),NOT_SUPPORTED_FORMATTER:we(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:we(),NOT_SUPPORTED_GET_CHOICE_INDEX:we(),COMPONENT_NAME_LEGACY_COMPATIBLE:we(),NOT_FOUND_PARENT_SCOPE:we(),IGNORE_OBJ_FLATTEN:we(),NOTICE_DROP_ALLOW_COMPOSITION:we()},Pu={[ie.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ie.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ie.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ie.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ie.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ie.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ie.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ie.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ie.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function Mn(e,...t){return An(Pu[e],...t)}const Zo=le.__EXTEND_POINT__,re=kn(Zo),G={UNEXPECTED_RETURN_TYPE:Zo,INVALID_ARGUMENT:re(),MUST_BE_CALL_SETUP_TOP:re(),NOT_INSTALLED:re(),NOT_AVAILABLE_IN_LEGACY_MODE:re(),REQUIRED_VALUE:re(),INVALID_VALUE:re(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:re(),NOT_INSTALLED_WITH_PROVIDE:re(),UNEXPECTED_ERROR:re(),NOT_COMPATIBLE_LEGACY_VUE_I18N:re(),BRIDGE_SUPPORT_VUE_2_ONLY:re(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:re(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:re(),__EXTEND_POINT__:re()};function Pe(e,...t){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:Iu,args:t}:void 0)}const Iu={[G.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[G.INVALID_ARGUMENT]:"Invalid argument",[G.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[G.NOT_INSTALLED]:"Need to install with `app.use` function",[G.UNEXPECTED_ERROR]:"Unexpected error",[G.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[G.REQUIRED_VALUE]:"Required in value: {0}",[G.INVALID_VALUE]:"Invalid value",[G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[G.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[G.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[G.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[G.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},hn=Ce("__translateVNode"),gn=Ce("__datetimeParts"),yn=Ce("__numberParts"),_n=Ce("__enableEmitter"),bn=Ce("__disableEmitter"),Au=Ce("__setPluralRules"),Qo=Ce("__injectWithOption"),vn=Ce("__dispose");function yt(e){if(!U(e))return e;for(const t in e)if(mt(e,t))if(!t.includes("."))U(e[t])&&yt(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let s=0;s<r;s++){if(n[s]in o||(o[n[s]]={}),!U(o[n[s]])){process.env.NODE_ENV!=="production"&&Ae(Mn(ie.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}o=o[n[s]]}a||(o[n[r]]=e[t],delete e[t]),U(o[n[r]])&&yt(o[n[r]])}return e}function Vn(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,s=F(n)?n:X(r)?{}:{[e]:{}};if(X(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(s[d]=s[d]||{},ft(c,s[d])):ft(c,s)}else A(l)&&ft(JSON.parse(l),s)}),o==null&&a)for(const l in s)mt(s,l)&&yt(s[l]);return s}function ea(e){return e.type}function ku(e,t,n){let r=U(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Vn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(U(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(U(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function zr(e){return i.createVNode(i.Text,null,e,0)}const qr="__INTLIFY_META__",Jr=()=>[],Du=()=>!1;let Zr=0;function Qr(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}const Ru=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=ea(e)[qr])?{[qr]:t}:null};function Fu(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,a=e.flatJson;let s=j(e.inheritLocale)?e.inheritLocale:!0;const l=i.ref(n&&s?n.locale.value:A(e.locale)?e.locale:gt),d=i.ref(n&&s?n.fallbackLocale.value:A(e.fallbackLocale)||X(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i.ref(Vn(l.value,e)),p=i.ref(F(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),$=i.ref(F(e.numberFormats)?e.numberFormats:{[l.value]:{}});let g=n?n.missingWarn:j(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:j(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,N=n?n.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,w=H(e.missing)?e.missing:null,m=H(e.missing)?Qr(e.missing):null,y=H(e.postTranslation)?e.postTranslation:null,C=n?n.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const I=n?n.modifiers:F(e.modifiers)?e.modifiers:{};let L=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&xr(null);const _={version:wu,locale:l.value,fallbackLocale:d.value,messages:c.value,modifiers:I,pluralRules:L,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:S,fallbackFormat:b,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:C,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=p.value,_.numberFormats=$.value,_.__datetimeFormatters=F(O)?O.__datetimeFormatters:void 0,_.__numberFormatters=F(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=F(O)?O.__v_emitter:void 0);const T=gu(_);return o&&xr(T),T})(),ut(O,l.value,d.value);function V(){return[l.value,d.value,c.value,p.value,$.value]}const W=i.computed({get:()=>l.value,set:_=>{l.value=_,O.locale=l.value}}),ce=i.computed({get:()=>d.value,set:_=>{d.value=_,O.fallbackLocale=d.value,ut(O,l.value,_)}}),q=i.computed(()=>c.value),ae=i.computed(()=>p.value),Ge=i.computed(()=>$.value);function rt(){return H(y)?y:null}function pe(_){y=_,O.postTranslation=_}function He(){return w}function ot(_){_!==null&&(m=Qr(_)),w=_,O.missing=m}function We(_,T){return _!=="translate"||!T.resolvedMessage}const fe=(_,T,B,K,Me,Nt)=>{V();let Xe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=n?hu():void 0),Xe=_(O)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=void 0)}if(B!=="translate exists"&&J(Xe)&&Xe===Vt||B==="translate exists"&&!Xe){const[Ve,xa]=T();if(process.env.NODE_ENV!=="production"&&n&&A(Ve)&&We(B,xa)&&(N&&(xt(S,Ve)||Uo(g,Ve))&&Ae(Mn(ie.FALLBACK_TO_ROOT,{key:Ve,type:B})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yn}=O;Yn&&N&&Yn.emit("fallback",{type:B,key:Ve,to:"global",groupId:`${B}:${Ve}`})}return n&&N?K(n):Me(Ve)}else{if(Nt(Xe))return Xe;throw Pe(G.UNEXPECTED_RETURN_TYPE)}};function Ke(..._){return fe(T=>Reflect.apply(Gr,null,[T,..._]),()=>$n(..._),"translate",T=>Reflect.apply(T.t,T,[..._]),T=>T,T=>A(T))}function at(..._){const[T,B,K]=_;if(K&&!U(K))throw Pe(G.INVALID_ARGUMENT);return Ke(T,B,Z({resolvedMessage:!0},K||{}))}function it(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>pn(..._),"datetime format",T=>Reflect.apply(T.d,T,[..._]),()=>kt,T=>A(T))}function Ye(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>Reflect.apply(T.n,T,[..._]),()=>kt,T=>A(T))}function st(_){return _.map(T=>A(T)||J(T)||j(T)?zr(String(T)):T)}const lt={normalize:st,interpolate:_=>_,type:"vnode"};function De(..._){return fe(T=>{let B;const K=T;try{K.processor=lt,B=Reflect.apply(Gr,null,[K,..._])}finally{K.processor=null}return B},()=>$n(..._),"translate",T=>T[hn](..._),T=>[zr(T)],T=>X(T))}function Re(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>T[yn](..._),Jr,T=>A(T)||X(T))}function Se(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>pn(..._),"datetime format",T=>T[gn](..._),Jr,T=>A(T)||X(T))}function Fe(_){L=_,O.pluralRules=L}function dt(_,T){return fe(()=>{if(!_)return!1;const B=A(T)?T:l.value,K=h(B),Me=O.messageResolver(K,_);return je(Me)||se(Me)||A(Me)},()=>[_],"translate exists",B=>Reflect.apply(B.te,B,[_,T]),Du,B=>j(B))}function f(_){let T=null;const B=Ro(O,d.value,l.value);for(let K=0;K<B.length;K++){const Me=c.value[B[K]]||{},Nt=O.messageResolver(Me,_);if(Nt!=null){T=Nt;break}}return T}function u(_){const T=f(_);return T??(n?n.tm(_)||{}:{})}function h(_){return c.value[_]||{}}function P(_,T){if(a){const B={[_]:T};for(const K in B)mt(B,K)&&yt(B[K]);T=B[_]}c.value[_]=T,O.messages=c.value}function D(_,T){c.value[_]=c.value[_]||{};const B={[_]:T};for(const K in B)mt(B,K)&&yt(B[K]);T=B[_],ft(T,c.value[_]),O.messages=c.value}function x(_){return p.value[_]||{}}function me(_,T){p.value[_]=T,O.datetimeFormats=p.value,Kr(O,_,T)}function _e(_,T){p.value[_]=Z(p.value[_]||{},T),O.datetimeFormats=p.value,Kr(O,_,T)}function Fa(_){return $.value[_]||{}}function Ma(_,T){$.value[_]=T,O.numberFormats=$.value,Xr(O,_,T)}function Va(_,T){$.value[_]=Z($.value[_]||{},T),O.numberFormats=$.value,Xr(O,_,T)}Zr++,n&&Ie&&(i.watch(n.locale,_=>{s&&(l.value=_,O.locale=_,ut(O,l.value,d.value))}),i.watch(n.fallbackLocale,_=>{s&&(d.value=_,O.fallbackLocale=_,ut(O,l.value,d.value))}));const Y={id:Zr,locale:W,fallbackLocale:ce,get inheritLocale(){return s},set inheritLocale(_){s=_,_&&n&&(l.value=n.locale.value,d.value=n.fallbackLocale.value,ut(O,l.value,d.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:q,get modifiers(){return I},get pluralRules(){return L||{}},get isGlobal(){return o},get missingWarn(){return g},set missingWarn(_){g=_,O.missingWarn=g},get fallbackWarn(){return S},set fallbackWarn(_){S=_,O.fallbackWarn=S},get fallbackRoot(){return N},set fallbackRoot(_){N=_},get fallbackFormat(){return b},set fallbackFormat(_){b=_,O.fallbackFormat=b},get warnHtmlMessage(){return C},set warnHtmlMessage(_){C=_,O.warnHtmlMessage=_},get escapeParameter(){return E},set escapeParameter(_){E=_,O.escapeParameter=_},t:Ke,getLocaleMessage:h,setLocaleMessage:P,mergeLocaleMessage:D,getPostTranslationHandler:rt,setPostTranslationHandler:pe,getMissingHandler:He,setMissingHandler:ot,[Au]:Fe};return Y.datetimeFormats=ae,Y.numberFormats=Ge,Y.rt=at,Y.te=dt,Y.tm=u,Y.d=it,Y.n=Ye,Y.getDateTimeFormat=x,Y.setDateTimeFormat=me,Y.mergeDateTimeFormat=_e,Y.getNumberFormat=Fa,Y.setNumberFormat=Ma,Y.mergeNumberFormat=Va,Y[Qo]=r,Y[hn]=De,Y[gn]=Se,Y[yn]=Re,process.env.NODE_ENV!=="production"&&(Y[_n]=_=>{O.__v_emitter=_},Y[bn]=()=>{O.__v_emitter=void 0}),Y}const xn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Mu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===i.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function ta(e){return i.Fragment}Z({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},xn);function Vu(e){return X(e)&&!A(e[0])}function na(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),A(e.format)?s.key=e.format:U(e.format)&&(A(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((g,S)=>n.includes(S)?Z({},g,{[S]:e.format[S]}):g,{}));const d=r(e.value,s,l);let c=[s.key];X(d)?c=d.map((g,S)=>{const N=o[g.type],b=N?N({[g.type]:g.value,index:S,parts:d}):[g.value];return Vu(b)&&(b[0].key=`${g.type}-${S}`),b}):A(d)&&(c=[d]);const p=Z({},a),$=A(e.tag)||U(e.tag)?e.tag:ta();return i.h($,p,c)}}Z({value:{type:Number,required:!0},format:{type:[String,Object]}},xn);Z({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xn);function eo(e,t){}const xu=Ce("global-vue-i18n");function Bt(e={}){const t=i.getCurrentInstance();if(t==null)throw Pe(G.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(G.NOT_INSTALLED);const n=Bu(t),r=ju(n),o=ea(t),a=Uu(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Pe(G.NOT_AVAILABLE_IN_LEGACY_MODE);return Ku(t,a,r,e)}if(a==="global")return ku(r,e,o),r;if(a==="parent"){let d=Gu(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ae(Mn(ie.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Z({},e);"__i18n"in o&&(d.__i18n=o.__i18n),r&&(d.__root=r),l=Fu(d),s.__composerExtend&&(l[vn]=s.__composerExtend(l)),Wu(s,t,l),s.__setInstance(t,l)}return l}function Bu(e){{const t=i.inject(e.isCE?xu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?G.NOT_INSTALLED_WITH_PROVIDE:G.UNEXPECTED_ERROR);return t}}function Uu(e,t){return Mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ju(e){return e.mode==="composition"?e.global:e.global.__composer}function Gu(e,t,n=!1){let r=null;const o=t.root;let a=Hu(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(a);l!=null&&(r=l.__composer,n&&r&&!r[Qo]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function Hu(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Wu(e,t,n){let r=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=sd();const o=n;o[_n]&&o[_n](r),r.on("*",eo)}},t),i.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",eo),o[bn]&&o[bn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=o[vn];a&&(a(),delete o[vn])},t)}function Ku(e,t,n,r={}){const o=t==="local",a=i.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Pe(G.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=j(r.inheritLocale)?r.inheritLocale:!A(r.locale),l=i.ref(!o||s?n.locale.value:A(r.locale)?r.locale:gt),d=i.ref(!o||s?n.fallbackLocale.value:A(r.fallbackLocale)||X(r.fallbackLocale)||F(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=i.ref(Vn(l.value,r)),p=i.ref(F(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),$=i.ref(F(r.numberFormats)?r.numberFormats:{[l.value]:{}}),g=o?n.missingWarn:j(r.missingWarn)||Ze(r.missingWarn)?r.missingWarn:!0,S=o?n.fallbackWarn:j(r.fallbackWarn)||Ze(r.fallbackWarn)?r.fallbackWarn:!0,N=o?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,b=!!r.fallbackFormat,w=H(r.missing)?r.missing:null,m=H(r.postTranslation)?r.postTranslation:null,y=o?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,C=!!r.escapeParameter,E=o?n.modifiers:F(r.modifiers)?r.modifiers:{},I=r.pluralRules||o&&n.pluralRules;function L(){return[l.value,d.value,c.value,p.value,$.value]}const O=i.computed({get:()=>a.value?a.value.locale.value:l.value,set:u=>{a.value&&(a.value.locale.value=u),l.value=u}}),R=i.computed({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),d.value=u}}),V=i.computed(()=>a.value?a.value.messages.value:c.value),W=i.computed(()=>p.value),ce=i.computed(()=>$.value);function q(){return a.value?a.value.getPostTranslationHandler():m}function ae(u){a.value&&a.value.setPostTranslationHandler(u)}function Ge(){return a.value?a.value.getMissingHandler():w}function rt(u){a.value&&a.value.setMissingHandler(u)}function pe(u){return L(),u()}function He(...u){return a.value?pe(()=>Reflect.apply(a.value.t,null,[...u])):pe(()=>"")}function ot(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function We(...u){return a.value?pe(()=>Reflect.apply(a.value.d,null,[...u])):pe(()=>"")}function fe(...u){return a.value?pe(()=>Reflect.apply(a.value.n,null,[...u])):pe(()=>"")}function Ke(u){return a.value?a.value.tm(u):{}}function at(u,h){return a.value?a.value.te(u,h):!1}function it(u){return a.value?a.value.getLocaleMessage(u):{}}function Ye(u,h){a.value&&(a.value.setLocaleMessage(u,h),c.value[u]=h)}function st(u,h){a.value&&a.value.mergeLocaleMessage(u,h)}function Et(u){return a.value?a.value.getDateTimeFormat(u):{}}function lt(u,h){a.value&&(a.value.setDateTimeFormat(u,h),p.value[u]=h)}function De(u,h){a.value&&a.value.mergeDateTimeFormat(u,h)}function Re(u){return a.value?a.value.getNumberFormat(u):{}}function Se(u,h){a.value&&(a.value.setNumberFormat(u,h),$.value[u]=h)}function Fe(u,h){a.value&&a.value.mergeNumberFormat(u,h)}const dt={get id(){return a.value?a.value.id:-1},locale:O,fallbackLocale:R,messages:V,datetimeFormats:W,numberFormats:ce,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:I},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:g},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:S},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:N},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:b},set fallbackFormat(u){a.value&&(a.value.fallbackFormat=u)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(u){a.value&&(a.value.warnHtmlMessage=u)},get escapeParameter(){return a.value?a.value.escapeParameter:C},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:He,getPostTranslationHandler:q,setPostTranslationHandler:ae,getMissingHandler:Ge,setMissingHandler:rt,rt:ot,d:We,n:fe,tm:Ke,te:at,getLocaleMessage:it,setLocaleMessage:Ye,mergeLocaleMessage:st,getDateTimeFormat:Et,setDateTimeFormat:lt,mergeDateTimeFormat:De,getNumberFormat:Re,setNumberFormat:Se,mergeNumberFormat:Fe};function f(u){u.locale.value=l.value,u.fallbackLocale.value=d.value,Object.keys(c.value).forEach(h=>{u.mergeLocaleMessage(h,c.value[h])}),Object.keys(p.value).forEach(h=>{u.mergeDateTimeFormat(h,p.value[h])}),Object.keys($.value).forEach(h=>{u.mergeNumberFormat(h,$.value[h])}),u.escapeParameter=C,u.fallbackFormat=b,u.fallbackRoot=N,u.fallbackWarn=S,u.missingWarn=g,u.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Pe(G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=u.locale.value,d.value=u.fallbackLocale.value,c.value=u.messages.value,p.value=u.datetimeFormats.value,$.value=u.numberFormats.value):o&&f(u)}),dt}Lu();__INTLIFY_JIT_COMPILATION__?Vr(Eu):Vr(vu);fu(Yd);$u(Ro);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ee();e.__INTLIFY__=!0,nu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Yu={},Xu={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zu=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),qu=i.createElementVNode("path",{fill:"rgb(var(--black))","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,-1),Ju=[zu,qu];function Zu(e,t){return i.openBlock(),i.createElementBlock("svg",Xu,Ju)}const Qu=ue(Yu,[["render",Zu]]);const ec={key:"popup-content",class:"pd-small popup-wrapper"},ra={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e;function r(){t("close-popup")}return i.watch(()=>n.isPopupOpen,a=>{a?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Jl(),ql(),Bt({messages:{en:{},ru:{}}}),(a,s)=>e.isPopupOpen?(i.openBlock(),i.createBlock(i.Teleport,{key:0,to:"body"},[i.createVNode(i.Transition,{name:"TransitionTranslateY",appear:""},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("div",ec,[i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("section",i.mergeProps({key:0,class:"pos-relative z-index-4"},a.$attrs),[i.createElementVNode("button",{onClick:s[0]||(s[0]=l=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[i.createVNode(Qu)]),i.renderSlot(a.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:s[1]||(s[1]=l=>r()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},tc=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"})),nc={class:"flex-v-center flex-nowrap flex"},rc={key:0,class:"mn-r-auto t-transp mn-r-small"},oc=["name","value","checked"],ac={key:1,class:""},ic=i.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("g",{id:"24 / basic / check-mark"},[i.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),sc=[ic],oa={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){return(n,r)=>(i.openBlock(),i.createElementBlock("label",nc,[e.label?(i.openBlock(),i.createElementBlock("div",rc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onInput:r[0]||(r[0]=o=>n.text=t("update:radio",o.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,oc),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",ac,sc)):i.createCommentVNode("",!0)]))}},lc=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"}));const dc=["onClick"],uc={key:0,class:"t-transp mn-r-small"},cc={class:"w-100"},fc=["onClick"],$c={key:0,class:"w-100"},pc={key:0,class:"mn-t-thin invalid-feedback"},mc={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const n=e,r=i.ref(n.select),o=i.ref(!1);i.watch(()=>n.select,d=>{r.value=d});const a=i.computed(()=>n.select?n.options.filter(d=>d!==n.select):n.options),s=()=>{o.value=!o.value,t(o.value?"focus":"blur")},l=d=>{r.value=d,s(),t("update:select",r.value)};return(d,c)=>{var p;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{onClick:i.withModifiers(s,["stop"]),class:i.normalizeClass([d.$attrs.class,"cursor-pointer flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",uc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",cc,[i.createElementVNode("span",null,i.toDisplayString(((p=r.value)==null?void 0:p.name)||r.value||e.placeholder),1)]),i.createVNode(i.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:i.withCtx(()=>[o.value?(i.openBlock(),i.createElementBlock("ul",{key:0,class:i.normalizeClass([d.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(a),$=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers(g=>l($),["stop"])},[$?(i.openBlock(),i.createElementBlock("span",$c,i.toDisplayString($.name||$),1)):i.createCommentVNode("",!0)],8,fc))),256))],2)):i.createCommentVNode("",!0)]),_:1})],10,dc),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",pc," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},aa=ue(mc,[["__scopeId","data-v-dfe03dc2"]]),hc=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));function Zt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function gc(e){return(...t)=>!e(...t)}function yc(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ia(e,t,n,r){return t?e.filter(o=>yc(r(o,n),t)).sort((o,a)=>r(o,n).length-r(a,n).length):e}function _c(e){return e.filter(t=>!t.$isLabel)}function Qt(e,t){return n=>n.reduce((r,o)=>o[e]&&o[e].length?(r.push({$groupLabel:o[t],$isLabel:!0}),r.concat(o[e])):r,[])}function bc(e,t,n,r,o){return a=>a.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=ia(s[n],e,t,o);return l.length?{[r]:s[r],[n]:l}:[]})}const to=(...e)=>t=>e.reduce((n,r)=>r(n),t),vc={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Zt(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ia(n,t,this.label,this.customLabel):n=this.groupValues?Qt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(gc(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return to(bc(t,n,this.groupValues,this.groupLabel,this.customLabel),Qt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return to(Qt(this.groupValues,this.groupLabel),_c)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Zt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Zt(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},Ec={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const Nc={name:"vue-multiselect",mixins:[vc,Ec],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},Oc=["tabindex","aria-owns"],Cc={ref:"tags",class:"multiselect__tags"},Sc={class:"multiselect__tags-wrap"},Tc=["textContent"],wc=["onKeypress","onMousedown"],Lc=["textContent"],Pc={class:"multiselect__spinner"},Ic=["name","id","placeholder","value","disabled","tabindex","aria-controls"],Ac=["id"],kc={key:0},Dc={class:"multiselect__option"},Rc=["id","role"],Fc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],Mc=["data-select","data-deselect","onMouseenter","onMousedown"],Vc={class:"multiselect__option"},xc={class:"multiselect__option"};function Bc(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:i.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[i.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[i.createElementVNode("div",{onMousedown:t[0]||(t[0]=i.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",Cc,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",Sc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.visibleValues,(s,l)=>i.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:l},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(s))},null,8,Tc),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:i.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,wc)]))])),256))],512),[[i.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?i.renderSlot(e.$slots,"limit",{key:0},()=>[i.createElementVNode("strong",{class:"multiselect__strong",textContent:i.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Lc)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",Pc,null,512),[[i.vShow,n.loading]])])]),_:3}),e.searchable?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:i.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,Ic)):i.createCommentVNode("",!0),a.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[i.createTextVNode(i.toDisplayString(e.currentOptionLabel),1)])],32)):i.createCommentVNode("",!0),a.isPlaceholderVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"placeholder",{},()=>[i.createTextVNode(i.toDisplayString(e.placeholder),1)])],32)):i.createCommentVNode("",!0)],512),i.createVNode(i.Transition,{name:"multiselect"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=i.withModifiers(()=>{},["prevent"])),style:i.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[i.createElementVNode("ul",{class:"multiselect__content",style:i.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[i.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(i.openBlock(),i.createElementBlock("li",kc,[i.createElementVNode("span",Dc,[i.renderSlot(e.$slots,"maxElements",{},()=>[i.createTextVNode("Maximum of "+i.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):i.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(e.filteredOptions,(s,l)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:i.withModifiers(d=>e.select(s),["stop"]),onMouseenter:i.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Fc)),s&&(s.$isLabel||s.$isDisabled)?(i.openBlock(),i.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:i.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:i.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:i.withModifiers(d=>e.selectGroup(s),["prevent"])},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Mc)):i.createCommentVNode("",!0)],8,Rc))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",Vc,[i.renderSlot(e.$slots,"noResult",{search:e.search},()=>[i.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[i.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",xc,[i.renderSlot(e.$slots,"noOptions",{},()=>[i.createTextVNode("List is empty.")])])],512),[[i.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),i.renderSlot(e.$slots,"afterList")],12,Ac)],38),[[i.vShow,e.isOpen]])]),_:3})],42,Oc)}const sa=ue(Nc,[["render",Bc]]),Uc=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"}));const jc={key:0,class:"spoiler"},la={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1);return t.status&&(n.value=t.status),(r,o)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:o[0]||(o[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[i.renderSlot(r.$slots,"header")]),i.createVNode(i.Transition,{name:"collapse"},{default:i.withCtx(()=>[n.value?(i.openBlock(),i.createElementBlock("div",jc,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},Gc=Object.freeze(Object.defineProperty({__proto__:null,default:la},Symbol.toStringTag,{value:"Module"}));const Hc={class:""},Wc={class:"flex-nowrap flex-v-center flex"},Kc=["onClick"],da={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=i.ref(0);if(n.selected){const d=n.tabs.findIndex(c=>c.value===n.selected);d!==-1&&(r.value=d)}function o(d,c){r.value=d,t("update:selected",c.value),n.callback&&n.callback()}function a(d){return`${100/n.tabs.length*d}%`}function s(){return`${100/n.tabs.length}%`}const l=i.computed(()=>({left:a(r.value),width:s()}));return(d,c)=>(i.openBlock(),i.createElementBlock("div",Hc,[i.createElementVNode("div",Wc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(p,$)=>(i.openBlock(),i.createElementBlock("div",{key:$,onClick:g=>o($,p),class:i.normalizeClass([{"t-transp":$!==r.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(p.name),1)],10,Kc))),128)),i.createElementVNode("div",{style:i.normalizeStyle(i.unref(l)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},Yc=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"}));const Xc={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=i.ref(!1),n=i.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(a){t.value=!0,n.left=`${a.clientX/100+10}px`,n.top=`${a.clientY/100+10}px`,n.display="block"}function o(){t.value=!1,n.display="none"}return(a,s)=>(i.openBlock(),i.createElementBlock("div",{class:"tooltip-container",onMouseover:r,onMouseleave:o},[i.renderSlot(a.$slots,"default",{},void 0,!0),i.createElementVNode("div",{class:"tooltip-content",style:i.normalizeStyle(n)},i.toDisplayString(e.text),5)],32))}},ua=ue(Xc,[["__scopeId","data-v-b0efe407"]]),zc=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"})),qc={key:0,class:"cursor-pointer t-second"},ca={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1),r=i.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),o=i.computed(()=>t.text),a=()=>{n.value=!n.value},s=i.computed(()=>n.value?o.value:r.value),l=i.computed(()=>t.text.length>t.maxLen),d=i.computed(()=>n.value?"Hide":"Show more");return(c,p)=>(i.openBlock(),i.createElementBlock("span",{onClick:a,class:""},[i.createTextVNode(i.toDisplayString(i.unref(s))+" ",1),i.unref(l)&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",qc,i.toDisplayString(i.unref(d)),1)):i.createCommentVNode("",!0)]))}},Jc=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"}));function fa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Zc}=Object.prototype,{getPrototypeOf:Bn}=Object,Ut=(e=>t=>{const n=Zc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ye=e=>(e=e.toLowerCase(),t=>Ut(t)===e),jt=e=>t=>typeof t===e,{isArray:nt}=Array,_t=jt("undefined");function Qc(e){return e!==null&&!_t(e)&&e.constructor!==null&&!_t(e.constructor)&&de(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $a=ye("ArrayBuffer");function e0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$a(e.buffer),t}const t0=jt("string"),de=jt("function"),pa=jt("number"),Gt=e=>e!==null&&typeof e=="object",n0=e=>e===!0||e===!1,Tt=e=>{if(Ut(e)!=="object")return!1;const t=Bn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},r0=ye("Date"),o0=ye("File"),a0=ye("Blob"),i0=ye("FileList"),s0=e=>Gt(e)&&de(e.pipe),l0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||de(e.append)&&((t=Ut(e))==="formdata"||t==="object"&&de(e.toString)&&e.toString()==="[object FormData]"))},d0=ye("URLSearchParams"),u0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),nt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function ma(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ha=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ga=e=>!_t(e)&&e!==ha;function En(){const{caseless:e}=ga(this)&&this||{},t={},n=(r,o)=>{const a=e&&ma(t,o)||o;Tt(t[a])&&Tt(r)?t[a]=En(t[a],r):Tt(r)?t[a]=En({},r):nt(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&bt(arguments[r],n);return t}const c0=(e,t,n,{allOwnKeys:r}={})=>(bt(t,(o,a)=>{n&&de(o)?e[a]=fa(o,n):e[a]=o},{allOwnKeys:r}),e),f0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},p0=(e,t,n,r)=>{let o,a,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Bn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},m0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},h0=e=>{if(!e)return null;if(nt(e))return e;let t=e.length;if(!pa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},g0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bn(Uint8Array)),y0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},_0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},b0=ye("HTMLFormElement"),v0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),no=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),E0=ye("RegExp"),ya=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};bt(n,(o,a)=>{let s;(s=t(o,a,e))!==!1&&(r[a]=s||o)}),Object.defineProperties(e,r)},N0=e=>{ya(e,(t,n)=>{if(de(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(de(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},O0=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return nt(e)?r(e):r(String(e).split(t)),n},C0=()=>{},S0=(e,t)=>(e=+e,Number.isFinite(e)?e:t),en="abcdefghijklmnopqrstuvwxyz",ro="0123456789",_a={DIGIT:ro,ALPHA:en,ALPHA_DIGIT:en+en.toUpperCase()+ro},T0=(e=16,t=_a.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function w0(e){return!!(e&&de(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const L0=e=>{const t=new Array(10),n=(r,o)=>{if(Gt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=nt(r)?[]:{};return bt(r,(s,l)=>{const d=n(s,o+1);!_t(d)&&(a[l]=d)}),t[o]=void 0,a}}return r};return n(e,0)},P0=ye("AsyncFunction"),I0=e=>e&&(Gt(e)||de(e))&&de(e.then)&&de(e.catch),v={isArray:nt,isArrayBuffer:$a,isBuffer:Qc,isFormData:l0,isArrayBufferView:e0,isString:t0,isNumber:pa,isBoolean:n0,isObject:Gt,isPlainObject:Tt,isUndefined:_t,isDate:r0,isFile:o0,isBlob:a0,isRegExp:E0,isFunction:de,isStream:s0,isURLSearchParams:d0,isTypedArray:g0,isFileList:i0,forEach:bt,merge:En,extend:c0,trim:u0,stripBOM:f0,inherits:$0,toFlatObject:p0,kindOf:Ut,kindOfTest:ye,endsWith:m0,toArray:h0,forEachEntry:y0,matchAll:_0,isHTMLForm:b0,hasOwnProperty:no,hasOwnProp:no,reduceDescriptors:ya,freezeMethods:N0,toObjectSet:O0,toCamelCase:v0,noop:C0,toFiniteNumber:S0,findKey:ma,global:ha,isContextDefined:ga,ALPHABET:_a,generateString:T0,isSpecCompliantForm:w0,toJSONObject:L0,isAsyncFn:P0,isThenable:I0};function M(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}v.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:v.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ba=M.prototype,va={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{va[e]={value:e}});Object.defineProperties(M,va);Object.defineProperty(ba,"isAxiosError",{value:!0});M.from=(e,t,n,r,o,a)=>{const s=Object.create(ba);return v.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),M.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const A0=null;function Nn(e){return v.isPlainObject(e)||v.isArray(e)}function Ea(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function oo(e,t,n){return e?e.concat(t).map(function(o,a){return o=Ea(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function k0(e){return v.isArray(e)&&!e.some(Nn)}const D0=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Ht(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,w){return!v.isUndefined(w[b])});const r=n.metaTokens,o=n.visitor||p,a=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(o))throw new TypeError("visitor must be a function");function c(N){if(N===null)return"";if(v.isDate(N))return N.toISOString();if(!d&&v.isBlob(N))throw new M("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(N)||v.isTypedArray(N)?d&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,b,w){let m=N;if(N&&!w&&typeof N=="object"){if(v.endsWith(b,"{}"))b=r?b:b.slice(0,-2),N=JSON.stringify(N);else if(v.isArray(N)&&k0(N)||(v.isFileList(N)||v.endsWith(b,"[]"))&&(m=v.toArray(N)))return b=Ea(b),m.forEach(function(C,E){!(v.isUndefined(C)||C===null)&&t.append(s===!0?oo([b],E,a):s===null?b:b+"[]",c(C))}),!1}return Nn(N)?!0:(t.append(oo(w,b,a),c(N)),!1)}const $=[],g=Object.assign(D0,{defaultVisitor:p,convertValue:c,isVisitable:Nn});function S(N,b){if(!v.isUndefined(N)){if($.indexOf(N)!==-1)throw Error("Circular reference detected in "+b.join("."));$.push(N),v.forEach(N,function(m,y){(!(v.isUndefined(m)||m===null)&&o.call(t,m,v.isString(y)?y.trim():y,b,g))===!0&&S(m,b?b.concat(y):[y])}),$.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return S(e),t}function ao(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Un(e,t){this._pairs=[],e&&Ht(e,this,t)}const Na=Un.prototype;Na.append=function(t,n){this._pairs.push([t,n])};Na.toString=function(t){const n=t?function(r){return t.call(this,r,ao)}:ao;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function R0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Oa(e,t,n){if(!t)return e;const r=n&&n.encode||R0,o=n&&n.serialize;let a;if(o?a=o(t,n):a=v.isURLSearchParams(t)?t.toString():new Un(t,n).toString(r),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class F0{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const io=F0,Ca={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},M0=typeof URLSearchParams<"u"?URLSearchParams:Un,V0=typeof FormData<"u"?FormData:null,x0=typeof Blob<"u"?Blob:null,B0={isBrowser:!0,classes:{URLSearchParams:M0,FormData:V0,Blob:x0},protocols:["http","https","file","blob","url","data"]},Sa=typeof window<"u"&&typeof document<"u",U0=(e=>Sa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),j0=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),G0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sa,hasStandardBrowserEnv:U0,hasStandardBrowserWebWorkerEnv:j0},Symbol.toStringTag,{value:"Module"})),ge={...G0,...B0};function H0(e,t){return Ht(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return ge.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function W0(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function K0(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function Ta(e){function t(n,r,o,a){let s=n[a++];const l=Number.isFinite(+s),d=a>=n.length;return s=!s&&v.isArray(o)?o.length:s,d?(v.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!v.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],a)&&v.isArray(o[s])&&(o[s]=K0(o[s])),!l)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,o)=>{t(W0(r),o,n,0)}),n}return null}function Y0(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const jn={transitional:Ca,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=v.isObject(t);if(a&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return o&&o?JSON.stringify(Ta(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return H0(t,this.formSerializer).toString();if((l=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ht(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Y0(t)):t}],transformResponse:[function(t){const n=this.transitional||jn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&v.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{jn.headers[e]={}});const Gn=jn,X0=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),z0=e=>{const t={};let n,r,o;return e&&e.split(`
|
32
|
+
*/const wu="9.7.0";function Lu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ee().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ee().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ee().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ee().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ee().__INTLIFY_PROD_DEVTOOLS__=!1)}const Jo=te.__EXTEND_POINT__,we=kn(Jo),ie={FALLBACK_TO_ROOT:Jo,NOT_SUPPORTED_PRESERVE:we(),NOT_SUPPORTED_FORMATTER:we(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:we(),NOT_SUPPORTED_GET_CHOICE_INDEX:we(),COMPONENT_NAME_LEGACY_COMPATIBLE:we(),NOT_FOUND_PARENT_SCOPE:we(),IGNORE_OBJ_FLATTEN:we(),NOTICE_DROP_ALLOW_COMPOSITION:we()},Pu={[ie.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ie.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ie.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ie.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ie.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ie.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ie.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ie.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ie.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function Mn(e,...t){return An(Pu[e],...t)}const Zo=le.__EXTEND_POINT__,re=kn(Zo),G={UNEXPECTED_RETURN_TYPE:Zo,INVALID_ARGUMENT:re(),MUST_BE_CALL_SETUP_TOP:re(),NOT_INSTALLED:re(),NOT_AVAILABLE_IN_LEGACY_MODE:re(),REQUIRED_VALUE:re(),INVALID_VALUE:re(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:re(),NOT_INSTALLED_WITH_PROVIDE:re(),UNEXPECTED_ERROR:re(),NOT_COMPATIBLE_LEGACY_VUE_I18N:re(),BRIDGE_SUPPORT_VUE_2_ONLY:re(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:re(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:re(),__EXTEND_POINT__:re()};function Pe(e,...t){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:Iu,args:t}:void 0)}const Iu={[G.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[G.INVALID_ARGUMENT]:"Invalid argument",[G.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[G.NOT_INSTALLED]:"Need to install with `app.use` function",[G.UNEXPECTED_ERROR]:"Unexpected error",[G.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[G.REQUIRED_VALUE]:"Required in value: {0}",[G.INVALID_VALUE]:"Invalid value",[G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[G.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[G.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[G.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[G.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},hn=Ce("__translateVNode"),gn=Ce("__datetimeParts"),yn=Ce("__numberParts"),_n=Ce("__enableEmitter"),bn=Ce("__disableEmitter"),Au=Ce("__setPluralRules"),Qo=Ce("__injectWithOption"),vn=Ce("__dispose");function yt(e){if(!U(e))return e;for(const t in e)if(mt(e,t))if(!t.includes("."))U(e[t])&&yt(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let s=0;s<r;s++){if(n[s]in o||(o[n[s]]={}),!U(o[n[s]])){process.env.NODE_ENV!=="production"&&Ae(Mn(ie.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}o=o[n[s]]}a||(o[n[r]]=e[t],delete e[t]),U(o[n[r]])&&yt(o[n[r]])}return e}function xn(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,s=F(n)?n:X(r)?{}:{[e]:{}};if(X(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(s[d]=s[d]||{},ft(c,s[d])):ft(c,s)}else A(l)&&ft(JSON.parse(l),s)}),o==null&&a)for(const l in s)mt(s,l)&&yt(s[l]);return s}function ea(e){return e.type}function ku(e,t,n){let r=U(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=xn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(U(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(U(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function zr(e){return i.createVNode(i.Text,null,e,0)}const qr="__INTLIFY_META__",Jr=()=>[],Du=()=>!1;let Zr=0;function Qr(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}const Ru=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=ea(e)[qr])?{[qr]:t}:null};function Fu(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,a=e.flatJson;let s=j(e.inheritLocale)?e.inheritLocale:!0;const l=i.ref(n&&s?n.locale.value:A(e.locale)?e.locale:gt),d=i.ref(n&&s?n.fallbackLocale.value:A(e.fallbackLocale)||X(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i.ref(xn(l.value,e)),p=i.ref(F(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),$=i.ref(F(e.numberFormats)?e.numberFormats:{[l.value]:{}});let g=n?n.missingWarn:j(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:j(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,N=n?n.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,w=H(e.missing)?e.missing:null,m=H(e.missing)?Qr(e.missing):null,y=H(e.postTranslation)?e.postTranslation:null,C=n?n.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const I=n?n.modifiers:F(e.modifiers)?e.modifiers:{};let L=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&Vr(null);const _={version:wu,locale:l.value,fallbackLocale:d.value,messages:c.value,modifiers:I,pluralRules:L,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:S,fallbackFormat:b,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:C,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=p.value,_.numberFormats=$.value,_.__datetimeFormatters=F(O)?O.__datetimeFormatters:void 0,_.__numberFormatters=F(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=F(O)?O.__v_emitter:void 0);const T=gu(_);return o&&Vr(T),T})(),ut(O,l.value,d.value);function x(){return[l.value,d.value,c.value,p.value,$.value]}const W=i.computed({get:()=>l.value,set:_=>{l.value=_,O.locale=l.value}}),ce=i.computed({get:()=>d.value,set:_=>{d.value=_,O.fallbackLocale=d.value,ut(O,l.value,_)}}),q=i.computed(()=>c.value),ae=i.computed(()=>p.value),Ge=i.computed(()=>$.value);function rt(){return H(y)?y:null}function pe(_){y=_,O.postTranslation=_}function He(){return w}function ot(_){_!==null&&(m=Qr(_)),w=_,O.missing=m}function We(_,T){return _!=="translate"||!T.resolvedMessage}const fe=(_,T,B,K,Me,Nt)=>{x();let Xe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=n?hu():void 0),Xe=_(O)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=void 0)}if(B!=="translate exists"&&J(Xe)&&Xe===xt||B==="translate exists"&&!Xe){const[xe,Va]=T();if(process.env.NODE_ENV!=="production"&&n&&A(xe)&&We(B,Va)&&(N&&(Vt(S,xe)||Uo(g,xe))&&Ae(Mn(ie.FALLBACK_TO_ROOT,{key:xe,type:B})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yn}=O;Yn&&N&&Yn.emit("fallback",{type:B,key:xe,to:"global",groupId:`${B}:${xe}`})}return n&&N?K(n):Me(xe)}else{if(Nt(Xe))return Xe;throw Pe(G.UNEXPECTED_RETURN_TYPE)}};function Ke(..._){return fe(T=>Reflect.apply(Gr,null,[T,..._]),()=>$n(..._),"translate",T=>Reflect.apply(T.t,T,[..._]),T=>T,T=>A(T))}function at(..._){const[T,B,K]=_;if(K&&!U(K))throw Pe(G.INVALID_ARGUMENT);return Ke(T,B,Z({resolvedMessage:!0},K||{}))}function it(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>pn(..._),"datetime format",T=>Reflect.apply(T.d,T,[..._]),()=>kt,T=>A(T))}function Ye(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>Reflect.apply(T.n,T,[..._]),()=>kt,T=>A(T))}function st(_){return _.map(T=>A(T)||J(T)||j(T)?zr(String(T)):T)}const lt={normalize:st,interpolate:_=>_,type:"vnode"};function De(..._){return fe(T=>{let B;const K=T;try{K.processor=lt,B=Reflect.apply(Gr,null,[K,..._])}finally{K.processor=null}return B},()=>$n(..._),"translate",T=>T[hn](..._),T=>[zr(T)],T=>X(T))}function Re(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>T[yn](..._),Jr,T=>A(T)||X(T))}function Se(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>pn(..._),"datetime format",T=>T[gn](..._),Jr,T=>A(T)||X(T))}function Fe(_){L=_,O.pluralRules=L}function dt(_,T){return fe(()=>{if(!_)return!1;const B=A(T)?T:l.value,K=h(B),Me=O.messageResolver(K,_);return je(Me)||se(Me)||A(Me)},()=>[_],"translate exists",B=>Reflect.apply(B.te,B,[_,T]),Du,B=>j(B))}function f(_){let T=null;const B=Ro(O,d.value,l.value);for(let K=0;K<B.length;K++){const Me=c.value[B[K]]||{},Nt=O.messageResolver(Me,_);if(Nt!=null){T=Nt;break}}return T}function u(_){const T=f(_);return T??(n?n.tm(_)||{}:{})}function h(_){return c.value[_]||{}}function P(_,T){if(a){const B={[_]:T};for(const K in B)mt(B,K)&&yt(B[K]);T=B[_]}c.value[_]=T,O.messages=c.value}function D(_,T){c.value[_]=c.value[_]||{};const B={[_]:T};for(const K in B)mt(B,K)&&yt(B[K]);T=B[_],ft(T,c.value[_]),O.messages=c.value}function V(_){return p.value[_]||{}}function me(_,T){p.value[_]=T,O.datetimeFormats=p.value,Kr(O,_,T)}function _e(_,T){p.value[_]=Z(p.value[_]||{},T),O.datetimeFormats=p.value,Kr(O,_,T)}function Fa(_){return $.value[_]||{}}function Ma(_,T){$.value[_]=T,O.numberFormats=$.value,Xr(O,_,T)}function xa(_,T){$.value[_]=Z($.value[_]||{},T),O.numberFormats=$.value,Xr(O,_,T)}Zr++,n&&Ie&&(i.watch(n.locale,_=>{s&&(l.value=_,O.locale=_,ut(O,l.value,d.value))}),i.watch(n.fallbackLocale,_=>{s&&(d.value=_,O.fallbackLocale=_,ut(O,l.value,d.value))}));const Y={id:Zr,locale:W,fallbackLocale:ce,get inheritLocale(){return s},set inheritLocale(_){s=_,_&&n&&(l.value=n.locale.value,d.value=n.fallbackLocale.value,ut(O,l.value,d.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:q,get modifiers(){return I},get pluralRules(){return L||{}},get isGlobal(){return o},get missingWarn(){return g},set missingWarn(_){g=_,O.missingWarn=g},get fallbackWarn(){return S},set fallbackWarn(_){S=_,O.fallbackWarn=S},get fallbackRoot(){return N},set fallbackRoot(_){N=_},get fallbackFormat(){return b},set fallbackFormat(_){b=_,O.fallbackFormat=b},get warnHtmlMessage(){return C},set warnHtmlMessage(_){C=_,O.warnHtmlMessage=_},get escapeParameter(){return E},set escapeParameter(_){E=_,O.escapeParameter=_},t:Ke,getLocaleMessage:h,setLocaleMessage:P,mergeLocaleMessage:D,getPostTranslationHandler:rt,setPostTranslationHandler:pe,getMissingHandler:He,setMissingHandler:ot,[Au]:Fe};return Y.datetimeFormats=ae,Y.numberFormats=Ge,Y.rt=at,Y.te=dt,Y.tm=u,Y.d=it,Y.n=Ye,Y.getDateTimeFormat=V,Y.setDateTimeFormat=me,Y.mergeDateTimeFormat=_e,Y.getNumberFormat=Fa,Y.setNumberFormat=Ma,Y.mergeNumberFormat=xa,Y[Qo]=r,Y[hn]=De,Y[gn]=Se,Y[yn]=Re,process.env.NODE_ENV!=="production"&&(Y[_n]=_=>{O.__v_emitter=_},Y[bn]=()=>{O.__v_emitter=void 0}),Y}const Vn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Mu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===i.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function ta(e){return i.Fragment}Z({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},Vn);function xu(e){return X(e)&&!A(e[0])}function na(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),A(e.format)?s.key=e.format:U(e.format)&&(A(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((g,S)=>n.includes(S)?Z({},g,{[S]:e.format[S]}):g,{}));const d=r(e.value,s,l);let c=[s.key];X(d)?c=d.map((g,S)=>{const N=o[g.type],b=N?N({[g.type]:g.value,index:S,parts:d}):[g.value];return xu(b)&&(b[0].key=`${g.type}-${S}`),b}):A(d)&&(c=[d]);const p=Z({},a),$=A(e.tag)||U(e.tag)?e.tag:ta();return i.h($,p,c)}}Z({value:{type:Number,required:!0},format:{type:[String,Object]}},Vn);Z({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vn);function eo(e,t){}const Vu=Ce("global-vue-i18n");function Bt(e={}){const t=i.getCurrentInstance();if(t==null)throw Pe(G.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(G.NOT_INSTALLED);const n=Bu(t),r=ju(n),o=ea(t),a=Uu(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Pe(G.NOT_AVAILABLE_IN_LEGACY_MODE);return Ku(t,a,r,e)}if(a==="global")return ku(r,e,o),r;if(a==="parent"){let d=Gu(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ae(Mn(ie.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Z({},e);"__i18n"in o&&(d.__i18n=o.__i18n),r&&(d.__root=r),l=Fu(d),s.__composerExtend&&(l[vn]=s.__composerExtend(l)),Wu(s,t,l),s.__setInstance(t,l)}return l}function Bu(e){{const t=i.inject(e.isCE?Vu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?G.NOT_INSTALLED_WITH_PROVIDE:G.UNEXPECTED_ERROR);return t}}function Uu(e,t){return Mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ju(e){return e.mode==="composition"?e.global:e.global.__composer}function Gu(e,t,n=!1){let r=null;const o=t.root;let a=Hu(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(a);l!=null&&(r=l.__composer,n&&r&&!r[Qo]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function Hu(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Wu(e,t,n){let r=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=sd();const o=n;o[_n]&&o[_n](r),r.on("*",eo)}},t),i.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",eo),o[bn]&&o[bn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=o[vn];a&&(a(),delete o[vn])},t)}function Ku(e,t,n,r={}){const o=t==="local",a=i.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Pe(G.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=j(r.inheritLocale)?r.inheritLocale:!A(r.locale),l=i.ref(!o||s?n.locale.value:A(r.locale)?r.locale:gt),d=i.ref(!o||s?n.fallbackLocale.value:A(r.fallbackLocale)||X(r.fallbackLocale)||F(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=i.ref(xn(l.value,r)),p=i.ref(F(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),$=i.ref(F(r.numberFormats)?r.numberFormats:{[l.value]:{}}),g=o?n.missingWarn:j(r.missingWarn)||Ze(r.missingWarn)?r.missingWarn:!0,S=o?n.fallbackWarn:j(r.fallbackWarn)||Ze(r.fallbackWarn)?r.fallbackWarn:!0,N=o?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,b=!!r.fallbackFormat,w=H(r.missing)?r.missing:null,m=H(r.postTranslation)?r.postTranslation:null,y=o?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,C=!!r.escapeParameter,E=o?n.modifiers:F(r.modifiers)?r.modifiers:{},I=r.pluralRules||o&&n.pluralRules;function L(){return[l.value,d.value,c.value,p.value,$.value]}const O=i.computed({get:()=>a.value?a.value.locale.value:l.value,set:u=>{a.value&&(a.value.locale.value=u),l.value=u}}),R=i.computed({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),d.value=u}}),x=i.computed(()=>a.value?a.value.messages.value:c.value),W=i.computed(()=>p.value),ce=i.computed(()=>$.value);function q(){return a.value?a.value.getPostTranslationHandler():m}function ae(u){a.value&&a.value.setPostTranslationHandler(u)}function Ge(){return a.value?a.value.getMissingHandler():w}function rt(u){a.value&&a.value.setMissingHandler(u)}function pe(u){return L(),u()}function He(...u){return a.value?pe(()=>Reflect.apply(a.value.t,null,[...u])):pe(()=>"")}function ot(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function We(...u){return a.value?pe(()=>Reflect.apply(a.value.d,null,[...u])):pe(()=>"")}function fe(...u){return a.value?pe(()=>Reflect.apply(a.value.n,null,[...u])):pe(()=>"")}function Ke(u){return a.value?a.value.tm(u):{}}function at(u,h){return a.value?a.value.te(u,h):!1}function it(u){return a.value?a.value.getLocaleMessage(u):{}}function Ye(u,h){a.value&&(a.value.setLocaleMessage(u,h),c.value[u]=h)}function st(u,h){a.value&&a.value.mergeLocaleMessage(u,h)}function Et(u){return a.value?a.value.getDateTimeFormat(u):{}}function lt(u,h){a.value&&(a.value.setDateTimeFormat(u,h),p.value[u]=h)}function De(u,h){a.value&&a.value.mergeDateTimeFormat(u,h)}function Re(u){return a.value?a.value.getNumberFormat(u):{}}function Se(u,h){a.value&&(a.value.setNumberFormat(u,h),$.value[u]=h)}function Fe(u,h){a.value&&a.value.mergeNumberFormat(u,h)}const dt={get id(){return a.value?a.value.id:-1},locale:O,fallbackLocale:R,messages:x,datetimeFormats:W,numberFormats:ce,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:I},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:g},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:S},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:N},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:b},set fallbackFormat(u){a.value&&(a.value.fallbackFormat=u)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(u){a.value&&(a.value.warnHtmlMessage=u)},get escapeParameter(){return a.value?a.value.escapeParameter:C},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:He,getPostTranslationHandler:q,setPostTranslationHandler:ae,getMissingHandler:Ge,setMissingHandler:rt,rt:ot,d:We,n:fe,tm:Ke,te:at,getLocaleMessage:it,setLocaleMessage:Ye,mergeLocaleMessage:st,getDateTimeFormat:Et,setDateTimeFormat:lt,mergeDateTimeFormat:De,getNumberFormat:Re,setNumberFormat:Se,mergeNumberFormat:Fe};function f(u){u.locale.value=l.value,u.fallbackLocale.value=d.value,Object.keys(c.value).forEach(h=>{u.mergeLocaleMessage(h,c.value[h])}),Object.keys(p.value).forEach(h=>{u.mergeDateTimeFormat(h,p.value[h])}),Object.keys($.value).forEach(h=>{u.mergeNumberFormat(h,$.value[h])}),u.escapeParameter=C,u.fallbackFormat=b,u.fallbackRoot=N,u.fallbackWarn=S,u.missingWarn=g,u.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Pe(G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=u.locale.value,d.value=u.fallbackLocale.value,c.value=u.messages.value,p.value=u.datetimeFormats.value,$.value=u.numberFormats.value):o&&f(u)}),dt}Lu();__INTLIFY_JIT_COMPILATION__?xr(Eu):xr(vu);fu(Yd);$u(Ro);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ee();e.__INTLIFY__=!0,nu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Yu={},Xu={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zu=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),qu=i.createElementVNode("path",{fill:"rgb(var(--black))","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,-1),Ju=[zu,qu];function Zu(e,t){return i.openBlock(),i.createElementBlock("svg",Xu,Ju)}const Qu=ue(Yu,[["render",Zu]]);const ec={key:"popup-content",class:"pd-small popup-wrapper"},ra={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e;function r(){t("close-popup")}return i.watch(()=>n.isPopupOpen,a=>{a?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Jl(),ql(),Bt({messages:{en:{},ru:{}}}),(a,s)=>e.isPopupOpen?(i.openBlock(),i.createBlock(i.Teleport,{key:0,to:"body"},[i.createVNode(i.Transition,{name:"TransitionTranslateY",appear:""},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("div",ec,[i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("section",i.mergeProps({key:0,class:"pos-relative z-index-4"},a.$attrs),[i.createElementVNode("button",{onClick:s[0]||(s[0]=l=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[i.createVNode(Qu)]),i.renderSlot(a.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:s[1]||(s[1]=l=>r()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},tc=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"})),nc={class:"flex-v-center flex-nowrap flex"},rc={key:0,class:"mn-r-auto t-transp mn-r-small"},oc=["name","value","checked"],ac={key:1,class:""},ic=i.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("g",{id:"24 / basic / check-mark"},[i.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),sc=[ic],oa={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){return(n,r)=>(i.openBlock(),i.createElementBlock("label",nc,[e.label?(i.openBlock(),i.createElementBlock("div",rc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onInput:r[0]||(r[0]=o=>n.text=t("update:radio",o.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,oc),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",ac,sc)):i.createCommentVNode("",!0)]))}},lc=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"}));const dc=["onClick"],uc={key:0,class:"t-transp mn-r-small"},cc={class:"w-100"},fc=["onClick"],$c={key:0,class:"w-100"},pc={key:0,class:"mn-t-thin invalid-feedback"},mc={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const n=e,r=i.ref(n.select),o=i.ref(!1);i.watch(()=>n.select,d=>{r.value=d});const a=i.computed(()=>n.select?n.options.filter(d=>d!==n.select):n.options),s=()=>{o.value=!o.value,t(o.value?"focus":"blur")},l=d=>{r.value=d,s(),t("update:select",r.value)};return(d,c)=>{var p;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{onClick:i.withModifiers(s,["stop"]),class:i.normalizeClass([d.$attrs.class,"cursor-pointer flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",uc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",cc,[i.createElementVNode("span",null,i.toDisplayString(((p=r.value)==null?void 0:p.name)||r.value||e.placeholder),1)]),i.createVNode(i.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:i.withCtx(()=>[o.value?(i.openBlock(),i.createElementBlock("ul",{key:0,class:i.normalizeClass([d.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(a),$=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers(g=>l($),["stop"])},[$?(i.openBlock(),i.createElementBlock("span",$c,i.toDisplayString($.name||$),1)):i.createCommentVNode("",!0)],8,fc))),256))],2)):i.createCommentVNode("",!0)]),_:1})],10,dc),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",pc," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},aa=ue(mc,[["__scopeId","data-v-dfe03dc2"]]),hc=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));function Zt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function gc(e){return(...t)=>!e(...t)}function yc(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ia(e,t,n,r){return t?e.filter(o=>yc(r(o,n),t)).sort((o,a)=>r(o,n).length-r(a,n).length):e}function _c(e){return e.filter(t=>!t.$isLabel)}function Qt(e,t){return n=>n.reduce((r,o)=>o[e]&&o[e].length?(r.push({$groupLabel:o[t],$isLabel:!0}),r.concat(o[e])):r,[])}function bc(e,t,n,r,o){return a=>a.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=ia(s[n],e,t,o);return l.length?{[r]:s[r],[n]:l}:[]})}const to=(...e)=>t=>e.reduce((n,r)=>r(n),t),vc={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Zt(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ia(n,t,this.label,this.customLabel):n=this.groupValues?Qt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(gc(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return to(bc(t,n,this.groupValues,this.groupLabel,this.customLabel),Qt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return to(Qt(this.groupValues,this.groupLabel),_c)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Zt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Zt(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},Ec={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const Nc={name:"vue-multiselect",mixins:[vc,Ec],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},Oc=["tabindex","aria-owns"],Cc={ref:"tags",class:"multiselect__tags"},Sc={class:"multiselect__tags-wrap"},Tc=["textContent"],wc=["onKeypress","onMousedown"],Lc=["textContent"],Pc={class:"multiselect__spinner"},Ic=["name","id","placeholder","value","disabled","tabindex","aria-controls"],Ac=["id"],kc={key:0},Dc={class:"multiselect__option"},Rc=["id","role"],Fc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],Mc=["data-select","data-deselect","onMouseenter","onMousedown"],xc={class:"multiselect__option"},Vc={class:"multiselect__option"};function Bc(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:i.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[i.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[i.createElementVNode("div",{onMousedown:t[0]||(t[0]=i.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",Cc,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",Sc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.visibleValues,(s,l)=>i.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:l},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(s))},null,8,Tc),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:i.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,wc)]))])),256))],512),[[i.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?i.renderSlot(e.$slots,"limit",{key:0},()=>[i.createElementVNode("strong",{class:"multiselect__strong",textContent:i.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Lc)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",Pc,null,512),[[i.vShow,n.loading]])])]),_:3}),e.searchable?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:i.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,Ic)):i.createCommentVNode("",!0),a.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[i.createTextVNode(i.toDisplayString(e.currentOptionLabel),1)])],32)):i.createCommentVNode("",!0),a.isPlaceholderVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"placeholder",{},()=>[i.createTextVNode(i.toDisplayString(e.placeholder),1)])],32)):i.createCommentVNode("",!0)],512),i.createVNode(i.Transition,{name:"multiselect"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=i.withModifiers(()=>{},["prevent"])),style:i.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[i.createElementVNode("ul",{class:"multiselect__content",style:i.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[i.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(i.openBlock(),i.createElementBlock("li",kc,[i.createElementVNode("span",Dc,[i.renderSlot(e.$slots,"maxElements",{},()=>[i.createTextVNode("Maximum of "+i.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):i.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(e.filteredOptions,(s,l)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:i.withModifiers(d=>e.select(s),["stop"]),onMouseenter:i.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Fc)),s&&(s.$isLabel||s.$isDisabled)?(i.openBlock(),i.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:i.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:i.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:i.withModifiers(d=>e.selectGroup(s),["prevent"])},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Mc)):i.createCommentVNode("",!0)],8,Rc))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",xc,[i.renderSlot(e.$slots,"noResult",{search:e.search},()=>[i.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[i.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",Vc,[i.renderSlot(e.$slots,"noOptions",{},()=>[i.createTextVNode("List is empty.")])])],512),[[i.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),i.renderSlot(e.$slots,"afterList")],12,Ac)],38),[[i.vShow,e.isOpen]])]),_:3})],42,Oc)}const sa=ue(Nc,[["render",Bc]]),Uc=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"}));const jc={key:0,class:"spoiler"},la={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1);return t.status&&(n.value=t.status),(r,o)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:o[0]||(o[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[i.renderSlot(r.$slots,"header")]),i.createVNode(i.Transition,{name:"collapse"},{default:i.withCtx(()=>[n.value?(i.openBlock(),i.createElementBlock("div",jc,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},Gc=Object.freeze(Object.defineProperty({__proto__:null,default:la},Symbol.toStringTag,{value:"Module"}));const Hc={class:""},Wc={class:"flex-nowrap flex-v-center flex"},Kc=["onClick"],da={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=i.ref(0);if(n.selected){const d=n.tabs.findIndex(c=>c.value===n.selected);d!==-1&&(r.value=d)}function o(d,c){r.value=d,t("update:selected",c.value),n.callback&&n.callback()}function a(d){return`${100/n.tabs.length*d}%`}function s(){return`${100/n.tabs.length}%`}const l=i.computed(()=>({left:a(r.value),width:s()}));return(d,c)=>(i.openBlock(),i.createElementBlock("div",Hc,[i.createElementVNode("div",Wc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(p,$)=>(i.openBlock(),i.createElementBlock("div",{key:$,onClick:g=>o($,p),class:i.normalizeClass([{"t-transp":$!==r.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(p.name),1)],10,Kc))),128)),i.createElementVNode("div",{style:i.normalizeStyle(i.unref(l)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},Yc=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"}));const Xc={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=i.ref(!1),n=i.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(a){t.value=!0,n.left=`${a.clientX/100+10}px`,n.top=`${a.clientY/100+10}px`,n.display="block"}function o(){t.value=!1,n.display="none"}return(a,s)=>(i.openBlock(),i.createElementBlock("div",{class:"tooltip-container",onMouseover:r,onMouseleave:o},[i.renderSlot(a.$slots,"default",{},void 0,!0),i.createElementVNode("div",{class:"tooltip-content",style:i.normalizeStyle(n)},i.toDisplayString(e.text),5)],32))}},ua=ue(Xc,[["__scopeId","data-v-b0efe407"]]),zc=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"})),qc={key:0,class:"cursor-pointer t-second"},ca={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1),r=i.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),o=i.computed(()=>t.text),a=()=>{n.value=!n.value},s=i.computed(()=>n.value?o.value:r.value),l=i.computed(()=>t.text.length>t.maxLen),d=i.computed(()=>n.value?"Hide":"Show more");return(c,p)=>(i.openBlock(),i.createElementBlock("span",{onClick:a,class:""},[i.createTextVNode(i.toDisplayString(i.unref(s))+" ",1),i.unref(l)&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",qc,i.toDisplayString(i.unref(d)),1)):i.createCommentVNode("",!0)]))}},Jc=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"}));function fa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Zc}=Object.prototype,{getPrototypeOf:Bn}=Object,Ut=(e=>t=>{const n=Zc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ye=e=>(e=e.toLowerCase(),t=>Ut(t)===e),jt=e=>t=>typeof t===e,{isArray:nt}=Array,_t=jt("undefined");function Qc(e){return e!==null&&!_t(e)&&e.constructor!==null&&!_t(e.constructor)&&de(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $a=ye("ArrayBuffer");function e0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$a(e.buffer),t}const t0=jt("string"),de=jt("function"),pa=jt("number"),Gt=e=>e!==null&&typeof e=="object",n0=e=>e===!0||e===!1,Tt=e=>{if(Ut(e)!=="object")return!1;const t=Bn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},r0=ye("Date"),o0=ye("File"),a0=ye("Blob"),i0=ye("FileList"),s0=e=>Gt(e)&&de(e.pipe),l0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||de(e.append)&&((t=Ut(e))==="formdata"||t==="object"&&de(e.toString)&&e.toString()==="[object FormData]"))},d0=ye("URLSearchParams"),u0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),nt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function ma(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ha=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ga=e=>!_t(e)&&e!==ha;function En(){const{caseless:e}=ga(this)&&this||{},t={},n=(r,o)=>{const a=e&&ma(t,o)||o;Tt(t[a])&&Tt(r)?t[a]=En(t[a],r):Tt(r)?t[a]=En({},r):nt(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&bt(arguments[r],n);return t}const c0=(e,t,n,{allOwnKeys:r}={})=>(bt(t,(o,a)=>{n&&de(o)?e[a]=fa(o,n):e[a]=o},{allOwnKeys:r}),e),f0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},p0=(e,t,n,r)=>{let o,a,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Bn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},m0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},h0=e=>{if(!e)return null;if(nt(e))return e;let t=e.length;if(!pa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},g0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bn(Uint8Array)),y0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},_0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},b0=ye("HTMLFormElement"),v0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),no=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),E0=ye("RegExp"),ya=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};bt(n,(o,a)=>{let s;(s=t(o,a,e))!==!1&&(r[a]=s||o)}),Object.defineProperties(e,r)},N0=e=>{ya(e,(t,n)=>{if(de(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(de(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},O0=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return nt(e)?r(e):r(String(e).split(t)),n},C0=()=>{},S0=(e,t)=>(e=+e,Number.isFinite(e)?e:t),en="abcdefghijklmnopqrstuvwxyz",ro="0123456789",_a={DIGIT:ro,ALPHA:en,ALPHA_DIGIT:en+en.toUpperCase()+ro},T0=(e=16,t=_a.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function w0(e){return!!(e&&de(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const L0=e=>{const t=new Array(10),n=(r,o)=>{if(Gt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=nt(r)?[]:{};return bt(r,(s,l)=>{const d=n(s,o+1);!_t(d)&&(a[l]=d)}),t[o]=void 0,a}}return r};return n(e,0)},P0=ye("AsyncFunction"),I0=e=>e&&(Gt(e)||de(e))&&de(e.then)&&de(e.catch),v={isArray:nt,isArrayBuffer:$a,isBuffer:Qc,isFormData:l0,isArrayBufferView:e0,isString:t0,isNumber:pa,isBoolean:n0,isObject:Gt,isPlainObject:Tt,isUndefined:_t,isDate:r0,isFile:o0,isBlob:a0,isRegExp:E0,isFunction:de,isStream:s0,isURLSearchParams:d0,isTypedArray:g0,isFileList:i0,forEach:bt,merge:En,extend:c0,trim:u0,stripBOM:f0,inherits:$0,toFlatObject:p0,kindOf:Ut,kindOfTest:ye,endsWith:m0,toArray:h0,forEachEntry:y0,matchAll:_0,isHTMLForm:b0,hasOwnProperty:no,hasOwnProp:no,reduceDescriptors:ya,freezeMethods:N0,toObjectSet:O0,toCamelCase:v0,noop:C0,toFiniteNumber:S0,findKey:ma,global:ha,isContextDefined:ga,ALPHABET:_a,generateString:T0,isSpecCompliantForm:w0,toJSONObject:L0,isAsyncFn:P0,isThenable:I0};function M(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}v.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:v.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ba=M.prototype,va={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{va[e]={value:e}});Object.defineProperties(M,va);Object.defineProperty(ba,"isAxiosError",{value:!0});M.from=(e,t,n,r,o,a)=>{const s=Object.create(ba);return v.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),M.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const A0=null;function Nn(e){return v.isPlainObject(e)||v.isArray(e)}function Ea(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function oo(e,t,n){return e?e.concat(t).map(function(o,a){return o=Ea(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function k0(e){return v.isArray(e)&&!e.some(Nn)}const D0=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Ht(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,w){return!v.isUndefined(w[b])});const r=n.metaTokens,o=n.visitor||p,a=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(o))throw new TypeError("visitor must be a function");function c(N){if(N===null)return"";if(v.isDate(N))return N.toISOString();if(!d&&v.isBlob(N))throw new M("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(N)||v.isTypedArray(N)?d&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,b,w){let m=N;if(N&&!w&&typeof N=="object"){if(v.endsWith(b,"{}"))b=r?b:b.slice(0,-2),N=JSON.stringify(N);else if(v.isArray(N)&&k0(N)||(v.isFileList(N)||v.endsWith(b,"[]"))&&(m=v.toArray(N)))return b=Ea(b),m.forEach(function(C,E){!(v.isUndefined(C)||C===null)&&t.append(s===!0?oo([b],E,a):s===null?b:b+"[]",c(C))}),!1}return Nn(N)?!0:(t.append(oo(w,b,a),c(N)),!1)}const $=[],g=Object.assign(D0,{defaultVisitor:p,convertValue:c,isVisitable:Nn});function S(N,b){if(!v.isUndefined(N)){if($.indexOf(N)!==-1)throw Error("Circular reference detected in "+b.join("."));$.push(N),v.forEach(N,function(m,y){(!(v.isUndefined(m)||m===null)&&o.call(t,m,v.isString(y)?y.trim():y,b,g))===!0&&S(m,b?b.concat(y):[y])}),$.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return S(e),t}function ao(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Un(e,t){this._pairs=[],e&&Ht(e,this,t)}const Na=Un.prototype;Na.append=function(t,n){this._pairs.push([t,n])};Na.toString=function(t){const n=t?function(r){return t.call(this,r,ao)}:ao;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function R0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Oa(e,t,n){if(!t)return e;const r=n&&n.encode||R0,o=n&&n.serialize;let a;if(o?a=o(t,n):a=v.isURLSearchParams(t)?t.toString():new Un(t,n).toString(r),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class F0{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const io=F0,Ca={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},M0=typeof URLSearchParams<"u"?URLSearchParams:Un,x0=typeof FormData<"u"?FormData:null,V0=typeof Blob<"u"?Blob:null,B0={isBrowser:!0,classes:{URLSearchParams:M0,FormData:x0,Blob:V0},protocols:["http","https","file","blob","url","data"]},Sa=typeof window<"u"&&typeof document<"u",U0=(e=>Sa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),j0=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),G0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sa,hasStandardBrowserEnv:U0,hasStandardBrowserWebWorkerEnv:j0},Symbol.toStringTag,{value:"Module"})),ge={...G0,...B0};function H0(e,t){return Ht(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return ge.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function W0(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function K0(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function Ta(e){function t(n,r,o,a){let s=n[a++];const l=Number.isFinite(+s),d=a>=n.length;return s=!s&&v.isArray(o)?o.length:s,d?(v.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!v.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],a)&&v.isArray(o[s])&&(o[s]=K0(o[s])),!l)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,o)=>{t(W0(r),o,n,0)}),n}return null}function Y0(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const jn={transitional:Ca,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=v.isObject(t);if(a&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return o&&o?JSON.stringify(Ta(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return H0(t,this.formSerializer).toString();if((l=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ht(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Y0(t)):t}],transformResponse:[function(t){const n=this.transitional||jn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&v.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{jn.headers[e]={}});const Gn=jn,X0=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),z0=e=>{const t={};let n,r,o;return e&&e.split(`
|
33
33
|
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&X0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},so=Symbol("internals");function ct(e){return e&&String(e).trim().toLowerCase()}function wt(e){return e===!1||e==null?e:v.isArray(e)?e.map(wt):String(e)}function q0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const J0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tn(e,t,n,r,o){if(v.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!v.isString(t)){if(v.isString(r))return t.indexOf(r)!==-1;if(v.isRegExp(r))return r.test(t)}}function Z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Q0(e,t){const n=v.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,s){return this[r].call(this,t,o,a,s)},configurable:!0})})}class Wt{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(l,d,c){const p=ct(d);if(!p)throw new Error("header name must be a non-empty string");const $=v.findKey(o,p);(!$||o[$]===void 0||c===!0||c===void 0&&o[$]!==!1)&&(o[$||d]=wt(l))}const s=(l,d)=>v.forEach(l,(c,p)=>a(c,p,d));return v.isPlainObject(t)||t instanceof this.constructor?s(t,n):v.isString(t)&&(t=t.trim())&&!J0(t)?s(z0(t),n):t!=null&&a(n,t,r),this}get(t,n){if(t=ct(t),t){const r=v.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return q0(o);if(v.isFunction(n))return n.call(this,o,r);if(v.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ct(t),t){const r=v.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||tn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(s){if(s=ct(s),s){const l=v.findKey(r,s);l&&(!n||tn(r,r[l],l,n))&&(delete r[l],o=!0)}}return v.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||tn(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return v.forEach(this,(o,a)=>{const s=v.findKey(r,a);if(s){n[s]=wt(o),delete n[a];return}const l=t?Z0(a):String(a).trim();l!==a&&delete n[a],n[l]=wt(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return v.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&v.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
34
34
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[so]=this[so]={accessors:{}}).accessors,o=this.prototype;function a(s){const l=ct(s);r[l]||(Q0(o,s),r[l]=!0)}return v.isArray(t)?t.forEach(a):a(t),this}}Wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(Wt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});v.freezeMethods(Wt);const Ne=Wt;function nn(e,t){const n=this||Gn,r=t||n,o=Ne.from(r.headers);let a=r.data;return v.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function wa(e){return!!(e&&e.__CANCEL__)}function vt(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}v.inherits(vt,M,{__CANCEL__:!0});function e1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const t1=ge.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const s=[e+"="+encodeURIComponent(t)];v.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),v.isString(r)&&s.push("path="+r),v.isString(o)&&s.push("domain="+o),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function n1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function r1(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function La(e,t){return e&&!n1(t)?r1(e,t):t}const o1=ge.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(a){let s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=v.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function a1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function i1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),p=r[a];s||(s=c),n[o]=d,r[o]=c;let $=a,g=0;for(;$!==o;)g+=n[$++],$=$%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-s<t)return;const S=p&&c-p;return S?Math.round(g*1e3/S):void 0}}function lo(e,t){let n=0;const r=i1(50,250);return o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-n,d=r(l),c=a<=s;n=a;const p={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:d||void 0,estimated:d&&s&&c?(s-a)/d:void 0,event:o};p[t?"download":"upload"]=!0,e(p)}}const s1=typeof XMLHttpRequest<"u",l1=s1&&function(e){return new Promise(function(n,r){let o=e.data;const a=Ne.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,d;function c(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}let p;if(v.isFormData(o)){if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((p=a.getContentType())!==!1){const[b,...w]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([b||"multipart/form-data",...w].join("; "))}}let $=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(b+":"+w))}const g=La(e.baseURL,e.url);$.open(e.method.toUpperCase(),Oa(g,e.params,e.paramsSerializer),!0),$.timeout=e.timeout;function S(){if(!$)return;const b=Ne.from("getAllResponseHeaders"in $&&$.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?$.responseText:$.response,status:$.status,statusText:$.statusText,headers:b,config:e,request:$};e1(function(C){n(C),c()},function(C){r(C),c()},m),$=null}if("onloadend"in $?$.onloadend=S:$.onreadystatechange=function(){!$||$.readyState!==4||$.status===0&&!($.responseURL&&$.responseURL.indexOf("file:")===0)||setTimeout(S)},$.onabort=function(){$&&(r(new M("Request aborted",M.ECONNABORTED,e,$)),$=null)},$.onerror=function(){r(new M("Network Error",M.ERR_NETWORK,e,$)),$=null},$.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Ca;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),r(new M(w,m.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,e,$)),$=null},ge.hasStandardBrowserEnv&&(l&&v.isFunction(l)&&(l=l(e)),l||l!==!1&&o1(g))){const b=e.xsrfHeaderName&&e.xsrfCookieName&&t1.read(e.xsrfCookieName);b&&a.set(e.xsrfHeaderName,b)}o===void 0&&a.setContentType(null),"setRequestHeader"in $&&v.forEach(a.toJSON(),function(w,m){$.setRequestHeader(m,w)}),v.isUndefined(e.withCredentials)||($.withCredentials=!!e.withCredentials),s&&s!=="json"&&($.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&$.addEventListener("progress",lo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&$.upload&&$.upload.addEventListener("progress",lo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=b=>{$&&(r(!b||b.type?new vt(null,e,$):b),$.abort(),$=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const N=a1(g);if(N&&ge.protocols.indexOf(N)===-1){r(new M("Unsupported protocol "+N+":",M.ERR_BAD_REQUEST,e));return}$.send(o||null)})},On={http:A0,xhr:l1};v.forEach(On,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const uo=e=>`- ${e}`,d1=e=>v.isFunction(e)||e===null||e===!1,Pa={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){n=e[a];let s;if(r=n,!d1(n)&&(r=On[(s=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+a]=r}if(!r){const a=Object.entries(o).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?a.length>1?`since :
|
35
35
|
`+a.map(uo).join(`
|
36
|
-
`):" "+uo(a[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:On};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vt(null,e)}function co(e){return rn(e),e.headers=Ne.from(e.headers),e.data=nn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pa.getAdapter(e.adapter||Gn.adapter)(e).then(function(r){return rn(e),r.data=nn.call(e,e.transformResponse,r),r.headers=Ne.from(r.headers),r},function(r){return wa(r)||(rn(e),r&&r.response&&(r.response.data=nn.call(e,e.transformResponse,r.response),r.response.headers=Ne.from(r.response.headers))),Promise.reject(r)})}const fo=e=>e instanceof Ne?e.toJSON():e;function et(e,t){t=t||{};const n={};function r(c,p,$){return v.isPlainObject(c)&&v.isPlainObject(p)?v.merge.call({caseless:$},c,p):v.isPlainObject(p)?v.merge({},p):v.isArray(p)?p.slice():p}function o(c,p,$){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c,$)}else return r(c,p,$)}function a(c,p){if(!v.isUndefined(p))return r(void 0,p)}function s(c,p){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c)}else return r(void 0,p)}function l(c,p,$){if($ in t)return r(c,p);if($ in e)return r(void 0,c)}const d={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,p)=>o(fo(c),fo(p),!0)};return v.forEach(Object.keys(Object.assign({},e,t)),function(p){const $=d[p]||o,g=$(e[p],t[p],p);v.isUndefined(g)&&$!==l||(n[p]=g)}),n}const Ia="1.6.2",Hn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $o={};Hn.transitional=function(t,n,r){function o(a,s){return"[Axios v"+Ia+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return(a,s,l)=>{if(t===!1)throw new M(o(s," has been removed"+(n?" in "+n:"")),M.ERR_DEPRECATED);return n&&!$o[s]&&($o[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}};function u1(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],s=t[a];if(s){const l=e[a],d=l===void 0||s(l,a,e);if(d!==!0)throw new M("option "+a+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+a,M.ERR_BAD_OPTION)}}const Cn={assertOptions:u1,validators:Hn},Le=Cn.validators;class Dt{constructor(t){this.defaults=t,this.interceptors={request:new io,response:new io}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=et(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&Cn.assertOptions(r,{silentJSONParsing:Le.transitional(Le.boolean),forcedJSONParsing:Le.transitional(Le.boolean),clarifyTimeoutError:Le.transitional(Le.boolean)},!1),o!=null&&(v.isFunction(o)?n.paramsSerializer={serialize:o}:Cn.assertOptions(o,{encode:Le.function,serialize:Le.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&v.merge(a.common,a[n.method]);a&&v.forEach(["delete","get","head","post","put","patch","common"],N=>{delete a[N]}),n.headers=Ne.concat(s,a);const l=[];let d=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(d=d&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let p,$=0,g;if(!d){const N=[co.bind(this),void 0];for(N.unshift.apply(N,l),N.push.apply(N,c),g=N.length,p=Promise.resolve(n);$<g;)p=p.then(N[$++],N[$++]);return p}g=l.length;let S=n;for($=0;$<g;){const N=l[$++],b=l[$++];try{S=N(S)}catch(w){b.call(this,w);break}}try{p=co.call(this,S)}catch(N){return Promise.reject(N)}for($=0,g=c.length;$<g;)p=p.then(c[$++],c[$++]);return p}getUri(t){t=et(this.defaults,t);const n=La(t.baseURL,t.url);return Oa(n,t.params,t.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(t){Dt.prototype[t]=function(n,r){return this.request(et(r||{},{method:t,url:n,data:(r||{}).data}))}});v.forEach(["post","put","patch"],function(t){function n(r){return function(a,s,l){return this.request(et(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}Dt.prototype[t]=n(),Dt.prototype[t+"Form"]=n(!0)});const Lt=Dt;class Wn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(o);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new vt(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wn(function(o){t=o}),cancel:t}}}const c1=Wn;function f1(e){return function(n){return e.apply(null,n)}}function $1(e){return v.isObject(e)&&e.isAxiosError===!0}const Sn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sn).forEach(([e,t])=>{Sn[t]=e});const p1=Sn;function Aa(e){const t=new Lt(e),n=fa(Lt.prototype.request,t);return v.extend(n,Lt.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Aa(et(e,o))},n}const z=Aa(Gn);z.Axios=Lt;z.CanceledError=vt;z.CancelToken=c1;z.isCancel=wa;z.VERSION=Ia;z.toFormData=Ht;z.AxiosError=M;z.Cancel=z.CanceledError;z.all=function(t){return Promise.all(t)};z.spread=f1;z.isAxiosError=$1;z.mergeConfig=et;z.AxiosHeaders=Ne;z.formToJSON=e=>Ta(v.isHTMLForm(e)?new FormData(e):e);z.getAdapter=Pa.getAdapter;z.HttpStatusCode=p1;z.default=z;const Kn=z;const m1={key:0,class:"t-transp mn-r-small"},h1={class:"w-100"},g1=["placeholder","multiple"],y1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},_1={__name:"Upload",props:{label:null,type:"file",placeholder:"Upload a file",validation:!1,multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=e,r=i.ref(null);i.ref(null);async function o(a){let s=a.target.files[0],l=new FormData;l.append("file",s);try{let c=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,l,{headers:{"Content-Type":"multipart/form-data"}});r.value=c.data.filepath,t("file-change",r.value)}catch(d){console.error(d)}}return(a,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[i.createTextVNode(i.toDisplayString(r.value)+" ",1),e.label?(i.openBlock(),i.createElementBlock("div",m1,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",h1,[i.createElementVNode("input",{onChange:o,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,g1)])],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",y1," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},ka=ue(_1,[["__scopeId","data-v-5dd2f570"]]),b1=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"})),v1=["src"],E1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},N1=i.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{fill:"white",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1),O1=[N1],Da={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=e,r=i.ref(null),o=i.ref(null);i.watch(n,({photo:d})=>{d&&(r.value=d)});function a(){o.value.click()}async function s(d){let c=d.target.files[0],p=new FormData;p.append("file",c);try{let g=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,p,{headers:{"Content-Type":"multipart/form-data"}});r.value=g.data.filepath,t("update:photo",r.value)}catch($){console.error($)}}function l(d){d.preventDefault(),s({target:{files:d.dataTransfer.files}})}return(d,c)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:l,onDragover:c[0]||(c[0]=i.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[r.value||e.photo?(i.openBlock(),i.createElementBlock("img",{key:0,src:(d.FILE_SERVER_URL||"")+(r.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,v1)):(i.openBlock(),i.createElementBlock("div",E1,O1)),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:s,style:{display:"none"}},null,544)],32))}},C1=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"})),S1=i.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),Ra={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(e,{emit:t}){const n=e,r=i.ref([]),o=i.ref(null);function a(){o.value.click()}async function s(d){let c=d.target.files,p=new FormData;for(let $=0;$<c.length;$++)p.append("file",c[$]);try{(await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,p,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(S=>{r.value.push(S.filepath)}),t("update:images",r.value)}catch($){console.error($)}}function l(d){d.preventDefault(),s({target:{files:d.dataTransfer.files}})}return(d,c)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:l,onDragover:c[0]||(c[0]=i.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[S1,i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:s,multiple:"",style:{display:"none"}},null,544)],32))}},T1=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"})),w1={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ha)),e.component("Button",()=>Promise.resolve().then(()=>Za)),e.component("Checkbox",()=>Promise.resolve().then(()=>ri)),e.component("Dropdown",()=>Promise.resolve().then(()=>ai)),e.component("Error",()=>Promise.resolve().then(()=>li)),e.component("Field",()=>Promise.resolve().then(()=>hi)),e.component("FieldPhone",()=>Promise.resolve().then(()=>xl)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Wl)),e.component("Map",()=>Promise.resolve().then(()=>Yl)),e.component("Popup",()=>Promise.resolve().then(()=>tc)),e.component("Radio",()=>Promise.resolve().then(()=>lc)),e.component("Select",()=>Promise.resolve().then(()=>hc)),e.component("SelectMulti",()=>Promise.resolve().then(()=>Uc)),e.component("Spoiler",()=>Promise.resolve().then(()=>Gc)),e.component("Tab",()=>Promise.resolve().then(()=>Yc)),e.component("Tooltip",()=>Promise.resolve().then(()=>zc)),e.component("Text",()=>Promise.resolve().then(()=>Jc)),e.component("Upload",()=>Promise.resolve().then(()=>b1)),e.component("UploadImage",()=>Promise.resolve().then(()=>C1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>T1))}};exports.Address=po;exports.Button=mo;exports.Checkbox=ho;exports.Dropdown=yo;exports.Error=_o;exports.Field=bo;exports.FieldPhone=wo;exports.LocationMarker=Lo;exports.Map=Po;exports.Popup=ra;exports.Radio=oa;exports.Select=aa;exports.SelectMulti=sa;exports.Spoiler=la;exports.Tab=da;exports.Text=ca;exports.Tooltip=ua;exports.Upload=ka;exports.UploadImage=Da;exports.UploadImageMultiple=Ra;exports.default=w1;
|
36
|
+
`):" "+uo(a[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:On};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vt(null,e)}function co(e){return rn(e),e.headers=Ne.from(e.headers),e.data=nn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pa.getAdapter(e.adapter||Gn.adapter)(e).then(function(r){return rn(e),r.data=nn.call(e,e.transformResponse,r),r.headers=Ne.from(r.headers),r},function(r){return wa(r)||(rn(e),r&&r.response&&(r.response.data=nn.call(e,e.transformResponse,r.response),r.response.headers=Ne.from(r.response.headers))),Promise.reject(r)})}const fo=e=>e instanceof Ne?e.toJSON():e;function et(e,t){t=t||{};const n={};function r(c,p,$){return v.isPlainObject(c)&&v.isPlainObject(p)?v.merge.call({caseless:$},c,p):v.isPlainObject(p)?v.merge({},p):v.isArray(p)?p.slice():p}function o(c,p,$){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c,$)}else return r(c,p,$)}function a(c,p){if(!v.isUndefined(p))return r(void 0,p)}function s(c,p){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c)}else return r(void 0,p)}function l(c,p,$){if($ in t)return r(c,p);if($ in e)return r(void 0,c)}const d={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,p)=>o(fo(c),fo(p),!0)};return v.forEach(Object.keys(Object.assign({},e,t)),function(p){const $=d[p]||o,g=$(e[p],t[p],p);v.isUndefined(g)&&$!==l||(n[p]=g)}),n}const Ia="1.6.2",Hn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $o={};Hn.transitional=function(t,n,r){function o(a,s){return"[Axios v"+Ia+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return(a,s,l)=>{if(t===!1)throw new M(o(s," has been removed"+(n?" in "+n:"")),M.ERR_DEPRECATED);return n&&!$o[s]&&($o[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}};function u1(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],s=t[a];if(s){const l=e[a],d=l===void 0||s(l,a,e);if(d!==!0)throw new M("option "+a+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+a,M.ERR_BAD_OPTION)}}const Cn={assertOptions:u1,validators:Hn},Le=Cn.validators;class Dt{constructor(t){this.defaults=t,this.interceptors={request:new io,response:new io}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=et(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&Cn.assertOptions(r,{silentJSONParsing:Le.transitional(Le.boolean),forcedJSONParsing:Le.transitional(Le.boolean),clarifyTimeoutError:Le.transitional(Le.boolean)},!1),o!=null&&(v.isFunction(o)?n.paramsSerializer={serialize:o}:Cn.assertOptions(o,{encode:Le.function,serialize:Le.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&v.merge(a.common,a[n.method]);a&&v.forEach(["delete","get","head","post","put","patch","common"],N=>{delete a[N]}),n.headers=Ne.concat(s,a);const l=[];let d=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(d=d&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let p,$=0,g;if(!d){const N=[co.bind(this),void 0];for(N.unshift.apply(N,l),N.push.apply(N,c),g=N.length,p=Promise.resolve(n);$<g;)p=p.then(N[$++],N[$++]);return p}g=l.length;let S=n;for($=0;$<g;){const N=l[$++],b=l[$++];try{S=N(S)}catch(w){b.call(this,w);break}}try{p=co.call(this,S)}catch(N){return Promise.reject(N)}for($=0,g=c.length;$<g;)p=p.then(c[$++],c[$++]);return p}getUri(t){t=et(this.defaults,t);const n=La(t.baseURL,t.url);return Oa(n,t.params,t.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(t){Dt.prototype[t]=function(n,r){return this.request(et(r||{},{method:t,url:n,data:(r||{}).data}))}});v.forEach(["post","put","patch"],function(t){function n(r){return function(a,s,l){return this.request(et(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}Dt.prototype[t]=n(),Dt.prototype[t+"Form"]=n(!0)});const Lt=Dt;class Wn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(o);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new vt(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wn(function(o){t=o}),cancel:t}}}const c1=Wn;function f1(e){return function(n){return e.apply(null,n)}}function $1(e){return v.isObject(e)&&e.isAxiosError===!0}const Sn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sn).forEach(([e,t])=>{Sn[t]=e});const p1=Sn;function Aa(e){const t=new Lt(e),n=fa(Lt.prototype.request,t);return v.extend(n,Lt.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Aa(et(e,o))},n}const z=Aa(Gn);z.Axios=Lt;z.CanceledError=vt;z.CancelToken=c1;z.isCancel=wa;z.VERSION=Ia;z.toFormData=Ht;z.AxiosError=M;z.Cancel=z.CanceledError;z.all=function(t){return Promise.all(t)};z.spread=f1;z.isAxiosError=$1;z.mergeConfig=et;z.AxiosHeaders=Ne;z.formToJSON=e=>Ta(v.isHTMLForm(e)?new FormData(e):e);z.getAdapter=Pa.getAdapter;z.HttpStatusCode=p1;z.default=z;const Kn=z;const m1={key:0,class:"t-transp mn-r-small"},h1={class:"w-100"},g1=["placeholder","multiple"],y1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},_1={__name:"Upload",props:{label:null,type:"file",placeholder:"Upload a file",validation:!1,multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=e,r=i.ref(null);i.ref(null);async function o(a){let s=a.target.files[0],l=new FormData;l.append("file",s);try{let c=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,l,{headers:{"Content-Type":"multipart/form-data"}});r.value=c.data.filepath,t("file-change",r.value)}catch(d){console.error(d)}}return(a,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[i.createTextVNode(i.toDisplayString(r.value)+" ",1),e.label?(i.openBlock(),i.createElementBlock("div",m1,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",h1,[i.createElementVNode("input",{onChange:o,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,g1)])],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",y1," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},ka=ue(_1,[["__scopeId","data-v-5dd2f570"]]),b1=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"})),v1=["src"],E1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},N1=i.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{fill:"white",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1),O1=[N1],Da={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=e,r=i.ref(null),o=i.ref(null);i.watch(n,({photo:d})=>{d&&(r.value=d)});function a(){o.value.click()}async function s(d){let c=d.target.files[0],p=new FormData;p.append("file",c);try{let g=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,p,{headers:{"Content-Type":"multipart/form-data"}});r.value=g.data.filepath,t("update:photo",r.value)}catch($){console.error($)}}function l(d){d.preventDefault(),s({target:{files:d.dataTransfer.files}})}return(d,c)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:l,onDragover:c[0]||(c[0]=i.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[r.value||e.photo?(i.openBlock(),i.createElementBlock("img",{key:0,src:(d.FILE_SERVER_URL||"")+(r.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,v1)):(i.openBlock(),i.createElementBlock("div",E1,O1)),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:s,style:{display:"none"}},null,544)],32))}},C1=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"})),S1=i.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),Ra={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(e,{emit:t}){const n=e,r=i.ref([]),o=i.ref(null);function a(){o.value.click()}async function s(d){let c=d.target.files,p=new FormData;for(let $=0;$<c.length;$++)p.append("file",c[$]);try{(await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,p,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(S=>{r.value.push(S.filepath)}),t("update:images",r.value)}catch($){console.error($)}}function l(d){d.preventDefault(),s({target:{files:d.dataTransfer.files}})}return(d,c)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:l,onDragover:c[0]||(c[0]=i.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[S1,i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:s,multiple:"",style:{display:"none"}},null,544)],32))}},T1=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"})),w1={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ha)),e.component("Button",()=>Promise.resolve().then(()=>Za)),e.component("Checkbox",()=>Promise.resolve().then(()=>ri)),e.component("Dropdown",()=>Promise.resolve().then(()=>ai)),e.component("Error",()=>Promise.resolve().then(()=>li)),e.component("Field",()=>Promise.resolve().then(()=>hi)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Vl)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Wl)),e.component("Map",()=>Promise.resolve().then(()=>Yl)),e.component("Popup",()=>Promise.resolve().then(()=>tc)),e.component("Radio",()=>Promise.resolve().then(()=>lc)),e.component("Select",()=>Promise.resolve().then(()=>hc)),e.component("SelectMulti",()=>Promise.resolve().then(()=>Uc)),e.component("Spoiler",()=>Promise.resolve().then(()=>Gc)),e.component("Tab",()=>Promise.resolve().then(()=>Yc)),e.component("Tooltip",()=>Promise.resolve().then(()=>zc)),e.component("Text",()=>Promise.resolve().then(()=>Jc)),e.component("Upload",()=>Promise.resolve().then(()=>b1)),e.component("UploadImage",()=>Promise.resolve().then(()=>C1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>T1))}};exports.Address=po;exports.Button=mo;exports.Checkbox=ho;exports.Dropdown=yo;exports.Error=_o;exports.Field=bo;exports.FieldPhone=wo;exports.LocationMarker=Lo;exports.Map=Po;exports.Popup=ra;exports.Radio=oa;exports.Select=aa;exports.SelectMulti=sa;exports.Spoiler=la;exports.Tab=da;exports.Text=ca;exports.Tooltip=ua;exports.Upload=ka;exports.UploadImage=Da;exports.UploadImageMultiple=Ra;exports.default=w1;
|