@ozdao/prometheus-framework 0.1.52 → 0.1.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  2. package/dist/main.css +1 -1
  3. package/dist/modules/constructor/components/elements/Audio.vue.d.ts +9 -0
  4. package/dist/modules/constructor/components/elements/Embed.vue.d.ts +9 -0
  5. package/dist/modules/constructor/components/elements/H2.vue.d.ts +1 -1
  6. package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +1 -1
  7. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
  9. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
  11. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  13. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
  15. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
  17. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
  19. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  20. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
  21. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
  23. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  24. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  25. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -0
  26. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +75 -0
  27. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -0
  28. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -0
  29. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  47. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -0
  48. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +46 -0
  49. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -0
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +48 -0
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
  55. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +70 -61
  57. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  63. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +12 -10
  65. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +199 -2
  69. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  75. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  85. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +18 -18
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  103. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  113. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  121. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +82 -100
  125. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  129. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +1 -1
  133. package/dist/prometheus-framework.cjs.js +19 -19
  134. package/dist/prometheus-framework.es.js +530 -522
  135. package/dist/style.css +1 -1
  136. package/package.json +1 -1
  137. package/src/components/Button/Button.vue +1 -1
  138. package/src/components/Upload/Upload.vue +28 -8
  139. package/src/modules/constructor/components/elements/Audio.vue +82 -0
  140. package/src/modules/constructor/components/elements/Embed.vue +85 -0
  141. package/src/modules/constructor/components/sections/Constructor.vue +54 -7
  142. package/src/modules/gallery/components/pages/Gallery.vue +2 -3
  143. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -24
  144. package/src/modules/globals/mixins/mixins.js +52 -0
  145. package/src/modules/globals/router/routerGuards.js +28 -0
  146. package/src/modules/marketplace/components/layouts/Marketplace.vue +0 -1
  147. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  148. package/src/modules/users/components/pages/Profile.vue +5 -3
  149. package/src/styles/theme.scss +0 -1
  150. package/src/styles/components/button.scss +0 -253
