@ozdao/prometheus-framework 0.2.117 → 0.2.119
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/gallery.server.js +9 -3
- package/dist/gallery.server.mjs +9 -3
- package/dist/main-DL3vRQCi.js +92 -0
- package/dist/main-Ds3Z5x5d.mjs +14206 -0
- package/dist/main.css +1 -1
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -94
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +94 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +116 -117
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -58
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +123 -109
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +32 -26
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -73
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +77 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +44 -69
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.js +64 -0
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +101 -14
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -104
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +38 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -21
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +98 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +6 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +31 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-g8208K6g.mjs +178 -0
- package/dist/queryProcessor-haY_gPGg.js +177 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-B8tq3Fda.mjs +54 -0
- package/dist/web-ByJkgGrt.js +1 -0
- package/package.json +1 -1
- package/src/components/DatePicker/Calendar.vue +82 -55
- package/src/components/Feed/Feed.vue +45 -16
- package/src/components/FieldTags/BlockTags.vue +30 -23
- package/src/components/Popup/Popup.vue +2 -2
- package/src/modules/events/components/pages/Events.vue +2 -48
- package/src/modules/gallery/components/blocks/PhotoViewer.vue +115 -0
- package/src/modules/gallery/components/pages/Gallery.vue +103 -6
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +100 -32
- package/src/modules/gallery/controllers/gallery.controller.js +45 -38
- package/src/modules/globals/components/blocks/CardHeader.vue +1 -1
- package/src/modules/globals/components/elements/ButtonDate.vue +37 -43
- package/src/modules/globals/components/layouts/Client.vue +1 -1
- package/src/modules/globals/components/sections/SectionPageTitle.vue +1 -1
- package/src/modules/globals/controllers/utils/queryProcessor.js +21 -2
- package/src/modules/globals/services/globals.store.js +13 -17
- package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEvent.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/products/components/sections/FilterProducts.vue +2 -1
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +0 -176
@@ -0,0 +1,92 @@
|
|
1
|
+
"use strict";const o=require("vue");function Ti(e,t,n,r){function s(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function l(f){try{c(r.next(f))}catch(u){i(u)}}function d(f){try{c(r.throw(f))}catch(u){i(u)}}function c(f){f.done?a(f.value):s(f.value).then(l,d)}c((r=r.apply(e,[])).next())})}function wi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ki=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,s,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(s=r;s--!==0;)if(!e(t[s],n[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(s=r;s--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[s]))return!1;for(s=r;s--!==0;){var i=a[s];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n},Ii=wi(ki);const Qr="__googleMapsScriptId";var Et;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(Et||(Et={}));let vr=class yt{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:s,id:a=Qr,language:i,libraries:l=[],mapIds:d,nonce:c,region:f,retries:u=3,url:m="https://maps.googleapis.com/maps/api/js",version:y}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=s,this.id=a||Qr,this.language=i,this.libraries=l,this.mapIds=d,this.nonce=c,this.region=f,this.retries=u,this.url=m,this.version=y,yt.instance){if(!Ii(this.options,yt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(yt.instance.options)}`);return yt.instance}yt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Et.FAILURE:this.done?Et.SUCCESS:this.loading?Et.LOADING:Et.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(a=>!r[a]&&delete r[a]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(a=>{let i,l,d,c="The Google Maps JavaScript API",f="google",u="importLibrary",m="__ib__",y=document,p=window;p=p[f]||(p[f]={});const h=p.maps||(p.maps={}),g=new Set,$=new URLSearchParams,S=()=>i||(i=new Promise((_,E)=>Ti(this,void 0,void 0,function*(){var w;yield l=y.createElement("script"),l.id=this.id,$.set("libraries",[...g]+"");for(d in a)$.set(d.replace(/[A-Z]/g,O=>"_"+O[0].toLowerCase()),a[d]);$.set("callback",f+".maps."+m),l.src=this.url+"?"+$,h[m]=_,l.onerror=()=>i=E(Error(c+" could not load.")),l.nonce=this.nonce||((w=y.querySelector("script[nonce]"))===null||w===void 0?void 0:w.nonce)||"",y.head.append(l)})));h[u]?console.warn(c+" only loads once. Ignoring:",a):h[u]=(_,...E)=>g.add(_)&&S().then(()=>h[u](_,...E))})(r);const s=this.libraries.map(a=>this.importLibrary(a));s.length||s.push(this.importLibrary("core")),Promise.all(s).then(()=>this.callback(),a=>{const i=new ErrorEvent("error",{error:a});this.loadErrorCallback(i)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}};const we=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Li={key:0,class:"t-transp mn-r-small"},Pi=["placeholder","value"],Ai={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:""},locale:{type:String,default:"en"}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,s=o.ref(null);let a;const i=()=>{const l=a.getPlace();if(!l.geometry||!l.address_components)return;let d="",c="",f="";for(let y=0;y<l.address_components.length;y++){let p=l.address_components[y];p.types.includes("country")&&(d=p.long_name),p.types.includes("administrative_area_level_1")&&(c=p.long_name),p.types.includes("locality")&&(f=p.long_name)}const u=l.formatted_address,m={lat:l.geometry.location.lat(),lng:l.geometry.location.lng()};r("update:address",u),r("update:location",m),r("update:country",d),r("update:state",c),r("update:city",f)};return o.onMounted(()=>{new vr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{a=new google.maps.places.Autocomplete(s.value),a.addListener("place_changed",i)}).catch(d=>{console.error(d)})}),(l,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([l.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Li,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:s,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:d[0]||(d[0]=(...c)=>l.onInput&&l.onInput(...c))},null,40,Pi),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[l.validation?(o.openBlock(),o.createElementBlock("div",Ai," * "+o.toDisplayString(l.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},ka=we(Di,[["__scopeId","data-v-0fc64e8d"]]),Ri=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"})),Mi={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},Fi={class:"circular-loader"},xi=o.createElementVNode("svg",{viewBox:"25 25 50 50"},[o.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),o.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),Bi={key:0,class:"progress-text"},Vi={key:1,class:"uppercase t-semi w-m-10r status-text"};function Ui(e,t,n,r,s,a){return o.openBlock(),o.createElementBlock("div",Fi,[xi,n.progress?(o.openBlock(),o.createElementBlock("div",Bi,o.toDisplayString(n.progress),1)):o.createCommentVNode("",!0),n.status?(o.openBlock(),o.createElementBlock("div",Vi,o.toDisplayString(n.status),1)):o.createCommentVNode("",!0)])}const Yt=we(Mi,[["render",Ui]]),ji=Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"})),Hi=["disabled"],Gi={key:2,class:"t-semi loading t-black"},Wi={key:3,class:"error"},Ki={key:0,class:"button-counter"},Ia={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},text:{type:Object,default:e=>(console.log(e),e={...e.text,success:"✔",error:"✖"})},counter:{type:Object},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},emits:["error"],setup(e,{emit:t}){const n=e,r=t,s=o.ref(null),a=o.ref(null),i=o.ref(!1),l=o.ref(!1);async function d(){s.value.style["pointer-events"]="none",a.value=null,i.value=!0;const c=()=>{s.value&&(s.value.classList.replace("bg-second","bg-main"),s.value.style.pointerEvents="auto",i.value=!1,l.value=!1,a.value=null)};try{await n.submit(),s.value.classList.replace("bg-main","bg-second"),i.value=!1,n.showSucces?(l.value=!0,setTimeout(c,500)):c(),n.callback&&setTimeout(()=>n.callback(),n.callbackDelay)}catch(f){r("error",f),s.value.classList.replace("bg-main","bg-fourth-nano"),a.value=n.error,setTimeout(()=>{c(),s.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(c,f)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(d,["stop"]),disabled:e.validation,ref_key:"button",ref:s,class:"button"},[o.createVNode(o.Transition,{name:"moveFromTopAbsolute"},{default:o.withCtx(()=>[!i.value&&!a.value&&!l.value||!e.showLoader?o.renderSlot(c.$slots,"default",{key:0}):i.value&&!a.value&&e.showLoader?(o.openBlock(),o.createBlock(Yt,{key:1,class:"pos-relative pos-t-0 pos-l-0 loading"})):l.value&&e.showSucces?(o.openBlock(),o.createElementBlock("span",Gi,o.toDisplayString(e.text.success),1)):a.value?(o.openBlock(),o.createElementBlock("span",Wi,o.toDisplayString(a.value),1)):o.createCommentVNode("",!0)]),_:3}),e.counter?(o.openBlock(),o.createElementBlock("p",Ki,o.toDisplayString(e.counter),1)):o.createCommentVNode("",!0)],8,Hi))}},zi=Object.freeze(Object.defineProperty({__proto__:null,default:Ia},Symbol.toStringTag,{value:"Module"})),Yi={class:"flex-v-center flex-nowrap flex"},qi={key:0,class:"mn-r-auto t-transp mn-r-small"},Xi=["name","value","checked"],_r={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]},theme:{type:String,default:"light"}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=t,s=a=>{if(Array.isArray(n.radio)){let i=[...n.radio];if(a.target.checked)i.push(n.value);else{const l=i.indexOf(n.value);l!==-1&&i.splice(l,1)}r("update:radio",i)}else typeof n.radio=="boolean"&&r("update:radio",a.target.checked)};return(a,i)=>(o.openBlock(),o.createElementBlock("label",Yi,[e.label?(o.openBlock(),o.createElementBlock("div",qi,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onChange:s,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,Xi),o.createElementVNode("div",{class:o.normalizeClass(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra",{"bg-dark":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="dark","bg-light":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="light","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)]))}},Ji=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"})),gn={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let s=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const a=(r=n.component)==null?void 0:r.name;a&&(s+=` Found in component ${a}`),console.warn(s)}e.clickOutsideEvent=function(s){e===s.target||e.contains(s.target)||t.value(s)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}},Zi={key:0,class:"w-100 h-100 flex-center flex"},Qi={key:1},el={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=gn;const n=e,r=o.ref(!1),s=o.computed(()=>typeof n.label=="object");function a(){r.value=!1}return(i,l)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"dropdown pos-relative",onClick:l[0]||(l[0]=o.withModifiers(d=>r.value=!r.value,["stop"]))},[s.value?(o.openBlock(),o.createElementBlock("div",Zi,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.label.component),o.mergeProps(e.label.props,{class:e.label.class}),null,16,["class"]))])):(o.openBlock(),o.createElementBlock("div",Qi,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 radius-big"},[o.renderSlot(i.$slots,"default",{},void 0,!0)],4),[[o.vShow,r.value]])]),_:3})])),[[o.unref(t),a]])}},dn=we(el,[["__scopeId","data-v-96fe1329"]]),tl=Object.freeze(Object.defineProperty({__proto__:null,default:dn},Symbol.toStringTag,{value:"Module"})),nl={class:"error-wrapper"},rl={class:"error-card"},La={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",nl,[o.createElementVNode("div",rl,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},ol=Object.freeze(Object.defineProperty({__proto__:null,default:La},Symbol.toStringTag,{value:"Module"})),al={key:0,class:"t-transp mn-r-small"},sl={class:"w-100"},il=["type","value","placeholder","tabindex","disabled"],ll=["value","placeholder","tabindex","disabled"],dl={key:1,class:"t-transp mn-l-small"},cl={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},ul={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,value:null,validation:!1,disabled:null,tabindex:-1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=t,r=e;r.value&&n("update:field",r.value);const s=o.ref(r.field);return(a,i)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",al,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",sl,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:i[0]||(i[0]=l=>s.value=n("update:field",l.target.value)),onFocus:i[1]||(i[1]=l=>n("focus",l)),onBlur:i[2]||(i[2]=l=>n("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,il)):(o.openBlock(),o.createElementBlock("textarea",{key:1,onInput:i[3]||(i[3]=l=>s.value=n("update:field",l.target.value)),onFocus:i[4]||(i[4]=l=>n("focus",l)),onBlur:i[5]||(i[5]=l=>n("blur",l)),class:"w-100",style:{resize:"vertical"},value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,ll))]),o.renderSlot(a.$slots,"default",{},void 0,!0),e.symbol?(o.openBlock(),o.createElementBlock("div",dl,[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",cl," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},vn=we(ul,[["__scopeId","data-v-47c78b3c"]]),fl=Object.freeze(Object.defineProperty({__proto__:null,default:vn},Symbol.toStringTag,{value:"Module"})),ml={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])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|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|7[39])|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[0-36-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([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-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{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"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{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[167]"],"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|70)\\d|69[7-9])|(?:(?: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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|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","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[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",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-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})|(?:43|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]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],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\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[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)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[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[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[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","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|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(?:(?:22|44|7[27]|87|9[69])[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-689]|8[1-69]|9[1-578])|[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","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[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-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|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-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[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-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|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","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"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",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"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]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","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-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|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}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-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",["44[02-479]|[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|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[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\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:20|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","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\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,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|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[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function pl(e,t){var n=Array.prototype.slice.call(t);return n.push(ml),e.apply(this,n)}function Kn(e){"@babel/helpers - typeof";return Kn=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},Kn(e)}function hl(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function $l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(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&&xt(e,t)}function vl(e){var t=Aa();return function(){var r=Bt(e),s;if(t){var a=Bt(this).constructor;s=Reflect.construct(r,arguments,a)}else s=r.apply(this,arguments);return _l(this,s)}}function _l(e,t){if(t&&(Kn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pa(e)}function Pa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e){var t=typeof Map=="function"?new Map:void 0;return zn=function(r){if(r===null||!yl(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,s)}function s(){return nn(r,arguments,Bt(this).constructor)}return s.prototype=Object.create(r.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),xt(s,r)},zn(e)}function nn(e,t,n){return Aa()?nn=Reflect.construct:nn=function(s,a,i){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(s,l),c=new d;return i&&xt(c,i.prototype),c},nn.apply(null,arguments)}function Aa(){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 yl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xt(e,t){return xt=Object.setPrototypeOf||function(r,s){return r.__proto__=s,r},xt(e,t)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(e)}var tt=function(e){gl(n,e);var t=vl(n);function n(r){var s;return $l(this,n),s=t.call(this,r),Object.setPrototypeOf(Pa(s),n.prototype),s.name=s.constructor.name,s}return hl(n)}(zn(Error)),yr=2,bl=17,El=3,We="0-90-9٠-٩۰-۹",Cl="-‐-―−ー-",Ol="//",Sl="..",Nl=" ",Tl="()()[]\\[\\]",wl="~⁓∼~",cn="".concat(Cl).concat(Ol).concat(Sl).concat(Nl).concat(Tl).concat(wl),br="++";function eo(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),s=0;s<3;s++){var a=Number(n[s]),i=Number(r[s]);if(a>i)return 1;if(i>a)return-1;if(!isNaN(a)&&isNaN(i))return 1;if(isNaN(a)&&!isNaN(i))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var kl={}.constructor;function rn(e){return e!=null&&e.constructor===kl}function Yn(e){"@babel/helpers - typeof";return Yn=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},Yn(e)}function _n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(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 yn(e,t,n){return t&&Il(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ll="1.2.0",Pl="1.7.35",to=" ext. ",Al=/^\d+$/,Ae=function(){function e(t){_n(this,e),Fl(t),this.metadata=t,Da.call(this,t)}return yn(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&&Al.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new no(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new no(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 s=this.nonGeographic()[n];if(s)return s}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}(),no=function(){function e(t,n){_n(this,e),this.globalMetadataObject=n,this.metadata=t,Da.call(this,n.metadata)}return yn(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(s){return new Dl(s,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()&&ro(this.types(),n))return new Ml(ro(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?to:this.metadata[13]||to}}]),e}(),Dl=function(){function e(t,n){_n(this,e),this._format=t,this.metadata=n}return yn(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()&&!Rl.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Rl=/^\(?\$1\)?$/,Ml=function(){function e(t,n){_n(this,e),this.type=t,this.metadata=n}return yn(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 ro(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 Fl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!rn(e)||!rn(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(rn(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+xl(e)+": "+e,"."))}var xl=function(t){return Yn(t)};function Er(e,t){if(t=new Ae(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Bl(e,t){return t.countries.hasOwnProperty(e)}function Da(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?eo(t,Ll)===-1?this.v2=!0:eo(t,Pl)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Vl=";ext=",vt=function(t){return"([".concat(We,"]{1,").concat(t,"})")};function Ra(e){var t="20",n="15",r="9",s="6",a="[ \\t,]*",i="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",f="[- ]+",u="[ \\t]*",m="(?:,{2}|;)",y=Vl+vt(t),p=a+d+i+vt(t)+l,h=a+c+i+vt(r)+l,g=f+vt(s)+"#",$=u+m+i+vt(n)+l,S=u+"(?:,)+"+i+vt(r)+l;return y+"|"+p+"|"+h+"|"+g+"|"+$+"|"+S}var Ul="["+We+"]{"+yr+"}",jl="["+br+"]{0,1}(?:["+cn+"]*["+We+"]){3,}["+cn+We+"]*",Hl=new RegExp("^["+br+"]{0,1}(?:["+cn+"]*["+We+"]){1,2}$","i"),Gl=jl+"(?:"+Ra()+")?",Wl=new RegExp("^"+Ul+"$|^"+Gl+"$","i");function Kl(e){return e.length>=yr&&Wl.test(e)}function zl(e){return Hl.test(e)}var oo=new RegExp("(?:"+Ra()+")$","i");function Yl(e){var t=e.search(oo);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(oo),s=1;s<r.length;){if(r[s])return{number:n,ext:r[s]};s++}}var ql={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 Xl(e){return ql[e]}function Jl(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=Zl(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zl(e,t){if(e){if(typeof e=="string")return ao(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 ao(e,t)}}function ao(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 so(e){for(var t="",n=Jl(e.split("")),r;!(r=n()).done;){var s=r.value;t+=Ql(s,t)||""}return t}function Ql(e,t,n){return e==="+"?t?void 0:"+":Xl(e)}function Cr(e,t){return ed(e,void 0,t)}function ed(e,t,n){var r=n.type(t),s=r&&r.possibleLengths()||n.possibleLengths();if(!s)return"IS_POSSIBLE";var a=e.length,i=s[0];return i===a?"IS_POSSIBLE":i>a?"TOO_SHORT":s[s.length-1]<a?"TOO_LONG":s.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function td(e,t,n){if(t===void 0&&(t={}),n=new Ae(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 Ma(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 Ma(e,t){switch(Cr(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function rt(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function nd(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=rd(e))||t){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 rd(e,t){if(e){if(typeof e=="string")return io(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 io(e,t)}}function io(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 od=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Or(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new Ae(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(rt(r,n.nationalNumberPattern())){if(Pn(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Pn(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var s=nd(od),a;!(a=s()).done;){var i=a.value;if(Pn(r,i,n))return i}}}}function Pn(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:rt(e,t.pattern())}function ad(e,t,n){if(t=t||{},n=new Ae(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Or(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return rt(r,n.nationalNumberPattern())}function sd(e,t,n){var r=new Ae(n),s=r.getCountryCodesForCallingCode(e);return s?s.filter(function(a){return id(t,a,n)}):[]}function id(e,t,n){var r=new Ae(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function ld(e){return e.replace(new RegExp("[".concat(cn,"]+"),"g")," ").trim()}var dd=/(\$\d)/;function cd(e,t,n){var r=n.useInternationalFormat,s=n.withNationalPrefix,a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():s&&t.nationalPrefixFormattingRule()?t.format().replace(dd,t.nationalPrefixFormattingRule()):t.format());return r?ld(a):a}var ud=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function fd(e,t,n){var r=new Ae(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(ud.test(r.IDDPrefix()))return r.IDDPrefix()}function md(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 pd(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=hd(e))||t){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 hd(e,t){if(e){if(typeof e=="string")return lo(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 lo(e,t)}}function lo(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 co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?co(Object(n),!0).forEach(function(r){$d(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):co(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fo={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function gd(e,t,n,r){if(n?n=uo(uo({},fo),n):n=fo,r=new Ae(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 s=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,i;switch(t){case"NATIONAL":return a?(i=un(a,e.carrierCode,"NATIONAL",r,n),An(i,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(i=un(a,null,"INTERNATIONAL",r,n),i="+".concat(s," ").concat(i),An(i,e.ext,r,n.formatExtension)):"+".concat(s);case"E.164":return"+".concat(s).concat(a);case"RFC3966":return md({number:"+".concat(s).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=_d(a,e.carrierCode,s,n.fromCountry,r);return An(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function un(e,t,n,r,s){var a=vd(r.formats(),e);return a?cd(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&s&&s.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function vd(e,t){for(var n=pd(e),r;!(r=n()).done;){var s=r.value;if(s.leadingDigitsPatterns().length>0){var a=s.leadingDigitsPatterns()[s.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(rt(t,s.pattern()))return s}}function An(e,t,n,r){return t?r(e,t,n):e}function _d(e,t,n,r,s){var a=Er(r,s.metadata);if(a===n){var i=un(e,t,"NATIONAL",s);return n==="1"?n+" "+i:i}var l=fd(r,void 0,s.metadata);if(l)return"".concat(l," ").concat(n," ").concat(un(e,null,"INTERNATIONAL",s))}function mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function po(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mo(Object(n),!0).forEach(function(r){yd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ed(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 Cd(e,t,n){return t&&Ed(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Od=function(){function e(t,n,r){if(bd(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 s=Nd(t,r),a=s.country,i=s.countryCallingCode;this.country=a,this.countryCallingCode=i,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Cd(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:sd(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return td(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return ad(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new Ae(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 Or(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return gd(this,n,r?po(po({},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}(),Sd=function(t){return/^[A-Z]{2}$/.test(t)};function Nd(e,t){var n,r,s=new Ae(t);return Sd(e)?(n=e,s.selectNumberingPlan(n),r=s.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Td=new RegExp("(["+We+"])");function wd(e,t,n,r){if(t){var s=new Ae(r);s.selectNumberingPlan(t,n);var a=new RegExp(s.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var i=e.match(Td);if(!(i&&i[1]!=null&&i[1].length>0&&i[1]==="0"))return e}}}function kd(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var s,a,i=r.length-1,l=i>0&&r[i];if(t.nationalPrefixTransformRule()&&l)s=e.replace(n,t.nationalPrefixTransformRule()),i>1&&(a=r[1]);else{var d=r[0];s=e.slice(d.length),l&&(a=r[1])}var c;if(l){var f=e.indexOf(r[1]),u=e.slice(0,f);u===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:s,nationalPrefix:c,carrierCode:a}}}return{nationalNumber:e}}function qn(e,t){var n=kd(e,t),r=n.carrierCode,s=n.nationalNumber;if(s!==e){if(!Id(e,s,t))return{nationalNumber:e};if(t.possibleLengths()&&!Ld(s,t))return{nationalNumber:e}}return{nationalNumber:s,carrierCode:r}}function Id(e,t,n){return!(rt(e,n.nationalNumberPattern())&&!rt(t,n.nationalNumberPattern()))}function Ld(e,t){switch(Cr(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Pd(e,t,n,r){var s=t?Er(t,r):n;if(e.indexOf(s)===0){r=new Ae(r),r.selectNumberingPlan(t,n);var a=e.slice(s.length),i=qn(a,r),l=i.nationalNumber,d=qn(e,r),c=d.nationalNumber;if(!rt(c,r.nationalNumberPattern())&&rt(l,r.nationalNumberPattern())||Cr(c,r)==="TOO_LONG")return{countryCallingCode:s,number:a}}return{number:e}}function Ad(e,t,n,r){if(!e)return{};var s;if(e[0]!=="+"){var a=wd(e,t,n,r);if(a&&a!==e)s=!0,e="+"+a;else{if(t||n){var i=Pd(e,t,n,r),l=i.countryCallingCode,d=i.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new Ae(r);for(var c=2;c-1<=El&&c<=e.length;){var f=e.slice(1,c);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:s?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(c)};c++}return{}}function Dd(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=Rd(e))||t){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 Rd(e,t){if(e){if(typeof e=="string")return ho(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 ho(e,t)}}function ho(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 Md(e,t){var n=t.countries,r=t.defaultCountry,s=t.metadata;s=new Ae(s);for(var a=[],i=Dd(n),l;!(l=i()).done;){var d=l.value;if(s.country(d),s.leadingDigits()){if(e&&e.search(s.leadingDigits())===0)return d}else if(Or({phone:e,country:d},void 0,s.metadata))if(r){if(d===r)return d;a.push(d)}else return d}if(a.length>0)return a[0]}function Fd(e,t){var n=t.nationalNumber,r=t.defaultCountry,s=t.metadata,a=s.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Md(n,{countries:a,defaultCountry:r,metadata:s.metadata})}var Fa="+",xd="[\\-\\.\\(\\)]?",$o="(["+We+"]|"+xd+")",Bd="^\\"+Fa+$o+"*["+We+"]"+$o+"*$",Vd=new RegExp(Bd,"g"),Xn=We,Ud="["+Xn+"]+((\\-)*["+Xn+"])*",jd="a-zA-Z",Hd="["+jd+"]+((\\-)*["+Xn+"])*",Gd="^("+Ud+"\\.)*"+Hd+"\\.?$",Wd=new RegExp(Gd,"g"),go="tel:",Jn=";phone-context=",Kd=";isub=";function zd(e){var t=e.indexOf(Jn);if(t<0)return null;var n=t+Jn.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Yd(e){return e===null?!0:e.length===0?!1:Vd.test(e)||Wd.test(e)}function qd(e,t){var n=t.extractFormattedPhoneNumber,r=zd(e);if(!Yd(r))throw new tt("NOT_A_NUMBER");var s;if(r===null)s=n(e)||"";else{s="",r.charAt(0)===Fa&&(s+=r);var a=e.indexOf(go),i;a>=0?i=a+go.length:i=0;var l=e.indexOf(Jn);s+=e.substring(i,l)}var d=s.indexOf(Kd);if(d>0&&(s=s.substring(0,d)),s!=="")return s}var Xd=250,Jd=new RegExp("["+br+We+"]"),Zd=new RegExp("[^"+We+"#]+$");function Qd(e,t,n){if(t=t||{},n=new Ae(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new tt("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=tc(e,t.v2,t.extract),s=r.number,a=r.ext,i=r.error;if(!s){if(t.v2)throw i==="TOO_SHORT"?new tt("TOO_SHORT"):new tt("NOT_A_NUMBER");return{}}var l=rc(s,t.defaultCountry,t.defaultCallingCode,n),d=l.country,c=l.nationalNumber,f=l.countryCallingCode,u=l.countryCallingCodeSource,m=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new tt("INVALID_COUNTRY");return{}}if(!c||c.length<yr){if(t.v2)throw new tt("TOO_SHORT");return{}}if(c.length>bl){if(t.v2)throw new tt("TOO_LONG");return{}}if(t.v2){var y=new Od(f,c,n.metadata);return d&&(y.country=d),m&&(y.carrierCode=m),a&&(y.ext=a),y.__countryCallingCodeSource=u,y}var p=(t.extended?n.hasSelectedNumberingPlan():d)?rt(c,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:f,carrierCode:m,valid:p,possible:p?!0:!!(t.extended===!0&&n.possibleLengths()&&Ma(c,n)),phone:c,ext:a}:p?nc(d,c,a):{}}function ec(e,t,n){if(e){if(e.length>Xd){if(n)throw new tt("TOO_LONG");return}if(t===!1)return e;var r=e.search(Jd);if(!(r<0))return e.slice(r).replace(Zd,"")}}function tc(e,t,n){var r=qd(e,{extractFormattedPhoneNumber:function(i){return ec(i,n,t)}});if(!r)return{};if(!Kl(r))return zl(r)?{error:"TOO_SHORT"}:{};var s=Yl(r);return s.ext?s:{number:r}}function nc(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function rc(e,t,n,r){var s=Ad(so(e),t,n,r.metadata),a=s.countryCallingCodeSource,i=s.countryCallingCode,l=s.number,d;if(i)r.selectNumberingPlan(i);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),i=n||Er(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:a,countryCallingCode:i};var c=qn(so(l),r),f=c.nationalNumber,u=c.carrierCode,m=Fd(i,{nationalNumber:f,defaultCountry:t,metadata:r});return m&&(d=m,m==="001"||r.country(d)),{country:d,countryCallingCode:i,countryCallingCodeSource:a,nationalNumber:f,carrierCode:u}}function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function _o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vo(Object(n),!0).forEach(function(r){oc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e,t,n){return Qd(e,_o(_o({},t),{},{v2:!0}),n)}function yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function sc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yo(Object(n),!0).forEach(function(r){ic(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ic(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e,t){return fc(e)||uc(e,t)||cc(e,t)||dc()}function dc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cc(e,t){if(e){if(typeof e=="string")return bo(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 bo(e,t)}}function bo(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 uc(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],s=!0,a=!1,i,l;try{for(n=n.call(e);!(s=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));s=!0);}catch(d){a=!0,l=d}finally{try{!s&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function fc(e){if(Array.isArray(e))return e}function mc(e){var t=Array.prototype.slice.call(e),n=lc(t,4),r=n[0],s=n[1],a=n[2],i=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!s||typeof s=="string")i?(d=a,c=i):(d=void 0,c=a),s&&(d=sc({defaultCountry:s},d));else if(rn(s))a?(d=s,c=a):c=s;else throw new Error("Invalid second argument: ".concat(s));return{text:l,options:d,metadata:c}}function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Co(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Eo(Object(n),!0).forEach(function(r){pc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e,t,n){t&&t.defaultCountry&&!Bl(t.defaultCountry,n)&&(t=Co(Co({},t),{},{defaultCountry:void 0}));try{return ac(e,t,n)}catch(r){if(!(r instanceof tt))throw r}}function $c(){var e=mc(arguments),t=e.text,n=e.options,r=e.metadata;return hc(t,n,r)}function Dn(){return pl($c,arguments)}const gc=[["افغانستان","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,,"🇦🇽"]],vc=gc.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})),_c=["tabindex"],yc={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},bc=["innerHTML"],Ec={key:1,class:"vti__country-code"},Cc=["onClick","onMousemove"],Oc=["innerHTML"],Sc={key:1},Nc=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Tc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},wc={__name:"FieldPhone",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:()=>vc},autoFormat:{type:Boolean,default:()=>!0},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>!1},defaultCountry:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},autoDefaultCountry:{type:Boolean,default:()=>!0},ignoredCountries:{type:Array,default:()=>[]},invalidMsg:{type:String,default:()=>""},mode:{type:String,default:()=>"auto"},onlyCountries:{type:Array,default:()=>[]},preferredCountries:{type:Array,default:()=>[]},validCharactersOnly:{type:Boolean,default:()=>!1},rootClass:{type:[String,Array,Object],default:()=>""},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:()=>""},dropdownOptions:{type:Object,default:()=>({showDialCodeInList:!0,showDialCodeInSelection:!1,showFlags:!0,tabindex:0})},inputOptions:{type:Object,default:()=>({autocomplete:"on",autofocus:!1,id:"",maxlength:25,name:"telephone",placeholder:"Enter a phone number",readonly:!1,required:!1,tabindex:0,type:"tel",styleClasses:""})}},emits:["update:modelValue","change","validate","country-changed","open","close","blur","focus","enter","space"],setup(e,{emit:t}){let n=gn;const r=e,s=t;o.ref(5),o.ref(5),o.reactive({action:null,amount:null});const a=o.ref(r.modelValue?r.modelValue:""),i=o.ref(""),l=o.ref(!1),d=o.ref(!1),c=o.ref(null),f=o.ref(""),u=o.ref(null),m=o.ref("below"),y=o.ref(r.Placeholder!==""?r.Placeholder:r.inputOptions.placeholder),p=o.ref(null),h=o.ref(null),g=o.ref(null);o.onMounted(async()=>{r.modelValue&&(a.value=r.modelValue),Ee(),se().then(()=>{var L;!a.value&&((L=r.inputOptions)!=null&&L.showDialCode)&&i.value&&(a.value=`+${i.value}`),s("validate",O.value)}).catch(console.error).then(()=>{d.value=!0})});const $=o.computed(()=>Z(i.value)),S=o.computed(()=>$.value?$.value.flag:null),_=o.computed(()=>r.mode==="auto"?!a.value||a.value[0]!=="+"?"national":"international":["international","national"].includes(r.mode)?r.mode:(console.error('Invalid value of prop "mode"'),"international")),E=o.computed(()=>r.onlyCountries&&r.onlyCountries.length?r.allCountries.filter(({iso2:L})=>r.onlyCountries.includes(L.toUpperCase())):r.ignoredCountries&&r.ignoredCountries.length?r.allCountries.filter(({iso2:L})=>!r.ignoredCountries.includes(L.toUpperCase())&&!r.ignoredCountries.includes(L.toLowerCase())):r.allCountries),w=o.computed(()=>[...$e(r.preferredCountries).map(N=>({...N,preferred:!0})),...E.value]),O=o.computed(()=>{var be,Re,v;let L={};((be=a.value)==null?void 0:be[0])==="+"?L=Dn(a.value)||{}:L=Dn(a.value,i.value)||{};const{metadata:N,...M}=L;let X=(Re=L.isValid)==null?void 0:Re.call(L),ie=a.value;return X&&(ie=(v=L.format)==null?void 0:v.call(L,_.value.toUpperCase(),{nationalPrefix:!1})),L.country&&(r.ignoredCountries.length||r.onlyCountries.length)&&(Z(L.country)||(X=!1,L={...L,country:null})),{...M,countryCode:L.country,valid:X,country:$.value,formatted:ie}}),T=o.computed(()=>O.value.valid===!0?r.goodClass:O.value.valid===!1?r.badClass:void 0),k=o.computed(()=>O.value.valid===!0?r.goodStyle:O.value.valid===!1?r.badStyle:void 0),C=o.computed(()=>O.value.valid===!0?r.goodInputClass:O.value.valid===!1?r.badInputClass:void 0),D=o.computed(()=>O.value.valid===!0?r.goodInputStyle:O.value.valid===!1?r.badInputStyle:void 0);o.watch($,(L,N)=>{if(!L&&(N!=null&&N.iso2)){i.value=N.iso2;return}L!=null&&L.iso2&&(s("country-changed",L),j())}),o.watch(()=>O.value.countryCode,L=>{i.value=L}),o.watch(()=>O.value.valid,()=>{s("validate",O.value)}),o.watch(()=>O.value.formatted,L=>{!r.autoFormat||r.customValidate||(ne(L),o.nextTick(()=>{L&&!r.modelValue&&(a.value=L)}))}),o.watch(()=>r.inputOptions.placeholder,()=>{j()}),o.watch(()=>r.modelValue,(L,N)=>{Q()?a.value=L:o.nextTick(()=>{a.value=N,q()})}),o.watch(l,L=>{L?(V(),s("open")):s("close")});function F(){return fetch("https://ip2c.org/s").then(L=>L.text()).then(L=>{const N=(L||"").toString();if(!N||N[0]!=="1")throw new Error("unable to fetch the country");return N.substr(2,2)})}function B(L,N){if(L.setSelectionRange)L.focus(),L.setSelectionRange(N,N);else if(L.createTextRange){const M=L.createTextRange();M.collapse(!0),M.moveEnd("character",N),M.moveStart("character",N),M.select()}}function j(){y.value=r.inputOptions.placeholder}function se(){return new Promise(L=>{var M;if(((M=a.value)==null?void 0:M[0])==="+"){L();return}if(r.defaultCountry){ge(r.defaultCountry),L();return}const N=r.preferredCountries[0]||E.value[0];r.autoDefaultCountry?F().then(X=>{ge(X||i.value)}).catch(X=>{console.warn(X),ge(N)}).finally(()=>{L()}):(ge(N),L())})}function $e(L=[]){return L.map(N=>Z(N)).filter(Boolean)}function Z(L=""){return E.value.find(N=>N.iso2===L.toUpperCase())}function Ce(L,N){const M=c.value===L,X=L===r.preferredCountries.length-1,ie=r.preferredCountries.some(be=>be.toUpperCase()===N);return{highlighted:M,"last-preferred":X,preferred:ie}}function ge(L){var M,X;let N=typeof L=="string"?Z(L):L;if(N){if(((M=a.value)==null?void 0:M[0])==="+"&&N.iso2&&O.value.nationalNumber){i.value=N.iso2,a.value=Dn(O.value.nationalNumber,N.iso2).formatInternational();return}if((X=r.inputOptions)!=null&&X.showDialCode&&N){a.value=`+${N.dialCode}`;return}i.value=N.iso2,ne(a.value)}}function Ee(){const L=a.value;if(r.validCharactersOnly){const N=a.value.match(/[()\-+0-9\s]*/g);a.value=N.join("")}if(r.customValidate&&r.customValidate instanceof RegExp){const N=a.value.match(r.customValidate);a.value=N?N.join(""):""}L!==a.value&&ne(a.value)}function Q(){return r.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(a.value)?!1:r.customValidate?ee():!0}function ee(){return r.customValidate instanceof RegExp?r.customValidate.test(a.value):!1}function q(){g.value.setCustomValidity(O.valid?"":r.invalidMsg),ne(a.value)}function ne(L){s("update:modelValue",L),O.value.valid?(s("change",O.value.number),s("country",O.value.number)):s("country",null)}function ve(){s("blur")}function ce(){B(g.value,a.value.length),s("focus")}function ue(){s("enter")}function _e(){s("space")}function ye(){r.disabled||(l.value=!l.value)}function De(){l.value=!1}function Oe(L){L.keyCode===40?(L.preventDefault(),l.value=!0,c.value=c.value===null?0:Math.min(w.value.length-1,c.value+1),o.nextTick(()=>{const N=h.value.children[c.value];N.offsetTop+N.clientHeight>h.value.scrollTop+h.value.clientHeight&&(h.value.scrollTop=N.offsetTop-h.value.clientHeight+N.clientHeight)})):L.keyCode===38?(L.preventDefault(),l.value=!0,c.value=c.value===null?w.value.length-1:Math.max(0,c.value-1),o.nextTick(()=>{const N=h.value.children[c.value];N.offsetTop<h.value.scrollTop&&(h.value.scrollTop=N.offsetTop)})):L.keyCode===13?(L.preventDefault(),c.value!==null&&ge(w.value[c.value]),l.value=!l.value):(f.value+=L.key,clearTimeout(u),u=setTimeout(()=>{f.value=""},700),o.nextTick(()=>{const N=w.value.slice(r.preferredCountries.length).findIndex(M=>M.name.toLowerCase().startsWith(f.value));if(N>=0){c.value=r.preferredCountries.length+N;const M=h.value.children[c.value];(M.offsetTop<h.value.scrollTop||M.offsetTop+M.clientHeight>h.value.scrollTop+h.value.clientHeight)&&(h.value.scrollTop=M.offsetTop-h.value.clientHeight/2)}}))}function re(){c.value=w.value.map(L=>L.iso2).indexOf(i.value),l.value=!1}function V(){const N=window.innerHeight-p.value.getBoundingClientRect().bottom>200;m.value=N?"below":"above"}return(L,N)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[e.rootClass,T.value,L.$attrs.class,{"bg-fourth-nano":e.validation},{disabled:e.disabled}],"vue3-reactive-tel-input"]),style:o.normalizeStyle([e.rootStyle,k.value]),ref_key:"rootElement",ref:p},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:l.value}],"br-solid br-black-transp br-1px radius-thin"]),style:o.normalizeStyle([e.dropdownStyle]),tabindex:e.dropdownOptions.tabindex,onKeydown:[Oe,o.withKeys(re,["esc"])],onClick:ye},[o.createElementVNode("span",yc,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:S.value,class:"mn-r-nano"},null,8,bc)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Ec," +"+o.toDisplayString($.value&&$.value.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref_key:"list",ref:h,class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",m.value]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(w.value,(M,X)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",Ce(X,M.iso2)]]),key:M.iso2+(M.preferred?"-preferred":""),onClick:ie=>ge(M),onMousemove:ie=>c.value=X},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:M.flag,class:"mn-r-thin"},null,8,Oc)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(M.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",Sc," +"+o.toDisplayString(M.dialCode),1)):o.createCommentVNode("",!0)],42,Cc))),128))],6),[[o.vShow,l.value]])],46,_c)),[[o.unref(n),De]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":N[0]||(N[0]=M=>a.value=M),inputmode:"numeric",pattern:"\\d*",ref_key:"input",ref:g,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,C.value]),style:o.normalizeStyle([e.inputStyle,D.value]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:y.value,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:ve,onFocus:ce,onInput:q,onKeyup:[o.withKeys(ue,["enter"]),o.withKeys(_e,["space"])]},null,46,Nc),[[o.vModelDynamic,a.value]]),o.renderSlot(L.$slots,"default",{},void 0,!0)],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Tc," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},xa=we(wc,[["__scopeId","data-v-550fb753"]]),kc=Object.freeze(Object.defineProperty({__proto__:null,default:xa},Symbol.toStringTag,{value:"Module"})),Ba=e=>(o.pushScopeId("data-v-7af36552"),e=e(),o.popScopeId(),e),Ic={class:"pos-relative"},Lc={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pc=Ba(()=>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:"rgb(var(--white))"},null,-1)),Ac=Ba(()=>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:"rgb(var(--white))"},null,-1)),Dc=[Pc,Ac],Rc={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,s=o.ref(null),a=o.ref(!1);let i,l;o.onMounted(()=>{new vr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{i=new google.maps.Map(s.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:i,draggable:!0}),l.addListener("dragend",u=>{const m={lat:u.latLng.lat(),lng:u.latLng.lng()};r("update:location",m),d(m)})}).catch(u=>{console.error(u)})}),o.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&i){const f=new google.maps.LatLng(n.location.lat,n.location.lng);i.setCenter(f),i.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(m,y)=>{if(y==="OK")if(m[0]){r("update:address",m[0].formatted_address);let p="",h="",g="";m[0].address_components.forEach($=>{$.types.includes("country")&&(p=$.long_name),$.types.includes("administrative_area_level_1")&&(h=$.long_name),$.types.includes("locality")&&(g=$.long_name)}),r("update:country",p),r("update:state",h),r("update:city",g)}else console.error("No results found");else console.error("Geocoder failed due to: "+y)})}async function c(){a.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const u={lat:f.coords.latitude,lng:f.coords.longitude};r("update:location",u),d(u),a.value=!1},()=>{console.error("Error getting location"),a.value=!1}):(console.error("Geolocation is not supported by this browser."),a.value=!1)}return(f,u)=>(o.openBlock(),o.createElementBlock("div",Ic,[o.createElementVNode("div",{ref_key:"mapContainer",ref:s,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:c},[o.createVNode(o.Transition,{name:"ScaleOut",mode:"out-in"},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createBlock(Yt,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(o.openBlock(),o.createElementBlock("svg",Lc,Dc))]),_:1})])]))}},Va=we(Rc,[["__scopeId","data-v-7af36552"]]),Mc=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),Fc={__name:"Map",props:{location:Object,apiKey:String},setup(e){const t=e;let n=o.ref(null),r=null,s=null;return o.onMounted(async()=>{new vr({apiKey:t.apiKey,version:"weekly",libraries:["places"],language:t.locale}).load().then(()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),s=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}).catch(i=>{console.error(i)})}),o.watch(()=>t.location,()=>{r&&s&&(s.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,i)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Ua=we(Fc,[["__scopeId","data-v-935b49b3"]]),xc=Object.freeze(Object.defineProperty({__proto__:null,default:Ua},Symbol.toStringTag,{value:"Module"}));/*!
|
7
|
+
* vue-router v4.3.2
|
8
|
+
* (c) 2024 Eduardo San Martin Morote
|
9
|
+
* @license MIT
|
10
|
+
*/var Oo;(function(e){e.pop="pop",e.push="push"})(Oo||(Oo={}));var So;(function(e){e.back="back",e.forward="forward",e.unknown=""})(So||(So={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var No;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(No||(No={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Bc=Symbol(process.env.NODE_ENV!=="production"?"router":""),Vc=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Sr(){return o.inject(Bc)}function Nr(){return o.inject(Vc)}/*!
|
11
|
+
* shared v9.13.1
|
12
|
+
* (c) 2024 kazuya kawaguchi
|
13
|
+
* Released under the MIT License.
|
14
|
+
*/const Ke=typeof window<"u";let Be,mt;if(process.env.NODE_ENV!=="production"){const e=Ke&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Be=t=>{e.mark(t)},mt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Uc=/\{([0-9a-zA-Z]+)\}/g;function Tr(e,...t){return t.length===1&&J(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Uc,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const qe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),jc=(e,t,n)=>Hc({l:e,k:t,s:n}),Hc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),Gc=e=>Ha(e)==="[object Date]",it=e=>Ha(e)==="[object RegExp]",bn=e=>G(e)&&Object.keys(e).length===0,Ie=Object.assign;let To;const nt=()=>To||(To=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wo(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Wc=Object.prototype.hasOwnProperty;function fn(e,t){return Wc.call(e,t)}const de=Array.isArray,ae=e=>typeof e=="function",x=e=>typeof e=="string",W=e=>typeof e=="boolean",J=e=>e!==null&&typeof e=="object",Kc=e=>J(e)&&ae(e.then)&&ae(e.catch),ja=Object.prototype.toString,Ha=e=>ja.call(e),G=e=>{if(!J(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zc=e=>e==null?"":de(e)||G(e)&&e.toString===ja?JSON.stringify(e,null,2):String(e);function Yc(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const ko=2;function qc(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const a=[];for(let i=0;i<r.length;i++)if(s+=r[i].length+1,s>=t){for(let l=i-ko;l<=i+ko||n>s;l++){if(l<0||l>=r.length)continue;const d=l+1;a.push(`${d}${" ".repeat(3-String(d).length)}| ${r[l]}`);const c=r[l].length;if(l===i){const f=t-(s-c)+1,u=Math.max(1,n>s?c-f:n-t);a.push(" | "+" ".repeat(f)+"^".repeat(u))}else if(l>i){if(n>s){const f=Math.max(Math.min(n-s,c),1);a.push(" | "+"^".repeat(f))}s+=c+1}}break}return a.join(`
|
15
|
+
`)}function En(e){let t=e;return()=>++t}function Ne(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Io={};function Ga(e){Io[e]||(Io[e]=!0,Ne(e))}function wr(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}const Qt=e=>!J(e)||de(e);function on(e,t){if(Qt(e)||Qt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(a=>{Qt(r[a])||Qt(s[a])?s[a]=r[a]:n.push({src:r[a],des:s[a]})})}}/*!
|
16
|
+
* message-compiler v9.13.1
|
17
|
+
* (c) 2024 kazuya kawaguchi
|
18
|
+
* Released under the MIT License.
|
19
|
+
*/function Xc(e,t,n){return{line:e,column:t,offset:n}}function mn(e,t,n){return{start:e,end:t}}const Jc=/\{([0-9a-zA-Z]+)\}/g;function Wa(e,...t){return t.length===1&&Zc(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Jc,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ka=Object.assign,Lo=e=>typeof e=="string",Zc=e=>e!==null&&typeof e=="object";function za(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Cn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Qc={[Cn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function eu(e,t,...n){const r=Wa(Qc[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const H={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},tu={[H.EXPECTED_TOKEN]:"Expected token: '{0}'",[H.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[H.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[H.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[H.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[H.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[H.EMPTY_PLACEHOLDER]:"Empty placeholder",[H.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[H.INVALID_LINKED_FORMAT]:"Invalid linked format",[H.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[H.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[H.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[H.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[H.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[H.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function It(e,t,n={}){const{domain:r,messages:s,args:a}=n,i=Wa((s||tu)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function nu(e){throw e}const ru=/<\/?[\w\s="/.':;#-\/]+>/,ou=e=>ru.test(e),Ze=" ",au="\r",Le=`
|
20
|
+
`,su="\u2028",iu="\u2029";function lu(e){const t=e;let n=0,r=1,s=1,a=0;const i=T=>t[T]===au&&t[T+1]===Le,l=T=>t[T]===Le,d=T=>t[T]===iu,c=T=>t[T]===su,f=T=>i(T)||l(T)||d(T)||c(T),u=()=>n,m=()=>r,y=()=>s,p=()=>a,h=T=>i(T)||d(T)||c(T)?Le:t[T],g=()=>h(n),$=()=>h(n+a);function S(){return a=0,f(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function _(){return i(n+a)&&a++,a++,t[n+a]}function E(){n=0,r=1,s=1,a=0}function w(T=0){a=T}function O(){const T=n+a;for(;T!==n;)S();a=0}return{index:u,line:m,column:y,peekOffset:p,charAt:h,currentChar:g,currentPeek:$,next:S,peek:_,reset:E,resetPeek:w,skipToPeek:O}}const at=void 0,du=".",Po="'",cu="tokenizer";function uu(e,t={}){const n=t.location!==!1,r=lu(e),s=()=>r.index(),a=()=>Xc(r.line(),r.column(),r.index()),i=a(),l=s(),d={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:f}=t;function u(v,b,A,...U){const le=c();if(b.column+=A,b.offset+=A,f){const oe=n?mn(le.startLoc,b):null,te=It(v,oe,{domain:cu,args:U});f(te)}}function m(v,b,A){v.endLoc=a(),v.currentType=b;const U={type:b};return n&&(U.loc=mn(v.startLoc,v.endLoc)),A!=null&&(U.value=A),U}const y=v=>m(v,14);function p(v,b){return v.currentChar()===b?(v.next(),b):(u(H.EXPECTED_TOKEN,a(),0,b),"")}function h(v){let b="";for(;v.currentPeek()===Ze||v.currentPeek()===Le;)b+=v.currentPeek(),v.peek();return b}function g(v){const b=h(v);return v.skipToPeek(),b}function $(v){if(v===at)return!1;const b=v.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function S(v){if(v===at)return!1;const b=v.charCodeAt(0);return b>=48&&b<=57}function _(v,b){const{currentType:A}=b;if(A!==2)return!1;h(v);const U=$(v.currentPeek());return v.resetPeek(),U}function E(v,b){const{currentType:A}=b;if(A!==2)return!1;h(v);const U=v.currentPeek()==="-"?v.peek():v.currentPeek(),le=S(U);return v.resetPeek(),le}function w(v,b){const{currentType:A}=b;if(A!==2)return!1;h(v);const U=v.currentPeek()===Po;return v.resetPeek(),U}function O(v,b){const{currentType:A}=b;if(A!==8)return!1;h(v);const U=v.currentPeek()===".";return v.resetPeek(),U}function T(v,b){const{currentType:A}=b;if(A!==9)return!1;h(v);const U=$(v.currentPeek());return v.resetPeek(),U}function k(v,b){const{currentType:A}=b;if(!(A===8||A===12))return!1;h(v);const U=v.currentPeek()===":";return v.resetPeek(),U}function C(v,b){const{currentType:A}=b;if(A!==10)return!1;const U=()=>{const oe=v.currentPeek();return oe==="{"?$(v.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===Ze||!oe?!1:oe===Le?(v.peek(),U()):B(v,!1)},le=U();return v.resetPeek(),le}function D(v){h(v);const b=v.currentPeek()==="|";return v.resetPeek(),b}function F(v){const b=h(v),A=v.currentPeek()==="%"&&v.peek()==="{";return v.resetPeek(),{isModulo:A,hasSpace:b.length>0}}function B(v,b=!0){const A=(le=!1,oe="",te=!1)=>{const I=v.currentPeek();return I==="{"?oe==="%"?!1:le:I==="@"||!I?oe==="%"?!0:le:I==="%"?(v.peek(),A(le,"%",!0)):I==="|"?oe==="%"||te?!0:!(oe===Ze||oe===Le):I===Ze?(v.peek(),A(!0,Ze,te)):I===Le?(v.peek(),A(!0,Le,te)):!0},U=A();return b&&v.resetPeek(),U}function j(v,b){const A=v.currentChar();return A===at?at:b(A)?(v.next(),A):null}function se(v){const b=v.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function $e(v){return j(v,se)}function Z(v){const b=v.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function Ce(v){return j(v,Z)}function ge(v){const b=v.charCodeAt(0);return b>=48&&b<=57}function Ee(v){return j(v,ge)}function Q(v){const b=v.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function ee(v){return j(v,Q)}function q(v){let b="",A="";for(;b=Ee(v);)A+=b;return A}function ne(v){g(v);const b=v.currentChar();return b!=="%"&&u(H.EXPECTED_TOKEN,a(),0,b),v.next(),"%"}function ve(v){let b="";for(;;){const A=v.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(B(v))b+=A,v.next();else break;else if(A===Ze||A===Le)if(B(v))b+=A,v.next();else{if(D(v))break;b+=A,v.next()}else b+=A,v.next()}return b}function ce(v){g(v);let b="",A="";for(;b=Ce(v);)A+=b;return v.currentChar()===at&&u(H.UNTERMINATED_CLOSING_BRACE,a(),0),A}function ue(v){g(v);let b="";return v.currentChar()==="-"?(v.next(),b+=`-${q(v)}`):b+=q(v),v.currentChar()===at&&u(H.UNTERMINATED_CLOSING_BRACE,a(),0),b}function _e(v){return v!==Po&&v!==Le}function ye(v){g(v),p(v,"'");let b="",A="";for(;b=j(v,_e);)b==="\\"?A+=De(v):A+=b;const U=v.currentChar();return U===Le||U===at?(u(H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),U===Le&&(v.next(),p(v,"'")),A):(p(v,"'"),A)}function De(v){const b=v.currentChar();switch(b){case"\\":case"'":return v.next(),`\\${b}`;case"u":return Oe(v,b,4);case"U":return Oe(v,b,6);default:return u(H.UNKNOWN_ESCAPE_SEQUENCE,a(),0,b),""}}function Oe(v,b,A){p(v,b);let U="";for(let le=0;le<A;le++){const oe=ee(v);if(!oe){u(H.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${b}${U}${v.currentChar()}`);break}U+=oe}return`\\${b}${U}`}function re(v){return v!=="{"&&v!=="}"&&v!==Ze&&v!==Le}function V(v){g(v);let b="",A="";for(;b=j(v,re);)A+=b;return A}function L(v){let b="",A="";for(;b=$e(v);)A+=b;return A}function N(v){const b=A=>{const U=v.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===Ze?A:(A+=U,v.next(),b(A))};return b("")}function M(v){g(v);const b=p(v,"|");return g(v),b}function X(v,b){let A=null;switch(v.currentChar()){case"{":return b.braceNest>=1&&u(H.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),v.next(),A=m(b,2,"{"),g(v),b.braceNest++,A;case"}":return b.braceNest>0&&b.currentType===2&&u(H.EMPTY_PLACEHOLDER,a(),0),v.next(),A=m(b,3,"}"),b.braceNest--,b.braceNest>0&&g(v),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),A;case"@":return b.braceNest>0&&u(H.UNTERMINATED_CLOSING_BRACE,a(),0),A=ie(v,b)||y(b),b.braceNest=0,A;default:{let le=!0,oe=!0,te=!0;if(D(v))return b.braceNest>0&&u(H.UNTERMINATED_CLOSING_BRACE,a(),0),A=m(b,1,M(v)),b.braceNest=0,b.inLinked=!1,A;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return u(H.UNTERMINATED_CLOSING_BRACE,a(),0),b.braceNest=0,be(v,b);if(le=_(v,b))return A=m(b,5,ce(v)),g(v),A;if(oe=E(v,b))return A=m(b,6,ue(v)),g(v),A;if(te=w(v,b))return A=m(b,7,ye(v)),g(v),A;if(!le&&!oe&&!te)return A=m(b,13,V(v)),u(H.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,A.value),g(v),A;break}}return A}function ie(v,b){const{currentType:A}=b;let U=null;const le=v.currentChar();switch((A===8||A===9||A===12||A===10)&&(le===Le||le===Ze)&&u(H.INVALID_LINKED_FORMAT,a(),0),le){case"@":return v.next(),U=m(b,8,"@"),b.inLinked=!0,U;case".":return g(v),v.next(),m(b,9,".");case":":return g(v),v.next(),m(b,10,":");default:return D(v)?(U=m(b,1,M(v)),b.braceNest=0,b.inLinked=!1,U):O(v,b)||k(v,b)?(g(v),ie(v,b)):T(v,b)?(g(v),m(b,12,L(v))):C(v,b)?(g(v),le==="{"?X(v,b)||U:m(b,11,N(v))):(A===8&&u(H.INVALID_LINKED_FORMAT,a(),0),b.braceNest=0,b.inLinked=!1,be(v,b))}}function be(v,b){let A={type:14};if(b.braceNest>0)return X(v,b)||y(b);if(b.inLinked)return ie(v,b)||y(b);switch(v.currentChar()){case"{":return X(v,b)||y(b);case"}":return u(H.UNBALANCED_CLOSING_BRACE,a(),0),v.next(),m(b,3,"}");case"@":return ie(v,b)||y(b);default:{if(D(v))return A=m(b,1,M(v)),b.braceNest=0,b.inLinked=!1,A;const{isModulo:le,hasSpace:oe}=F(v);if(le)return oe?m(b,0,ve(v)):m(b,4,ne(v));if(B(v))return m(b,0,ve(v));break}}return A}function Re(){const{currentType:v,offset:b,startLoc:A,endLoc:U}=d;return d.lastType=v,d.lastOffset=b,d.lastStartLoc=A,d.lastEndLoc=U,d.offset=s(),d.startLoc=a(),r.currentChar()===at?m(d,14):be(r,d)}return{nextToken:Re,currentOffset:s,currentPosition:a,context:c}}const fu="parser",mu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pu(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 hu(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(_,E,w,O,...T){const k=_.currentPosition();if(k.offset+=O,k.column+=O,n){const C=t?mn(w,k):null,D=It(E,C,{domain:fu,args:T});n(D)}}function a(_,E,w,O,...T){const k=_.currentPosition();if(k.offset+=O,k.column+=O,r){const C=t?mn(w,k):null;r(eu(E,C,T))}}function i(_,E,w){const O={type:_};return t&&(O.start=E,O.end=E,O.loc={start:w,end:w}),O}function l(_,E,w,O){t&&(_.end=E,_.loc&&(_.loc.end=w))}function d(_,E){const w=_.context(),O=i(3,w.offset,w.startLoc);return O.value=E,l(O,_.currentOffset(),_.currentPosition()),O}function c(_,E){const w=_.context(),{lastOffset:O,lastStartLoc:T}=w,k=i(5,O,T);return k.index=parseInt(E,10),_.nextToken(),l(k,_.currentOffset(),_.currentPosition()),k}function f(_,E,w){const O=_.context(),{lastOffset:T,lastStartLoc:k}=O,C=i(4,T,k);return C.key=E,w===!0&&(C.modulo=!0),_.nextToken(),l(C,_.currentOffset(),_.currentPosition()),C}function u(_,E){const w=_.context(),{lastOffset:O,lastStartLoc:T}=w,k=i(9,O,T);return k.value=E.replace(mu,pu),_.nextToken(),l(k,_.currentOffset(),_.currentPosition()),k}function m(_){const E=_.nextToken(),w=_.context(),{lastOffset:O,lastStartLoc:T}=w,k=i(8,O,T);return E.type!==12?(s(_,H.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),k.value="",l(k,O,T),{nextConsumeToken:E,node:k}):(E.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,He(E)),k.value=E.value||"",l(k,_.currentOffset(),_.currentPosition()),{node:k})}function y(_,E){const w=_.context(),O=i(7,w.offset,w.startLoc);return O.value=E,l(O,_.currentOffset(),_.currentPosition()),O}function p(_){const E=_.context(),w=i(6,E.offset,E.startLoc);let O=_.nextToken();if(O.type===9){const T=m(_);w.modifier=T.node,O=T.nextConsumeToken||_.nextToken()}switch(O.type!==10&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(O)),O=_.nextToken(),O.type===2&&(O=_.nextToken()),O.type){case 11:O.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(O)),w.key=y(_,O.value||"");break;case 5:O.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(O)),w.key=f(_,O.value||"");break;case 6:O.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(O)),w.key=c(_,O.value||"");break;case 7:O.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(O)),w.key=u(_,O.value||"");break;default:{s(_,H.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const T=_.context(),k=i(7,T.offset,T.startLoc);return k.value="",l(k,T.offset,T.startLoc),w.key=k,l(w,T.offset,T.startLoc),{nextConsumeToken:O,node:w}}}return l(w,_.currentOffset(),_.currentPosition()),{node:w}}function h(_){const E=_.context(),w=E.currentType===1?_.currentOffset():E.offset,O=E.currentType===1?E.endLoc:E.startLoc,T=i(2,w,O);T.items=[];let k=null,C=null;do{const B=k||_.nextToken();switch(k=null,B.type){case 0:B.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(B)),T.items.push(d(_,B.value||""));break;case 6:B.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(B)),T.items.push(c(_,B.value||""));break;case 4:C=!0;break;case 5:B.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(B)),T.items.push(f(_,B.value||"",!!C)),C&&(a(_,Cn.USE_MODULO_SYNTAX,E.lastStartLoc,0,He(B)),C=null);break;case 7:B.value==null&&s(_,H.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,He(B)),T.items.push(u(_,B.value||""));break;case 8:{const j=p(_);T.items.push(j.node),k=j.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const D=E.currentType===1?E.lastOffset:_.currentOffset(),F=E.currentType===1?E.lastEndLoc:_.currentPosition();return l(T,D,F),T}function g(_,E,w,O){const T=_.context();let k=O.items.length===0;const C=i(1,E,w);C.cases=[],C.cases.push(O);do{const D=h(_);k||(k=D.items.length===0),C.cases.push(D)}while(T.currentType!==14);return k&&s(_,H.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),l(C,_.currentOffset(),_.currentPosition()),C}function $(_){const E=_.context(),{offset:w,startLoc:O}=E,T=h(_);return E.currentType===14?T:g(_,w,O,T)}function S(_){const E=uu(_,Ka({},e)),w=E.context(),O=i(0,w.offset,w.startLoc);return t&&O.loc&&(O.loc.source=_),O.body=$(E),e.onCacheKey&&(O.cacheKey=e.onCacheKey(_)),w.currentType!==14&&s(E,H.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,_[w.offset]||""),l(O,E.currentOffset(),E.currentPosition()),O}return{parse:S}}function He(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function $u(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ao(e,t){for(let n=0;n<e.length;n++)kr(e[n],t)}function kr(e,t){switch(e.type){case 1:Ao(e.cases,t),t.helper("plural");break;case 2:Ao(e.items,t);break;case 6:{kr(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 gu(e,t={}){const n=$u(e);n.helper("normalize"),e.body&&kr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function vu(e){const t=e.body;return t.type===2?Do(t):t.cases.forEach(n=>Do(n)),e}function Do(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=za(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const _u="minifier";function bt(e){switch(e.t=e.type,e.type){case 0:{const t=e;bt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)bt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)bt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;bt(t.key),t.k=t.key,delete t.key,t.modifier&&(bt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw It(H.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:_u,args:[e.type]})}delete e.type}const yu="parser";function bu(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:a}=t,i=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:a,indentLevel:0};i&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(g,$){l.code+=g}function f(g,$=!0){const S=$?s:"";c(a?S+" ".repeat(g):S)}function u(g=!0){const $=++l.indentLevel;g&&f($)}function m(g=!0){const $=--l.indentLevel;g&&f($)}function y(){f(l.indentLevel)}return{context:d,push:c,indent:u,deindent:m,newline:y,helper:g=>`_${g}`,needIndent:()=>l.needIndent}}function Eu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Nt(e,t.key),t.modifier?(e.push(", "),Nt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Cu(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let a=0;a<s&&(Nt(e,t.items[a]),a!==s-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Ou(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let a=0;a<s&&(Nt(e,t.cases[a]),a!==s-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Su(e,t){t.body?Nt(e,t.body):e.push("null")}function Nt(e,t){const{helper:n}=e;switch(t.type){case 0:Su(e,t);break;case 1:Ou(e,t);break;case 2:Cu(e,t);break;case 6:Eu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw It(H.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:yu,args:[t.type]})}}const Nu=(e,t={})=>{const n=Lo(t.mode)?t.mode:"normal",r=Lo(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
21
|
+
`,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=bu(e,{mode:n,filename:r,sourceMap:s,breakLineCode:a,needIndent:i});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(i),l.length>0&&(d.push(`const { ${za(l.map(u=>`${u}: _${u}`),", ")} } = ctx`),d.newline()),d.push("return "),Nt(d,e),d.deindent(i),d.push("}"),delete e.helpers;const{code:c,map:f}=d.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function Tu(e,t={}){const n=Ka({},t),r=!!n.jit,s=!!n.minify,a=n.optimize==null?!0:n.optimize,l=hu(n).parse(e);return r?(a&&vu(l),s&&bt(l),{ast:l,code:""}):(gu(l,n),Nu(l,n))}/*!
|
22
|
+
* core-base v9.13.1
|
23
|
+
* (c) 2024 kazuya kawaguchi
|
24
|
+
* Released under the MIT License.
|
25
|
+
*/function wu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const dt=[];dt[0]={w:[0],i:[3,0],"[":[4],o:[7]};dt[1]={w:[1],".":[2],"[":[4],o:[7]};dt[2]={w:[2],i:[3,0],0:[3,0]};dt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};dt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};dt[5]={"'":[4,0],o:8,l:[5,0]};dt[6]={'"':[4,0],o:8,l:[6,0]};const ku=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Iu(e){return ku.test(e)}function Lu(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 Pu(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 Au(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Iu(t)?Lu(t):"*"+t}function Du(e){const t=[];let n=-1,r=0,s=0,a,i,l,d,c,f,u;const m=[];m[0]=()=>{i===void 0?i=l:i+=l},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,i===void 0||(i=Au(i),i===!1))return!1;m[1]()}};function y(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,l="\\"+p,m[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&y())){if(d=Pu(a),u=dt[r],c=u[d]||u.l||8,c===8||(r=c[0],c[1]!==void 0&&(f=m[c[1]],f&&(l=a,f()===!1))))return;if(r===7)return t}}const Ro=new Map;function Ru(e,t){return J(e)?e[t]:null}function Mu(e,t){if(!J(e))return null;let n=Ro.get(t);if(n||(n=Du(t),n&&Ro.set(t,n)),!n)return null;const r=n.length;let s=e,a=0;for(;a<r;){const i=s[n[a]];if(i===void 0||ae(s))return null;s=i,a++}return s}const Fu=e=>e,xu=e=>"",Bu="text",Vu=e=>e.length===0?"":Yc(e),Uu=zc;function Mo(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ju(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function Hu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Gu(e={}){const t=e.locale,n=ju(e),r=J(e.pluralRules)&&x(t)&&ae(e.pluralRules[t])?e.pluralRules[t]:Mo,s=J(e.pluralRules)&&x(t)&&ae(e.pluralRules[t])?Mo:void 0,a=$=>$[r(n,$.length,s)],i=e.list||[],l=$=>i[$],d=e.named||{};Se(e.pluralIndex)&&Hu(n,d);const c=$=>d[$];function f($){const S=ae(e.messages)?e.messages($):J(e.messages)?e.messages[$]:!1;return S||(e.parent?e.parent.message($):xu)}const u=$=>e.modifiers?e.modifiers[$]:Fu,m=G(e.processor)&&ae(e.processor.normalize)?e.processor.normalize:Vu,y=G(e.processor)&&ae(e.processor.interpolate)?e.processor.interpolate:Uu,p=G(e.processor)&&x(e.processor.type)?e.processor.type:Bu,g={list:l,named:c,plural:a,linked:($,...S)=>{const[_,E]=S;let w="text",O="";S.length===1?J(_)?(O=_.modifier||O,w=_.type||w):x(_)&&(O=_||O):S.length===2&&(x(_)&&(O=_||O),x(E)&&(w=E||w));const T=f($)(g),k=w==="vnode"&&de(T)&&O?T[0]:T;return O?u(O)(k,w):k},message:f,type:p,interpolate:y,normalize:m,values:Ie({},i,d)};return g}let Vt=null;function Wu(e){Vt=e}function Ku(e,t,n){Vt&&Vt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const zu=Yu("function:translate");function Yu(e){return t=>Vt&&Vt.emit(e,t)}const Ya=Cn.__EXTEND_POINT__,ct=En(Ya),Pe={NOT_FOUND_KEY:Ya,FALLBACK_TO_TRANSLATE:ct(),CANNOT_FORMAT_NUMBER:ct(),FALLBACK_TO_NUMBER_FORMAT:ct(),CANNOT_FORMAT_DATE:ct(),FALLBACK_TO_DATE_FORMAT:ct(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ct(),__EXTEND_POINT__:ct()},qu={[Pe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Pe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Pe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Pe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Pe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Pe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Pe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function pt(e,...t){return Tr(qu[e],...t)}const qa=H.__EXTEND_POINT__,ut=En(qa),ke={INVALID_ARGUMENT:qa,INVALID_DATE_ARGUMENT:ut(),INVALID_ISO_DATE_ARGUMENT:ut(),NOT_SUPPORT_NON_STRING_MESSAGE:ut(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ut(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ut(),NOT_SUPPORT_LOCALE_TYPE:ut(),__EXTEND_POINT__:ut()};function ze(e){return It(e,null,process.env.NODE_ENV!=="production"?{messages:Xu}:void 0)}const Xu={[ke.INVALID_ARGUMENT]:"Invalid arguments",[ke.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ke.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ke.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ke.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ke.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ke.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ir(e,t){return t.locale!=null?Fo(t.locale):Fo(e.locale)}let Rn;function Fo(e){if(x(e))return e;if(ae(e)){if(e.resolvedOnce&&Rn!=null)return Rn;if(e.constructor.name==="Function"){const t=e();if(Kc(t))throw ze(ke.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Rn=t}else throw ze(ke.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(ke.NOT_SUPPORT_LOCALE_TYPE)}function Ju(e,t,n){return[...new Set([n,...de(t)?t:J(t)?Object.keys(t):x(t)?[t]:[n]])]}function Xa(e,t,n){const r=x(n)?n:Tt,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let a=s.__localeChainCache.get(r);if(!a){a=[];let i=[n];for(;de(i);)i=xo(a,i,t);const l=de(t)||!G(t)?t:t.default?t.default:null;i=x(l)?[l]:l,de(i)&&xo(a,i,!1),s.__localeChainCache.set(r,a)}return a}function xo(e,t,n){let r=!0;for(let s=0;s<t.length&&W(r);s++){const a=t[s];x(a)&&(r=Zu(e,t[s],n))}return r}function Zu(e,t,n){let r;const s=t.split("-");do{const a=s.join("-");r=Qu(e,a,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Qu(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(de(n)||G(n))&&n[s]&&(r=n[s])}return r}const ef="9.13.1",On=-1,Tt="en-US",pn="",Bo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function tf(){return{upper:(e,t)=>t==="text"&&x(e)?e.toUpperCase():t==="vnode"&&J(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&x(e)?e.toLowerCase():t==="vnode"&&J(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&x(e)?Bo(e):t==="vnode"&&J(e)&&"__v_isVNode"in e?Bo(e.children):e}}let Ja;function Vo(e){Ja=e}let Za;function nf(e){Za=e}let Qa;function rf(e){Qa=e}let es=null;const of=e=>{es=e},af=()=>es;let ts=null;const Uo=e=>{ts=e},sf=()=>ts;let jo=0;function lf(e={}){const t=ae(e.onWarn)?e.onWarn:Ne,n=x(e.version)?e.version:ef,r=x(e.locale)||ae(e.locale)?e.locale:Tt,s=ae(r)?Tt:r,a=de(e.fallbackLocale)||G(e.fallbackLocale)||x(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=G(e.messages)?e.messages:{[s]:{}},l=G(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},d=G(e.numberFormats)?e.numberFormats:{[s]:{}},c=Ie({},e.modifiers||{},tf()),f=e.pluralRules||{},u=ae(e.missing)?e.missing:null,m=W(e.missingWarn)||it(e.missingWarn)?e.missingWarn:!0,y=W(e.fallbackWarn)||it(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,h=!!e.unresolving,g=ae(e.postTranslation)?e.postTranslation:null,$=G(e.processor)?e.processor:null,S=W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,E=ae(e.messageCompiler)?e.messageCompiler:Ja;process.env.NODE_ENV!=="production"&&ae(e.messageCompiler)&&Ga(pt(Pe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=ae(e.messageResolver)?e.messageResolver:Za||Ru,O=ae(e.localeFallbacker)?e.localeFallbacker:Qa||Ju,T=J(e.fallbackContext)?e.fallbackContext:void 0,k=e,C=J(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,D=J(k.__numberFormatters)?k.__numberFormatters:new Map,F=J(k.__meta)?k.__meta:{};jo++;const B={version:n,cid:jo,locale:r,fallbackLocale:a,messages:i,modifiers:c,pluralRules:f,missing:u,missingWarn:m,fallbackWarn:y,fallbackFormat:p,unresolving:h,postTranslation:g,processor:$,warnHtmlMessage:S,escapeParameter:_,messageCompiler:E,messageResolver:w,localeFallbacker:O,fallbackContext:T,onWarn:t,__meta:F};return B.datetimeFormats=l,B.numberFormats=d,B.__datetimeFormatters=C,B.__numberFormatters=D,process.env.NODE_ENV!=="production"&&(B.__v_emitter=k.__v_emitter!=null?k.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ku(B,n,F),B}function Sn(e,t){return e instanceof RegExp?e.test(t):e}function ns(e,t){return e instanceof RegExp?e.test(t):e}function Lr(e,t,n,r,s){const{missing:a,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(a!==null){const l=a(e,n,t,s);return x(l)?l:t}else return process.env.NODE_ENV!=="production"&&ns(r,t)&&i(pt(Pe.NOT_FOUND_KEY,{key:t,locale:n})),t}function Dt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function rs(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function df(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(rs(e,t[r]))return!0;return!1}function Mn(e){return n=>cf(n,e)}function cf(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((a,i)=>[...a,Ho(e,i)],[]))}else return Ho(e,n)}function Ho(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,a)=>[...s,Zn(e,a)],[]);return e.normalize(r)}}function Zn(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Zn(e,r.k||r.key),s?Zn(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const uf="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function os(e,t){t&&ou(e)&&Ne(Tr(uf,{source:e}))}const as=e=>e;let Ct=Object.create(null);function ss(e){e.code===Cn.USE_MODULO_SYNTAX&&Ne(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
26
|
+
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
27
|
+
(message compiler warning message: ${e.message})`)}const lt=e=>J(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function is(e,t={}){let n=!1;const r=t.onError||nu;return t.onError=s=>{n=!0,r(s)},{...Tu(e,t),detectError:n}}const ff=(e,t)=>{if(!x(e))throw ze(ke.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=ss);{const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&os(e,n);const s=(t.onCacheKey||as)(e),a=Ct[s];if(a)return a;const{code:i,detectError:l}=is(e,t),d=new Function(`return ${i}`)();return l?d:Ct[s]=d}};function mf(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=ss),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&x(e)){const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&os(e,n);const s=(t.onCacheKey||as)(e),a=Ct[s];if(a)return a;const{ast:i,detectError:l}=is(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=Mn(i);return l?d:Ct[s]=d}else{if(process.env.NODE_ENV!=="production"&&!lt(e))return Ne(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ct[n];return r||(Ct[n]=Mn(e))}else return Mn(e)}}const Go=()=>"",Ve=e=>ae(e);function Wo(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:a,fallbackLocale:i,messages:l}=e,[d,c]=Qn(...t),f=W(c.missingWarn)?c.missingWarn:e.missingWarn,u=W(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=W(c.escapeParameter)?c.escapeParameter:e.escapeParameter,y=!!c.resolvedMessage,p=x(c.default)||W(c.default)?W(c.default)?a?d:()=>d:c.default:n?a?d:()=>d:"",h=n||p!=="",g=Ir(e,c);m&&pf(c);let[$,S,_]=y?[d,g,l[g]||{}]:ls(e,d,g,i,u,f),E=$,w=d;if(!y&&!(x(E)||lt(E)||Ve(E))&&h&&(E=p,w=E),!y&&(!(x(E)||lt(E)||Ve(E))||!x(S)))return s?On:d;if(process.env.NODE_ENV!=="production"&&x(E)&&e.messageCompiler==null)return Ne(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let O=!1;const T=()=>{O=!0},k=Ve(E)?E:ds(e,d,S,E,w,T);if(O)return E;const C=vf(e,S,_,c),D=Gu(C),F=hf(e,k,D),B=r?r(F,d):F;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const j={timestamp:Date.now(),key:x(d)?d:Ve(E)?E.key:"",locale:S||(Ve(E)?E.locale:""),format:x(E)?E:Ve(E)?E.source:"",message:B};j.meta=Ie({},e.__meta,af()||{}),zu(j)}return B}function pf(e){de(e.list)?e.list=e.list.map(t=>x(t)?wo(t):t):J(e.named)&&Object.keys(e.named).forEach(t=>{x(e.named[t])&&(e.named[t]=wo(e.named[t]))})}function ls(e,t,n,r,s,a){const{messages:i,onWarn:l,messageResolver:d,localeFallbacker:c}=e,f=c(e,r,n);let u={},m,y=null,p=n,h=null;const g="translate";for(let $=0;$<f.length;$++){if(m=h=f[$],process.env.NODE_ENV!=="production"&&n!==m&&!rs(n,m)&&Sn(s,t)&&l(pt(Pe.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const w=e.__v_emitter;w&&w.emit("fallback",{type:g,key:t,from:p,to:h,groupId:`${g}:${t}`})}u=i[m]||{};let S=null,_,E;if(process.env.NODE_ENV!=="production"&&Ke&&(S=window.performance.now(),_="intlify-message-resolve-start",E="intlify-message-resolve-end",Be&&Be(_)),(y=d(u,t))===null&&(y=u[t]),process.env.NODE_ENV!=="production"&&Ke){const w=window.performance.now(),O=e.__v_emitter;O&&S&&y&&O.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:w-S,groupId:`${g}:${t}`}),_&&E&&Be&&mt&&(Be(E),mt("intlify message resolve",_,E))}if(x(y)||lt(y)||Ve(y))break;if(!df(m,f)){const w=Lr(e,t,m,a,g);w!==t&&(y=w)}p=h}return[y,m,u]}function ds(e,t,n,r,s,a){const{messageCompiler:i,warnHtmlMessage:l}=e;if(Ve(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(i==null){const m=()=>r;return m.locale=n,m.key=t,m}let d=null,c,f;process.env.NODE_ENV!=="production"&&Ke&&(d=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",Be&&Be(c));const u=i(r,$f(e,n,s,r,l,a));if(process.env.NODE_ENV!=="production"&&Ke){const m=window.performance.now(),y=e.__v_emitter;y&&d&&y.emit("message-compilation",{type:"message-compilation",message:r,time:m-d,groupId:`translate:${t}`}),c&&f&&Be&&mt&&(Be(f),mt("intlify message compilation",c,f))}return u.locale=n,u.key=t,u.source=r,u}function hf(e,t,n){let r=null,s,a;process.env.NODE_ENV!=="production"&&Ke&&(r=window.performance.now(),s="intlify-message-evaluation-start",a="intlify-message-evaluation-end",Be&&Be(s));const i=t(n);if(process.env.NODE_ENV!=="production"&&Ke){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${t.key}`}),s&&a&&Be&&mt&&(Be(a),mt("intlify message evaluation",s,a))}return i}function Qn(...e){const[t,n,r]=e,s={};if(!x(t)&&!Se(t)&&!Ve(t)&&!lt(t))throw ze(ke.INVALID_ARGUMENT);const a=Se(t)?String(t):(Ve(t),t);return Se(n)?s.plural=n:x(n)?s.default=n:G(n)&&!bn(n)?s.named=n:de(n)&&(s.list=n),Se(r)?s.plural=r:x(r)?s.default=r:G(r)&&Ie(s,r),[a,s]}function $f(e,t,n,r,s,a){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const l=gf(r),d=`Message compilation error: ${i.message}`,c=i.location&&l&&qc(l,i.location.start.offset,i.location.end.offset),f=e.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
28
|
+
${c}`:d)}else throw i},onCacheKey:i=>jc(t,n,i)}}function gf(e){if(x(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function vf(e,t,n,r){const{modifiers:s,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:f}=e,m={locale:t,modifiers:s,pluralRules:a,messages:y=>{let p=i(n,y);if(p==null&&f){const[,,h]=ls(f,y,t,l,d,c);p=i(h,y)}if(x(p)||lt(p)){let h=!1;const $=ds(e,y,t,p,y,()=>{h=!0});return h?Go:$}else return Ve(p)?p:Go}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),Se(r.plural)&&(m.pluralIndex=r.plural),m}const Ko=typeof Intl<"u",cs={dateTimeFormat:Ko&&typeof Intl.DateTimeFormat<"u",numberFormat:Ko&&typeof Intl.NumberFormat<"u"};function zo(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!cs.dateTimeFormat)return a(pt(Pe.CANNOT_FORMAT_DATE)),pn;const[d,c,f,u]=er(...t),m=W(f.missingWarn)?f.missingWarn:e.missingWarn,y=W(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,p=!!f.part,h=Ir(e,f),g=i(e,s,h);if(!x(d)||d==="")return new Intl.DateTimeFormat(h,u).format(c);let $={},S,_=null,E=h,w=null;const O="datetime format";for(let C=0;C<g.length;C++){if(S=w=g[C],process.env.NODE_ENV!=="production"&&h!==S&&Sn(y,d)&&a(pt(Pe.FALLBACK_TO_DATE_FORMAT,{key:d,target:S})),process.env.NODE_ENV!=="production"&&h!==S){const D=e.__v_emitter;D&&D.emit("fallback",{type:O,key:d,from:E,to:w,groupId:`${O}:${d}`})}if($=n[S]||{},_=$[d],G(_))break;Lr(e,d,S,m,O),E=w}if(!G(_)||!x(S))return r?On:d;let T=`${S}__${d}`;bn(u)||(T=`${T}__${JSON.stringify(u)}`);let k=l.get(T);return k||(k=new Intl.DateTimeFormat(S,Ie({},_,u)),l.set(T,k)),p?k.formatToParts(c):k.format(c)}const us=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function er(...e){const[t,n,r,s]=e,a={};let i={},l;if(x(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw ze(ke.INVALID_ISO_DATE_ARGUMENT);const c=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();l=new Date(c);try{l.toISOString()}catch{throw ze(ke.INVALID_ISO_DATE_ARGUMENT)}}else if(Gc(t)){if(isNaN(t.getTime()))throw ze(ke.INVALID_DATE_ARGUMENT);l=t}else if(Se(t))l=t;else throw ze(ke.INVALID_ARGUMENT);return x(n)?a.key=n:G(n)&&Object.keys(n).forEach(d=>{us.includes(d)?i[d]=n[d]:a[d]=n[d]}),x(r)?a.locale=r:G(r)&&(i=r),G(s)&&(i=s),[a.key||"",l,a,i]}function Yo(e,t,n){const r=e;for(const s in n){const a=`${t}__${s}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function qo(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!cs.numberFormat)return a(pt(Pe.CANNOT_FORMAT_NUMBER)),pn;const[d,c,f,u]=tr(...t),m=W(f.missingWarn)?f.missingWarn:e.missingWarn,y=W(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,p=!!f.part,h=Ir(e,f),g=i(e,s,h);if(!x(d)||d==="")return new Intl.NumberFormat(h,u).format(c);let $={},S,_=null,E=h,w=null;const O="number format";for(let C=0;C<g.length;C++){if(S=w=g[C],process.env.NODE_ENV!=="production"&&h!==S&&Sn(y,d)&&a(pt(Pe.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:S})),process.env.NODE_ENV!=="production"&&h!==S){const D=e.__v_emitter;D&&D.emit("fallback",{type:O,key:d,from:E,to:w,groupId:`${O}:${d}`})}if($=n[S]||{},_=$[d],G(_))break;Lr(e,d,S,m,O),E=w}if(!G(_)||!x(S))return r?On:d;let T=`${S}__${d}`;bn(u)||(T=`${T}__${JSON.stringify(u)}`);let k=l.get(T);return k||(k=new Intl.NumberFormat(S,Ie({},_,u)),l.set(T,k)),p?k.formatToParts(c):k.format(c)}const fs=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function tr(...e){const[t,n,r,s]=e,a={};let i={};if(!Se(t))throw ze(ke.INVALID_ARGUMENT);const l=t;return x(n)?a.key=n:G(n)&&Object.keys(n).forEach(d=>{fs.includes(d)?i[d]=n[d]:a[d]=n[d]}),x(r)?a.locale=r:G(r)&&(i=r),G(s)&&(i=s),[a.key||"",l,a,i]}function Xo(e,t,n){const r=e;for(const s in n){const a=`${t}__${s}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}wu();function _f(){return ms().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ms(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const yf=typeof Proxy=="function",bf="devtools-plugin:setup",Ef="plugin:settings:set";let _t,nr;function Cf(){var e;return _t!==void 0||(typeof window<"u"&&window.performance?(_t=!0,nr=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(_t=!0,nr=globalThis.perf_hooks.performance):_t=!1),_t}function Of(){return Cf()?nr.now():Date.now()}class Sf{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const l=t.settings[i];r[i]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const i=localStorage.getItem(s),l=JSON.parse(i);Object.assign(a,l)}catch{}this.fallbacks={getSettings(){return a},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}a=i},now(){return Of()}},n&&n.on(Ef,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...d)=>{this.onQueue.push({method:l,args:d})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...d)=>(this.targetQueue.push({method:l,args:d,resolve:()=>{}}),this.fallbacks[l](...d)):(...d)=>new Promise(c=>{this.targetQueue.push({method:l,args:d,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Nf(e,t){const n=e,r=ms(),s=_f(),a=yf&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))s.emit(bf,e,t);else{const i=a?new Sf(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
29
|
+
* vue-i18n v9.13.1
|
30
|
+
* (c) 2024 kazuya kawaguchi
|
31
|
+
* Released under the MIT License.
|
32
|
+
*/const Tf="9.13.1";function wf(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(nt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(nt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1)}const ps=Pe.__EXTEND_POINT__,Qe=En(ps),me={FALLBACK_TO_ROOT:ps,NOT_SUPPORTED_PRESERVE:Qe(),NOT_SUPPORTED_FORMATTER:Qe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Qe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Qe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Qe(),NOT_FOUND_PARENT_SCOPE:Qe(),IGNORE_OBJ_FLATTEN:Qe(),NOTICE_DROP_ALLOW_COMPOSITION:Qe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Qe()},kf={[me.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[me.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[me.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[me.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[me.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[me.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[me.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[me.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[me.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[me.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Fe(e,...t){return Tr(kf[e],...t)}const hs=ke.__EXTEND_POINT__,Me=En(hs),z={UNEXPECTED_RETURN_TYPE:hs,INVALID_ARGUMENT:Me(),MUST_BE_CALL_SETUP_TOP:Me(),NOT_INSTALLED:Me(),NOT_AVAILABLE_IN_LEGACY_MODE:Me(),REQUIRED_VALUE:Me(),INVALID_VALUE:Me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Me(),NOT_INSTALLED_WITH_PROVIDE:Me(),UNEXPECTED_ERROR:Me(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Me(),BRIDGE_SUPPORT_VUE_2_ONLY:Me(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Me(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Me(),__EXTEND_POINT__:Me()};function Te(e,...t){return It(e,null,process.env.NODE_ENV!=="production"?{messages:If,args:t}:void 0)}const If={[z.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[z.INVALID_ARGUMENT]:"Invalid argument",[z.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[z.NOT_INSTALLED]:"Need to install with `app.use` function",[z.UNEXPECTED_ERROR]:"Unexpected error",[z.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[z.REQUIRED_VALUE]:"Required in value: {0}",[z.INVALID_VALUE]:"Invalid value",[z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[z.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[z.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[z.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[z.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",[z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},rr=qe("__translateVNode"),or=qe("__datetimeParts"),ar=qe("__numberParts"),ht=qe("__enableEmitter"),Ut=qe("__disableEmitter"),$s=qe("__setPluralRules"),gs=qe("__injectWithOption"),sr=qe("__dispose");function jt(e){if(!J(e))return e;for(const t in e)if(fn(e,t))if(!t.includes("."))J(e[t])&&jt(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,a=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]={}),!J(s[n[i]])){process.env.NODE_ENV!=="production"&&Ne(Fe(me.IGNORE_OBJ_FLATTEN,{key:n[i]})),a=!0;break}s=s[n[i]]}a||(s[n[r]]=e[t],delete e[t]),J(s[n[r]])&&jt(s[n[r]])}return e}function Nn(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:a}=t,i=G(n)?n:de(r)?{}:{[e]:{}};if(de(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(i[d]=i[d]||{},on(c,i[d])):on(c,i)}else x(l)&&on(JSON.parse(l),i)}),s==null&&a)for(const l in i)fn(i,l)&&jt(i[l]);return i}function vs(e){return e.type}function _s(e,t,n){let r=J(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Nn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(J(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(J(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Jo(e){return o.createVNode(o.Text,null,e,0)}const Zo="__INTLIFY_META__",Qo=()=>[],Lf=()=>!1;let ea=0;function ta(e){return(t,n,r,s)=>e(n,r,o.getCurrentInstance()||void 0,s)}const Pf=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=vs(e)[Zo])?{[Zo]:t}:null};function Pr(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,a=e.flatJson,i=Ke?o.ref:o.shallowRef,l=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&Ga(Fe(me.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=W(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&d?n.locale.value:x(e.locale)?e.locale:Tt),f=i(n&&d?n.fallbackLocale.value:x(e.fallbackLocale)||de(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),u=i(Nn(c.value,e)),m=i(G(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),y=i(G(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:W(e.missingWarn)||it(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:W(e.fallbackWarn)||it(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:W(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,S=ae(e.missing)?e.missing:null,_=ae(e.missing)?ta(e.missing):null,E=ae(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const T=n?n.modifiers:G(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,C;C=(()=>{s&&Uo(null);const I={version:Tf,locale:c.value,fallbackLocale:f.value,messages:u.value,modifiers:T,pluralRules:k,missing:_===null?void 0:_,missingWarn:p,fallbackWarn:h,fallbackFormat:$,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:w,escapeParameter:O,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=m.value,I.numberFormats=y.value,I.__datetimeFormatters=G(C)?C.__datetimeFormatters:void 0,I.__numberFormatters=G(C)?C.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(I.__v_emitter=G(C)?C.__v_emitter:void 0);const R=lf(I);return s&&Uo(R),R})(),Dt(C,c.value,f.value);function F(){return[c.value,f.value,u.value,m.value,y.value]}const B=o.computed({get:()=>c.value,set:I=>{c.value=I,C.locale=c.value}}),j=o.computed({get:()=>f.value,set:I=>{f.value=I,C.fallbackLocale=f.value,Dt(C,c.value,I)}}),se=o.computed(()=>u.value),$e=o.computed(()=>m.value),Z=o.computed(()=>y.value);function Ce(){return ae(E)?E:null}function ge(I){E=I,C.postTranslation=I}function Ee(){return S}function Q(I){I!==null&&(_=ta(I)),S=I,C.missing=_}function ee(I,R){return I!=="translate"||!R.resolvedMessage}const q=(I,R,K,fe,xe,gt)=>{F();let ot;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(C.fallbackContext=n?sf():void 0),ot=I(C)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(C.fallbackContext=void 0)}if(K!=="translate exists"&&Se(ot)&&ot===On||K==="translate exists"&&!ot){const[Je,Ln]=R();if(process.env.NODE_ENV!=="production"&&n&&x(Je)&&ee(K,Ln)&&(g&&(Sn(h,Je)||ns(p,Je))&&Ne(Fe(me.FALLBACK_TO_ROOT,{key:Je,type:K})),process.env.NODE_ENV!=="production")){const{__v_emitter:At}=C;At&&g&&At.emit("fallback",{type:K,key:Je,to:"global",groupId:`${K}:${Je}`})}return n&&g?fe(n):xe(Je)}else{if(gt(ot))return ot;throw Te(z.UNEXPECTED_RETURN_TYPE)}};function ne(...I){return q(R=>Reflect.apply(Wo,null,[R,...I]),()=>Qn(...I),"translate",R=>Reflect.apply(R.t,R,[...I]),R=>R,R=>x(R))}function ve(...I){const[R,K,fe]=I;if(fe&&!J(fe))throw Te(z.INVALID_ARGUMENT);return ne(R,K,Ie({resolvedMessage:!0},fe||{}))}function ce(...I){return q(R=>Reflect.apply(zo,null,[R,...I]),()=>er(...I),"datetime format",R=>Reflect.apply(R.d,R,[...I]),()=>pn,R=>x(R))}function ue(...I){return q(R=>Reflect.apply(qo,null,[R,...I]),()=>tr(...I),"number format",R=>Reflect.apply(R.n,R,[...I]),()=>pn,R=>x(R))}function _e(I){return I.map(R=>x(R)||Se(R)||W(R)?Jo(String(R)):R)}const De={normalize:_e,interpolate:I=>I,type:"vnode"};function Oe(...I){return q(R=>{let K;const fe=R;try{fe.processor=De,K=Reflect.apply(Wo,null,[fe,...I])}finally{fe.processor=null}return K},()=>Qn(...I),"translate",R=>R[rr](...I),R=>[Jo(R)],R=>de(R))}function re(...I){return q(R=>Reflect.apply(qo,null,[R,...I]),()=>tr(...I),"number format",R=>R[ar](...I),Qo,R=>x(R)||de(R))}function V(...I){return q(R=>Reflect.apply(zo,null,[R,...I]),()=>er(...I),"datetime format",R=>R[or](...I),Qo,R=>x(R)||de(R))}function L(I){k=I,C.pluralRules=k}function N(I,R){return q(()=>{if(!I)return!1;const K=x(R)?R:c.value,fe=ie(K),xe=C.messageResolver(fe,I);return l?xe!=null:lt(xe)||Ve(xe)||x(xe)},()=>[I],"translate exists",K=>Reflect.apply(K.te,K,[I,R]),Lf,K=>W(K))}function M(I){let R=null;const K=Xa(C,f.value,c.value);for(let fe=0;fe<K.length;fe++){const xe=u.value[K[fe]]||{},gt=C.messageResolver(xe,I);if(gt!=null){R=gt;break}}return R}function X(I){const R=M(I);return R??(n?n.tm(I)||{}:{})}function ie(I){return u.value[I]||{}}function be(I,R){if(a){const K={[I]:R};for(const fe in K)fn(K,fe)&&jt(K[fe]);R=K[I]}u.value[I]=R,C.messages=u.value}function Re(I,R){u.value[I]=u.value[I]||{};const K={[I]:R};if(a)for(const fe in K)fn(K,fe)&&jt(K[fe]);R=K[I],on(R,u.value[I]),C.messages=u.value}function v(I){return m.value[I]||{}}function b(I,R){m.value[I]=R,C.datetimeFormats=m.value,Yo(C,I,R)}function A(I,R){m.value[I]=Ie(m.value[I]||{},R),C.datetimeFormats=m.value,Yo(C,I,R)}function U(I){return y.value[I]||{}}function le(I,R){y.value[I]=R,C.numberFormats=y.value,Xo(C,I,R)}function oe(I,R){y.value[I]=Ie(y.value[I]||{},R),C.numberFormats=y.value,Xo(C,I,R)}ea++,n&&Ke&&(o.watch(n.locale,I=>{d&&(c.value=I,C.locale=I,Dt(C,c.value,f.value))}),o.watch(n.fallbackLocale,I=>{d&&(f.value=I,C.fallbackLocale=I,Dt(C,c.value,f.value))}));const te={id:ea,locale:B,fallbackLocale:j,get inheritLocale(){return d},set inheritLocale(I){d=I,I&&n&&(c.value=n.locale.value,f.value=n.fallbackLocale.value,Dt(C,c.value,f.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:se,get modifiers(){return T},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return p},set missingWarn(I){p=I,C.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(I){h=I,C.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(I){g=I},get fallbackFormat(){return $},set fallbackFormat(I){$=I,C.fallbackFormat=$},get warnHtmlMessage(){return w},set warnHtmlMessage(I){w=I,C.warnHtmlMessage=I},get escapeParameter(){return O},set escapeParameter(I){O=I,C.escapeParameter=I},t:ne,getLocaleMessage:ie,setLocaleMessage:be,mergeLocaleMessage:Re,getPostTranslationHandler:Ce,setPostTranslationHandler:ge,getMissingHandler:Ee,setMissingHandler:Q,[$s]:L};return te.datetimeFormats=$e,te.numberFormats=Z,te.rt=ve,te.te=N,te.tm=X,te.d=ce,te.n=ue,te.getDateTimeFormat=v,te.setDateTimeFormat=b,te.mergeDateTimeFormat=A,te.getNumberFormat=U,te.setNumberFormat=le,te.mergeNumberFormat=oe,te[gs]=r,te[rr]=Oe,te[or]=V,te[ar]=re,process.env.NODE_ENV!=="production"&&(te[ht]=I=>{C.__v_emitter=I},te[Ut]=()=>{C.__v_emitter=void 0}),te}function Af(e){const t=x(e.locale)?e.locale:Tt,n=x(e.fallbackLocale)||de(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ae(e.missing)?e.missing:void 0,s=W(e.silentTranslationWarn)||it(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=W(e.silentFallbackWarn)||it(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=W(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,d=G(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=ae(e.postTranslation)?e.postTranslation:void 0,u=x(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,y=W(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ne(Fe(me.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ne(Fe(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let p=e.messages;if(G(e.sharedMessages)){const O=e.sharedMessages;p=Object.keys(O).reduce((k,C)=>{const D=k[C]||(k[C]={});return Ie(D,O[C]),k},p||{})}const{__i18n:h,__root:g,__injectWithOption:$}=e,S=e.datetimeFormats,_=e.numberFormats,E=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:E,datetimeFormats:S,numberFormats:_,missing:r,missingWarn:s,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:d,pluralRules:c,postTranslation:f,warnHtmlMessage:u,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:y,translateExistCompatible:w,__i18n:h,__root:g,__injectWithOption:$}}function ir(e={},t){{const n=Pr(Af(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return W(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=W(a)?!a:a},get silentFallbackWarn(){return W(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=W(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[i,l,d]=a,c={};let f=null,u=null;if(!x(i))throw Te(z.INVALID_ARGUMENT);const m=i;return x(l)?c.locale=l:de(l)?f=l:G(l)&&(u=l),de(d)?f=d:G(d)&&(u=d),Reflect.apply(n.t,n,[m,f||u||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[i,l,d]=a,c={plural:1};let f=null,u=null;if(!x(i))throw Te(z.INVALID_ARGUMENT);const m=i;return x(l)?c.locale=l:Se(l)?c.plural=l:de(l)?f=l:G(l)&&(u=l),x(d)?c.locale=d:de(d)?f=d:G(d)&&(u=d),Reflect.apply(n.t,n,[m,f||u||{},c])},te(a,i){return n.te(a,i)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,i){n.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){n.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,i){n.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){n.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,i){n.setNumberFormat(a,i)},mergeNumberFormat(a,i){n.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return s.__extender=r,process.env.NODE_ENV!=="production"&&(s.__enableEmitter=a=>{const i=n;i[ht]&&i[ht](a)},s.__disableEmitter=()=>{const a=n;a[Ut]&&a[Ut]()}),s}}const Ar={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Df({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===o.Fragment?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function ys(e){return o.Fragment}const Rf=o.defineComponent({name:"i18n-t",props:Ie({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Ar),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Lt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(u=>u!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=x(e.plural)?+e.plural:e.plural);const l=Df(t,a),d=s[rr](e.keypath,l,i),c=Ie({},r),f=x(e.tag)||J(e.tag)?e.tag:ys();return o.h(f,c,d)}}}),Fn=Rf;function Mf(e){return de(e)&&!x(e[0])}function bs(e,t,n,r){const{slots:s,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),x(e.format)?i.key=e.format:J(e.format)&&(x(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((m,y)=>n.includes(y)?Ie({},m,{[y]:e.format[y]}):m,{}));const d=r(e.value,i,l);let c=[i.key];de(d)?c=d.map((m,y)=>{const p=s[m.type],h=p?p({[m.type]:m.value,index:y,parts:d}):[m.value];return Mf(h)&&(h[0].key=`${m.type}-${y}`),h}):x(d)&&(c=[d]);const f=Ie({},a),u=x(e.tag)||J(e.tag)?e.tag:ys();return o.h(u,f,c)}}const Ff=o.defineComponent({name:"i18n-n",props:Ie({value:{type:Number,required:!0},format:{type:[String,Object]}},Ar),setup(e,t){const n=e.i18n||Lt({useScope:e.scope,__useComponent:!0});return bs(e,t,fs,(...r)=>n[ar](...r))}}),na=Ff,xf=o.defineComponent({name:"i18n-d",props:Ie({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ar),setup(e,t){const n=e.i18n||Lt({useScope:e.scope,__useComponent:!0});return bs(e,t,us,(...r)=>n[or](...r))}}),ra=xf;function Bf(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Vf(e){const t=i=>{const{instance:l,modifiers:d,value:c}=i;if(!l||!l.$)throw Te(z.UNEXPECTED_ERROR);const f=Bf(e,l.$);process.env.NODE_ENV!=="production"&&d.preserve&&Ne(Fe(me.NOT_SUPPORTED_PRESERVE));const u=oa(c);return[Reflect.apply(f.t,f,[...aa(u)]),f]};return{created:(i,l)=>{const[d,c]=t(l);Ke&&e.global===c&&(i.__i18nWatcher=o.watch(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=d},unmounted:i=>{Ke&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const d=i.__composer,c=oa(l);i.textContent=Reflect.apply(d.t,d,[...aa(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function oa(e){if(x(e))return{path:e};if(G(e)){if(!("path"in e))throw Te(z.REQUIRED_VALUE,"path");return e}else throw Te(z.INVALID_VALUE)}function aa(e){const{path:t,locale:n,args:r,choice:s,plural:a}=e,i={},l=r||{};return x(n)&&(i.locale=n),Se(s)&&(i.plural=s),Se(a)&&(i.plural=a),[t,l,i]}function Uf(e,t,...n){const r=G(n[0])?n[0]:{},s=!!r.useI18nComponentName,a=W(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&s&&Ne(Fe(me.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Fn.name})),a&&([s?"i18n":Fn.name,"I18nT"].forEach(i=>e.component(i,Fn)),[na.name,"I18nN"].forEach(i=>e.component(i,na)),[ra.name,"I18nD"].forEach(i=>e.component(i,ra))),e.directive("t",Vf(t))}const xn={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},jf={"vue-i18n-resource-inspector":"Search for scopes ..."},Hf={"vue-i18n-timeline":16764185},Es="vue-i18n: composer properties";let lr;async function Gf(e,t){return new Promise((n,r)=>{try{Nf({id:"vue-devtools-plugin-vue-i18n",label:xn["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Es],app:e},s=>{lr=s,s.on.visitComponentTree(({componentInstance:i,treeNode:l})=>{Wf(i,l,t)}),s.on.inspectComponent(({componentInstance:i,instanceData:l})=>{i.vnode.el&&i.vnode.el.__VUE_I18N__&&l&&(t.mode==="legacy"?i.vnode.el.__VUE_I18N__!==t.global.__composer&&sa(l,i.vnode.el.__VUE_I18N__):sa(l,i.vnode.el.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:xn["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:jf["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&Xf(i,t)});const a=new Map;s.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),Zf(i,t),i.nodeId==="global"){if(!a.has(i.app)){const[l]=await s.getComponentInstances(i.app);a.set(i.app,l)}s.highlightElement(a.get(i.app))}else{const l=Jf(i.nodeId,t);l&&s.highlightElement(l)}}),s.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&e0(i,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:xn["vue-i18n-timeline"],color:Hf["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),r(!1)}})}function Cs(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Wf(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const s={label:`i18n (${Cs(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function sa(e,t){const n=Es;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Dr(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Dr(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];ae(r)&&"source"in r?t[n]=qf(r):lt(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:J(r)?t[n]=Dr(r):t[n]=r}),t}const Kf={"<":"<",">":">",'"':""","&":"&"};function zf(e){return e.replace(/[<>"&]/g,Yf)}function Yf(e){return Kf[e]||e}function qf(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${zf(e.source)}")`:"(?)"}`}}}function Xf(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,s]of t.__instances){const a=t.mode==="composition"?s:s.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Cs(r)} Scope`})}}function Jf(e,t){let n=null;if(e!=="global"){for(const[r,s]of t.__instances.entries())if(s.id.toString()===e){n=r;break}}return n}function Os(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Zf(e,t){const n=Os(e.nodeId,t);return n&&(e.state=Qf(n)),null}function Qf(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const s="Locale messages info",a=[{type:s,key:"messages",editable:!1,value:Dr(e.messages.value)}];t[s]=a;{const i="Datetime formats info",l=[{type:i,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[i]=l;const d="Datetime formats info",c=[{type:d,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[d]=c}return t}function Ht(e,t){if(lr){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),lr.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function e0(e,t){const n=Os(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&x(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(x(e.state.value)||de(e.state.value)||J(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&W(e.state.value)&&(n.inheritLocale=e.state.value)}}function t0(e,t,n){return{beforeCreate(){const r=o.getCurrentInstance();if(!r)throw Te(z.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=ia(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=ir(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=ia(e,s);else{this.$i18n=ir({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&_s(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(r,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const s=this.__v_emitter=wr();r.__enableEmitter&&r.__enableEmitter(s),s.on("*",Ht)}},unmounted(){const r=o.getCurrentInstance();if(!r)throw Te(z.UNEXPECTED_ERROR);const s=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Ht),delete this.__v_emitter),this.$i18n&&(s.__disableEmitter&&s.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function ia(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[$s](t.pluralizationRules||e.pluralizationRules);const n=Nn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const n0=qe("global-vue-i18n");function r0(e={},t){const n=__VUE_I18N_LEGACY_API__&&W(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=W(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[i,l]=o0(e,n),d=qe(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&s&&Ne(Fe(me.NOTICE_DROP_ALLOW_COMPOSITION));function c(m){return a.get(m)||null}function f(m,y){a.set(m,y)}function u(m){a.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(y,...p){if(process.env.NODE_ENV!=="production"&&(y.__VUE_I18N__=m),y.__VUE_I18N_SYMBOL__=d,y.provide(y.__VUE_I18N_SYMBOL__,m),G(p[0])){const $=p[0];m.__composerExtend=$.__composerExtend,m.__vueI18nExtend=$.__vueI18nExtend}let h=null;!n&&r&&(h=m0(y,m.global)),__VUE_I18N_FULL_INSTALL__&&Uf(y,m,...p),__VUE_I18N_LEGACY_API__&&n&&y.mixin(t0(l,l.__composer,m));const g=y.unmount;if(y.unmount=()=>{h&&h(),m.dispose(),g()},process.env.NODE_ENV!=="production"){if(!await Gf(y,m))throw Te(z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const S=wr();if(n){const _=l;_.__enableEmitter&&_.__enableEmitter(S)}else{const _=l;_[ht]&&_[ht](S)}S.on("*",Ht)}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:f,__deleteInstance:u};return m}}function Lt(e={}){const t=o.getCurrentInstance();if(t==null)throw Te(z.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Te(z.NOT_INSTALLED);const n=a0(t),r=i0(n),s=vs(t),a=s0(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Te(z.NOT_AVAILABLE_IN_LEGACY_MODE);return u0(t,a,r,e)}if(a==="global")return _s(r,e,s),r;if(a==="parent"){let d=l0(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ne(Fe(me.NOT_FOUND_PARENT_SCOPE)),d=r),d}const i=n;let l=i.__getInstance(t);if(l==null){const d=Ie({},e);"__i18n"in s&&(d.__i18n=s.__i18n),r&&(d.__root=r),l=Pr(d),i.__composerExtend&&(l[sr]=i.__composerExtend(l)),c0(i,t,l),i.__setInstance(t,l)}return l}function o0(e,t,n){const r=o.effectScope();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ir(e)):r.run(()=>Pr(e));if(s==null)throw Te(z.UNEXPECTED_ERROR);return[r,s]}}function a0(e){{const t=o.inject(e.isCE?n0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Te(e.isCE?z.NOT_INSTALLED_WITH_PROVIDE:z.UNEXPECTED_ERROR);return t}}function s0(e,t){return bn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function i0(e){return e.mode==="composition"?e.global:e.global.__composer}function l0(e,t,n=!1){let r=null;const s=t.root;let a=d0(t,n);for(;a!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(r=l.__composer,n&&r&&!r[gs]&&(r=null))}if(r!=null||s===a)break;a=a.parent}return r}function d0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function c0(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=wr();const s=n;s[ht]&&s[ht](r),r.on("*",Ht)}},t),o.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Ht),s[Ut]&&s[Ut](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=s[sr];a&&(a(),delete s[sr])},t)}function u0(e,t,n,r={}){const s=t==="local",a=o.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Te(z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=W(r.inheritLocale)?r.inheritLocale:!x(r.locale),l=o.ref(!s||i?n.locale.value:x(r.locale)?r.locale:Tt),d=o.ref(!s||i?n.fallbackLocale.value:x(r.fallbackLocale)||de(r.fallbackLocale)||G(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=o.ref(Nn(l.value,r)),f=o.ref(G(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),u=o.ref(G(r.numberFormats)?r.numberFormats:{[l.value]:{}}),m=s?n.missingWarn:W(r.missingWarn)||it(r.missingWarn)?r.missingWarn:!0,y=s?n.fallbackWarn:W(r.fallbackWarn)||it(r.fallbackWarn)?r.fallbackWarn:!0,p=s?n.fallbackRoot:W(r.fallbackRoot)?r.fallbackRoot:!0,h=!!r.fallbackFormat,g=ae(r.missing)?r.missing:null,$=ae(r.postTranslation)?r.postTranslation:null,S=s?n.warnHtmlMessage:W(r.warnHtmlMessage)?r.warnHtmlMessage:!0,_=!!r.escapeParameter,E=s?n.modifiers:G(r.modifiers)?r.modifiers:{},w=r.pluralRules||s&&n.pluralRules;function O(){return[l.value,d.value,c.value,f.value,u.value]}const T=o.computed({get:()=>a.value?a.value.locale.value:l.value,set:N=>{a.value&&(a.value.locale.value=N),l.value=N}}),k=o.computed({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:N=>{a.value&&(a.value.fallbackLocale.value=N),d.value=N}}),C=o.computed(()=>a.value?a.value.messages.value:c.value),D=o.computed(()=>f.value),F=o.computed(()=>u.value);function B(){return a.value?a.value.getPostTranslationHandler():$}function j(N){a.value&&a.value.setPostTranslationHandler(N)}function se(){return a.value?a.value.getMissingHandler():g}function $e(N){a.value&&a.value.setMissingHandler(N)}function Z(N){return O(),N()}function Ce(...N){return a.value?Z(()=>Reflect.apply(a.value.t,null,[...N])):Z(()=>"")}function ge(...N){return a.value?Reflect.apply(a.value.rt,null,[...N]):""}function Ee(...N){return a.value?Z(()=>Reflect.apply(a.value.d,null,[...N])):Z(()=>"")}function Q(...N){return a.value?Z(()=>Reflect.apply(a.value.n,null,[...N])):Z(()=>"")}function ee(N){return a.value?a.value.tm(N):{}}function q(N,M){return a.value?a.value.te(N,M):!1}function ne(N){return a.value?a.value.getLocaleMessage(N):{}}function ve(N,M){a.value&&(a.value.setLocaleMessage(N,M),c.value[N]=M)}function ce(N,M){a.value&&a.value.mergeLocaleMessage(N,M)}function ue(N){return a.value?a.value.getDateTimeFormat(N):{}}function _e(N,M){a.value&&(a.value.setDateTimeFormat(N,M),f.value[N]=M)}function ye(N,M){a.value&&a.value.mergeDateTimeFormat(N,M)}function De(N){return a.value?a.value.getNumberFormat(N):{}}function Oe(N,M){a.value&&(a.value.setNumberFormat(N,M),u.value[N]=M)}function re(N,M){a.value&&a.value.mergeNumberFormat(N,M)}const V={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:k,messages:C,datetimeFormats:D,numberFormats:F,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(N){a.value&&(a.value.inheritLocale=N)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:w},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(N){a.value&&(a.value.missingWarn=N)},get fallbackWarn(){return a.value?a.value.fallbackWarn:y},set fallbackWarn(N){a.value&&(a.value.missingWarn=N)},get fallbackRoot(){return a.value?a.value.fallbackRoot:p},set fallbackRoot(N){a.value&&(a.value.fallbackRoot=N)},get fallbackFormat(){return a.value?a.value.fallbackFormat:h},set fallbackFormat(N){a.value&&(a.value.fallbackFormat=N)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:S},set warnHtmlMessage(N){a.value&&(a.value.warnHtmlMessage=N)},get escapeParameter(){return a.value?a.value.escapeParameter:_},set escapeParameter(N){a.value&&(a.value.escapeParameter=N)},t:Ce,getPostTranslationHandler:B,setPostTranslationHandler:j,getMissingHandler:se,setMissingHandler:$e,rt:ge,d:Ee,n:Q,tm:ee,te:q,getLocaleMessage:ne,setLocaleMessage:ve,mergeLocaleMessage:ce,getDateTimeFormat:ue,setDateTimeFormat:_e,mergeDateTimeFormat:ye,getNumberFormat:De,setNumberFormat:Oe,mergeNumberFormat:re};function L(N){N.locale.value=l.value,N.fallbackLocale.value=d.value,Object.keys(c.value).forEach(M=>{N.mergeLocaleMessage(M,c.value[M])}),Object.keys(f.value).forEach(M=>{N.mergeDateTimeFormat(M,f.value[M])}),Object.keys(u.value).forEach(M=>{N.mergeNumberFormat(M,u.value[M])}),N.escapeParameter=_,N.fallbackFormat=h,N.fallbackRoot=p,N.fallbackWarn=y,N.missingWarn=m,N.warnHtmlMessage=S}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Te(z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const N=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=N.locale.value,d.value=N.fallbackLocale.value,c.value=N.messages.value,f.value=N.datetimeFormats.value,u.value=N.numberFormats.value):s&&L(N)}),V}const f0=["locale","fallbackLocale","availableLocales"],la=["t","rt","d","n","tm","te"];function m0(e,t){const n=Object.create(null);return f0.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw Te(z.UNEXPECTED_ERROR);const i=o.isRef(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,la.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw Te(z.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,la.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}wf();__INTLIFY_JIT_COMPILATION__?Vo(mf):Vo(ff);nf(Mu);rf(Xa);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=nt();e.__INTLIFY__=!0,Wu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const p0={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h0=["fill"],Rr={__name:"IconCross",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",p0,[o.createElementVNode("path",{fill:e.fill,"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,8,h0)]))}},$0={key:"popup-content",class:"pd-small popup-wrapper"},g0={key:0,class:"mn-b-small"},Ss={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function s(){r("close-popup")}return o.watch(()=>n.isPopupOpen,i=>{i?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Nr(),Sr(),Lt({messages:{en:{},ru:{}}}),(i,l)=>(o.openBlock(),o.createBlock(o.Transition,{name:"TransitionTranslateY",appear:""},{default:o.withCtx(()=>[e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[e.isPopupOpen?(o.openBlock(),o.createElementBlock("div",$0,[o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.createElementVNode("section",o.mergeProps({class:"pos-relative z-index-4"},i.$attrs,{class:i.$attrs.class}),[e.title?(o.openBlock(),o.createElementBlock("h4",g0,o.toDisplayString(e.title),1)):o.createCommentVNode("",!0),o.createVNode(Rr,{fill:"rgb(var(--white))",onClick:l[0]||(l[0]=d=>s()),class:"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"}),o.renderSlot(i.$slots,"default")],16)]),_:3}),o.createElementVNode("div",{onClick:l[1]||(l[1]=d=>s()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),_:3}))}},v0=Object.freeze(Object.defineProperty({__proto__:null,default:Ss},Symbol.toStringTag,{value:"Module"})),_0={class:"flex-v-center flex-nowrap flex"},y0={key:0,class:"br-solid br-2px br-grey-transp-25 pos-absolute pos-t-0 pos-r-0 radius-extra w-100 h-100"},b0={key:0,class:"mn-r-auto t-transp mn-r-small"},E0=["name","value","checked"],Mr={__name:"Radio",props:{label:String,name:String,value:!1,radio:[Object,String]},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,s)=>(o.openBlock(),o.createElementBlock("label",_0,[o.createElementVNode("div",{class:o.normalizeClass(["cursor-pointer mn-r-thin radius-extra pd-micro h-100 aspect-1x1 pos-relative",{"bg-main":e.radio===e.value}])},[o.createElementVNode("div",{class:o.normalizeClass(["radius-extra pd-micro w-100 h-100",{"bg-white":e.radio===e.value}])},null,2),e.radio!==e.value?(o.openBlock(),o.createElementBlock("div",y0)):o.createCommentVNode("",!0)],2),e.label?(o.openBlock(),o.createElementBlock("div",b0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:s[0]||(s[0]=a=>r.text=n("update:radio",a.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,E0)]))}},C0=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),O0={key:0,class:"t-transp mn-r-small"},S0={class:"w-100"},N0=["onClick"],T0={key:0,class:"w-100"},w0={key:0,class:"mn-t-thin invalid-feedback"},k0={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){let n=gn;const r=t,s=e,a=o.ref(!1),i=o.ref(s.property?u(s.select,s.property,s.options):s.select),l=o.computed(()=>s.select?s.options.filter(m=>m!==s.select):s.options);o.watch(()=>s.select,m=>{i.value=s.property?u(s.select,s.property,s.options):s.select});const d=()=>{a.value=!a.value,r(a.value?"focus":"blur")};function c(){a.value=!1}const f=m=>{i.value=m,d(),s.property?r("update:select",i.value[s.property]):r("update:select",i.value)};function u(m,y,p){for(const h of p)if(h[y]===m||h===m)return h;return null}return(m,y)=>{var p,h;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives((o.openBlock(),o.createElementBlock("div",{onClick:o.withModifiers(d,["stop"]),class:o.normalizeClass([m.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(o.openBlock(),o.createElementBlock("div",O0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",S0,[o.createElementVNode("span",null,o.toDisplayString((p=i.value)!=null&&p.name?(h=i.value)==null?void 0:h.name:i.value||e.placeholder),1)]),o.createVNode(o.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("ul",{class:o.normalizeClass([m.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,g=>(o.openBlock(),o.createElementBlock("li",{onClick:o.withModifiers($=>f(g),["stop"])},[g?(o.openBlock(),o.createElementBlock("span",T0,o.toDisplayString(g.name||g),1)):o.createCommentVNode("",!0)],8,N0))),256))],2),[[o.vShow,a.value]])]),_:1})],2)),[[o.unref(n),c]]),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",w0," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},Ns=we(k0,[["__scopeId","data-v-bf25c24d"]]),I0=Object.freeze(Object.defineProperty({__proto__:null,default:Ns},Symbol.toStringTag,{value:"Module"}));function Bn(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function L0(e){return(...t)=>!e(...t)}function P0(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function Ts(e,t,n,r){return t?e.filter(s=>P0(r(s,n),t)).sort((s,a)=>r(s,n).length-r(a,n).length):e}function A0(e){return e.filter(t=>!t.$isLabel)}function Vn(e,t){return n=>n.reduce((r,s)=>s[e]&&s[e].length?(r.push({$groupLabel:s[t],$isLabel:!0}),r.concat(s[e])):r,[])}function D0(e,t,n,r,s){return a=>a.map(i=>{if(!i[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=Ts(i[n],e,t,s);return l.length?{[r]:i[r],[n]:l}:[]})}const da=(...e)=>t=>e.reduce((n,r)=>r(n),t),R0={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 Bn(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):Ts(n,t,this.label,this.customLabel):n=this.groupValues?Vn(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(L0(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 da(D0(t,n,this.groupValues,this.groupLabel,this.customLabel),Vn(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return da(Vn(this.groupValues,this.groupLabel),A0)(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(Bn(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Bn(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))}}},M0={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}}},F0={name:"vue-multiselect",mixins:[R0,M0],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)}}},x0=["tabindex","aria-owns"],B0={ref:"tags",class:"multiselect__tags"},V0={class:"multiselect__tags-wrap"},U0=["textContent"],j0=["onKeypress","onMousedown"],H0=["textContent"],G0={class:"multiselect__spinner"},W0=["name","id","placeholder","value","disabled","tabindex","aria-controls"],K0=["id"],z0={key:0},Y0={class:"multiselect__option"},q0=["id","role"],X0=["onClick","onMouseenter","data-select","data-selected","data-deselect"],J0=["data-select","data-deselect","onMouseenter","onMousedown"],Z0={class:"multiselect__option"},Q0={class:"multiselect__option"};function e1(e,t,n,r,s,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 flex flex-v-center"]),onFocus:t[13]||(t[13]=i=>e.activate()),onBlur:t[14]||(t[14]=i=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(i=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(i=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(i=>e.addPointerElement(i),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(i=>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(i=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",B0,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",V0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.visibleValues,(i,l)=>o.renderSlot(e.$slots,"tag",{option:i,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:l},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(i))},null,8,U0),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(d=>e.removeElement(i),["prevent"]),["enter"]),onMousedown:o.withModifiers(d=>e.removeElement(i),["prevent"]),class:"multiselect__tag-icon"},null,40,j0)]))])),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,H0)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",G0,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]=i=>e.updateSearch(i.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(i=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(i=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(i=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(i=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(i=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(i=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(i=>e.addPointerElement(i),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,W0)):o.createCommentVNode("",!0),a.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...i)=>e.toggle&&e.toggle(...i),["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((...i)=>e.toggle&&e.toggle(...i),["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]=(...i)=>e.activate&&e.activate(...i)),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",z0,[o.createElementVNode("span",Y0,[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,(i,l)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:i&&(i.$isLabel||i.$isDisabled)?null:"option"},[i&&(i.$isLabel||i.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(l,i),"multiselect__option"]),onClick:o.withModifiers(d=>e.select(i),["stop"]),onMouseenter:o.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":i&&i.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:i,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(i)),1)])],42,X0)),i&&(i.$isLabel||i.$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(l,i),"multiselect__option"]),onMouseenter:o.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:o.withModifiers(d=>e.selectGroup(i),["prevent"])},[o.renderSlot(e.$slots,"option",{option:i,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(i)),1)])],42,J0)):o.createCommentVNode("",!0)],8,q0))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",Z0,[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",Q0,[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,K0)],38),[[o.vShow,e.isOpen]])]),_:3})],42,x0)}const ws=we(F0,[["render",e1]]),t1=Object.freeze(Object.defineProperty({__proto__:null,default:ws},Symbol.toStringTag,{value:"Module"})),n1={key:0,class:"spoiler"},ks={__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,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:s[0]||(s[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header",{isOpen:n.value})]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",n1,[o.renderSlot(r.$slots,"content")])):o.createCommentVNode("",!0)]),_:3})]))}},r1=Object.freeze(Object.defineProperty({__proto__:null,default:ks},Symbol.toStringTag,{value:"Module"})),o1={class:"flex-nowrap flex-v-center flex pos-relative"},a1=["onClick"],Is={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,s=o.ref(0);if(r.selected){const i=r.tabs.findIndex(l=>l.value===r.selected);i!==-1&&(s.value=i)}function a(i,l){s.value=i,n("update:selected",l.value),r.callback&&r.callback()}return(i,l)=>(o.openBlock(),o.createElementBlock("div",o1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(d,c)=>(o.openBlock(),o.createElementBlock("div",{key:c,onClick:f=>a(c,d),class:o.normalizeClass([{"t-transp":c!==s.value,"br-solid br-b-3px br-main":c===s.value},"z-index-1 t-center pd-small w-max"])},[o.createElementVNode("label",null,o.toDisplayString(d.name),1)],10,a1))),128))]))}},s1=Object.freeze(Object.defineProperty({__proto__:null,default:Is},Symbol.toStringTag,{value:"Module"})),i1={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.reactive({position:"absolute",width:"max-content",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 s(){t.value=!1,n.display="none"}return(a,i)=>(o.openBlock(),o.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:s},[o.renderSlot(a.$slots,"default",{},void 0,!0),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},Ls=we(i1,[["__scopeId","data-v-f89d5a93"]]),l1=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"})),d1={key:0,class:"cursor-pointer t-second"},Ps={__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),s=o.computed(()=>t.text),a=()=>{n.value=!n.value},i=o.computed(()=>n.value?s.value:r.value),l=o.computed(()=>t.text.length>t.maxLen),d=o.computed(()=>n.value?"Hide":"Show more");return(c,f)=>(o.openBlock(),o.createElementBlock("span",{onClick:a,class:""},[o.createTextVNode(o.toDisplayString(i.value)+" ",1),l.value&&e.showToggleText?(o.openBlock(),o.createElementBlock("span",d1,o.toDisplayString(d.value),1)):o.createCommentVNode("",!0)]))}},c1=Object.freeze(Object.defineProperty({__proto__:null,default:Ps},Symbol.toStringTag,{value:"Module"}));function As(e,t){return function(){return e.apply(t,arguments)}}const{toString:u1}=Object.prototype,{getPrototypeOf:Fr}=Object,Tn=(e=>t=>{const n=u1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xe=e=>(e=e.toLowerCase(),t=>Tn(t)===e),wn=e=>t=>typeof t===e,{isArray:Pt}=Array,Gt=wn("undefined");function f1(e){return e!==null&&!Gt(e)&&e.constructor!==null&&!Gt(e.constructor)&&Ue(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ds=Xe("ArrayBuffer");function m1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ds(e.buffer),t}const p1=wn("string"),Ue=wn("function"),Rs=wn("number"),kn=e=>e!==null&&typeof e=="object",h1=e=>e===!0||e===!1,an=e=>{if(Tn(e)!=="object")return!1;const t=Fr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$1=Xe("Date"),g1=Xe("File"),v1=Xe("Blob"),_1=Xe("FileList"),y1=e=>kn(e)&&Ue(e.pipe),b1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ue(e.append)&&((t=Tn(e))==="formdata"||t==="object"&&Ue(e.toString)&&e.toString()==="[object FormData]"))},E1=Xe("URLSearchParams"),C1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Pt(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let l;for(r=0;r<i;r++)l=a[r],t.call(null,e[l],l,e)}}function Ms(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xs=e=>!Gt(e)&&e!==Fs;function dr(){const{caseless:e}=xs(this)&&this||{},t={},n=(r,s)=>{const a=e&&Ms(t,s)||s;an(t[a])&&an(r)?t[a]=dr(t[a],r):an(r)?t[a]=dr({},r):Pt(r)?t[a]=r.slice():t[a]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&qt(arguments[r],n);return t}const O1=(e,t,n,{allOwnKeys:r}={})=>(qt(t,(s,a)=>{n&&Ue(s)?e[a]=As(s,n):e[a]=s},{allOwnKeys:r}),e),S1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),N1=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},T1=(e,t,n,r)=>{let s,a,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)i=s[a],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Fr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},w1=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},k1=e=>{if(!e)return null;if(Pt(e))return e;let t=e.length;if(!Rs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},I1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fr(Uint8Array)),L1=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},P1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},A1=Xe("HTMLFormElement"),D1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ca=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R1=Xe("RegExp"),Bs=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qt(n,(s,a)=>{let i;(i=t(s,a,e))!==!1&&(r[a]=i||s)}),Object.defineProperties(e,r)},M1=e=>{Bs(e,(t,n)=>{if(Ue(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ue(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},F1=(e,t)=>{const n={},r=s=>{s.forEach(a=>{n[a]=!0})};return Pt(e)?r(e):r(String(e).split(t)),n},x1=()=>{},B1=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Un="abcdefghijklmnopqrstuvwxyz",ua="0123456789",Vs={DIGIT:ua,ALPHA:Un,ALPHA_DIGIT:Un+Un.toUpperCase()+ua},V1=(e=16,t=Vs.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function U1(e){return!!(e&&Ue(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const j1=e=>{const t=new Array(10),n=(r,s)=>{if(kn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const a=Pt(r)?[]:{};return qt(r,(i,l)=>{const d=n(i,s+1);!Gt(d)&&(a[l]=d)}),t[s]=void 0,a}}return r};return n(e,0)},H1=Xe("AsyncFunction"),G1=e=>e&&(kn(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),P={isArray:Pt,isArrayBuffer:Ds,isBuffer:f1,isFormData:b1,isArrayBufferView:m1,isString:p1,isNumber:Rs,isBoolean:h1,isObject:kn,isPlainObject:an,isUndefined:Gt,isDate:$1,isFile:g1,isBlob:v1,isRegExp:R1,isFunction:Ue,isStream:y1,isURLSearchParams:E1,isTypedArray:I1,isFileList:_1,forEach:qt,merge:dr,extend:O1,trim:C1,stripBOM:S1,inherits:N1,toFlatObject:T1,kindOf:Tn,kindOfTest:Xe,endsWith:w1,toArray:k1,forEachEntry:L1,matchAll:P1,isHTMLForm:A1,hasOwnProperty:ca,hasOwnProp:ca,reduceDescriptors:Bs,freezeMethods:M1,toObjectSet:F1,toCamelCase:D1,noop:x1,toFiniteNumber:B1,findKey:Ms,global:Fs,isContextDefined:xs,ALPHABET:Vs,generateString:V1,isSpecCompliantForm:U1,toJSONObject:j1,isAsyncFn:H1,isThenable:G1};function Y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}P.inherits(Y,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:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Us=Y.prototype,js={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{js[e]={value:e}});Object.defineProperties(Y,js);Object.defineProperty(Us,"isAxiosError",{value:!0});Y.from=(e,t,n,r,s,a)=>{const i=Object.create(Us);return P.toFlatObject(e,i,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),Y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const W1=null;function cr(e){return P.isPlainObject(e)||P.isArray(e)}function Hs(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function fa(e,t,n){return e?e.concat(t).map(function(s,a){return s=Hs(s),!n&&a?"["+s+"]":s}).join(n?".":""):t}function K1(e){return P.isArray(e)&&!e.some(cr)}const z1=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function In(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!P.isUndefined(g[h])});const r=n.metaTokens,s=n.visitor||f,a=n.dots,i=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(s))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(P.isDate(p))return p.toISOString();if(!d&&P.isBlob(p))throw new Y("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(p)||P.isTypedArray(p)?d&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,h,g){let $=p;if(p&&!g&&typeof p=="object"){if(P.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(P.isArray(p)&&K1(p)||(P.isFileList(p)||P.endsWith(h,"[]"))&&($=P.toArray(p)))return h=Hs(h),$.forEach(function(_,E){!(P.isUndefined(_)||_===null)&&t.append(i===!0?fa([h],E,a):i===null?h:h+"[]",c(_))}),!1}return cr(p)?!0:(t.append(fa(g,h,a),c(p)),!1)}const u=[],m=Object.assign(z1,{defaultVisitor:f,convertValue:c,isVisitable:cr});function y(p,h){if(!P.isUndefined(p)){if(u.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(p),P.forEach(p,function($,S){(!(P.isUndefined($)||$===null)&&s.call(t,$,P.isString(S)?S.trim():S,h,m))===!0&&y($,h?h.concat(S):[S])}),u.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return y(e),t}function ma(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function xr(e,t){this._pairs=[],e&&In(e,this,t)}const Gs=xr.prototype;Gs.append=function(t,n){this._pairs.push([t,n])};Gs.toString=function(t){const n=t?function(r){return t.call(this,r,ma)}:ma;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Y1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ws(e,t,n){if(!t)return e;const r=n&&n.encode||Y1,s=n&&n.serialize;let a;if(s?a=s(t,n):a=P.isURLSearchParams(t)?t.toString():new xr(t,n).toString(r),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class pa{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ks={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},q1=typeof URLSearchParams<"u"?URLSearchParams:xr,X1=typeof FormData<"u"?FormData:null,J1=typeof Blob<"u"?Blob:null,Z1={isBrowser:!0,classes:{URLSearchParams:q1,FormData:X1,Blob:J1},protocols:["http","https","file","blob","url","data"]},zs=typeof window<"u"&&typeof document<"u",Q1=(e=>zs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),e2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",t2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zs,hasStandardBrowserEnv:Q1,hasStandardBrowserWebWorkerEnv:e2},Symbol.toStringTag,{value:"Module"})),Ye={...t2,...Z1};function n2(e,t){return In(e,new Ye.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,a){return Ye.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function r2(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function o2(e){const t={},n=Object.keys(e);let r;const s=n.length;let a;for(r=0;r<s;r++)a=n[r],t[a]=e[a];return t}function Ys(e){function t(n,r,s,a){let i=n[a++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),d=a>=n.length;return i=!i&&P.isArray(s)?s.length:i,d?(P.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!P.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],a)&&P.isArray(s[i])&&(s[i]=o2(s[i])),!l)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,s)=>{t(r2(r),s,n,0)}),n}return null}function a2(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xt={transitional:Ks,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,a=P.isObject(t);if(a&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return s?JSON.stringify(Ys(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return n2(t,this.formSerializer).toString();if((l=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return In(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||s?(n.setContentType("application/json",!1),a2(t)):t}],transformResponse:[function(t){const n=this.transitional||Xt.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&P.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?Y.from(l,Y.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:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{Xt.headers[e]={}});const s2=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),i2=e=>{const t={};let n,r,s;return e&&e.split(`
|
33
|
+
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&s2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ha=Symbol("internals");function Rt(e){return e&&String(e).trim().toLowerCase()}function sn(e){return e===!1||e==null?e:P.isArray(e)?e.map(sn):String(e)}function l2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const d2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jn(e,t,n,r,s){if(P.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function c2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u2(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,a,i){return this[r].call(this,t,s,a,i)},configurable:!0})})}class je{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function a(l,d,c){const f=Rt(d);if(!f)throw new Error("header name must be a non-empty string");const u=P.findKey(s,f);(!u||s[u]===void 0||c===!0||c===void 0&&s[u]!==!1)&&(s[u||d]=sn(l))}const i=(l,d)=>P.forEach(l,(c,f)=>a(c,f,d));return P.isPlainObject(t)||t instanceof this.constructor?i(t,n):P.isString(t)&&(t=t.trim())&&!d2(t)?i(i2(t),n):t!=null&&a(n,t,r),this}get(t,n){if(t=Rt(t),t){const r=P.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return l2(s);if(P.isFunction(n))return n.call(this,s,r);if(P.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Rt(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||jn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function a(i){if(i=Rt(i),i){const l=P.findKey(r,i);l&&(!n||jn(r,r[l],l,n))&&(delete r[l],s=!0)}}return P.isArray(t)?t.forEach(a):a(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const a=n[r];(!t||jn(this,this[a],a,t,!0))&&(delete this[a],s=!0)}return s}normalize(t){const n=this,r={};return P.forEach(this,(s,a)=>{const i=P.findKey(r,a);if(i){n[i]=sn(s),delete n[a];return}const l=t?c2(a):String(a).trim();l!==a&&delete n[a],n[l]=sn(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
34
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ha]=this[ha]={accessors:{}}).accessors,s=this.prototype;function a(i){const l=Rt(i);r[l]||(u2(s,i),r[l]=!0)}return P.isArray(t)?t.forEach(a):a(t),this}}je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.reduceDescriptors(je.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});P.freezeMethods(je);function Hn(e,t){const n=this||Xt,r=t||n,s=je.from(r.headers);let a=r.data;return P.forEach(e,function(l){a=l.call(n,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function qs(e){return!!(e&&e.__CANCEL__)}function Jt(e,t,n){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,n),this.name="CanceledError"}P.inherits(Jt,Y,{__CANCEL__:!0});function f2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const m2=Ye.hasStandardBrowserEnv?{write(e,t,n,r,s,a){const i=[e+"="+encodeURIComponent(t)];P.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),P.isString(r)&&i.push("path="+r),P.isString(s)&&i.push("domain="+s),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function p2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Xs(e,t){return e&&!p2(t)?h2(e,t):t}const $2=Ye.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(a){let i=a;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=P.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function g2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function v2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,a=0,i;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),f=r[a];i||(i=c),n[s]=d,r[s]=c;let u=a,m=0;for(;u!==s;)m+=n[u++],u=u%e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),c-i<t)return;const y=f&&c-f;return y?Math.round(m*1e3/y):void 0}}function $a(e,t){let n=0;const r=v2(50,250);return s=>{const a=s.loaded,i=s.lengthComputable?s.total:void 0,l=a-n,d=r(l),c=a<=i;n=a;const f={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:d||void 0,estimated:d&&i&&c?(i-a)/d:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}const _2=typeof XMLHttpRequest<"u",y2=_2&&function(e){return new Promise(function(n,r){let s=e.data;const a=je.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,d;function c(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}let f;if(P.isFormData(s)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((f=a.getContentType())!==!1){const[h,...g]=f?f.split(";").map($=>$.trim()).filter(Boolean):[];a.setContentType([h||"multipart/form-data",...g].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(h+":"+g))}const m=Xs(e.baseURL,e.url);u.open(e.method.toUpperCase(),Ws(m,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function y(){if(!u)return;const h=je.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),$={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};f2(function(_){n(_),c()},function(_){r(_),c()},$),u=null}if("onloadend"in u?u.onloadend=y:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(y)},u.onabort=function(){u&&(r(new Y("Request aborted",Y.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const $=e.transitional||Ks;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),r(new Y(g,$.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,u)),u=null},Ye.hasStandardBrowserEnv&&(l&&P.isFunction(l)&&(l=l(e)),l||l!==!1&&$2(m))){const h=e.xsrfHeaderName&&e.xsrfCookieName&&m2.read(e.xsrfCookieName);h&&a.set(e.xsrfHeaderName,h)}s===void 0&&a.setContentType(null),"setRequestHeader"in u&&P.forEach(a.toJSON(),function(g,$){u.setRequestHeader($,g)}),P.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&i!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",$a(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",$a(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=h=>{u&&(r(!h||h.type?new Jt(null,e,u):h),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const p=g2(m);if(p&&Ye.protocols.indexOf(p)===-1){r(new Y("Unsupported protocol "+p+":",Y.ERR_BAD_REQUEST,e));return}u.send(s||null)})},ur={http:W1,xhr:y2};P.forEach(ur,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ga=e=>`- ${e}`,b2=e=>P.isFunction(e)||e===null||e===!1,Js={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let a=0;a<t;a++){n=e[a];let i;if(r=n,!b2(n)&&(r=ur[(i=String(n)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+a]=r}if(!r){const a=Object.entries(s).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
|
35
|
+
`+a.map(ga).join(`
|
36
|
+
`):" "+ga(a[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ur};function Gn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Jt(null,e)}function va(e){return Gn(e),e.headers=je.from(e.headers),e.data=Hn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Js.getAdapter(e.adapter||Xt.adapter)(e).then(function(r){return Gn(e),r.data=Hn.call(e,e.transformResponse,r),r.headers=je.from(r.headers),r},function(r){return qs(r)||(Gn(e),r&&r.response&&(r.response.data=Hn.call(e,e.transformResponse,r.response),r.response.headers=je.from(r.response.headers))),Promise.reject(r)})}const _a=e=>e instanceof je?{...e}:e;function wt(e,t){t=t||{};const n={};function r(c,f,u){return P.isPlainObject(c)&&P.isPlainObject(f)?P.merge.call({caseless:u},c,f):P.isPlainObject(f)?P.merge({},f):P.isArray(f)?f.slice():f}function s(c,f,u){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c,u)}else return r(c,f,u)}function a(c,f){if(!P.isUndefined(f))return r(void 0,f)}function i(c,f){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const d={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,f)=>s(_a(c),_a(f),!0)};return P.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=d[f]||s,m=u(e[f],t[f],f);P.isUndefined(m)&&u!==l||(n[f]=m)}),n}const Zs="1.6.8",Br={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Br[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ya={};Br.transitional=function(t,n,r){function s(a,i){return"[Axios v"+Zs+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,l)=>{if(t===!1)throw new Y(s(i," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!ya[i]&&(ya[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,i,l):!0}};function E2(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const a=r[s],i=t[a];if(i){const l=e[a],d=l===void 0||i(l,a,e);if(d!==!0)throw new Y("option "+a+" must be "+d,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+a,Y.ERR_BAD_OPTION)}}const fr={assertOptions:E2,validators:Br},st=fr.validators;class ft{constructor(t){this.defaults=t,this.interceptors={request:new pa,response:new pa}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const a=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
37
|
+
`+a):r.stack=a}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wt(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:a}=n;r!==void 0&&fr.assertOptions(r,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean)},!1),s!=null&&(P.isFunction(s)?n.paramsSerializer={serialize:s}:fr.assertOptions(s,{encode:st.function,serialize:st.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&P.merge(a.common,a[n.method]);a&&P.forEach(["delete","get","head","post","put","patch","common"],p=>{delete a[p]}),n.headers=je.concat(i,a);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,u=0,m;if(!d){const p=[va.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),m=p.length,f=Promise.resolve(n);u<m;)f=f.then(p[u++],p[u++]);return f}m=l.length;let y=n;for(u=0;u<m;){const p=l[u++],h=l[u++];try{y=p(y)}catch(g){h.call(this,g);break}}try{f=va.call(this,y)}catch(p){return Promise.reject(p)}for(u=0,m=c.length;u<m;)f=f.then(c[u++],c[u++]);return f}getUri(t){t=wt(this.defaults,t);const n=Xs(t.baseURL,t.url);return Ws(n,t.params,t.paramsSerializer)}}P.forEach(["delete","get","head","options"],function(t){ft.prototype[t]=function(n,r){return this.request(wt(r||{},{method:t,url:n,data:(r||{}).data}))}});P.forEach(["post","put","patch"],function(t){function n(r){return function(a,i,l){return this.request(wt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}ft.prototype[t]=n(),ft.prototype[t+"Form"]=n(!0)});class Vr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(s=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](s);r._listeners=null}),this.promise.then=s=>{let a;const i=new Promise(l=>{r.subscribe(l),a=l}).then(s);return i.cancel=function(){r.unsubscribe(a)},i},t(function(a,i,l){r.reason||(r.reason=new Jt(a,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Vr(function(s){t=s}),cancel:t}}}function C2(e){return function(n){return e.apply(null,n)}}function O2(e){return P.isObject(e)&&e.isAxiosError===!0}const mr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mr).forEach(([e,t])=>{mr[t]=e});function Qs(e){const t=new ft(e),n=As(ft.prototype.request,t);return P.extend(n,ft.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Qs(wt(e,s))},n}const he=Qs(Xt);he.Axios=ft;he.CanceledError=Jt;he.CancelToken=Vr;he.isCancel=qs;he.VERSION=Zs;he.toFormData=In;he.AxiosError=Y;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=C2;he.isAxiosError=O2;he.mergeConfig=wt;he.AxiosHeaders=je;he.formToJSON=e=>Ys(P.isHTMLForm(e)?new FormData(e):e);he.getAdapter=Js.getAdapter;he.HttpStatusCode=mr;he.default=he;const S2={key:0,class:"t-transp mn-r-small"},N2={key:1,class:"flex-nowrap flex w-100 flex-v-center"},T2=["href"],w2={key:2,class:"w-100"},k2=["placeholder","multiple"],I2={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},L2={__name:"Upload",props:{field:String,label:null,type:"file",placeholder:"Upload a file",validation:!1,uploadPath:{type:String,default:"/files"},multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=t,r=e,s=o.ref(r.field);o.ref(null),o.watch(()=>r.field,l=>{s.value=l});async function a(l){let d=l.target.files[0],c=new FormData;c.append("file",d);try{let u=await he.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(r.uploadPath)}`,c,{headers:{"Content-Type":"multipart/form-data"}});console.log(u.data),s.value=u.data[0].filepath,n("file-change",s.value)}catch(f){console.error(f)}}const i=()=>{s.value=null,n("update:field",null),n("file-change",null)};return(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",S2,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),s.value?(o.openBlock(),o.createElementBlock("div",N2,[o.createElementVNode("a",{href:s.value,class:"w-100",target:"_blank"},o.toDisplayString(s.value),9,T2),o.createVNode(Rr,{onClick:i,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(o.openBlock(),o.createElementBlock("div",w2,[o.createElementVNode("input",{onChange:a,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,k2)]))],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",I2," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},ei=we(L2,[["__scopeId","data-v-d8ca273c"]]),P2=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),A2=["src"],D2={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},R2=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:"rgb(var(--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),M2=[R2],ti={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=o.ref(null),r=o.ref(null),s=e,a=t;o.watch(s,({photo:c})=>{c&&(n.value=c)});function i(){r.value.click()}async function l(c){let f=c.target.files[0];if(!f){console.error("No file selected");return}let u=new FormData;u.append("file",f),console.log("Sending file:",f.name);try{let y=await he.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(s.uploadPath)}`,u);console.log("Upload response:",y),n.value=y.data[0].filepath,a("update:photo",n.value)}catch(m){console.error("Upload error:",m)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:i,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[n.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,src:(c.FILE_SERVER_URL||"")+(n.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,A2)):(o.openBlock(),o.createElementBlock("div",D2,M2)),o.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},F2=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"})),x2={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B2=["fill"],V2=["fill"],U2={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",x2,[o.createElementVNode("path",{fill:e.fill,d:"M18.0196 16.645C17.3501 17.3144 17.3501 18.3999 18.0196 19.0693C18.689 19.7388 19.7745 19.7388 20.4439 19.0693L22.6603 16.8529V26.4286C22.6603 27.3754 23.4278 28.1429 24.3746 28.1429C25.3214 28.1429 26.0889 27.3754 26.0889 26.4286V16.8529L28.3053 19.0693C28.9747 19.7388 30.0602 19.7388 30.7296 19.0693C31.399 18.3999 31.399 17.3144 30.7296 16.645L25.5868 11.5021C24.9173 10.8327 23.8318 10.8327 23.1624 11.5021L18.0196 16.645Z"},null,8,B2),o.createElementVNode("path",{fill:e.fill,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.3746 0.714294C16.9516 0.714294 10.7548 5.95521 9.27936 12.9394C4.19731 13.976 0.374592 18.4695 0.374592 23.8572C0.374592 30.0113 5.36342 35 11.5174 35H37.2317C43.3857 35 48.3746 30.0113 48.3746 23.8572C48.3746 18.4695 44.5519 13.976 39.4699 12.9394C37.9944 5.95521 31.7976 0.714294 24.3746 0.714294ZM12.4643 14.6667C13.1906 8.73646 18.2474 4.14287 24.3746 4.14287C30.5018 4.14287 35.5586 8.73646 36.2849 14.6667C36.384 15.4757 37.0387 16.1029 37.8511 16.1672C41.821 16.4818 44.946 19.8053 44.946 23.8572C44.946 28.1177 41.4922 31.5714 37.2317 31.5714H11.5174C7.25697 31.5714 3.80316 28.1177 3.80316 23.8572C3.80316 19.8053 6.92808 16.4818 10.8981 16.1672C11.7104 16.1029 12.3652 15.4757 12.4643 14.6667Z"},null,8,V2)]))}},j2={key:0,class:"t-center"},H2={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},G2={key:1,class:"mn-b-thin t-transp d-block"},W2={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},K2={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},z2={key:4,class:"uppercase p-small t-medium d-block"},ni={__name:"UploadImageMultiple",props:{uploadPath:{type:Object,required:!0},options:{type:Object,default:()=>({mimeType:["jpg","png","gif"],maxSize:10*1024*1024,showText:!0,showTitle:!0})},text:{type:Object,default:()=>({title:"Drag & Drop Your Images Here",subtitle:"Files supported: JPG, PNG, GIF"})}},emits:["update:images"],setup(e,{emit:t}){const n=o.ref([]),r=o.ref(!1),s=o.ref(null),a=e,i=t;function l(){s.value.click()}async function d(f){r.value=!0;let u=f.target.files,m=new FormData;for(const y of u)m.append("file",y);try{(await he.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(h=>{n.value.push(h.filepath)}),i("update:images",n.value),r.value=!1}catch(y){console.error(y),r.value=!1}}function c(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,u)=>(o.openBlock(),o.createElementBlock("div",{onClick:l,onDrop:c,onDragover:u[0]||(u[0]=o.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[o.createVNode(o.Transition,{name:"moveFromTop",mode:"out-in"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createBlock(Yt,{key:1,class:"pos-absolute"})):(o.openBlock(),o.createElementBlock("div",j2,[o.createVNode(U2,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(o.openBlock(),o.createElementBlock("span",H2,o.toDisplayString(e.text.title),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",G2,o.toDisplayString(e.text.subtitle),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",W2,"or")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("button",K2,"Browse Files")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",z2,"Maximum size: 2MB")):o.createCommentVNode("",!0)]))]),_:1}),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:s,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},Y2=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"})),ri={en:"🌎 EN",ru:"🇷🇺 RU",zh:"🇨🇳 ZH",fr:"🇫🇷 FR",de:"🇩🇪 DE",it:"🇮🇹 IT"},oi={};for(const e of Object.keys(ri))oi[e]={};const ai=r0({locale:"en",fallbackLocale:{en:["en-default"],ru:["ru-default"],zh:["zh-default"],fr:["fr-default"],de:["de-default"],it:["it-default"]},legacy:!1,globalInjection:!0,warnHtmlMessage:!1,missingWarn:!1,fallbackWarn:!1,messages:oi,availableLocales:Object.keys(ri)}),q2={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},X2={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J2=o.createElementVNode("path",{fill:"rgb(var(--black))",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),Z2=[J2],Q2={key:2},em={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tm=o.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"rgb(var(--black))"},null,-1),nm=[tm],si={__name:"Breadcrumbs",setup(e){const t=Nr(),{t:n,locale:r}=Lt(),s=o.computed(()=>t.matched.map(a=>{var u,m,y;const i=(u=a.meta)==null?void 0:u.title,l=r==null?void 0:r.value,d=i&&l&&i[l],c=a.path.replace(/:.+?\//g,p=>""),f=(y=(m=a.meta)==null?void 0:m.breadcrumbs)==null?void 0:y.hidden;return{name:d,path:c,isHidden:f}}).filter(a=>a.name&&!a.isHidden));return(a,i)=>{const l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ol",q2,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":c===s.value.length-1}])},[c===0?(o.openBlock(),o.createElementBlock("svg",X2,Z2)):o.createCommentVNode("",!0),c!==s.value.length-1?(o.openBlock(),o.createBlock(l,{key:1,to:c===0?"/":d.path},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(d.name),1)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",Q2,o.toDisplayString(d.name),1)),c!==s.value.length-1?(o.openBlock(),o.createElementBlock("svg",em,nm)):o.createCommentVNode("",!0)],2))),128))])}}},rm=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"})),om={class:"t-trimmed font-main"},am={class:"font-main t-truncate"},sm={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},im={__name:"Chips",props:["chips"],setup(e){return(t,n)=>{var r;return o.openBlock(),o.createElementBlock("div",om,[(r=e.chips)!=null&&r.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.chips,(s,a)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([t.$attrs.class||"p-medium","mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-main"])},[o.createElementVNode("span",am,o.toDisplayString(s.text?s.text:s),1)],2))),256)):(o.openBlock(),o.createElementBlock("div",sm,[o.renderSlot(t.$slots,"default",{},void 0,!0)]))])}}},ii=we(im,[["__scopeId","data-v-20cd2675"]]),lm=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"})),dm={class:"gap-thin flex-nowrap flex flex-center"},cm={key:0,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small"},um=o.createElementVNode("p",{class:"p-small t-transp"},"Offer is over",-1),fm=[um],mm={key:1,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},pm={class:"p-big"},hm=o.createElementVNode("p",{class:"p-small t-transp"},"Days",-1),$m={key:2,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},gm={class:"p-big"},vm=o.createElementVNode("p",{class:"p-small t-transp"},"hours",-1),_m={key:3,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},ym={class:"p-big"},bm=o.createElementVNode("p",{class:"p-small t-transp"},"minutes",-1),Em={key:4,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},Cm={class:"p-big"},Om=o.createElementVNode("p",{class:"p-small t-transp"},"seconds",-1),li={__name:"Countdown",props:["date"],setup(e){const t=e,n=new Date(t.date).getTime(),r=o.ref(new Date().getTime());let s;const a=o.ref(0),i=o.ref(0),l=o.ref(0),d=o.ref(0),c=o.ref(!1),f=()=>{const u=n-r.value;u<=0?(a.value=0,i.value=0,l.value=0,d.value=0,c.value=!0,clearInterval(s)):(a.value=Math.floor(u/(1e3*60*60*24)),i.value=Math.floor(u%(1e3*60*60*24)/(1e3*60*60)),l.value=Math.floor(u%(1e3*60*60)/(1e3*60)),d.value=Math.floor(u%(1e3*60)/1e3))};return f(),o.onMounted(()=>{s=setInterval(()=>{r.value=new Date().getTime(),f()},1e3)}),o.onBeforeUnmount(()=>{clearInterval(s)}),(u,m)=>(o.openBlock(),o.createElementBlock("div",dm,[c.value?(o.openBlock(),o.createElementBlock("div",cm,fm)):o.createCommentVNode("",!0),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",mm,[o.createElementVNode("p",pm,o.toDisplayString(a.value),1),hm])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",$m,[o.createElementVNode("p",gm,o.toDisplayString(i.value),1),vm])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",_m,[o.createElementVNode("p",ym,o.toDisplayString(l.value),1),bm])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Em,[o.createElementVNode("p",Cm,o.toDisplayString(d.value),1),Om]))]))}},Sm=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),Nm=["onClick"],Tm={class:"t-transp"},di={__name:"DatePicker",props:["date","locale"],setup(e,{emit:t}){const n=t,r=e,s=o.ref(null);let a;if(r.date){const m=parseInt(r.date.substring(0,2)),y=parseInt(r.date.substring(2,4))-1,p=parseInt(r.date.substring(4));a=new Date(p,y,m),console.log("Data"+a)}else a=new Date,console.log("No data"+a);a.setHours(0,0,0,0);const i=o.ref(new Date(a)),l=u(a,30);o.onMounted(()=>{if(s.value){const m=s.value.getElementsByClassName("selected")[0]||s.value.getElementsByClassName("bg-main")[0];m&&(s.value.scrollLeft=m.offsetLeft-s.value.offsetWidth/2+m.offsetWidth/2)}});function d(m){i.value=m;const y=c(m);n("update:date",y)}function c(m){return`${m.getDate().toString().padStart(2,"0")}${(m.getMonth()+1).toString().padStart(2,"0")}${m.getFullYear()}`}function f(m){return m.toLocaleDateString(r.locale?r.locale:"en",{weekday:"narrow"}).toUpperCase()}function u(m,y){const p=[];for(let h=-15;h<y-15;h++){const g=new Date(m);g.setDate(m.getDate()+h),g.setHours(0,0,0,0),p.push(g)}return p}return(m,y)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{class:"w-100 scroller o-scroll scroll-snap-type-x-mandatory scroll-pd-regular scroll-hide flex-nowrap flex",ref_key:"scrollContainer",ref:s},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),p=>(o.openBlock(),o.createElementBlock("div",{key:p.toString(),onClick:h=>d(p),class:o.normalizeClass([{selected:i.value.toDateString()===p.toDateString()},"cursor-pointer scroll-snap-align-start mn-r-small mn-l-small flex-column flex-center flex"])},[o.createElementVNode("span",Tm,o.toDisplayString(f(p)),1),o.createElementVNode("span",{class:o.normalizeClass([{"bg-main":i.value.toDateString()===p.toDateString()},"transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])},o.toDisplayString(p.getDate()),3)],10,Nm))),128))],512)]))}},wm=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"})),km={class:"mn-b-regular"},Im={class:"mn-b-small t-transp p-medium"},Ur={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("section",null,[o.createElementVNode("h3",km,o.toDisplayString(e.title),1),o.createElementVNode("p",Im,o.toDisplayString(e.description),1),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...r)=>e.callback&&e.callback(...r)),class:"t-white bg-second w-100 button"},o.toDisplayString(e.action),1)):o.createCommentVNode("",!0)]))}},Lm=Object.freeze(Object.defineProperty({__proto__:null,default:Ur},Symbol.toStringTag,{value:"Module"})),Pm={},Am={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},Dm=o.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),Rm=[Dm];function Mm(e,t){return o.openBlock(),o.createElementBlock("svg",Am,Rm)}const Fm=we(Pm,[["render",Mm]]),xm={class:"calendar"},Bm={key:0,class:"br-b br-solid br-grey-transp-25 gap-thin flex flex-nowrap pd-thin"},Vm={class:"pd-thin flex flex-nowrap flex-v-center flex-justify-between"},Um={class:"t-semi"},jm={class:"pd-thin calendar__body"},Hm={class:"calendar__week"},Gm={class:"gap-micro calendar__dates"},Wm=["onClick"],Km={__name:"Calendar",props:o.mergeModels({modelValue:[Date,Object],allowRange:Boolean},{date:{},dateModifiers:{}}),emits:o.mergeModels(["update:modelValue"],["update:date"]),setup(e,{emit:t}){const n=e,r=o.useModel(e,"date"),s=new Date,a=o.ref(s),i=o.ref(null),l=o.ref(null),d=o.ref(null),c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],f=C=>new Date(Date.UTC(C.getFullYear(),C.getMonth(),C.getDate())),u=C=>new Date(Date.UTC(C.getFullYear(),C.getMonth(),C.getDate(),23,59,59)),m=o.computed(()=>{const C=a.value.toLocaleString("default",{month:"long",timeZone:"UTC"}),D=a.value.getUTCFullYear();return`${C} ${D}`}),y=o.computed(()=>{const C=[],D=new Date(Date.UTC(a.value.getUTCFullYear(),a.value.getUTCMonth(),1)),F=new Date(Date.UTC(a.value.getUTCFullYear(),a.value.getUTCMonth()+1,0)),B=D.getUTCDay();let j=new Date(D);j.setUTCDate(j.getUTCDate()-B);for(let Z=0;Z<B;Z++)C.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);let se=1;for(j=D;j<=F;j.setUTCDate(j.getUTCDate()+1))C.push({date:new Date(j),day:se,isToday:p(j)}),se++;const $e=C[C.length-1].date.getUTCDay();for(let Z=$e+1;Z<=6;Z++)C.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);return C}),p=C=>{const D=new Date;return C.getUTCDate()===D.getUTCDate()&&C.getUTCMonth()===D.getUTCMonth()&&C.getUTCFullYear()===D.getUTCFullYear()},h=C=>C.getUTCMonth()===a.value.getUTCMonth()&&C.getUTCFullYear()===a.value.getUTCFullYear(),g=C=>{if(n.allowRange){if(l.value&&d.value)return C>=new Date(l.value)&&u(C)<=new Date(d.value);if(l.value)return C.getTime()===new Date(l.value).getTime()}else return i.value&&C.getTime()===new Date(i.value).getTime()},$=C=>l.value&&d.value?C>l.value&&u(C)<d.value:!1,S=C=>{const D=f(C);if(!n.allowRange)i.value=D,r.value=D;else if(!l.value&&!d.value)l.value=D,r.value.start=D;else if(d.value)l.value=D,d.value=null,r.value={start:D,end:null};else{if(d.value=u(C),D<l.value){const F=u(l.value);l.value=D,d.value=F}r.value={start:l.value,end:d.value}}},_=()=>{a.value=new Date(Date.UTC(a.value.getUTCFullYear(),a.value.getUTCMonth()-1,1))},E=()=>{a.value=new Date(Date.UTC(a.value.getUTCFullYear(),a.value.getUTCMonth()+1,1))},w=()=>{const C=new Date,D=new Date(Date.UTC(C.getUTCFullYear(),C.getUTCMonth(),C.getUTCDate(),0,0,0,0)),F=new Date(Date.UTC(C.getUTCFullYear(),C.getUTCMonth(),C.getUTCDate(),23,59,59,999));l.value=D.toISOString(),d.value=F.toISOString(),r.value={start:l.value,end:d.value}},O=()=>{const C=new Date,D=new Date(C);D.setUTCDate(C.getUTCDate()-7),D.setUTCHours(0,0,0,0),l.value=D,d.value=u(C),C.setUTCHours(23,59,59,999);const F=D.toISOString(),B=C.toISOString();r.value={start:F,end:B}},T=()=>{const C=new Date,D=new Date(C);D.setUTCMonth(C.getUTCMonth()-1),D.setUTCHours(0,0,0,0),l.value=D,d.value=u(C),C.setUTCHours(23,59,59,999);const F=D.toISOString(),B=C.toISOString();r.value={start:F,end:B}},k=()=>{l.value=null,d.value=null,r.value={start:null,end:null}};return(C,D)=>(o.openBlock(),o.createElementBlock("div",xm,[e.allowRange?(o.openBlock(),o.createElementBlock("div",Bm,[o.createElementVNode("button",{onClick:w,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Today"),o.createElementVNode("button",{onClick:O,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Week"),o.createElementVNode("button",{onClick:T,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Month"),o.createElementVNode("button",{onClick:k,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"All time")])):o.createCommentVNode("",!0),o.createElementVNode("div",Vm,[o.createElementVNode("button",{onClick:o.withModifiers(_,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},"<"),o.createElementVNode("span",Um,o.toDisplayString(m.value),1),o.createElementVNode("button",{onClick:o.withModifiers(E,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},">")]),o.createElementVNode("div",jm,[o.createElementVNode("div",Hm,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(c,(F,B)=>o.createElementVNode("div",{key:B,class:"calendar__weekday"},o.toDisplayString(F),1)),64))]),o.createElementVNode("div",Gm,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value,F=>(o.openBlock(),o.createElementBlock("div",{key:F.date,class:o.normalizeClass(["flex flex-center cursor-pointer aspect-ratio-1x1 radius-small",{"bg-main t-white":F.isToday},{"calendar__date--selected":g(F.date)},{"calendar__date--range":$(F.date)},{"calendar__date--disabled":!h(F.date)}]),onClick:o.withModifiers(B=>S(F.date),["stop"])},o.toDisplayString(F.day),11,Wm))),128))])])]))}},zm=we(Km,[["__scopeId","data-v-6bc137b0"]]),Ym={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},qm=["fill"],Xm={__name:"IconSearch",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",Ym,[o.createElementVNode("path",{fill:e.fill,d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},null,8,qm)]))}},Jm={class:"flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big"},Zm={__name:"BlockSearch",props:{placeholder:{type:String,default:"Enter shop or product name"},button:{type:String,default:"Search"}},emits:["search"],setup(e,{emit:t}){const n=t;o.ref(null);const r=s=>{n("search",s)};return(s,a)=>(o.openBlock(),o.createElementBlock("div",Jm,[o.createVNode(Xm,{class:"i-medium t-transp mn-r-thin"}),o.createVNode(vn,{placeholder:e.placeholder,"onUpdate:field":a[0]||(a[0]=i=>r(i)),class:"w-100"},null,8,["placeholder"])]))}},Qm={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},ep=["width","fill"],tp=["width","fill"],np=["width","fill"],rp=["width","fill"],pr={__name:"IconSort",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",Qm,[o.createElementVNode("rect",{y:"0",width:e.order==="desc"?32:8,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,ep),o.createElementVNode("rect",{y:"9",width:e.order==="desc"?24:16,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,tp),o.createElementVNode("rect",{y:"18",width:e.order==="desc"?16:24,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,np),o.createElementVNode("rect",{y:"27",width:e.order==="desc"?8:32,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,rp)]))}},op={__name:"ButtonSort",props:{action:{type:Function},order:{type:String,required:!0}},setup(e){const t=e,{action:n,order:r}=o.toRefs(t),s=()=>{n.value&&n.value()};return(a,i)=>(o.openBlock(),o.createElementBlock("div",{onClick:s,class:"cursor-pointer t-center t-black radius-small flex-center flex aspect-1x1"},[o.createVNode(pr,{order:o.unref(r),class:"w-100 h-auto"},null,8,["order"])]))}},ap={class:"w-100 o-hidden"},sp={class:"mn-b-thin"},ip={class:"w-100 flex-nowrap flex gap-micro"},lp={__name:"BlockSorting",props:o.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array,default:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"popularity"},{label:"Creator",value:"creator"}]}},{param:{},paramModifiers:{},order:{},orderModifiers:{}}),emits:["update:param","update:order"],setup(e){const t=o.useModel(e,"param"),n=o.useModel(e,"order");return(r,s)=>(o.openBlock(),o.createElementBlock("div",ap,[o.createElementVNode("h4",sp,o.toDisplayString(e.title),1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.options,a=>(o.openBlock(),o.createBlock(Mr,{radio:t.value,"onUpdate:radio":s[0]||(s[0]=i=>t.value=i),label:a.label,value:a.value,class:"w-100 mn-b-thin"},null,8,["radio","label","value"]))),256)),o.createElementVNode("div",ip,[o.createElementVNode("button",{onClick:s[1]||(s[1]=o.withModifiers(()=>n.value="asc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="asc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(pr,{order:"asc",fill:n.value==="asc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),o.createTextVNode(" Ascending ")],2),o.createElementVNode("button",{onClick:s[2]||(s[2]=o.withModifiers(()=>n.value="desc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="desc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(pr,{order:"desc",fill:n.value==="desc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),o.createTextVNode(" Descending ")],2)])]))}},dp={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},cp=["fill"],up={__name:"IconCalendar",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",dp,[o.createElementVNode("path",{d:"M3 43.5V18H45V43.5C45 45.9375 42.9375 48 40.5 48H7.5C5.0625 48 3 45.9375 3 43.5ZM33 25.5V28.5C33 29.3438 33.6562 30 34.5 30H37.5C38.3438 30 39 29.3438 39 28.5V25.5C39 24.6562 38.3438 24 37.5 24H34.5C33.6562 24 33 24.6562 33 25.5ZM33 37.5V40.5C33 41.3438 33.6562 42 34.5 42H37.5C38.3438 42 39 41.3438 39 40.5V37.5C39 36.6562 38.3438 36 37.5 36H34.5C33.6562 36 33 36.6562 33 37.5ZM21 25.5V28.5C21 29.3438 21.6562 30 22.5 30H25.5C26.3438 30 27 29.3438 27 28.5V25.5C27 24.6562 26.3438 24 25.5 24H22.5C21.6562 24 21 24.6562 21 25.5ZM21 37.5V40.5C21 41.3438 21.6562 42 22.5 42H25.5C26.3438 42 27 41.3438 27 40.5V37.5C27 36.6562 26.3438 36 25.5 36H22.5C21.6562 36 21 36.6562 21 37.5ZM9 25.5V28.5C9 29.3438 9.65625 30 10.5 30H13.5C14.3438 30 15 29.3438 15 28.5V25.5C15 24.6562 14.3438 24 13.5 24H10.5C9.65625 24 9 24.6562 9 25.5ZM9 37.5V40.5C9 41.3438 9.65625 42 10.5 42H13.5C14.3438 42 15 41.3438 15 40.5V37.5C15 36.6562 14.3438 36 13.5 36H10.5C9.65625 36 9 36.6562 9 37.5ZM40.5 6C42.9375 6 45 8.0625 45 10.5V15H3V10.5C3 8.0625 5.0625 6 7.5 6H12V1.5C12 0.65625 12.6562 0 13.5 0H16.5C17.3438 0 18 0.65625 18 1.5V6H30V1.5C30 0.65625 30.6562 0 31.5 0H34.5C35.3438 0 36 0.65625 36 1.5V6H40.5Z",fill:e.fill},null,8,cp)]))}},fp={class:"t-semi"},mp={__name:"ButtonDate",props:{action:{type:Function},date:{type:Object}},setup(e){const t=e,{action:n,date:r}=o.toRefs(t),s=o.computed(()=>i(r.value)),a=()=>{n.value&&n.value()};function i(l){const d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],{start:c,end:f}=l;if(c===null&&f===null)return"All Time";const u=new Date(c),m=u.getUTCDate(),y=d[u.getUTCMonth()],p=u.getUTCFullYear();if(!f)return`${m} ${y} ${p}`;const h=new Date(f),g=h.getUTCDate(),$=d[h.getUTCMonth()],S=h.getUTCFullYear();return`${m} ${y} - ${g} ${$} ${S}`}return(l,d)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,class:"cursor-pointer flex-center flex"},[o.createVNode(up,{class:"w-1r mn-r-thin h-auto"}),o.createElementVNode("span",fp,o.toDisplayString(s.value),1)]))}},pp={key:0,class:"flex-nowrap flex gap-thin mn-b-thin"},en=null,ci={__name:"Feed",props:o.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:date","update:items"],setup(e){const t=o.useModel(e,"search"),n=o.useModel(e,"sort"),r=o.useModel(e,"date"),s=o.useModel(e,"items"),a=e,i=o.ref(s.value||[]),l=o.ref(!1);let d=o.ref(!0),c=o.ref(null),f=o.ref(a.options.skip?a.options.skip:0),u=o.ref(a.options.limit?a.options.limit:10),m=o.ref("");function y(g){m.value=g,f.value=0,u.value=10,h()}const p=async()=>{if(l.value){f.value+=u.value;const g=await a.store.read({skip:f.value,limit:u.value,search:m.value,dateStart:r.value?r.value.start:null,dateEnd:r.value?r.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,...a.options});g.length===0||g.length<u.value?l.value=!1:l.value=!0,i.value=[...i.value,...g],s.value&&(s.value=i.value)}},h=async()=>{console.log("Date is",r.value);const g=await a.store.read({skip:f.value,limit:u.value,dateStart:r.value?r.value.start:null,dateEnd:r.value?r.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,search:m.value,...a.options});g.length===0||g.length<u.value?l.value=!1:l.value=!0,i.value=g,s.value&&(s.value=i.value),d.value=!1};return o.watch(()=>a.external,(g,$)=>{g!==$&&h()},{deep:!0}),o.watch(()=>r.value,(g,$)=>{g!==$&&h()},{deep:!0}),o.watch(()=>{var g;return(g=n.value)==null?void 0:g.order},(g,$)=>{g!==$&&h()},{deep:!0}),o.watch(()=>{var g;return(g=n.value)==null?void 0:g.param},(g,$)=>{g!==$&&h()},{deep:!0}),o.watch(()=>a.options,(g,$)=>{(g.organization!==$.organization||g.categories!==$.categories||g.prices!==$.prices||g.delivery!==$.delivery||g.search!==$.search||g.status!==$.status||g.hidden!==$.hidden||g.type!==$.type||g.tags!==$.tags)&&h()},{deep:!0}),o.onMounted(async()=>{await h(),typeof window<"u"&&!a.showLoadMore&&(en=new IntersectionObserver(g=>{g.some($=>$.isIntersecting)&&p()}),en.observe(c.value))}),o.onUnmounted(()=>{en&&en.disconnect()}),(g,$)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[t.value||r.value||n.value?(o.openBlock(),o.createElementBlock("div",pp,[t.value?(o.openBlock(),o.createBlock(Zm,{key:0,placeholder:t.value.placeholder||"Search...",class:o.normalizeClass(t.value.class||"bg-light"),onSearch:y},null,8,["placeholder","class"])):o.createCommentVNode("",!0),r.value?(o.openBlock(),o.createBlock(dn,{key:1,label:{component:mp,props:{date:r.value}},class:o.normalizeClass([r.value.class||"bg-light","flex-child flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(zm,{date:r.value,"onUpdate:date":$[0]||($[0]=S=>r.value=S),locale:g.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0),n.value?(o.openBlock(),o.createBlock(dn,{key:2,label:{component:op,props:{order:n.value.order},class:"w-1r"},class:o.normalizeClass([n.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(lp,{param:n.value.param,"onUpdate:param":$[1]||($[1]=S=>n.value.param=S),order:n.value.order,"onUpdate:order":$[2]||($[2]=S=>n.value.order=S),options:n.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.unref(d)?(o.openBlock(),o.createBlock(o.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition",class:o.normalizeClass(["o-hidden bg-light radius-big",g.$attrs.class])},{default:o.withCtx(()=>[o.unref(d)?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(o.unref(u),S=>(o.openBlock(),o.createBlock(Fm,{key:"skeleton-"+S}))),128)):o.createCommentVNode("",!0)]),_:1},8,["class"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:"scaleTransition"},{default:o.withCtx(()=>[!o.unref(d)&&i.value.length<1?(o.openBlock(),o.createBlock(Ur,{key:0,title:e.states.empty.title,description:e.states.empty.description,action:e.states.empty.action,callback:e.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.TransitionGroup,{tag:"ul",name:"feed",class:o.normalizeClass(g.$attrs.class)},{default:o.withCtx(()=>[!o.unref(d)&&i.value.length>0?o.renderSlot(g.$slots,"default",{key:0,items:i.value}):o.createCommentVNode("",!0),e.showLoadMore&&l.value&&i.value.length>0?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:p,class:"col-w-100 w-100 bg-main button"}," Load More ")):o.createCommentVNode("",!0),o.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:c,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}},hp=Object.freeze(Object.defineProperty({__proto__:null,default:ci},Symbol.toStringTag,{value:"Module"})),$p={class:"pd-thin radius-extra flex-nowrap flex"},gp=["innerHTML"],ui={__name:"FieldBig",props:{input:String,placeholder:{type:String},action:{type:String,default:"Action"},placeholderTexts:{type:Object,default:()=>({en:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],ru:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"]})},typingSpeed:{type:Number,default:200},loopTyping:{type:Boolean,default:!1},enableTyping:{type:Boolean,default:!1}},emits:["update:input","action"],setup(e,{emit:t}){const n=e,{t:r,locale:s}=Lt();let a=o.ref(0),i=o.ref(n.input),l=o.ref(n.placeholder),d=o.ref(n.enableTyping),c=o.ref(null),f=o.ref(""),u=o.ref(!0),m=null;const y=t;function p(){y("action")}function h(E){y("update:input",E),f.value=E}function g(){a.value=(a.value+1)%n.placeholderTexts[s.value].length}function $(){d.value=!1,clearInterval(c.value),l.value=n.placeholder,f.value||(i.value="")}function S(){!f.value&&n.enableTyping&&(d.value=!0,l.value="",_())}function _(){let E=n.placeholderTexts[s.value][a.value],w=0,O=!1;m=setInterval(()=>{u.value=!u.value},200),c.value=setInterval(()=>{d.value&&(O?(i.value=i.value.slice(0,-1),i.value=E.substring(0,w)+(u.value&&w%2?"|":""),w--):(i.value=E.substring(0,w)+(u.value&&w%2?"|":""),w++),w>E.length&&n.loopTyping&&setTimeout(()=>{O=!0,i.value=E.substring(0,w)},333),w===0&&O&&(O=!1,g(),E=n.placeholderTexts[s.value][a.value]))},n.typingSpeed)}return o.onMounted(()=>{n.enableTyping&&_()}),o.watchEffect(()=>{d.value||(clearInterval(c.value),clearInterval(m))}),(E,w)=>(o.openBlock(),o.createElementBlock("div",$p,[o.createVNode(vn,{field:o.unref(i),"onUpdate:field":[w[0]||(w[0]=O=>o.isRef(i)?i.value=O:i=O),h],placeholder:o.unref(d)?" ":o.unref(l),onInput:g,onFocus:$,onBlur:S,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:p,class:"t-medium radius-big uppercase cursor-pointer pd-l-semi pd-r-semi w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main",innerHTML:e.action},null,8,gp)):o.createCommentVNode("",!0)]))}},vp=Object.freeze(Object.defineProperty({__proto__:null,default:ui},Symbol.toStringTag,{value:"Module"}));function _p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yp=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,s,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(s=r;s--!==0;)if(!e(t[s],n[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(s=r;s--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[s]))return!1;for(s=r;s--!==0;){var i=a[s];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n};const bp=_p(yp),Ep=(e,t)=>t.filter(n=>{const{text:r}=e;if(typeof n.rule=="string")return!new RegExp(n.rule).test(r);if(n.rule instanceof RegExp)return!n.rule.test(r);if({}.toString.call(n.rule)==="[object Function]")return n.rule(e)}).map(n=>n.classes),Ot=e=>JSON.parse(JSON.stringify(e)),Cp=(e,t)=>{let n=0;for(;n<e.length;){if(t(e[n],n,e))return n;n++}return-1},fi=(e,t,n=[],r)=>{e.text===void 0&&(e={text:e});const s=Ep(e,n),a=Cp(t,c=>c===e),i=Ot(t),l=a!==-1?i.splice(a,1)[0]:Ot(e);return(r?r(i,l):i.map(c=>c.text).indexOf(l.text)!==-1)&&s.push("ti-duplicate"),s.length===0?s.push("ti-valid"):s.push("ti-invalid"),s},Mt=(e,...t)=>{e.text===void 0&&(e={text:e});const n=Ot(e);return n.tiClasses=fi(e,...t),n},Op=(e,...t)=>e.map(n=>Mt(n,e,...t)),Sp={name:"TagInput",props:{scope:{type:Object}}},Np=["maxlength"];function Tp(e,t,n,r,s,a){return n.scope.edit?o.withDirectives((o.openBlock(),o.createElementBlock("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=i=>n.scope.tag.text=i),maxlength:n.scope.maxlength,type:"text",class:"ti-tag-input",size:"1",onInput:t[1]||(t[1]=i=>n.scope.validateTag(n.scope.index,i)),onBlur:t[2]||(t[2]=i=>n.scope.performCancelEdit(n.scope.index)),onKeydown:t[3]||(t[3]=i=>n.scope.performSaveEdit(n.scope.index,i))},null,40,Np)),[[o.vModelText,n.scope.tag.text]]):o.createCommentVNode("",!0)}const wp=we(Sp,[["render",Tp],["__scopeId","data-v-a1f1c345"]]),ba=e=>!e.some(t=>{const n=!t.text;n&&console.warn('Missing property "text"',t);let r=!1;return t.classes&&(r=typeof t.classes!="string"),r&&console.warn('Property "classes" must be type of string',t),n||r}),Ea=e=>!e.some(t=>{if(typeof t=="number"){const n=isFinite(t)&&Math.floor(t)===t;return n||console.warn("Only numerics are allowed for this prop. Found:",t),!n}else if(typeof t=="string"){const n=/\W|[a-z]|!\d/i.test(t);return n||console.warn("Only alpha strings are allowed for this prop. Found:",t),!n}else return console.warn("Only numeric and string values are allowed. Found:",t),!1}),kp={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:ba},autocompleteItems:{type:Array,default:()=>[],validator:ba},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:()=>[13],validator:Ea},saveOnKey:{type:Array,default:()=>[13],validator:Ea},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:()=>[],validator(e){return!e.some(t=>{const n=!t.rule;n&&console.warn('Property "rule" is missing',t);const r=t.rule&&(typeof t.rule=="string"||t.rule instanceof RegExp||{}.toString.call(t.rule)==="[object Function]");r||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(t.rule));const s=!t.classes;s&&console.warn('Property "classes" is missing',t);const a=t.type&&typeof t.type!="string";return a&&console.warn('Property "type" must be type of string. Found:',t),!r||n||s||a})}},separators:{type:Array,default:()=>[";"],validator(e){return!e.some(t=>{const n=typeof t!="string";return n&&console.warn("Separators must be type of string. Found:",t),n})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean},onBeforeAddingTag:Function,onBeforeDeletingTag:Function,onBeforeEditingTag:Function,onBeforeSavingTag:Function},Ip={name:"VueTagsInput",components:{TagInput:wp},props:kp,emits:["adding-duplicate","before-adding-tag","before-deleting-tag","before-editing-tag","before-saving-tag","max-tags-reached","saving-duplicate","tags-changed","tag-clicked","update:modelValue","update:tags"],inheritAttrs:!1,data(){return{tagCenter:[],newTag:null,tagsCopy:[],tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen(){return this.autocompleteAlwaysOpen?!0:this.newTag!==null&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems(){const e=this.autocompleteItems.map(t=>Mt(t,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:fi,getSelectedIndex(e){const t=this.filteredAutocompleteItems,n=this.selectedItem,r=t.length-1;if(t.length!==0)return n===null?0:e==="before"&&n===0?r:e==="after"&&n===r?0:e==="after"?n+1:n-1},selectDefaultItem(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected(e){return this.selectedItem===e},isMarked(e){return this.deletionMark===e},setTagCenter(e){e&&this.tagCenter.push(e)},invokeDelete(){if(!this.deleteOnBackspace||this.newTag.length>0)return;const e=this.tagsCopy.length-1;this.deletionMark===null?(this.deletionMarkTime=setTimeout(()=>this.deletionMark=null,1e3),this.deletionMark=e):this.performDeleteTag(e)},addTagsFromPaste(){this.addFromPaste&&setTimeout(()=>this.performAddTags(this.newTag),10)},performEditTag(e){this.allowEditTags&&(this.onBeforeAddingTag||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:()=>this.editTag(e)}))},editTag(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode(e){!this.allowEditTags||this.disabled||(this.tagsEditStatus[e]=!this.tagsEditStatus[e])},createChangedTag(e,t){const n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.tagsCopy[e]=Mt(n,this.tagsCopy,this.validation,this.isDuplicate)},focus(e){this.$nextTick(()=>{const t=this.tagCenter[e].querySelector("input.ti-tag-input");t&&t.focus()})},quote(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit(e){this.tags[e]&&(this.tagsCopy[e]=Ot(Mt(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.tagsEditStatus[e]=!1)},hasForbiddingAddRule(e){return e.some(t=>{const n=this.validation.find(r=>t===r.classes);return n?n.disableAdd:!1})},createTagTexts(e){const t=new RegExp(this.separators.map(n=>this.quote(n)).join("|"));return e.split(t).map(n=>({text:n}))},performDeleteTag(e){this.onBeforeDeletingTag||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:()=>this.deleteTag(e)})},deleteTag(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey(e,t){const n=this[t].indexOf(e.keyCode)!==-1||this[t].indexOf(e.key)!==-1;return n&&e.preventDefault(),!n},performAddTags(e,t,n){if(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))return;let r=[];typeof e=="object"&&(r=[e]),typeof e=="string"&&(r=this.createTagTexts(e)),r=r.filter(s=>s.text.trim().length>0),r.forEach(s=>{s=Mt(s,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(s,n),this.$emit("before-adding-tag",{tag:s,addTag:()=>this.addTag(s,n)})})},duplicateFilter(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(t=>t.text===e.text)},addTag(e,t="new-tag-input"){const n=this.filteredAutocompleteItems.map(r=>r.text);this.addOnlyFromAutocomplete&&n.indexOf(e.text)===-1||this.$nextTick(()=>{if(this.maxTags&&this.maxTags<=this.tagsCopy.length)return this.$emit("max-tags-reached",e);if(this.avoidAddingDuplicates&&!this.duplicateFilter(e))return this.$emit("adding-duplicate",e);this.hasForbiddingAddRule(e.tiClasses)||(this.newTag="",this.tagsCopy.push(e),this.$emit("update:tags",this.tagsCopy),t==="autocomplete"&&this.$refs.newTagInput.focus(),this.$emit("tags-changed",this.tagsCopy))})},performSaveTag(e,t){const n=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||n.text.trim().length!==0&&(this["on-before-saving-tag"]||this.saveTag(e,n),this.$emit("before-saving-tag",{index:e,tag:n,saveTag:()=>this.saveTag(e,n)}))},saveTag(e,t){if(this.avoidAddingDuplicates){const n=Ot(this.tagsCopy),r=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,r):n.map(a=>a.text).indexOf(r.text)!==-1)return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.tagsCopy[e]=t,this.toggleEditMode(e),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual(){return!this.tagsCopy.some((e,t)=>!bp(e,this.tags[t]))},updateNewTag(e){const t=e.target.value;this.newTag=t,this.$emit("update:modelValue",t)},initTags(){this.tagsCopy=Op(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=Ot(this.tags).map(()=>!1),this.tagsEqual()||this.$emit("update:tags",this.tagsCopy)},blurredOnClick(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{modelValue(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created(){this.newTag=this.modelValue,this.initTags()},mounted(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},beforeUpdate(){this.tagCenter=[]},unmounted(){document.removeEventListener("click",this.blurredOnClick)}},Lp={class:"ti-input"},Pp={key:0,class:"ti-tags"},Ap=["onClick"],Dp={class:"ti-content"},Rp={key:0,class:"ti-tag-left"},Mp=["onClick"],Fp={key:1,class:"ti-tag-right"},xp={class:"ti-actions"},Bp=["onClick"],Vp=["onClick"],Up={class:"ti-new-tag-input-wrapper"},jp=["placeholder","value","maxlength","disabled"],Hp=["onMouseover"],Gp=["onClick"];function Wp(e,t,n,r,s,a){const i=o.resolveComponent("tag-input");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:o.normalizeStyle(e.$attrs.style)},[o.createElementVNode("div",Lp,[e.tagsCopy?(o.openBlock(),o.createElementBlock("ul",Pp,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tagsCopy,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[{"ti-editing":e.tagsEditStatus[d]},l.tiClasses,l.classes,{"ti-deletion-mark":e.isMarked(d)}],"ti-tag t-medium"]),tabindex:"0",onClick:c=>e.$emit("tag-clicked",{tag:l,index:d})},[o.createElementVNode("div",Dp,[e.$slots["tag-left"]?(o.openBlock(),o.createElementBlock("div",Rp,[o.renderSlot(e.$slots,"tag-left",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)},void 0,!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass({"ti-hidden":e.tagsEditStatus[d]}),onClick:c=>e.performEditTag(d)},o.toDisplayString(l.text),11,Mp)),e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(i,{key:1,scope:{edit:e.tagsEditStatus[d],maxlength:e.maxlength,tag:l,index:d,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),o.renderSlot(e.$slots,"tag-center",{tag:l,index:d,maxlength:e.maxlength,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)},void 0,!0)],512),e.$slots["tag-right"]?(o.openBlock(),o.createElementBlock("div",Fp,[o.renderSlot(e.$slots,"tag-right",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)},void 0,!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",xp,[e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:c=>e.cancelEdit(d)},null,8,Bp)),[[o.vShow,e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:c=>e.performDeleteTag(d)},null,8,Vp)),[[o.vShow,!e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.renderSlot(e.$slots,"tag-actions",{key:2,tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)},void 0,!0):o.createCommentVNode("",!0)])],14,Ap))),128)),o.createElementVNode("li",Up,[o.createElementVNode("input",o.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[t[0]||(t[0]=l=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,l)),t[2]||(t[2]=o.withKeys((...l)=>e.invokeDelete&&e.invokeDelete(...l),["delete"])),t[3]||(t[3]=o.withKeys((...l)=>e.performBlur&&e.performBlur(...l),["tab"])),t[4]||(t[4]=o.withKeys(l=>e.selectItem(l,"before"),["up"])),t[5]||(t[5]=o.withKeys(l=>e.selectItem(l,"after"),["down"]))],onPaste:t[1]||(t[1]=(...l)=>e.addTagsFromPaste&&e.addTagsFromPaste(...l)),onInput:t[6]||(t[6]=(...l)=>e.updateNewTag&&e.updateNewTag(...l)),onFocus:t[7]||(t[7]=l=>e.focused=!0),onClick:t[8]||(t[8]=l=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,jp)])])):o.createCommentVNode("",!0)]),o.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:t[9]||(t[9]=l=>e.selectedItem=null)},[o.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.filteredAutocompleteItems,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[l.tiClasses,l.classes,{"ti-selected-item":e.isSelected(d)}],"ti-item"]),onMouseover:c=>e.disabled?!1:e.selectedItem=d},[e.$slots["autocomplete-item"]?o.renderSlot(e.$slots,"autocomplete-item",{key:1,item:l,index:d,performAdd:c=>e.performAddTags(c,void 0,"autocomplete"),selected:e.isSelected(d)},void 0,!0):(o.openBlock(),o.createElementBlock("div",{key:0,onClick:c=>e.performAddTags(l,void 0,"autocomplete")},o.toDisplayString(l.text),9,Gp))],46,Hp))),128))]),o.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):o.createCommentVNode("",!0)],6)}const mi=we(Ip,[["render",Wp],["__scopeId","data-v-7792d8ec"]]),Kp=Object.freeze(Object.defineProperty({__proto__:null,default:mi},Symbol.toStringTag,{value:"Module"})),zp=["src"],Yp={__name:"Magnifier",props:{imageSrc:String,zoomFactor:{type:Number,default:2}},setup(e){const t=e,n=o.ref(!1),r=o.ref({});function s(f){const u=f.target.getBoundingClientRect(),m=f.clientX-u.left,y=f.clientY-u.top,p=200,h=Math.max(0,Math.min(m-p/2,u.width-p)),g=Math.max(0,Math.min(y-p/2,u.height-p));r.value={left:`${h}px`,top:`${g}px`,backgroundPosition:`-${h*t.zoomFactor}px -${g*t.zoomFactor}px`,backgroundImage:`url(${t.imageSrc})`,backgroundSize:`${u.width*t.zoomFactor}px ${u.height*t.zoomFactor}px`}}function a(f){n.value=!0,s(f)}function i(){n.value=!1}function l(f){f.preventDefault(),n.value=!0,s(f.touches[0])}function d(f){f.preventDefault(),s(f.touches[0])}function c(){n.value=!1}return(f,u)=>(o.openBlock(),o.createElementBlock("div",{class:"w-100 image-container",onMousemove:a,onMouseleave:i,onTouchstart:l,onTouchmove:d,onTouchend:c},[o.createElementVNode("img",{src:(f.FILE_SERVER_URL||"")+e.imageSrc,class:"w-100"},null,8,zp),n.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"zoom-lens",style:o.normalizeStyle(r.value)},null,4)):o.createCommentVNode("",!0)],32))}},pi=we(Yp,[["__scopeId","data-v-9fd5ea8e"]]),qp=Object.freeze(Object.defineProperty({__proto__:null,default:pi},Symbol.toStringTag,{value:"Module"})),Xp={id:"glcanvas",ref:"refCanvas"},Jp={__name:"Shader",setup(e){return o.onMounted(()=>{const t=document.getElementById("glcanvas"),n=t.getContext("webgl")||t.getContext("experimental-webgl"),r=`
|
38
|
+
attribute vec4 aVertexPosition;
|
39
|
+
void main() {
|
40
|
+
gl_Position = aVertexPosition;
|
41
|
+
}
|
42
|
+
`,s=`
|
43
|
+
precision mediump float;
|
44
|
+
|
45
|
+
const float PI = 3.14159265358979323846264;
|
46
|
+
const float TWOPI = PI * 2.0;
|
47
|
+
const vec4 WHITE = vec4(0.0, 1.0, 0.533, 1); // Для цвета F6F9F7
|
48
|
+
const vec4 BLACK = vec4(0.0, 0.9, 0.48, 1); // Для цвета EBF2ED
|
49
|
+
|
50
|
+
const int MAX_RINGS = 30;
|
51
|
+
const float RING_DISTANCE = 0.03;
|
52
|
+
const float WAVE_COUNT = 60.0;
|
53
|
+
const float WAVE_DEPTH = 0.08;
|
54
|
+
|
55
|
+
uniform float iTime;
|
56
|
+
uniform vec2 iResolution;
|
57
|
+
|
58
|
+
void main() {
|
59
|
+
float rot = mod(iTime * 0.6, TWOPI);
|
60
|
+
vec2 fragCoord = gl_FragCoord.xy;
|
61
|
+
vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
|
62
|
+
pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
|
63
|
+
float x = pos.x;
|
64
|
+
float y = pos.y;
|
65
|
+
|
66
|
+
bool black = false;
|
67
|
+
float prevRingDist = RING_DISTANCE;
|
68
|
+
for (int i = 0; i < MAX_RINGS; i++) {
|
69
|
+
vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
|
70
|
+
float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
|
71
|
+
float dist = distance(center, pos);
|
72
|
+
dist = pow(dist, 0.3);
|
73
|
+
float ringDist = abs(dist - radius);
|
74
|
+
if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
|
75
|
+
float angle = atan(y - center.y, x - center.x);
|
76
|
+
float thickness = 1.1 * abs(dist - radius) / prevRingDist;
|
77
|
+
float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
|
78
|
+
if (dist > radius) {
|
79
|
+
black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
|
80
|
+
} else {
|
81
|
+
black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
|
82
|
+
}
|
83
|
+
break;
|
84
|
+
}
|
85
|
+
if (dist > radius) break;
|
86
|
+
prevRingDist = ringDist;
|
87
|
+
}
|
88
|
+
|
89
|
+
gl_FragColor = black ? BLACK : WHITE;
|
90
|
+
}
|
91
|
+
|
92
|
+
`;function a(u,m,y){const p=u.createShader(m);return u.shaderSource(p,y),u.compileShader(p),u.getShaderParameter(p,u.COMPILE_STATUS)?p:(alert("An error occurred compiling the shaders: "+u.getShaderInfoLog(p)),u.deleteShader(p),null)}const i=a(n,n.VERTEX_SHADER,r),l=a(n,n.FRAGMENT_SHADER,s),d=n.createProgram();n.attachShader(d,i),n.attachShader(d,l),n.linkProgram(d),n.getProgramParameter(d,n.LINK_STATUS)||alert("Unable to initialize the shader program: "+n.getProgramInfoLog(d));function c(u){const m=u.clientWidth*window.devicePixelRatio,y=u.clientHeight*window.devicePixelRatio;return u.width!==m||u.height!==y?(u.width=m,u.height=y,!0):!1}function f(){c(n.canvas)&&n.viewport(0,0,n.canvas.width,n.canvas.height),n.clearColor(0,0,0,1),n.clearDepth(1),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.useProgram(d);const u=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,u);const m=[-1,1,1,1,-1,-1,1,-1];n.bufferData(n.ARRAY_BUFFER,new Float32Array(m),n.STATIC_DRAW);const y=n.getAttribLocation(d,"aVertexPosition");n.vertexAttribPointer(y,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(y);var p=n.getUniformLocation(d,"iTime"),h=n.getUniformLocation(d,"iResolution");n.uniform1f(p,performance.now()/3e3),n.uniform2f(h,n.canvas.width,n.canvas.height),n.drawArrays(n.TRIANGLE_STRIP,0,4),requestAnimationFrame(f)}requestAnimationFrame(f)}),(t,n)=>(o.openBlock(),o.createElementBlock("canvas",Xp,null,512))}},hi=we(Jp,[["__scopeId","data-v-094c0681"]]),Zp=Object.freeze(Object.defineProperty({__proto__:null,default:hi},Symbol.toStringTag,{value:"Module"})),Qp={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},e3={__name:"Menu",setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("section",Qp,[o.renderSlot(t.$slots,"default")]))}},t3={props:{fill:{type:String,default:"rgb(var(--black)"}}},n3={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},r3=["fill"];function o3(e,t,n,r,s,a){return o.openBlock(),o.createElementBlock("svg",n3,[o.createElementVNode("path",{fill:n.fill,d:"M25.2765 9.37509L29.0265 5.93759C30.589 4.53134 32.9327 4.68759 34.339 6.25009L63.2453 37.8126C64.339 39.0626 64.339 40.9376 63.2453 42.1876L34.339 73.7501C32.9327 75.3126 30.589 75.4689 29.0265 74.0626L25.2765 70.6251C23.714 69.3751 23.5577 66.8751 24.964 65.4689L48.4015 40.0001L24.964 14.5313C23.5577 13.1251 23.714 10.6251 25.2765 9.37509Z"},null,8,r3)])}const a3=we(t3,[["render",o3]]),s3=o.defineComponent({props:{},setup(e,{slots:t}){return()=>{const n=t.default?t.default():[],r=[],s=[];return n.forEach(a=>{a.toString(),a.props&&a.props.icon?r.push(a):s.push(a)}),o.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...r.length?[o.h("div",{class:["mn-b-thin","mn-t-thin","flex-center","flex","mn-r-small","flex-child","flex-child-shrink-0","i-big","bg-main","radius-thin"]},r)]:[],o.h("div",{class:["w-100","mn-b-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[o.h("span",{class:["p-big","t-medium","mn-r-auto"]},s)]),o.h(a3,{class:"i-medium mn-r-medium",type:"chevron"})])}}});/*! js-cookie v3.0.5 | MIT */function tn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var i3={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function hr(e,t){function n(s,a,i){if(!(typeof document>"u")){i=tn({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var d in i)i[d]&&(l+="; "+d,i[d]!==!0&&(l+="="+i[d].split(";")[0]));return document.cookie=s+"="+e.write(a,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var a=document.cookie?document.cookie.split("; "):[],i={},l=0;l<a.length;l++){var d=a[l].split("="),c=d.slice(1).join("=");try{var f=decodeURIComponent(d[0]);if(i[f]=e.read(c,f),s===f)break}catch{}}return s?i[s]:i}}return Object.create({set:n,get:r,remove:function(s,a){n(s,"",tn({},a,{expires:-1}))},withAttributes:function(s){return hr(this.converter,tn({},this.attributes,s))},withConverter:function(s){return hr(tn({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var l3=hr(i3,{path:"/"});/*! Capacitor: https://capacitorjs.com/ - MIT License */const d3=e=>{const t=new Map;t.set("web",{name:"web"});const n=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t},r=(a,i)=>{n.platforms.set(a,i)},s=a=>{n.platforms.has(a)&&(n.currentPlatform=n.platforms.get(a))};return n.addPlatform=r,n.setPlatform=s,n},c3=e=>e.CapacitorPlatforms=d3(e),$i=c3(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});$i.addPlatform;$i.setPlatform;var kt;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(kt||(kt={}));class Wn extends Error{constructor(t,n,r){super(t),this.message=t,this.code=n,this.data=r}}const u3=e=>{var t,n;return e!=null&&e.androidBridge?"android":!((n=(t=e==null?void 0:e.webkit)===null||t===void 0?void 0:t.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},f3=e=>{var t,n,r,s,a;const i=e.CapacitorCustomPlatform||null,l=e.Capacitor||{},d=l.Plugins=l.Plugins||{},c=e.CapacitorPlatforms,f=()=>i!==null?i.name:u3(e),u=((t=c==null?void 0:c.currentPlatform)===null||t===void 0?void 0:t.getPlatform)||f,m=()=>u()!=="web",y=((n=c==null?void 0:c.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||m,p=T=>{const k=E.get(T);return!!(k!=null&&k.platforms.has(u())||$(T))},h=((r=c==null?void 0:c.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||p,g=T=>{var k;return(k=l.PluginHeaders)===null||k===void 0?void 0:k.find(C=>C.name===T)},$=((s=c==null?void 0:c.currentPlatform)===null||s===void 0?void 0:s.getPluginHeader)||g,S=T=>e.console.error(T),_=(T,k,C)=>Promise.reject(`${C} does not have an implementation of "${k}".`),E=new Map,w=(T,k={})=>{const C=E.get(T);if(C)return console.warn(`Capacitor plugin "${T}" already registered. Cannot register plugins twice.`),C.proxy;const D=u(),F=$(T);let B;const j=async()=>(!B&&D in k?B=typeof k[D]=="function"?B=await k[D]():B=k[D]:i!==null&&!B&&"web"in k&&(B=typeof k.web=="function"?B=await k.web():B=k.web),B),se=(Q,ee)=>{var q,ne;if(F){const ve=F==null?void 0:F.methods.find(ce=>ee===ce.name);if(ve)return ve.rtype==="promise"?ce=>l.nativePromise(T,ee.toString(),ce):(ce,ue)=>l.nativeCallback(T,ee.toString(),ce,ue);if(Q)return(q=Q[ee])===null||q===void 0?void 0:q.bind(Q)}else{if(Q)return(ne=Q[ee])===null||ne===void 0?void 0:ne.bind(Q);throw new Wn(`"${T}" plugin is not implemented on ${D}`,kt.Unimplemented)}},$e=Q=>{let ee;const q=(...ne)=>{const ve=j().then(ce=>{const ue=se(ce,Q);if(ue){const _e=ue(...ne);return ee=_e==null?void 0:_e.remove,_e}else throw new Wn(`"${T}.${Q}()" is not implemented on ${D}`,kt.Unimplemented)});return Q==="addListener"&&(ve.remove=async()=>ee()),ve};return q.toString=()=>`${Q.toString()}() { [capacitor code] }`,Object.defineProperty(q,"name",{value:Q,writable:!1,configurable:!1}),q},Z=$e("addListener"),Ce=$e("removeListener"),ge=(Q,ee)=>{const q=Z({eventName:Q},ee),ne=async()=>{const ce=await q;Ce({eventName:Q,callbackId:ce},ee)},ve=new Promise(ce=>q.then(()=>ce({remove:ne})));return ve.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await ne()},ve},Ee=new Proxy({},{get(Q,ee){switch(ee){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return F?ge:Z;case"removeListener":return Ce;default:return $e(ee)}}});return d[T]=Ee,E.set(T,{name:T,proxy:Ee,platforms:new Set([...Object.keys(k),...F?[D]:[]])}),Ee},O=((a=c==null?void 0:c.currentPlatform)===null||a===void 0?void 0:a.registerPlugin)||w;return l.convertFileSrc||(l.convertFileSrc=T=>T),l.getPlatform=u,l.handleError=S,l.isNativePlatform=y,l.isPluginAvailable=h,l.pluginMethodNoop=_,l.registerPlugin=O,l.Exception=Wn,l.DEBUG=!!l.DEBUG,l.isLoggingEnabled=!!l.isLoggingEnabled,l.platform=l.getPlatform(),l.isNative=l.isNativePlatform(),l},m3=e=>e.Capacitor=f3(e),hn=m3(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),jr=hn.registerPlugin;hn.Plugins;class Hr{constructor(t){this.listeners={},this.retainedEventArguments={},this.windowListeners={},t&&(console.warn(`Capacitor WebPlugin "${t.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=t)}addListener(t,n){let r=!1;this.listeners[t]||(this.listeners[t]=[],r=!0),this.listeners[t].push(n);const a=this.windowListeners[t];a&&!a.registered&&this.addWindowListener(a),r&&this.sendRetainedArgumentsForEvent(t);const i=async()=>this.removeListener(t,n);return Promise.resolve({remove:i})}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,n,r){const s=this.listeners[t];if(!s){if(r){let a=this.retainedEventArguments[t];a||(a=[]),a.push(n),this.retainedEventArguments[t]=a}return}s.forEach(a=>a(n))}hasListeners(t){return!!this.listeners[t].length}registerWindowListener(t,n){this.windowListeners[n]={registered:!1,windowEventName:t,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(t="not implemented"){return new hn.Exception(t,kt.Unimplemented)}unavailable(t="not available"){return new hn.Exception(t,kt.Unavailable)}async removeListener(t,n){const r=this.listeners[t];if(!r)return;const s=r.indexOf(n);this.listeners[t].splice(s,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}sendRetainedArgumentsForEvent(t){const n=this.retainedEventArguments[t];n&&(delete this.retainedEventArguments[t],n.forEach(r=>{this.notifyListeners(t,r)}))}}const Ca=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Oa=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class p3 extends Hr{async getCookies(){const t=document.cookie,n={};return t.split(";").forEach(r=>{if(r.length<=0)return;let[s,a]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");s=Oa(s).trim(),a=Oa(a).trim(),n[s]=a}),n}async setCookie(t){try{const n=Ca(t.key),r=Ca(t.value),s=`; expires=${(t.expires||"").replace("expires=","")}`,a=(t.path||"/").replace("path=",""),i=t.url!=null&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${n}=${r||""}${s}; path=${a}; ${i};`}catch(n){return Promise.reject(n)}}async deleteCookie(t){try{document.cookie=`${t.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const t=document.cookie.split(";")||[];for(const n of t)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(t){return Promise.reject(t)}}async clearAllCookies(){try{await this.clearCookies()}catch(t){return Promise.reject(t)}}}jr("CapacitorCookies",{web:()=>new p3});const h3=async e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const s=r.result;t(s.indexOf(",")>=0?s.split(",")[1]:s)},r.onerror=s=>n(s),r.readAsDataURL(e)}),$3=(e={})=>{const t=Object.keys(e);return Object.keys(e).map(s=>s.toLocaleLowerCase()).reduce((s,a,i)=>(s[a]=e[t[i]],s),{})},g3=(e,t=!0)=>e?Object.entries(e).reduce((r,s)=>{const[a,i]=s;let l,d;return Array.isArray(i)?(d="",i.forEach(c=>{l=t?encodeURIComponent(c):c,d+=`${a}=${l}&`}),d.slice(0,-1)):(l=t?encodeURIComponent(i):i,d=`${a}=${l}`),`${r}&${d}`},"").substr(1):null,v3=(e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),s=$3(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(s.includes("application/x-www-form-urlencoded")){const a=new URLSearchParams;for(const[i,l]of Object.entries(e.data||{}))a.set(i,l);n.body=a.toString()}else if(s.includes("multipart/form-data")||e.data instanceof FormData){const a=new FormData;if(e.data instanceof FormData)e.data.forEach((l,d)=>{a.append(d,l)});else for(const l of Object.keys(e.data))a.append(l,e.data[l]);n.body=a;const i=new Headers(n.headers);i.delete("content-type"),n.headers=i}else(s.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class _3 extends Hr{async request(t){const n=v3(t,t.webFetchExtra),r=g3(t.params,t.shouldEncodeUrlParams),s=r?`${t.url}?${r}`:t.url,a=await fetch(s,n),i=a.headers.get("content-type")||"";let{responseType:l="text"}=a.ok?t:{};i.includes("application/json")&&(l="json");let d,c;switch(l){case"arraybuffer":case"blob":c=await a.blob(),d=await h3(c);break;case"json":d=await a.json();break;case"document":case"text":default:d=await a.text()}const f={};return a.headers.forEach((u,m)=>{f[m]=u}),{data:d,headers:f,status:a.status,url:a.url}}async get(t){return this.request(Object.assign(Object.assign({},t),{method:"GET"}))}async post(t){return this.request(Object.assign(Object.assign({},t),{method:"POST"}))}async put(t){return this.request(Object.assign(Object.assign({},t),{method:"PUT"}))}async patch(t){return this.request(Object.assign(Object.assign({},t),{method:"PATCH"}))}async delete(t){return this.request(Object.assign(Object.assign({},t),{method:"DELETE"}))}}jr("CapacitorHttp",{web:()=>new _3});const y3=jr("Preferences",{web:()=>Promise.resolve().then(()=>require("./web-ByJkgGrt.js")).then(e=>new e.PreferencesWeb)}),et=o.reactive({loading:!1,isOpenLocationPopup:!1,isOpenSidebar:!1,position:null,search:null,theme:{darkmode:!1},error:{status:"",headers:"",data:"",show:"",name:"",message:""}}),b3={setLoading(e){et.loading=e},toggleTheme(){let e=document.querySelector(":root");et.theme.darkmode=!et.theme.darkmode,e.classList.toggle("dark-theme");const t=["--white","--light","--grey","--dark","--black"];et.theme.originalColors||(et.theme.originalColors={},t.forEach(n=>{const r=getComputedStyle(document.documentElement).getPropertyValue(n).trim();et.theme.originalColors[n]=r})),E3(t,et.theme.originalColors)},add(e,t){const n=e.findIndex(r=>r._id===t._id);n===-1?e.push(t):e[n]=t},update(e,t){const n=e.findIndex(r=>r._id===t._id);n===-1?e.push(t):Object.assign(e[n],t)},delete(e,t){const n=e.findIndex(r=>r._id===t._id);n!==-1&&e.splice(n,1)},increment(e,t){console.log(e),console.log(t);const n=e.find(r=>r._id===t._id);n&&n.quantity++},decrement(e,t){const n=e.find(s=>s._id===t._id),r=e.indexOf(n);r>-1&&(n.quantity--,n.quantity<1&&e.splice(r,1))},reset(e){}},gi={ru:{errors:{USER_ALREADY_REGISTERED:"Такой пользователь уже зарегистрирован!",USER_NOT_REGISTERED_YET:"Такой пользователь еще не зарегистрирован!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"Пользователь с таким телефоном или паролем не найден!",INCORRECT_PASSWORD_ENTERED:"Вы ввели неверный пароль!",INVALID_INVITATION_CODE:"Неверный код приглашения",MISSING_REQUIRED_PARAMETERS:"Отсутствуют необходимые параметры.",ERROR_UPDATING_USER:"Произошла ошибка при обновлении пользователя.",PASSWORDS_DO_NOT_MATCH:"Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",CODE_NOT_SENT:"Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",INPUT_ERROR:"Вставьте только четырехзначный код.",WRONG_CODE:"Вы ввели неверный код. Попробуйте еще раз.",POST_URL_ALREADY_IN_USE:"Ошибка! Публикация с этим URL уже используется!",NAME_CANNOT_BE_EMPTY:"Ошибка: Название не может быть пустым. Пожалуйста, введите название."}},en:{errors:{USER_ALREADY_REGISTERED:"Such user is already registered!",USER_NOT_REGISTERED_YET:"This user has not been registered yet!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"User with such phone or password not found!",INCORRECT_PASSWORD_ENTERED:"You entered an incorrect password!",INVALID_INVITATION_CODE:"Incorrect invitation code.",MISSING_REQUIRED_PARAMETERS:"Missing required parameters.",ERROR_UPDATING_USER:"Something wrong when updating user.",PASSWORDS_DO_NOT_MATCH:"The passwords you entered do not match. Please correct the errors and try again.",CODE_NOT_SENT:"Something went wrong and the code was not sent. Please try again.",INPUT_ERROR:"Please enter only a four-digit code.",WRONG_CODE:"You entered an incorrect code. Please try again.",POST_URL_ALREADY_IN_USE:"Failed! Blogpost with this URL is already in use!",NAME_CANNOT_BE_EMPTY:"Error: Name cannot be empty. Please enter a name."}}};ai.global.mergeLocaleMessage("ru",gi.ru);ai.global.mergeLocaleMessage("en",gi.en);function E3(e,t){e.forEach(n=>{const r=t[n],s=r.split(",").map(Number);let a;n==="--white"?a=s.map(i=>255-i/1.075):n==="--black"?a=s.map(i=>255-i):n==="--grey"?a=s.map(i=>255-i*2):a=s.map(i=>255-i/1.075),document.documentElement.style.setProperty(n,et.theme.darkmode?a.join(", "):r)})}he.create({baseURL:process.env.API_URL,withCredentials:!0});const C3=o.reactive({code:{value:"",type:"",method:"",isSended:!1,isValid:!1}});o.watch(C3,(e,t)=>{});const O3=he.create({baseURL:process.env.API_URL,withCredentials:!0}),St=o.reactive({user:{_id:void 0,username:"",email:"",phone:"",password:"",passwordRepeat:""},access:{roles:null,token:null,status:!1}});async function S3(){const e=await N3("user");if(e){const{_id:t,email:n,phone:r,roles:s,accessToken:a}=e;Object.assign(St.user,{_id:t,email:n,phone:r}),Object.assign(St.access,{token:a,roles:s,status:!!a}),O3.interceptors.request.use(i=>(a&&(i.headers["x-access-token"]=a),i),i=>Promise.reject(i))}}S3();process.env.API_URL;async function N3(e){if(process.env.MOBILE_APP){const{value:t}=await y3.get({key:e});return t?JSON.parse(t):null}else{const t=l3.get(e);return t?JSON.parse(t):null}}o.watch(St,(e,t)=>{});const T3={id:"sidebar",class:"o-hidden"},w3={class:"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content"},k3=o.createElementVNode("span",null," Backoffice ",-1),vi={__name:"Sidebar",props:["stateSidebar"],emits:["closeSidebar"],setup(e,{emit:t}){const n=Sr(),r=Nr();o.ref(!1);const s=e,a=t;o.watch(()=>r.path,()=>{s.stateSidebar===!0&&a("closeSidebar")});let i=gn;function l(){s.stateSidebar===!0&&a("closeSidebar")}return(d,c)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",T3,[o.createElementVNode("div",w3,[o.createElementVNode("div",null,[o.renderSlot(d.$slots,"default")]),o.createVNode(_r,{label:"Darkmode",radio:et.theme.darkmode,"onUpdate:radio":c[0]||(c[0]=f=>b3.toggleTheme()),name:"prices",class:"t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5"},null,8,["radio"]),St.access.roles&&(St.access.roles.includes("ROLE_MODERATOR")||St.access.roles.includes("ROLE_ADMIN"))?(o.openBlock(),o.createBlock(e3,{key:0,class:"mn-b-regular bg-black t-white"},{default:o.withCtx(()=>[o.createVNode(s3,{onClick:c[1]||(c[1]=f=>o.unref(n).push({name:"Backoffice",params:{_id:o.unref(r).params._id}})),class:"cursor-pointer",theme:"white"},{default:o.withCtx(()=>[k3]),_:1})]),_:1})):o.createCommentVNode("",!0)])])),[[o.unref(i),l]])}},I3=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));function L3(e){return Object.prototype.toString.call(e)==="[object Object]"}function Sa(e){return L3(e)||Array.isArray(e)}function P3(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Gr(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),a=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==a?!1:n.every(i=>{const l=e[i],d=t[i];return typeof l=="function"?`${l}`==`${d}`:!Sa(l)||!Sa(d)?l===d:Gr(l,d)})}function Na(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function A3(e,t){if(e.length!==t.length)return!1;const n=Na(e),r=Na(t);return n.every((s,a)=>{const i=r[a];return Gr(s,i)})}function Wr(e){return typeof e=="number"}function $r(e){return typeof e=="string"}function Kr(e){return typeof e=="boolean"}function Ta(e){return Object.prototype.toString.call(e)==="[object Object]"}function pe(e){return Math.abs(e)}function zr(e){return Math.sign(e)}function Ft(e,t){return pe(e-t)}function D3(e,t){if(e===0||t===0||pe(e)<=pe(t))return 0;const n=Ft(pe(e),pe(t));return pe(n/e)}function Wt(e){return Kt(e).map(Number)}function Ge(e){return e[Zt(e)]}function Zt(e){return Math.max(0,e.length-1)}function Yr(e,t){return t===Zt(e)}function wa(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Kt(e){return Object.keys(e)}function _i(e,t){return[e,t].reduce((n,r)=>(Kt(r).forEach(s=>{const a=n[s],i=r[s],l=Ta(a)&&Ta(i);n[s]=l?_i(a,i):i}),n),{})}function gr(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function R3(e,t){const n={start:r,center:s,end:a};function r(){return 0}function s(d){return a(d)/2}function a(d){return t-d}function i(d,c){return $r(e)?n[e](d):e(t,d,c)}return{measure:i}}function zt(){let e=[];function t(s,a,i,l={passive:!0}){let d;if("addEventListener"in s)s.addEventListener(a,i,l),d=()=>s.removeEventListener(a,i,l);else{const c=s;c.addListener(i),d=()=>c.removeListener(i)}return e.push(d),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function M3(e,t,n,r){const s=zt(),a=1e3/60;let i=null,l=0,d=0;function c(){s.add(e,"visibilitychange",()=>{e.hidden&&p()})}function f(){y(),s.clear()}function u(g){if(!d)return;i||(i=g);const $=g-i;for(i=g,l+=$;l>=a;)n(),l-=a;const S=pe(l/a);r(S),d&&t.requestAnimationFrame(u)}function m(){d||(d=t.requestAnimationFrame(u))}function y(){t.cancelAnimationFrame(d),i=null,l=0,d=0}function p(){i=null,l=0}return{init:c,destroy:f,start:m,stop:y,update:n,render:r}}function F3(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",a=r?"x":"y",i=!r&&n?-1:1,l=f(),d=u();function c(p){const{height:h,width:g}=p;return r?h:g}function f(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function m(p){return p*i}return{scroll:s,cross:a,startEdge:l,endEdge:d,measureSize:c,direction:m}}function $t(e=0,t=0){const n=pe(e-t);function r(c){return c<e}function s(c){return c>t}function a(c){return r(c)||s(c)}function i(c){return a(c)?r(c)?e:t:c}function l(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:i,reachedAny:a,reachedMax:s,reachedMin:r,removeOffset:l}}function yi(e,t,n){const{constrain:r}=$t(0,e),s=e+1;let a=i(t);function i(m){return n?pe((s+m)%s):r(m)}function l(){return a}function d(m){return a=i(m),u}function c(m){return f().set(l()+m)}function f(){return yi(e,l(),n)}const u={get:l,set:d,add:c,clone:f};return u}function x3(e,t,n,r,s,a,i,l,d,c,f,u,m,y,p,h,g,$,S){const{cross:_,direction:E}=e,w=["INPUT","SELECT","TEXTAREA"],O={passive:!1},T=zt(),k=zt(),C=$t(50,225).constrain(y.measure(20)),D={mouse:300,touch:400},F={mouse:500,touch:600},B=p?43:25;let j=!1,se=0,$e=0,Z=!1,Ce=!1,ge=!1,Ee=!1;function Q(V){if(!S)return;function L(M){(Kr(S)||S(V,M))&&ue(M)}const N=t;T.add(N,"dragstart",M=>M.preventDefault(),O).add(N,"touchmove",()=>{},O).add(N,"touchend",()=>{}).add(N,"touchstart",L).add(N,"mousedown",L).add(N,"touchcancel",ye).add(N,"contextmenu",ye).add(N,"click",De,!0)}function ee(){T.clear(),k.clear()}function q(){const V=Ee?n:t;k.add(V,"touchmove",_e,O).add(V,"touchend",ye).add(V,"mousemove",_e,O).add(V,"mouseup",ye)}function ne(V){const L=V.nodeName||"";return w.includes(L)}function ve(){return(p?F:D)[Ee?"mouse":"touch"]}function ce(V,L){const N=u.add(zr(V)*-1),M=f.byDistance(V,!p).distance;return p||pe(V)<C?M:g&&L?M*.5:f.byIndex(N.get(),0).distance}function ue(V){const L=gr(V,r);Ee=L,ge=p&&L&&!V.buttons&&j,j=Ft(s.get(),i.get())>=2,!(L&&V.button!==0)&&(ne(V.target)||(Z=!0,a.pointerDown(V),c.useFriction(0).useDuration(0),s.set(i),q(),se=a.readPoint(V),$e=a.readPoint(V,_),m.emit("pointerDown")))}function _e(V){if(!gr(V,r)&&V.touches.length>=2)return ye(V);const N=a.readPoint(V),M=a.readPoint(V,_),X=Ft(N,se),ie=Ft(M,$e);if(!Ce&&!Ee&&(!V.cancelable||(Ce=X>ie,!Ce)))return ye(V);const be=a.pointerMove(V);X>h&&(ge=!0),c.useFriction(.3).useDuration(.75),l.start(),s.add(E(be)),V.preventDefault()}function ye(V){const N=f.byDistance(0,!1).index!==u.get(),M=a.pointerUp(V)*ve(),X=ce(E(M),N),ie=D3(M,X),be=B-10*ie,Re=$+ie/50;Ce=!1,Z=!1,k.clear(),c.useDuration(be).useFriction(Re),d.distance(X,!p),Ee=!1,m.emit("pointerUp")}function De(V){ge&&(V.stopPropagation(),V.preventDefault(),ge=!1)}function Oe(){return Z}return{init:Q,destroy:ee,pointerDown:Oe}}function B3(e,t){let r,s;function a(u){return u.timeStamp}function i(u,m){const p=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(gr(u,t)?u:u.touches[0])[p]}function l(u){return r=u,s=u,i(u)}function d(u){const m=i(u)-i(s),y=a(u)-a(r)>170;return s=u,y&&(r=u),m}function c(u){if(!r||!s)return 0;const m=i(s)-i(r),y=a(u)-a(r),p=a(u)-a(s)>170,h=m/y;return y&&!p&&pe(h)>.1?h:0}return{pointerDown:l,pointerMove:d,pointerUp:c,readPoint:i}}function V3(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:a,offsetHeight:i}=n;return{top:r,right:s+a,bottom:r+i,left:s,width:a,height:i}}return{measure:e}}function U3(e){function t(r){return e*(r/100)}return{measure:t}}function j3(e,t,n,r,s,a,i){let l,d,c=[],f=!1;function u(h){return s.measureSize(i.measure(h))}function m(h){if(!a)return;d=u(e),c=r.map(u);function g(S){for(const _ of S){const E=_.target===e,w=r.indexOf(_.target),O=E?d:c[w],T=u(E?e:r[w]);if(pe(T-O)>=.5){n.requestAnimationFrame(()=>{h.reInit(),t.emit("resize")});break}}}l=new ResizeObserver(S=>{f||(Kr(a)||a(h,S))&&g(S)}),[e].concat(r).forEach(S=>l.observe(S))}function y(){l&&l.disconnect(),f=!0}return{init:m,destroy:y}}function H3(e,t,n,r,s){let a=0,i=0,l=r,d=s,c=e.get(),f=0;function u(){const w=n.get()-e.get(),O=!l;let T=0;return O?(a=0,e.set(n),T=w):(a+=w/l,a*=d,c+=a,e.add(a),T=c-f),i=zr(T),f=c,E}function m(){const w=n.get()-t.get();return pe(w)<.001}function y(){return l}function p(){return i}function h(){return a}function g(){return S(r)}function $(){return _(s)}function S(w){return l=w,E}function _(w){return d=w,E}const E={direction:p,duration:y,velocity:h,seek:u,settled:m,useBaseFriction:$,useBaseDuration:g,useFriction:_,useDuration:S};return E}function G3(e,t,n,r,s){const a=s.measure(10),i=s.measure(50),l=$t(.1,.99);let d=!1;function c(){return!(d||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(y){if(!c())return;const p=e.reachedMin(t.get())?"min":"max",h=pe(e[p]-t.get()),g=n.get()-t.get(),$=l.constrain(h/i);n.subtract(g*$),!y&&pe(g)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(y){d=!y}return{constrain:f,toggleActive:u}}function W3(e,t,n,r,s){const a=$t(-t+e,0),i=u(),l=f(),d=m();function c(p,h){return Ft(p,h)<1}function f(){const p=i[0],h=Ge(i),g=i.lastIndexOf(p),$=i.indexOf(h)+1;return $t(g,$)}function u(){return n.map((p,h)=>{const{min:g,max:$}=a,S=a.constrain(p),_=!h,E=Yr(n,h);return _?$:E||c(g,S)?g:c($,S)?$:S}).map(p=>parseFloat(p.toFixed(3)))}function m(){if(t<=e+s)return[a.max];if(r==="keepSnaps")return i;const{min:p,max:h}=l;return i.slice(p,h)}return{snapsContained:d,scrollContainLimit:l}}function K3(e,t,n){const r=t[0],s=n?r-e:Ge(t);return{limit:$t(s,r)}}function z3(e,t,n,r){const a=t.min+.1,i=t.max+.1,{reachedMin:l,reachedMax:d}=$t(a,i);function c(m){return m===1?d(n.get()):m===-1?l(n.get()):!1}function f(m){if(!c(m))return;const y=e*(m*-1);r.forEach(p=>p.add(y))}return{loop:f}}function Y3(e){const{max:t,length:n}=e;function r(a){const i=a-t;return n?i/-n:0}return{get:r}}function q3(e,t,n,r,s){const{startEdge:a,endEdge:i}=e,{groupSlides:l}=s,d=u().map(t.measure),c=m(),f=y();function u(){return l(r).map(h=>Ge(h)[i]-h[0][a]).map(pe)}function m(){return r.map(h=>n[a]-h[a]).map(h=>-pe(h))}function y(){return l(c).map(h=>h[0]).map((h,g)=>h+d[g])}return{snaps:c,snapsAligned:f}}function X3(e,t,n,r,s,a){const{groupSlides:i}=s,{min:l,max:d}=r,c=f();function f(){const m=i(a),y=!e||t==="keepSnaps";return n.length===1?[a]:y?m:m.slice(l,d).map((p,h,g)=>{const $=!h,S=Yr(g,h);if($){const _=Ge(g[0])+1;return wa(_)}if(S){const _=Zt(a)-Ge(g)[0]+1;return wa(_,Ge(g)[0])}return p})}return{slideRegistry:c}}function J3(e,t,n,r,s){const{reachedAny:a,removeOffset:i,constrain:l}=r;function d(p){return p.concat().sort((h,g)=>pe(h)-pe(g))[0]}function c(p){const h=e?i(p):l(p),g=t.map((S,_)=>({diff:f(S-h,0),index:_})).sort((S,_)=>pe(S.diff)-pe(_.diff)),{index:$}=g[0];return{index:$,distance:h}}function f(p,h){const g=[p,p+n,p-n];if(!e)return p;if(!h)return d(g);const $=g.filter(S=>zr(S)===h);return $.length?d($):Ge(g)-n}function u(p,h){const g=t[p]-s.get(),$=f(g,h);return{index:p,distance:$}}function m(p,h){const g=s.get()+p,{index:$,distance:S}=c(g),_=!e&&a(g);if(!h||_)return{index:$,distance:p};const E=t[$]-S,w=p+f(E,0);return{index:$,distance:w}}return{byDistance:m,byIndex:u,shortcut:f}}function Z3(e,t,n,r,s,a,i){function l(u){const m=u.distance,y=u.index!==t.get();a.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),y&&(n.set(t.get()),t.set(u.index),i.emit("select"))}function d(u,m){const y=s.byDistance(u,m);l(y)}function c(u,m){const y=t.clone().set(u),p=s.byIndex(y.get(),m);l(p)}return{distance:d,index:c}}function Q3(e,t,n,r,s,a,i){let l=0;function d(){a.add(document,"keydown",c,!1),t.forEach(f)}function c(m){m.code==="Tab"&&(l=new Date().getTime())}function f(m){const y=()=>{if(new Date().getTime()-l>10)return;e.scrollLeft=0;const g=t.indexOf(m),$=n.findIndex(S=>S.includes(g));Wr($)&&(s.useDuration(0),r.index($,0),i.emit("slideFocus"))};a.add(m,"focus",y,{passive:!0,capture:!0})}return{init:d}}function ln(e){let t=e;function n(){return t}function r(d){t=i(d)}function s(d){t+=i(d)}function a(d){t-=i(d)}function i(d){return Wr(d)?d:d.get()}return{get:n,set:r,add:s,subtract:a}}function bi(e,t){const n=e.scroll==="x"?a:i,r=t.style;let s=!1;function a(u){return`translate3d(${u}px,0px,0px)`}function i(u){return`translate3d(0px,${u}px,0px)`}function l(u){s||(r.transform=n(e.direction(u)))}function d(u){s=!u}function c(){s||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:d}}function eh(e,t,n,r,s,a,i,l,d){const f=Wt(s),u=Wt(s).reverse(),m=$().concat(S());function y(T,k){return T.reduce((C,D)=>C-s[D],k)}function p(T,k){return T.reduce((C,D)=>y(C,k)>0?C.concat([D]):C,[])}function h(T){return a.map((k,C)=>({start:k-r[C]+.5+T,end:k+t-.5+T}))}function g(T,k,C){const D=h(k);return T.map(F=>{const B=C?0:-n,j=C?n:0,se=C?"end":"start",$e=D[F][se];return{index:F,loopPoint:$e,slideLocation:ln(-1),translate:bi(e,d[F]),target:()=>l.get()>$e?B:j}})}function $(){const T=i[0],k=p(u,T);return g(k,n,!1)}function S(){const T=t-i[0]-1,k=p(f,T);return g(k,-n,!0)}function _(){return m.every(({index:T})=>{const k=f.filter(C=>C!==T);return y(k,t)<=.1})}function E(){m.forEach(T=>{const{target:k,translate:C,slideLocation:D}=T,F=k();F!==D.get()&&(C.to(F),D.set(F))})}function w(){m.forEach(T=>T.translate.clear())}return{canLoop:_,clear:w,loop:E,loopPoints:m}}function th(e,t,n){let r,s=!1;function a(d){if(!n)return;function c(f){for(const u of f)if(u.type==="childList"){d.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{s||(Kr(n)||n(d,f))&&c(f)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),s=!0}return{init:a,destroy:i}}function nh(e,t,n,r){const s={};let a=null,i=null,l,d=!1;function c(){l=new IntersectionObserver(p=>{d||(p.forEach(h=>{const g=t.indexOf(h.target);s[g]=h}),a=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(p=>l.observe(p))}function f(){l&&l.disconnect(),d=!0}function u(p){return Kt(s).reduce((h,g)=>{const $=parseInt(g),{isIntersecting:S}=s[$];return(p&&S||!p&&!S)&&h.push($),h},[])}function m(p=!0){if(p&&a)return a;if(!p&&i)return i;const h=u(p);return p&&(a=h),p||(i=h),h}return{init:c,destroy:f,get:m}}function rh(e,t,n,r,s,a){const{measureSize:i,startEdge:l,endEdge:d}=e,c=n[0]&&s,f=p(),u=h(),m=n.map(i),y=g();function p(){if(!c)return 0;const S=n[0];return pe(t[l]-S[l])}function h(){if(!c)return 0;const S=a.getComputedStyle(Ge(r));return parseFloat(S.getPropertyValue(`margin-${d}`))}function g(){return n.map((S,_,E)=>{const w=!_,O=Yr(E,_);return w?m[_]+f:O?m[_]+u:E[_+1][l]-S[l]}).map(pe)}return{slideSizes:m,slideSizesWithGaps:y,startGap:f,endGap:u}}function oh(e,t,n,r,s,a,i,l,d){const{startEdge:c,endEdge:f,direction:u}=e,m=Wr(n);function y($,S){return Wt($).filter(_=>_%S===0).map(_=>$.slice(_,_+S))}function p($){return $.length?Wt($).reduce((S,_,E)=>{const w=Ge(S)||0,O=w===0,T=_===Zt($),k=s[c]-a[w][c],C=s[c]-a[_][f],D=!r&&O?u(i):0,F=!r&&T?u(l):0,B=pe(C-F-(k+D));return E&&B>t+d&&S.push(_),T&&S.push($.length),S},[]).map((S,_,E)=>{const w=Math.max(E[_-1]||0);return $.slice(w,S)}):[]}function h($){return m?y($,n):p($)}return{groupSlides:h}}function ah(e,t,n,r,s,a,i){const{align:l,axis:d,direction:c,startIndex:f,loop:u,duration:m,dragFree:y,dragThreshold:p,inViewThreshold:h,slidesToScroll:g,skipSnaps:$,containScroll:S,watchResize:_,watchSlides:E,watchDrag:w}=a,O=2,T=V3(),k=T.measure(t),C=n.map(T.measure),D=F3(d,c),F=D.measureSize(k),B=U3(F),j=R3(l,F),se=!u&&!!S,$e=u||!!S,{slideSizes:Z,slideSizesWithGaps:Ce,startGap:ge,endGap:Ee}=rh(D,k,C,n,$e,s),Q=oh(D,F,g,u,k,C,ge,Ee,O),{snaps:ee,snapsAligned:q}=q3(D,j,k,C,Q),ne=-Ge(ee)+Ge(Ce),{snapsContained:ve,scrollContainLimit:ce}=W3(F,ne,q,S,O),ue=se?ve:q,{limit:_e}=K3(ne,ue,u),ye=yi(Zt(ue),f,u),De=ye.clone(),Oe=Wt(n),re=({dragHandler:R,scrollBody:K,scrollBounds:fe,options:{loop:xe}})=>{xe||fe.constrain(R.pointerDown()),K.seek()},V=({scrollBody:R,translate:K,location:fe,offsetLocation:xe,scrollLooper:gt,slideLooper:ot,dragHandler:Je,animation:Ln,eventHandler:At,options:{loop:Si}},Ni)=>{const Jr=R.velocity(),Zr=R.settled();Zr&&!Je.pointerDown()&&(Ln.stop(),At.emit("settle")),Zr||At.emit("scroll"),xe.set(fe.get()-Jr+Jr*Ni),Si&&(gt.loop(R.direction()),ot.loop()),K.to(xe.get())},L=M3(r,s,()=>re(I),R=>V(I,R)),N=.68,M=ue[ye.get()],X=ln(M),ie=ln(M),be=ln(M),Re=H3(X,ie,be,m,N),v=J3(u,ue,ne,_e,be),b=Z3(L,ye,De,Re,v,be,i),A=Y3(_e),U=zt(),le=nh(t,n,i,h),{slideRegistry:oe}=X3(se,S,ue,ce,Q,Oe),te=Q3(e,n,oe,b,Re,U,i),I={ownerDocument:r,ownerWindow:s,eventHandler:i,containerRect:k,slideRects:C,animation:L,axis:D,dragHandler:x3(D,e,r,s,be,B3(D,s),X,L,b,Re,v,ye,i,B,y,p,$,N,w),eventStore:U,percentOfView:B,index:ye,indexPrevious:De,limit:_e,location:X,offsetLocation:ie,options:a,resizeHandler:j3(t,i,s,n,D,_,T),scrollBody:Re,scrollBounds:G3(_e,ie,be,Re,B),scrollLooper:z3(ne,_e,ie,[X,ie,be]),scrollProgress:A,scrollSnapList:ue.map(A.get),scrollSnaps:ue,scrollTarget:v,scrollTo:b,slideLooper:eh(D,F,ne,Z,Ce,ee,ue,ie,n),slideFocus:te,slidesHandler:th(t,i,E),slidesInView:le,slideIndexes:Oe,slideRegistry:oe,slidesToScroll:Q,target:be,translate:bi(D,t)};return I}function sh(){let e={},t;function n(c){t=c}function r(c){return e[c]||[]}function s(c){return r(c).forEach(f=>f(t,c)),d}function a(c,f){return e[c]=r(c).concat([f]),d}function i(c,f){return e[c]=r(c).filter(u=>u!==f),d}function l(){e={}}const d={init:n,emit:s,off:i,on:a,clear:l};return d}const ih={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function lh(e){function t(a,i){return _i(a,i||{})}function n(a){const i=a.breakpoints||{},l=Kt(i).filter(d=>e.matchMedia(d).matches).map(d=>i[d]).reduce((d,c)=>t(d,c),{});return t(a,l)}function r(a){return a.map(i=>Kt(i.breakpoints||{})).reduce((i,l)=>i.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function dh(e){let t=[];function n(a,i){return t=i.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(a,e)),i.reduce((l,d)=>Object.assign(l,{[d.name]:d}),{})}function r(){t=t.filter(a=>a.destroy())}return{init:n,destroy:r}}function $n(e,t,n){const r=e.ownerDocument,s=r.defaultView,a=lh(s),i=dh(a),l=zt(),d=sh(),{mergeOptions:c,optionsAtMedia:f,optionsMediaQueries:u}=a,{on:m,off:y,emit:p}=d,h=F;let g=!1,$,S=c(ih,$n.globalOptions),_=c(S),E=[],w,O,T;function k(){const{container:re,slides:V}=_;O=($r(re)?e.querySelector(re):re)||e.children[0];const N=$r(V)?O.querySelectorAll(V):V;T=[].slice.call(N||O.children)}function C(re){const V=ah(e,O,T,r,s,re,d);if(re.loop&&!V.slideLooper.canLoop()){const L=Object.assign({},re,{loop:!1});return C(L)}return V}function D(re,V){g||(S=c(S,re),_=f(S),E=V||E,k(),$=C(_),u([S,...E.map(({options:L})=>L)]).forEach(L=>l.add(L,"change",F)),_.active&&($.translate.to($.location.get()),$.animation.init(),$.slidesInView.init(),$.slideFocus.init(),$.eventHandler.init(Oe),$.resizeHandler.init(Oe),$.slidesHandler.init(Oe),$.options.loop&&$.slideLooper.loop(),O.offsetParent&&T.length&&$.dragHandler.init(Oe),w=i.init(Oe,E)))}function F(re,V){const L=ee();B(),D(c({startIndex:L},re),V),d.emit("reInit")}function B(){$.dragHandler.destroy(),$.eventStore.clear(),$.translate.clear(),$.slideLooper.clear(),$.resizeHandler.destroy(),$.slidesHandler.destroy(),$.slidesInView.destroy(),$.animation.destroy(),i.destroy(),l.clear()}function j(){g||(g=!0,l.clear(),B(),d.emit("destroy"),d.clear())}function se(re,V,L){!_.active||g||($.scrollBody.useBaseFriction().useDuration(V===!0?0:_.duration),$.scrollTo.index(re,L||0))}function $e(re){const V=$.index.add(1).get();se(V,re,-1)}function Z(re){const V=$.index.add(-1).get();se(V,re,1)}function Ce(){return $.index.add(1).get()!==ee()}function ge(){return $.index.add(-1).get()!==ee()}function Ee(){return $.scrollSnapList}function Q(){return $.scrollProgress.get($.location.get())}function ee(){return $.index.get()}function q(){return $.indexPrevious.get()}function ne(){return $.slidesInView.get()}function ve(){return $.slidesInView.get(!1)}function ce(){return w}function ue(){return $}function _e(){return e}function ye(){return O}function De(){return T}const Oe={canScrollNext:Ce,canScrollPrev:ge,containerNode:ye,internalEngine:ue,destroy:j,off:y,on:m,emit:p,plugins:ce,previousScrollSnap:q,reInit:h,rootNode:_e,scrollNext:$e,scrollPrev:Z,scrollProgress:Q,scrollSnapList:Ee,scrollTo:se,selectedScrollSnap:ee,slideNodes:De,slidesInView:ne,slidesNotInView:ve};return D(t,n),setTimeout(()=>d.emit("init"),0),Oe}$n.globalOptions=void 0;function qr(e={},t=[]){const n=o.ref(o.isRef(e)?e.value:e),r=o.ref(o.isRef(t)?t.value:t),s=o.ref(),a=o.ref();function i(){a.value&&a.value.reInit(n.value,r.value)}return o.onMounted(()=>{!P3()||!s.value||($n.globalOptions=qr.globalOptions,a.value=$n(s.value,n.value,r.value))}),o.onBeforeUnmount(()=>{a.value&&a.value.destroy()}),o.isRef(e)&&o.watch(e,l=>{Gr(n.value,l)||(n.value=l,i())}),o.isRef(t)&&o.watch(t,l=>{A3(r.value,l)||(r.value=l,i())}),[s,a]}qr.globalOptions=void 0;const ch={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Xr(e={}){let t,n,r,s=!1,a=!0,i=!1,l=0;function d(E,w){n=E;const{mergeOptions:O,optionsAtMedia:T}=w,k=O(ch,Xr.globalOptions),C=O(k,e);if(t=T(C),n.scrollSnapList().length<=1)return;i=t.jump,r=!1;const{eventStore:D,ownerDocument:F}=n.internalEngine(),B=n.rootNode(),j=t.rootNode&&t.rootNode(B)||B,se=n.containerNode();n.on("pointerDown",u),t.stopOnInteraction||n.on("pointerUp",f),t.stopOnMouseEnter&&(D.add(j,"mouseenter",()=>{a=!1,u()}),t.stopOnInteraction||D.add(j,"mouseleave",()=>{a=!0,f()})),t.stopOnFocusIn&&(D.add(se,"focusin",u),t.stopOnInteraction||D.add(se,"focusout",f)),D.add(F,"visibilitychange",m),t.playOnInit&&!y()&&f()}function c(){n.off("pointerDown",u).off("pointerUp",f),u(),r=!0,s=!1}function f(){if(r||!a)return;s||n.emit("autoplay:play");const{ownerWindow:E}=n.internalEngine();E.clearInterval(l),l=E.setInterval(S,t.delay),s=!0}function u(){if(r)return;s&&n.emit("autoplay:stop");const{ownerWindow:E}=n.internalEngine();E.clearInterval(l),l=0,s=!1}function m(){if(y())return a=s,u();a&&f()}function y(){const{ownerDocument:E}=n.internalEngine();return E.visibilityState==="hidden"}function p(E){typeof E<"u"&&(i=E),a=!0,f()}function h(){s&&u()}function g(){s&&p()}function $(){return s}function S(){const{index:E}=n.internalEngine(),w=E.clone().add(1).get(),O=n.scrollSnapList().length-1;t.stopOnLastSnap&&w===O&&u(),n.canScrollNext()?n.scrollNext(i):n.scrollTo(0,i)}return{name:"autoplay",options:e,init:d,destroy:c,play:p,stop:h,reset:g,isPlaying:$}}Xr.globalOptions=void 0;const uh={class:"embla__container"},Ei={__name:"Slider",props:{store:Object,options:Object,text:Object,user:Object},setup(e){const t=e;Sr();const n=o.ref([]),r=o.ref(!0),s=o.ref(0),a={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:c=>c.parentElement},[i,l]=qr({loop:!0},[Xr(a)]),d=c=>s.value=l.value.selectedScrollSnap();return o.onMounted(async()=>{n.value=await t.store.read(t.options),r.value=!1,d(),l.value.on("reInit",d),l.value.on("select",d)}),(c,f)=>(o.openBlock(),o.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:i},[o.createElementVNode("div",uh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(u,m,y)=>(o.openBlock(),o.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[o.createVNode(o.Transition,{name:"fade",mode:"out-in",appear:""},{default:o.withCtx(()=>[o.renderSlot(c.$slots,"default",{item:u,user:e.user})]),_:2},1024)]))),128))])],512))}},fh=Object.freeze(Object.defineProperty({__proto__:null,default:Ei},Symbol.toStringTag,{value:"Module"})),mh={class:"pd-small error-wrapper"},ph={class:"flex-nowrap flex radius-small pd-small t-white bg-fourth"},hh={class:"w-100"},$h=o.createElementVNode("br",null,null,-1),Ci={__name:"Status",props:{status:String,message:String,show:Boolean,data:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",mh,[o.createElementVNode("div",ph,[o.createElementVNode("p",hh,[o.createTextVNode(o.toDisplayString(e.data.message)+" ",1),$h]),o.createVNode(Rr,{onClick:n[0]||(n[0]=r=>t.closePopup()),class:"cursor-pointer hover-scale-1 i-regular z-index-5"})])]))}},gh=Object.freeze(Object.defineProperty({__proto__:null,default:Ci},Symbol.toStringTag,{value:"Module"})),vh={class:"marquee","aria-hidden":!0},Oi={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:[Array,String],default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(e,{emit:t}){const n=e,r=t,s=o.ref(!1),a=o.ref(0),i=o.ref(0),l=o.ref(0),d=o.ref(null),c=o.ref("100%"),f=o.ref(0),u=o.ref(0),m=o.ref("100%"),y=o.ref(0),p=o.ref(0),h=o.ref("200px"),g=o.ref(!1),$=o.ref(null),S=o.ref(null),_=async()=>{await E(),a.value++},E=async()=>{n.vertical&&(g.value=!0),setInterval(()=>{if(c.value="0%",m.value="0%",$.value!==null&&S.value!==null)if($.value&&S.value)if(n.vertical&&"clientHeight"in $.value&&"clientHeight"in S.value){p.value=$.value.clientHeight,y.value=S.value.clientHeight;const F=Math.ceil(y.value/p.value);return i.value=isFinite(F)?F:0,g.value=!1,i.value}else if(!n.vertical&&"clientWidth"in $.value&&"clientWidth"in S.value){u.value=$.value.clientWidth,f.value=S.value.clientWidth;const F=Math.ceil(f.value/u.value);return i.value=isFinite(F)?F:0,i.value}else return c.value="100%",m.value="100%",0;else return c.value="100%",m.value="100%",0;else return c.value="100%",m.value="100%",0},100)},w=()=>{n.pauseOnHover&&r("onPause")},O=()=>{n.pauseOnHover&&r("onResume")},T=()=>{n.pauseOnClick&&r("onPause")},k=()=>{n.pauseOnClick&&r("onResume")},C=o.computed(()=>({"--loops":`${n.loop===0?"infinite":n.loop}`,"--duration":`${n.duration}s`,"--delay":`${n.delay}s`,"--direction":`${n.direction}`,"--pauseOnHover":`${n.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${n.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${n.vertical&&g.value||n.pause?"paused":"running"}`,"--gradient-color":`rgba(${n.gradientColor}, 1), rgba(${n.gradientColor}, 0)`,"--gradient-length":`${h.value}`,"--min-width":`${c.value}`,"--min-height":`${m.value}`,"--orientation":n.vertical?"scrollY":"scrollX"})),D=async()=>{n.vertical?(m.value="100%",c.value="auto"):(m.value="auto",c.value="100%"),n.gradient&&n.gradientLength&&(h.value=n.gradientLength),n.clone&&(await E(),_()),s.value=!0};return o.onMounted(async()=>{D(),d.value=setInterval(()=>{l.value++,n.loop!==0&&l.value===n.loop&&(r("onComplete"),clearInterval(d.value)),r("onLoopComplete")},n.duration*1e3)}),o.onBeforeUnmount(()=>{clearInterval(d.value)}),o.watch(u,async()=>{n.clone&&_()}),o.watch(f,async()=>{n.clone&&_()}),o.watch(()=>n.pause,(F,B)=>{F!==B&&r(F?"onResume":"onPause")}),(F,B)=>s.value?(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical}]),style:o.normalizeStyle(C.value),key:a.value,onMouseenter:w,onMouseleave:O,onMousedown:T,onMouseup:k},[o.createElementVNode("div",{class:o.normalizeClass(["transparent-overlay",{vertical:e.vertical,horizontal:!e.vertical,overlay:e.gradient}]),ref_key:"marqueeOverlayContainer",ref:S,"aria-hidden":!0},null,2),o.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:$},[o.renderSlot(F.$slots,"default")],512),o.createElementVNode("div",vh,[o.renderSlot(F.$slots,"default")]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,j=>(o.openBlock(),o.createElementBlock("div",{key:j,"aria-hidden":!0,class:"marquee cloned"},[o.renderSlot(F.$slots,"default")]))),128))],38)):o.createCommentVNode("",!0)}},_h=Object.freeze(Object.defineProperty({__proto__:null,default:Oi},Symbol.toStringTag,{value:"Module"})),yh={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ri)),e.component("Button",()=>Promise.resolve().then(()=>zi)),e.component("Checkbox",()=>Promise.resolve().then(()=>Ji)),e.component("Dropdown",()=>Promise.resolve().then(()=>tl)),e.component("Error",()=>Promise.resolve().then(()=>ol)),e.component("Field",()=>Promise.resolve().then(()=>fl)),e.component("FieldPhone",()=>Promise.resolve().then(()=>kc)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Mc)),e.component("Map",()=>Promise.resolve().then(()=>xc)),e.component("Popup",()=>Promise.resolve().then(()=>v0)),e.component("Radio",()=>Promise.resolve().then(()=>C0)),e.component("Select",()=>Promise.resolve().then(()=>I0)),e.component("SelectMulti",()=>Promise.resolve().then(()=>t1)),e.component("Spoiler",()=>Promise.resolve().then(()=>r1)),e.component("Tab",()=>Promise.resolve().then(()=>s1)),e.component("Tooltip",()=>Promise.resolve().then(()=>l1)),e.component("Text",()=>Promise.resolve().then(()=>c1)),e.component("Upload",()=>Promise.resolve().then(()=>P2)),e.component("UploadImage",()=>Promise.resolve().then(()=>F2)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>Y2)),e.component("Breadcrumbs",()=>Promise.resolve().then(()=>rm)),e.component("Chips",()=>Promise.resolve().then(()=>lm)),e.component("Countdown",()=>Promise.resolve().then(()=>Sm)),e.component("DatePicker",()=>Promise.resolve().then(()=>wm)),e.component("EmptyState",()=>Promise.resolve().then(()=>Lm)),e.component("Feed",()=>Promise.resolve().then(()=>hp)),e.component("FieldBig",()=>Promise.resolve().then(()=>vp)),e.component("FieldTags",()=>Promise.resolve().then(()=>Kp)),e.component("Loader",()=>Promise.resolve().then(()=>ji)),e.component("Magnifier",()=>Promise.resolve().then(()=>qp)),e.component("Shader",()=>Promise.resolve().then(()=>Zp)),e.component("Sidebar",()=>Promise.resolve().then(()=>I3)),e.component("Slider",()=>Promise.resolve().then(()=>fh)),e.component("Status",()=>Promise.resolve().then(()=>gh)),e.component("Marquee",()=>Promise.resolve().then(()=>_h))}};exports.Address=ka;exports.Chips=ii;exports.Dropdown=dn;exports.Field=vn;exports.FieldPhone=xa;exports.FieldTags=mi;exports.Loader=Yt;exports.LocationMarker=Va;exports.Magnifier=pi;exports.Map=Ua;exports.Select=Ns;exports.SelectMulti=ws;exports.Shader=hi;exports.Tooltip=Ls;exports.Upload=ei;exports.WebPlugin=Hr;exports._sfc_main=Ia;exports._sfc_main$1=_r;exports._sfc_main$10=si;exports._sfc_main$11=li;exports._sfc_main$12=di;exports._sfc_main$13=Ur;exports._sfc_main$14=ci;exports._sfc_main$15=ui;exports._sfc_main$16=vi;exports._sfc_main$17=Ei;exports._sfc_main$18=Ci;exports._sfc_main$19=Oi;exports._sfc_main$2=La;exports._sfc_main$3=Ss;exports._sfc_main$4=Mr;exports._sfc_main$5=ks;exports._sfc_main$6=Is;exports._sfc_main$7=Ps;exports._sfc_main$8=ti;exports._sfc_main$9=ni;exports.main=yh;
|