@@ -1,37 +1,37 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");const ue=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Ii={key:0,class:"t-transp mn-r-small"},Ai=["placeholder","value"],ki={key:0,class:"mn-t-thin invalid-feedback"},Di={__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=o.ref(null);let i;const a=()=>{i=new google.maps.places.Autocomplete(r.value),i.addListener("place_changed",d)},l=()=>{i||a()},d=()=>{const s=i.getPlace();if(!s.geometry||!s.address_components)return;let f="",h="",g="";for(let I=0;I<s.address_components.length;I++){console.log(s.address_components);let O=s.address_components[I];O.types.includes("country")&&(f=O.long_name),O.types.includes("administrative_area_level_1")&&(h=O.long_name),O.types.includes("locality")&&(g=O.long_name)}const $=s.formatted_address,N={lat:s.geometry.location.lat(),lng:s.geometry.location.lng()};t("update:address",$),t("update:location",N),t("update:country",f),t("update:state",h),t("update:city",g)};return o.watchEffect(()=>{n.address!==r.value&&(r.value=n.address)}),o.onMounted(()=>{a()}),(s,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([s.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Ii,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:r,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ai),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[s.validation?(o.openBlock(),o.createElementBlock("div",ki," * "+o.toDisplayString(s.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},ma=ue(Di,[["__scopeId","data-v-faece1a6"]]),Ri=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"}));const Fi=["onClick","disabled"],Mi={key:0},Vi={key:0,class:"loading"},xi=o.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[o.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[o.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"}),o.createTextVNode(),o.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"})]),o.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[o.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"}),o.createTextVNode(),o.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"})]),o.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[o.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"}),o.createTextVNode(),o.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"})]),o.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[o.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"}),o.createTextVNode(),o.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),Bi=[xi],Ui={key:0,class:"loading t-white"},ji={key:0,class:"error"},ha={__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=o.ref(null),r=o.ref(null),i=o.ref(!1),a=o.ref(!1);async function l(){n.value.style["pointer-events"]="none",r.value=null,i.value=!0;const d=()=>{n.value&&(n.value.classList.replace("bg-light-main","bg-main"),n.value.style.pointerEvents="auto",i.value=!1,a.value=!1,r.value=null)};try{await t.submit(),n.value.classList.replace("bg-main","bg-light-main"),i.value=!1,t.showSucces?(a.value=!0,setTimeout(d,500)):d(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value="❌",setTimeout(()=>{d(),n.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(d,s)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(l,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"w-100 bg-main button"},[o.createVNode(o.Transition,{name:"TransitionTranslateY-small"},{default:o.withCtx(()=>[!i.value&&!r.value&&!a.value?(o.openBlock(),o.createElementBlock("span",Mi,[o.renderSlot(d.$slots,"default")])):o.createCommentVNode("",!0)]),_:3}),o.createVNode(o.Transition,{name:"TransitionTranslateY-small"},{default:o.withCtx(()=>[i.value&&!r.value?(o.openBlock(),o.createElementBlock("span",Vi,Bi)):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{name:"TransitionTranslateY-small"},{default:o.withCtx(()=>[a.value&&e.showSucces?(o.openBlock(),o.createElementBlock("span",Ui,"✔")):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{name:"TransitionTranslateY-small"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createElementBlock("span",ji,o.toDisplayString(r.value),1)):o.createCommentVNode("",!0)]),_:1})],8,Fi))}},Gi=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));const Hi={class:"flex-v-center flex-nowrap flex"},Wi={key:0,class:"mn-r-auto t-transp mn-r-small"},Ki=["name","value","checked"],Yi={__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=i=>{if(Array.isArray(n.radio)){let a=[...n.radio];if(i.target.checked)a.push(n.value);else{const l=a.indexOf(n.value);l!==-1&&a.splice(l,1)}t("update:radio",a)}else typeof n.radio=="boolean"&&t("update:radio",i.target.checked)};return(i,a)=>(o.openBlock(),o.createElementBlock("label",Hi,[e.label?(o.openBlock(),o.createElementBlock("div",Wi,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.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,Ki),o.createElementVNode("div",{class:o.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}])},[o.createElementVNode("div",{class:o.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)]))}},ga=ue(Yi,[["__scopeId","data-v-f641f618"]]),Xi=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"})),va={beforeMount(e,t,n){if(typeof t.value!="function"){const r=n.context.name;let i=`[Vue-click-outside:] provided expression ${t.expression}
2
- is not a function, but has to be`;r&&(i+=`Found in component ${r}`),console.warn(i)}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 qi={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(e){let t=va;const n=o.ref(!1);function r(){n.value=!1}return(i,a)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"dropdown pos-relative",onClick:a[0]||(a[0]=o.withModifiers(l=>n.value=!n.value,["stop"]))},[o.createTextVNode(o.toDisplayString(e.label)+" ",1),o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{style:o.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[o.renderSlot(i.$slots,"default",{},void 0,!0)],4),[[o.vShow,n.value]])]),_:3})])),[[o.unref(t),r]])}},ya=ue(qi,[["__scopeId","data-v-5646d77f"]]),zi=Object.freeze(Object.defineProperty({__proto__:null,default:ya},Symbol.toStringTag,{value:"Module"})),Ji={class:"error-wrapper"},Zi={class:"error-card"},_a={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",Ji,[o.createElementVNode("div",Zi,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},Qi=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"}));const eo={key:0,class:"t-transp mn-r-small"},to={class:"w-100"},no=["type","value","placeholder"],ro=["value","placeholder"],ao={key:1,class:"t-transp mn-l-small"},io={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},oo={__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=o.ref(n.field);return(i,a)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[i.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",eo,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",to,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=l=>r.value=t("update:field",l.target.value)),onFocus:a[1]||(a[1]=l=>t("focus",l)),onBlur:a[2]||(a[2]=l=>t("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder},null,40,no)):(o.openBlock(),o.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=l=>r.value=t("update:field",l.target.value)),onFocus:a[4]||(a[4]=l=>t("focus",l)),onBlur:a[5]||(a[5]=l=>t("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder},null,40,ro))]),o.renderSlot(i.$slots,"default",{},void 0,!0),e.symbol?(o.openBlock(),o.createElementBlock("div",ao,[o.createElementVNode("span",null,o.toDisplayString(e.symbol),1)])):o.createCommentVNode("",!0)],2),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",io," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},ba=ue(oo,[["__scopeId","data-v-f4a29b0d"]]),lo=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"})),so={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 uo(e,t){var n=Array.prototype.slice.call(t);return n.push(so),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 Gn(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 co(e,t,n){return t&&Gn(e.prototype,t),n&&Gn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(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&&dt(e,t)}function po(e){var t=Na();return function(){var r=ut(e),i;if(t){var a=ut(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return mo(this,i)}}function mo(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 Ea(e)}function Ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e){var t=typeof Map=="function"?new Map:void 0;return ln=function(r){if(r===null||!ho(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,i)}function i(){return mt(r,arguments,ut(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),dt(i,r)},ln(e)}function mt(e,t,n){return Na()?mt=Reflect.construct:mt=function(i,a,l){var d=[null];d.push.apply(d,a);var s=Function.bind.apply(i,d),f=new s;return l&&dt(f,l.prototype),f},mt.apply(null,arguments)}function Na(){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 ho(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dt(e,t){return dt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},dt(e,t)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(e)}var _e=function(e){$o(n,e);var t=po(n);function n(r){var i;return fo(this,n),i=t.call(this,r),Object.setPrototypeOf(Ea(i),n.prototype),i.name=i.constructor.name,i}return co(n)}(ln(Error)),Nn=2,go=17,vo=3,fe="0-90-9٠-٩۰-۹",yo="-‐-―−ー-",_o="//",bo="..",Eo="  ­​⁠ ",No="()()[]\\[\\]",Oo="~⁓∼~",vt="".concat(yo).concat(_o).concat(bo).concat(Eo).concat(No).concat(Oo),On="++";function Hn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),i=0;i<3;i++){var a=Number(n[i]),l=Number(r[i]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))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 yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function Nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(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 Ot(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Co="1.2.0",So="1.7.35",Kn=" ext. ",To=/^\d+$/,te=function(){function e(t){Nt(this,e),Io(t),this.metadata=t,Oa.call(this,t)}return Ot(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&&To.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Yn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Yn(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 i=this.nonGeographic()[n];if(i)return i}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}(),Yn=function(){function e(t,n){Nt(this,e),this.globalMetadataObject=n,this.metadata=t,Oa.call(this,n.metadata)}return Ot(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(i){return new wo(i,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()&&Xn(this.types(),n))return new Po(Xn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Kn:this.metadata[13]||Kn}}]),e}(),wo=function(){function e(t,n){Nt(this,e),this._format=t,this.metadata=n}return Ot(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()&&!Lo.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Lo=/^\(?\$1\)?$/,Po=function(){function e(t,n){Nt(this,e),this.type=t,this.metadata=n}return Ot(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 Xn(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 Io(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Mt(e)||!Mt(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(Mt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Ao(e)+": "+e,"."))}var Mt=function(t){return yt(t)==="object"},Ao=function(t){return yt(t)};function Cn(e,t){if(t=new te(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function ko(e,t){return t.countries.hasOwnProperty(e)}function Oa(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?Hn(t,Co)===-1?this.v2=!0:Hn(t,So)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Do=";ext=",Be=function(t){return"([".concat(fe,"]{1,").concat(t,"})")};function Ca(e){var t="20",n="15",r="9",i="6",a="[  \\t,]*",l="[:\\..]?[  \\t,-]*",d="#?",s="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",f="(?:[xx##~~]|int|int)",h="[- ]+",g="[  \\t]*",$="(?:,{2}|;)",N=Do+Be(t),I=a+s+l+Be(t)+d,O=a+f+l+Be(r)+d,L=h+Be(i)+"#",m=g+$+l+Be(n)+d,y=g+"(?:,)+"+l+Be(r)+d;return N+"|"+I+"|"+O+"|"+L+"|"+m+"|"+y}var Ro="["+fe+"]{"+Nn+"}",Fo="["+On+"]{0,1}(?:["+vt+"]*["+fe+"]){3,}["+vt+fe+"]*",Mo=new RegExp("^["+On+"]{0,1}(?:["+vt+"]*["+fe+"]){1,2}$","i"),Vo=Fo+"(?:"+Ca()+")?",xo=new RegExp("^"+Ro+"$|^"+Vo+"$","i");function Bo(e){return e.length>=Nn&&xo.test(e)}function Uo(e){return Mo.test(e)}var qn=new RegExp("(?:"+Ca()+")$","i");function jo(e){var t=e.search(qn);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(qn),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}var Go={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 Ho(e){return Go[e]}function Wo(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=Ko(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
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ko(e,t){if(e){if(typeof e=="string")return zn(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 zn(e,t)}}function zn(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 Jn(e){for(var t="",n=Wo(e.split("")),r;!(r=n()).done;){var i=r.value;t+=Yo(i,t)||""}return t}function Yo(e,t){return e==="+"?t?void 0:"+":Ho(e)}function Xo(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=qo(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
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qo(e,t){if(e){if(typeof e=="string")return Zn(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 Zn(e,t)}}function Zn(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 zo(e,t){for(var n=e.slice(),r=Xo(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(l,d){return l-d})}function Sn(e,t){return Sa(e,void 0,t)}function Sa(e,t,n){var r=n.type(t),i=r&&r.possibleLengths()||n.possibleLengths();if(!i)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Sa(e,"MOBILE",n);var a=n.type("MOBILE");a&&(i=zo(i,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var l=e.length,d=i[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":i[i.length-1]<l?"TOO_LONG":i.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Jo(e,t,n){if(t===void 0&&(t={}),n=new te(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 Ta(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 Ta(e,t){switch(Sn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ne(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Zo(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=Qo(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
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qo(e,t){if(e){if(typeof e=="string")return Qn(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 Qn(e,t)}}function Qn(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 el=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Tn(e,t,n){if(t=t||{},!!e.country){n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ne(r,n.nationalNumberPattern())){if(Vt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Vt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=Zo(el),a;!(a=i()).done;){var l=a.value;if(Vt(r,l,n))return l}}}}function Vt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ne(e,t.pattern())}function tl(e,t,n){if(t=t||{},n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Tn(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ne(r,n.nationalNumberPattern())}function nl(e,t,n){var r=new te(n),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(a){return rl(t,a,n)}):[]}function rl(e,t,n){var r=new te(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function al(e){return e.replace(new RegExp("[".concat(vt,"]+"),"g")," ").trim()}var il=/(\$\d)/;function ol(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(il,t.nationalPrefixFormattingRule()):t.format());return r?al(a):a}var ll=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function sl(e,t,n){var r=new te(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(ll.test(r.IDDPrefix()))return r.IDDPrefix()}function dl(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 ul(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=cl(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 cl(e,t){if(e){if(typeof e=="string")return er(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 er(e,t)}}function er(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 tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tr(Object(n),!0).forEach(function(r){fl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function $l(e,t,n,r){if(n?n=nr(nr({},rr),n):n=rr,r=new te(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 i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,l;switch(t){case"NATIONAL":return a?(l=_t(a,e.carrierCode,"NATIONAL",r,n),xt(l,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(l=_t(a,null,"INTERNATIONAL",r,n),l="+".concat(i," ").concat(l),xt(l,e.ext,r,n.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return dl({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var d=ml(a,e.carrierCode,i,n.fromCountry,r);return xt(d,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function _t(e,t,n,r,i){var a=pl(r.formats(),e);return a?ol(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function pl(e,t){for(var n=ul(e),r;!(r=n()).done;){var i=r.value;if(i.leadingDigitsPatterns().length>0){var a=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(Ne(t,i.pattern()))return i}}function xt(e,t,n,r){return t?r(e,t,n):e}function ml(e,t,n,r,i){var a=Cn(r,i.metadata);if(a===n){var l=_t(e,t,"NATIONAL",i);return n==="1"?n+" "+l:l}var d=sl(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(n," ").concat(_t(e,null,"INTERNATIONAL",i))}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ar(Object(n),!0).forEach(function(r){hl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(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 vl(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var yl=function(){function e(t,n,r){if(gl(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 i=bl(t,r),a=i.country,l=i.countryCallingCode;this.country=a,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return vl(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:nl(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Jo(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return tl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new te(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 Tn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return $l(this,n,r?ir(ir({},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}(),_l=function(t){return/^[A-Z]{2}$/.test(t)};function bl(e,t){var n,r,i=new te(t);return _l(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var El=new RegExp("(["+fe+"])");function Nl(e,t,n,r){if(t){var i=new te(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var l=e.match(El);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return e}}}function Ol(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,a,l=r.length-1,d=l>0&&r[l];if(t.nationalPrefixTransformRule()&&d)i=e.replace(n,t.nationalPrefixTransformRule()),l>1&&(a=r[1]);else{var s=r[0];i=e.slice(s.length),d&&(a=r[1])}var f;if(d){var h=e.indexOf(r[1]),g=e.slice(0,h);g===t.numberingPlan.nationalPrefix()&&(f=t.numberingPlan.nationalPrefix())}else f=r[0];return{nationalNumber:i,nationalPrefix:f,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=Ol(e,t),r=n.carrierCode,i=n.nationalNumber;if(i!==e){if(!Cl(e,i,t))return{nationalNumber:e};if(t.possibleLengths()&&!Sl(i,t))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:r}}function Cl(e,t,n){return!(Ne(e,n.nationalNumberPattern())&&!Ne(t,n.nationalNumberPattern()))}function Sl(e,t){switch(Sn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Tl(e,t,n,r){var i=t?Cn(t,r):n;if(e.indexOf(i)===0){r=new te(r),r.selectNumberingPlan(t,n);var a=e.slice(i.length),l=sn(a,r),d=l.nationalNumber,s=sn(e,r),f=s.nationalNumber;if(!Ne(f,r.nationalNumberPattern())&&Ne(d,r.nationalNumberPattern())||Sn(f,r)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function wl(e,t,n,r){if(!e)return{};var i;if(e[0]!=="+"){var a=Nl(e,t,n,r);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n){var l=Tl(e,t,n,r),d=l.countryCallingCode,s=l.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:s}}return{number:e}}}if(e[1]==="0")return{};r=new te(r);for(var f=2;f-1<=vo&&f<=e.length;){var h=e.slice(1,f);if(r.hasCallingCode(h))return r.selectNumberingPlan(h),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:e.slice(f)};f++}return{}}function Ll(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=Pl(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 Pl(e,t){if(e){if(typeof e=="string")return lr(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 lr(e,t)}}function lr(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 Il(e,t){var n=t.countries,r=t.defaultCountry,i=t.metadata;i=new te(i);for(var a=[],l=Ll(n),d;!(d=l()).done;){var s=d.value;if(i.country(s),i.leadingDigits()){if(e&&e.search(i.leadingDigits())===0)return s}else if(Tn({phone:e,country:s},void 0,i.metadata))if(r){if(s===r)return s;a.push(s)}else return s}if(a.length>0)return a[0]}var Al=!1;function kl(e,t){var n=t.nationalNumber,r=t.defaultCountry,i=t.metadata;if(Al&&i.isNonGeographicCallingCode(e))return"001";var a=i.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Il(n,{countries:a,defaultCountry:r,metadata:i.metadata})}var wa="+",Dl="[\\-\\.\\(\\)]?",sr="(["+fe+"]|"+Dl+")",Rl="^\\"+wa+sr+"*["+fe+"]"+sr+"*$",Fl=new RegExp(Rl,"g"),dn=fe,Ml="["+dn+"]+((\\-)*["+dn+"])*",Vl="a-zA-Z",xl="["+Vl+"]+((\\-)*["+dn+"])*",Bl="^("+Ml+"\\.)*"+xl+"\\.?$",Ul=new RegExp(Bl,"g"),dr="tel:",un=";phone-context=",jl=";isub=";function Gl(e){var t=e.indexOf(un);if(t<0)return null;var n=t+un.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Hl(e){return e===null?!0:e.length===0?!1:Fl.test(e)||Ul.test(e)}function Wl(e,t){var n=t.extractFormattedPhoneNumber,r=Gl(e);if(!Hl(r))throw new _e("NOT_A_NUMBER");var i;if(r===null)i=n(e)||"";else{i="",r.charAt(0)===wa&&(i+=r);var a=e.indexOf(dr),l;a>=0?l=a+dr.length:l=0;var d=e.indexOf(un);i+=e.substring(l,d)}var s=i.indexOf(jl);if(s>0&&(i=i.substring(0,s)),i!=="")return i}var Kl=250,Yl=new RegExp("["+On+fe+"]"),Xl=new RegExp("[^"+fe+"#]+$");function ql(e,t,n){if(t=t||{},n=new te(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new _e("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Jl(e,t.v2,t.extract),i=r.number,a=r.ext,l=r.error;if(!i){if(t.v2)throw l==="TOO_SHORT"?new _e("TOO_SHORT"):new _e("NOT_A_NUMBER");return{}}var d=Ql(i,t.defaultCountry,t.defaultCallingCode,n),s=d.country,f=d.nationalNumber,h=d.countryCallingCode,g=d.countryCallingCodeSource,$=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new _e("INVALID_COUNTRY");return{}}if(!f||f.length<Nn){if(t.v2)throw new _e("TOO_SHORT");return{}}if(f.length>go){if(t.v2)throw new _e("TOO_LONG");return{}}if(t.v2){var N=new yl(h,f,n.metadata);return s&&(N.country=s),$&&(N.carrierCode=$),a&&(N.ext=a),N.__countryCallingCodeSource=g,N}var I=(t.extended?n.hasSelectedNumberingPlan():s)?Ne(f,n.nationalNumberPattern()):!1;return t.extended?{country:s,countryCallingCode:h,carrierCode:$,valid:I,possible:I?!0:!!(t.extended===!0&&n.possibleLengths()&&Ta(f,n)),phone:f,ext:a}:I?Zl(s,f,a):{}}function zl(e,t,n){if(e){if(e.length>Kl){if(n)throw new _e("TOO_LONG");return}if(t===!1)return e;var r=e.search(Yl);if(!(r<0))return e.slice(r).replace(Xl,"")}}function Jl(e,t,n){var r=Wl(e,{extractFormattedPhoneNumber:function(l){return zl(l,n,t)}});if(!r)return{};if(!Bo(r))return Uo(r)?{error:"TOO_SHORT"}:{};var i=jo(r);return i.ext?i:{number:r}}function Zl(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Ql(e,t,n,r){var i=wl(Jn(e),t,n,r.metadata),a=i.countryCallingCodeSource,l=i.countryCallingCode,d=i.number,s;if(l)r.selectNumberingPlan(l);else if(d&&(t||n))r.selectNumberingPlan(t,n),t&&(s=t),l=n||Cn(t,r.metadata);else return{};if(!d)return{countryCallingCodeSource:a,countryCallingCode:l};var f=sn(Jn(d),r),h=f.nationalNumber,g=f.carrierCode,$=kl(l,{nationalNumber:h,defaultCountry:t,metadata:r});return $&&(s=$,$==="001"||r.country(s)),{country:s,countryCallingCode:l,countryCallingCodeSource:a,nationalNumber:h,carrierCode:g}}function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ur(Object(n),!0).forEach(function(r){es(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function es(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ts(e,t,n){return ql(e,cr(cr({},t),{},{v2:!0}),n)}function cn(e){"@babel/helpers - typeof";return cn=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},cn(e)}function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ns(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fr(Object(n),!0).forEach(function(r){rs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function as(e,t){return ss(e)||ls(e,t)||os(e,t)||is()}function is(){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 os(e,t){if(e){if(typeof e=="string")return $r(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 $r(e,t)}}function $r(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 ls(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,d;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,d=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw d}}return r}}function ss(e){if(Array.isArray(e))return e}function ds(e){var t=Array.prototype.slice.call(e),n=as(t,4),r=n[0],i=n[1],a=n[2],l=n[3],d,s,f;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")l?(s=a,f=l):(s=void 0,f=a),i&&(s=ns({defaultCountry:i},s));else if(us(i))a?(s=i,f=a):f=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:s,metadata:f}}var us=function(t){return cn(t)==="object"};function pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pr(Object(n),!0).forEach(function(r){cs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fs(e,t,n){t&&t.defaultCountry&&!ko(t.defaultCountry,n)&&(t=mr(mr({},t),{},{defaultCountry:void 0}));try{return ts(e,t,n)}catch(r){if(!(r instanceof _e))throw r}}function $s(){var e=ds(arguments),t=e.text,n=e.options,r=e.metadata;return fs(t,n,r)}function Bt(){return uo($s,arguments)}const ps=[["‫افغانستان‬‎","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,,"🇦🇽"]],ms=ps.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 hs(){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 gs(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 vs=[{name:"allCountries",type:Array,default:ms,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}],ys=[...vs].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},{}),hr={options:{...ys}};function Q(e){const t=hr.options[e];return typeof t>"u"?hr.options[e]:t}const _s=o.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:va},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,l,d;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=Bt(this.phone)||{}:e=Bt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(l=e.isValid)==null?void 0:l.call(e),i=this.phone;return r&&(i=(d=e.format)==null?void 0:d.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:i}),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?hs().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,i=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:i}},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=Bt(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(){gs(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,i=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||i)&&(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"}}}),bs=["tabindex"],Es={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Ns=["innerHTML"],Os={key:1,class:"vti__country-code"},Cs=["onClick","onMousemove"],Ss=["innerHTML"],Ts={key:1},ws=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Ls={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function Ps(e,t,n,r,i,a){const l=o.resolveDirective("click-outside");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:o.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...d)=>e.keyboardNav&&e.keyboardNav(...d)),t[2]||(t[2]=o.withKeys((...d)=>e.reset&&e.reset(...d),["esc"]))],onClick:t[1]||(t[1]=(...d)=>e.toggleDropdown&&e.toggleDropdown(...d)),style:o.normalizeStyle([e.dropdownStyle])},[o.createElementVNode("span",Es,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Ns)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Os," +"+o.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref:"list",class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.sortedCountries,(d,s)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(s,d.iso2)]]),key:d.iso2+(d.preferred?"-preferred":""),onClick:f=>e.choose(d),onMousemove:f=>e.selectedIndex=s},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:d.flag,class:"mn-r-thin"},null,8,Ss)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(d.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",Ts," +"+o.toDisplayString(d.dialCode),1)):o.createCommentVNode("",!0)],42,Cs))),128))],6),[[o.vShow,e.open]])],46,bs)),[[l,e.clickedOutside]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=d=>e.phone=d),pattern:"[0-9]*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:o.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]=(...d)=>e.onBlur&&e.onBlur(...d)),onFocus:t[5]||(t[5]=(...d)=>e.onFocus&&e.onFocus(...d)),onInput:t[6]||(t[6]=(...d)=>e.onInput&&e.onInput(...d)),onKeyup:[t[7]||(t[7]=o.withKeys((...d)=>e.onEnter&&e.onEnter(...d),["enter"])),t[8]||(t[8]=o.withKeys((...d)=>e.onSpace&&e.onSpace(...d),["space"]))]},null,46,ws),[[o.vModelDynamic,e.phone]]),o.renderSlot(e.$slots,"default",{},void 0,!0)],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Ls," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}const La=ue(_s,[["render",Ps],["__scopeId","data-v-50353ca7"]]),Is=Object.freeze(Object.defineProperty({__proto__:null,default:La},Symbol.toStringTag,{value:"Module"}));const As=e=>(o.pushScopeId("data-v-29acef04"),e=e(),o.popScopeId(),e),ks={class:"pos-relative map-container"},Ds=As(()=>o.createElementVNode("svg",{class:"i-medium",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.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"}),o.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)),Rs=[Ds],Fs={__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=o.ref(null);let i,a;o.onMounted(()=>{i=new google.maps.Map(r.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1}),a=new google.maps.Marker({position:n.location,map:i,draggable:!0}),a.addListener("dragend",s=>{const f={lat:s.latLng.lat(),lng:s.latLng.lng()};t("update:location",f),l(f)})}),o.watchEffect(()=>{n.location&&a&&a.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&i){const s=new google.maps.LatLng(n.location.lat,n.location.lng);i.setCenter(s)}});function l(s){new google.maps.Geocoder().geocode({location:s},(h,g)=>{if(g==="OK")if(h[0]){t("update:address",h[0].formatted_address);let $="",N="",I="";h[0].address_components.forEach(O=>{O.types.includes("country")&&($=O.long_name),O.types.includes("administrative_area_level_1")&&(N=O.long_name),O.types.includes("locality")&&(I=O.long_name)}),t("update:country",$),t("update:state",N),t("update:city",I)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function d(){navigator.geolocation?navigator.geolocation.getCurrentPosition(s=>{const f={lat:s.coords.latitude,lng:s.coords.longitude};t("update:location",f),l(f)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(s,f)=>(o.openBlock(),o.createElementBlock("div",ks,[o.createElementVNode("div",{ref_key:"mapContainer",ref:r,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",onClick:d},Rs)]))}},Pa=ue(Fs,[["__scopeId","data-v-29acef04"]]),Ms=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"}));const Vs={__name:"Map",props:{location:Object},setup(e){const t=e;let n=o.ref(null),r=null,i=null;return o.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),i=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),o.watch(()=>t.location,()=>{r&&i&&(i.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,l)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Ia=ue(Vs,[["__scopeId","data-v-c194b4a5"]]),xs=Object.freeze(Object.defineProperty({__proto__:null,default:Ia},Symbol.toStringTag,{value:"Module"}));/*!
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},Ii={key:0,class:"t-transp mn-r-small"},Ai=["placeholder","value"],ki={key:0,class:"mn-t-thin invalid-feedback"},Di={__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",d)},l=()=>{o||a()},d=()=>{const s=o.getPlace();if(!s.geometry||!s.address_components)return;let f="",h="",g="";for(let I=0;I<s.address_components.length;I++){console.log(s.address_components);let O=s.address_components[I];O.types.includes("country")&&(f=O.long_name),O.types.includes("administrative_area_level_1")&&(h=O.long_name),O.types.includes("locality")&&(g=O.long_name)}const $=s.formatted_address,N={lat:s.geometry.location.lat(),lng:s.geometry.location.lng()};t("update:address",$),t("update:location",N),t("update:country",f),t("update:state",h),t("update:city",g)};return i.watchEffect(()=>{n.address!==r.value&&(r.value=n.address)}),i.onMounted(()=>{a()}),(s,f)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([s.$attrs.class,"flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ii,[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:l},null,40,Ai),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[s.validation?(i.openBlock(),i.createElementBlock("div",ki," * "+i.toDisplayString(s.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],2))}},ha=ue(Di,[["__scopeId","data-v-faece1a6"]]),Ri=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));const Fi=["onClick","disabled"],Mi={key:0},Vi={key:0,class:"loading"},xi=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),Bi=[xi],Ui={key:0,class:"loading t-white"},ji={key:0,class:"error"},ga={__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 l(){n.value.style["pointer-events"]="none",r.value=null,o.value=!0;const d=()=>{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(d,500)):d(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value="❌",setTimeout(()=>{d(),n.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(d,s)=>(i.openBlock(),i.createElementBlock("button",{onClick:i.withModifiers(l,["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",Mi,[i.renderSlot(d.$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",Vi,Bi)):i.createCommentVNode("",!0)]),_:1}),i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[a.value&&e.showSucces?(i.openBlock(),i.createElementBlock("span",Ui,"✔")):i.createCommentVNode("",!0)]),_:1}),i.createVNode(i.Transition,{name:"TransitionTranslateY-small"},{default:i.withCtx(()=>[r.value?(i.openBlock(),i.createElementBlock("span",ji,i.toDisplayString(r.value),1)):i.createCommentVNode("",!0)]),_:1})],8,Fi))}},Gi=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));const Hi={class:"flex-v-center flex-nowrap flex"},Wi={key:0,class:"mn-r-auto t-transp mn-r-small"},Ki=["name","value","checked"],Yi={__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 l=a.indexOf(n.value);l!==-1&&a.splice(l,1)}t("update:radio",a)}else typeof n.radio=="boolean"&&t("update:radio",o.target.checked)};return(o,a)=>(i.openBlock(),i.createElementBlock("label",Hi,[e.label?(i.openBlock(),i.createElementBlock("div",Wi,[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,Ki),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)]))}},va=ue(Yi,[["__scopeId","data-v-f641f618"]]),Xi=Object.freeze(Object.defineProperty({__proto__:null,default:va},Symbol.toStringTag,{value:"Module"})),ya={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 qi={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(e){let t=ya;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(l=>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]])}},_a=ue(qi,[["__scopeId","data-v-5646d77f"]]),zi=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"})),Ji={class:"error-wrapper"},Zi={class:"error-card"},ba={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",Ji,[i.createElementVNode("div",Zi,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},Qi=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"}));const eo={key:0,class:"t-transp mn-r-small"},to={class:"w-100"},no=["type","value","placeholder"],ro=["value","placeholder"],ao={key:1,class:"t-transp mn-l-small"},io={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},oo={__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",eo,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",to,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=l=>r.value=t("update:field",l.target.value)),onFocus:a[1]||(a[1]=l=>t("focus",l)),onBlur:a[2]||(a[2]=l=>t("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder},null,40,no)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=l=>r.value=t("update:field",l.target.value)),onFocus:a[4]||(a[4]=l=>t("focus",l)),onBlur:a[5]||(a[5]=l=>t("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder},null,40,ro))]),i.renderSlot(o.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",ao,[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",io," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},Ea=ue(oo,[["__scopeId","data-v-f4a29b0d"]]),lo=Object.freeze(Object.defineProperty({__proto__:null,default:Ea},Symbol.toStringTag,{value:"Module"})),so={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 uo(e,t){var n=Array.prototype.slice.call(t);return n.push(so),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 Hn(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 co(e,t,n){return t&&Hn(e.prototype,t),n&&Hn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(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&&dt(e,t)}function po(e){var t=Oa();return function(){var r=ut(e),o;if(t){var a=ut(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return mo(this,o)}}function mo(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 Na(e)}function Na(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e){var t=typeof Map=="function"?new Map:void 0;return ln=function(r){if(r===null||!ho(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 mt(r,arguments,ut(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),dt(o,r)},ln(e)}function mt(e,t,n){return Oa()?mt=Reflect.construct:mt=function(o,a,l){var d=[null];d.push.apply(d,a);var s=Function.bind.apply(o,d),f=new s;return l&&dt(f,l.prototype),f},mt.apply(null,arguments)}function Oa(){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 ho(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dt(e,t){return dt=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dt(e,t)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(e)}var _e=function(e){$o(n,e);var t=po(n);function n(r){var o;return fo(this,n),o=t.call(this,r),Object.setPrototypeOf(Na(o),n.prototype),o.name=o.constructor.name,o}return co(n)}(ln(Error)),Nn=2,go=17,vo=3,fe="0-90-9٠-٩۰-۹",yo="-‐-―−ー-",_o="//",bo="..",Eo="  ­​⁠ ",No="()()[]\\[\\]",Oo="~⁓∼~",vt="".concat(yo).concat(_o).concat(bo).concat(Eo).concat(No).concat(Oo),On="++";function Wn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var a=Number(n[o]),l=Number(r[o]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))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 yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function Nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(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 Ot(e,t,n){return t&&Kn(e.prototype,t),n&&Kn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Co="1.2.0",So="1.7.35",Yn=" ext. ",To=/^\d+$/,te=function(){function e(t){Nt(this,e),Io(t),this.metadata=t,Ca.call(this,t)}return Ot(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&&To.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Xn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Xn(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}(),Xn=function(){function e(t,n){Nt(this,e),this.globalMetadataObject=n,this.metadata=t,Ca.call(this,n.metadata)}return Ot(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 wo(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 Po(qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Yn:this.metadata[13]||Yn}}]),e}(),wo=function(){function e(t,n){Nt(this,e),this._format=t,this.metadata=n}return Ot(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()&&!Lo.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Lo=/^\(?\$1\)?$/,Po=function(){function e(t,n){Nt(this,e),this.type=t,this.metadata=n}return Ot(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 Io(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Mt(e)||!Mt(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(Mt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Ao(e)+": "+e,"."))}var Mt=function(t){return yt(t)==="object"},Ao=function(t){return yt(t)};function Cn(e,t){if(t=new te(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function ko(e,t){return t.countries.hasOwnProperty(e)}function Ca(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Wn(t,Co)===-1?this.v2=!0:Wn(t,So)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Do=";ext=",Be=function(t){return"([".concat(fe,"]{1,").concat(t,"})")};function Sa(e){var t="20",n="15",r="9",o="6",a="[  \\t,]*",l="[:\\..]?[  \\t,-]*",d="#?",s="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",f="(?:[xx##~~]|int|int)",h="[- ]+",g="[  \\t]*",$="(?:,{2}|;)",N=Do+Be(t),I=a+s+l+Be(t)+d,O=a+f+l+Be(r)+d,L=h+Be(o)+"#",m=g+$+l+Be(n)+d,y=g+"(?:,)+"+l+Be(r)+d;return N+"|"+I+"|"+O+"|"+L+"|"+m+"|"+y}var Ro="["+fe+"]{"+Nn+"}",Fo="["+On+"]{0,1}(?:["+vt+"]*["+fe+"]){3,}["+vt+fe+"]*",Mo=new RegExp("^["+On+"]{0,1}(?:["+vt+"]*["+fe+"]){1,2}$","i"),Vo=Fo+"(?:"+Sa()+")?",xo=new RegExp("^"+Ro+"$|^"+Vo+"$","i");function Bo(e){return e.length>=Nn&&xo.test(e)}function Uo(e){return Mo.test(e)}var zn=new RegExp("(?:"+Sa()+")$","i");function jo(e){var t=e.search(zn);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(zn),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}var Go={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 Ho(e){return Go[e]}function Wo(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=Ko(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
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ko(e,t){if(e){if(typeof e=="string")return Jn(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 Jn(e,t)}}function Jn(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 Zn(e){for(var t="",n=Wo(e.split("")),r;!(r=n()).done;){var o=r.value;t+=Yo(o,t)||""}return t}function Yo(e,t){return e==="+"?t?void 0:"+":Ho(e)}function Xo(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=qo(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
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qo(e,t){if(e){if(typeof e=="string")return Qn(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 Qn(e,t)}}function Qn(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 zo(e,t){for(var n=e.slice(),r=Xo(t),o;!(o=r()).done;){var a=o.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(l,d){return l-d})}function Sn(e,t){return Ta(e,void 0,t)}function Ta(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 Ta(e,"MOBILE",n);var a=n.type("MOBILE");a&&(o=zo(o,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var l=e.length,d=o[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":o[o.length-1]<l?"TOO_LONG":o.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Jo(e,t,n){if(t===void 0&&(t={}),n=new te(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 wa(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 wa(e,t){switch(Sn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ne(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Zo(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=Qo(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
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qo(e,t){if(e){if(typeof e=="string")return er(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 er(e,t)}}function er(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 el=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Tn(e,t,n){if(t=t||{},!!e.country){n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ne(r,n.nationalNumberPattern())){if(Vt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Vt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=Zo(el),a;!(a=o()).done;){var l=a.value;if(Vt(r,l,n))return l}}}}function Vt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ne(e,t.pattern())}function tl(e,t,n){if(t=t||{},n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Tn(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ne(r,n.nationalNumberPattern())}function nl(e,t,n){var r=new te(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(a){return rl(t,a,n)}):[]}function rl(e,t,n){var r=new te(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function al(e){return e.replace(new RegExp("[".concat(vt,"]+"),"g")," ").trim()}var il=/(\$\d)/;function ol(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(il,t.nationalPrefixFormattingRule()):t.format());return r?al(a):a}var ll=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function sl(e,t,n){var r=new te(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(ll.test(r.IDDPrefix()))return r.IDDPrefix()}function dl(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 ul(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=cl(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 cl(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,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 rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(n),!0).forEach(function(r){fl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ar={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function $l(e,t,n,r){if(n?n=rr(rr({},ar),n):n=ar,r=new te(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,l;switch(t){case"NATIONAL":return a?(l=_t(a,e.carrierCode,"NATIONAL",r,n),xt(l,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(l=_t(a,null,"INTERNATIONAL",r,n),l="+".concat(o," ").concat(l),xt(l,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return dl({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var d=ml(a,e.carrierCode,o,n.fromCountry,r);return xt(d,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function _t(e,t,n,r,o){var a=pl(r.formats(),e);return a?ol(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function pl(e,t){for(var n=ul(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(Ne(t,o.pattern()))return o}}function xt(e,t,n,r){return t?r(e,t,n):e}function ml(e,t,n,r,o){var a=Cn(r,o.metadata);if(a===n){var l=_t(e,t,"NATIONAL",o);return n==="1"?n+" "+l:l}var d=sl(r,void 0,o.metadata);if(d)return"".concat(d," ").concat(n," ").concat(_t(e,null,"INTERNATIONAL",o))}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 or(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){hl(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 hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(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 vl(e,t,n){return t&&lr(e.prototype,t),n&&lr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var yl=function(){function e(t,n,r){if(gl(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=bl(t,r),a=o.country,l=o.countryCallingCode;this.country=a,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return vl(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:nl(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Jo(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return tl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new te(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 Tn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return $l(this,n,r?or(or({},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}(),_l=function(t){return/^[A-Z]{2}$/.test(t)};function bl(e,t){var n,r,o=new te(t);return _l(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var El=new RegExp("(["+fe+"])");function Nl(e,t,n,r){if(t){var o=new te(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 l=e.match(El);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return e}}}function Ol(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,a,l=r.length-1,d=l>0&&r[l];if(t.nationalPrefixTransformRule()&&d)o=e.replace(n,t.nationalPrefixTransformRule()),l>1&&(a=r[1]);else{var s=r[0];o=e.slice(s.length),d&&(a=r[1])}var f;if(d){var h=e.indexOf(r[1]),g=e.slice(0,h);g===t.numberingPlan.nationalPrefix()&&(f=t.numberingPlan.nationalPrefix())}else f=r[0];return{nationalNumber:o,nationalPrefix:f,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=Ol(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!Cl(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!Sl(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function Cl(e,t,n){return!(Ne(e,n.nationalNumberPattern())&&!Ne(t,n.nationalNumberPattern()))}function Sl(e,t){switch(Sn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Tl(e,t,n,r){var o=t?Cn(t,r):n;if(e.indexOf(o)===0){r=new te(r),r.selectNumberingPlan(t,n);var a=e.slice(o.length),l=sn(a,r),d=l.nationalNumber,s=sn(e,r),f=s.nationalNumber;if(!Ne(f,r.nationalNumberPattern())&&Ne(d,r.nationalNumberPattern())||Sn(f,r)==="TOO_LONG")return{countryCallingCode:o,number:a}}return{number:e}}function wl(e,t,n,r){if(!e)return{};var o;if(e[0]!=="+"){var a=Nl(e,t,n,r);if(a&&a!==e)o=!0,e="+"+a;else{if(t||n){var l=Tl(e,t,n,r),d=l.countryCallingCode,s=l.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:s}}return{number:e}}}if(e[1]==="0")return{};r=new te(r);for(var f=2;f-1<=vo&&f<=e.length;){var h=e.slice(1,f);if(r.hasCallingCode(h))return r.selectNumberingPlan(h),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:e.slice(f)};f++}return{}}function Ll(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=Pl(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 Pl(e,t){if(e){if(typeof e=="string")return sr(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 sr(e,t)}}function sr(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 Il(e,t){var n=t.countries,r=t.defaultCountry,o=t.metadata;o=new te(o);for(var a=[],l=Ll(n),d;!(d=l()).done;){var s=d.value;if(o.country(s),o.leadingDigits()){if(e&&e.search(o.leadingDigits())===0)return s}else if(Tn({phone:e,country:s},void 0,o.metadata))if(r){if(s===r)return s;a.push(s)}else return s}if(a.length>0)return a[0]}var Al=!1;function kl(e,t){var n=t.nationalNumber,r=t.defaultCountry,o=t.metadata;if(Al&&o.isNonGeographicCallingCode(e))return"001";var a=o.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Il(n,{countries:a,defaultCountry:r,metadata:o.metadata})}var La="+",Dl="[\\-\\.\\(\\)]?",dr="(["+fe+"]|"+Dl+")",Rl="^\\"+La+dr+"*["+fe+"]"+dr+"*$",Fl=new RegExp(Rl,"g"),dn=fe,Ml="["+dn+"]+((\\-)*["+dn+"])*",Vl="a-zA-Z",xl="["+Vl+"]+((\\-)*["+dn+"])*",Bl="^("+Ml+"\\.)*"+xl+"\\.?$",Ul=new RegExp(Bl,"g"),ur="tel:",un=";phone-context=",jl=";isub=";function Gl(e){var t=e.indexOf(un);if(t<0)return null;var n=t+un.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Hl(e){return e===null?!0:e.length===0?!1:Fl.test(e)||Ul.test(e)}function Wl(e,t){var n=t.extractFormattedPhoneNumber,r=Gl(e);if(!Hl(r))throw new _e("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else{o="",r.charAt(0)===La&&(o+=r);var a=e.indexOf(ur),l;a>=0?l=a+ur.length:l=0;var d=e.indexOf(un);o+=e.substring(l,d)}var s=o.indexOf(jl);if(s>0&&(o=o.substring(0,s)),o!=="")return o}var Kl=250,Yl=new RegExp("["+On+fe+"]"),Xl=new RegExp("[^"+fe+"#]+$");function ql(e,t,n){if(t=t||{},n=new te(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new _e("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Jl(e,t.v2,t.extract),o=r.number,a=r.ext,l=r.error;if(!o){if(t.v2)throw l==="TOO_SHORT"?new _e("TOO_SHORT"):new _e("NOT_A_NUMBER");return{}}var d=Ql(o,t.defaultCountry,t.defaultCallingCode,n),s=d.country,f=d.nationalNumber,h=d.countryCallingCode,g=d.countryCallingCodeSource,$=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new _e("INVALID_COUNTRY");return{}}if(!f||f.length<Nn){if(t.v2)throw new _e("TOO_SHORT");return{}}if(f.length>go){if(t.v2)throw new _e("TOO_LONG");return{}}if(t.v2){var N=new yl(h,f,n.metadata);return s&&(N.country=s),$&&(N.carrierCode=$),a&&(N.ext=a),N.__countryCallingCodeSource=g,N}var I=(t.extended?n.hasSelectedNumberingPlan():s)?Ne(f,n.nationalNumberPattern()):!1;return t.extended?{country:s,countryCallingCode:h,carrierCode:$,valid:I,possible:I?!0:!!(t.extended===!0&&n.possibleLengths()&&wa(f,n)),phone:f,ext:a}:I?Zl(s,f,a):{}}function zl(e,t,n){if(e){if(e.length>Kl){if(n)throw new _e("TOO_LONG");return}if(t===!1)return e;var r=e.search(Yl);if(!(r<0))return e.slice(r).replace(Xl,"")}}function Jl(e,t,n){var r=Wl(e,{extractFormattedPhoneNumber:function(l){return zl(l,n,t)}});if(!r)return{};if(!Bo(r))return Uo(r)?{error:"TOO_SHORT"}:{};var o=jo(r);return o.ext?o:{number:r}}function Zl(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Ql(e,t,n,r){var o=wl(Zn(e),t,n,r.metadata),a=o.countryCallingCodeSource,l=o.countryCallingCode,d=o.number,s;if(l)r.selectNumberingPlan(l);else if(d&&(t||n))r.selectNumberingPlan(t,n),t&&(s=t),l=n||Cn(t,r.metadata);else return{};if(!d)return{countryCallingCodeSource:a,countryCallingCode:l};var f=sn(Zn(d),r),h=f.nationalNumber,g=f.carrierCode,$=kl(l,{nationalNumber:h,defaultCountry:t,metadata:r});return $&&(s=$,$==="001"||r.country(s)),{country:s,countryCallingCode:l,countryCallingCodeSource:a,nationalNumber:h,carrierCode:g}}function cr(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 fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cr(Object(n),!0).forEach(function(r){es(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function es(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ts(e,t,n){return ql(e,fr(fr({},t),{},{v2:!0}),n)}function cn(e){"@babel/helpers - typeof";return cn=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},cn(e)}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 ns(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){rs(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 rs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function as(e,t){return ss(e)||ls(e,t)||os(e,t)||is()}function is(){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 os(e,t){if(e){if(typeof e=="string")return pr(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 pr(e,t)}}function pr(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 ls(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,l,d;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));o=!0);}catch(s){a=!0,d=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw d}}return r}}function ss(e){if(Array.isArray(e))return e}function ds(e){var t=Array.prototype.slice.call(e),n=as(t,4),r=n[0],o=n[1],a=n[2],l=n[3],d,s,f;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")l?(s=a,f=l):(s=void 0,f=a),o&&(s=ns({defaultCountry:o},s));else if(us(o))a?(s=o,f=a):f=o;else throw new Error("Invalid second argument: ".concat(o));return{text:d,options:s,metadata:f}}var us=function(t){return cn(t)==="object"};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){cs(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 cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fs(e,t,n){t&&t.defaultCountry&&!ko(t.defaultCountry,n)&&(t=hr(hr({},t),{},{defaultCountry:void 0}));try{return ts(e,t,n)}catch(r){if(!(r instanceof _e))throw r}}function $s(){var e=ds(arguments),t=e.text,n=e.options,r=e.metadata;return fs(t,n,r)}function Bt(){return uo($s,arguments)}const ps=[["‫افغانستان‬‎","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,,"🇦🇽"]],ms=ps.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 hs(){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 gs(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 vs=[{name:"allCountries",type:Array,default:ms,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}],ys=[...vs].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},{}),gr={options:{...ys}};function Q(e){const t=gr.options[e];return typeof t>"u"?gr.options[e]:t}const _s=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:ya},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,l,d;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=Bt(this.phone)||{}:e=Bt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(l=e.isValid)==null?void 0:l.call(e),o=this.phone;return r&&(o=(d=e.format)==null?void 0:d.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?hs().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=Bt(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(){gs(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"}}}),bs=["tabindex"],Es={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Ns=["innerHTML"],Os={key:1,class:"vti__country-code"},Cs=["onClick","onMousemove"],Ss=["innerHTML"],Ts={key:1},ws=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Ls={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function Ps(e,t,n,r,o,a){const l=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]=(...d)=>e.keyboardNav&&e.keyboardNav(...d)),t[2]||(t[2]=i.withKeys((...d)=>e.reset&&e.reset(...d),["esc"]))],onClick:t[1]||(t[1]=(...d)=>e.toggleDropdown&&e.toggleDropdown(...d)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",Es,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Ns)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",Os," +"+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,(d,s)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(s,d.iso2)]]),key:d.iso2+(d.preferred?"-preferred":""),onClick:f=>e.choose(d),onMousemove:f=>e.selectedIndex=s},[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:d.flag,class:"mn-r-thin"},null,8,Ss)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(d.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Ts," +"+i.toDisplayString(d.dialCode),1)):i.createCommentVNode("",!0)],42,Cs))),128))],6),[[i.vShow,e.open]])],46,bs)),[[l,e.clickedOutside]]),i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=d=>e.phone=d),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]=(...d)=>e.onBlur&&e.onBlur(...d)),onFocus:t[5]||(t[5]=(...d)=>e.onFocus&&e.onFocus(...d)),onInput:t[6]||(t[6]=(...d)=>e.onInput&&e.onInput(...d)),onKeyup:[t[7]||(t[7]=i.withKeys((...d)=>e.onEnter&&e.onEnter(...d),["enter"])),t[8]||(t[8]=i.withKeys((...d)=>e.onSpace&&e.onSpace(...d),["space"]))]},null,46,ws),[[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",Ls," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const Pa=ue(_s,[["render",Ps],["__scopeId","data-v-50353ca7"]]),Is=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"}));const As=e=>(i.pushScopeId("data-v-29acef04"),e=e(),i.popScopeId(),e),ks={class:"pos-relative map-container"},Ds=As(()=>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)),Rs=[Ds],Fs={__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",s=>{const f={lat:s.latLng.lat(),lng:s.latLng.lng()};t("update:location",f),l(f)})}),i.watchEffect(()=>{n.location&&a&&a.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&o){const s=new google.maps.LatLng(n.location.lat,n.location.lng);o.setCenter(s)}});function l(s){new google.maps.Geocoder().geocode({location:s},(h,g)=>{if(g==="OK")if(h[0]){t("update:address",h[0].formatted_address);let $="",N="",I="";h[0].address_components.forEach(O=>{O.types.includes("country")&&($=O.long_name),O.types.includes("administrative_area_level_1")&&(N=O.long_name),O.types.includes("locality")&&(I=O.long_name)}),t("update:country",$),t("update:state",N),t("update:city",I)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function d(){navigator.geolocation?navigator.geolocation.getCurrentPosition(s=>{const f={lat:s.coords.latitude,lng:s.coords.longitude};t("update:location",f),l(f)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(s,f)=>(i.openBlock(),i.createElementBlock("div",ks,[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:d},Rs)]))}},Ia=ue(Fs,[["__scopeId","data-v-29acef04"]]),Ms=Object.freeze(Object.defineProperty({__proto__:null,default:Ia},Symbol.toStringTag,{value:"Module"}));const Vs={__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,l)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Aa=ue(Vs,[["__scopeId","data-v-c194b4a5"]]),xs=Object.freeze(Object.defineProperty({__proto__:null,default:Aa},Symbol.toStringTag,{value:"Module"}));/*!
9
9
  * vue-router v4.1.6
10
10
  * (c) 2022 Eduardo San Martin Morote
11
11
  * @license MIT
12
- */var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var vr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vr||(vr={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Bs=Symbol(process.env.NODE_ENV!=="production"?"router":""),Us=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function js(){return o.inject(Bs)}function Gs(){return o.inject(Us)}/*!
12
+ */var vr;(function(e){e.pop="pop",e.push="push"})(vr||(vr={}));var yr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yr||(yr={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var _r;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_r||(_r={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Bs=Symbol(process.env.NODE_ENV!=="production"?"router":""),Us=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function js(){return i.inject(Bs)}function Gs(){return i.inject(Us)}/*!
13
13
  * shared v9.2.2
14
14
  * (c) 2022 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */const we=typeof window<"u";let de,Fe;if(process.env.NODE_ENV!=="production"){const e=we&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(de=t=>e.mark(t),Fe=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Hs=/\{([0-9a-zA-Z]+)\}/g;function Ct(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Hs,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ws=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Oe=e=>Ws?Symbol(e):e,Ks=(e,t,n)=>Ys({l:e,k:t,s:n}),Ys=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),J=e=>typeof e=="number"&&isFinite(e),Xs=e=>Ln(e)==="[object Date]",We=e=>Ln(e)==="[object RegExp]",St=e=>D(e)&&Object.keys(e).length===0;function ft(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const q=Object.assign;let _r;const lt=()=>_r||(_r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function br(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const qs=Object.prototype.hasOwnProperty;function wn(e,t){return qs.call(e,t)}const G=Array.isArray,Y=e=>typeof e=="function",P=e=>typeof e=="string",B=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",Aa=Object.prototype.toString,Ln=e=>Aa.call(e),D=e=>Ln(e)==="[object Object]",zs=e=>e==null?"":G(e)||D(e)&&e.toString===Aa?JSON.stringify(e,null,2):String(e),Er=2;function Js(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const a=[];for(let l=0;l<r.length;l++)if(i+=r[l].length+1,i>=t){for(let d=l-Er;d<=l+Er||n>i;d++){if(d<0||d>=r.length)continue;const s=d+1;a.push(`${s}${" ".repeat(3-String(s).length)}| ${r[d]}`);const f=r[d].length;if(d===l){const h=t-(i-f)+1,g=Math.max(1,n>i?f-h:n-t);a.push(" | "+" ".repeat(h)+"^".repeat(g))}else if(d>l){if(n>i){const h=Math.max(Math.min(n-i,f),1);a.push(" | "+"^".repeat(h))}i+=f+1}}break}return a.join(`
17
- `)}function Zs(){const e=new Map;return{events:e,on(n,r){const i=e.get(n);i&&i.push(r)||e.set(n,[r])},off(n,r){const i=e.get(n);i&&i.splice(i.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(i=>i(r)),(e.get("*")||[]).slice().map(i=>i(n,r))}}}/*!
16
+ */const we=typeof window<"u";let de,Fe;if(process.env.NODE_ENV!=="production"){const e=we&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(de=t=>e.mark(t),Fe=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Hs=/\{([0-9a-zA-Z]+)\}/g;function Ct(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Hs,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ws=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Oe=e=>Ws?Symbol(e):e,Ks=(e,t,n)=>Ys({l:e,k:t,s:n}),Ys=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),J=e=>typeof e=="number"&&isFinite(e),Xs=e=>Ln(e)==="[object Date]",We=e=>Ln(e)==="[object RegExp]",St=e=>D(e)&&Object.keys(e).length===0;function ft(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const q=Object.assign;let br;const lt=()=>br||(br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Er(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const qs=Object.prototype.hasOwnProperty;function wn(e,t){return qs.call(e,t)}const G=Array.isArray,Y=e=>typeof e=="function",P=e=>typeof e=="string",B=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",ka=Object.prototype.toString,Ln=e=>ka.call(e),D=e=>Ln(e)==="[object Object]",zs=e=>e==null?"":G(e)||D(e)&&e.toString===ka?JSON.stringify(e,null,2):String(e),Nr=2;function Js(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const a=[];for(let l=0;l<r.length;l++)if(o+=r[l].length+1,o>=t){for(let d=l-Nr;d<=l+Nr||n>o;d++){if(d<0||d>=r.length)continue;const s=d+1;a.push(`${s}${" ".repeat(3-String(s).length)}| ${r[d]}`);const f=r[d].length;if(d===l){const h=t-(o-f)+1,g=Math.max(1,n>o?f-h:n-t);a.push(" | "+" ".repeat(h)+"^".repeat(g))}else if(d>l){if(n>o){const h=Math.max(Math.min(n-o,f),1);a.push(" | "+"^".repeat(h))}o+=f+1}}break}return a.join(`
17
+ `)}function Zs(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}/*!
18
18
  * message-compiler v9.2.2
19
19
  * (c) 2022 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const A={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,__EXTEND_POINT__:15},Qs={[A.EXPECTED_TOKEN]:"Expected token: '{0}'",[A.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[A.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[A.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[A.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[A.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[A.EMPTY_PLACEHOLDER]:"Empty placeholder",[A.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[A.INVALID_LINKED_FORMAT]:"Invalid linked format",[A.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[A.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[A.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[A.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Tt(e,t,n={}){const{domain:r,messages:i,args:a}=n,l=process.env.NODE_ENV!=="production"?Ct((i||Qs)[e]||"",...a||[]):e,d=new SyntaxError(String(l));return d.code=e,t&&(d.location=t),d.domain=r,d}function ed(e){throw e}function td(e,t,n){return{line:e,column:t,offset:n}}function fn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ve=" ",nd="\r",ee=`
22
- `,rd=String.fromCharCode(8232),ad=String.fromCharCode(8233);function id(e){const t=e;let n=0,r=1,i=1,a=0;const l=T=>t[T]===nd&&t[T+1]===ee,d=T=>t[T]===ee,s=T=>t[T]===ad,f=T=>t[T]===rd,h=T=>l(T)||d(T)||s(T)||f(T),g=()=>n,$=()=>r,N=()=>i,I=()=>a,O=T=>l(T)||s(T)||f(T)?ee:t[T],L=()=>O(n),m=()=>O(n+a);function y(){return a=0,h(n)&&(r++,i=0),l(n)&&n++,n++,i++,t[n]}function E(){return l(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function p(T=0){a=T}function S(){const T=n+a;for(;T!==n;)y();a=0}return{index:g,line:$,column:N,peekOffset:I,charAt:O,currentChar:L,currentPeek:m,next:y,peek:E,reset:b,resetPeek:p,skipToPeek:S}}const Se=void 0,Nr="'",od="tokenizer";function ld(e,t={}){const n=t.location!==!1,r=id(e),i=()=>r.index(),a=()=>td(r.line(),r.column(),r.index()),l=a(),d=i(),s={currentType:14,offset:d,startLoc:l,endLoc:l,lastType:14,lastOffset:d,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},f=()=>s,{onError:h}=t;function g(c,u,v,...w){const k=f();if(u.column+=v,u.offset+=v,h){const M=fn(k.startLoc,u),pe=Tt(c,M,{domain:od,args:w});h(pe)}}function $(c,u,v){c.endLoc=a(),c.currentType=u;const w={type:u};return n&&(w.loc=fn(c.startLoc,c.endLoc)),v!=null&&(w.value=v),w}const N=c=>$(c,14);function I(c,u){return c.currentChar()===u?(c.next(),u):(g(A.EXPECTED_TOKEN,a(),0,u),"")}function O(c){let u="";for(;c.currentPeek()===ve||c.currentPeek()===ee;)u+=c.currentPeek(),c.peek();return u}function L(c){const u=O(c);return c.skipToPeek(),u}function m(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function E(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function b(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()==="-"?c.peek():c.currentPeek(),k=y(w);return c.resetPeek(),k}function p(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()===Nr;return c.resetPeek(),w}function S(c,u){const{currentType:v}=u;if(v!==8)return!1;O(c);const w=c.currentPeek()===".";return c.resetPeek(),w}function T(c,u){const{currentType:v}=u;if(v!==9)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function F(c,u){const{currentType:v}=u;if(!(v===8||v===12))return!1;O(c);const w=c.currentPeek()===":";return c.resetPeek(),w}function R(c,u){const{currentType:v}=u;if(v!==10)return!1;const w=()=>{const M=c.currentPeek();return M==="{"?m(c.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===ve||!M?!1:M===ee?(c.peek(),w()):m(M)},k=w();return c.resetPeek(),k}function x(c){O(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function H(c){const u=O(c),v=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:v,hasSpace:u.length>0}}function j(c,u=!0){const v=(k=!1,M="",pe=!1)=>{const ge=c.currentPeek();return ge==="{"?M==="%"?!1:k:ge==="@"||!ge?M==="%"?!0:k:ge==="%"?(c.peek(),v(k,"%",!0)):ge==="|"?M==="%"||pe?!0:!(M===ve||M===ee):ge===ve?(c.peek(),v(!0,ve,pe)):ge===ee?(c.peek(),v(!0,ee,pe)):!0},w=v();return u&&c.resetPeek(),w}function K(c,u){const v=c.currentChar();return v===Se?Se:u(v)?(c.next(),v):null}function ne(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36})}function Pe(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57})}function re(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102})}function Ve(c){let u="",v="";for(;u=Pe(c);)v+=u;return v}function $e(c){L(c);const u=c.currentChar();return u!=="%"&&g(A.EXPECTED_TOKEN,a(),0,u),c.next(),"%"}function Ie(c){let u="";for(;;){const v=c.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(j(c))u+=v,c.next();else break;else if(v===ve||v===ee)if(j(c))u+=v,c.next();else{if(x(c))break;u+=v,c.next()}else u+=v,c.next()}return u}function Je(c){L(c);let u="",v="";for(;u=ne(c);)v+=u;return c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v}function Ze(c){L(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Ve(c)}`):u+=Ve(c),c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u}function Qe(c){L(c),I(c,"'");let u="",v="";const w=M=>M!==Nr&&M!==ee;for(;u=K(c,w);)u==="\\"?v+=et(c):v+=u;const k=c.currentChar();return k===ee||k===Se?(g(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),k===ee&&(c.next(),I(c,"'")),v):(I(c,"'"),v)}function et(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return tt(c,u,4);case"U":return tt(c,u,6);default:return g(A.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function tt(c,u,v){I(c,u);let w="";for(let k=0;k<v;k++){const M=re(c);if(!M){g(A.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${w}${c.currentChar()}`);break}w+=M}return`\\${u}${w}`}function nt(c){L(c);let u="",v="";const w=k=>k!=="{"&&k!=="}"&&k!==ve&&k!==ee;for(;u=K(c,w);)v+=u;return v}function rt(c){let u="",v="";for(;u=ne(c);)v+=u;return v}function at(c){const u=(v=!1,w)=>{const k=c.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||!k||k===ve?w:k===ee?(w+=k,c.next(),u(v,w)):(w+=k,c.next(),u(!0,w))};return u(!1,"")}function Ae(c){L(c);const u=I(c,"|");return L(c),u}function ke(c,u){let v=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&g(A.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),c.next(),v=$(u,2,"{"),L(c),u.braceNest++,v;case"}":return u.braceNest>0&&u.currentType===2&&g(A.EMPTY_PLACEHOLDER,a(),0),c.next(),v=$(u,3,"}"),u.braceNest--,u.braceNest>0&&L(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),v;case"@":return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=Ce(c,u)||N(u),u.braceNest=0,v;default:let k=!0,M=!0,pe=!0;if(x(c))return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,De(c,u);if(k=E(c,u))return v=$(u,5,Je(c)),L(c),v;if(M=b(c,u))return v=$(u,6,Ze(c)),L(c),v;if(pe=p(c,u))return v=$(u,7,Qe(c)),L(c),v;if(!k&&!M&&!pe)return v=$(u,13,nt(c)),g(A.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,v.value),L(c),v;break}return v}function Ce(c,u){const{currentType:v}=u;let w=null;const k=c.currentChar();switch((v===8||v===9||v===12||v===10)&&(k===ee||k===ve)&&g(A.INVALID_LINKED_FORMAT,a(),0),k){case"@":return c.next(),w=$(u,8,"@"),u.inLinked=!0,w;case".":return L(c),c.next(),$(u,9,".");case":":return L(c),c.next(),$(u,10,":");default:return x(c)?(w=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,w):S(c,u)||F(c,u)?(L(c),Ce(c,u)):T(c,u)?(L(c),$(u,12,rt(c))):R(c,u)?(L(c),k==="{"?ke(c,u)||w:$(u,11,at(c))):(v===8&&g(A.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,De(c,u))}}function De(c,u){let v={type:14};if(u.braceNest>0)return ke(c,u)||N(u);if(u.inLinked)return Ce(c,u)||N(u);switch(c.currentChar()){case"{":return ke(c,u)||N(u);case"}":return g(A.UNBALANCED_CLOSING_BRACE,a(),0),c.next(),$(u,3,"}");case"@":return Ce(c,u)||N(u);default:if(x(c))return v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;const{isModulo:k,hasSpace:M}=H(c);if(k)return M?$(u,0,Ie(c)):$(u,4,$e(c));if(j(c))return $(u,0,Ie(c));break}return v}function it(){const{currentType:c,offset:u,startLoc:v,endLoc:w}=s;return s.lastType=c,s.lastOffset=u,s.lastStartLoc=v,s.lastEndLoc=w,s.offset=i(),s.startLoc=a(),r.currentChar()===Se?$(s,14):De(r,s)}return{nextToken:it,currentOffset:i,currentPosition:a,context:f}}const sd="parser",dd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ud(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 cd(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,E,b,...p){const S=m.currentPosition();if(S.offset+=b,S.column+=b,n){const T=fn(E,S),F=Tt(y,T,{domain:sd,args:p});n(F)}}function i(m,y,E){const b={type:m,start:y,end:y};return t&&(b.loc={start:E,end:E}),b}function a(m,y,E,b){m.end=y,b&&(m.type=b),t&&m.loc&&(m.loc.end=E)}function l(m,y){const E=m.context(),b=i(3,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function d(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(5,b,p);return S.index=parseInt(y,10),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function s(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(4,b,p);return S.key=y,m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function f(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(9,b,p);return S.value=y.replace(dd,ud),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function h(m){const y=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(8,b,p);return y.type!==12?(r(m,A.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),S.value="",a(S,b,p),{nextConsumeToken:y,node:S}):(y.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(y)),S.value=y.value||"",a(S,m.currentOffset(),m.currentPosition()),{node:S})}function g(m,y){const E=m.context(),b=i(7,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function $(m){const y=m.context(),E=i(6,y.offset,y.startLoc);let b=m.nextToken();if(b.type===9){const p=h(m);E.modifier=p.node,b=p.nextConsumeToken||m.nextToken()}switch(b.type!==10&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=g(m,b.value||"");break;case 5:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=s(m,b.value||"");break;case 6:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=d(m,b.value||"");break;case 7:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=f(m,b.value||"");break;default:r(m,A.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const p=m.context(),S=i(7,p.offset,p.startLoc);return S.value="",a(S,p.offset,p.startLoc),E.key=S,a(E,p.offset,p.startLoc),{nextConsumeToken:b,node:E}}return a(E,m.currentOffset(),m.currentPosition()),{node:E}}function N(m){const y=m.context(),E=y.currentType===1?m.currentOffset():y.offset,b=y.currentType===1?y.endLoc:y.startLoc,p=i(2,E,b);p.items=[];let S=null;do{const R=S||m.nextToken();switch(S=null,R.type){case 0:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(l(m,R.value||""));break;case 6:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(d(m,R.value||""));break;case 5:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(s(m,R.value||""));break;case 7:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(f(m,R.value||""));break;case 8:const x=$(m);p.items.push(x.node),S=x.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const T=y.currentType===1?y.lastOffset:m.currentOffset(),F=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(p,T,F),p}function I(m,y,E,b){const p=m.context();let S=b.items.length===0;const T=i(1,y,E);T.cases=[],T.cases.push(b);do{const F=N(m);S||(S=F.items.length===0),T.cases.push(F)}while(p.currentType!==14);return S&&r(m,A.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(T,m.currentOffset(),m.currentPosition()),T}function O(m){const y=m.context(),{offset:E,startLoc:b}=y,p=N(m);return y.currentType===14?p:I(m,E,b,p)}function L(m){const y=ld(m,q({},e)),E=y.context(),b=i(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=O(y),E.currentType!==14&&r(y,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),a(b,y.currentOffset(),y.currentPosition()),b}return{parse:L}}function me(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 fd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Or(e,t){for(let n=0;n<e.length;n++)Pn(e[n],t)}function Pn(e,t){switch(e.type){case 1:Or(e.cases,t),t.helper("plural");break;case 2:Or(e.items,t);break;case 6:Pn(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 $d(e,t={}){const n=fd(e);n.helper("normalize"),e.body&&Pn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function pd(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0},d=()=>l;function s(O,L){l.code+=O}function f(O,L=!0){const m=L?i:"";s(a?m+" ".repeat(O):m)}function h(O=!0){const L=++l.indentLevel;O&&f(L)}function g(O=!0){const L=--l.indentLevel;O&&f(L)}function $(){f(l.indentLevel)}return{context:d,push:s,indent:h,deindent:g,newline:$,helper:O=>`_${O}`,needIndent:()=>l.needIndent}}function md(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ke(e,t.key),t.modifier?(e.push(", "),Ke(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function hd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(Ke(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function gd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(Ke(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function vd(e,t){t.body?Ke(e,t.body):e.push("null")}function Ke(e,t){const{helper:n}=e;switch(t.type){case 0:vd(e,t);break;case 1:gd(e,t);break;case 2:hd(e,t);break;case 6:md(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:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const yd=(e,t={})=>{const n=P(t.mode)?t.mode:"normal",r=P(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
23
- `,l=t.needIndent?t.needIndent:n!=="arrow",d=e.helpers||[],s=pd(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:l});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(l),d.length>0&&(s.push(`const { ${d.map(g=>`${g}: _${g}`).join(", ")} } = ctx`),s.newline()),s.push("return "),Ke(s,e),s.deindent(l),s.push("}");const{code:f,map:h}=s.context();return{ast:e,code:f,map:h?h.toJSON():void 0}};function _d(e,t={}){const n=q({},t),i=cd(n).parse(e);return $d(i,n),yd(i,n)}/*!
21
+ */const A={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,__EXTEND_POINT__:15},Qs={[A.EXPECTED_TOKEN]:"Expected token: '{0}'",[A.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[A.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[A.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[A.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[A.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[A.EMPTY_PLACEHOLDER]:"Empty placeholder",[A.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[A.INVALID_LINKED_FORMAT]:"Invalid linked format",[A.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[A.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[A.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[A.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Tt(e,t,n={}){const{domain:r,messages:o,args:a}=n,l=process.env.NODE_ENV!=="production"?Ct((o||Qs)[e]||"",...a||[]):e,d=new SyntaxError(String(l));return d.code=e,t&&(d.location=t),d.domain=r,d}function ed(e){throw e}function td(e,t,n){return{line:e,column:t,offset:n}}function fn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ve=" ",nd="\r",ee=`
22
+ `,rd=String.fromCharCode(8232),ad=String.fromCharCode(8233);function id(e){const t=e;let n=0,r=1,o=1,a=0;const l=T=>t[T]===nd&&t[T+1]===ee,d=T=>t[T]===ee,s=T=>t[T]===ad,f=T=>t[T]===rd,h=T=>l(T)||d(T)||s(T)||f(T),g=()=>n,$=()=>r,N=()=>o,I=()=>a,O=T=>l(T)||s(T)||f(T)?ee:t[T],L=()=>O(n),m=()=>O(n+a);function y(){return a=0,h(n)&&(r++,o=0),l(n)&&n++,n++,o++,t[n]}function E(){return l(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,o=1,a=0}function p(T=0){a=T}function S(){const T=n+a;for(;T!==n;)y();a=0}return{index:g,line:$,column:N,peekOffset:I,charAt:O,currentChar:L,currentPeek:m,next:y,peek:E,reset:b,resetPeek:p,skipToPeek:S}}const Se=void 0,Or="'",od="tokenizer";function ld(e,t={}){const n=t.location!==!1,r=id(e),o=()=>r.index(),a=()=>td(r.line(),r.column(),r.index()),l=a(),d=o(),s={currentType:14,offset:d,startLoc:l,endLoc:l,lastType:14,lastOffset:d,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},f=()=>s,{onError:h}=t;function g(c,u,v,...w){const k=f();if(u.column+=v,u.offset+=v,h){const M=fn(k.startLoc,u),pe=Tt(c,M,{domain:od,args:w});h(pe)}}function $(c,u,v){c.endLoc=a(),c.currentType=u;const w={type:u};return n&&(w.loc=fn(c.startLoc,c.endLoc)),v!=null&&(w.value=v),w}const N=c=>$(c,14);function I(c,u){return c.currentChar()===u?(c.next(),u):(g(A.EXPECTED_TOKEN,a(),0,u),"")}function O(c){let u="";for(;c.currentPeek()===ve||c.currentPeek()===ee;)u+=c.currentPeek(),c.peek();return u}function L(c){const u=O(c);return c.skipToPeek(),u}function m(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function E(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function b(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()==="-"?c.peek():c.currentPeek(),k=y(w);return c.resetPeek(),k}function p(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()===Or;return c.resetPeek(),w}function S(c,u){const{currentType:v}=u;if(v!==8)return!1;O(c);const w=c.currentPeek()===".";return c.resetPeek(),w}function T(c,u){const{currentType:v}=u;if(v!==9)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function F(c,u){const{currentType:v}=u;if(!(v===8||v===12))return!1;O(c);const w=c.currentPeek()===":";return c.resetPeek(),w}function R(c,u){const{currentType:v}=u;if(v!==10)return!1;const w=()=>{const M=c.currentPeek();return M==="{"?m(c.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===ve||!M?!1:M===ee?(c.peek(),w()):m(M)},k=w();return c.resetPeek(),k}function x(c){O(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function H(c){const u=O(c),v=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:v,hasSpace:u.length>0}}function j(c,u=!0){const v=(k=!1,M="",pe=!1)=>{const ge=c.currentPeek();return ge==="{"?M==="%"?!1:k:ge==="@"||!ge?M==="%"?!0:k:ge==="%"?(c.peek(),v(k,"%",!0)):ge==="|"?M==="%"||pe?!0:!(M===ve||M===ee):ge===ve?(c.peek(),v(!0,ve,pe)):ge===ee?(c.peek(),v(!0,ee,pe)):!0},w=v();return u&&c.resetPeek(),w}function K(c,u){const v=c.currentChar();return v===Se?Se:u(v)?(c.next(),v):null}function ne(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36})}function Pe(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57})}function re(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102})}function Ve(c){let u="",v="";for(;u=Pe(c);)v+=u;return v}function $e(c){L(c);const u=c.currentChar();return u!=="%"&&g(A.EXPECTED_TOKEN,a(),0,u),c.next(),"%"}function Ie(c){let u="";for(;;){const v=c.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(j(c))u+=v,c.next();else break;else if(v===ve||v===ee)if(j(c))u+=v,c.next();else{if(x(c))break;u+=v,c.next()}else u+=v,c.next()}return u}function Je(c){L(c);let u="",v="";for(;u=ne(c);)v+=u;return c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v}function Ze(c){L(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Ve(c)}`):u+=Ve(c),c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u}function Qe(c){L(c),I(c,"'");let u="",v="";const w=M=>M!==Or&&M!==ee;for(;u=K(c,w);)u==="\\"?v+=et(c):v+=u;const k=c.currentChar();return k===ee||k===Se?(g(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),k===ee&&(c.next(),I(c,"'")),v):(I(c,"'"),v)}function et(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return tt(c,u,4);case"U":return tt(c,u,6);default:return g(A.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function tt(c,u,v){I(c,u);let w="";for(let k=0;k<v;k++){const M=re(c);if(!M){g(A.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${w}${c.currentChar()}`);break}w+=M}return`\\${u}${w}`}function nt(c){L(c);let u="",v="";const w=k=>k!=="{"&&k!=="}"&&k!==ve&&k!==ee;for(;u=K(c,w);)v+=u;return v}function rt(c){let u="",v="";for(;u=ne(c);)v+=u;return v}function at(c){const u=(v=!1,w)=>{const k=c.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||!k||k===ve?w:k===ee?(w+=k,c.next(),u(v,w)):(w+=k,c.next(),u(!0,w))};return u(!1,"")}function Ae(c){L(c);const u=I(c,"|");return L(c),u}function ke(c,u){let v=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&g(A.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),c.next(),v=$(u,2,"{"),L(c),u.braceNest++,v;case"}":return u.braceNest>0&&u.currentType===2&&g(A.EMPTY_PLACEHOLDER,a(),0),c.next(),v=$(u,3,"}"),u.braceNest--,u.braceNest>0&&L(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),v;case"@":return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=Ce(c,u)||N(u),u.braceNest=0,v;default:let k=!0,M=!0,pe=!0;if(x(c))return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,De(c,u);if(k=E(c,u))return v=$(u,5,Je(c)),L(c),v;if(M=b(c,u))return v=$(u,6,Ze(c)),L(c),v;if(pe=p(c,u))return v=$(u,7,Qe(c)),L(c),v;if(!k&&!M&&!pe)return v=$(u,13,nt(c)),g(A.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,v.value),L(c),v;break}return v}function Ce(c,u){const{currentType:v}=u;let w=null;const k=c.currentChar();switch((v===8||v===9||v===12||v===10)&&(k===ee||k===ve)&&g(A.INVALID_LINKED_FORMAT,a(),0),k){case"@":return c.next(),w=$(u,8,"@"),u.inLinked=!0,w;case".":return L(c),c.next(),$(u,9,".");case":":return L(c),c.next(),$(u,10,":");default:return x(c)?(w=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,w):S(c,u)||F(c,u)?(L(c),Ce(c,u)):T(c,u)?(L(c),$(u,12,rt(c))):R(c,u)?(L(c),k==="{"?ke(c,u)||w:$(u,11,at(c))):(v===8&&g(A.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,De(c,u))}}function De(c,u){let v={type:14};if(u.braceNest>0)return ke(c,u)||N(u);if(u.inLinked)return Ce(c,u)||N(u);switch(c.currentChar()){case"{":return ke(c,u)||N(u);case"}":return g(A.UNBALANCED_CLOSING_BRACE,a(),0),c.next(),$(u,3,"}");case"@":return Ce(c,u)||N(u);default:if(x(c))return v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;const{isModulo:k,hasSpace:M}=H(c);if(k)return M?$(u,0,Ie(c)):$(u,4,$e(c));if(j(c))return $(u,0,Ie(c));break}return v}function it(){const{currentType:c,offset:u,startLoc:v,endLoc:w}=s;return s.lastType=c,s.lastOffset=u,s.lastStartLoc=v,s.lastEndLoc=w,s.offset=o(),s.startLoc=a(),r.currentChar()===Se?$(s,14):De(r,s)}return{nextToken:it,currentOffset:o,currentPosition:a,context:f}}const sd="parser",dd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ud(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 cd(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,E,b,...p){const S=m.currentPosition();if(S.offset+=b,S.column+=b,n){const T=fn(E,S),F=Tt(y,T,{domain:sd,args:p});n(F)}}function o(m,y,E){const b={type:m,start:y,end:y};return t&&(b.loc={start:E,end:E}),b}function a(m,y,E,b){m.end=y,b&&(m.type=b),t&&m.loc&&(m.loc.end=E)}function l(m,y){const E=m.context(),b=o(3,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function d(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=o(5,b,p);return S.index=parseInt(y,10),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function s(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=o(4,b,p);return S.key=y,m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function f(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=o(9,b,p);return S.value=y.replace(dd,ud),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function h(m){const y=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=o(8,b,p);return y.type!==12?(r(m,A.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),S.value="",a(S,b,p),{nextConsumeToken:y,node:S}):(y.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(y)),S.value=y.value||"",a(S,m.currentOffset(),m.currentPosition()),{node:S})}function g(m,y){const E=m.context(),b=o(7,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function $(m){const y=m.context(),E=o(6,y.offset,y.startLoc);let b=m.nextToken();if(b.type===9){const p=h(m);E.modifier=p.node,b=p.nextConsumeToken||m.nextToken()}switch(b.type!==10&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=g(m,b.value||"");break;case 5:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=s(m,b.value||"");break;case 6:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=d(m,b.value||"");break;case 7:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=f(m,b.value||"");break;default:r(m,A.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const p=m.context(),S=o(7,p.offset,p.startLoc);return S.value="",a(S,p.offset,p.startLoc),E.key=S,a(E,p.offset,p.startLoc),{nextConsumeToken:b,node:E}}return a(E,m.currentOffset(),m.currentPosition()),{node:E}}function N(m){const y=m.context(),E=y.currentType===1?m.currentOffset():y.offset,b=y.currentType===1?y.endLoc:y.startLoc,p=o(2,E,b);p.items=[];let S=null;do{const R=S||m.nextToken();switch(S=null,R.type){case 0:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(l(m,R.value||""));break;case 6:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(d(m,R.value||""));break;case 5:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(s(m,R.value||""));break;case 7:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(f(m,R.value||""));break;case 8:const x=$(m);p.items.push(x.node),S=x.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const T=y.currentType===1?y.lastOffset:m.currentOffset(),F=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(p,T,F),p}function I(m,y,E,b){const p=m.context();let S=b.items.length===0;const T=o(1,y,E);T.cases=[],T.cases.push(b);do{const F=N(m);S||(S=F.items.length===0),T.cases.push(F)}while(p.currentType!==14);return S&&r(m,A.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(T,m.currentOffset(),m.currentPosition()),T}function O(m){const y=m.context(),{offset:E,startLoc:b}=y,p=N(m);return y.currentType===14?p:I(m,E,b,p)}function L(m){const y=ld(m,q({},e)),E=y.context(),b=o(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=O(y),E.currentType!==14&&r(y,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),a(b,y.currentOffset(),y.currentPosition()),b}return{parse:L}}function me(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 fd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Cr(e,t){for(let n=0;n<e.length;n++)Pn(e[n],t)}function Pn(e,t){switch(e.type){case 1:Cr(e.cases,t),t.helper("plural");break;case 2:Cr(e.items,t);break;case 6:Pn(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 $d(e,t={}){const n=fd(e);n.helper("normalize"),e.body&&Pn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function pd(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:a}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0},d=()=>l;function s(O,L){l.code+=O}function f(O,L=!0){const m=L?o:"";s(a?m+" ".repeat(O):m)}function h(O=!0){const L=++l.indentLevel;O&&f(L)}function g(O=!0){const L=--l.indentLevel;O&&f(L)}function $(){f(l.indentLevel)}return{context:d,push:s,indent:h,deindent:g,newline:$,helper:O=>`_${O}`,needIndent:()=>l.needIndent}}function md(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ke(e,t.key),t.modifier?(e.push(", "),Ke(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function hd(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&&(Ke(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function gd(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&&(Ke(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function vd(e,t){t.body?Ke(e,t.body):e.push("null")}function Ke(e,t){const{helper:n}=e;switch(t.type){case 0:vd(e,t);break;case 1:gd(e,t);break;case 2:hd(e,t);break;case 6:md(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:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const yd=(e,t={})=>{const n=P(t.mode)?t.mode:"normal",r=P(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
23
+ `,l=t.needIndent?t.needIndent:n!=="arrow",d=e.helpers||[],s=pd(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:l});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(l),d.length>0&&(s.push(`const { ${d.map(g=>`${g}: _${g}`).join(", ")} } = ctx`),s.newline()),s.push("return "),Ke(s,e),s.deindent(l),s.push("}");const{code:f,map:h}=s.context();return{ast:e,code:f,map:h?h.toJSON():void 0}};function _d(e,t={}){const n=q({},t),o=cd(n).parse(e);return $d(o,n),yd(o,n)}/*!
24
24
  * devtools-if v9.2.2
25
25
  * (c) 2022 kazuya kawaguchi
26
26
  * Released under the MIT License.
27
- */const ka={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
27
+ */const Da={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
28
28
  * core-base v9.2.2
29
29
  * (c) 2022 kazuya kawaguchi
30
30
  * Released under the MIT License.
31
- */const Le=[];Le[0]={w:[0],i:[3,0],"[":[4],o:[7]};Le[1]={w:[1],".":[2],"[":[4],o:[7]};Le[2]={w:[2],i:[3,0],0:[3,0]};Le[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Le[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Le[5]={"'":[4,0],o:8,l:[5,0]};Le[6]={'"':[4,0],o:8,l:[6,0]};const bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ed(e){return bd.test(e)}function Nd(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 Od(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 Cd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ed(t)?Nd(t):"*"+t}function Sd(e){const t=[];let n=-1,r=0,i=0,a,l,d,s,f,h,g;const $=[];$[0]=()=>{l===void 0?l=d:l+=d},$[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},$[2]=()=>{$[0](),i++},$[3]=()=>{if(i>0)i--,r=4,$[0]();else{if(i=0,l===void 0||(l=Cd(l),l===!1))return!1;$[1]()}};function N(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,d="\\"+I,$[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&N())){if(s=Od(a),g=Le[r],f=g[s]||g.l||8,f===8||(r=f[0],f[1]!==void 0&&(h=$[f[1]],h&&(d=a,h()===!1))))return;if(r===7)return t}}const Cr=new Map;function Td(e,t){return V(e)?e[t]:null}function wd(e,t){if(!V(e))return null;let n=Cr.get(t);if(n||(n=Sd(t),n&&Cr.set(t,n)),!n)return null;const r=n.length;let i=e,a=0;for(;a<r;){const l=i[n[a]];if(l===void 0)return null;i=l,a++}return i}const Ld=e=>e,Pd=e=>"",Id="text",Ad=e=>e.length===0?"":e.join(""),kd=zs;function Sr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Dd(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 Rd(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fd(e={}){const t=e.locale,n=Dd(e),r=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?e.pluralRules[t]:Sr,i=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?Sr:void 0,a=m=>m[r(n,m.length,i)],l=e.list||[],d=m=>l[m],s=e.named||{};J(e.pluralIndex)&&Rd(n,s);const f=m=>s[m];function h(m){const y=Y(e.messages)?e.messages(m):V(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):Pd)}const g=m=>e.modifiers?e.modifiers[m]:Ld,$=D(e.processor)&&Y(e.processor.normalize)?e.processor.normalize:Ad,N=D(e.processor)&&Y(e.processor.interpolate)?e.processor.interpolate:kd,I=D(e.processor)&&P(e.processor.type)?e.processor.type:Id,L={list:d,named:f,plural:a,linked:(m,...y)=>{const[E,b]=y;let p="text",S="";y.length===1?V(E)?(S=E.modifier||S,p=E.type||p):P(E)&&(S=E||S):y.length===2&&(P(E)&&(S=E||S),P(b)&&(p=b||p));let T=h(m)(L);return p==="vnode"&&G(T)&&S&&(T=T[0]),S?g(S)(T,p):T},message:h,type:I,interpolate:N,normalize:$};return L}let ct=null;function Md(e){ct=e}function Vd(e,t,n){ct&&ct.emit(ka.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const xd=Bd(ka.FunctionTranslate);function Bd(e){return t=>ct&&ct.emit(e,t)}const se={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,__EXTEND_POINT__:7},Ud={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Ye(e,...t){return Ct(Ud[e],...t)}function jd(e,t,n){return[...new Set([n,...G(t)?t:V(t)?Object.keys(t):P(t)?[t]:[n]])]}function Da(e,t,n){const r=P(n)?n:Lt,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let l=[n];for(;G(l);)l=Tr(a,l,t);const d=G(t)||!D(t)?t:t.default?t.default:null;l=P(d)?[d]:d,G(l)&&Tr(a,l,!1),i.__localeChainCache.set(r,a)}return a}function Tr(e,t,n){let r=!0;for(let i=0;i<t.length&&B(r);i++){const a=t[i];P(a)&&(r=Gd(e,t[i],n))}return r}function Gd(e,t,n){let r;const i=t.split("-");do{const a=i.join("-");r=Hd(e,a,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function Hd(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(G(n)||D(n))&&n[i]&&(r=n[i])}return r}const Wd="9.2.2",wt=-1,Lt="en-US",bt="",wr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Kd(){return{upper:(e,t)=>t==="text"&&P(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&P(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&P(e)?wr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?wr(e.children):e}}let Ra;function Yd(e){Ra=e}let Fa;function Xd(e){Fa=e}let Ma;function qd(e){Ma=e}let Va=null;const Lr=e=>{Va=e},zd=()=>Va;let xa=null;const Pr=e=>{xa=e},Jd=()=>xa;let Ir=0;function Zd(e={}){const t=P(e.version)?e.version:Wd,n=P(e.locale)?e.locale:Lt,r=G(e.fallbackLocale)||D(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=D(e.messages)?e.messages:{[n]:{}},a=D(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=D(e.numberFormats)?e.numberFormats:{[n]:{}},d=q({},e.modifiers||{},Kd()),s=e.pluralRules||{},f=Y(e.missing)?e.missing:null,h=B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=!!e.fallbackFormat,N=!!e.unresolving,I=Y(e.postTranslation)?e.postTranslation:null,O=D(e.processor)?e.processor:null,L=B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,y=Y(e.messageCompiler)?e.messageCompiler:Ra,E=Y(e.messageResolver)?e.messageResolver:Fa||Td,b=Y(e.localeFallbacker)?e.localeFallbacker:Ma||jd,p=V(e.fallbackContext)?e.fallbackContext:void 0,S=Y(e.onWarn)?e.onWarn:ft,T=e,F=V(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,R=V(T.__numberFormatters)?T.__numberFormatters:new Map,x=V(T.__meta)?T.__meta:{};Ir++;const H={version:t,cid:Ir,locale:n,fallbackLocale:r,messages:i,modifiers:d,pluralRules:s,missing:f,missingWarn:h,fallbackWarn:g,fallbackFormat:$,unresolving:N,postTranslation:I,processor:O,warnHtmlMessage:L,escapeParameter:m,messageCompiler:y,messageResolver:E,localeFallbacker:b,fallbackContext:p,onWarn:S,__meta:x};return H.datetimeFormats=a,H.numberFormats=l,H.__datetimeFormatters=F,H.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(H.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Vd(H,t,x),H}function Pt(e,t){return e instanceof RegExp?e.test(t):e}function Ba(e,t){return e instanceof RegExp?e.test(t):e}function In(e,t,n,r,i){const{missing:a,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const d=e.__v_emitter;d&&d.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){const d=a(e,n,t,i);return P(d)?d:t}else return process.env.NODE_ENV!=="production"&&Ba(r,t)&&l(Ye(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function ot(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Qd=/<\/?[\w\s="/.':;#-\/]+>/,eu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function tu(e,t){(B(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&Qd.test(e)&&ft(Ct(eu,{source:e}))}const nu=e=>e;let Ar=Object.create(null);function ru(e,t={}){{process.env.NODE_ENV!=="production"&&tu(e,t);const r=(t.onCacheKey||nu)(e),i=Ar[r];if(i)return i;let a=!1;const l=t.onError||ed;t.onError=f=>{a=!0,l(f)};const{code:d}=_d(e,t),s=new Function(`return ${d}`)();return a?s:Ar[r]=s}}let Ua=A.__EXTEND_POINT__;const Ut=()=>++Ua,be={INVALID_ARGUMENT:Ua,INVALID_DATE_ARGUMENT:Ut(),INVALID_ISO_DATE_ARGUMENT:Ut(),__EXTEND_POINT__:Ut()};function He(e){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:au}:void 0)}const au={[be.INVALID_ARGUMENT]:"Invalid arguments",[be.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[be.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},kr=()=>"",he=e=>Y(e);function Dr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:l,messages:d}=e,[s,f]=$n(...t),h=B(f.missingWarn)?f.missingWarn:e.missingWarn,g=B(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,$=B(f.escapeParameter)?f.escapeParameter:e.escapeParameter,N=!!f.resolvedMessage,I=P(f.default)||B(f.default)?B(f.default)?a?s:()=>s:f.default:n?a?s:()=>s:"",O=n||I!=="",L=P(f.locale)?f.locale:e.locale;$&&iu(f);let[m,y,E]=N?[s,L,d[L]||{}]:ja(e,s,L,l,g,h),b=m,p=s;if(!N&&!(P(b)||he(b))&&O&&(b=I,p=b),!N&&(!(P(b)||he(b))||!P(y)))return i?wt:s;if(process.env.NODE_ENV!=="production"&&P(b)&&e.messageCompiler==null)return ft(`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 '${s}'.`),s;let S=!1;const T=()=>{S=!0},F=he(b)?b:Ga(e,s,y,b,p,T);if(S)return b;const R=su(e,y,E,f),x=Fd(R),H=ou(e,F,x),j=r?r(H,s):H;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(s)?s:he(b)?b.key:"",locale:y||(he(b)?b.locale:""),format:P(b)?b:he(b)?b.source:"",message:j};K.meta=q({},e.__meta,zd()||{}),xd(K)}return j}function iu(e){G(e.list)?e.list=e.list.map(t=>P(t)?br(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=br(e.named[t]))})}function ja(e,t,n,r,i,a){const{messages:l,onWarn:d,messageResolver:s,localeFallbacker:f}=e,h=f(e,r,n);let g={},$,N=null,I=n,O=null;const L="translate";for(let m=0;m<h.length;m++){if($=O=h[m],process.env.NODE_ENV!=="production"&&n!==$&&Pt(i,t)&&d(Ye(se.FALLBACK_TO_TRANSLATE,{key:t,target:$})),process.env.NODE_ENV!=="production"&&n!==$){const S=e.__v_emitter;S&&S.emit("fallback",{type:L,key:t,from:I,to:O,groupId:`${L}:${t}`})}g=l[$]||{};let y=null,E,b;if(process.env.NODE_ENV!=="production"&&we&&(y=window.performance.now(),E="intlify-message-resolve-start",b="intlify-message-resolve-end",de&&de(E)),(N=s(g,t))===null&&(N=g[t]),process.env.NODE_ENV!=="production"&&we){const S=window.performance.now(),T=e.__v_emitter;T&&y&&N&&T.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:S-y,groupId:`${L}:${t}`}),E&&b&&de&&Fe&&(de(b),Fe("intlify message resolve",E,b))}if(P(N)||Y(N))break;const p=In(e,t,$,a,L);p!==t&&(N=p),I=O}return[N,$,g]}function Ga(e,t,n,r,i,a){const{messageCompiler:l,warnHtmlMessage:d}=e;if(he(r)){const $=r;return $.locale=$.locale||n,$.key=$.key||t,$}if(l==null){const $=()=>r;return $.locale=n,$.key=t,$}let s=null,f,h;process.env.NODE_ENV!=="production"&&we&&(s=window.performance.now(),f="intlify-message-compilation-start",h="intlify-message-compilation-end",de&&de(f));const g=l(r,lu(e,n,i,r,d,a));if(process.env.NODE_ENV!=="production"&&we){const $=window.performance.now(),N=e.__v_emitter;N&&s&&N.emit("message-compilation",{type:"message-compilation",message:r,time:$-s,groupId:`translate:${t}`}),f&&h&&de&&Fe&&(de(h),Fe("intlify message compilation",f,h))}return g.locale=n,g.key=t,g.source=r,g}function ou(e,t,n){let r=null,i,a;process.env.NODE_ENV!=="production"&&we&&(r=window.performance.now(),i="intlify-message-evaluation-start",a="intlify-message-evaluation-end",de&&de(i));const l=t(n);if(process.env.NODE_ENV!=="production"&&we){const d=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:l,time:d-r,groupId:`translate:${t.key}`}),i&&a&&de&&Fe&&(de(a),Fe("intlify message evaluation",i,a))}return l}function $n(...e){const[t,n,r]=e,i={};if(!P(t)&&!J(t)&&!he(t))throw He(be.INVALID_ARGUMENT);const a=J(t)?String(t):(he(t),t);return J(n)?i.plural=n:P(n)?i.default=n:D(n)&&!St(n)?i.named=n:G(n)&&(i.list=n),J(r)?i.plural=r:P(r)?i.default=r:D(r)&&q(i,r),[a,i]}function lu(e,t,n,r,i,a){return{warnHtmlMessage:i,onError:l=>{if(a&&a(l),process.env.NODE_ENV!=="production"){const d=`Message compilation error: ${l.message}`,s=l.location&&Js(r,l.location.start.offset,l.location.end.offset),f=e.__v_emitter;f&&f.emit("compile-error",{message:r,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${d}
32
- ${s}`:d)}else throw l},onCacheKey:l=>Ks(t,n,l)}}function su(e,t,n,r){const{modifiers:i,pluralRules:a,messageResolver:l,fallbackLocale:d,fallbackWarn:s,missingWarn:f,fallbackContext:h}=e,$={locale:t,modifiers:i,pluralRules:a,messages:N=>{let I=l(n,N);if(I==null&&h){const[,,O]=ja(h,N,t,d,s,f);I=l(O,N)}if(P(I)){let O=!1;const m=Ga(e,N,t,I,N,()=>{O=!0});return O?kr:m}else return he(I)?I:kr}};return e.processor&&($.processor=e.processor),r.list&&($.list=r.list),r.named&&($.named=r.named),J(r.plural)&&($.pluralIndex=r.plural),$}const Rr=typeof Intl<"u",Ha={dateTimeFormat:Rr&&typeof Intl.DateTimeFormat<"u",numberFormat:Rr&&typeof Intl.NumberFormat<"u"};function Fr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Ha.dateTimeFormat)return a(Ye(se.CANNOT_FORMAT_DATE)),bt;const[s,f,h,g]=pn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,i,O);if(!P(s)||s==="")return new Intl.DateTimeFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="datetime format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_DATE_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.DateTimeFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Wa=["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,i]=e,a={};let l={},d;if(P(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw He(be.INVALID_ISO_DATE_ARGUMENT);const f=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();d=new Date(f);try{d.toISOString()}catch{throw He(be.INVALID_ISO_DATE_ARGUMENT)}}else if(Xs(t)){if(isNaN(t.getTime()))throw He(be.INVALID_DATE_ARGUMENT);d=t}else if(J(t))d=t;else throw He(be.INVALID_ARGUMENT);return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Wa.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(i)&&(l=i),[a.key||"",d,a,l]}function Mr(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function Vr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Ha.numberFormat)return a(Ye(se.CANNOT_FORMAT_NUMBER)),bt;const[s,f,h,g]=mn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,i,O);if(!P(s)||s==="")return new Intl.NumberFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="number format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.NumberFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Ka=["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,i]=e,a={};let l={};if(!J(t))throw He(be.INVALID_ARGUMENT);const d=t;return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Ka.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(i)&&(l=i),[a.key||"",d,a,l]}function xr(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
31
+ */const Le=[];Le[0]={w:[0],i:[3,0],"[":[4],o:[7]};Le[1]={w:[1],".":[2],"[":[4],o:[7]};Le[2]={w:[2],i:[3,0],0:[3,0]};Le[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Le[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Le[5]={"'":[4,0],o:8,l:[5,0]};Le[6]={'"':[4,0],o:8,l:[6,0]};const bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ed(e){return bd.test(e)}function Nd(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 Od(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 Cd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ed(t)?Nd(t):"*"+t}function Sd(e){const t=[];let n=-1,r=0,o=0,a,l,d,s,f,h,g;const $=[];$[0]=()=>{l===void 0?l=d:l+=d},$[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},$[2]=()=>{$[0](),o++},$[3]=()=>{if(o>0)o--,r=4,$[0]();else{if(o=0,l===void 0||(l=Cd(l),l===!1))return!1;$[1]()}};function N(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,d="\\"+I,$[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&N())){if(s=Od(a),g=Le[r],f=g[s]||g.l||8,f===8||(r=f[0],f[1]!==void 0&&(h=$[f[1]],h&&(d=a,h()===!1))))return;if(r===7)return t}}const Sr=new Map;function Td(e,t){return V(e)?e[t]:null}function wd(e,t){if(!V(e))return null;let n=Sr.get(t);if(n||(n=Sd(t),n&&Sr.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const l=o[n[a]];if(l===void 0)return null;o=l,a++}return o}const Ld=e=>e,Pd=e=>"",Id="text",Ad=e=>e.length===0?"":e.join(""),kd=zs;function Tr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Dd(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 Rd(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fd(e={}){const t=e.locale,n=Dd(e),r=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?e.pluralRules[t]:Tr,o=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?Tr:void 0,a=m=>m[r(n,m.length,o)],l=e.list||[],d=m=>l[m],s=e.named||{};J(e.pluralIndex)&&Rd(n,s);const f=m=>s[m];function h(m){const y=Y(e.messages)?e.messages(m):V(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):Pd)}const g=m=>e.modifiers?e.modifiers[m]:Ld,$=D(e.processor)&&Y(e.processor.normalize)?e.processor.normalize:Ad,N=D(e.processor)&&Y(e.processor.interpolate)?e.processor.interpolate:kd,I=D(e.processor)&&P(e.processor.type)?e.processor.type:Id,L={list:d,named:f,plural:a,linked:(m,...y)=>{const[E,b]=y;let p="text",S="";y.length===1?V(E)?(S=E.modifier||S,p=E.type||p):P(E)&&(S=E||S):y.length===2&&(P(E)&&(S=E||S),P(b)&&(p=b||p));let T=h(m)(L);return p==="vnode"&&G(T)&&S&&(T=T[0]),S?g(S)(T,p):T},message:h,type:I,interpolate:N,normalize:$};return L}let ct=null;function Md(e){ct=e}function Vd(e,t,n){ct&&ct.emit(Da.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const xd=Bd(Da.FunctionTranslate);function Bd(e){return t=>ct&&ct.emit(e,t)}const se={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,__EXTEND_POINT__:7},Ud={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Ye(e,...t){return Ct(Ud[e],...t)}function jd(e,t,n){return[...new Set([n,...G(t)?t:V(t)?Object.keys(t):P(t)?[t]:[n]])]}function Ra(e,t,n){const r=P(n)?n:Lt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let l=[n];for(;G(l);)l=wr(a,l,t);const d=G(t)||!D(t)?t:t.default?t.default:null;l=P(d)?[d]:d,G(l)&&wr(a,l,!1),o.__localeChainCache.set(r,a)}return a}function wr(e,t,n){let r=!0;for(let o=0;o<t.length&&B(r);o++){const a=t[o];P(a)&&(r=Gd(e,t[o],n))}return r}function Gd(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=Hd(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Hd(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),(G(n)||D(n))&&n[o]&&(r=n[o])}return r}const Wd="9.2.2",wt=-1,Lt="en-US",bt="",Lr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Kd(){return{upper:(e,t)=>t==="text"&&P(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&P(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&P(e)?Lr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?Lr(e.children):e}}let Fa;function Yd(e){Fa=e}let Ma;function Xd(e){Ma=e}let Va;function qd(e){Va=e}let xa=null;const Pr=e=>{xa=e},zd=()=>xa;let Ba=null;const Ir=e=>{Ba=e},Jd=()=>Ba;let Ar=0;function Zd(e={}){const t=P(e.version)?e.version:Wd,n=P(e.locale)?e.locale:Lt,r=G(e.fallbackLocale)||D(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=D(e.messages)?e.messages:{[n]:{}},a=D(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=D(e.numberFormats)?e.numberFormats:{[n]:{}},d=q({},e.modifiers||{},Kd()),s=e.pluralRules||{},f=Y(e.missing)?e.missing:null,h=B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=!!e.fallbackFormat,N=!!e.unresolving,I=Y(e.postTranslation)?e.postTranslation:null,O=D(e.processor)?e.processor:null,L=B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,y=Y(e.messageCompiler)?e.messageCompiler:Fa,E=Y(e.messageResolver)?e.messageResolver:Ma||Td,b=Y(e.localeFallbacker)?e.localeFallbacker:Va||jd,p=V(e.fallbackContext)?e.fallbackContext:void 0,S=Y(e.onWarn)?e.onWarn:ft,T=e,F=V(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,R=V(T.__numberFormatters)?T.__numberFormatters:new Map,x=V(T.__meta)?T.__meta:{};Ar++;const H={version:t,cid:Ar,locale:n,fallbackLocale:r,messages:o,modifiers:d,pluralRules:s,missing:f,missingWarn:h,fallbackWarn:g,fallbackFormat:$,unresolving:N,postTranslation:I,processor:O,warnHtmlMessage:L,escapeParameter:m,messageCompiler:y,messageResolver:E,localeFallbacker:b,fallbackContext:p,onWarn:S,__meta:x};return H.datetimeFormats=a,H.numberFormats=l,H.__datetimeFormatters=F,H.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(H.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Vd(H,t,x),H}function Pt(e,t){return e instanceof RegExp?e.test(t):e}function Ua(e,t){return e instanceof RegExp?e.test(t):e}function In(e,t,n,r,o){const{missing:a,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const d=e.__v_emitter;d&&d.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const d=a(e,n,t,o);return P(d)?d:t}else return process.env.NODE_ENV!=="production"&&Ua(r,t)&&l(Ye(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function ot(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Qd=/<\/?[\w\s="/.':;#-\/]+>/,eu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function tu(e,t){(B(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&Qd.test(e)&&ft(Ct(eu,{source:e}))}const nu=e=>e;let kr=Object.create(null);function ru(e,t={}){{process.env.NODE_ENV!=="production"&&tu(e,t);const r=(t.onCacheKey||nu)(e),o=kr[r];if(o)return o;let a=!1;const l=t.onError||ed;t.onError=f=>{a=!0,l(f)};const{code:d}=_d(e,t),s=new Function(`return ${d}`)();return a?s:kr[r]=s}}let ja=A.__EXTEND_POINT__;const Ut=()=>++ja,be={INVALID_ARGUMENT:ja,INVALID_DATE_ARGUMENT:Ut(),INVALID_ISO_DATE_ARGUMENT:Ut(),__EXTEND_POINT__:Ut()};function He(e){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:au}:void 0)}const au={[be.INVALID_ARGUMENT]:"Invalid arguments",[be.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[be.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},Dr=()=>"",he=e=>Y(e);function Rr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:l,messages:d}=e,[s,f]=$n(...t),h=B(f.missingWarn)?f.missingWarn:e.missingWarn,g=B(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,$=B(f.escapeParameter)?f.escapeParameter:e.escapeParameter,N=!!f.resolvedMessage,I=P(f.default)||B(f.default)?B(f.default)?a?s:()=>s:f.default:n?a?s:()=>s:"",O=n||I!=="",L=P(f.locale)?f.locale:e.locale;$&&iu(f);let[m,y,E]=N?[s,L,d[L]||{}]:Ga(e,s,L,l,g,h),b=m,p=s;if(!N&&!(P(b)||he(b))&&O&&(b=I,p=b),!N&&(!(P(b)||he(b))||!P(y)))return o?wt:s;if(process.env.NODE_ENV!=="production"&&P(b)&&e.messageCompiler==null)return ft(`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 '${s}'.`),s;let S=!1;const T=()=>{S=!0},F=he(b)?b:Ha(e,s,y,b,p,T);if(S)return b;const R=su(e,y,E,f),x=Fd(R),H=ou(e,F,x),j=r?r(H,s):H;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(s)?s:he(b)?b.key:"",locale:y||(he(b)?b.locale:""),format:P(b)?b:he(b)?b.source:"",message:j};K.meta=q({},e.__meta,zd()||{}),xd(K)}return j}function iu(e){G(e.list)?e.list=e.list.map(t=>P(t)?Er(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=Er(e.named[t]))})}function Ga(e,t,n,r,o,a){const{messages:l,onWarn:d,messageResolver:s,localeFallbacker:f}=e,h=f(e,r,n);let g={},$,N=null,I=n,O=null;const L="translate";for(let m=0;m<h.length;m++){if($=O=h[m],process.env.NODE_ENV!=="production"&&n!==$&&Pt(o,t)&&d(Ye(se.FALLBACK_TO_TRANSLATE,{key:t,target:$})),process.env.NODE_ENV!=="production"&&n!==$){const S=e.__v_emitter;S&&S.emit("fallback",{type:L,key:t,from:I,to:O,groupId:`${L}:${t}`})}g=l[$]||{};let y=null,E,b;if(process.env.NODE_ENV!=="production"&&we&&(y=window.performance.now(),E="intlify-message-resolve-start",b="intlify-message-resolve-end",de&&de(E)),(N=s(g,t))===null&&(N=g[t]),process.env.NODE_ENV!=="production"&&we){const S=window.performance.now(),T=e.__v_emitter;T&&y&&N&&T.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:S-y,groupId:`${L}:${t}`}),E&&b&&de&&Fe&&(de(b),Fe("intlify message resolve",E,b))}if(P(N)||Y(N))break;const p=In(e,t,$,a,L);p!==t&&(N=p),I=O}return[N,$,g]}function Ha(e,t,n,r,o,a){const{messageCompiler:l,warnHtmlMessage:d}=e;if(he(r)){const $=r;return $.locale=$.locale||n,$.key=$.key||t,$}if(l==null){const $=()=>r;return $.locale=n,$.key=t,$}let s=null,f,h;process.env.NODE_ENV!=="production"&&we&&(s=window.performance.now(),f="intlify-message-compilation-start",h="intlify-message-compilation-end",de&&de(f));const g=l(r,lu(e,n,o,r,d,a));if(process.env.NODE_ENV!=="production"&&we){const $=window.performance.now(),N=e.__v_emitter;N&&s&&N.emit("message-compilation",{type:"message-compilation",message:r,time:$-s,groupId:`translate:${t}`}),f&&h&&de&&Fe&&(de(h),Fe("intlify message compilation",f,h))}return g.locale=n,g.key=t,g.source=r,g}function ou(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&we&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",de&&de(o));const l=t(n);if(process.env.NODE_ENV!=="production"&&we){const d=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:l,time:d-r,groupId:`translate:${t.key}`}),o&&a&&de&&Fe&&(de(a),Fe("intlify message evaluation",o,a))}return l}function $n(...e){const[t,n,r]=e,o={};if(!P(t)&&!J(t)&&!he(t))throw He(be.INVALID_ARGUMENT);const a=J(t)?String(t):(he(t),t);return J(n)?o.plural=n:P(n)?o.default=n:D(n)&&!St(n)?o.named=n:G(n)&&(o.list=n),J(r)?o.plural=r:P(r)?o.default=r:D(r)&&q(o,r),[a,o]}function lu(e,t,n,r,o,a){return{warnHtmlMessage:o,onError:l=>{if(a&&a(l),process.env.NODE_ENV!=="production"){const d=`Message compilation error: ${l.message}`,s=l.location&&Js(r,l.location.start.offset,l.location.end.offset),f=e.__v_emitter;f&&f.emit("compile-error",{message:r,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${d}
32
+ ${s}`:d)}else throw l},onCacheKey:l=>Ks(t,n,l)}}function su(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:l,fallbackLocale:d,fallbackWarn:s,missingWarn:f,fallbackContext:h}=e,$={locale:t,modifiers:o,pluralRules:a,messages:N=>{let I=l(n,N);if(I==null&&h){const[,,O]=Ga(h,N,t,d,s,f);I=l(O,N)}if(P(I)){let O=!1;const m=Ha(e,N,t,I,N,()=>{O=!0});return O?Dr:m}else return he(I)?I:Dr}};return e.processor&&($.processor=e.processor),r.list&&($.list=r.list),r.named&&($.named=r.named),J(r.plural)&&($.pluralIndex=r.plural),$}const Fr=typeof Intl<"u",Wa={dateTimeFormat:Fr&&typeof Intl.DateTimeFormat<"u",numberFormat:Fr&&typeof Intl.NumberFormat<"u"};function Mr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Wa.dateTimeFormat)return a(Ye(se.CANNOT_FORMAT_DATE)),bt;const[s,f,h,g]=pn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,o,O);if(!P(s)||s==="")return new Intl.DateTimeFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="datetime format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_DATE_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.DateTimeFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Ka=["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 l={},d;if(P(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw He(be.INVALID_ISO_DATE_ARGUMENT);const f=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();d=new Date(f);try{d.toISOString()}catch{throw He(be.INVALID_ISO_DATE_ARGUMENT)}}else if(Xs(t)){if(isNaN(t.getTime()))throw He(be.INVALID_DATE_ARGUMENT);d=t}else if(J(t))d=t;else throw He(be.INVALID_ARGUMENT);return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Ka.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(o)&&(l=o),[a.key||"",d,a,l]}function Vr(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function xr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Wa.numberFormat)return a(Ye(se.CANNOT_FORMAT_NUMBER)),bt;const[s,f,h,g]=mn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,o,O);if(!P(s)||s==="")return new Intl.NumberFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="number format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.NumberFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Ya=["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 l={};if(!J(t))throw He(be.INVALID_ARGUMENT);const d=t;return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Ya.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(o)&&(l=o),[a.key||"",d,a,l]}function Br(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
33
33
  * vue-i18n v9.2.2
34
34
  * (c) 2022 kazuya kawaguchi
35
35
  * Released under the MIT License.
36
- */const du="9.2.2";function uu(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,lt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,lt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Ya=se.__EXTEND_POINT__;const Ue=()=>++Ya,ye={FALLBACK_TO_ROOT:Ya,NOT_SUPPORTED_PRESERVE:Ue(),NOT_SUPPORTED_FORMATTER:Ue(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ue(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ue(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ue(),NOT_FOUND_PARENT_SCOPE:Ue()},cu={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Xa(e,...t){return Ct(cu[e],...t)}let qa=A.__EXTEND_POINT__;const ie=()=>++qa,U={UNEXPECTED_RETURN_TYPE:qa,INVALID_ARGUMENT:ie(),MUST_BE_CALL_SETUP_TOP:ie(),NOT_INSLALLED:ie(),NOT_AVAILABLE_IN_LEGACY_MODE:ie(),REQUIRED_VALUE:ie(),INVALID_VALUE:ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ie(),NOT_INSLALLED_WITH_PROVIDE:ie(),UNEXPECTED_ERROR:ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ie(),BRIDGE_SUPPORT_VUE_2_ONLY:ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ie(),__EXTEND_POINT__:ie()};function Ee(e,...t){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:fu,args:t}:void 0)}const fu={[U.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[U.INVALID_ARGUMENT]:"Invalid argument",[U.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[U.NOT_INSLALLED]:"Need to install with `app.use` function",[U.UNEXPECTED_ERROR]:"Unexpected error",[U.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[U.REQUIRED_VALUE]:"Required in value: {0}",[U.INVALID_VALUE]:"Invalid value",[U.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[U.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[U.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[U.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[U.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",[U.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=Oe("__transrateVNode"),gn=Oe("__datetimeParts"),vn=Oe("__numberParts"),yn=Oe("__enableEmitter"),_n=Oe("__disableEmitter"),$u=Oe("__setPluralRules");Oe("__intlifyMeta");const za=Oe("__injectWithOption");function bn(e){if(!V(e))return e;for(const t in e)if(wn(e,t))if(!t.includes("."))V(e[t])&&bn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let a=0;a<r;a++)n[a]in i||(i[n[a]]={}),i=i[n[a]];i[n[r]]=e[t],delete e[t],V(i[n[r]])&&bn(i[n[r]])}return e}function An(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,l=D(n)?n:G(r)?{}:{[e]:{}};if(G(r)&&r.forEach(d=>{if("locale"in d&&"resource"in d){const{locale:s,resource:f}=d;s?(l[s]=l[s]||{},st(f,l[s])):st(f,l)}else P(d)&&st(JSON.parse(d),l)}),i==null&&a)for(const d in l)wn(l,d)&&bn(l[d]);return l}const pt=e=>!V(e)||G(e);function st(e,t){if(pt(e)||pt(t))throw Ee(U.INVALID_VALUE);for(const n in e)wn(e,n)&&(pt(e[n])||pt(t[n])?t[n]=e[n]:st(e[n],t[n]))}function Ja(e){return e.type}function pu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=An(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(V(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(V(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Br(e){return o.createVNode(o.Text,null,e,0)}const Ur="__INTLIFY_META__";let jr=0;function Gr(e){return(t,n,r,i)=>e(n,r,o.getCurrentInstance()||void 0,i)}const mu=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=Ja(e)[Ur])?{[Ur]:t}:null};function hu(e={},t){const{__root:n}=e,r=n===void 0;let i=B(e.inheritLocale)?e.inheritLocale:!0;const a=o.ref(n&&i?n.locale.value:P(e.locale)?e.locale:Lt),l=o.ref(n&&i?n.fallbackLocale.value:P(e.fallbackLocale)||G(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),d=o.ref(An(a.value,e)),s=o.ref(D(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=o.ref(D(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=n?n.missingWarn:B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:B(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,I=Y(e.missing)?e.missing:null,O=Y(e.missing)?Gr(e.missing):null,L=Y(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const E=n?n.modifiers:D(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,p;p=(()=>{r&&Pr(null);const _={version:du,locale:a.value,fallbackLocale:l.value,messages:d.value,modifiers:E,pluralRules:b,missing:O===null?void 0:O,missingWarn:h,fallbackWarn:g,fallbackFormat:N,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:m,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};_.datetimeFormats=s.value,_.numberFormats=f.value,_.__datetimeFormatters=D(p)?p.__datetimeFormatters:void 0,_.__numberFormatters=D(p)?p.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=D(p)?p.__v_emitter:void 0);const C=Zd(_);return r&&Pr(C),C})(),ot(p,a.value,l.value);function T(){return[a.value,l.value,d.value,s.value,f.value]}const F=o.computed({get:()=>a.value,set:_=>{a.value=_,p.locale=a.value}}),R=o.computed({get:()=>l.value,set:_=>{l.value=_,p.fallbackLocale=l.value,ot(p,a.value,_)}}),x=o.computed(()=>d.value),H=o.computed(()=>s.value),j=o.computed(()=>f.value);function K(){return Y(L)?L:null}function ne(_){L=_,p.postTranslation=_}function Pe(){return I}function re(_){_!==null&&(O=Gr(_)),I=_,p.missing=O}function Ve(_,C){return _!=="translate"||!C.resolvedMessage}const $e=(_,C,ae,Z,Ft,$t)=>{T();let xe;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{Lr(mu()),r||(p.fallbackContext=n?Jd():void 0),xe=_(p)}finally{Lr(null),r||(p.fallbackContext=void 0)}else xe=_(p);if(J(xe)&&xe===wt){const[Re,Pi]=C();if(process.env.NODE_ENV!=="production"&&n&&P(Re)&&Ve(ae,Pi)&&($&&(Pt(g,Re)||Ba(h,Re))&&ft(Xa(ye.FALLBACK_TO_ROOT,{key:Re,type:ae})),process.env.NODE_ENV!=="production")){const{__v_emitter:jn}=p;jn&&$&&jn.emit("fallback",{type:ae,key:Re,to:"global",groupId:`${ae}:${Re}`})}return n&&$?Z(n):Ft(Re)}else{if($t(xe))return xe;throw Ee(U.UNEXPECTED_RETURN_TYPE)}};function Ie(..._){return $e(C=>Reflect.apply(Dr,null,[C,..._]),()=>$n(..._),"translate",C=>Reflect.apply(C.t,C,[..._]),C=>C,C=>P(C))}function Je(..._){const[C,ae,Z]=_;if(Z&&!V(Z))throw Ee(U.INVALID_ARGUMENT);return Ie(C,ae,q({resolvedMessage:!0},Z||{}))}function Ze(..._){return $e(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>Reflect.apply(C.d,C,[..._]),()=>bt,C=>P(C))}function Qe(..._){return $e(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>Reflect.apply(C.n,C,[..._]),()=>bt,C=>P(C))}function et(_){return _.map(C=>P(C)||J(C)||B(C)?Br(String(C)):C)}const nt={normalize:et,interpolate:_=>_,type:"vnode"};function rt(..._){return $e(C=>{let ae;const Z=C;try{Z.processor=nt,ae=Reflect.apply(Dr,null,[Z,..._])}finally{Z.processor=null}return ae},()=>$n(..._),"translate",C=>C[hn](..._),C=>[Br(C)],C=>G(C))}function at(..._){return $e(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>C[vn](..._),()=>[],C=>P(C)||G(C))}function Ae(..._){return $e(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>C[gn](..._),()=>[],C=>P(C)||G(C))}function ke(_){b=_,p.pluralRules=b}function Ce(_,C){const ae=P(C)?C:a.value,Z=c(ae);return p.messageResolver(Z,_)!==null}function De(_){let C=null;const ae=Da(p,l.value,a.value);for(let Z=0;Z<ae.length;Z++){const Ft=d.value[ae[Z]]||{},$t=p.messageResolver(Ft,_);if($t!=null){C=$t;break}}return C}function it(_){const C=De(_);return C??(n?n.tm(_)||{}:{})}function c(_){return d.value[_]||{}}function u(_,C){d.value[_]=C,p.messages=d.value}function v(_,C){d.value[_]=d.value[_]||{},st(C,d.value[_]),p.messages=d.value}function w(_){return s.value[_]||{}}function k(_,C){s.value[_]=C,p.datetimeFormats=s.value,Mr(p,_,C)}function M(_,C){s.value[_]=q(s.value[_]||{},C),p.datetimeFormats=s.value,Mr(p,_,C)}function pe(_){return f.value[_]||{}}function ge(_,C){f.value[_]=C,p.numberFormats=f.value,xr(p,_,C)}function Li(_,C){f.value[_]=q(f.value[_]||{},C),p.numberFormats=f.value,xr(p,_,C)}jr++,n&&we&&(o.watch(n.locale,_=>{i&&(a.value=_,p.locale=_,ot(p,a.value,l.value))}),o.watch(n.fallbackLocale,_=>{i&&(l.value=_,p.fallbackLocale=_,ot(p,a.value,l.value))}));const W={id:jr,locale:F,fallbackLocale:R,get inheritLocale(){return i},set inheritLocale(_){i=_,_&&n&&(a.value=n.locale.value,l.value=n.fallbackLocale.value,ot(p,a.value,l.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:x,get modifiers(){return E},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(_){h=_,p.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(_){g=_,p.fallbackWarn=g},get fallbackRoot(){return $},set fallbackRoot(_){$=_},get fallbackFormat(){return N},set fallbackFormat(_){N=_,p.fallbackFormat=N},get warnHtmlMessage(){return m},set warnHtmlMessage(_){m=_,p.warnHtmlMessage=_},get escapeParameter(){return y},set escapeParameter(_){y=_,p.escapeParameter=_},t:Ie,getLocaleMessage:c,setLocaleMessage:u,mergeLocaleMessage:v,getPostTranslationHandler:K,setPostTranslationHandler:ne,getMissingHandler:Pe,setMissingHandler:re,[$u]:ke};return W.datetimeFormats=H,W.numberFormats=j,W.rt=Je,W.te=Ce,W.tm=it,W.d=Ze,W.n=Qe,W.getDateTimeFormat=w,W.setDateTimeFormat=k,W.mergeDateTimeFormat=M,W.getNumberFormat=pe,W.setNumberFormat=ge,W.mergeNumberFormat=Li,W[za]=e.__injectWithOption,W[hn]=rt,W[gn]=Ae,W[vn]=at,process.env.NODE_ENV!=="production"&&(W[yn]=_=>{p.__v_emitter=_},W[_n]=()=>{p.__v_emitter=void 0}),W}const kn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function gu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...G(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Za(e){return o.Fragment}q({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},kn);function vu(e){return G(e)&&!P(e[0])}function Qa(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const l={part:!0};let d={};e.locale&&(l.locale=e.locale),P(e.format)?l.key=e.format:V(e.format)&&(P(e.format.key)&&(l.key=e.format.key),d=Object.keys(e.format).reduce(($,N)=>n.includes(N)?q({},$,{[N]:e.format[N]}):$,{}));const s=r(e.value,l,d);let f=[l.key];G(s)?f=s.map(($,N)=>{const I=i[$.type],O=I?I({[$.type]:$.value,index:N,parts:s}):[$.value];return vu(O)&&(O[0].key=`${$.type}-${N}`),O}):P(s)&&(f=[s]);const h=q({},a),g=P(e.tag)||V(e.tag)?e.tag:Za();return o.h(g,h,f)}}q({value:{type:Number,required:!0},format:{type:[String,Object]}},kn);q({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},kn);function Hr(e,t){}const yu=Oe("global-vue-i18n");function It(e={}){const t=o.getCurrentInstance();if(t==null)throw Ee(U.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ee(U.NOT_INSLALLED);const n=_u(t),r=Eu(n),i=Ja(t),a=bu(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ee(U.NOT_AVAILABLE_IN_LEGACY_MODE);return Cu(t,a,r,e)}if(a==="global")return pu(r,e,i),r;if(a==="parent"){let s=Nu(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&ft(Xa(ye.NOT_FOUND_PARENT_SCOPE)),s=r),s}const l=n;let d=l.__getInstance(t);if(d==null){const s=q({},e);"__i18n"in i&&(s.__i18n=i.__i18n),r&&(s.__root=r),d=hu(s),Ou(l,t,d),l.__setInstance(t,d)}return d}function _u(e){{const t=o.inject(e.isCE?yu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ee(e.isCE?U.NOT_INSLALLED_WITH_PROVIDE:U.UNEXPECTED_ERROR);return t}}function bu(e,t){return St(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Eu(e){return e.mode==="composition"?e.global:e.global.__composer}function Nu(e,t,n=!1){let r=null;const i=t.root;let a=t.parent;for(;a!=null;){const l=e;if(e.mode==="composition")r=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const d=l.__getInstance(a);d!=null&&(r=d.__composer,n&&r&&!r[za]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function Ou(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Zs();const i=n;i[yn]&&i[yn](r),r.on("*",Hr)}},t),o.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",Hr);const i=n;i[_n]&&i[_n](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}function Cu(e,t,n,r={}){const i=t==="local",a=o.shallowRef(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ee(U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=B(r.inheritLocale)?r.inheritLocale:!0,d=o.ref(i&&l?n.locale.value:P(r.locale)?r.locale:Lt),s=o.ref(i&&l?n.fallbackLocale.value:P(r.fallbackLocale)||G(r.fallbackLocale)||D(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:d.value),f=o.ref(An(d.value,r)),h=o.ref(D(r.datetimeFormats)?r.datetimeFormats:{[d.value]:{}}),g=o.ref(D(r.numberFormats)?r.numberFormats:{[d.value]:{}}),$=i?n.missingWarn:B(r.missingWarn)||We(r.missingWarn)?r.missingWarn:!0,N=i?n.fallbackWarn:B(r.fallbackWarn)||We(r.fallbackWarn)?r.fallbackWarn:!0,I=i?n.fallbackRoot:B(r.fallbackRoot)?r.fallbackRoot:!0,O=!!r.fallbackFormat,L=Y(r.missing)?r.missing:null,m=Y(r.postTranslation)?r.postTranslation:null,y=i?n.warnHtmlMessage:B(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,b=i?n.modifiers:D(r.modifiers)?r.modifiers:{},p=r.pluralRules||i&&n.pluralRules;function S(){return[d.value,s.value,f.value,h.value,g.value]}const T=o.computed({get:()=>a.value?a.value.locale.value:d.value,set:u=>{a.value&&(a.value.locale.value=u),d.value=u}}),F=o.computed({get:()=>a.value?a.value.fallbackLocale.value:s.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),s.value=u}}),R=o.computed(()=>a.value?a.value.messages.value:f.value),x=o.computed(()=>h.value),H=o.computed(()=>g.value);function j(){return a.value?a.value.getPostTranslationHandler():m}function K(u){a.value&&a.value.setPostTranslationHandler(u)}function ne(){return a.value?a.value.getMissingHandler():L}function Pe(u){a.value&&a.value.setMissingHandler(u)}function re(u){return S(),u()}function Ve(...u){return a.value?re(()=>Reflect.apply(a.value.t,null,[...u])):re(()=>"")}function $e(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function Ie(...u){return a.value?re(()=>Reflect.apply(a.value.d,null,[...u])):re(()=>"")}function Je(...u){return a.value?re(()=>Reflect.apply(a.value.n,null,[...u])):re(()=>"")}function Ze(u){return a.value?a.value.tm(u):{}}function Qe(u,v){return a.value?a.value.te(u,v):!1}function et(u){return a.value?a.value.getLocaleMessage(u):{}}function tt(u,v){a.value&&(a.value.setLocaleMessage(u,v),f.value[u]=v)}function nt(u,v){a.value&&a.value.mergeLocaleMessage(u,v)}function rt(u){return a.value?a.value.getDateTimeFormat(u):{}}function at(u,v){a.value&&(a.value.setDateTimeFormat(u,v),h.value[u]=v)}function Ae(u,v){a.value&&a.value.mergeDateTimeFormat(u,v)}function ke(u){return a.value?a.value.getNumberFormat(u):{}}function Ce(u,v){a.value&&(a.value.setNumberFormat(u,v),g.value[u]=v)}function De(u,v){a.value&&a.value.mergeNumberFormat(u,v)}const it={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:F,messages:R,datetimeFormats:x,numberFormats:H,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(f.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:p},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:$},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:N},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:I},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:O},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:E},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:Ve,getPostTranslationHandler:j,setPostTranslationHandler:K,getMissingHandler:ne,setMissingHandler:Pe,rt:$e,d:Ie,n:Je,tm:Ze,te:Qe,getLocaleMessage:et,setLocaleMessage:tt,mergeLocaleMessage:nt,getDateTimeFormat:rt,setDateTimeFormat:at,mergeDateTimeFormat:Ae,getNumberFormat:ke,setNumberFormat:Ce,mergeNumberFormat:De};function c(u){u.locale.value=d.value,u.fallbackLocale.value=s.value,Object.keys(f.value).forEach(v=>{u.mergeLocaleMessage(v,f.value[v])}),Object.keys(h.value).forEach(v=>{u.mergeDateTimeFormat(v,h.value[v])}),Object.keys(g.value).forEach(v=>{u.mergeNumberFormat(v,g.value[v])}),u.escapeParameter=E,u.fallbackFormat=O,u.fallbackRoot=I,u.fallbackWarn=N,u.missingWarn=$,u.warnHtmlMessage=y}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ee(U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(d.value=u.locale.value,s.value=u.fallbackLocale.value,f.value=u.messages.value,h.value=u.datetimeFormats.value,g.value=u.numberFormats.value):i&&c(u)}),it}Yd(ru);Xd(wd);qd(Da);uu();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=lt();e.__INTLIFY__=!0,Md(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Su={},Tu={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wu=o.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),Lu=o.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),Pu=[wu,Lu];function Iu(e,t){return o.openBlock(),o.createElementBlock("svg",Tu,Pu)}const Au=ue(Su,[["render",Iu]]);const ku={key:"popup-content",class:"pd-small popup-wrapper"},ei={__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 o.watch(()=>n.isPopupOpen,a=>{a?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Gs(),js(),It({messages:{en:{},ru:{}}}),(a,l)=>e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[o.createVNode(o.Transition,{name:"TransitionTranslateY",appear:""},{default:o.withCtx(()=>[e.isPopupOpen?(o.openBlock(),o.createElementBlock("div",ku,[o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[e.isPopupOpen?(o.openBlock(),o.createElementBlock("section",o.mergeProps({key:0,class:"pos-relative z-index-4"},a.$attrs),[o.createElementVNode("button",{onClick:l[0]||(l[0]=d=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[o.createVNode(Au)]),o.renderSlot(a.$slots,"default")],16)):o.createCommentVNode("",!0)]),_:3}),o.createElementVNode("div",{onClick:l[1]||(l[1]=d=>r()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):o.createCommentVNode("",!0)]),_:3})])):o.createCommentVNode("",!0)}},Du=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),Ru={class:"flex-v-center flex-nowrap flex"},Fu={key:0,class:"mn-r-auto t-transp mn-r-small"},Mu=["name","value","checked"],Vu={key:1,class:""},xu=o.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("g",{id:"24 / basic / check-mark"},[o.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),Bu=[xu],ti={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){return(n,r)=>(o.openBlock(),o.createElementBlock("label",Ru,[e.label?(o.openBlock(),o.createElementBlock("div",Fu,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:r[0]||(r[0]=i=>n.text=t("update:radio",i.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,Mu),e.radio===e.value?(o.openBlock(),o.createElementBlock("div",Vu,Bu)):o.createCommentVNode("",!0)]))}},Uu=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"}));const ju=["onClick"],Gu={key:0,class:"t-transp mn-r-small"},Hu={class:"w-100"},Wu=["onClick"],Ku={key:0,class:"w-100"},Yu={key:0,class:"mn-t-thin invalid-feedback"},Xu={__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=o.ref(n.select),i=o.ref(!1);o.watch(()=>n.select,s=>{r.value=s});const a=o.computed(()=>n.select?n.options.filter(s=>s!==n.select):n.options),l=()=>{i.value=!i.value,t(i.value?"focus":"blur")},d=s=>{r.value=s,l(),t("update:select",r.value)};return(s,f)=>{var h;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{onClick:o.withModifiers(l,["stop"]),class:o.normalizeClass([s.$attrs.class,"cursor-pointer flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Gu,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",Hu,[o.createElementVNode("span",null,o.toDisplayString(((h=r.value)==null?void 0:h.name)||r.value||e.placeholder),1)]),o.createVNode(o.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:o.withCtx(()=>[i.value?(o.openBlock(),o.createElementBlock("ul",{key:0,class:o.normalizeClass([s.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),g=>(o.openBlock(),o.createElementBlock("li",{onClick:o.withModifiers($=>d(g),["stop"])},[g?(o.openBlock(),o.createElementBlock("span",Ku,o.toDisplayString(g.name||g),1)):o.createCommentVNode("",!0)],8,Wu))),256))],2)):o.createCommentVNode("",!0)]),_:1})],10,ju),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Yu," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},ni=ue(Xu,[["__scopeId","data-v-dfe03dc2"]]),qu=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"}));function jt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function zu(e){return(...t)=>!e(...t)}function Ju(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ri(e,t,n,r){return t?e.filter(i=>Ju(r(i,n),t)).sort((i,a)=>r(i,n).length-r(a,n).length):e}function Zu(e){return e.filter(t=>!t.$isLabel)}function Gt(e,t){return n=>n.reduce((r,i)=>i[e]&&i[e].length?(r.push({$groupLabel:i[t],$isLabel:!0}),r.concat(i[e])):r,[])}function Qu(e,t,n,r,i){return a=>a.map(l=>{if(!l[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const d=ri(l[n],e,t,i);return d.length?{[r]:l[r],[n]:d}:[]})}const Wr=(...e)=>t=>e.reduce((n,r)=>r(n),t),ec={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 jt(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):ri(n,t,this.label,this.customLabel):n=this.groupValues?Gt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(zu(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 Wr(Qu(t,n,this.groupValues,this.groupLabel,this.customLabel),Gt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Wr(Gt(this.groupValues,this.groupLabel),Zu)(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(jt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return jt(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))}}},tc={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:[ec,tc],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)}}},rc=["tabindex","aria-owns"],ac={ref:"tags",class:"multiselect__tags"},ic={class:"multiselect__tags-wrap"},oc=["textContent"],lc=["onKeypress","onMousedown"],sc=["textContent"],dc={class:"multiselect__spinner"},uc=["name","id","placeholder","value","disabled","tabindex","aria-controls"],cc=["id"],fc={key:0},$c={class:"multiselect__option"},pc=["id","role"],mc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],hc=["data-select","data-deselect","onMouseenter","onMousedown"],gc={class:"multiselect__option"},vc={class:"multiselect__option"};function yc(e,t,n,r,i,a){return o.openBlock(),o.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:o.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]=l=>e.activate()),onBlur:t[14]||(t[14]=l=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(l=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[o.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[o.createElementVNode("div",{onMousedown:t[0]||(t[0]=o.withModifiers(l=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",ac,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",ic,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.visibleValues,(l,d)=>o.renderSlot(e.$slots,"tag",{option:l,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:d},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(l))},null,8,oc),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(s=>e.removeElement(l),["prevent"]),["enter"]),onMousedown:o.withModifiers(s=>e.removeElement(l),["prevent"]),class:"multiselect__tag-icon"},null,40,lc)]))])),256))],512),[[o.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?o.renderSlot(e.$slots,"limit",{key:0},()=>[o.createElementVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,sc)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",dc,null,512),[[o.vShow,n.loading]])])]),_:3}),e.searchable?(o.openBlock(),o.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:o.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=l=>e.updateSearch(l.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(l=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(l=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(l=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(l=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,uc)):o.createCommentVNode("",!0),a.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[o.createTextVNode(o.toDisplayString(e.currentOptionLabel),1)])],32)):o.createCommentVNode("",!0),a.isPlaceholderVisible?(o.openBlock(),o.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(e.placeholder),1)])],32)):o.createCommentVNode("",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...l)=>e.activate&&e.activate(...l)),tabindex:"-1",onMousedown:t[12]||(t[12]=o.withModifiers(()=>{},["prevent"])),style:o.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[o.createElementVNode("ul",{class:"multiselect__content",style:o.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[o.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(o.openBlock(),o.createElementBlock("li",fc,[o.createElementVNode("span",$c,[o.renderSlot(e.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(e.filteredOptions,(l,d)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:d,id:e.id+"-"+d,role:l&&(l.$isLabel||l.$isDisabled)?null:"option"},[l&&(l.$isLabel||l.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(d,l),"multiselect__option"]),onClick:o.withModifiers(s=>e.select(l),["stop"]),onMouseenter:o.withModifiers(s=>e.pointerSet(d),["self"]),"data-select":l&&l.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,mc)),l&&(l.$isLabel||l.$isDisabled)?(o.openBlock(),o.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:o.normalizeClass([e.groupHighlight(d,l),"multiselect__option"]),onMouseenter:o.withModifiers(s=>e.groupSelect&&e.pointerSet(d),["self"]),onMousedown:o.withModifiers(s=>e.selectGroup(l),["prevent"])},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,hc)):o.createCommentVNode("",!0)],8,pc))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",gc,[o.renderSlot(e.$slots,"noResult",{search:e.search},()=>[o.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[o.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",vc,[o.renderSlot(e.$slots,"noOptions",{},()=>[o.createTextVNode("List is empty.")])])],512),[[o.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),o.renderSlot(e.$slots,"afterList")],12,cc)],38),[[o.vShow,e.isOpen]])]),_:3})],42,rc)}const ai=ue(nc,[["render",yc]]),_c=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));const bc={key:0,class:"spoiler"},ii={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1);return t.status&&(n.value=t.status),(r,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:i[0]||(i[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header")]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",bc,[o.renderSlot(r.$slots,"content")])):o.createCommentVNode("",!0)]),_:3})]))}},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"}));const Nc={class:""},Oc={class:"flex-nowrap flex-v-center flex"},Cc=["onClick"],oi={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=o.ref(0);if(n.selected){const s=n.tabs.findIndex(f=>f.value===n.selected);s!==-1&&(r.value=s)}function i(s,f){r.value=s,t("update:selected",f.value),n.callback&&n.callback()}function a(s){return`${100/n.tabs.length*s}%`}function l(){return`${100/n.tabs.length}%`}const d=o.computed(()=>({left:a(r.value),width:l()}));return(s,f)=>(o.openBlock(),o.createElementBlock("div",Nc,[o.createElementVNode("div",Oc,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(h,g)=>(o.openBlock(),o.createElementBlock("div",{key:g,onClick:$=>i(g,h),class:o.normalizeClass([{"t-transp":g!==r.value},"z-index-1 t-center pd-small w-100"])},[o.createElementVNode("label",null,o.toDisplayString(h.name),1)],10,Cc))),128)),o.createElementVNode("div",{style:o.normalizeStyle(o.unref(d)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},Sc=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"}));const Tc={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.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 i(){t.value=!1,n.display="none"}return(a,l)=>(o.openBlock(),o.createElementBlock("div",{class:"tooltip-container",onMouseover:r,onMouseleave:i},[o.renderSlot(a.$slots,"default",{},void 0,!0),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},li=ue(Tc,[["__scopeId","data-v-b0efe407"]]),wc=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),Lc={key:0,class:"cursor-pointer t-second"},si={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1),r=o.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),i=o.computed(()=>t.text),a=()=>{n.value=!n.value},l=o.computed(()=>n.value?i.value:r.value),d=o.computed(()=>t.text.length>t.maxLen),s=o.computed(()=>n.value?"Hide":"Show more");return(f,h)=>(o.openBlock(),o.createElementBlock("span",{onClick:a,class:""},[o.createTextVNode(o.toDisplayString(o.unref(l))+" ",1),o.unref(d)&&e.showToggleText?(o.openBlock(),o.createElementBlock("span",Lc,o.toDisplayString(o.unref(s)),1)):o.createCommentVNode("",!0)]))}},Pc=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"}));const Ic={key:0,class:"t-transp mn-r-small"},Ac={class:"w-100"},kc=["placeholder","multiple"],Dc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},Rc={__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=>{if(n.multiple){const a=Array.from(i.target.files);t("file-change",{files:a})}else{const a=i.target.files[0];t("file-change",{file:a})}};return(i,a)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[i.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Ic,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",Ac,[o.createElementVNode("input",{onChange:r,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,kc)])],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Dc," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},di=ue(Rc,[["__scopeId","data-v-25c75f91"]]),Fc=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"}));function Mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},ui=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},Vc=ui,Rn=Object.prototype.toString,Fn=function(e){return function(t){var n=Rn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Me(e){return e=e.toLowerCase(),function(n){return Fn(n)===e}}function Mn(e){return Array.isArray(e)}function Et(e){return typeof e>"u"}function xc(e){return e!==null&&!Et(e)&&e.constructor!==null&&!Et(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ci=Me("ArrayBuffer");function Bc(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ci(e.buffer),t}function Uc(e){return typeof e=="string"}function jc(e){return typeof e=="number"}function fi(e){return e!==null&&typeof e=="object"}function ht(e){if(Fn(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var Gc=Me("Date"),Hc=Me("File"),Wc=Me("Blob"),Kc=Me("FileList");function Vn(e){return Rn.call(e)==="[object Function]"}function Yc(e){return fi(e)&&Vn(e.pipe)}function Xc(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Rn.call(e)===t||Vn(e.toString)&&e.toString()===t)}var qc=Me("URLSearchParams");function zc(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Jc(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function xn(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Mn(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function En(){var e={};function t(i,a){ht(e[a])&&ht(i)?e[a]=En(e[a],i):ht(i)?e[a]=En({},i):Mn(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)xn(arguments[n],t);return e}function Zc(e,t,n){return xn(t,function(i,a){n&&typeof i=="function"?e[a]=Vc(i,n):e[a]=i}),e}function Qc(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function e0(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function t0(e,t,n){var r,i,a,l={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],l[a]||(t[a]=e[a],l[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function n0(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function r0(e){if(!e)return null;var t=e.length;if(Et(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var a0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),z={isArray:Mn,isArrayBuffer:ci,isBuffer:xc,isFormData:Xc,isArrayBufferView:Bc,isString:Uc,isNumber:jc,isObject:fi,isPlainObject:ht,isUndefined:Et,isDate:Gc,isFile:Hc,isBlob:Wc,isFunction:Vn,isStream:Yc,isURLSearchParams:qc,isStandardBrowserEnv:Jc,forEach:xn,merge:En,extend:Zc,trim:zc,stripBOM:Qc,inherits:e0,toFlatObject:t0,kindOf:Fn,kindOfTest:Me,endsWith:n0,toArray:r0,isTypedArray:a0,isFileList:Kc},je=z;function Kr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var $i=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(je.isURLSearchParams(n))i=n.toString();else{var a=[];je.forEach(n,function(s,f){s===null||typeof s>"u"||(je.isArray(s)?f=f+"[]":s=[s],je.forEach(s,function(g){je.isDate(g)?g=g.toISOString():je.isObject(g)&&(g=JSON.stringify(g)),a.push(Kr(f)+"="+Kr(g))}))}),i=a.join("&")}if(i){var l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},i0=z;function At(){this.handlers=[]}At.prototype.use=function(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};At.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};At.prototype.forEach=function(t){i0.forEach(this.handlers,function(r){r!==null&&t(r)})};var o0=At,l0=z,s0=function(t,n){l0.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},pi=z;function Xe(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}pi.inherits(Xe,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var mi=Xe.prototype,hi={};["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"].forEach(function(e){hi[e]={value:e}});Object.defineProperties(Xe,hi);Object.defineProperty(mi,"isAxiosError",{value:!0});Xe.from=function(e,t,n,r,i,a){var l=Object.create(mi);return pi.toFlatObject(e,l,function(s){return s!==Error.prototype}),Xe.call(l,e.message,t,n,r,i),l.name=e.name,a&&Object.assign(l,a),l};var ze=Xe,gi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce=z;function d0(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":ce.isDate(a)?a.toISOString():ce.isArrayBuffer(a)||ce.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,l){if(ce.isPlainObject(a)||ce.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+l);n.push(a),ce.forEach(a,function(s,f){if(!ce.isUndefined(s)){var h=l?l+"."+f:f,g;if(s&&!l&&typeof s=="object"){if(ce.endsWith(f,"{}"))s=JSON.stringify(s);else if(ce.endsWith(f,"[]")&&(g=ce.toArray(s))){g.forEach(function($){!ce.isUndefined($)&&t.append(h,r($))});return}}i(s,h)}}),n.pop()}else t.append(l,r(a))}return i(e),t}var vi=d0,Ht,Yr;function u0(){if(Yr)return Ht;Yr=1;var e=ze;return Ht=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Ht}var Wt,Xr;function c0(){if(Xr)return Wt;Xr=1;var e=z;return Wt=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,l,d,s){var f=[];f.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),e.isString(l)&&f.push("path="+l),e.isString(d)&&f.push("domain="+d),s===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Wt}var f0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},$0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},p0=f0,m0=$0,yi=function(t,n){return t&&!p0(n)?m0(t,n):n},Kt,qr;function h0(){if(qr)return Kt;qr=1;var e=z,t=["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"];return Kt=function(r){var i={},a,l,d;return r&&e.forEach(r.split(`
37
- `),function(f){if(d=f.indexOf(":"),a=e.trim(f.substr(0,d)).toLowerCase(),l=e.trim(f.substr(d+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([l]):i[a]=i[a]?i[a]+", "+l:l}}),i},Kt}var Yt,zr;function g0(){if(zr)return Yt;zr=1;var e=z;return Yt=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(l){var d=l;return n&&(r.setAttribute("href",d),d=r.href),r.setAttribute("href",d),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(d){var s=e.isString(d)?a(d):d;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),Yt}var Xt,Jr;function kt(){if(Jr)return Xt;Jr=1;var e=ze,t=z;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),Xt=n,Xt}var qt,Zr;function v0(){return Zr||(Zr=1,qt=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),qt}var zt,Qr;function ea(){if(Qr)return zt;Qr=1;var e=z,t=u0(),n=c0(),r=$i,i=yi,a=h0(),l=g0(),d=gi,s=ze,f=kt(),h=v0();return zt=function($){return new Promise(function(I,O){var L=$.data,m=$.headers,y=$.responseType,E;function b(){$.cancelToken&&$.cancelToken.unsubscribe(E),$.signal&&$.signal.removeEventListener("abort",E)}e.isFormData(L)&&e.isStandardBrowserEnv()&&delete m["Content-Type"];var p=new XMLHttpRequest;if($.auth){var S=$.auth.username||"",T=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";m.Authorization="Basic "+btoa(S+":"+T)}var F=i($.baseURL,$.url);p.open($.method.toUpperCase(),r(F,$.params,$.paramsSerializer),!0),p.timeout=$.timeout;function R(){if(p){var j="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,K=!y||y==="text"||y==="json"?p.responseText:p.response,ne={data:K,status:p.status,statusText:p.statusText,headers:j,config:$,request:p};t(function(re){I(re),b()},function(re){O(re),b()},ne),p=null}}if("onloadend"in p?p.onloadend=R:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(R)},p.onabort=function(){p&&(O(new s("Request aborted",s.ECONNABORTED,$,p)),p=null)},p.onerror=function(){O(new s("Network Error",s.ERR_NETWORK,$,p,p)),p=null},p.ontimeout=function(){var K=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded",ne=$.transitional||d;$.timeoutErrorMessage&&(K=$.timeoutErrorMessage),O(new s(K,ne.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,$,p)),p=null},e.isStandardBrowserEnv()){var x=($.withCredentials||l(F))&&$.xsrfCookieName?n.read($.xsrfCookieName):void 0;x&&(m[$.xsrfHeaderName]=x)}"setRequestHeader"in p&&e.forEach(m,function(K,ne){typeof L>"u"&&ne.toLowerCase()==="content-type"?delete m[ne]:p.setRequestHeader(ne,K)}),e.isUndefined($.withCredentials)||(p.withCredentials=!!$.withCredentials),y&&y!=="json"&&(p.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&p.addEventListener("progress",$.onDownloadProgress),typeof $.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",$.onUploadProgress),($.cancelToken||$.signal)&&(E=function(j){p&&(O(!j||j&&j.type?new f:j),p.abort(),p=null)},$.cancelToken&&$.cancelToken.subscribe(E),$.signal&&($.signal.aborted?E():$.signal.addEventListener("abort",E))),L||(L=null);var H=h(F);if(H&&["http","https","file"].indexOf(H)===-1){O(new s("Unsupported protocol "+H+":",s.ERR_BAD_REQUEST,$));return}p.send(L)})},zt}var Jt,ta;function y0(){return ta||(ta=1,Jt=null),Jt}var X=z,na=s0,ra=ze,_0=gi,b0=vi,E0={"Content-Type":"application/x-www-form-urlencoded"};function aa(e,t){!X.isUndefined(e)&&X.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function N0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ea()),e}function O0(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Dt={transitional:_0,adapter:N0(),transformRequest:[function(t,n){if(na(n,"Accept"),na(n,"Content-Type"),X.isFormData(t)||X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return aa(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=X.isObject(t),i=n&&n["Content-Type"],a;if((a=X.isFileList(t))||r&&i==="multipart/form-data"){var l=this.env&&this.env.FormData;return b0(a?{"files[]":t}:t,l&&new l)}else if(r||i==="application/json")return aa(n,"application/json"),O0(t);return t}],transformResponse:[function(t){var n=this.transitional||Dt.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&X.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ra.from(l,ra.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:y0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};X.forEach(["delete","get","head"],function(t){Dt.headers[t]={}});X.forEach(["post","put","patch"],function(t){Dt.headers[t]=X.merge(E0)});var Bn=Dt,C0=z,S0=Bn,T0=function(t,n,r){var i=this||S0;return C0.forEach(r,function(l){t=l.call(i,t,n)}),t},Zt,ia;function _i(){return ia||(ia=1,Zt=function(t){return!!(t&&t.__CANCEL__)}),Zt}var oa=z,Qt=T0,w0=_i(),L0=Bn,P0=kt();function en(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new P0}var I0=function(t){en(t),t.headers=t.headers||{},t.data=Qt.call(t,t.data,t.headers,t.transformRequest),t.headers=oa.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),oa.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||L0.adapter;return n(t).then(function(i){return en(t),i.data=Qt.call(t,i.data,i.headers,t.transformResponse),i},function(i){return w0(i)||(en(t),i&&i.response&&(i.response.data=Qt.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},le=z,bi=function(t,n){n=n||{};var r={};function i(h,g){return le.isPlainObject(h)&&le.isPlainObject(g)?le.merge(h,g):le.isPlainObject(g)?le.merge({},g):le.isArray(g)?g.slice():g}function a(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return i(void 0,t[h])}else return i(t[h],n[h])}function l(h){if(!le.isUndefined(n[h]))return i(void 0,n[h])}function d(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return i(void 0,t[h])}else return i(void 0,n[h])}function s(h){if(h in n)return i(t[h],n[h]);if(h in t)return i(void 0,t[h])}var f={url:l,method:l,data:l,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return le.forEach(Object.keys(t).concat(Object.keys(n)),function(g){var $=f[g]||a,N=$(g);le.isUndefined(N)&&$!==s||(r[g]=N)}),r},tn,la;function Ei(){return la||(la=1,tn={version:"0.27.2"}),tn}var A0=Ei().version,Te=ze,Un={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Un[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var sa={};Un.transitional=function(t,n,r){function i(a,l){return"[Axios v"+A0+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return function(a,l,d){if(t===!1)throw new Te(i(l," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!sa[l]&&(sa[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,d):!0}};function k0(e,t,n){if(typeof e!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],l=t[a];if(l){var d=e[a],s=d===void 0||l(d,a,e);if(s!==!0)throw new Te("option "+a+" must be "+s,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+a,Te.ERR_BAD_OPTION)}}var D0={assertOptions:k0,validators:Un},Ni=z,R0=$i,da=o0,ua=I0,Rt=bi,F0=yi,Oi=D0,Ge=Oi.validators;function qe(e){this.defaults=e,this.interceptors={request:new da,response:new da}}qe.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rt(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Oi.assertOptions(r,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(a=a&&N.synchronous,i.unshift(N.fulfilled,N.rejected))});var l=[];this.interceptors.response.forEach(function(N){l.push(N.fulfilled,N.rejected)});var d;if(!a){var s=[ua,void 0];for(Array.prototype.unshift.apply(s,i),s=s.concat(l),d=Promise.resolve(n);s.length;)d=d.then(s.shift(),s.shift());return d}for(var f=n;i.length;){var h=i.shift(),g=i.shift();try{f=h(f)}catch($){g($);break}}try{d=ua(f)}catch($){return Promise.reject($)}for(;l.length;)d=d.then(l.shift(),l.shift());return d};qe.prototype.getUri=function(t){t=Rt(this.defaults,t);var n=F0(t.baseURL,t.url);return R0(n,t.params,t.paramsSerializer)};Ni.forEach(["delete","get","head","options"],function(t){qe.prototype[t]=function(n,r){return this.request(Rt(r||{},{method:t,url:n,data:(r||{}).data}))}});Ni.forEach(["post","put","patch"],function(t){function n(r){return function(a,l,d){return this.request(Rt(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}qe.prototype[t]=n(),qe.prototype[t+"Form"]=n(!0)});var M0=qe,nn,ca;function V0(){if(ca)return nn;ca=1;var e=kt();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(l){r=l});var i=this;this.promise.then(function(a){if(i._listeners){var l,d=i._listeners.length;for(l=0;l<d;l++)i._listeners[l](a);i._listeners=null}}),this.promise.then=function(a){var l,d=new Promise(function(s){i.subscribe(s),l=s}).then(a);return d.cancel=function(){i.unsubscribe(l)},d},n(function(l){i.reason||(i.reason=new e(l),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(l){r=l});return{token:i,cancel:r}},nn=t,nn}var rn,fa;function x0(){return fa||(fa=1,rn=function(t){return function(r){return t.apply(null,r)}}),rn}var an,$a;function B0(){if($a)return an;$a=1;var e=z;return an=function(n){return e.isObject(n)&&n.isAxiosError===!0},an}var pa=z,U0=ui,gt=M0,j0=bi,G0=Bn;function Ci(e){var t=new gt(e),n=U0(gt.prototype.request,t);return pa.extend(n,gt.prototype,t),pa.extend(n,t),n.create=function(i){return Ci(j0(e,i))},n}var oe=Ci(G0);oe.Axios=gt;oe.CanceledError=kt();oe.CancelToken=V0();oe.isCancel=_i();oe.VERSION=Ei().version;oe.toFormData=vi;oe.AxiosError=ze;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=x0();oe.isAxiosError=B0();Dn.exports=oe;Dn.exports.default=oe;var H0=Dn.exports,W0=H0;const Si=Mc(W0),K0=["src"],Y0={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},X0=o.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.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),q0=[X0],Ti={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=e,r=o.ref(null),i=o.ref(null);o.watch(n,({photo:s})=>{s&&(r.value=s)});function a(){i.value.click()}async function l(s){let f=s.target.files[0],h=new FormData;h.append("file",f);try{let $=await Si.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}});r.value=$.data.filepath,t("update:photo",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[r.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,src:(s.FILE_SERVER_URL||"")+(r.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,K0)):(o.openBlock(),o.createElementBlock("div",Y0,q0)),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:i,onChange:l,style:{display:"none"}},null,544)],32))}},z0=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),J0=o.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),wi={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(e,{emit:t}){const n=e,r=o.ref([]),i=o.ref(null);function a(){i.value.click()}async function l(s){let f=s.target.files,h=new FormData;for(let g=0;g<f.length;g++)h.append("file",f[g]);try{(await Si.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(N=>{r.value.push(N.filepath)}),t("update:images",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[J0,o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:i,onChange:l,multiple:"",style:{display:"none"}},null,544)],32))}},Z0=Object.freeze(Object.defineProperty({__proto__:null,default:wi},Symbol.toStringTag,{value:"Module"})),Q0={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ri)),e.component("Button",()=>Promise.resolve().then(()=>Gi)),e.component("Checkbox",()=>Promise.resolve().then(()=>Xi)),e.component("Dropdown",()=>Promise.resolve().then(()=>zi)),e.component("Error",()=>Promise.resolve().then(()=>Qi)),e.component("Field",()=>Promise.resolve().then(()=>lo)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Is)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Ms)),e.component("Map",()=>Promise.resolve().then(()=>xs)),e.component("Popup",()=>Promise.resolve().then(()=>Du)),e.component("Radio",()=>Promise.resolve().then(()=>Uu)),e.component("Select",()=>Promise.resolve().then(()=>qu)),e.component("SelectMulti",()=>Promise.resolve().then(()=>_c)),e.component("Spoiler",()=>Promise.resolve().then(()=>Ec)),e.component("Tab",()=>Promise.resolve().then(()=>Sc)),e.component("Tooltip",()=>Promise.resolve().then(()=>wc)),e.component("Text",()=>Promise.resolve().then(()=>Pc)),e.component("Upload",()=>Promise.resolve().then(()=>Fc)),e.component("UploadImage",()=>Promise.resolve().then(()=>z0)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>Z0))}};exports.Address=ma;exports.Button=ha;exports.Checkbox=ga;exports.Dropdown=ya;exports.Error=_a;exports.Field=ba;exports.FieldPhone=La;exports.LocationMarker=Pa;exports.Map=Ia;exports.Popup=ei;exports.Radio=ti;exports.Select=ni;exports.SelectMulti=ai;exports.Spoiler=ii;exports.Tab=oi;exports.Text=si;exports.Tooltip=li;exports.Upload=di;exports.UploadImage=Ti;exports.UploadImageMultiple=wi;exports.default=Q0;
36
+ */const du="9.2.2";function uu(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,lt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,lt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Xa=se.__EXTEND_POINT__;const Ue=()=>++Xa,ye={FALLBACK_TO_ROOT:Xa,NOT_SUPPORTED_PRESERVE:Ue(),NOT_SUPPORTED_FORMATTER:Ue(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ue(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ue(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ue(),NOT_FOUND_PARENT_SCOPE:Ue()},cu={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function qa(e,...t){return Ct(cu[e],...t)}let za=A.__EXTEND_POINT__;const ie=()=>++za,U={UNEXPECTED_RETURN_TYPE:za,INVALID_ARGUMENT:ie(),MUST_BE_CALL_SETUP_TOP:ie(),NOT_INSLALLED:ie(),NOT_AVAILABLE_IN_LEGACY_MODE:ie(),REQUIRED_VALUE:ie(),INVALID_VALUE:ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ie(),NOT_INSLALLED_WITH_PROVIDE:ie(),UNEXPECTED_ERROR:ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ie(),BRIDGE_SUPPORT_VUE_2_ONLY:ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ie(),__EXTEND_POINT__:ie()};function Ee(e,...t){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:fu,args:t}:void 0)}const fu={[U.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[U.INVALID_ARGUMENT]:"Invalid argument",[U.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[U.NOT_INSLALLED]:"Need to install with `app.use` function",[U.UNEXPECTED_ERROR]:"Unexpected error",[U.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[U.REQUIRED_VALUE]:"Required in value: {0}",[U.INVALID_VALUE]:"Invalid value",[U.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[U.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[U.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[U.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[U.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",[U.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=Oe("__transrateVNode"),gn=Oe("__datetimeParts"),vn=Oe("__numberParts"),yn=Oe("__enableEmitter"),_n=Oe("__disableEmitter"),$u=Oe("__setPluralRules");Oe("__intlifyMeta");const Ja=Oe("__injectWithOption");function bn(e){if(!V(e))return e;for(const t in e)if(wn(e,t))if(!t.includes("."))V(e[t])&&bn(e[t]);else{const n=t.split("."),r=n.length-1;let o=e;for(let a=0;a<r;a++)n[a]in o||(o[n[a]]={}),o=o[n[a]];o[n[r]]=e[t],delete e[t],V(o[n[r]])&&bn(o[n[r]])}return e}function An(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,l=D(n)?n:G(r)?{}:{[e]:{}};if(G(r)&&r.forEach(d=>{if("locale"in d&&"resource"in d){const{locale:s,resource:f}=d;s?(l[s]=l[s]||{},st(f,l[s])):st(f,l)}else P(d)&&st(JSON.parse(d),l)}),o==null&&a)for(const d in l)wn(l,d)&&bn(l[d]);return l}const pt=e=>!V(e)||G(e);function st(e,t){if(pt(e)||pt(t))throw Ee(U.INVALID_VALUE);for(const n in e)wn(e,n)&&(pt(e[n])||pt(t[n])?t[n]=e[n]:st(e[n],t[n]))}function Za(e){return e.type}function pu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=An(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(V(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(V(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Ur(e){return i.createVNode(i.Text,null,e,0)}const jr="__INTLIFY_META__";let Gr=0;function Hr(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}const mu=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=Za(e)[jr])?{[jr]:t}:null};function hu(e={},t){const{__root:n}=e,r=n===void 0;let o=B(e.inheritLocale)?e.inheritLocale:!0;const a=i.ref(n&&o?n.locale.value:P(e.locale)?e.locale:Lt),l=i.ref(n&&o?n.fallbackLocale.value:P(e.fallbackLocale)||G(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),d=i.ref(An(a.value,e)),s=i.ref(D(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i.ref(D(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=n?n.missingWarn:B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:B(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,I=Y(e.missing)?e.missing:null,O=Y(e.missing)?Hr(e.missing):null,L=Y(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const E=n?n.modifiers:D(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,p;p=(()=>{r&&Ir(null);const _={version:du,locale:a.value,fallbackLocale:l.value,messages:d.value,modifiers:E,pluralRules:b,missing:O===null?void 0:O,missingWarn:h,fallbackWarn:g,fallbackFormat:N,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:m,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};_.datetimeFormats=s.value,_.numberFormats=f.value,_.__datetimeFormatters=D(p)?p.__datetimeFormatters:void 0,_.__numberFormatters=D(p)?p.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=D(p)?p.__v_emitter:void 0);const C=Zd(_);return r&&Ir(C),C})(),ot(p,a.value,l.value);function T(){return[a.value,l.value,d.value,s.value,f.value]}const F=i.computed({get:()=>a.value,set:_=>{a.value=_,p.locale=a.value}}),R=i.computed({get:()=>l.value,set:_=>{l.value=_,p.fallbackLocale=l.value,ot(p,a.value,_)}}),x=i.computed(()=>d.value),H=i.computed(()=>s.value),j=i.computed(()=>f.value);function K(){return Y(L)?L:null}function ne(_){L=_,p.postTranslation=_}function Pe(){return I}function re(_){_!==null&&(O=Hr(_)),I=_,p.missing=O}function Ve(_,C){return _!=="translate"||!C.resolvedMessage}const $e=(_,C,ae,Z,Ft,$t)=>{T();let xe;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{Pr(mu()),r||(p.fallbackContext=n?Jd():void 0),xe=_(p)}finally{Pr(null),r||(p.fallbackContext=void 0)}else xe=_(p);if(J(xe)&&xe===wt){const[Re,Pi]=C();if(process.env.NODE_ENV!=="production"&&n&&P(Re)&&Ve(ae,Pi)&&($&&(Pt(g,Re)||Ua(h,Re))&&ft(qa(ye.FALLBACK_TO_ROOT,{key:Re,type:ae})),process.env.NODE_ENV!=="production")){const{__v_emitter:Gn}=p;Gn&&$&&Gn.emit("fallback",{type:ae,key:Re,to:"global",groupId:`${ae}:${Re}`})}return n&&$?Z(n):Ft(Re)}else{if($t(xe))return xe;throw Ee(U.UNEXPECTED_RETURN_TYPE)}};function Ie(..._){return $e(C=>Reflect.apply(Rr,null,[C,..._]),()=>$n(..._),"translate",C=>Reflect.apply(C.t,C,[..._]),C=>C,C=>P(C))}function Je(..._){const[C,ae,Z]=_;if(Z&&!V(Z))throw Ee(U.INVALID_ARGUMENT);return Ie(C,ae,q({resolvedMessage:!0},Z||{}))}function Ze(..._){return $e(C=>Reflect.apply(Mr,null,[C,..._]),()=>pn(..._),"datetime format",C=>Reflect.apply(C.d,C,[..._]),()=>bt,C=>P(C))}function Qe(..._){return $e(C=>Reflect.apply(xr,null,[C,..._]),()=>mn(..._),"number format",C=>Reflect.apply(C.n,C,[..._]),()=>bt,C=>P(C))}function et(_){return _.map(C=>P(C)||J(C)||B(C)?Ur(String(C)):C)}const nt={normalize:et,interpolate:_=>_,type:"vnode"};function rt(..._){return $e(C=>{let ae;const Z=C;try{Z.processor=nt,ae=Reflect.apply(Rr,null,[Z,..._])}finally{Z.processor=null}return ae},()=>$n(..._),"translate",C=>C[hn](..._),C=>[Ur(C)],C=>G(C))}function at(..._){return $e(C=>Reflect.apply(xr,null,[C,..._]),()=>mn(..._),"number format",C=>C[vn](..._),()=>[],C=>P(C)||G(C))}function Ae(..._){return $e(C=>Reflect.apply(Mr,null,[C,..._]),()=>pn(..._),"datetime format",C=>C[gn](..._),()=>[],C=>P(C)||G(C))}function ke(_){b=_,p.pluralRules=b}function Ce(_,C){const ae=P(C)?C:a.value,Z=c(ae);return p.messageResolver(Z,_)!==null}function De(_){let C=null;const ae=Ra(p,l.value,a.value);for(let Z=0;Z<ae.length;Z++){const Ft=d.value[ae[Z]]||{},$t=p.messageResolver(Ft,_);if($t!=null){C=$t;break}}return C}function it(_){const C=De(_);return C??(n?n.tm(_)||{}:{})}function c(_){return d.value[_]||{}}function u(_,C){d.value[_]=C,p.messages=d.value}function v(_,C){d.value[_]=d.value[_]||{},st(C,d.value[_]),p.messages=d.value}function w(_){return s.value[_]||{}}function k(_,C){s.value[_]=C,p.datetimeFormats=s.value,Vr(p,_,C)}function M(_,C){s.value[_]=q(s.value[_]||{},C),p.datetimeFormats=s.value,Vr(p,_,C)}function pe(_){return f.value[_]||{}}function ge(_,C){f.value[_]=C,p.numberFormats=f.value,Br(p,_,C)}function Li(_,C){f.value[_]=q(f.value[_]||{},C),p.numberFormats=f.value,Br(p,_,C)}Gr++,n&&we&&(i.watch(n.locale,_=>{o&&(a.value=_,p.locale=_,ot(p,a.value,l.value))}),i.watch(n.fallbackLocale,_=>{o&&(l.value=_,p.fallbackLocale=_,ot(p,a.value,l.value))}));const W={id:Gr,locale:F,fallbackLocale:R,get inheritLocale(){return o},set inheritLocale(_){o=_,_&&n&&(a.value=n.locale.value,l.value=n.fallbackLocale.value,ot(p,a.value,l.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:x,get modifiers(){return E},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(_){h=_,p.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(_){g=_,p.fallbackWarn=g},get fallbackRoot(){return $},set fallbackRoot(_){$=_},get fallbackFormat(){return N},set fallbackFormat(_){N=_,p.fallbackFormat=N},get warnHtmlMessage(){return m},set warnHtmlMessage(_){m=_,p.warnHtmlMessage=_},get escapeParameter(){return y},set escapeParameter(_){y=_,p.escapeParameter=_},t:Ie,getLocaleMessage:c,setLocaleMessage:u,mergeLocaleMessage:v,getPostTranslationHandler:K,setPostTranslationHandler:ne,getMissingHandler:Pe,setMissingHandler:re,[$u]:ke};return W.datetimeFormats=H,W.numberFormats=j,W.rt=Je,W.te=Ce,W.tm=it,W.d=Ze,W.n=Qe,W.getDateTimeFormat=w,W.setDateTimeFormat=k,W.mergeDateTimeFormat=M,W.getNumberFormat=pe,W.setNumberFormat=ge,W.mergeNumberFormat=Li,W[Ja]=e.__injectWithOption,W[hn]=rt,W[gn]=Ae,W[vn]=at,process.env.NODE_ENV!=="production"&&(W[yn]=_=>{p.__v_emitter=_},W[_n]=()=>{p.__v_emitter=void 0}),W}const kn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function gu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>r=[...r,...G(o.children)?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Qa(e){return i.Fragment}q({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},kn);function vu(e){return G(e)&&!P(e[0])}function ei(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const l={part:!0};let d={};e.locale&&(l.locale=e.locale),P(e.format)?l.key=e.format:V(e.format)&&(P(e.format.key)&&(l.key=e.format.key),d=Object.keys(e.format).reduce(($,N)=>n.includes(N)?q({},$,{[N]:e.format[N]}):$,{}));const s=r(e.value,l,d);let f=[l.key];G(s)?f=s.map(($,N)=>{const I=o[$.type],O=I?I({[$.type]:$.value,index:N,parts:s}):[$.value];return vu(O)&&(O[0].key=`${$.type}-${N}`),O}):P(s)&&(f=[s]);const h=q({},a),g=P(e.tag)||V(e.tag)?e.tag:Qa();return i.h(g,h,f)}}q({value:{type:Number,required:!0},format:{type:[String,Object]}},kn);q({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},kn);function Wr(e,t){}const yu=Oe("global-vue-i18n");function It(e={}){const t=i.getCurrentInstance();if(t==null)throw Ee(U.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ee(U.NOT_INSLALLED);const n=_u(t),r=Eu(n),o=Za(t),a=bu(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ee(U.NOT_AVAILABLE_IN_LEGACY_MODE);return Cu(t,a,r,e)}if(a==="global")return pu(r,e,o),r;if(a==="parent"){let s=Nu(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&ft(qa(ye.NOT_FOUND_PARENT_SCOPE)),s=r),s}const l=n;let d=l.__getInstance(t);if(d==null){const s=q({},e);"__i18n"in o&&(s.__i18n=o.__i18n),r&&(s.__root=r),d=hu(s),Ou(l,t,d),l.__setInstance(t,d)}return d}function _u(e){{const t=i.inject(e.isCE?yu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ee(e.isCE?U.NOT_INSLALLED_WITH_PROVIDE:U.UNEXPECTED_ERROR);return t}}function bu(e,t){return St(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Eu(e){return e.mode==="composition"?e.global:e.global.__composer}function Nu(e,t,n=!1){let r=null;const o=t.root;let a=t.parent;for(;a!=null;){const l=e;if(e.mode==="composition")r=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const d=l.__getInstance(a);d!=null&&(r=d.__composer,n&&r&&!r[Ja]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function Ou(e,t,n){let r=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Zs();const o=n;o[yn]&&o[yn](r),r.on("*",Wr)}},t),i.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",Wr);const o=n;o[_n]&&o[_n](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}function Cu(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 Ee(U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=B(r.inheritLocale)?r.inheritLocale:!0,d=i.ref(o&&l?n.locale.value:P(r.locale)?r.locale:Lt),s=i.ref(o&&l?n.fallbackLocale.value:P(r.fallbackLocale)||G(r.fallbackLocale)||D(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:d.value),f=i.ref(An(d.value,r)),h=i.ref(D(r.datetimeFormats)?r.datetimeFormats:{[d.value]:{}}),g=i.ref(D(r.numberFormats)?r.numberFormats:{[d.value]:{}}),$=o?n.missingWarn:B(r.missingWarn)||We(r.missingWarn)?r.missingWarn:!0,N=o?n.fallbackWarn:B(r.fallbackWarn)||We(r.fallbackWarn)?r.fallbackWarn:!0,I=o?n.fallbackRoot:B(r.fallbackRoot)?r.fallbackRoot:!0,O=!!r.fallbackFormat,L=Y(r.missing)?r.missing:null,m=Y(r.postTranslation)?r.postTranslation:null,y=o?n.warnHtmlMessage:B(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,b=o?n.modifiers:D(r.modifiers)?r.modifiers:{},p=r.pluralRules||o&&n.pluralRules;function S(){return[d.value,s.value,f.value,h.value,g.value]}const T=i.computed({get:()=>a.value?a.value.locale.value:d.value,set:u=>{a.value&&(a.value.locale.value=u),d.value=u}}),F=i.computed({get:()=>a.value?a.value.fallbackLocale.value:s.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),s.value=u}}),R=i.computed(()=>a.value?a.value.messages.value:f.value),x=i.computed(()=>h.value),H=i.computed(()=>g.value);function j(){return a.value?a.value.getPostTranslationHandler():m}function K(u){a.value&&a.value.setPostTranslationHandler(u)}function ne(){return a.value?a.value.getMissingHandler():L}function Pe(u){a.value&&a.value.setMissingHandler(u)}function re(u){return S(),u()}function Ve(...u){return a.value?re(()=>Reflect.apply(a.value.t,null,[...u])):re(()=>"")}function $e(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function Ie(...u){return a.value?re(()=>Reflect.apply(a.value.d,null,[...u])):re(()=>"")}function Je(...u){return a.value?re(()=>Reflect.apply(a.value.n,null,[...u])):re(()=>"")}function Ze(u){return a.value?a.value.tm(u):{}}function Qe(u,v){return a.value?a.value.te(u,v):!1}function et(u){return a.value?a.value.getLocaleMessage(u):{}}function tt(u,v){a.value&&(a.value.setLocaleMessage(u,v),f.value[u]=v)}function nt(u,v){a.value&&a.value.mergeLocaleMessage(u,v)}function rt(u){return a.value?a.value.getDateTimeFormat(u):{}}function at(u,v){a.value&&(a.value.setDateTimeFormat(u,v),h.value[u]=v)}function Ae(u,v){a.value&&a.value.mergeDateTimeFormat(u,v)}function ke(u){return a.value?a.value.getNumberFormat(u):{}}function Ce(u,v){a.value&&(a.value.setNumberFormat(u,v),g.value[u]=v)}function De(u,v){a.value&&a.value.mergeNumberFormat(u,v)}const it={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:F,messages:R,datetimeFormats:x,numberFormats:H,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(f.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:p},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:$},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:N},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:I},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:O},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:E},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:Ve,getPostTranslationHandler:j,setPostTranslationHandler:K,getMissingHandler:ne,setMissingHandler:Pe,rt:$e,d:Ie,n:Je,tm:Ze,te:Qe,getLocaleMessage:et,setLocaleMessage:tt,mergeLocaleMessage:nt,getDateTimeFormat:rt,setDateTimeFormat:at,mergeDateTimeFormat:Ae,getNumberFormat:ke,setNumberFormat:Ce,mergeNumberFormat:De};function c(u){u.locale.value=d.value,u.fallbackLocale.value=s.value,Object.keys(f.value).forEach(v=>{u.mergeLocaleMessage(v,f.value[v])}),Object.keys(h.value).forEach(v=>{u.mergeDateTimeFormat(v,h.value[v])}),Object.keys(g.value).forEach(v=>{u.mergeNumberFormat(v,g.value[v])}),u.escapeParameter=E,u.fallbackFormat=O,u.fallbackRoot=I,u.fallbackWarn=N,u.missingWarn=$,u.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ee(U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(d.value=u.locale.value,s.value=u.fallbackLocale.value,f.value=u.messages.value,h.value=u.datetimeFormats.value,g.value=u.numberFormats.value):o&&c(u)}),it}Yd(ru);Xd(wd);qd(Ra);uu();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=lt();e.__INTLIFY__=!0,Md(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Su={},Tu={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wu=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),Lu=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),Pu=[wu,Lu];function Iu(e,t){return i.openBlock(),i.createElementBlock("svg",Tu,Pu)}const Au=ue(Su,[["render",Iu]]);const ku={key:"popup-content",class:"pd-small popup-wrapper"},ti={__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")}),Gs(),js(),It({messages:{en:{},ru:{}}}),(a,l)=>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",ku,[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:l[0]||(l[0]=d=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[i.createVNode(Au)]),i.renderSlot(a.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:l[1]||(l[1]=d=>r()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},Du=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"})),Ru={class:"flex-v-center flex-nowrap flex"},Fu={key:0,class:"mn-r-auto t-transp mn-r-small"},Mu=["name","value","checked"],Vu={key:1,class:""},xu=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),Bu=[xu],ni={__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",Ru,[e.label?(i.openBlock(),i.createElementBlock("div",Fu,[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,Mu),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",Vu,Bu)):i.createCommentVNode("",!0)]))}},Uu=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"}));const ju=["onClick"],Gu={key:0,class:"t-transp mn-r-small"},Hu={class:"w-100"},Wu=["onClick"],Ku={key:0,class:"w-100"},Yu={key:0,class:"mn-t-thin invalid-feedback"},Xu={__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,s=>{r.value=s});const a=i.computed(()=>n.select?n.options.filter(s=>s!==n.select):n.options),l=()=>{o.value=!o.value,t(o.value?"focus":"blur")},d=s=>{r.value=s,l(),t("update:select",r.value)};return(s,f)=>{var h;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{onClick:i.withModifiers(l,["stop"]),class:i.normalizeClass([s.$attrs.class,"cursor-pointer flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Gu,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",Hu,[i.createElementVNode("span",null,i.toDisplayString(((h=r.value)==null?void 0:h.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([s.$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),g=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers($=>d(g),["stop"])},[g?(i.openBlock(),i.createElementBlock("span",Ku,i.toDisplayString(g.name||g),1)):i.createCommentVNode("",!0)],8,Wu))),256))],2)):i.createCommentVNode("",!0)]),_:1})],10,ju),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",Yu," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},ri=ue(Xu,[["__scopeId","data-v-dfe03dc2"]]),qu=Object.freeze(Object.defineProperty({__proto__:null,default:ri},Symbol.toStringTag,{value:"Module"}));function jt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function zu(e){return(...t)=>!e(...t)}function Ju(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ai(e,t,n,r){return t?e.filter(o=>Ju(r(o,n),t)).sort((o,a)=>r(o,n).length-r(a,n).length):e}function Zu(e){return e.filter(t=>!t.$isLabel)}function Gt(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 Qu(e,t,n,r,o){return a=>a.map(l=>{if(!l[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const d=ai(l[n],e,t,o);return d.length?{[r]:l[r],[n]:d}:[]})}const Kr=(...e)=>t=>e.reduce((n,r)=>r(n),t),ec={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 jt(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):ai(n,t,this.label,this.customLabel):n=this.groupValues?Gt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(zu(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 Kr(Qu(t,n,this.groupValues,this.groupLabel,this.customLabel),Gt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Kr(Gt(this.groupValues,this.groupLabel),Zu)(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(jt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return jt(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))}}},tc={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:[ec,tc],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)}}},rc=["tabindex","aria-owns"],ac={ref:"tags",class:"multiselect__tags"},ic={class:"multiselect__tags-wrap"},oc=["textContent"],lc=["onKeypress","onMousedown"],sc=["textContent"],dc={class:"multiselect__spinner"},uc=["name","id","placeholder","value","disabled","tabindex","aria-controls"],cc=["id"],fc={key:0},$c={class:"multiselect__option"},pc=["id","role"],mc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],hc=["data-select","data-deselect","onMouseenter","onMousedown"],gc={class:"multiselect__option"},vc={class:"multiselect__option"};function yc(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]=l=>e.activate()),onBlur:t[14]||(t[14]=l=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(l=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(l=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(l=>e.addPointerElement(l),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(l=>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(l=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",ac,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",ic,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.visibleValues,(l,d)=>i.renderSlot(e.$slots,"tag",{option:l,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:d},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(l))},null,8,oc),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(s=>e.removeElement(l),["prevent"]),["enter"]),onMousedown:i.withModifiers(s=>e.removeElement(l),["prevent"]),class:"multiselect__tag-icon"},null,40,lc)]))])),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,sc)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",dc,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]=l=>e.updateSearch(l.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(l=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(l=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(l=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(l=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(l=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(l=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(l=>e.addPointerElement(l),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,uc)):i.createCommentVNode("",!0),a.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...l)=>e.toggle&&e.toggle(...l),["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((...l)=>e.toggle&&e.toggle(...l),["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]=(...l)=>e.activate&&e.activate(...l)),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",fc,[i.createElementVNode("span",$c,[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,(l,d)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:d,id:e.id+"-"+d,role:l&&(l.$isLabel||l.$isDisabled)?null:"option"},[l&&(l.$isLabel||l.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(d,l),"multiselect__option"]),onClick:i.withModifiers(s=>e.select(l),["stop"]),onMouseenter:i.withModifiers(s=>e.pointerSet(d),["self"]),"data-select":l&&l.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(l)),1)])],42,mc)),l&&(l.$isLabel||l.$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(d,l),"multiselect__option"]),onMouseenter:i.withModifiers(s=>e.groupSelect&&e.pointerSet(d),["self"]),onMousedown:i.withModifiers(s=>e.selectGroup(l),["prevent"])},[i.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(l)),1)])],42,hc)):i.createCommentVNode("",!0)],8,pc))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",gc,[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,cc)],38),[[i.vShow,e.isOpen]])]),_:3})],42,rc)}const ii=ue(nc,[["render",yc]]),_c=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"}));const bc={key:0,class:"spoiler"},oi={__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",bc,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"}));const Nc={class:""},Oc={class:"flex-nowrap flex-v-center flex"},Cc=["onClick"],li={__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 s=n.tabs.findIndex(f=>f.value===n.selected);s!==-1&&(r.value=s)}function o(s,f){r.value=s,t("update:selected",f.value),n.callback&&n.callback()}function a(s){return`${100/n.tabs.length*s}%`}function l(){return`${100/n.tabs.length}%`}const d=i.computed(()=>({left:a(r.value),width:l()}));return(s,f)=>(i.openBlock(),i.createElementBlock("div",Nc,[i.createElementVNode("div",Oc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(h,g)=>(i.openBlock(),i.createElementBlock("div",{key:g,onClick:$=>o(g,h),class:i.normalizeClass([{"t-transp":g!==r.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(h.name),1)],10,Cc))),128)),i.createElementVNode("div",{style:i.normalizeStyle(i.unref(d)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},Sc=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"}));const Tc={__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,l)=>(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))}},si=ue(Tc,[["__scopeId","data-v-b0efe407"]]),wc=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"})),Lc={key:0,class:"cursor-pointer t-second"},di={__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},l=i.computed(()=>n.value?o.value:r.value),d=i.computed(()=>t.text.length>t.maxLen),s=i.computed(()=>n.value?"Hide":"Show more");return(f,h)=>(i.openBlock(),i.createElementBlock("span",{onClick:a,class:""},[i.createTextVNode(i.toDisplayString(i.unref(l))+" ",1),i.unref(d)&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",Lc,i.toDisplayString(i.unref(s)),1)):i.createCommentVNode("",!0)]))}},Pc=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"}));function Ic(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},ui=function(t,n){return function(){for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];return t.apply(n,o)}},Ac=ui,Rn=Object.prototype.toString,Fn=function(e){return function(t){var n=Rn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Me(e){return e=e.toLowerCase(),function(n){return Fn(n)===e}}function Mn(e){return Array.isArray(e)}function Et(e){return typeof e>"u"}function kc(e){return e!==null&&!Et(e)&&e.constructor!==null&&!Et(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ci=Me("ArrayBuffer");function Dc(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ci(e.buffer),t}function Rc(e){return typeof e=="string"}function Fc(e){return typeof e=="number"}function fi(e){return e!==null&&typeof e=="object"}function ht(e){if(Fn(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var Mc=Me("Date"),Vc=Me("File"),xc=Me("Blob"),Bc=Me("FileList");function Vn(e){return Rn.call(e)==="[object Function]"}function Uc(e){return fi(e)&&Vn(e.pipe)}function jc(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Rn.call(e)===t||Vn(e.toString)&&e.toString()===t)}var Gc=Me("URLSearchParams");function Hc(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Wc(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function xn(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Mn(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function En(){var e={};function t(o,a){ht(e[a])&&ht(o)?e[a]=En(e[a],o):ht(o)?e[a]=En({},o):Mn(o)?e[a]=o.slice():e[a]=o}for(var n=0,r=arguments.length;n<r;n++)xn(arguments[n],t);return e}function Kc(e,t,n){return xn(t,function(o,a){n&&typeof o=="function"?e[a]=Ac(o,n):e[a]=o}),e}function Yc(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function Xc(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function qc(e,t,n){var r,o,a,l={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],l[a]||(t[a]=e[a],l[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function zc(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function Jc(e){if(!e)return null;var t=e.length;if(Et(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Zc=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),z={isArray:Mn,isArrayBuffer:ci,isBuffer:kc,isFormData:jc,isArrayBufferView:Dc,isString:Rc,isNumber:Fc,isObject:fi,isPlainObject:ht,isUndefined:Et,isDate:Mc,isFile:Vc,isBlob:xc,isFunction:Vn,isStream:Uc,isURLSearchParams:Gc,isStandardBrowserEnv:Wc,forEach:xn,merge:En,extend:Kc,trim:Hc,stripBOM:Yc,inherits:Xc,toFlatObject:qc,kindOf:Fn,kindOfTest:Me,endsWith:zc,toArray:Jc,isTypedArray:Zc,isFileList:Bc},je=z;function Yr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var $i=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(je.isURLSearchParams(n))o=n.toString();else{var a=[];je.forEach(n,function(s,f){s===null||typeof s>"u"||(je.isArray(s)?f=f+"[]":s=[s],je.forEach(s,function(g){je.isDate(g)?g=g.toISOString():je.isObject(g)&&(g=JSON.stringify(g)),a.push(Yr(f)+"="+Yr(g))}))}),o=a.join("&")}if(o){var l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},Qc=z;function At(){this.handlers=[]}At.prototype.use=function(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};At.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};At.prototype.forEach=function(t){Qc.forEach(this.handlers,function(r){r!==null&&t(r)})};var e0=At,t0=z,n0=function(t,n){t0.forEach(t,function(o,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[a])})},pi=z;function Xe(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}pi.inherits(Xe,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var mi=Xe.prototype,hi={};["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"].forEach(function(e){hi[e]={value:e}});Object.defineProperties(Xe,hi);Object.defineProperty(mi,"isAxiosError",{value:!0});Xe.from=function(e,t,n,r,o,a){var l=Object.create(mi);return pi.toFlatObject(e,l,function(s){return s!==Error.prototype}),Xe.call(l,e.message,t,n,r,o),l.name=e.name,a&&Object.assign(l,a),l};var ze=Xe,gi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce=z;function r0(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":ce.isDate(a)?a.toISOString():ce.isArrayBuffer(a)||ce.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function o(a,l){if(ce.isPlainObject(a)||ce.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+l);n.push(a),ce.forEach(a,function(s,f){if(!ce.isUndefined(s)){var h=l?l+"."+f:f,g;if(s&&!l&&typeof s=="object"){if(ce.endsWith(f,"{}"))s=JSON.stringify(s);else if(ce.endsWith(f,"[]")&&(g=ce.toArray(s))){g.forEach(function($){!ce.isUndefined($)&&t.append(h,r($))});return}}o(s,h)}}),n.pop()}else t.append(l,r(a))}return o(e),t}var vi=r0,Ht,Xr;function a0(){if(Xr)return Ht;Xr=1;var e=ze;return Ht=function(n,r,o){var a=o.config.validateStatus;!o.status||!a||a(o.status)?n(o):r(new e("Request failed with status code "+o.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))},Ht}var Wt,qr;function i0(){if(qr)return Wt;qr=1;var e=z;return Wt=e.isStandardBrowserEnv()?function(){return{write:function(r,o,a,l,d,s){var f=[];f.push(r+"="+encodeURIComponent(o)),e.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),e.isString(l)&&f.push("path="+l),e.isString(d)&&f.push("domain="+d),s===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){var o=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Wt}var o0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},l0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},s0=o0,d0=l0,yi=function(t,n){return t&&!s0(n)?d0(t,n):n},Kt,zr;function u0(){if(zr)return Kt;zr=1;var e=z,t=["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"];return Kt=function(r){var o={},a,l,d;return r&&e.forEach(r.split(`
37
+ `),function(f){if(d=f.indexOf(":"),a=e.trim(f.substr(0,d)).toLowerCase(),l=e.trim(f.substr(d+1)),a){if(o[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?o[a]=(o[a]?o[a]:[]).concat([l]):o[a]=o[a]?o[a]+", "+l:l}}),o},Kt}var Yt,Jr;function c0(){if(Jr)return Yt;Jr=1;var e=z;return Yt=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),o;function a(l){var d=l;return n&&(r.setAttribute("href",d),d=r.href),r.setAttribute("href",d),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=a(window.location.href),function(d){var s=e.isString(d)?a(d):d;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}(),Yt}var Xt,Zr;function kt(){if(Zr)return Xt;Zr=1;var e=ze,t=z;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),Xt=n,Xt}var qt,Qr;function f0(){return Qr||(Qr=1,qt=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),qt}var zt,ea;function ta(){if(ea)return zt;ea=1;var e=z,t=a0(),n=i0(),r=$i,o=yi,a=u0(),l=c0(),d=gi,s=ze,f=kt(),h=f0();return zt=function($){return new Promise(function(I,O){var L=$.data,m=$.headers,y=$.responseType,E;function b(){$.cancelToken&&$.cancelToken.unsubscribe(E),$.signal&&$.signal.removeEventListener("abort",E)}e.isFormData(L)&&e.isStandardBrowserEnv()&&delete m["Content-Type"];var p=new XMLHttpRequest;if($.auth){var S=$.auth.username||"",T=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";m.Authorization="Basic "+btoa(S+":"+T)}var F=o($.baseURL,$.url);p.open($.method.toUpperCase(),r(F,$.params,$.paramsSerializer),!0),p.timeout=$.timeout;function R(){if(p){var j="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,K=!y||y==="text"||y==="json"?p.responseText:p.response,ne={data:K,status:p.status,statusText:p.statusText,headers:j,config:$,request:p};t(function(re){I(re),b()},function(re){O(re),b()},ne),p=null}}if("onloadend"in p?p.onloadend=R:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(R)},p.onabort=function(){p&&(O(new s("Request aborted",s.ECONNABORTED,$,p)),p=null)},p.onerror=function(){O(new s("Network Error",s.ERR_NETWORK,$,p,p)),p=null},p.ontimeout=function(){var K=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded",ne=$.transitional||d;$.timeoutErrorMessage&&(K=$.timeoutErrorMessage),O(new s(K,ne.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,$,p)),p=null},e.isStandardBrowserEnv()){var x=($.withCredentials||l(F))&&$.xsrfCookieName?n.read($.xsrfCookieName):void 0;x&&(m[$.xsrfHeaderName]=x)}"setRequestHeader"in p&&e.forEach(m,function(K,ne){typeof L>"u"&&ne.toLowerCase()==="content-type"?delete m[ne]:p.setRequestHeader(ne,K)}),e.isUndefined($.withCredentials)||(p.withCredentials=!!$.withCredentials),y&&y!=="json"&&(p.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&p.addEventListener("progress",$.onDownloadProgress),typeof $.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",$.onUploadProgress),($.cancelToken||$.signal)&&(E=function(j){p&&(O(!j||j&&j.type?new f:j),p.abort(),p=null)},$.cancelToken&&$.cancelToken.subscribe(E),$.signal&&($.signal.aborted?E():$.signal.addEventListener("abort",E))),L||(L=null);var H=h(F);if(H&&["http","https","file"].indexOf(H)===-1){O(new s("Unsupported protocol "+H+":",s.ERR_BAD_REQUEST,$));return}p.send(L)})},zt}var Jt,na;function $0(){return na||(na=1,Jt=null),Jt}var X=z,ra=n0,aa=ze,p0=gi,m0=vi,h0={"Content-Type":"application/x-www-form-urlencoded"};function ia(e,t){!X.isUndefined(e)&&X.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function g0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ta()),e}function v0(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Dt={transitional:p0,adapter:g0(),transformRequest:[function(t,n){if(ra(n,"Accept"),ra(n,"Content-Type"),X.isFormData(t)||X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return ia(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=X.isObject(t),o=n&&n["Content-Type"],a;if((a=X.isFileList(t))||r&&o==="multipart/form-data"){var l=this.env&&this.env.FormData;return m0(a?{"files[]":t}:t,l&&new l)}else if(r||o==="application/json")return ia(n,"application/json"),v0(t);return t}],transformResponse:[function(t){var n=this.transitional||Dt.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||o&&X.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?aa.from(l,aa.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:$0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};X.forEach(["delete","get","head"],function(t){Dt.headers[t]={}});X.forEach(["post","put","patch"],function(t){Dt.headers[t]=X.merge(h0)});var Bn=Dt,y0=z,_0=Bn,b0=function(t,n,r){var o=this||_0;return y0.forEach(r,function(l){t=l.call(o,t,n)}),t},Zt,oa;function _i(){return oa||(oa=1,Zt=function(t){return!!(t&&t.__CANCEL__)}),Zt}var la=z,Qt=b0,E0=_i(),N0=Bn,O0=kt();function en(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new O0}var C0=function(t){en(t),t.headers=t.headers||{},t.data=Qt.call(t,t.data,t.headers,t.transformRequest),t.headers=la.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),la.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||N0.adapter;return n(t).then(function(o){return en(t),o.data=Qt.call(t,o.data,o.headers,t.transformResponse),o},function(o){return E0(o)||(en(t),o&&o.response&&(o.response.data=Qt.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},le=z,bi=function(t,n){n=n||{};var r={};function o(h,g){return le.isPlainObject(h)&&le.isPlainObject(g)?le.merge(h,g):le.isPlainObject(g)?le.merge({},g):le.isArray(g)?g.slice():g}function a(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return o(void 0,t[h])}else return o(t[h],n[h])}function l(h){if(!le.isUndefined(n[h]))return o(void 0,n[h])}function d(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return o(void 0,t[h])}else return o(void 0,n[h])}function s(h){if(h in n)return o(t[h],n[h]);if(h in t)return o(void 0,t[h])}var f={url:l,method:l,data:l,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return le.forEach(Object.keys(t).concat(Object.keys(n)),function(g){var $=f[g]||a,N=$(g);le.isUndefined(N)&&$!==s||(r[g]=N)}),r},tn,sa;function Ei(){return sa||(sa=1,tn={version:"0.27.2"}),tn}var S0=Ei().version,Te=ze,Un={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Un[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var da={};Un.transitional=function(t,n,r){function o(a,l){return"[Axios v"+S0+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return function(a,l,d){if(t===!1)throw new Te(o(l," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!da[l]&&(da[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,d):!0}};function T0(e,t,n){if(typeof e!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],l=t[a];if(l){var d=e[a],s=d===void 0||l(d,a,e);if(s!==!0)throw new Te("option "+a+" must be "+s,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+a,Te.ERR_BAD_OPTION)}}var w0={assertOptions:T0,validators:Un},Ni=z,L0=$i,ua=e0,ca=C0,Rt=bi,P0=yi,Oi=w0,Ge=Oi.validators;function qe(e){this.defaults=e,this.interceptors={request:new ua,response:new ua}}qe.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rt(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Oi.assertOptions(r,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1);var o=[],a=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(a=a&&N.synchronous,o.unshift(N.fulfilled,N.rejected))});var l=[];this.interceptors.response.forEach(function(N){l.push(N.fulfilled,N.rejected)});var d;if(!a){var s=[ca,void 0];for(Array.prototype.unshift.apply(s,o),s=s.concat(l),d=Promise.resolve(n);s.length;)d=d.then(s.shift(),s.shift());return d}for(var f=n;o.length;){var h=o.shift(),g=o.shift();try{f=h(f)}catch($){g($);break}}try{d=ca(f)}catch($){return Promise.reject($)}for(;l.length;)d=d.then(l.shift(),l.shift());return d};qe.prototype.getUri=function(t){t=Rt(this.defaults,t);var n=P0(t.baseURL,t.url);return L0(n,t.params,t.paramsSerializer)};Ni.forEach(["delete","get","head","options"],function(t){qe.prototype[t]=function(n,r){return this.request(Rt(r||{},{method:t,url:n,data:(r||{}).data}))}});Ni.forEach(["post","put","patch"],function(t){function n(r){return function(a,l,d){return this.request(Rt(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}qe.prototype[t]=n(),qe.prototype[t+"Form"]=n(!0)});var I0=qe,nn,fa;function A0(){if(fa)return nn;fa=1;var e=kt();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(l){r=l});var o=this;this.promise.then(function(a){if(o._listeners){var l,d=o._listeners.length;for(l=0;l<d;l++)o._listeners[l](a);o._listeners=null}}),this.promise.then=function(a){var l,d=new Promise(function(s){o.subscribe(s),l=s}).then(a);return d.cancel=function(){o.unsubscribe(l)},d},n(function(l){o.reason||(o.reason=new e(l),r(o.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}},t.source=function(){var r,o=new t(function(l){r=l});return{token:o,cancel:r}},nn=t,nn}var rn,$a;function k0(){return $a||($a=1,rn=function(t){return function(r){return t.apply(null,r)}}),rn}var an,pa;function D0(){if(pa)return an;pa=1;var e=z;return an=function(n){return e.isObject(n)&&n.isAxiosError===!0},an}var ma=z,R0=ui,gt=I0,F0=bi,M0=Bn;function Ci(e){var t=new gt(e),n=R0(gt.prototype.request,t);return ma.extend(n,gt.prototype,t),ma.extend(n,t),n.create=function(o){return Ci(F0(e,o))},n}var oe=Ci(M0);oe.Axios=gt;oe.CanceledError=kt();oe.CancelToken=A0();oe.isCancel=_i();oe.VERSION=Ei().version;oe.toFormData=vi;oe.AxiosError=ze;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=k0();oe.isAxiosError=D0();Dn.exports=oe;Dn.exports.default=oe;var V0=Dn.exports,x0=V0;const jn=Ic(x0);const B0={key:0,class:"t-transp mn-r-small"},U0={class:"w-100"},j0=["placeholder","multiple"],G0={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},H0={__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 l=a.target.files[0],d=new FormData;d.append("file",l);try{let f=await jn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,d,{headers:{"Content-Type":"multipart/form-data"}});r.value=f.data.filepath,t("file-change",r.value)}catch(s){console.error(s)}}return(a,l)=>(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",B0,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",U0,[i.createElementVNode("input",{onChange:o,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,j0)])],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",G0," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},Si=ue(H0,[["__scopeId","data-v-5dd2f570"]]),W0=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"})),K0=["src"],Y0={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},X0=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),q0=[X0],Ti={__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:s})=>{s&&(r.value=s)});function a(){o.value.click()}async function l(s){let f=s.target.files[0],h=new FormData;h.append("file",f);try{let $=await jn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}});r.value=$.data.filepath,t("update:photo",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[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:(s.FILE_SERVER_URL||"")+(r.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,K0)):(i.openBlock(),i.createElementBlock("div",Y0,q0)),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:l,style:{display:"none"}},null,544)],32))}},z0=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),J0=i.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),wi={__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 l(s){let f=s.target.files,h=new FormData;for(let g=0;g<f.length;g++)h.append("file",f[g]);try{(await jn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(N=>{r.value.push(N.filepath)}),t("update:images",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=i.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[J0,i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:l,multiple:"",style:{display:"none"}},null,544)],32))}},Z0=Object.freeze(Object.defineProperty({__proto__:null,default:wi},Symbol.toStringTag,{value:"Module"})),Q0={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ri)),e.component("Button",()=>Promise.resolve().then(()=>Gi)),e.component("Checkbox",()=>Promise.resolve().then(()=>Xi)),e.component("Dropdown",()=>Promise.resolve().then(()=>zi)),e.component("Error",()=>Promise.resolve().then(()=>Qi)),e.component("Field",()=>Promise.resolve().then(()=>lo)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Is)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Ms)),e.component("Map",()=>Promise.resolve().then(()=>xs)),e.component("Popup",()=>Promise.resolve().then(()=>Du)),e.component("Radio",()=>Promise.resolve().then(()=>Uu)),e.component("Select",()=>Promise.resolve().then(()=>qu)),e.component("SelectMulti",()=>Promise.resolve().then(()=>_c)),e.component("Spoiler",()=>Promise.resolve().then(()=>Ec)),e.component("Tab",()=>Promise.resolve().then(()=>Sc)),e.component("Tooltip",()=>Promise.resolve().then(()=>wc)),e.component("Text",()=>Promise.resolve().then(()=>Pc)),e.component("Upload",()=>Promise.resolve().then(()=>W0)),e.component("UploadImage",()=>Promise.resolve().then(()=>z0)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>Z0))}};exports.Address=ha;exports.Button=ga;exports.Checkbox=va;exports.Dropdown=_a;exports.Error=ba;exports.Field=Ea;exports.FieldPhone=Pa;exports.LocationMarker=Ia;exports.Map=Aa;exports.Popup=ti;exports.Radio=ni;exports.Select=ri;exports.SelectMulti=ii;exports.Spoiler=oi;exports.Tab=li;exports.Text=di;exports.Tooltip=si;exports.Upload=Si;exports.UploadImage=Ti;exports.UploadImageMultiple=wi;exports.default=Q0;