@ozdao/prometheus-framework 0.2.81 → 0.2.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -1
- package/dist/auth.server.mjs +1 -1
- package/dist/community.server.js +3 -3
- package/dist/community.server.mjs +3 -3
- package/dist/credentials.schema-CDZCKfEI.mjs +106 -0
- package/dist/credentials.schema-CfhPcsuI.js +105 -0
- package/dist/events.server.js +4 -15
- package/dist/events.server.mjs +3 -14
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/index-B6a1mPgp.mjs +217 -0
- package/dist/index-BCCiEK_u.js +216 -0
- package/dist/main-8N2Jmsuk.js +91 -0
- package/dist/main-CkeuHuCY.mjs +13619 -0
- package/dist/main.css +1 -1
- package/dist/metadata.schema-Cu_mPkjE.js +77 -0
- package/dist/metadata.schema-cbFgazeK.mjs +78 -0
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -0
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +238 -0
- package/dist/organizations.server.js +297 -134
- package/dist/organizations.server.mjs +295 -132
- package/dist/products.server.js +2 -2
- package/dist/products.server.mjs +2 -2
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +33 -24
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +23 -20
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +102 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +71 -60
- 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/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +325 -340
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +2 -2
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +53 -44
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +41 -40
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +37 -31
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +18 -19
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -36
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +36 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
- 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 +3 -3
- 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 +3 -3
- 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 +30 -30
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +26 -26
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +78 -103
- 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 +2 -2
- 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 +2 -2
- 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 +15 -15
- 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/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +4 -4
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +29 -27
- 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 +2 -2
- 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 +2 -2
- 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 +33 -26
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +6 -3
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +70 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.js +35 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +63 -86
- 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/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +174 -114
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +40 -40
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +141 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +77 -0
- 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 +46 -35
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +5 -0
- package/dist/prometheus-framework/src/modules/orders/store/models/customer.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/models/customer.js +30 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +24 -25
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +38 -49
- 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/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +6 -6
- 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 +161 -138
- 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 +198 -78
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +82 -125
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.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 +2 -2
- 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 +59 -70
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +34 -36
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +38 -18
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +34 -35
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +41 -21
- 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 +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- 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/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.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 +2 -2
- 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 +24 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +78 -0
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +13 -14
- 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 +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJdKh0Ow.mjs +162 -0
- package/dist/queryProcessor-DRMo_GWK.js +161 -0
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +69 -38
- package/dist/users.server.mjs +67 -36
- package/dist/wallet.server.js +2 -2
- package/dist/wallet.server.mjs +2 -2
- package/dist/web-CtVocufd.js +1 -0
- package/dist/web-DNq1tHCE.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +13 -2
- package/src/components/Block/Block.vue +3 -2
- package/src/components/Button/Button.vue +9 -12
- package/src/components/Feed/Feed.vue +28 -6
- package/src/components/FieldPhone/FieldPhone.vue +592 -558
- package/src/components/LocationMarker/LocationMarker.vue +26 -22
- package/src/components/Popup/Popup.vue +22 -23
- package/src/components/Select/Select.vue +43 -32
- package/src/components/Slider/Slider.vue +3 -4
- package/src/modules/auth/components/pages/Invite.vue +7 -7
- package/src/modules/auth/store/auth.js +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +44 -29
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +4 -3
- package/src/modules/events/components/pages/Events.vue +23 -6
- package/src/modules/globals/components/sections/SectionPageTitle.vue +19 -7
- package/src/modules/globals/controllers/utils/queryProcessor.js +21 -7
- package/src/modules/globals/localization/vue-i18n.js +3 -0
- package/src/modules/globals/models/credentials.schema.js +7 -0
- package/src/modules/globals/models/metadata.schema.js +17 -0
- package/src/modules/globals/models/profile.schema.js +23 -0
- package/src/modules/globals/models/socials.schema.js +22 -0
- package/src/modules/globals/router/routerGuards.js +1 -0
- package/src/modules/globals/services/globals.cashe.js +26 -0
- package/src/modules/globals/services/globals.crud.js +115 -0
- package/src/modules/globals/services/globals.logger.js +41 -0
- package/src/modules/globals/services/globals.store.js +114 -0
- package/src/modules/icons/entities/IconGallery.vue +14 -0
- package/src/modules/icons/entities/IconLeftovers.vue +14 -0
- package/src/modules/icons/entities/IconOrders.vue +15 -0
- package/src/modules/icons/entities/IconProducts.vue +14 -0
- package/src/modules/landing/components/sections/HeroSection.vue +1 -1
- package/src/modules/landing/components/sections/MobileApp.vue +4 -4
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/marketplace/components/sections/Filters.vue +3 -3
- package/src/modules/middlewares/server/accessors/AccessController.js +33 -0
- package/src/modules/middlewares/server/accessors/ReadDepartments.js +101 -0
- package/src/modules/middlewares/server/verifyAccesses.js +33 -0
- package/src/modules/middlewares/server/verifyInvites.js +4 -4
- package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +105 -68
- package/src/modules/orders/components/pages/Orders.vue +2 -2
- package/src/modules/orders/components/sections/FormAddCustomer.vue +152 -0
- package/src/modules/orders/components/sections/FormCustomerDetails.vue +67 -0
- package/src/modules/orders/components/sections/FormDelivery.vue +17 -3
- package/src/modules/orders/controllers/applications.controller.js +2 -0
- package/src/modules/orders/controllers/orders.controller.js +77 -52
- package/src/modules/orders/models/customer.model.js +54 -18
- package/src/modules/orders/models/order.model.js +1 -1
- package/src/modules/orders/orders.client.js +51 -51
- package/src/modules/orders/orders.server.js +32 -12
- package/src/modules/orders/router/orders.router.js +36 -41
- package/src/modules/orders/routes/orders.routes.js +3 -21
- package/src/modules/orders/store/customers.store.js +5 -0
- package/src/modules/orders/store/models/customer.js +29 -0
- package/src/modules/orders/store/orders.js +14 -20
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +1 -12
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +72 -48
- package/src/modules/organizations/components/pages/Members.vue +178 -64
- package/src/modules/organizations/components/pages/Organization.vue +1 -41
- package/src/modules/organizations/components/sections/MembersAdd.vue +44 -52
- package/src/modules/organizations/controllers/departments.controller.js +2 -4
- package/src/modules/organizations/controllers/invites.controller.js +24 -23
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/department.model.js +52 -2
- package/src/modules/organizations/models/invite.model.js +29 -32
- package/src/modules/organizations/models/membership.model.js +2 -0
- package/src/modules/organizations/models/organization.model.js +2 -1
- package/src/modules/organizations/organizations.client.js +0 -2
- package/src/modules/organizations/routes/departments.routes.js +18 -7
- package/src/modules/organizations/routes/invites.routes.js +2 -2
- package/src/modules/organizations/store/departments.js +22 -1
- package/src/modules/organizations/store/invites.js +74 -90
- package/src/modules/products/components/blocks/CardProduct.vue +24 -0
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/reports/components/sections/FormReport.vue +40 -40
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +85 -0
- package/src/modules/users/controllers/users.controller.js +36 -13
- package/src/modules/users/middlewares/visitor.logger.js +66 -0
- package/src/modules/users/models/request.model.js +18 -0
- package/src/modules/users/models/user.model.js +26 -55
- package/src/modules/users/models/visitor.model.js +14 -0
- package/src/modules/users/store/users.js +2 -11
- package/src/modules/wallet/controllers/routes/payments.routes.js +2 -0
- package/src/components/FieldPhone/FieldPhone(script-setup).vue +0 -1646
- package/src/components/FieldPhone/FieldPhone2.vue +0 -671
- package/src/modules/orders/components/sections/FormClientDetails.vue +0 -61
- package/src/modules/organizations/components/blocks/User.vue +0 -69
- /package/src/modules/backoffice/components/admin/{User.vue → UserEdit.vue} +0 -0
@@ -0,0 +1,91 @@
|
|
1
|
+
"use strict";const s=require("vue");function wi(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function l(m){try{c(r.next(m))}catch(u){i(u)}}function d(m){try{c(r.throw(m))}catch(u){i(u)}}function c(m){m.done?o(m.value):a(m.value).then(l,d)}c((r=r.apply(e,t||[])).next())})}function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ii=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,a,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))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(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;a--!==0;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n},Li=ki(Ii);const Xr="__googleMapsScriptId";var ht;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(ht||(ht={}));let Ia=class mt{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:a,id:o=Xr,language:i,libraries:l=[],mapIds:d,nonce:c,region:m,retries:u=3,url:f="https://maps.googleapis.com/maps/api/js",version:v}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=a,this.id=o||Xr,this.language=i,this.libraries=l,this.mapIds=d,this.nonce=c,this.region=m,this.retries=u,this.url=f,this.version=v,mt.instance){if(!Li(this.options,mt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(mt.instance.options)}`);return mt.instance}mt.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?ht.FAILURE:this.done?ht.SUCCESS:this.loading?ht.LOADING:ht.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(o=>!r[o]&&delete r[o]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(o=>{let i,l,d,c="The Google Maps JavaScript API",m="google",u="importLibrary",f="__ib__",v=document,_=window;_=_[m]||(_[m]={});const g=_.maps||(_.maps={}),E=new Set,$=new URLSearchParams,y=()=>i||(i=new Promise((N,b)=>wi(this,void 0,void 0,function*(){var T;yield l=v.createElement("script"),l.id=this.id,$.set("libraries",[...E]+"");for(d in o)$.set(d.replace(/[A-Z]/g,S=>"_"+S[0].toLowerCase()),o[d]);$.set("callback",m+".maps."+f),l.src=this.url+"?"+$,g[f]=N,l.onerror=()=>i=b(Error(c+" could not load.")),l.nonce=this.nonce||((T=v.querySelector("script[nonce]"))===null||T===void 0?void 0:T.nonce)||"",v.head.append(l)})));g[u]?console.warn(c+" only loads once. Ignoring:",o):g[u]=(N,...b)=>E.add(N)&&y().then(()=>g[u](N,...b))})(r);const a=this.libraries.map(o=>this.importLibrary(o));a.length||a.push(this.importLibrary("core")),Promise.all(a).then(()=>this.callback(),o=>{const i=new ErrorEvent("error",{error:o});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 ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},Pi={key:0,class:"t-transp mn-r-small"},Ai=["placeholder","value"],Di={key:0,class:"mn-t-thin invalid-feedback"},Ri={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null);let o;const i=()=>{new Ia({apiKey:n.apiKey,version:"weekly",libraries:["places"]}).load().then(()=>{o=new google.maps.places.Autocomplete(a.value),o.addListener("place_changed",d)}).catch(m=>{console.error(m)})},l=()=>{o||i()},d=()=>{const c=o.getPlace();if(!c.geometry||!c.address_components)return;let m="",u="",f="";for(let g=0;g<c.address_components.length;g++){console.log(c.address_components);let E=c.address_components[g];E.types.includes("country")&&(m=E.long_name),E.types.includes("administrative_area_level_1")&&(u=E.long_name),E.types.includes("locality")&&(f=E.long_name)}const v=c.formatted_address,_={lat:c.geometry.location.lat(),lng:c.geometry.location.lng()};r("update:address",v),r("update:location",_),r("update:country",m),r("update:state",u),r("update:city",f)};return s.watchEffect(()=>{n.address!==a.value&&(a.value=n.address)}),s.onMounted(()=>{i()}),(c,m)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass([c.$attrs.class,"flex-nowrap flex"])},[e.label?(s.openBlock(),s.createElementBlock("div",Pi,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),s.createElementVNode("input",{ref_key:"addressInput",ref:a,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ai),s.createVNode(s.Transition,{mode:"out-in",name:"fade"},{default:s.withCtx(()=>[c.validation?(s.openBlock(),s.createElementBlock("div",Di," * "+s.toDisplayString(c.validation.message),1)):s.createCommentVNode("",!0)]),_:1})],2))}},La=ve(Ri,[["__scopeId","data-v-5cf1cb51"]]),Fi=Object.freeze(Object.defineProperty({__proto__:null,default:La},Symbol.toStringTag,{value:"Module"})),Mi=["disabled"],xi={key:1,class:"loading"},Bi=s.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},null,-1),Vi=[Bi],Ui={key:2,class:"t-semi loading t-black"},ji={key:3,class:"error"},Gi={key:0,class:"button-counter"},Pa={__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,a=s.ref(null),o=s.ref(null),i=s.ref(!1),l=s.ref(!1);async function d(){a.value.style["pointer-events"]="none",o.value=null,i.value=!0;const c=()=>{a.value&&(a.value.classList.replace("bg-second","bg-main"),a.value.style.pointerEvents="auto",i.value=!1,l.value=!1,o.value=null)};try{await n.submit(),a.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(m){r("error",m),a.value.classList.replace("bg-main","bg-fourth-nano"),o.value=n.error,setTimeout(()=>{c(),a.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(c,m)=>(s.openBlock(),s.createElementBlock("button",{onClick:s.withModifiers(d,["stop"]),disabled:e.validation,ref_key:"button",ref:a,class:"button"},[s.createVNode(s.Transition,{name:"moveFromTopAbsolute"},{default:s.withCtx(()=>[!i.value&&!o.value&&!l.value||!e.showLoader?s.renderSlot(c.$slots,"default",{key:0}):i.value&&!o.value&&e.showLoader?(s.openBlock(),s.createElementBlock("span",xi,Vi)):l.value&&e.showSucces?(s.openBlock(),s.createElementBlock("span",Ui,s.toDisplayString(e.text.success),1)):o.value?(s.openBlock(),s.createElementBlock("span",ji,s.toDisplayString(o.value),1)):s.createCommentVNode("",!0)]),_:3}),e.counter?(s.openBlock(),s.createElementBlock("p",Gi,s.toDisplayString(e.counter),1)):s.createCommentVNode("",!0)],8,Mi))}},Hi=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"})),Wi={class:"flex-v-center flex-nowrap flex"},Ki={key:0,class:"mn-r-auto t-transp mn-r-small"},zi=["name","value","checked"],Yi={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=t,a=o=>{if(Array.isArray(n.radio)){let i=[...n.radio];if(o.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",o.target.checked)};return(o,i)=>(s.openBlock(),s.createElementBlock("label",Wi,[e.label?(s.openBlock(),s.createElementBlock("div",Ki,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),s.createElementVNode("input",{onChange:a,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,zi),s.createElementVNode("div",{class:s.normalizeClass(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[s.createElementVNode("div",{class:s.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)]))}},mr=ve(Yi,[["__scopeId","data-v-ef88ec33"]]),qi=Object.freeze(Object.defineProperty({__proto__:null,default:mr},Symbol.toStringTag,{value:"Module"})),fn={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let a=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const o=(r=n.component)==null?void 0:r.name;o&&(a+=` Found in component ${o}`),console.warn(a)}e.clickOutsideEvent=function(a){e===a.target||e.contains(a.target)||t.value(a)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}},Xi={key:0},Ji={key:1},Zi={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=fn;const n=e,r=s.ref(!1),a=s.computed(()=>typeof n.label=="object");function o(){r.value=!1}return(i,l)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:"dropdown pos-relative",onClick:l[0]||(l[0]=s.withModifiers(d=>r.value=!r.value,["stop"]))},[a.value?(s.openBlock(),s.createElementBlock("div",Xi,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.label.component),{class:s.normalizeClass(e.label.class)},null,8,["class"]))])):(s.openBlock(),s.createElementBlock("div",Ji,s.toDisplayString(e.label),1)),s.createVNode(s.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("div",{style:s.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[s.renderSlot(i.$slots,"default",{},void 0,!0)],4),[[s.vShow,r.value]])]),_:3})])),[[s.unref(t),o]])}},Aa=ve(Zi,[["__scopeId","data-v-542fc6b9"]]),Qi=Object.freeze(Object.defineProperty({__proto__:null,default:Aa},Symbol.toStringTag,{value:"Module"})),el={class:"error-wrapper"},tl={class:"error-card"},Da={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div",el,[s.createElementVNode("div",tl,[s.createElementVNode("p",null,"Ошибка "+s.toDisplayString(e.error.status),1)])]))}},nl=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"})),rl={key:0,class:"t-transp mn-r-small"},ol={class:"w-100"},al=["type","value","placeholder","tabindex","disabled"],sl=["value","placeholder","tabindex","disabled"],il={key:1,class:"t-transp mn-l-small"},ll={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},dl={__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 a=s.ref(r.field);return(o,i)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",{class:s.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(s.openBlock(),s.createElementBlock("div",rl,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",ol,[e.type!=="textarea"?(s.openBlock(),s.createElementBlock("input",{key:0,onInput:i[0]||(i[0]=l=>a.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,al)):(s.openBlock(),s.createElementBlock("textarea",{key:1,onInput:i[3]||(i[3]=l=>a.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,sl))]),s.renderSlot(o.$slots,"default",{},void 0,!0),e.symbol?(s.openBlock(),s.createElementBlock("div",il,[s.createElementVNode("span",null,s.toDisplayString(e.symbol),1)])):s.createCommentVNode("",!0)],2),s.createVNode(s.Transition,{name:"fade"},{default:s.withCtx(()=>[e.validation?(s.openBlock(),s.createElementBlock("div",ll," * "+s.toDisplayString(e.validation.message),1)):s.createCommentVNode("",!0)]),_:1})],64))}},mn=ve(dl,[["__scopeId","data-v-47c78b3c"]]),cl=Object.freeze(Object.defineProperty({__proto__:null,default:mn},Symbol.toStringTag,{value:"Module"})),ul={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|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[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","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[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",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:(?:[0-5]\\d|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]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{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|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-689]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","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]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-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{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|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-3]\\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[149]|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 fl(e,t){var n=Array.prototype.slice.call(t);return n.push(ul),e.apply(this,n)}function jn(e){"@babel/helpers - typeof";return jn=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},jn(e)}function Jr(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 ml(e,t,n){return t&&Jr(e.prototype,t),n&&Jr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function pl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hl(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&&Pt(e,t)}function $l(e){var t=Fa();return function(){var r=At(e),a;if(t){var o=At(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return gl(this,a)}}function gl(e,t){if(t&&(jn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ra(e)}function Ra(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(e){var t=typeof Map=="function"?new Map:void 0;return Gn=function(r){if(r===null||!_l(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,a)}function a(){return Jt(r,arguments,At(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Pt(a,r)},Gn(e)}function Jt(e,t,n){return Fa()?Jt=Reflect.construct:Jt=function(a,o,i){var l=[null];l.push.apply(l,o);var d=Function.bind.apply(a,l),c=new d;return i&&Pt(c,i.prototype),c},Jt.apply(null,arguments)}function Fa(){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 _l(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},Pt(e,t)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(e)}var Xe=function(e){hl(n,e);var t=$l(n);function n(r){var a;return pl(this,n),a=t.call(this,r),Object.setPrototypeOf(Ra(a),n.prototype),a.name=a.constructor.name,a}return ml(n)}(Gn(Error)),pr=2,vl=17,yl=3,xe="0-90-9٠-٩۰-۹",bl="-‐-―−ー-",El="//",Ol="..",Nl=" ",Sl="()()[]\\[\\]",Tl="~⁓∼~",on="".concat(bl).concat(El).concat(Ol).concat(Nl).concat(Sl).concat(Tl),hr="++";function Zr(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var o=Number(n[a]),i=Number(r[a]);if(o>i)return 1;if(i>o)return-1;if(!isNaN(o)&&isNaN(i))return 1;if(isNaN(o)&&!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 Cl={}.constructor;function Zt(e){return e!=null&&e.constructor===Cl}function Hn(e){"@babel/helpers - typeof";return Hn=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},Hn(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(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 hn(e,t,n){return t&&Qr(e.prototype,t),n&&Qr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var wl="1.2.0",kl="1.7.35",eo=" ext. ",Il=/^\d+$/,Ie=function(){function e(t){pn(this,e),Dl(t),this.metadata=t,Ma.call(this,t)}return hn(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&&Il.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new to(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new to(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 a=this.nonGeographic()[n];if(a)return a}else{var o=this.countryCallingCodes()[n];if(o&&o.length===1&&o[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}(),to=function(){function e(t,n){pn(this,e),this.globalMetadataObject=n,this.metadata=t,Ma.call(this,n.metadata)}return hn(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(a){return new Ll(a,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()&&no(this.types(),n))return new Al(no(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?eo:this.metadata[13]||eo}}]),e}(),Ll=function(){function e(t,n){pn(this,e),this._format=t,this.metadata=n}return hn(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()&&!Pl.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Pl=/^\(?\$1\)?$/,Al=function(){function e(t,n){pn(this,e),this.type=t,this.metadata=n}return hn(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 no(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 Dl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Zt(e)||!Zt(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(Zt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Rl(e)+": "+e,"."))}var Rl=function(t){return Hn(t)};function $r(e,t){if(t=new Ie(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Fl(e,t){return t.countries.hasOwnProperty(e)}function Ma(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?Zr(t,wl)===-1?this.v2=!0:Zr(t,kl)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Ml=";ext=",ut=function(t){return"([".concat(xe,"]{1,").concat(t,"})")};function xa(e){var t="20",n="15",r="9",a="6",o="[ \\t,]*",i="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",m="[- ]+",u="[ \\t]*",f="(?:,{2}|;)",v=Ml+ut(t),_=o+d+i+ut(t)+l,g=o+c+i+ut(r)+l,E=m+ut(a)+"#",$=u+f+i+ut(n)+l,y=u+"(?:,)+"+i+ut(r)+l;return v+"|"+_+"|"+g+"|"+E+"|"+$+"|"+y}var xl="["+xe+"]{"+pr+"}",Bl="["+hr+"]{0,1}(?:["+on+"]*["+xe+"]){3,}["+on+xe+"]*",Vl=new RegExp("^["+hr+"]{0,1}(?:["+on+"]*["+xe+"]){1,2}$","i"),Ul=Bl+"(?:"+xa()+")?",jl=new RegExp("^"+xl+"$|^"+Ul+"$","i");function Gl(e){return e.length>=pr&&jl.test(e)}function Hl(e){return Vl.test(e)}var ro=new RegExp("(?:"+xa()+")$","i");function Wl(e){var t=e.search(ro);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(ro),a=1;a<r.length;){if(r[a])return{number:n,ext:r[a]};a++}}var Kl={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 zl(e){return Kl[e]}function Yl(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=ql(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ql(e,t){if(e){if(typeof e=="string")return oo(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 oo(e,t)}}function oo(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 ao(e){for(var t="",n=Yl(e.split("")),r;!(r=n()).done;){var a=r.value;t+=Xl(a,t)||""}return t}function Xl(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return zl(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&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zl(e,t){if(e){if(typeof e=="string")return so(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 so(e,t)}}function so(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 Ql(e,t){for(var n=e.slice(),r=Jl(t),a;!(a=r()).done;){var o=a.value;e.indexOf(o)<0&&n.push(o)}return n.sort(function(i,l){return i-l})}function gr(e,t){return Ba(e,void 0,t)}function Ba(e,t,n){var r=n.type(t),a=r&&r.possibleLengths()||n.possibleLengths();if(!a)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Ba(e,"MOBILE",n);var o=n.type("MOBILE");o&&(a=Ql(a,o.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var i=e.length,l=a[0];return l===i?"IS_POSSIBLE":l>i?"TOO_SHORT":a[a.length-1]<i?"TOO_LONG":a.indexOf(i,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function ed(e,t,n){if(t===void 0&&(t={}),n=new Ie(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 Va(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 Va(e,t){switch(gr(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Qe(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function td(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=nd(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nd(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 rd=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function _r(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new Ie(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Qe(r,n.nationalNumberPattern())){if(wn(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||wn(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=td(rd),o;!(o=a()).done;){var i=o.value;if(wn(r,i,n))return i}}}}function wn(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Qe(e,t.pattern())}function od(e,t,n){if(t=t||{},n=new Ie(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return _r(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Qe(r,n.nationalNumberPattern())}function ad(e,t,n){var r=new Ie(n),a=r.getCountryCodesForCallingCode(e);return a?a.filter(function(o){return sd(t,o,n)}):[]}function sd(e,t,n){var r=new Ie(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function id(e){return e.replace(new RegExp("[".concat(on,"]+"),"g")," ").trim()}var ld=/(\$\d)/;function dd(e,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var o=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(ld,t.nationalPrefixFormattingRule()):t.format());return r?id(o):o}var cd=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ud(e,t,n){var r=new Ie(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(cd.test(r.IDDPrefix()))return r.IDDPrefix()}function fd(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 md(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=pd(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pd(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(a){return Object.getOwnPropertyDescriptor(e,a).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){hd(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 hd(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 $d(e,t,n,r){if(n?n=uo(uo({},fo),n):n=fo,r=new Ie(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 a=r.countryCallingCode(),o=n.v2?e.nationalNumber:e.phone,i;switch(t){case"NATIONAL":return o?(i=an(o,e.carrierCode,"NATIONAL",r,n),kn(i,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return o?(i=an(o,null,"INTERNATIONAL",r,n),i="+".concat(a," ").concat(i),kn(i,e.ext,r,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(o);case"RFC3966":return fd({number:"+".concat(a).concat(o),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=_d(o,e.carrierCode,a,n.fromCountry,r);return kn(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function an(e,t,n,r,a){var o=gd(r.formats(),e);return o?dd(e,o,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&a&&a.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function gd(e,t){for(var n=md(e),r;!(r=n()).done;){var a=r.value;if(a.leadingDigitsPatterns().length>0){var o=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(o)!==0)continue}if(Qe(t,a.pattern()))return a}}function kn(e,t,n,r){return t?r(e,t,n):e}function _d(e,t,n,r,a){var o=$r(r,a.metadata);if(o===n){var i=an(e,t,"NATIONAL",a);return n==="1"?n+" "+i:i}var l=ud(r,void 0,a.metadata);if(l)return"".concat(l," ").concat(n," ").concat(an(e,null,"INTERNATIONAL",a))}function mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).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){vd(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 vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(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 bd(e,t,n){return t&&ho(e.prototype,t),n&&ho(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ed=function(){function e(t,n,r){if(yd(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 a=Nd(t,r),o=a.country,i=a.countryCallingCode;this.country=o,this.countryCallingCode=i,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return bd(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:ad(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return ed(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return od(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new Ie(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 _r(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return $d(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}(),Od=function(t){return/^[A-Z]{2}$/.test(t)};function Nd(e,t){var n,r,a=new Ie(t);return Od(e)?(n=e,a.selectNumberingPlan(n),r=a.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Sd=new RegExp("(["+xe+"])");function Td(e,t,n,r){if(t){var a=new Ie(r);a.selectNumberingPlan(t,n);var o=new RegExp(a.IDDPrefix());if(e.search(o)===0){e=e.slice(e.match(o)[0].length);var i=e.match(Sd);if(!(i&&i[1]!=null&&i[1].length>0&&i[1]==="0"))return e}}}function Cd(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var a,o,i=r.length-1,l=i>0&&r[i];if(t.nationalPrefixTransformRule()&&l)a=e.replace(n,t.nationalPrefixTransformRule()),i>1&&(o=r[1]);else{var d=r[0];a=e.slice(d.length),l&&(o=r[1])}var c;if(l){var m=e.indexOf(r[1]),u=e.slice(0,m);u===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:a,nationalPrefix:c,carrierCode:o}}}return{nationalNumber:e}}function Wn(e,t){var n=Cd(e,t),r=n.carrierCode,a=n.nationalNumber;if(a!==e){if(!wd(e,a,t))return{nationalNumber:e};if(t.possibleLengths()&&!kd(a,t))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:r}}function wd(e,t,n){return!(Qe(e,n.nationalNumberPattern())&&!Qe(t,n.nationalNumberPattern()))}function kd(e,t){switch(gr(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Id(e,t,n,r){var a=t?$r(t,r):n;if(e.indexOf(a)===0){r=new Ie(r),r.selectNumberingPlan(t,n);var o=e.slice(a.length),i=Wn(o,r),l=i.nationalNumber,d=Wn(e,r),c=d.nationalNumber;if(!Qe(c,r.nationalNumberPattern())&&Qe(l,r.nationalNumberPattern())||gr(c,r)==="TOO_LONG")return{countryCallingCode:a,number:o}}return{number:e}}function Ld(e,t,n,r){if(!e)return{};var a;if(e[0]!=="+"){var o=Td(e,t,n,r);if(o&&o!==e)a=!0,e="+"+o;else{if(t||n){var i=Id(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 Ie(r);for(var c=2;c-1<=yl&&c<=e.length;){var m=e.slice(1,c);if(r.hasCallingCode(m))return r.selectNumberingPlan(m),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:m,number:e.slice(c)};c++}return{}}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=Ad(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ad(e,t){if(e){if(typeof e=="string")return $o(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 $o(e,t)}}function $o(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 Dd(e,t){var n=t.countries,r=t.defaultCountry,a=t.metadata;a=new Ie(a);for(var o=[],i=Pd(n),l;!(l=i()).done;){var d=l.value;if(a.country(d),a.leadingDigits()){if(e&&e.search(a.leadingDigits())===0)return d}else if(_r({phone:e,country:d},void 0,a.metadata))if(r){if(d===r)return d;o.push(d)}else return d}if(o.length>0)return o[0]}var Rd=!1;function Fd(e,t){var n=t.nationalNumber,r=t.defaultCountry,a=t.metadata;if(Rd&&a.isNonGeographicCallingCode(e))return"001";var o=a.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:Dd(n,{countries:o,defaultCountry:r,metadata:a.metadata})}var Ua="+",Md="[\\-\\.\\(\\)]?",go="(["+xe+"]|"+Md+")",xd="^\\"+Ua+go+"*["+xe+"]"+go+"*$",Bd=new RegExp(xd,"g"),Kn=xe,Vd="["+Kn+"]+((\\-)*["+Kn+"])*",Ud="a-zA-Z",jd="["+Ud+"]+((\\-)*["+Kn+"])*",Gd="^("+Vd+"\\.)*"+jd+"\\.?$",Hd=new RegExp(Gd,"g"),_o="tel:",zn=";phone-context=",Wd=";isub=";function Kd(e){var t=e.indexOf(zn);if(t<0)return null;var n=t+zn.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function zd(e){return e===null?!0:e.length===0?!1:Bd.test(e)||Hd.test(e)}function Yd(e,t){var n=t.extractFormattedPhoneNumber,r=Kd(e);if(!zd(r))throw new Xe("NOT_A_NUMBER");var a;if(r===null)a=n(e)||"";else{a="",r.charAt(0)===Ua&&(a+=r);var o=e.indexOf(_o),i;o>=0?i=o+_o.length:i=0;var l=e.indexOf(zn);a+=e.substring(i,l)}var d=a.indexOf(Wd);if(d>0&&(a=a.substring(0,d)),a!=="")return a}var qd=250,Xd=new RegExp("["+hr+xe+"]"),Jd=new RegExp("[^"+xe+"#]+$");function Zd(e,t,n){if(t=t||{},n=new Ie(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Xe("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=ec(e,t.v2,t.extract),a=r.number,o=r.ext,i=r.error;if(!a){if(t.v2)throw i==="TOO_SHORT"?new Xe("TOO_SHORT"):new Xe("NOT_A_NUMBER");return{}}var l=nc(a,t.defaultCountry,t.defaultCallingCode,n),d=l.country,c=l.nationalNumber,m=l.countryCallingCode,u=l.countryCallingCodeSource,f=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Xe("INVALID_COUNTRY");return{}}if(!c||c.length<pr){if(t.v2)throw new Xe("TOO_SHORT");return{}}if(c.length>vl){if(t.v2)throw new Xe("TOO_LONG");return{}}if(t.v2){var v=new Ed(m,c,n.metadata);return d&&(v.country=d),f&&(v.carrierCode=f),o&&(v.ext=o),v.__countryCallingCodeSource=u,v}var _=(t.extended?n.hasSelectedNumberingPlan():d)?Qe(c,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:m,carrierCode:f,valid:_,possible:_?!0:!!(t.extended===!0&&n.possibleLengths()&&Va(c,n)),phone:c,ext:o}:_?tc(d,c,o):{}}function Qd(e,t,n){if(e){if(e.length>qd){if(n)throw new Xe("TOO_LONG");return}if(t===!1)return e;var r=e.search(Xd);if(!(r<0))return e.slice(r).replace(Jd,"")}}function ec(e,t,n){var r=Yd(e,{extractFormattedPhoneNumber:function(i){return Qd(i,n,t)}});if(!r)return{};if(!Gl(r))return Hl(r)?{error:"TOO_SHORT"}:{};var a=Wl(r);return a.ext?a:{number:r}}function tc(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function nc(e,t,n,r){var a=Ld(ao(e),t,n,r.metadata),o=a.countryCallingCodeSource,i=a.countryCallingCode,l=a.number,d;if(i)r.selectNumberingPlan(i);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),i=n||$r(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:o,countryCallingCode:i};var c=Wn(ao(l),r),m=c.nationalNumber,u=c.carrierCode,f=Fd(i,{nationalNumber:m,defaultCountry:t,metadata:r});return f&&(d=f,f==="001"||r.country(d)),{country:d,countryCallingCode:i,countryCallingCodeSource:o,nationalNumber:m,carrierCode:u}}function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function yo(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){rc(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 rc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e,t,n){return Zd(e,yo(yo({},t),{},{v2:!0}),n)}function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ac(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bo(Object(n),!0).forEach(function(r){sc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e,t){return uc(e)||cc(e,t)||dc(e,t)||lc()}function lc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dc(e,t){if(e){if(typeof e=="string")return Eo(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 Eo(e,t)}}function Eo(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 cc(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,l;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(d){o=!0,l=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function uc(e){if(Array.isArray(e))return e}function fc(e){var t=Array.prototype.slice.call(e),n=ic(t,4),r=n[0],a=n[1],o=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(!a||typeof a=="string")i?(d=o,c=i):(d=void 0,c=o),a&&(d=ac({defaultCountry:a},d));else if(Zt(a))o?(d=a,c=o):c=a;else throw new Error("Invalid second argument: ".concat(a));return{text:l,options:d,metadata:c}}function Oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function No(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Oo(Object(n),!0).forEach(function(r){mc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e,t,n){t&&t.defaultCountry&&!Fl(t.defaultCountry,n)&&(t=No(No({},t),{},{defaultCountry:void 0}));try{return oc(e,t,n)}catch(r){if(!(r instanceof Xe))throw r}}function hc(){var e=fc(arguments),t=e.text,n=e.options,r=e.metadata;return pc(t,n,r)}function In(){return fl(hc,arguments)}const $c=[["افغانستان","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,,"🇦🇽"]],gc=$c.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"],vc={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},yc=["innerHTML"],bc={key:1,class:"vti__country-code"},Ec=["onClick","onMousemove"],Oc=["innerHTML"],Nc={key:1},Sc=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Tc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},Cc={__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:()=>gc},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","validate","country-changed","open","close","blur","focus","enter","space"],setup(e,{emit:t}){let n=fn;const r=e,a=t;s.ref(5),s.ref(5),s.reactive({action:null,amount:null});const o=s.ref(r.modelValue?r.modelValue:""),i=s.ref(""),l=s.ref(!1),d=s.ref(!1),c=s.ref(null),m=s.ref(""),u=s.ref(null),f=s.ref("below"),v=s.ref(r.Placeholder!==""?r.Placeholder:r.inputOptions.placeholder),_=s.ref(null),g=s.ref(null),E=s.ref(null);s.onMounted(async()=>{r.modelValue&&(o.value=r.modelValue),pe(),ie().then(()=>{var h;!o.value&&((h=r.inputOptions)!=null&&h.showDialCode)&&i.value&&(o.value=`+${i.value}`),a("validate",S.value)}).catch(console.error).then(()=>{d.value=!0})});const $=s.computed(()=>Q(i.value)),y=s.computed(()=>$.value?$.value.flag:null),N=s.computed(()=>r.mode==="auto"?!o.value||o.value[0]!=="+"?"national":"international":["international","national"].includes(r.mode)?r.mode:(console.error('Invalid value of prop "mode"'),"international")),b=s.computed(()=>r.onlyCountries&&r.onlyCountries.length?r.allCountries.filter(({iso2:h})=>r.onlyCountries.includes(h.toUpperCase())):r.ignoredCountries&&r.ignoredCountries.length?r.allCountries.filter(({iso2:h})=>!r.ignoredCountries.includes(h.toUpperCase())&&!r.ignoredCountries.includes(h.toLowerCase())):r.allCountries),T=s.computed(()=>[...$e(r.preferredCountries).map(p=>({...p,preferred:!0})),...b.value]),S=s.computed(()=>{var j,fe,Ne;let h={};((j=o.value)==null?void 0:j[0])==="+"?h=In(o.value)||{}:h=In(o.value,i.value)||{};const{metadata:p,...O}=h;let P=(fe=h.isValid)==null?void 0:fe.call(h),F=o.value;return P&&(F=(Ne=h.format)==null?void 0:Ne.call(h,N.value.toUpperCase(),{nationalPrefix:!1})),h.country&&(r.ignoredCountries.length||r.onlyCountries.length)&&(Q(h.country)||(P=!1,h={...h,country:null})),{...O,countryCode:h.country,valid:P,country:$.value,formatted:F}}),I=s.computed(()=>S.value.valid===!0?r.goodClass:S.value.valid===!1?r.badClass:void 0),L=s.computed(()=>S.value.valid===!0?r.goodStyle:S.value.valid===!1?r.badStyle:void 0),w=s.computed(()=>S.value.valid===!0?r.goodInputClass:S.value.valid===!1?r.badInputClass:void 0),R=s.computed(()=>S.value.valid===!0?r.goodInputStyle:S.value.valid===!1?r.badInputStyle:void 0);s.watch($,(h,p)=>{if(!h&&(p!=null&&p.iso2)){i.value=p.iso2;return}h!=null&&h.iso2&&(a("country-changed",h),J())}),s.watch(()=>S.value.countryCode,h=>{i.value=h}),s.watch(()=>S.value.valid,()=>{a("validate",S.value)}),s.watch(()=>S.value.formatted,h=>{!r.autoFormat||r.customValidate||(te(h),s.nextTick(()=>{h&&!r.modelValue&&(o.value=h)}))}),s.watch(()=>r.inputOptions.placeholder,()=>{J()}),s.watch(()=>r.modelValue,(h,p)=>{Z()?o.value=h:s.nextTick(()=>{o.value=p,X()})}),s.watch(l,h=>{h?(M(),a("open")):a("close")});function V(){return fetch("https://ip2c.org/s").then(h=>h.text()).then(h=>{const p=(h||"").toString();if(!p||p[0]!=="1")throw new Error("unable to fetch the country");return p.substr(2,2)})}function x(h,p){if(h.setSelectionRange)h.focus(),h.setSelectionRange(p,p);else if(h.createTextRange){const O=h.createTextRange();O.collapse(!0),O.moveEnd("character",p),O.moveStart("character",p),O.select()}}function J(){v.value=r.inputOptions.placeholder}function ie(){return new Promise(h=>{var O;if(((O=o.value)==null?void 0:O[0])==="+"){h();return}if(r.defaultCountry){ce(r.defaultCountry),h();return}const p=r.preferredCountries[0]||b.value[0];r.autoDefaultCountry?V().then(P=>{ce(P||i.value)}).catch(P=>{console.warn(P),ce(p)}).finally(()=>{h()}):(ce(p),h())})}function $e(h=[]){return h.map(p=>Q(p)).filter(Boolean)}function Q(h=""){return b.value.find(p=>p.iso2===h.toUpperCase())}function ge(h,p){const O=c.value===h,P=h===r.preferredCountries.length-1,F=r.preferredCountries.some(j=>j.toUpperCase()===p);return{highlighted:O,"last-preferred":P,preferred:F}}function ce(h){var O,P;let p=typeof h=="string"?Q(h):h;if(p){if(((O=o.value)==null?void 0:O[0])==="+"&&p.iso2&&S.value.nationalNumber){i.value=p.iso2,o.value=In(S.value.nationalNumber,p.iso2).formatInternational();return}if((P=r.inputOptions)!=null&&P.showDialCode&&p){o.value=`+${p.dialCode}`;return}i.value=p.iso2,te(o.value)}}function pe(){const h=o.value;if(r.validCharactersOnly){const p=o.value.match(/[()\-+0-9\s]*/g);o.value=p.join("")}if(r.customValidate&&r.customValidate instanceof RegExp){const p=o.value.match(r.customValidate);o.value=p?p.join(""):""}h!==o.value&&te(o.value)}function Z(){return r.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(o.value)?!1:r.customValidate?z():!0}function z(){return r.customValidate instanceof RegExp?r.customValidate.test(o.value):!1}function X(){E.value.setCustomValidity(S.valid?"":r.invalidMsg),te(o.value)}function te(h){a("update:modelValue",h),S.value.valid?a("country",S.value.number):a("country",null)}function ne(){a("blur")}function ae(){x(E.value,o.value.length),a("focus")}function Oe(){a("enter")}function re(){a("space")}function ue(){r.disabled||(l.value=!l.value)}function ye(){l.value=!1}function he(h){h.keyCode===40?(h.preventDefault(),l.value=!0,c.value=c.value===null?0:Math.min(T.value.length-1,c.value+1),s.nextTick(()=>{const p=g.value.children[c.value];p.offsetTop+p.clientHeight>g.value.scrollTop+g.value.clientHeight&&(g.value.scrollTop=p.offsetTop-g.value.clientHeight+p.clientHeight)})):h.keyCode===38?(h.preventDefault(),l.value=!0,c.value=c.value===null?T.value.length-1:Math.max(0,c.value-1),s.nextTick(()=>{const p=g.value.children[c.value];p.offsetTop<g.value.scrollTop&&(g.value.scrollTop=p.offsetTop)})):h.keyCode===13?(h.preventDefault(),c.value!==null&&ce(T.value[c.value]),l.value=!l.value):(m.value+=h.key,clearTimeout(u),u=setTimeout(()=>{m.value=""},700),s.nextTick(()=>{const p=T.value.slice(r.preferredCountries.length).findIndex(O=>O.name.toLowerCase().startsWith(m.value));if(p>=0){c.value=r.preferredCountries.length+p;const O=g.value.children[c.value];(O.offsetTop<g.value.scrollTop||O.offsetTop+O.clientHeight>g.value.scrollTop+g.value.clientHeight)&&(g.value.scrollTop=O.offsetTop-g.value.clientHeight/2)}}))}function Y(){c.value=T.value.map(h=>h.iso2).indexOf(i.value),l.value=!1}function M(){const p=window.innerHeight-_.value.getBoundingClientRect().bottom>200;f.value=p?"below":"above"}return(h,p)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",{class:s.normalizeClass([[e.rootClass,I.value,h.$attrs.class,{"bg-fourth-nano":e.validation},{disabled:e.disabled}],"vue3-reactive-tel-input"]),style:s.normalizeStyle([e.rootStyle,L.value]),ref_key:"rootElement",ref:_},[s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass([["vti__dropdown",{open:l.value}],"br-solid br-black-transp br-1px radius-thin"]),style:s.normalizeStyle([e.dropdownStyle]),tabindex:e.dropdownOptions.tabindex,onKeydown:[he,s.withKeys(Y,["esc"])],onClick:ue},[s.createElementVNode("span",vc,[e.dropdownOptions.showFlags?(s.openBlock(),s.createElementBlock("span",{key:0,innerHTML:y.value,class:"mn-r-nano"},null,8,yc)):s.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(s.openBlock(),s.createElementBlock("span",bc," +"+s.toDisplayString($.value&&$.value.dialCode),1)):s.createCommentVNode("",!0)]),s.withDirectives(s.createElementVNode("ul",{ref_key:"list",ref:g,class:s.normalizeClass(["bs-black radius-small vti__dropdown-list",f.value]),style:s.normalizeStyle([e.listStyle])},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(T.value,(O,P)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",ge(P,O.iso2)]]),key:O.iso2+(O.preferred?"-preferred":""),onClick:F=>ce(O),onMousemove:F=>c.value=P},[e.dropdownOptions.showFlags?(s.openBlock(),s.createElementBlock("span",{key:0,innerHTML:O.flag,class:"mn-r-thin"},null,8,Oc)):s.createCommentVNode("",!0),s.createElementVNode("strong",null,s.toDisplayString(O.name),1),e.dropdownOptions.showDialCodeInList?(s.openBlock(),s.createElementBlock("span",Nc," +"+s.toDisplayString(O.dialCode),1)):s.createCommentVNode("",!0)],42,Ec))),128))],6),[[s.vShow,l.value]])],46,_c)),[[s.unref(n),ye]]),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=O=>o.value=O),inputmode:"numeric",pattern:"\\d*",ref_key:"input",ref:E,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:s.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,w.value]),style:s.normalizeStyle([e.inputStyle,R.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:v.value,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:ne,onFocus:ae,onInput:X,onKeyup:[s.withKeys(Oe,["enter"]),s.withKeys(re,["space"])]},null,46,Sc),[[s.vModelDynamic,o.value]]),s.renderSlot(h.$slots,"default",{},void 0,!0)],6),s.createVNode(s.Transition,{name:"fade"},{default:s.withCtx(()=>[e.validation?(s.openBlock(),s.createElementBlock("div",Tc," * "+s.toDisplayString(e.validation.message),1)):s.createCommentVNode("",!0)]),_:1})],64))}},ja=ve(Cc,[["__scopeId","data-v-6cc570f0"]]),wc=Object.freeze(Object.defineProperty({__proto__:null,default:ja},Symbol.toStringTag,{value:"Module"})),kc={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},Ic={class:"circular-loader"},Lc=s.createElementVNode("svg",{viewBox:"25 25 50 50"},[s.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),s.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),Pc={key:0,class:"progress-text"},Ac={key:1,class:"uppercase t-semi w-m-10r status-text"};function Dc(e,t,n,r,a,o){return s.openBlock(),s.createElementBlock("div",Ic,[Lc,n.progress?(s.openBlock(),s.createElementBlock("div",Pc,s.toDisplayString(n.progress),1)):s.createCommentVNode("",!0),n.status?(s.openBlock(),s.createElementBlock("div",Ac,s.toDisplayString(n.status),1)):s.createCommentVNode("",!0)])}const $n=ve(kc,[["render",Dc]]),Rc=Object.freeze(Object.defineProperty({__proto__:null,default:$n},Symbol.toStringTag,{value:"Module"})),Ga=e=>(s.pushScopeId("data-v-20234f27"),e=e(),s.popScopeId(),e),Fc={class:"pos-relative"},Mc={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xc=Ga(()=>s.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)),Bc=Ga(()=>s.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)),Vc=[xc,Bc],Uc={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null),o=s.ref(!1);let i,l;s.onMounted(()=>{new Ia({apiKey:n.apiKey,version:"weekly",libraries:["places"]}).load().then(()=>{i=new google.maps.Map(a.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 f={lat:u.latLng.lat(),lng:u.latLng.lng()};r("update:location",f),d(f)})}).catch(u=>{console.error(u)})}),s.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),s.watchEffect(()=>{if(n.location&&i){const m=new google.maps.LatLng(n.location.lat,n.location.lng);i.setCenter(m),i.setZoom(15)}});function d(m){new google.maps.Geocoder().geocode({location:m},(f,v)=>{if(v==="OK")if(f[0]){r("update:address",f[0].formatted_address);let _="",g="",E="";f[0].address_components.forEach($=>{$.types.includes("country")&&(_=$.long_name),$.types.includes("administrative_area_level_1")&&(g=$.long_name),$.types.includes("locality")&&(E=$.long_name)}),r("update:country",_),r("update:state",g),r("update:city",E)}else console.error("No results found");else console.error("Geocoder failed due to: "+v)})}async function c(){o.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(m=>{const u={lat:m.coords.latitude,lng:m.coords.longitude};r("update:location",u),d(u),o.value=!1},()=>{console.error("Error getting location"),o.value=!1}):(console.error("Geolocation is not supported by this browser."),o.value=!1)}return(m,u)=>(s.openBlock(),s.createElementBlock("div",Fc,[s.createElementVNode("div",{ref_key:"mapContainer",ref:a,class:"w-100 h-100"},null,512),s.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},[s.createVNode(s.Transition,{name:"ScaleOut",mode:"out-in"},{default:s.withCtx(()=>[o.value?(s.openBlock(),s.createBlock($n,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(s.openBlock(),s.createElementBlock("svg",Mc,Vc))]),_:1})])]))}},Ha=ve(Uc,[["__scopeId","data-v-20234f27"]]),jc=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"})),Gc={__name:"Map",props:{location:Object},setup(e){const t=e;let n=s.ref(null),r=null,a=null;return s.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),a=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),s.watch(()=>t.location,()=>{r&&a&&(a.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}),(o,i)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Wa=ve(Gc,[["__scopeId","data-v-c194b4a5"]]),Hc=Object.freeze(Object.defineProperty({__proto__:null,default:Wa},Symbol.toStringTag,{value:"Module"}));/*!
|
8
|
+
* vue-router v4.3.0
|
9
|
+
* (c) 2024 Eduardo San Martin Morote
|
10
|
+
* @license MIT
|
11
|
+
*/var So;(function(e){e.pop="pop",e.push="push"})(So||(So={}));var To;(function(e){e.back="back",e.forward="forward",e.unknown=""})(To||(To={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var Co;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Co||(Co={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Wc=Symbol(process.env.NODE_ENV!=="production"?"router":""),Kc=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function vr(){return s.inject(Wc)}function yr(){return s.inject(Kc)}/*!
|
12
|
+
* shared v9.10.2
|
13
|
+
* (c) 2024 kazuya kawaguchi
|
14
|
+
* Released under the MIT License.
|
15
|
+
*/const Be=typeof window<"u";let Ae,it;if(process.env.NODE_ENV!=="production"){const e=Be&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ae=t=>{e.mark(t)},it=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const zc=/\{([0-9a-zA-Z]+)\}/g;function br(e,...t){return t.length===1&&q(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(zc,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ge=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Yc=(e,t,n)=>qc({l:e,k:t,s:n}),qc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),be=e=>typeof e=="number"&&isFinite(e),Xc=e=>za(e)==="[object Date]",rt=e=>za(e)==="[object RegExp]",gn=e=>U(e)&&Object.keys(e).length===0,Ce=Object.assign;let wo;const Je=()=>wo||(wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ko(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Jc=Object.prototype.hasOwnProperty;function sn(e,t){return Jc.call(e,t)}const oe=Array.isArray,ee=e=>typeof e=="function",D=e=>typeof e=="string",H=e=>typeof e=="boolean",q=e=>e!==null&&typeof e=="object",Zc=e=>q(e)&&ee(e.then)&&ee(e.catch),Ka=Object.prototype.toString,za=e=>Ka.call(e),U=e=>{if(!q(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Qc=e=>e==null?"":oe(e)||U(e)&&e.toString===Ka?JSON.stringify(e,null,2):String(e);function eu(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const Io=2;function tu(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const o=[];for(let i=0;i<r.length;i++)if(a+=r[i].length+1,a>=t){for(let l=i-Io;l<=i+Io||n>a;l++){if(l<0||l>=r.length)continue;const d=l+1;o.push(`${d}${" ".repeat(3-String(d).length)}| ${r[l]}`);const c=r[l].length;if(l===i){const m=t-(a-c)+1,u=Math.max(1,n>a?c-m:n-t);o.push(" | "+" ".repeat(m)+"^".repeat(u))}else if(l>i){if(n>a){const m=Math.max(Math.min(n-a,c),1);o.push(" | "+"^".repeat(m))}a+=c+1}}break}return o.join(`
|
16
|
+
`)}function Er(e){let t=e;return()=>++t}function Te(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Lo={};function Ya(e){Lo[e]||(Lo[e]=!0,Te(e))}function Or(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}const qt=e=>!q(e)||oe(e);function Qt(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:a}=n.pop();Object.keys(r).forEach(o=>{qt(r[o])||qt(a[o])?a[o]=r[o]:n.push({src:r[o],des:a[o]})})}}/*!
|
17
|
+
* message-compiler v9.10.2
|
18
|
+
* (c) 2024 kazuya kawaguchi
|
19
|
+
* Released under the MIT License.
|
20
|
+
*/function nu(e,t,n){return{line:e,column:t,offset:n}}function Yn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ru=/\{([0-9a-zA-Z]+)\}/g;function ou(e,...t){return t.length===1&&au(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ru,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const qa=Object.assign,Po=e=>typeof e=="string",au=e=>e!==null&&typeof e=="object";function Xa(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const B={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},su={[B.EXPECTED_TOKEN]:"Expected token: '{0}'",[B.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[B.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[B.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[B.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[B.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[B.EMPTY_PLACEHOLDER]:"Empty placeholder",[B.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[B.INVALID_LINKED_FORMAT]:"Invalid linked format",[B.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[B.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[B.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[B.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[B.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[B.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ot(e,t,n={}){const{domain:r,messages:a,args:o}=n,i=ou((a||su)[e]||"",...o||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function iu(e){throw e}const lu=/<\/?[\w\s="/.':;#-\/]+>/,du=e=>lu.test(e),ze=" ",cu="\r",we=`
|
21
|
+
`,uu="\u2028",fu="\u2029";function mu(e){const t=e;let n=0,r=1,a=1,o=0;const i=I=>t[I]===cu&&t[I+1]===we,l=I=>t[I]===we,d=I=>t[I]===fu,c=I=>t[I]===uu,m=I=>i(I)||l(I)||d(I)||c(I),u=()=>n,f=()=>r,v=()=>a,_=()=>o,g=I=>i(I)||d(I)||c(I)?we:t[I],E=()=>g(n),$=()=>g(n+o);function y(){return o=0,m(n)&&(r++,a=0),i(n)&&n++,n++,a++,t[n]}function N(){return i(n+o)&&o++,o++,t[n+o]}function b(){n=0,r=1,a=1,o=0}function T(I=0){o=I}function S(){const I=n+o;for(;I!==n;)y();o=0}return{index:u,line:f,column:v,peekOffset:_,charAt:g,currentChar:E,currentPeek:$,next:y,peek:N,reset:b,resetPeek:T,skipToPeek:S}}const tt=void 0,pu=".",Ao="'",hu="tokenizer";function $u(e,t={}){const n=t.location!==!1,r=mu(e),a=()=>r.index(),o=()=>nu(r.line(),r.column(),r.index()),i=o(),l=a(),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:m}=t;function u(h,p,O,...P){const F=c();if(p.column+=O,p.offset+=O,m){const j=n?Yn(F.startLoc,p):null,fe=Ot(h,j,{domain:hu,args:P});m(fe)}}function f(h,p,O){h.endLoc=o(),h.currentType=p;const P={type:p};return n&&(P.loc=Yn(h.startLoc,h.endLoc)),O!=null&&(P.value=O),P}const v=h=>f(h,14);function _(h,p){return h.currentChar()===p?(h.next(),p):(u(B.EXPECTED_TOKEN,o(),0,p),"")}function g(h){let p="";for(;h.currentPeek()===ze||h.currentPeek()===we;)p+=h.currentPeek(),h.peek();return p}function E(h){const p=g(h);return h.skipToPeek(),p}function $(h){if(h===tt)return!1;const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function y(h){if(h===tt)return!1;const p=h.charCodeAt(0);return p>=48&&p<=57}function N(h,p){const{currentType:O}=p;if(O!==2)return!1;g(h);const P=$(h.currentPeek());return h.resetPeek(),P}function b(h,p){const{currentType:O}=p;if(O!==2)return!1;g(h);const P=h.currentPeek()==="-"?h.peek():h.currentPeek(),F=y(P);return h.resetPeek(),F}function T(h,p){const{currentType:O}=p;if(O!==2)return!1;g(h);const P=h.currentPeek()===Ao;return h.resetPeek(),P}function S(h,p){const{currentType:O}=p;if(O!==8)return!1;g(h);const P=h.currentPeek()===".";return h.resetPeek(),P}function I(h,p){const{currentType:O}=p;if(O!==9)return!1;g(h);const P=$(h.currentPeek());return h.resetPeek(),P}function L(h,p){const{currentType:O}=p;if(!(O===8||O===12))return!1;g(h);const P=h.currentPeek()===":";return h.resetPeek(),P}function w(h,p){const{currentType:O}=p;if(O!==10)return!1;const P=()=>{const j=h.currentPeek();return j==="{"?$(h.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===ze||!j?!1:j===we?(h.peek(),P()):$(j)},F=P();return h.resetPeek(),F}function R(h){g(h);const p=h.currentPeek()==="|";return h.resetPeek(),p}function V(h){const p=g(h),O=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:O,hasSpace:p.length>0}}function x(h,p=!0){const O=(F=!1,j="",fe=!1)=>{const Ne=h.currentPeek();return Ne==="{"?j==="%"?!1:F:Ne==="@"||!Ne?j==="%"?!0:F:Ne==="%"?(h.peek(),O(F,"%",!0)):Ne==="|"?j==="%"||fe?!0:!(j===ze||j===we):Ne===ze?(h.peek(),O(!0,ze,fe)):Ne===we?(h.peek(),O(!0,we,fe)):!0},P=O();return p&&h.resetPeek(),P}function J(h,p){const O=h.currentChar();return O===tt?tt:p(O)?(h.next(),O):null}function ie(h){return J(h,O=>{const P=O.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function $e(h){return J(h,O=>{const P=O.charCodeAt(0);return P>=48&&P<=57})}function Q(h){return J(h,O=>{const P=O.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function ge(h){let p="",O="";for(;p=$e(h);)O+=p;return O}function ce(h){E(h);const p=h.currentChar();return p!=="%"&&u(B.EXPECTED_TOKEN,o(),0,p),h.next(),"%"}function pe(h){let p="";for(;;){const O=h.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O==="%")if(x(h))p+=O,h.next();else break;else if(O===ze||O===we)if(x(h))p+=O,h.next();else{if(R(h))break;p+=O,h.next()}else p+=O,h.next()}return p}function Z(h){E(h);let p="",O="";for(;p=ie(h);)O+=p;return h.currentChar()===tt&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),O}function z(h){E(h);let p="";return h.currentChar()==="-"?(h.next(),p+=`-${ge(h)}`):p+=ge(h),h.currentChar()===tt&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),p}function X(h){E(h),_(h,"'");let p="",O="";const P=j=>j!==Ao&&j!==we;for(;p=J(h,P);)p==="\\"?O+=te(h):O+=p;const F=h.currentChar();return F===we||F===tt?(u(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),F===we&&(h.next(),_(h,"'")),O):(_(h,"'"),O)}function te(h){const p=h.currentChar();switch(p){case"\\":case"'":return h.next(),`\\${p}`;case"u":return ne(h,p,4);case"U":return ne(h,p,6);default:return u(B.UNKNOWN_ESCAPE_SEQUENCE,o(),0,p),""}}function ne(h,p,O){_(h,p);let P="";for(let F=0;F<O;F++){const j=Q(h);if(!j){u(B.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${p}${P}${h.currentChar()}`);break}P+=j}return`\\${p}${P}`}function ae(h){E(h);let p="",O="";const P=F=>F!=="{"&&F!=="}"&&F!==ze&&F!==we;for(;p=J(h,P);)O+=p;return O}function Oe(h){let p="",O="";for(;p=ie(h);)O+=p;return O}function re(h){const p=(O=!1,P)=>{const F=h.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===ze?P:F===we||F===pu?(P+=F,h.next(),p(O,P)):(P+=F,h.next(),p(!0,P))};return p(!1,"")}function ue(h){E(h);const p=_(h,"|");return E(h),p}function ye(h,p){let O=null;switch(h.currentChar()){case"{":return p.braceNest>=1&&u(B.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),h.next(),O=f(p,2,"{"),E(h),p.braceNest++,O;case"}":return p.braceNest>0&&p.currentType===2&&u(B.EMPTY_PLACEHOLDER,o(),0),h.next(),O=f(p,3,"}"),p.braceNest--,p.braceNest>0&&E(h),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),O;case"@":return p.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),O=he(h,p)||v(p),p.braceNest=0,O;default:{let F=!0,j=!0,fe=!0;if(R(h))return p.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),O=f(p,1,ue(h)),p.braceNest=0,p.inLinked=!1,O;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return u(B.UNTERMINATED_CLOSING_BRACE,o(),0),p.braceNest=0,Y(h,p);if(F=N(h,p))return O=f(p,5,Z(h)),E(h),O;if(j=b(h,p))return O=f(p,6,z(h)),E(h),O;if(fe=T(h,p))return O=f(p,7,X(h)),E(h),O;if(!F&&!j&&!fe)return O=f(p,13,ae(h)),u(B.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,O.value),E(h),O;break}}return O}function he(h,p){const{currentType:O}=p;let P=null;const F=h.currentChar();switch((O===8||O===9||O===12||O===10)&&(F===we||F===ze)&&u(B.INVALID_LINKED_FORMAT,o(),0),F){case"@":return h.next(),P=f(p,8,"@"),p.inLinked=!0,P;case".":return E(h),h.next(),f(p,9,".");case":":return E(h),h.next(),f(p,10,":");default:return R(h)?(P=f(p,1,ue(h)),p.braceNest=0,p.inLinked=!1,P):S(h,p)||L(h,p)?(E(h),he(h,p)):I(h,p)?(E(h),f(p,12,Oe(h))):w(h,p)?(E(h),F==="{"?ye(h,p)||P:f(p,11,re(h))):(O===8&&u(B.INVALID_LINKED_FORMAT,o(),0),p.braceNest=0,p.inLinked=!1,Y(h,p))}}function Y(h,p){let O={type:14};if(p.braceNest>0)return ye(h,p)||v(p);if(p.inLinked)return he(h,p)||v(p);switch(h.currentChar()){case"{":return ye(h,p)||v(p);case"}":return u(B.UNBALANCED_CLOSING_BRACE,o(),0),h.next(),f(p,3,"}");case"@":return he(h,p)||v(p);default:{if(R(h))return O=f(p,1,ue(h)),p.braceNest=0,p.inLinked=!1,O;const{isModulo:F,hasSpace:j}=V(h);if(F)return j?f(p,0,pe(h)):f(p,4,ce(h));if(x(h))return f(p,0,pe(h));break}}return O}function M(){const{currentType:h,offset:p,startLoc:O,endLoc:P}=d;return d.lastType=h,d.lastOffset=p,d.lastStartLoc=O,d.lastEndLoc=P,d.offset=a(),d.startLoc=o(),r.currentChar()===tt?f(d,14):Y(r,d)}return{nextToken:M,currentOffset:a,currentPosition:o,context:c}}const gu="parser",_u=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function vu(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 yu(e={}){const t=e.location!==!1,{onError:n}=e;function r($,y,N,b,...T){const S=$.currentPosition();if(S.offset+=b,S.column+=b,n){const I=t?Yn(N,S):null,L=Ot(y,I,{domain:gu,args:T});n(L)}}function a($,y,N){const b={type:$};return t&&(b.start=y,b.end=y,b.loc={start:N,end:N}),b}function o($,y,N,b){b&&($.type=b),t&&($.end=y,$.loc&&($.loc.end=N))}function i($,y){const N=$.context(),b=a(3,N.offset,N.startLoc);return b.value=y,o(b,$.currentOffset(),$.currentPosition()),b}function l($,y){const N=$.context(),{lastOffset:b,lastStartLoc:T}=N,S=a(5,b,T);return S.index=parseInt(y,10),$.nextToken(),o(S,$.currentOffset(),$.currentPosition()),S}function d($,y){const N=$.context(),{lastOffset:b,lastStartLoc:T}=N,S=a(4,b,T);return S.key=y,$.nextToken(),o(S,$.currentOffset(),$.currentPosition()),S}function c($,y){const N=$.context(),{lastOffset:b,lastStartLoc:T}=N,S=a(9,b,T);return S.value=y.replace(_u,vu),$.nextToken(),o(S,$.currentOffset(),$.currentPosition()),S}function m($){const y=$.nextToken(),N=$.context(),{lastOffset:b,lastStartLoc:T}=N,S=a(8,b,T);return y.type!==12?(r($,B.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),S.value="",o(S,b,T),{nextConsumeToken:y,node:S}):(y.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Ve(y)),S.value=y.value||"",o(S,$.currentOffset(),$.currentPosition()),{node:S})}function u($,y){const N=$.context(),b=a(7,N.offset,N.startLoc);return b.value=y,o(b,$.currentOffset(),$.currentPosition()),b}function f($){const y=$.context(),N=a(6,y.offset,y.startLoc);let b=$.nextToken();if(b.type===9){const T=m($);N.modifier=T.node,b=T.nextConsumeToken||$.nextToken()}switch(b.type!==10&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(b)),b=$.nextToken(),b.type===2&&(b=$.nextToken()),b.type){case 11:b.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(b)),N.key=u($,b.value||"");break;case 5:b.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(b)),N.key=d($,b.value||"");break;case 6:b.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(b)),N.key=l($,b.value||"");break;case 7:b.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(b)),N.key=c($,b.value||"");break;default:{r($,B.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const T=$.context(),S=a(7,T.offset,T.startLoc);return S.value="",o(S,T.offset,T.startLoc),N.key=S,o(N,T.offset,T.startLoc),{nextConsumeToken:b,node:N}}}return o(N,$.currentOffset(),$.currentPosition()),{node:N}}function v($){const y=$.context(),N=y.currentType===1?$.currentOffset():y.offset,b=y.currentType===1?y.endLoc:y.startLoc,T=a(2,N,b);T.items=[];let S=null;do{const w=S||$.nextToken();switch(S=null,w.type){case 0:w.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(w)),T.items.push(i($,w.value||""));break;case 6:w.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(w)),T.items.push(l($,w.value||""));break;case 5:w.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(w)),T.items.push(d($,w.value||""));break;case 7:w.value==null&&r($,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ve(w)),T.items.push(c($,w.value||""));break;case 8:{const R=f($);T.items.push(R.node),S=R.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const I=y.currentType===1?y.lastOffset:$.currentOffset(),L=y.currentType===1?y.lastEndLoc:$.currentPosition();return o(T,I,L),T}function _($,y,N,b){const T=$.context();let S=b.items.length===0;const I=a(1,y,N);I.cases=[],I.cases.push(b);do{const L=v($);S||(S=L.items.length===0),I.cases.push(L)}while(T.currentType!==14);return S&&r($,B.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),o(I,$.currentOffset(),$.currentPosition()),I}function g($){const y=$.context(),{offset:N,startLoc:b}=y,T=v($);return y.currentType===14?T:_($,N,b,T)}function E($){const y=$u($,qa({},e)),N=y.context(),b=a(0,N.offset,N.startLoc);return t&&b.loc&&(b.loc.source=$),b.body=g(y),e.onCacheKey&&(b.cacheKey=e.onCacheKey($)),N.currentType!==14&&r(y,B.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,$[N.offset]||""),o(b,y.currentOffset(),y.currentPosition()),b}return{parse:E}}function Ve(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 bu(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Do(e,t){for(let n=0;n<e.length;n++)Nr(e[n],t)}function Nr(e,t){switch(e.type){case 1:Do(e.cases,t),t.helper("plural");break;case 2:Do(e.items,t);break;case 6:{Nr(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 Eu(e,t={}){const n=bu(e);n.helper("normalize"),e.body&&Nr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ou(e){const t=e.body;return t.type===2?Ro(t):t.cases.forEach(n=>Ro(n)),e}function Ro(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=Xa(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 Nu="minifier";function pt(e){switch(e.t=e.type,e.type){case 0:{const t=e;pt(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++)pt(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++)pt(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;pt(t.key),t.k=t.key,delete t.key,t.modifier&&(pt(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 Ot(B.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Nu,args:[e.type]})}delete e.type}const Su="parser";function Tu(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,i=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};i&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(E,$){l.code+=E}function m(E,$=!0){const y=$?a:"";c(o?y+" ".repeat(E):y)}function u(E=!0){const $=++l.indentLevel;E&&m($)}function f(E=!0){const $=--l.indentLevel;E&&m($)}function v(){m(l.indentLevel)}return{context:d,push:c,indent:u,deindent:f,newline:v,helper:E=>`_${E}`,needIndent:()=>l.needIndent}}function Cu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),vt(e,t.key),t.modifier?(e.push(", "),vt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function wu(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let o=0;o<a&&(vt(e,t.items[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function ku(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let o=0;o<a&&(vt(e,t.cases[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Iu(e,t){t.body?vt(e,t.body):e.push("null")}function vt(e,t){const{helper:n}=e;switch(t.type){case 0:Iu(e,t);break;case 1:ku(e,t);break;case 2:wu(e,t);break;case 6:Cu(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 Ot(B.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Su,args:[t.type]})}}const Lu=(e,t={})=>{const n=Po(t.mode)?t.mode:"normal",r=Po(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
22
|
+
`,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Tu(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:i});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(i),l.length>0&&(d.push(`const { ${Xa(l.map(u=>`${u}: _${u}`),", ")} } = ctx`),d.newline()),d.push("return "),vt(d,e),d.deindent(i),d.push("}"),delete e.helpers;const{code:c,map:m}=d.context();return{ast:e,code:c,map:m?m.toJSON():void 0}};function Pu(e,t={}){const n=qa({},t),r=!!n.jit,a=!!n.minify,o=n.optimize==null?!0:n.optimize,l=yu(n).parse(e);return r?(o&&Ou(l),a&&pt(l),{ast:l,code:""}):(Eu(l,n),Lu(l,n))}/*!
|
23
|
+
* core-base v9.10.2
|
24
|
+
* (c) 2024 kazuya kawaguchi
|
25
|
+
* Released under the MIT License.
|
26
|
+
*/function Au(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const at=[];at[0]={w:[0],i:[3,0],"[":[4],o:[7]};at[1]={w:[1],".":[2],"[":[4],o:[7]};at[2]={w:[2],i:[3,0],0:[3,0]};at[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};at[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};at[5]={"'":[4,0],o:8,l:[5,0]};at[6]={'"':[4,0],o:8,l:[6,0]};const Du=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ru(e){return Du.test(e)}function Fu(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 Mu(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 xu(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ru(t)?Fu(t):"*"+t}function Bu(e){const t=[];let n=-1,r=0,a=0,o,i,l,d,c,m,u;const f=[];f[0]=()=>{i===void 0?i=l:i+=l},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),a++},f[3]=()=>{if(a>0)a--,r=4,f[0]();else{if(a=0,i===void 0||(i=xu(i),i===!1))return!1;f[1]()}};function v(){const _=e[n+1];if(r===5&&_==="'"||r===6&&_==='"')return n++,l="\\"+_,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&v())){if(d=Mu(o),u=at[r],c=u[d]||u.l||8,c===8||(r=c[0],c[1]!==void 0&&(m=f[c[1]],m&&(l=o,m()===!1))))return;if(r===7)return t}}const Fo=new Map;function Vu(e,t){return q(e)?e[t]:null}function Uu(e,t){if(!q(e))return null;let n=Fo.get(t);if(n||(n=Bu(t),n&&Fo.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const i=a[n[o]];if(i===void 0||ee(a))return null;a=i,o++}return a}const ju=e=>e,Gu=e=>"",Hu="text",Wu=e=>e.length===0?"":eu(e),Ku=Qc;function Mo(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function zu(e){const t=be(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(be(e.named.count)||be(e.named.n))?be(e.named.count)?e.named.count:be(e.named.n)?e.named.n:t:t}function Yu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qu(e={}){const t=e.locale,n=zu(e),r=q(e.pluralRules)&&D(t)&&ee(e.pluralRules[t])?e.pluralRules[t]:Mo,a=q(e.pluralRules)&&D(t)&&ee(e.pluralRules[t])?Mo:void 0,o=$=>$[r(n,$.length,a)],i=e.list||[],l=$=>i[$],d=e.named||{};be(e.pluralIndex)&&Yu(n,d);const c=$=>d[$];function m($){const y=ee(e.messages)?e.messages($):q(e.messages)?e.messages[$]:!1;return y||(e.parent?e.parent.message($):Gu)}const u=$=>e.modifiers?e.modifiers[$]:ju,f=U(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:Wu,v=U(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:Ku,_=U(e.processor)&&D(e.processor.type)?e.processor.type:Hu,E={list:l,named:c,plural:o,linked:($,...y)=>{const[N,b]=y;let T="text",S="";y.length===1?q(N)?(S=N.modifier||S,T=N.type||T):D(N)&&(S=N||S):y.length===2&&(D(N)&&(S=N||S),D(b)&&(T=b||T));const I=m($)(E),L=T==="vnode"&&oe(I)&&S?I[0]:I;return S?u(S)(L,T):L},message:m,type:_,interpolate:v,normalize:f,values:Ce({},i,d)};return E}let Dt=null;function Xu(e){Dt=e}function Ju(e,t,n){Dt&&Dt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Zu=Qu("function:translate");function Qu(e){return t=>Dt&&Dt.emit(e,t)}const ke={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},ef={[ke.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ke.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ke.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ke.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ke.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ke.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ke.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 lt(e,...t){return br(ef[e],...t)}const Ja=B.__EXTEND_POINT__,st=Er(Ja),Se={INVALID_ARGUMENT:Ja,INVALID_DATE_ARGUMENT:st(),INVALID_ISO_DATE_ARGUMENT:st(),NOT_SUPPORT_NON_STRING_MESSAGE:st(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:st(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:st(),NOT_SUPPORT_LOCALE_TYPE:st(),__EXTEND_POINT__:st()};function Ue(e){return Ot(e,null,process.env.NODE_ENV!=="production"?{messages:tf}:void 0)}const tf={[Se.INVALID_ARGUMENT]:"Invalid arguments",[Se.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Se.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Se.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Se.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Se.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Se.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Sr(e,t){return t.locale!=null?xo(t.locale):xo(e.locale)}let Ln;function xo(e){if(D(e))return e;if(ee(e)){if(e.resolvedOnce&&Ln!=null)return Ln;if(e.constructor.name==="Function"){const t=e();if(Zc(t))throw Ue(Se.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ln=t}else throw Ue(Se.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ue(Se.NOT_SUPPORT_LOCALE_TYPE)}function nf(e,t,n){return[...new Set([n,...oe(t)?t:q(t)?Object.keys(t):D(t)?[t]:[n]])]}function Za(e,t,n){const r=D(n)?n:yt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;oe(i);)i=Bo(o,i,t);const l=oe(t)||!U(t)?t:t.default?t.default:null;i=D(l)?[l]:l,oe(i)&&Bo(o,i,!1),a.__localeChainCache.set(r,o)}return o}function Bo(e,t,n){let r=!0;for(let a=0;a<t.length&&H(r);a++){const o=t[a];D(o)&&(r=rf(e,t[a],n))}return r}function rf(e,t,n){let r;const a=t.split("-");do{const o=a.join("-");r=of(e,o,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function of(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(oe(n)||U(n))&&n[a]&&(r=n[a])}return r}const af="9.10.2",_n=-1,yt="en-US",ln="",Vo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sf(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&q(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&q(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?Vo(e):t==="vnode"&&q(e)&&"__v_isVNode"in e?Vo(e.children):e}}let Qa;function Uo(e){Qa=e}let es;function lf(e){es=e}let ts;function df(e){ts=e}let ns=null;const cf=e=>{ns=e},uf=()=>ns;let rs=null;const jo=e=>{rs=e},ff=()=>rs;let Go=0;function mf(e={}){const t=ee(e.onWarn)?e.onWarn:Te,n=D(e.version)?e.version:af,r=D(e.locale)||ee(e.locale)?e.locale:yt,a=ee(r)?yt:r,o=oe(e.fallbackLocale)||U(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=U(e.messages)?e.messages:{[a]:{}},l=U(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},d=U(e.numberFormats)?e.numberFormats:{[a]:{}},c=Ce({},e.modifiers||{},sf()),m=e.pluralRules||{},u=ee(e.missing)?e.missing:null,f=H(e.missingWarn)||rt(e.missingWarn)?e.missingWarn:!0,v=H(e.fallbackWarn)||rt(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,g=!!e.unresolving,E=ee(e.postTranslation)?e.postTranslation:null,$=U(e.processor)?e.processor:null,y=H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter,b=ee(e.messageCompiler)?e.messageCompiler:Qa;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Ya(lt(ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const T=ee(e.messageResolver)?e.messageResolver:es||Vu,S=ee(e.localeFallbacker)?e.localeFallbacker:ts||nf,I=q(e.fallbackContext)?e.fallbackContext:void 0,L=e,w=q(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,R=q(L.__numberFormatters)?L.__numberFormatters:new Map,V=q(L.__meta)?L.__meta:{};Go++;const x={version:n,cid:Go,locale:r,fallbackLocale:o,messages:i,modifiers:c,pluralRules:m,missing:u,missingWarn:f,fallbackWarn:v,fallbackFormat:_,unresolving:g,postTranslation:E,processor:$,warnHtmlMessage:y,escapeParameter:N,messageCompiler:b,messageResolver:T,localeFallbacker:S,fallbackContext:I,onWarn:t,__meta:V};return x.datetimeFormats=l,x.numberFormats=d,x.__datetimeFormatters=w,x.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(x.__v_emitter=L.__v_emitter!=null?L.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ju(x,n,V),x}function vn(e,t){return e instanceof RegExp?e.test(t):e}function os(e,t){return e instanceof RegExp?e.test(t):e}function Tr(e,t,n,r,a){const{missing:o,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(o!==null){const l=o(e,n,t,a);return D(l)?l:t}else return process.env.NODE_ENV!=="production"&&os(r,t)&&i(lt(ke.NOT_FOUND_KEY,{key:t,locale:n})),t}function wt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Pn(e){return n=>pf(n,e)}function pf(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((o,i)=>[...o,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((a,o)=>[...a,qn(e,o)],[]);return e.normalize(r)}}function qn(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,a=r.m||r.modifier;return e.linked(qn(e,r.k||r.key),a?qn(e,a):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 hf="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function as(e,t){t&&du(e)&&Te(br(hf,{source:e}))}const ss=e=>e;let $t=Object.create(null);const ot=e=>q(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function is(e,t={}){let n=!1;const r=t.onError||iu;return t.onError=a=>{n=!0,r(a)},{...Pu(e,t),detectError:n}}const $f=(e,t)=>{if(!D(e))throw Ue(Se.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=H(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&as(e,n);const a=(t.onCacheKey||ss)(e),o=$t[a];if(o)return o;const{code:i,detectError:l}=is(e,t),d=new Function(`return ${i}`)();return l?d:$t[a]=d}};function gf(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&D(e)){const n=H(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&as(e,n);const a=(t.onCacheKey||ss)(e),o=$t[a];if(o)return o;const{ast:i,detectError:l}=is(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=Pn(i);return l?d:$t[a]=d}else{if(process.env.NODE_ENV!=="production"&&!ot(e))return Te(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=$t[n];return r||($t[n]=Pn(e))}else return Pn(e)}}const Wo=()=>"",Re=e=>ee(e);function Ko(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:i,messages:l}=e,[d,c]=Xn(...t),m=H(c.missingWarn)?c.missingWarn:e.missingWarn,u=H(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=H(c.escapeParameter)?c.escapeParameter:e.escapeParameter,v=!!c.resolvedMessage,_=D(c.default)||H(c.default)?H(c.default)?o?d:()=>d:c.default:n?o?d:()=>d:"",g=n||_!=="",E=Sr(e,c);f&&_f(c);let[$,y,N]=v?[d,E,l[E]||{}]:ls(e,d,E,i,u,m),b=$,T=d;if(!v&&!(D(b)||ot(b)||Re(b))&&g&&(b=_,T=b),!v&&(!(D(b)||ot(b)||Re(b))||!D(y)))return a?_n:d;if(process.env.NODE_ENV!=="production"&&D(b)&&e.messageCompiler==null)return Te(`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 S=!1;const I=()=>{S=!0},L=Re(b)?b:ds(e,d,y,b,T,I);if(S)return b;const w=Ef(e,y,N,c),R=qu(w),V=vf(e,L,R),x=r?r(V,d):V;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:D(d)?d:Re(b)?b.key:"",locale:y||(Re(b)?b.locale:""),format:D(b)?b:Re(b)?b.source:"",message:x};J.meta=Ce({},e.__meta,uf()||{}),Zu(J)}return x}function _f(e){oe(e.list)?e.list=e.list.map(t=>D(t)?ko(t):t):q(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=ko(e.named[t]))})}function ls(e,t,n,r,a,o){const{messages:i,onWarn:l,messageResolver:d,localeFallbacker:c}=e,m=c(e,r,n);let u={},f,v=null,_=n,g=null;const E="translate";for(let $=0;$<m.length;$++){if(f=g=m[$],process.env.NODE_ENV!=="production"&&n!==f&&vn(a,t)&&l(lt(ke.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const S=e.__v_emitter;S&&S.emit("fallback",{type:E,key:t,from:_,to:g,groupId:`${E}:${t}`})}u=i[f]||{};let y=null,N,b;if(process.env.NODE_ENV!=="production"&&Be&&(y=window.performance.now(),N="intlify-message-resolve-start",b="intlify-message-resolve-end",Ae&&Ae(N)),(v=d(u,t))===null&&(v=u[t]),process.env.NODE_ENV!=="production"&&Be){const S=window.performance.now(),I=e.__v_emitter;I&&y&&v&&I.emit("message-resolve",{type:"message-resolve",key:t,message:v,time:S-y,groupId:`${E}:${t}`}),N&&b&&Ae&&it&&(Ae(b),it("intlify message resolve",N,b))}if(D(v)||ot(v)||Re(v))break;const T=Tr(e,t,f,o,E);T!==t&&(v=T),_=g}return[v,f,u]}function ds(e,t,n,r,a,o){const{messageCompiler:i,warnHtmlMessage:l}=e;if(Re(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>r;return f.locale=n,f.key=t,f}let d=null,c,m;process.env.NODE_ENV!=="production"&&Be&&(d=window.performance.now(),c="intlify-message-compilation-start",m="intlify-message-compilation-end",Ae&&Ae(c));const u=i(r,yf(e,n,a,r,l,o));if(process.env.NODE_ENV!=="production"&&Be){const f=window.performance.now(),v=e.__v_emitter;v&&d&&v.emit("message-compilation",{type:"message-compilation",message:r,time:f-d,groupId:`translate:${t}`}),c&&m&&Ae&&it&&(Ae(m),it("intlify message compilation",c,m))}return u.locale=n,u.key=t,u.source=r,u}function vf(e,t,n){let r=null,a,o;process.env.NODE_ENV!=="production"&&Be&&(r=window.performance.now(),a="intlify-message-evaluation-start",o="intlify-message-evaluation-end",Ae&&Ae(a));const i=t(n);if(process.env.NODE_ENV!=="production"&&Be){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}`}),a&&o&&Ae&&it&&(Ae(o),it("intlify message evaluation",a,o))}return i}function Xn(...e){const[t,n,r]=e,a={};if(!D(t)&&!be(t)&&!Re(t)&&!ot(t))throw Ue(Se.INVALID_ARGUMENT);const o=be(t)?String(t):(Re(t),t);return be(n)?a.plural=n:D(n)?a.default=n:U(n)&&!gn(n)?a.named=n:oe(n)&&(a.list=n),be(r)?a.plural=r:D(r)?a.default=r:U(r)&&Ce(a,r),[o,a]}function yf(e,t,n,r,a,o){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{if(o&&o(i),process.env.NODE_ENV!=="production"){const l=bf(r),d=`Message compilation error: ${i.message}`,c=i.location&&l&&tu(l,i.location.start.offset,i.location.end.offset),m=e.__v_emitter;m&&l&&m.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}
|
27
|
+
${c}`:d)}else throw i},onCacheKey:i=>Yc(t,n,i)}}function bf(e){if(D(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ef(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:i,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:m}=e,f={locale:t,modifiers:a,pluralRules:o,messages:v=>{let _=i(n,v);if(_==null&&m){const[,,g]=ls(m,v,t,l,d,c);_=i(g,v)}if(D(_)||ot(_)){let g=!1;const $=ds(e,v,t,_,v,()=>{g=!0});return g?Wo:$}else return Re(_)?_:Wo}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),be(r.plural)&&(f.pluralIndex=r.plural),f}const zo=typeof Intl<"u",cs={dateTimeFormat:zo&&typeof Intl.DateTimeFormat<"u",numberFormat:zo&&typeof Intl.NumberFormat<"u"};function Yo(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!cs.dateTimeFormat)return o(lt(ke.CANNOT_FORMAT_DATE)),ln;const[d,c,m,u]=Jn(...t),f=H(m.missingWarn)?m.missingWarn:e.missingWarn,v=H(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,_=!!m.part,g=Sr(e,m),E=i(e,a,g);if(!D(d)||d==="")return new Intl.DateTimeFormat(g,u).format(c);let $={},y,N=null,b=g,T=null;const S="datetime format";for(let w=0;w<E.length;w++){if(y=T=E[w],process.env.NODE_ENV!=="production"&&g!==y&&vn(v,d)&&o(lt(ke.FALLBACK_TO_DATE_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&g!==y){const R=e.__v_emitter;R&&R.emit("fallback",{type:S,key:d,from:b,to:T,groupId:`${S}:${d}`})}if($=n[y]||{},N=$[d],U(N))break;Tr(e,d,y,f,S),b=T}if(!U(N)||!D(y))return r?_n:d;let I=`${y}__${d}`;gn(u)||(I=`${I}__${JSON.stringify(u)}`);let L=l.get(I);return L||(L=new Intl.DateTimeFormat(y,Ce({},N,u)),l.set(I,L)),_?L.formatToParts(c):L.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 Jn(...e){const[t,n,r,a]=e,o={};let i={},l;if(D(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Ue(Se.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 Ue(Se.INVALID_ISO_DATE_ARGUMENT)}}else if(Xc(t)){if(isNaN(t.getTime()))throw Ue(Se.INVALID_DATE_ARGUMENT);l=t}else if(be(t))l=t;else throw Ue(Se.INVALID_ARGUMENT);return D(n)?o.key=n:U(n)&&Object.keys(n).forEach(d=>{us.includes(d)?i[d]=n[d]:o[d]=n[d]}),D(r)?o.locale=r:U(r)&&(i=r),U(a)&&(i=a),[o.key||"",l,o,i]}function qo(e,t,n){const r=e;for(const a in n){const o=`${t}__${a}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Xo(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!cs.numberFormat)return o(lt(ke.CANNOT_FORMAT_NUMBER)),ln;const[d,c,m,u]=Zn(...t),f=H(m.missingWarn)?m.missingWarn:e.missingWarn,v=H(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,_=!!m.part,g=Sr(e,m),E=i(e,a,g);if(!D(d)||d==="")return new Intl.NumberFormat(g,u).format(c);let $={},y,N=null,b=g,T=null;const S="number format";for(let w=0;w<E.length;w++){if(y=T=E[w],process.env.NODE_ENV!=="production"&&g!==y&&vn(v,d)&&o(lt(ke.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&g!==y){const R=e.__v_emitter;R&&R.emit("fallback",{type:S,key:d,from:b,to:T,groupId:`${S}:${d}`})}if($=n[y]||{},N=$[d],U(N))break;Tr(e,d,y,f,S),b=T}if(!U(N)||!D(y))return r?_n:d;let I=`${y}__${d}`;gn(u)||(I=`${I}__${JSON.stringify(u)}`);let L=l.get(I);return L||(L=new Intl.NumberFormat(y,Ce({},N,u)),l.set(I,L)),_?L.formatToParts(c):L.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 Zn(...e){const[t,n,r,a]=e,o={};let i={};if(!be(t))throw Ue(Se.INVALID_ARGUMENT);const l=t;return D(n)?o.key=n:U(n)&&Object.keys(n).forEach(d=>{fs.includes(d)?i[d]=n[d]:o[d]=n[d]}),D(r)?o.locale=r:U(r)&&(i=r),U(a)&&(i=a),[o.key||"",l,o,i]}function Jo(e,t,n){const r=e;for(const a in n){const o=`${t}__${a}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}Au();function Of(){return ms().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ms(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Nf=typeof Proxy=="function",Sf="devtools-plugin:setup",Tf="plugin:settings:set";let ft,Qn;function Cf(){var e;return ft!==void 0||(typeof window<"u"&&window.performance?(ft=!0,Qn=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(ft=!0,Qn=globalThis.perf_hooks.performance):ft=!1),ft}function wf(){return Cf()?Qn.now():Date.now()}class kf{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 a=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(a),l=JSON.parse(i);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(a,JSON.stringify(i))}catch{}o=i},now(){return wf()}},n&&n.on(Tf,(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 If(e,t){const n=e,r=ms(),a=Of(),o=Nf&&n.enableEarlyProxy;if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))a.emit(Sf,e,t);else{const i=o?new kf(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
28
|
+
* vue-i18n v9.10.2
|
29
|
+
* (c) 2024 kazuya kawaguchi
|
30
|
+
* Released under the MIT License.
|
31
|
+
*/const Lf="9.10.2";function Pf(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Je().__INTLIFY_PROD_DEVTOOLS__=!1)}const ps=ke.__EXTEND_POINT__,Ye=Er(ps),le={FALLBACK_TO_ROOT:ps,NOT_SUPPORTED_PRESERVE:Ye(),NOT_SUPPORTED_FORMATTER:Ye(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ye(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ye(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ye(),NOT_FOUND_PARENT_SCOPE:Ye(),IGNORE_OBJ_FLATTEN:Ye(),NOTICE_DROP_ALLOW_COMPOSITION:Ye(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ye()},Af={[le.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[le.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[le.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[le.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[le.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[le.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[le.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[le.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[le.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[le.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Pe(e,...t){return br(Af[e],...t)}const hs=Se.__EXTEND_POINT__,Le=Er(hs),W={UNEXPECTED_RETURN_TYPE:hs,INVALID_ARGUMENT:Le(),MUST_BE_CALL_SETUP_TOP:Le(),NOT_INSTALLED:Le(),NOT_AVAILABLE_IN_LEGACY_MODE:Le(),REQUIRED_VALUE:Le(),INVALID_VALUE:Le(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Le(),NOT_INSTALLED_WITH_PROVIDE:Le(),UNEXPECTED_ERROR:Le(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Le(),BRIDGE_SUPPORT_VUE_2_ONLY:Le(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Le(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Le(),__EXTEND_POINT__:Le()};function Ee(e,...t){return Ot(e,null,process.env.NODE_ENV!=="production"?{messages:Df,args:t}:void 0)}const Df={[W.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[W.INVALID_ARGUMENT]:"Invalid argument",[W.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[W.NOT_INSTALLED]:"Need to install with `app.use` function",[W.UNEXPECTED_ERROR]:"Unexpected error",[W.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[W.REQUIRED_VALUE]:"Required in value: {0}",[W.INVALID_VALUE]:"Invalid value",[W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[W.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[W.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[W.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[W.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",[W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},er=Ge("__translateVNode"),tr=Ge("__datetimeParts"),nr=Ge("__numberParts"),dt=Ge("__enableEmitter"),Rt=Ge("__disableEmitter"),$s=Ge("__setPluralRules"),gs=Ge("__injectWithOption"),rr=Ge("__dispose");function Ft(e){if(!q(e))return e;for(const t in e)if(sn(e,t))if(!t.includes("."))q(e[t])&&Ft(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,o=!1;for(let i=0;i<r;i++){if(n[i]in a||(a[n[i]]={}),!q(a[n[i]])){process.env.NODE_ENV!=="production"&&Te(Pe(le.IGNORE_OBJ_FLATTEN,{key:n[i]})),o=!0;break}a=a[n[i]]}o||(a[n[r]]=e[t],delete e[t]),q(a[n[r]])&&Ft(a[n[r]])}return e}function yn(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,i=U(n)?n:oe(r)?{}:{[e]:{}};if(oe(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(i[d]=i[d]||{},Qt(c,i[d])):Qt(c,i)}else D(l)&&Qt(JSON.parse(l),i)}),a==null&&o)for(const l in i)sn(i,l)&&Ft(i[l]);return i}function _s(e){return e.type}function vs(e,t,n){let r=q(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=yn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(q(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(q(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Zo(e){return s.createVNode(s.Text,null,e,0)}const Qo="__INTLIFY_META__",ea=()=>[],Rf=()=>!1;let ta=0;function na(e){return(t,n,r,a)=>e(n,r,s.getCurrentInstance()||void 0,a)}const Ff=()=>{const e=s.getCurrentInstance();let t=null;return e&&(t=_s(e)[Qo])?{[Qo]:t}:null};function Cr(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,o=e.flatJson,i=Be?s.ref:s.shallowRef,l=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&Ya(Pe(le.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=H(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&d?n.locale.value:D(e.locale)?e.locale:yt),m=i(n&&d?n.fallbackLocale.value:D(e.fallbackLocale)||oe(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),u=i(yn(c.value,e)),f=i(U(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),v=i(U(e.numberFormats)?e.numberFormats:{[c.value]:{}});let _=n?n.missingWarn:H(e.missingWarn)||rt(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:H(e.fallbackWarn)||rt(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:H(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,y=ee(e.missing)?e.missing:null,N=ee(e.missing)?na(e.missing):null,b=ee(e.postTranslation)?e.postTranslation:null,T=n?n.warnHtmlMessage:H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const I=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let L=e.pluralRules||n&&n.pluralRules,w;w=(()=>{a&&jo(null);const C={version:Lf,locale:c.value,fallbackLocale:m.value,messages:u.value,modifiers:I,pluralRules:L,missing:N===null?void 0:N,missingWarn:_,fallbackWarn:g,fallbackFormat:$,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:T,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=f.value,C.numberFormats=v.value,C.__datetimeFormatters=U(w)?w.__datetimeFormatters:void 0,C.__numberFormatters=U(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=U(w)?w.__v_emitter:void 0);const A=mf(C);return a&&jo(A),A})(),wt(w,c.value,m.value);function V(){return[c.value,m.value,u.value,f.value,v.value]}const x=s.computed({get:()=>c.value,set:C=>{c.value=C,w.locale=c.value}}),J=s.computed({get:()=>m.value,set:C=>{m.value=C,w.fallbackLocale=m.value,wt(w,c.value,C)}}),ie=s.computed(()=>u.value),$e=s.computed(()=>f.value),Q=s.computed(()=>v.value);function ge(){return ee(b)?b:null}function ce(C){b=C,w.postTranslation=C}function pe(){return y}function Z(C){C!==null&&(N=na(C)),y=C,w.missing=N}function z(C,A){return C!=="translate"||!A.resolvedMessage}const X=(C,A,G,se,De,We)=>{V();let et;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(w.fallbackContext=n?ff():void 0),et=C(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(w.fallbackContext=void 0)}if(G!=="translate exists"&&be(et)&&et===_n||G==="translate exists"&&!et){const[Ke,Cn]=A();if(process.env.NODE_ENV!=="production"&&n&&D(Ke)&&z(G,Cn)&&(E&&(vn(g,Ke)||os(_,Ke))&&Te(Pe(le.FALLBACK_TO_ROOT,{key:Ke,type:G})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yt}=w;Yt&&E&&Yt.emit("fallback",{type:G,key:Ke,to:"global",groupId:`${G}:${Ke}`})}return n&&E?se(n):De(Ke)}else{if(We(et))return et;throw Ee(W.UNEXPECTED_RETURN_TYPE)}};function te(...C){return X(A=>Reflect.apply(Ko,null,[A,...C]),()=>Xn(...C),"translate",A=>Reflect.apply(A.t,A,[...C]),A=>A,A=>D(A))}function ne(...C){const[A,G,se]=C;if(se&&!q(se))throw Ee(W.INVALID_ARGUMENT);return te(A,G,Ce({resolvedMessage:!0},se||{}))}function ae(...C){return X(A=>Reflect.apply(Yo,null,[A,...C]),()=>Jn(...C),"datetime format",A=>Reflect.apply(A.d,A,[...C]),()=>ln,A=>D(A))}function Oe(...C){return X(A=>Reflect.apply(Xo,null,[A,...C]),()=>Zn(...C),"number format",A=>Reflect.apply(A.n,A,[...C]),()=>ln,A=>D(A))}function re(C){return C.map(A=>D(A)||be(A)||H(A)?Zo(String(A)):A)}const ye={normalize:re,interpolate:C=>C,type:"vnode"};function he(...C){return X(A=>{let G;const se=A;try{se.processor=ye,G=Reflect.apply(Ko,null,[se,...C])}finally{se.processor=null}return G},()=>Xn(...C),"translate",A=>A[er](...C),A=>[Zo(A)],A=>oe(A))}function Y(...C){return X(A=>Reflect.apply(Xo,null,[A,...C]),()=>Zn(...C),"number format",A=>A[nr](...C),ea,A=>D(A)||oe(A))}function M(...C){return X(A=>Reflect.apply(Yo,null,[A,...C]),()=>Jn(...C),"datetime format",A=>A[tr](...C),ea,A=>D(A)||oe(A))}function h(C){L=C,w.pluralRules=L}function p(C,A){return X(()=>{if(!C)return!1;const G=D(A)?A:c.value,se=F(G),De=w.messageResolver(se,C);return l?De!=null:ot(De)||Re(De)||D(De)},()=>[C],"translate exists",G=>Reflect.apply(G.te,G,[C,A]),Rf,G=>H(G))}function O(C){let A=null;const G=Za(w,m.value,c.value);for(let se=0;se<G.length;se++){const De=u.value[G[se]]||{},We=w.messageResolver(De,C);if(We!=null){A=We;break}}return A}function P(C){const A=O(C);return A??(n?n.tm(C)||{}:{})}function F(C){return u.value[C]||{}}function j(C,A){if(o){const G={[C]:A};for(const se in G)sn(G,se)&&Ft(G[se]);A=G[C]}u.value[C]=A,w.messages=u.value}function fe(C,A){u.value[C]=u.value[C]||{};const G={[C]:A};if(o)for(const se in G)sn(G,se)&&Ft(G[se]);A=G[C],Qt(A,u.value[C]),w.messages=u.value}function Ne(C){return f.value[C]||{}}function Tt(C,A){f.value[C]=A,w.datetimeFormats=f.value,qo(w,C,A)}function Ct(C,A){f.value[C]=Ce(f.value[C]||{},A),w.datetimeFormats=f.value,qo(w,C,A)}function Kt(C){return v.value[C]||{}}function zt(C,A){v.value[C]=A,w.numberFormats=v.value,Jo(w,C,A)}function Tn(C,A){v.value[C]=Ce(v.value[C]||{},A),w.numberFormats=v.value,Jo(w,C,A)}ta++,n&&Be&&(s.watch(n.locale,C=>{d&&(c.value=C,w.locale=C,wt(w,c.value,m.value))}),s.watch(n.fallbackLocale,C=>{d&&(m.value=C,w.fallbackLocale=C,wt(w,c.value,m.value))}));const me={id:ta,locale:x,fallbackLocale:J,get inheritLocale(){return d},set inheritLocale(C){d=C,C&&n&&(c.value=n.locale.value,m.value=n.fallbackLocale.value,wt(w,c.value,m.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:ie,get modifiers(){return I},get pluralRules(){return L||{}},get isGlobal(){return a},get missingWarn(){return _},set missingWarn(C){_=C,w.missingWarn=_},get fallbackWarn(){return g},set fallbackWarn(C){g=C,w.fallbackWarn=g},get fallbackRoot(){return E},set fallbackRoot(C){E=C},get fallbackFormat(){return $},set fallbackFormat(C){$=C,w.fallbackFormat=$},get warnHtmlMessage(){return T},set warnHtmlMessage(C){T=C,w.warnHtmlMessage=C},get escapeParameter(){return S},set escapeParameter(C){S=C,w.escapeParameter=C},t:te,getLocaleMessage:F,setLocaleMessage:j,mergeLocaleMessage:fe,getPostTranslationHandler:ge,setPostTranslationHandler:ce,getMissingHandler:pe,setMissingHandler:Z,[$s]:h};return me.datetimeFormats=$e,me.numberFormats=Q,me.rt=ne,me.te=p,me.tm=P,me.d=ae,me.n=Oe,me.getDateTimeFormat=Ne,me.setDateTimeFormat=Tt,me.mergeDateTimeFormat=Ct,me.getNumberFormat=Kt,me.setNumberFormat=zt,me.mergeNumberFormat=Tn,me[gs]=r,me[er]=he,me[tr]=M,me[nr]=Y,process.env.NODE_ENV!=="production"&&(me[dt]=C=>{w.__v_emitter=C},me[Rt]=()=>{w.__v_emitter=void 0}),me}function Mf(e){const t=D(e.locale)?e.locale:yt,n=D(e.fallbackLocale)||oe(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ee(e.missing)?e.missing:void 0,a=H(e.silentTranslationWarn)||rt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=H(e.silentFallbackWarn)||rt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=H(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,d=U(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,m=ee(e.postTranslation)?e.postTranslation:void 0,u=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,v=H(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Te(Pe(le.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Te(Pe(le.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let _=e.messages;if(U(e.sharedMessages)){const S=e.sharedMessages;_=Object.keys(S).reduce((L,w)=>{const R=L[w]||(L[w]={});return Ce(R,S[w]),L},_||{})}const{__i18n:g,__root:E,__injectWithOption:$}=e,y=e.datetimeFormats,N=e.numberFormats,b=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:_,flatJson:b,datetimeFormats:y,numberFormats:N,missing:r,missingWarn:a,fallbackWarn:o,fallbackRoot:i,fallbackFormat:l,modifiers:d,pluralRules:c,postTranslation:m,warnHtmlMessage:u,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:T,__i18n:g,__root:E,__injectWithOption:$}}function or(e={},t){{const n=Cr(Mf(e)),{__extender:r}=e,a={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},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"&&Te(Pe(le.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(o){process.env.NODE_ENV!=="production"&&Te(Pe(le.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return H(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=H(o)?!o:o},get silentFallbackWarn(){return H(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=H(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Te(Pe(le.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(o){process.env.NODE_ENV!=="production"&&Te(Pe(le.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[i,l,d]=o,c={};let m=null,u=null;if(!D(i))throw Ee(W.INVALID_ARGUMENT);const f=i;return D(l)?c.locale=l:oe(l)?m=l:U(l)&&(u=l),oe(d)?m=d:U(d)&&(u=d),Reflect.apply(n.t,n,[f,m||u||{},c])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[i,l,d]=o,c={plural:1};let m=null,u=null;if(!D(i))throw Ee(W.INVALID_ARGUMENT);const f=i;return D(l)?c.locale=l:be(l)?c.plural=l:oe(l)?m=l:U(l)&&(u=l),D(d)?c.locale=d:oe(d)?m=d:U(d)&&(u=d),Reflect.apply(n.t,n,[f,m||u||{},c])},te(o,i){return n.te(o,i)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,i){n.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){n.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,i){n.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){n.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,i){n.setNumberFormat(o,i)},mergeNumberFormat(o,i){n.mergeNumberFormat(o,i)},getChoiceIndex(o,i){return process.env.NODE_ENV!=="production"&&Te(Pe(le.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return a.__extender=r,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=o=>{const i=n;i[dt]&&i[dt](o)},a.__disableEmitter=()=>{const o=n;o[Rt]&&o[Rt]()}),a}}const wr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function xf({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===s.Fragment?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function ys(e){return s.Fragment}const Bf=s.defineComponent({name:"i18n-t",props:Ce({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>be(e)||!isNaN(e)}},wr),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||Nt({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(u=>u!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=D(e.plural)?+e.plural:e.plural);const l=xf(t,o),d=a[er](e.keypath,l,i),c=Ce({},r),m=D(e.tag)||q(e.tag)?e.tag:ys();return s.h(m,c,d)}}}),An=Bf;function Vf(e){return oe(e)&&!D(e[0])}function bs(e,t,n,r){const{slots:a,attrs:o}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),D(e.format)?i.key=e.format:q(e.format)&&(D(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((f,v)=>n.includes(v)?Ce({},f,{[v]:e.format[v]}):f,{}));const d=r(e.value,i,l);let c=[i.key];oe(d)?c=d.map((f,v)=>{const _=a[f.type],g=_?_({[f.type]:f.value,index:v,parts:d}):[f.value];return Vf(g)&&(g[0].key=`${f.type}-${v}`),g}):D(d)&&(c=[d]);const m=Ce({},o),u=D(e.tag)||q(e.tag)?e.tag:ys();return s.h(u,m,c)}}const Uf=s.defineComponent({name:"i18n-n",props:Ce({value:{type:Number,required:!0},format:{type:[String,Object]}},wr),setup(e,t){const n=e.i18n||Nt({useScope:"parent",__useComponent:!0});return bs(e,t,fs,(...r)=>n[nr](...r))}}),ra=Uf,jf=s.defineComponent({name:"i18n-d",props:Ce({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wr),setup(e,t){const n=e.i18n||Nt({useScope:"parent",__useComponent:!0});return bs(e,t,us,(...r)=>n[tr](...r))}}),oa=jf;function Gf(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 Hf(e){const t=i=>{const{instance:l,modifiers:d,value:c}=i;if(!l||!l.$)throw Ee(W.UNEXPECTED_ERROR);const m=Gf(e,l.$);process.env.NODE_ENV!=="production"&&d.preserve&&Te(Pe(le.NOT_SUPPORTED_PRESERVE));const u=aa(c);return[Reflect.apply(m.t,m,[...sa(u)]),m]};return{created:(i,l)=>{const[d,c]=t(l);Be&&e.global===c&&(i.__i18nWatcher=s.watch(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=d},unmounted:i=>{Be&&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=aa(l);i.textContent=Reflect.apply(d.t,d,[...sa(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function aa(e){if(D(e))return{path:e};if(U(e)){if(!("path"in e))throw Ee(W.REQUIRED_VALUE,"path");return e}else throw Ee(W.INVALID_VALUE)}function sa(e){const{path:t,locale:n,args:r,choice:a,plural:o}=e,i={},l=r||{};return D(n)&&(i.locale=n),be(a)&&(i.plural=a),be(o)&&(i.plural=o),[t,l,i]}function Wf(e,t,...n){const r=U(n[0])?n[0]:{},a=!!r.useI18nComponentName,o=H(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&o&&a&&Te(Pe(le.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:An.name})),o&&([a?"i18n":An.name,"I18nT"].forEach(i=>e.component(i,An)),[ra.name,"I18nN"].forEach(i=>e.component(i,ra)),[oa.name,"I18nD"].forEach(i=>e.component(i,oa))),e.directive("t",Hf(t))}const Dn={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Kf={"vue-i18n-resource-inspector":"Search for scopes ..."},zf={"vue-i18n-timeline":16764185},Es="vue-i18n: composer properties";let ar;async function Yf(e,t){return new Promise((n,r)=>{try{If({id:"vue-devtools-plugin-vue-i18n",label:Dn["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},a=>{ar=a,a.on.visitComponentTree(({componentInstance:i,treeNode:l})=>{qf(i,l,t)}),a.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&&ia(l,i.vnode.el.__VUE_I18N__):ia(l,i.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:Dn["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Kf["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&e0(i,t)});const o=new Map;a.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),n0(i,t),i.nodeId==="global"){if(!o.has(i.app)){const[l]=await a.getComponentInstances(i.app);o.set(i.app,l)}a.highlightElement(o.get(i.app))}else{const l=t0(i.nodeId,t);l&&a.highlightElement(l)}}),a.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&o0(i,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:Dn["vue-i18n-timeline"],color:zf["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),r(!1)}})}function Os(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function qf(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 a={label:`i18n (${Os(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function ia(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:kr(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 kr(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];ee(r)&&"source"in r?t[n]=Qf(r):ot(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:q(r)?t[n]=kr(r):t[n]=r}),t}const Xf={"<":"<",">":">",'"':""","&":"&"};function Jf(e){return e.replace(/[<>"&]/g,Zf)}function Zf(e){return Xf[e]||e}function Qf(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${Jf(e.source)}")`:"(?)"}`}}}function e0(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,a]of t.__instances){const o=t.mode==="composition"?a:a.__composer;n!==o&&e.rootNodes.push({id:o.id.toString(),label:`${Os(r)} Scope`})}}function t0(e,t){let n=null;if(e!=="global"){for(const[r,a]of t.__instances.entries())if(a.id.toString()===e){n=r;break}}return n}function Ns(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 n0(e,t){const n=Ns(e.nodeId,t);return n&&(e.state=r0(n)),null}function r0(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 a="Locale messages info",o=[{type:a,key:"messages",editable:!1,value:kr(e.messages.value)}];t[a]=o;{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 Mt(e,t){if(ar){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),ar.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 o0(e,t){const n=Ns(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&D(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(D(e.state.value)||oe(e.state.value)||q(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&H(e.state.value)&&(n.inheritLocale=e.state.value)}}function a0(e,t,n){return{beforeCreate(){const r=s.getCurrentInstance();if(!r)throw Ee(W.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const o=a.i18n;if(a.__i18n&&(o.__i18n=a.__i18n),o.__root=t,this===this.$root)this.$i18n=la(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=or(o);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=la(e,a);else{this.$i18n=or({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&vs(t,a,a),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,i)=>this.$i18n.te(o,i),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),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 a=this.__v_emitter=Or();r.__enableEmitter&&r.__enableEmitter(a),a.on("*",Mt)}},unmounted(){const r=s.getCurrentInstance();if(!r)throw Ee(W.UNEXPECTED_ERROR);const a=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Mt),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__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,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(r),delete this.$i18n}}}function la(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=yn(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 s0=Ge("global-vue-i18n");function i0(e={},t){const n=__VUE_I18N_LEGACY_API__&&H(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=H(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[i,l]=l0(e,n),d=Ge(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&Te(Pe(le.NOTICE_DROP_ALLOW_COMPOSITION));function c(f){return o.get(f)||null}function m(f,v){o.set(f,v)}function u(f){o.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(v,..._){if(process.env.NODE_ENV!=="production"&&(v.__VUE_I18N__=f),v.__VUE_I18N_SYMBOL__=d,v.provide(v.__VUE_I18N_SYMBOL__,f),U(_[0])){const $=_[0];f.__composerExtend=$.__composerExtend,f.__vueI18nExtend=$.__vueI18nExtend}let g=null;!n&&r&&(g=g0(v,f.global)),__VUE_I18N_FULL_INSTALL__&&Wf(v,f,..._),__VUE_I18N_LEGACY_API__&&n&&v.mixin(a0(l,l.__composer,f));const E=v.unmount;if(v.unmount=()=>{g&&g(),f.dispose(),E()},process.env.NODE_ENV!=="production"){if(!await Yf(v,f))throw Ee(W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Or();if(n){const N=l;N.__enableEmitter&&N.__enableEmitter(y)}else{const N=l;N[dt]&&N[dt](y)}y.on("*",Mt)}},get global(){return l},dispose(){i.stop()},__instances:o,__getInstance:c,__setInstance:m,__deleteInstance:u};return f}}function Nt(e={}){const t=s.getCurrentInstance();if(t==null)throw Ee(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ee(W.NOT_INSTALLED);const n=d0(t),r=u0(n),a=_s(t),o=c0(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ee(W.NOT_AVAILABLE_IN_LEGACY_MODE);return h0(t,o,r,e)}if(o==="global")return vs(r,e,a),r;if(o==="parent"){let d=f0(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Te(Pe(le.NOT_FOUND_PARENT_SCOPE)),d=r),d}const i=n;let l=i.__getInstance(t);if(l==null){const d=Ce({},e);"__i18n"in a&&(d.__i18n=a.__i18n),r&&(d.__root=r),l=Cr(d),i.__composerExtend&&(l[rr]=i.__composerExtend(l)),p0(i,t,l),i.__setInstance(t,l)}return l}function l0(e,t,n){const r=s.effectScope();{const a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>or(e)):r.run(()=>Cr(e));if(a==null)throw Ee(W.UNEXPECTED_ERROR);return[r,a]}}function d0(e){{const t=s.inject(e.isCE?s0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ee(e.isCE?W.NOT_INSTALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}}function c0(e,t){return gn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function u0(e){return e.mode==="composition"?e.global:e.global.__composer}function f0(e,t,n=!1){let r=null;const a=t.root;let o=m0(t,n);for(;o!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(o);l!=null&&(r=l.__composer,n&&r&&!r[gs]&&(r=null))}if(r!=null||a===o)break;o=o.parent}return r}function m0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function p0(e,t,n){let r=null;s.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Or();const a=n;a[dt]&&a[dt](r),r.on("*",Mt)}},t),s.onUnmounted(()=>{const a=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Mt),a[Rt]&&a[Rt](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const o=a[rr];o&&(o(),delete a[rr])},t)}function h0(e,t,n,r={}){const a=t==="local",o=s.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ee(W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=H(r.inheritLocale)?r.inheritLocale:!D(r.locale),l=s.ref(!a||i?n.locale.value:D(r.locale)?r.locale:yt),d=s.ref(!a||i?n.fallbackLocale.value:D(r.fallbackLocale)||oe(r.fallbackLocale)||U(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=s.ref(yn(l.value,r)),m=s.ref(U(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),u=s.ref(U(r.numberFormats)?r.numberFormats:{[l.value]:{}}),f=a?n.missingWarn:H(r.missingWarn)||rt(r.missingWarn)?r.missingWarn:!0,v=a?n.fallbackWarn:H(r.fallbackWarn)||rt(r.fallbackWarn)?r.fallbackWarn:!0,_=a?n.fallbackRoot:H(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,E=ee(r.missing)?r.missing:null,$=ee(r.postTranslation)?r.postTranslation:null,y=a?n.warnHtmlMessage:H(r.warnHtmlMessage)?r.warnHtmlMessage:!0,N=!!r.escapeParameter,b=a?n.modifiers:U(r.modifiers)?r.modifiers:{},T=r.pluralRules||a&&n.pluralRules;function S(){return[l.value,d.value,c.value,m.value,u.value]}const I=s.computed({get:()=>o.value?o.value.locale.value:l.value,set:p=>{o.value&&(o.value.locale.value=p),l.value=p}}),L=s.computed({get:()=>o.value?o.value.fallbackLocale.value:d.value,set:p=>{o.value&&(o.value.fallbackLocale.value=p),d.value=p}}),w=s.computed(()=>o.value?o.value.messages.value:c.value),R=s.computed(()=>m.value),V=s.computed(()=>u.value);function x(){return o.value?o.value.getPostTranslationHandler():$}function J(p){o.value&&o.value.setPostTranslationHandler(p)}function ie(){return o.value?o.value.getMissingHandler():E}function $e(p){o.value&&o.value.setMissingHandler(p)}function Q(p){return S(),p()}function ge(...p){return o.value?Q(()=>Reflect.apply(o.value.t,null,[...p])):Q(()=>"")}function ce(...p){return o.value?Reflect.apply(o.value.rt,null,[...p]):""}function pe(...p){return o.value?Q(()=>Reflect.apply(o.value.d,null,[...p])):Q(()=>"")}function Z(...p){return o.value?Q(()=>Reflect.apply(o.value.n,null,[...p])):Q(()=>"")}function z(p){return o.value?o.value.tm(p):{}}function X(p,O){return o.value?o.value.te(p,O):!1}function te(p){return o.value?o.value.getLocaleMessage(p):{}}function ne(p,O){o.value&&(o.value.setLocaleMessage(p,O),c.value[p]=O)}function ae(p,O){o.value&&o.value.mergeLocaleMessage(p,O)}function Oe(p){return o.value?o.value.getDateTimeFormat(p):{}}function re(p,O){o.value&&(o.value.setDateTimeFormat(p,O),m.value[p]=O)}function ue(p,O){o.value&&o.value.mergeDateTimeFormat(p,O)}function ye(p){return o.value?o.value.getNumberFormat(p):{}}function he(p,O){o.value&&(o.value.setNumberFormat(p,O),u.value[p]=O)}function Y(p,O){o.value&&o.value.mergeNumberFormat(p,O)}const M={get id(){return o.value?o.value.id:-1},locale:I,fallbackLocale:L,messages:w,datetimeFormats:R,numberFormats:V,get inheritLocale(){return o.value?o.value.inheritLocale:i},set inheritLocale(p){o.value&&(o.value.inheritLocale=p)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:b},get pluralRules(){return o.value?o.value.pluralRules:T},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:f},set missingWarn(p){o.value&&(o.value.missingWarn=p)},get fallbackWarn(){return o.value?o.value.fallbackWarn:v},set fallbackWarn(p){o.value&&(o.value.missingWarn=p)},get fallbackRoot(){return o.value?o.value.fallbackRoot:_},set fallbackRoot(p){o.value&&(o.value.fallbackRoot=p)},get fallbackFormat(){return o.value?o.value.fallbackFormat:g},set fallbackFormat(p){o.value&&(o.value.fallbackFormat=p)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(p){o.value&&(o.value.warnHtmlMessage=p)},get escapeParameter(){return o.value?o.value.escapeParameter:N},set escapeParameter(p){o.value&&(o.value.escapeParameter=p)},t:ge,getPostTranslationHandler:x,setPostTranslationHandler:J,getMissingHandler:ie,setMissingHandler:$e,rt:ce,d:pe,n:Z,tm:z,te:X,getLocaleMessage:te,setLocaleMessage:ne,mergeLocaleMessage:ae,getDateTimeFormat:Oe,setDateTimeFormat:re,mergeDateTimeFormat:ue,getNumberFormat:ye,setNumberFormat:he,mergeNumberFormat:Y};function h(p){p.locale.value=l.value,p.fallbackLocale.value=d.value,Object.keys(c.value).forEach(O=>{p.mergeLocaleMessage(O,c.value[O])}),Object.keys(m.value).forEach(O=>{p.mergeDateTimeFormat(O,m.value[O])}),Object.keys(u.value).forEach(O=>{p.mergeNumberFormat(O,u.value[O])}),p.escapeParameter=N,p.fallbackFormat=g,p.fallbackRoot=_,p.fallbackWarn=v,p.missingWarn=f,p.warnHtmlMessage=y}return s.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ee(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=o.value=e.proxy.$i18n.__composer;t==="global"?(l.value=p.locale.value,d.value=p.fallbackLocale.value,c.value=p.messages.value,m.value=p.datetimeFormats.value,u.value=p.numberFormats.value):a&&h(p)}),M}const $0=["locale","fallbackLocale","availableLocales"],da=["t","rt","d","n","tm","te"];function g0(e,t){const n=Object.create(null);return $0.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o)throw Ee(W.UNEXPECTED_ERROR);const i=s.isRef(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,da.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o||!o.value)throw Ee(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,o)}),()=>{delete e.config.globalProperties.$i18n,da.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}Pf();__INTLIFY_JIT_COMPILATION__?Uo(gf):Uo($f);lf(Uu);df(Za);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Je();e.__INTLIFY__=!0,Xu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const _0={},v0={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y0=s.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),b0=s.createElementVNode("path",{fill:"rgb(var(--black))","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,-1),E0=[y0,b0];function O0(e,t){return s.openBlock(),s.createElementBlock("svg",v0,E0)}const Ir=ve(_0,[["render",O0]]),N0={key:"popup-content",class:"pd-small popup-wrapper"},S0={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 a(){r("close-popup")}return s.watch(()=>n.isPopupOpen,i=>{i?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),yr(),vr(),Nt({messages:{en:{},ru:{}}}),(i,l)=>(s.openBlock(),s.createBlock(s.Transition,{name:"TransitionTranslateY",appear:""},{default:s.withCtx(()=>[e.isPopupOpen?(s.openBlock(),s.createBlock(s.Teleport,{key:0,to:"body"},[e.isPopupOpen?(s.openBlock(),s.createElementBlock("div",N0,[s.createVNode(s.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:s.withCtx(()=>[s.createElementVNode("section",s.mergeProps({class:"pos-relative z-index-4"},i.$attrs,{class:i.$attrs.class}),[s.createElementVNode("h4",S0,s.toDisplayString(e.title),1),s.createVNode(Ir,{onClick:l[0]||(l[0]=d=>a()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),s.renderSlot(i.$slots,"default")],16)]),_:3}),s.createElementVNode("div",{onClick:l[1]||(l[1]=d=>a()),class:s.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)]),_:3}))}},T0=Object.freeze(Object.defineProperty({__proto__:null,default:Ss},Symbol.toStringTag,{value:"Module"})),C0={class:"flex-v-center flex-nowrap flex"},w0={key:0,class:"mn-r-auto t-transp mn-r-small"},k0=["name","value","checked"],I0={key:1,class:""},L0=s.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("g",{id:"24 / basic / check-mark"},[s.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),P0=[L0],Ts={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,a)=>(s.openBlock(),s.createElementBlock("label",C0,[e.label?(s.openBlock(),s.createElementBlock("div",w0,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),s.createElementVNode("input",{onInput:a[0]||(a[0]=o=>r.text=n("update:radio",o.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,k0),e.radio===e.value?(s.openBlock(),s.createElementBlock("div",I0,P0)):s.createCommentVNode("",!0)]))}},A0=Object.freeze(Object.defineProperty({__proto__:null,default:Ts},Symbol.toStringTag,{value:"Module"})),D0={key:0,class:"t-transp mn-r-small"},R0={class:"w-100"},F0=["onClick"],M0={key:0,class:"w-100"},x0={key:0,class:"mn-t-thin invalid-feedback"},B0={__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=fn;const r=t,a=e,o=s.ref(!1),i=s.ref(a.property?u(a.select,a.property,a.options):a.select),l=s.computed(()=>a.select?a.options.filter(f=>f!==a.select):a.options);s.watch(()=>a.select,f=>{i.value=a.property?u(a.select,a.property,a.options):a.select});const d=()=>{o.value=!o.value,r(o.value?"focus":"blur")};function c(){o.value=!1}const m=f=>{i.value=f,d(),a.property?r("update:select",i.value[a.property]):r("update:select",i.value)};function u(f,v,_){for(const g of _)if(g[v]===f||g===f)return g;return null}return(f,v)=>{var _,g;return s.openBlock(),s.createElementBlock(s.Fragment,null,[s.withDirectives((s.openBlock(),s.createElementBlock("div",{onClick:s.withModifiers(d,["stop"]),class:s.normalizeClass([f.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(s.openBlock(),s.createElementBlock("div",D0,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),s.createElementVNode("li",R0,[s.createElementVNode("span",null,s.toDisplayString((_=i.value)!=null&&_.name?(g=i.value)==null?void 0:g.name:i.value||e.placeholder),1)]),s.createVNode(s.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("ul",{class:s.normalizeClass([f.$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"}},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,E=>(s.openBlock(),s.createElementBlock("li",{onClick:s.withModifiers($=>m(E),["stop"])},[E?(s.openBlock(),s.createElementBlock("span",M0,s.toDisplayString(E.name||E),1)):s.createCommentVNode("",!0)],8,F0))),256))],2),[[s.vShow,o.value]])]),_:1})],2)),[[s.unref(n),c]]),s.createVNode(s.Transition,{mode:"out-in",name:"fade"},{default:s.withCtx(()=>[e.validation?(s.openBlock(),s.createElementBlock("div",x0," * "+s.toDisplayString(e.validation.message),1)):s.createCommentVNode("",!0)]),_:1})],64)}}},Cs=ve(B0,[["__scopeId","data-v-bf25c24d"]]),V0=Object.freeze(Object.defineProperty({__proto__:null,default:Cs},Symbol.toStringTag,{value:"Module"}));function Rn(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function U0(e){return(...t)=>!e(...t)}function j0(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ws(e,t,n,r){return t?e.filter(a=>j0(r(a,n),t)).sort((a,o)=>r(a,n).length-r(o,n).length):e}function G0(e){return e.filter(t=>!t.$isLabel)}function Fn(e,t){return n=>n.reduce((r,a)=>a[e]&&a[e].length?(r.push({$groupLabel:a[t],$isLabel:!0}),r.concat(a[e])):r,[])}function H0(e,t,n,r,a){return o=>o.map(i=>{if(!i[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=ws(i[n],e,t,a);return l.length?{[r]:i[r],[n]:l}:[]})}const ca=(...e)=>t=>e.reduce((n,r)=>r(n),t),W0={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 Rn(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):ws(n,t,this.label,this.customLabel):n=this.groupValues?Fn(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(U0(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 ca(H0(t,n,this.groupValues,this.groupLabel,this.customLabel),Fn(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return ca(Fn(this.groupValues,this.groupLabel),G0)(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(Rn(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Rn(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))}}},K0={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}}},z0={name:"vue-multiselect",mixins:[W0,K0],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)}}},Y0=["tabindex","aria-owns"],q0={ref:"tags",class:"multiselect__tags"},X0={class:"multiselect__tags-wrap"},J0=["textContent"],Z0=["onKeypress","onMousedown"],Q0=["textContent"],e1={class:"multiselect__spinner"},t1=["name","id","placeholder","value","disabled","tabindex","aria-controls"],n1=["id"],r1={key:0},o1={class:"multiselect__option"},a1=["id","role"],s1=["onClick","onMouseenter","data-select","data-selected","data-deselect"],i1=["data-select","data-deselect","onMouseenter","onMousedown"],l1={class:"multiselect__option"},d1={class:"multiselect__option"};function c1(e,t,n,r,a,o){return s.openBlock(),s.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:s.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.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]=s.withKeys(s.withModifiers(i=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=s.withKeys(s.withModifiers(i=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=s.withKeys(s.withModifiers(i=>e.addPointerElement(i),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=s.withKeys(i=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[s.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[s.createElementVNode("div",{onMousedown:t[0]||(t[0]=s.withModifiers(i=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),s.renderSlot(e.$slots,"clear",{search:e.search}),s.createElementVNode("div",q0,[s.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:o.visibleValues,isOpen:e.isOpen},()=>[s.withDirectives(s.createElementVNode("div",X0,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.visibleValues,(i,l)=>s.renderSlot(e.$slots,"tag",{option:i,search:e.search,remove:e.removeElement},()=>[(s.openBlock(),s.createElementBlock("span",{class:"multiselect__tag",key:l},[s.createElementVNode("span",{textContent:s.toDisplayString(e.getOptionLabel(i))},null,8,J0),s.createElementVNode("i",{tabindex:"1",onKeypress:s.withKeys(s.withModifiers(d=>e.removeElement(i),["prevent"]),["enter"]),onMousedown:s.withModifiers(d=>e.removeElement(i),["prevent"]),class:"multiselect__tag-icon"},null,40,Z0)]))])),256))],512),[[s.vShow,o.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?s.renderSlot(e.$slots,"limit",{key:0},()=>[s.createElementVNode("strong",{class:"multiselect__strong",textContent:s.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Q0)]):s.createCommentVNode("",!0)]),s.createVNode(s.Transition,{name:"multiselect__loading"},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"loading",{},()=>[s.withDirectives(s.createElementVNode("div",e1,null,512),[[s.vShow,n.loading]])])]),_:3}),e.searchable?(s.openBlock(),s.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:s.normalizeStyle(o.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]=s.withModifiers(i=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=s.withModifiers(i=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=s.withKeys(i=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=s.withKeys(s.withModifiers(i=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=s.withKeys(s.withModifiers(i=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=s.withKeys(s.withModifiers(i=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=s.withKeys(s.withModifiers(i=>e.addPointerElement(i),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,t1)):s.createCommentVNode("",!0),o.isSingleLabelVisible?(s.openBlock(),s.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=s.withModifiers((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[s.renderSlot(e.$slots,"singleLabel",{option:o.singleValue},()=>[s.createTextVNode(s.toDisplayString(e.currentOptionLabel),1)])],32)):s.createCommentVNode("",!0),o.isPlaceholderVisible?(s.openBlock(),s.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=s.withModifiers((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[s.renderSlot(e.$slots,"placeholder",{},()=>[s.createTextVNode(s.toDisplayString(e.placeholder),1)])],32)):s.createCommentVNode("",!0)],512),s.createVNode(s.Transition,{name:"multiselect"},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("div",{class:s.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]=s.withModifiers(()=>{},["prevent"])),style:s.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[s.createElementVNode("ul",{class:"multiselect__content",style:s.normalizeStyle(o.contentStyle),role:"listbox",id:"listbox-"+e.id},[s.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(s.openBlock(),s.createElementBlock("li",r1,[s.createElementVNode("span",o1,[s.renderSlot(e.$slots,"maxElements",{},()=>[s.createTextVNode("Maximum of "+s.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):s.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.filteredOptions,(i,l)=>(s.openBlock(),s.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:i&&(i.$isLabel||i.$isDisabled)?null:"option"},[i&&(i.$isLabel||i.$isDisabled)?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass([e.optionHighlight(l,i),"multiselect__option"]),onClick:s.withModifiers(d=>e.select(i),["stop"]),onMouseenter:s.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":i&&i.isTag?e.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[s.renderSlot(e.$slots,"option",{option:i,search:e.search,index:l},()=>[s.createElementVNode("span",null,s.toDisplayString(e.getOptionLabel(i)),1)])],42,s1)),i&&(i.$isLabel||i.$isDisabled)?(s.openBlock(),s.createElementBlock("span",{key:1,"data-select":e.groupSelect&&o.selectGroupLabelText,"data-deselect":e.groupSelect&&o.deselectGroupLabelText,class:s.normalizeClass([e.groupHighlight(l,i),"multiselect__option"]),onMouseenter:s.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:s.withModifiers(d=>e.selectGroup(i),["prevent"])},[s.renderSlot(e.$slots,"option",{option:i,search:e.search,index:l},()=>[s.createElementVNode("span",null,s.toDisplayString(e.getOptionLabel(i)),1)])],42,i1)):s.createCommentVNode("",!0)],8,a1))),128)):s.createCommentVNode("",!0),s.withDirectives(s.createElementVNode("li",null,[s.createElementVNode("span",l1,[s.renderSlot(e.$slots,"noResult",{search:e.search},()=>[s.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[s.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),s.withDirectives(s.createElementVNode("li",null,[s.createElementVNode("span",d1,[s.renderSlot(e.$slots,"noOptions",{},()=>[s.createTextVNode("List is empty.")])])],512),[[s.vShow,n.showNoOptions&&(e.options.length===0||o.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),s.renderSlot(e.$slots,"afterList")],12,n1)],38),[[s.vShow,e.isOpen]])]),_:3})],42,Y0)}const ks=ve(z0,[["render",c1]]),u1=Object.freeze(Object.defineProperty({__proto__:null,default:ks},Symbol.toStringTag,{value:"Module"})),f1={key:0,class:"spoiler"},Is={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=s.ref(!1);return t.status&&(n.value=t.status),(r,a)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{onClick:a[0]||(a[0]=o=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[s.renderSlot(r.$slots,"header",{isOpen:n.value})]),s.createVNode(s.Transition,{name:"collapse"},{default:s.withCtx(()=>[n.value?(s.openBlock(),s.createElementBlock("div",f1,[s.renderSlot(r.$slots,"content")])):s.createCommentVNode("",!0)]),_:3})]))}},m1=Object.freeze(Object.defineProperty({__proto__:null,default:Is},Symbol.toStringTag,{value:"Module"})),p1={class:"flex-nowrap flex-v-center flex pos-relative"},h1=["onClick"],Ls={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,a=s.ref(0);if(r.selected){const i=r.tabs.findIndex(l=>l.value===r.selected);i!==-1&&(a.value=i)}function o(i,l){a.value=i,n("update:selected",l.value),r.callback&&r.callback()}return(i,l)=>(s.openBlock(),s.createElementBlock("div",p1,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.tabs,(d,c)=>(s.openBlock(),s.createElementBlock("div",{key:c,onClick:m=>o(c,d),class:s.normalizeClass([{"t-transp":c!==a.value,"br-solid br-b-3px br-main":c===a.value},"z-index-1 t-center pd-small w-max"])},[s.createElementVNode("label",null,s.toDisplayString(d.name),1)],10,h1))),128))]))}},$1=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"})),g1={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=s.ref(!1),n=s.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(o){t.value=!0,n.left=`${o.clientX/100+10}px`,n.top=`${o.clientY/100+10}px`,n.display="block"}function a(){t.value=!1,n.display="none"}return(o,i)=>(s.openBlock(),s.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:a},[s.renderSlot(o.$slots,"default",{},void 0,!0),s.createElementVNode("div",{class:"tooltip-content",style:s.normalizeStyle(n)},s.toDisplayString(e.text),5)],32))}},Ps=ve(g1,[["__scopeId","data-v-f89d5a93"]]),_1=Object.freeze(Object.defineProperty({__proto__:null,default:Ps},Symbol.toStringTag,{value:"Module"})),v1={key:0,class:"cursor-pointer t-second"},As={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=s.ref(!1),r=s.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),a=s.computed(()=>t.text),o=()=>{n.value=!n.value},i=s.computed(()=>n.value?a.value:r.value),l=s.computed(()=>t.text.length>t.maxLen),d=s.computed(()=>n.value?"Hide":"Show more");return(c,m)=>(s.openBlock(),s.createElementBlock("span",{onClick:o,class:""},[s.createTextVNode(s.toDisplayString(i.value)+" ",1),l.value&&e.showToggleText?(s.openBlock(),s.createElementBlock("span",v1,s.toDisplayString(d.value),1)):s.createCommentVNode("",!0)]))}},y1=Object.freeze(Object.defineProperty({__proto__:null,default:As},Symbol.toStringTag,{value:"Module"}));function Ds(e,t){return function(){return e.apply(t,arguments)}}const{toString:b1}=Object.prototype,{getPrototypeOf:Lr}=Object,bn=(e=>t=>{const n=b1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),He=e=>(e=e.toLowerCase(),t=>bn(t)===e),En=e=>t=>typeof t===e,{isArray:St}=Array,xt=En("undefined");function E1(e){return e!==null&&!xt(e)&&e.constructor!==null&&!xt(e.constructor)&&Fe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Rs=He("ArrayBuffer");function O1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Rs(e.buffer),t}const N1=En("string"),Fe=En("function"),Fs=En("number"),On=e=>e!==null&&typeof e=="object",S1=e=>e===!0||e===!1,en=e=>{if(bn(e)!=="object")return!1;const t=Lr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T1=He("Date"),C1=He("File"),w1=He("Blob"),k1=He("FileList"),I1=e=>On(e)&&Fe(e.pipe),L1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Fe(e.append)&&((t=bn(e))==="formdata"||t==="object"&&Fe(e.toString)&&e.toString()==="[object FormData]"))},P1=He("URLSearchParams"),A1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),St(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(r=0;r<i;r++)l=o[r],t.call(null,e[l],l,e)}}function Ms(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Bs=e=>!xt(e)&&e!==xs;function sr(){const{caseless:e}=Bs(this)&&this||{},t={},n=(r,a)=>{const o=e&&Ms(t,a)||a;en(t[o])&&en(r)?t[o]=sr(t[o],r):en(r)?t[o]=sr({},r):St(r)?t[o]=r.slice():t[o]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&jt(arguments[r],n);return t}const D1=(e,t,n,{allOwnKeys:r}={})=>(jt(t,(a,o)=>{n&&Fe(a)?e[o]=Ds(a,n):e[o]=a},{allOwnKeys:r}),e),R1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),F1=(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)},M1=(e,t,n,r)=>{let a,o,i;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Lr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},x1=(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},B1=e=>{if(!e)return null;if(St(e))return e;let t=e.length;if(!Fs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},V1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Lr(Uint8Array)),U1=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},j1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},G1=He("HTMLFormElement"),H1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),ua=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),W1=He("RegExp"),Vs=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};jt(n,(a,o)=>{let i;(i=t(a,o,e))!==!1&&(r[o]=i||a)}),Object.defineProperties(e,r)},K1=e=>{Vs(e,(t,n)=>{if(Fe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Fe(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+"'")})}})},z1=(e,t)=>{const n={},r=a=>{a.forEach(o=>{n[o]=!0})};return St(e)?r(e):r(String(e).split(t)),n},Y1=()=>{},q1=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Mn="abcdefghijklmnopqrstuvwxyz",fa="0123456789",Us={DIGIT:fa,ALPHA:Mn,ALPHA_DIGIT:Mn+Mn.toUpperCase()+fa},X1=(e=16,t=Us.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function J1(e){return!!(e&&Fe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Z1=e=>{const t=new Array(10),n=(r,a)=>{if(On(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const o=St(r)?[]:{};return jt(r,(i,l)=>{const d=n(i,a+1);!xt(d)&&(o[l]=d)}),t[a]=void 0,o}}return r};return n(e,0)},Q1=He("AsyncFunction"),e2=e=>e&&(On(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),k={isArray:St,isArrayBuffer:Rs,isBuffer:E1,isFormData:L1,isArrayBufferView:O1,isString:N1,isNumber:Fs,isBoolean:S1,isObject:On,isPlainObject:en,isUndefined:xt,isDate:T1,isFile:C1,isBlob:w1,isRegExp:W1,isFunction:Fe,isStream:I1,isURLSearchParams:P1,isTypedArray:V1,isFileList:k1,forEach:jt,merge:sr,extend:D1,trim:A1,stripBOM:R1,inherits:F1,toFlatObject:M1,kindOf:bn,kindOfTest:He,endsWith:x1,toArray:B1,forEachEntry:U1,matchAll:j1,isHTMLForm:G1,hasOwnProperty:ua,hasOwnProp:ua,reduceDescriptors:Vs,freezeMethods:K1,toObjectSet:z1,toCamelCase:H1,noop:Y1,toFiniteNumber:q1,findKey:Ms,global:xs,isContextDefined:Bs,ALPHABET:Us,generateString:X1,isSpecCompliantForm:J1,toJSONObject:Z1,isAsyncFn:Q1,isThenable:e2};function K(e,t,n,r,a){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),a&&(this.response=a)}k.inherits(K,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:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const js=K.prototype,Gs={};["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=>{Gs[e]={value:e}});Object.defineProperties(K,Gs);Object.defineProperty(js,"isAxiosError",{value:!0});K.from=(e,t,n,r,a,o)=>{const i=Object.create(js);return k.toFlatObject(e,i,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),K.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const t2=null;function ir(e){return k.isPlainObject(e)||k.isArray(e)}function Hs(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function ma(e,t,n){return e?e.concat(t).map(function(a,o){return a=Hs(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function n2(e){return k.isArray(e)&&!e.some(ir)}const r2=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Nn(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,E){return!k.isUndefined(E[g])});const r=n.metaTokens,a=n.visitor||m,o=n.dots,i=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(a))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(k.isDate(_))return _.toISOString();if(!d&&k.isBlob(_))throw new K("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(_)||k.isTypedArray(_)?d&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function m(_,g,E){let $=_;if(_&&!E&&typeof _=="object"){if(k.endsWith(g,"{}"))g=r?g:g.slice(0,-2),_=JSON.stringify(_);else if(k.isArray(_)&&n2(_)||(k.isFileList(_)||k.endsWith(g,"[]"))&&($=k.toArray(_)))return g=Hs(g),$.forEach(function(N,b){!(k.isUndefined(N)||N===null)&&t.append(i===!0?ma([g],b,o):i===null?g:g+"[]",c(N))}),!1}return ir(_)?!0:(t.append(ma(E,g,o),c(_)),!1)}const u=[],f=Object.assign(r2,{defaultVisitor:m,convertValue:c,isVisitable:ir});function v(_,g){if(!k.isUndefined(_)){if(u.indexOf(_)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(_),k.forEach(_,function($,y){(!(k.isUndefined($)||$===null)&&a.call(t,$,k.isString(y)?y.trim():y,g,f))===!0&&v($,g?g.concat(y):[y])}),u.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return v(e),t}function pa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Pr(e,t){this._pairs=[],e&&Nn(e,this,t)}const Ws=Pr.prototype;Ws.append=function(t,n){this._pairs.push([t,n])};Ws.toString=function(t){const n=t?function(r){return t.call(this,r,pa)}:pa;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function o2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ks(e,t,n){if(!t)return e;const r=n&&n.encode||o2,a=n&&n.serialize;let o;if(a?o=a(t,n):o=k.isURLSearchParams(t)?t.toString():new Pr(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ha{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){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const zs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},a2=typeof URLSearchParams<"u"?URLSearchParams:Pr,s2=typeof FormData<"u"?FormData:null,i2=typeof Blob<"u"?Blob:null,l2={isBrowser:!0,classes:{URLSearchParams:a2,FormData:s2,Blob:i2},protocols:["http","https","file","blob","url","data"]},Ys=typeof window<"u"&&typeof document<"u",d2=(e=>Ys&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),c2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",u2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ys,hasStandardBrowserEnv:d2,hasStandardBrowserWebWorkerEnv:c2},Symbol.toStringTag,{value:"Module"})),je={...u2,...l2};function f2(e,t){return Nn(e,new je.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,o){return je.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function m2(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function p2(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}function qs(e){function t(n,r,a,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),d=o>=n.length;return i=!i&&k.isArray(a)?a.length:i,d?(k.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!l):((!a[i]||!k.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],o)&&k.isArray(a[i])&&(a[i]=p2(a[i])),!l)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,a)=>{t(m2(r),a,n,0)}),n}return null}function h2(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ar={transitional:zs,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,o=k.isObject(t);if(o&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return a?JSON.stringify(qs(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return f2(t,this.formSerializer).toString();if((l=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Nn(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return o||a?(n.setContentType("application/json",!1),h2(t)):t}],transformResponse:[function(t){const n=this.transitional||Ar.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&k.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?K.from(l,K.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:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{Ar.headers[e]={}});const Dr=Ar,$2=k.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"]),g2=e=>{const t={};let n,r,a;return e&&e.split(`
|
32
|
+
`).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&$2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},$a=Symbol("internals");function kt(e){return e&&String(e).trim().toLowerCase()}function tn(e){return e===!1||e==null?e:k.isArray(e)?e.map(tn):String(e)}function _2(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 v2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xn(e,t,n,r,a){if(k.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function y2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function b2(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,o,i){return this[r].call(this,t,a,o,i)},configurable:!0})})}class Sn{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function o(l,d,c){const m=kt(d);if(!m)throw new Error("header name must be a non-empty string");const u=k.findKey(a,m);(!u||a[u]===void 0||c===!0||c===void 0&&a[u]!==!1)&&(a[u||d]=tn(l))}const i=(l,d)=>k.forEach(l,(c,m)=>o(c,m,d));return k.isPlainObject(t)||t instanceof this.constructor?i(t,n):k.isString(t)&&(t=t.trim())&&!v2(t)?i(g2(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=kt(t),t){const r=k.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return _2(a);if(k.isFunction(n))return n.call(this,a,r);if(k.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=kt(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function o(i){if(i=kt(i),i){const l=k.findKey(r,i);l&&(!n||xn(r,r[l],l,n))&&(delete r[l],a=!0)}}return k.isArray(t)?t.forEach(o):o(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const o=n[r];(!t||xn(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const n=this,r={};return k.forEach(this,(a,o)=>{const i=k.findKey(r,o);if(i){n[i]=tn(a),delete n[o];return}const l=t?y2(o):String(o).trim();l!==o&&delete n[o],n[l]=tn(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&k.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(`
|
33
|
+
`)}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(a=>r.set(a)),r}static accessor(t){const r=(this[$a]=this[$a]={accessors:{}}).accessors,a=this.prototype;function o(i){const l=kt(i);r[l]||(b2(a,i),r[l]=!0)}return k.isArray(t)?t.forEach(o):o(t),this}}Sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(Sn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(Sn);const Ze=Sn;function Bn(e,t){const n=this||Dr,r=t||n,a=Ze.from(r.headers);let o=r.data;return k.forEach(e,function(l){o=l.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function Xs(e){return!!(e&&e.__CANCEL__)}function Gt(e,t,n){K.call(this,e??"canceled",K.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Gt,K,{__CANCEL__:!0});function E2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const O2=je.hasStandardBrowserEnv?{write(e,t,n,r,a,o){const i=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),k.isString(r)&&i.push("path="+r),k.isString(a)&&i.push("domain="+a),o===!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 N2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Js(e,t){return e&&!N2(t)?S2(e,t):t}const T2=je.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(o){let i=o;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=a(window.location.href),function(i){const l=k.isString(i)?a(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function C2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function w2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,o=0,i;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),m=r[o];i||(i=c),n[a]=d,r[a]=c;let u=o,f=0;for(;u!==a;)f+=n[u++],u=u%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const v=m&&c-m;return v?Math.round(f*1e3/v):void 0}}function ga(e,t){let n=0;const r=w2(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,l=o-n,d=r(l),c=o<=i;n=o;const m={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:d||void 0,estimated:d&&i&&c?(i-o)/d:void 0,event:a};m[t?"download":"upload"]=!0,e(m)}}const k2=typeof XMLHttpRequest<"u",I2=k2&&function(e){return new Promise(function(n,r){let a=e.data;const o=Ze.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 m;if(k.isFormData(a)){if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((m=o.getContentType())!==!1){const[g,...E]=m?m.split(";").map($=>$.trim()).filter(Boolean):[];o.setContentType([g||"multipart/form-data",...E].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+E))}const f=Js(e.baseURL,e.url);u.open(e.method.toUpperCase(),Ks(f,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function v(){if(!u)return;const g=Ze.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),$={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};E2(function(N){n(N),c()},function(N){r(N),c()},$),u=null}if("onloadend"in u?u.onloadend=v:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(v)},u.onabort=function(){u&&(r(new K("Request aborted",K.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new K("Network Error",K.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const $=e.transitional||zs;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),r(new K(E,$.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,u)),u=null},je.hasStandardBrowserEnv&&(l&&k.isFunction(l)&&(l=l(e)),l||l!==!1&&T2(f))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&O2.read(e.xsrfCookieName);g&&o.set(e.xsrfHeaderName,g)}a===void 0&&o.setContentType(null),"setRequestHeader"in u&&k.forEach(o.toJSON(),function(E,$){u.setRequestHeader($,E)}),k.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&i!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",ga(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",ga(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=g=>{u&&(r(!g||g.type?new Gt(null,e,u):g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const _=C2(f);if(_&&je.protocols.indexOf(_)===-1){r(new K("Unsupported protocol "+_+":",K.ERR_BAD_REQUEST,e));return}u.send(a||null)})},lr={http:t2,xhr:I2};k.forEach(lr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _a=e=>`- ${e}`,L2=e=>k.isFunction(e)||e===null||e===!1,Zs={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!L2(n)&&(r=lr[(i=String(n)).toLowerCase()],r===void 0))throw new K(`Unknown adapter '${i}'`);if(r)break;a[i||"#"+o]=r}if(!r){const o=Object.entries(a).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
34
|
+
`+o.map(_a).join(`
|
35
|
+
`):" "+_a(o[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:lr};function Vn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gt(null,e)}function va(e){return Vn(e),e.headers=Ze.from(e.headers),e.data=Bn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zs.getAdapter(e.adapter||Dr.adapter)(e).then(function(r){return Vn(e),r.data=Bn.call(e,e.transformResponse,r),r.headers=Ze.from(r.headers),r},function(r){return Xs(r)||(Vn(e),r&&r.response&&(r.response.data=Bn.call(e,e.transformResponse,r.response),r.response.headers=Ze.from(r.response.headers))),Promise.reject(r)})}const ya=e=>e instanceof Ze?{...e}:e;function bt(e,t){t=t||{};const n={};function r(c,m,u){return k.isPlainObject(c)&&k.isPlainObject(m)?k.merge.call({caseless:u},c,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function a(c,m,u){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function o(c,m){if(!k.isUndefined(m))return r(void 0,m)}function i(c,m){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function l(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:o,method:o,data:o,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,m)=>a(ya(c),ya(m),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(m){const u=d[m]||a,f=u(e[m],t[m],m);k.isUndefined(f)&&u!==l||(n[m]=f)}),n}const Qs="1.6.8",Rr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Rr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ba={};Rr.transitional=function(t,n,r){function a(o,i){return"[Axios v"+Qs+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new K(a(i," has been removed"+(n?" in "+n:"")),K.ERR_DEPRECATED);return n&&!ba[i]&&(ba[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function P2(e,t,n){if(typeof e!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const l=e[o],d=l===void 0||i(l,o,e);if(d!==!0)throw new K("option "+o+" must be "+d,K.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}}const dr={assertOptions:P2,validators:Rr},nt=dr.validators;class dn{constructor(t){this.defaults=t,this.interceptors={request:new ha,response:new ha}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
36
|
+
`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bt(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&dr.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),a!=null&&(k.isFunction(a)?n.paramsSerializer={serialize:a}:dr.assertOptions(a,{encode:nt.function,serialize:nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&k.merge(o.common,o[n.method]);o&&k.forEach(["delete","get","head","post","put","patch","common"],_=>{delete o[_]}),n.headers=Ze.concat(i,o);const l=[];let d=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(d=d&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let m,u=0,f;if(!d){const _=[va.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),f=_.length,m=Promise.resolve(n);u<f;)m=m.then(_[u++],_[u++]);return m}f=l.length;let v=n;for(u=0;u<f;){const _=l[u++],g=l[u++];try{v=_(v)}catch(E){g.call(this,E);break}}try{m=va.call(this,v)}catch(_){return Promise.reject(_)}for(u=0,f=c.length;u<f;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=bt(this.defaults,t);const n=Js(t.baseURL,t.url);return Ks(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){dn.prototype[t]=function(n,r){return this.request(bt(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(bt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}dn.prototype[t]=n(),dn.prototype[t+"Form"]=n(!0)});const nn=dn;class Fr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(a);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new Gt(o,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 Fr(function(a){t=a}),cancel:t}}}const A2=Fr;function D2(e){return function(n){return e.apply(null,n)}}function R2(e){return k.isObject(e)&&e.isAxiosError===!0}const cr={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(cr).forEach(([e,t])=>{cr[t]=e});const F2=cr;function ei(e){const t=new nn(e),n=Ds(nn.prototype.request,t);return k.extend(n,nn.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return ei(bt(e,a))},n}const _e=ei(Dr);_e.Axios=nn;_e.CanceledError=Gt;_e.CancelToken=A2;_e.isCancel=Xs;_e.VERSION=Qs;_e.toFormData=Nn;_e.AxiosError=K;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=D2;_e.isAxiosError=R2;_e.mergeConfig=bt;_e.AxiosHeaders=Ze;_e.formToJSON=e=>qs(k.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=Zs.getAdapter;_e.HttpStatusCode=F2;_e.default=_e;const Ht=_e,M2={key:0,class:"t-transp mn-r-small"},x2={key:1,class:"flex-nowrap flex w-100 flex-v-center"},B2=["href"],V2={key:2,class:"w-100"},U2=["placeholder","multiple"],j2={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},G2={__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,a=s.ref(r.field);s.ref(null),s.watch(()=>r.field,l=>{a.value=l});async function o(l){let d=l.target.files[0],c=new FormData;c.append("file",d);try{let u=await Ht.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),a.value=u.data[0].filepath,n("file-change",a.value)}catch(m){console.error(m)}}const i=()=>{a.value=null,n("update:field",null),n("file-change",null)};return(l,d)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",{class:s.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(s.openBlock(),s.createElementBlock("div",M2,[s.createElementVNode("span",null,s.toDisplayString(e.label),1)])):s.createCommentVNode("",!0),a.value?(s.openBlock(),s.createElementBlock("div",x2,[s.createElementVNode("a",{href:a.value,class:"w-100",target:"_blank"},s.toDisplayString(a.value),9,B2),s.createVNode(Ir,{onClick:i,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(s.openBlock(),s.createElementBlock("div",V2,[s.createElementVNode("input",{onChange:o,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,U2)]))],2),s.createVNode(s.Transition,{mode:"out-in",name:"fade"},{default:s.withCtx(()=>[e.validation?(s.openBlock(),s.createElementBlock("div",j2," * "+s.toDisplayString(e.validation.message),1)):s.createCommentVNode("",!0)]),_:1})],64))}},ti=ve(G2,[["__scopeId","data-v-d8ca273c"]]),H2=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"})),W2=["src"],K2={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},z2=s.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.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),Y2=[z2],ni={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=s.ref(null),r=s.ref(null),a=e,o=t;s.watch(a,({photo:c})=>{c&&(n.value=c)});function i(){r.value.click()}async function l(c){let m=c.target.files[0];if(!m){console.error("No file selected");return}let u=new FormData;u.append("file",m),console.log("Sending file:",m.name);try{let v=await Ht.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,u);console.log("Upload response:",v),n.value=v.data[0].filepath,o("update:photo",n.value)}catch(f){console.error("Upload error:",f)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,m)=>(s.openBlock(),s.createElementBlock("div",{onClick:i,onDrop:d,onDragover:m[0]||(m[0]=s.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[n.value||e.photo?(s.openBlock(),s.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,W2)):(s.openBlock(),s.createElementBlock("div",K2,Y2)),s.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},q2=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"})),X2={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J2=["fill"],Z2=["fill"],Q2={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("svg",X2,[s.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,J2),s.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,Z2)]))}},em={key:0,class:"t-center"},tm={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},nm={key:1,class:"mn-b-thin t-transp d-block"},rm={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},om={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},am={key:4,class:"uppercase p-small t-medium d-block"},ri={__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=s.ref([]),r=s.ref(!1),a=s.ref(null),o=e,i=t;function l(){a.value.click()}async function d(m){r.value=!0;let u=m.target.files,f=new FormData;for(const v of u)f.append("file",v);try{(await Ht.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,f,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(g=>{n.value.push(g.filepath)}),i("update:images",n.value),r.value=!1}catch(v){console.error(v),r.value=!1}}function c(m){m.preventDefault(),d({target:{files:m.dataTransfer.files}})}return(m,u)=>(s.openBlock(),s.createElementBlock("div",{onClick:l,onDrop:c,onDragover:u[0]||(u[0]=s.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[s.createVNode(s.Transition,{name:"moveFromTop",mode:"out-in"},{default:s.withCtx(()=>[r.value?(s.openBlock(),s.createBlock($n,{key:1,class:"pos-absolute"})):(s.openBlock(),s.createElementBlock("div",em,[s.createVNode(Q2,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(s.openBlock(),s.createElementBlock("span",tm,s.toDisplayString(e.text.title),1)):s.createCommentVNode("",!0),e.options.showText?(s.openBlock(),s.createElementBlock("span",nm,s.toDisplayString(e.text.subtitle),1)):s.createCommentVNode("",!0),e.options.showText?(s.openBlock(),s.createElementBlock("span",rm,"or")):s.createCommentVNode("",!0),e.options.showText?(s.openBlock(),s.createElementBlock("button",om,"Browse Files")):s.createCommentVNode("",!0),e.options.showText?(s.openBlock(),s.createElementBlock("span",am,"Maximum size: 2MB")):s.createCommentVNode("",!0)]))]),_:1}),s.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:a,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},sm=Object.freeze(Object.defineProperty({__proto__:null,default:ri},Symbol.toStringTag,{value:"Module"})),oi={en:"🌎 EN",ru:"🇷🇺 RU",zh:"🇨🇳 ZH",fr:"🇫🇷 FR",de:"🇩🇪 DE",it:"🇮🇹 IT"},ai={};for(const e of Object.keys(oi))ai[e]={};const si=i0({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:ai,availableLocales:Object.keys(oi)}),im={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},lm={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dm=s.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),cm=[dm],um={key:2},fm={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mm=s.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),pm=[mm],ii={__name:"Breadcrumbs",setup(e){const t=yr(),{t:n,locale:r}=Nt(),a=s.computed(()=>t.matched.map(o=>{var u,f,v;const i=(u=o.meta)==null?void 0:u.title,l=r==null?void 0:r.value,d=i&&l&&i[l],c=o.path.replace(/:.+?\//g,_=>""),m=(v=(f=o.meta)==null?void 0:f.breadcrumbs)==null?void 0:v.hidden;return{name:d,path:c,isHidden:m}}).filter(o=>o.name&&!o.isHidden));return(o,i)=>{const l=s.resolveComponent("router-link");return s.openBlock(),s.createElementBlock("ol",im,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,(d,c)=>(s.openBlock(),s.createElementBlock("li",{key:c,class:s.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":c===a.value.length-1}])},[c===0?(s.openBlock(),s.createElementBlock("svg",lm,cm)):s.createCommentVNode("",!0),c!==a.value.length-1?(s.openBlock(),s.createBlock(l,{key:1,to:c===0?"/":d.path},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(d.name),1)]),_:2},1032,["to"])):(s.openBlock(),s.createElementBlock("span",um,s.toDisplayString(d.name),1)),c!==a.value.length-1?(s.openBlock(),s.createElementBlock("svg",fm,pm)):s.createCommentVNode("",!0)],2))),128))])}}},hm=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"})),$m={class:"t-trimmed"},gm={class:"t-truncate"},_m={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},vm={__name:"Chips",props:["chips"],setup(e){return(t,n)=>{var r;return s.openBlock(),s.createElementBlock("div",$m,[(r=e.chips)!=null&&r.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.chips,(a,o)=>(s.openBlock(),s.createElementBlock("span",{class:s.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"])},[s.createElementVNode("span",gm,s.toDisplayString(a.text?a.text:a),1)],2))),256)):(s.openBlock(),s.createElementBlock("div",_m,[s.renderSlot(t.$slots,"default",{},void 0,!0)]))])}}},li=ve(vm,[["__scopeId","data-v-5db8d9f5"]]),ym=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),bm={class:"gap-thin flex-nowrap flex flex-center"},Em={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"},Om=s.createElementVNode("p",{class:"p-small t-transp"},"Offer is over",-1),Nm=[Om],Sm={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"},Tm={class:"p-big"},Cm=s.createElementVNode("p",{class:"p-small t-transp"},"Days",-1),wm={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"},km={class:"p-big"},Im=s.createElementVNode("p",{class:"p-small t-transp"},"hours",-1),Lm={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"},Pm={class:"p-big"},Am=s.createElementVNode("p",{class:"p-small t-transp"},"minutes",-1),Dm={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"},Rm={class:"p-big"},Fm=s.createElementVNode("p",{class:"p-small t-transp"},"seconds",-1),di={__name:"Countdown",props:["date"],setup(e){const t=e,n=new Date(t.date).getTime(),r=s.ref(new Date().getTime());let a;const o=s.ref(0),i=s.ref(0),l=s.ref(0),d=s.ref(0),c=s.ref(!1),m=()=>{const u=n-r.value;u<=0?(o.value=0,i.value=0,l.value=0,d.value=0,c.value=!0,clearInterval(a)):(o.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 m(),s.onMounted(()=>{a=setInterval(()=>{r.value=new Date().getTime(),m()},1e3)}),s.onBeforeUnmount(()=>{clearInterval(a)}),(u,f)=>(s.openBlock(),s.createElementBlock("div",bm,[c.value?(s.openBlock(),s.createElementBlock("div",Em,Nm)):s.createCommentVNode("",!0),c.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",Sm,[s.createElementVNode("p",Tm,s.toDisplayString(o.value),1),Cm])),c.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",wm,[s.createElementVNode("p",km,s.toDisplayString(i.value),1),Im])),c.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",Lm,[s.createElementVNode("p",Pm,s.toDisplayString(l.value),1),Am])),c.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",Dm,[s.createElementVNode("p",Rm,s.toDisplayString(d.value),1),Fm]))]))}},Mm=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"})),xm=["onClick"],Bm={class:"t-transp"},ci={__name:"DatePicker",props:["date","locale"],setup(e,{emit:t}){const n=t,r=e,a=s.ref(null);let o;if(r.date){const f=parseInt(r.date.substring(0,2)),v=parseInt(r.date.substring(2,4))-1,_=parseInt(r.date.substring(4));o=new Date(_,v,f),console.log("Data"+o)}else o=new Date,console.log("No data"+o);o.setHours(0,0,0,0);const i=s.ref(new Date(o)),l=u(o,30);s.onMounted(()=>{if(a.value){const f=a.value.getElementsByClassName("selected")[0]||a.value.getElementsByClassName("bg-main")[0];f&&(a.value.scrollLeft=f.offsetLeft-a.value.offsetWidth/2+f.offsetWidth/2)}});function d(f){i.value=f;const v=c(f);n("update:date",v)}function c(f){return`${f.getDate().toString().padStart(2,"0")}${(f.getMonth()+1).toString().padStart(2,"0")}${f.getFullYear()}`}function m(f){return f.toLocaleDateString(r.locale?r.locale:"en",{weekday:"narrow"}).toUpperCase()}function u(f,v){const _=[];for(let g=-15;g<v-15;g++){const E=new Date(f);E.setDate(f.getDate()+g),E.setHours(0,0,0,0),_.push(E)}return _}return(f,v)=>(s.openBlock(),s.createElementBlock("div",null,[s.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:a},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(l),_=>(s.openBlock(),s.createElementBlock("div",{key:_.toString(),onClick:g=>d(_),class:s.normalizeClass([{selected:i.value.toDateString()===_.toDateString()},"cursor-pointer scroll-snap-align-start mn-r-small mn-l-small flex-column flex-center flex"])},[s.createElementVNode("span",Bm,s.toDisplayString(m(_)),1),s.createElementVNode("span",{class:s.normalizeClass([{"bg-main":i.value.toDateString()===_.toDateString()},"transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])},s.toDisplayString(_.getDate()),3)],10,xm))),128))],512)]))}},Vm=Object.freeze(Object.defineProperty({__proto__:null,default:ci},Symbol.toStringTag,{value:"Module"})),Um={class:"mn-b-regular"},jm={class:"mn-b-small t-transp p-medium"},Mr={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("section",null,[s.createElementVNode("h3",Um,s.toDisplayString(e.title),1),s.createElementVNode("p",jm,s.toDisplayString(e.description),1),e.action?(s.openBlock(),s.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...r)=>e.callback&&e.callback(...r)),class:"t-white bg-second w-100 button"},s.toDisplayString(e.action),1)):s.createCommentVNode("",!0)]))}},Gm=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),Hm={},Wm={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},Km=s.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></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),zm=[Km];function Ym(e,t){return s.openBlock(),s.createElementBlock("svg",Wm,zm)}const qm=ve(Hm,[["render",Ym]]),Xm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jm=["fill"],Zm={__name:"IconSearch",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("svg",Xm,[s.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,Jm)]))}},Qm={class:"flex-v-center flex-nowrap flex pd-small bg-grey w-100 radius-big"},ep={__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;s.ref(null);const r=a=>{n("search",a)};return(a,o)=>(s.openBlock(),s.createElementBlock("div",Qm,[s.createVNode(Zm,{class:"i-medium t-transp mn-r-thin"}),s.createVNode(mn,{placeholder:e.placeholder,"onUpdate:field":o[0]||(o[0]=i=>r(i)),class:"w-100"},null,8,["placeholder"])]))}},ui={__name:"Feed",props:{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})}},setup(e){const t=e,n=s.ref([]),r=s.ref(!1);let a=s.ref(!0),o=s.ref(null),i=s.ref(t.options.skip?t.options.skip:0),l=s.ref(t.options.limit?t.options.limit:10),d=s.ref("");function c(f){d.value=f,u()}const m=async()=>{if(r.value){i.value+=l.value;const f=await t.store.read({skip:i.value,limit:l.value,search:d.value,...t.options});f.length===0||f.length<l.value?r.value=!1:r.value=!0,n.value=[...n.value,...f]}},u=async()=>{const f=await t.store.read({skip:i.value,limit:l.value,search:d.value,...t.options});f.length===0||f.length<l.value?r.value=!1:r.value=!0,n.value=f,a.value=!1};return s.watch(()=>t.external,f=>{}),s.watch(()=>t.external,(f,v)=>{f!==v&&u()},{deep:!0}),s.watch(()=>t.options,(f,v)=>{(f.organization!==v.organization||f.categories!==v.categories||f.prices!==v.prices||f.delivery!==v.delivery||f.search!==v.search||f.status!==v.status||f.hidden!==v.hidden||f.type!==v.type)&&u()},{deep:!0}),s.onMounted(async()=>{await u(),typeof window<"u"&&!t.showLoadMore&&new IntersectionObserver(v=>{v.some(_=>_.isIntersecting)&&m()}).observe(o.value)}),(f,v)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[e.search?(s.openBlock(),s.createBlock(ep,{key:0,placeholder:e.search.placeholder||"Search...",class:s.normalizeClass(e.search.class||"bg-grey mn-b-thin"),onSearch:c},null,8,["placeholder","class"])):s.createCommentVNode("",!0),s.unref(a)?(s.openBlock(),s.createBlock(s.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition",class:s.normalizeClass(["o-hidden bg-grey radius-big",f.$attrs.class])},{default:s.withCtx(()=>[s.unref(a)?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(s.unref(l),_=>(s.openBlock(),s.createBlock(qm,{key:"skeleton-"+_}))),128)):s.createCommentVNode("",!0)]),_:1},8,["class"])):s.createCommentVNode("",!0),s.createVNode(s.Transition,{name:"scaleTransition"},{default:s.withCtx(()=>[!s.unref(a)&&n.value.length<1?(s.openBlock(),s.createBlock(Mr,{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-grey radius-big"},null,8,["title","description","action","callback"])):s.createCommentVNode("",!0)]),_:1}),s.createVNode(s.TransitionGroup,{tag:"ul",name:"scaleTransition",class:s.normalizeClass(f.$attrs.class)},{default:s.withCtx(()=>[!s.unref(a)&&n.value.length>0?s.renderSlot(f.$slots,"default",{key:0,items:n.value}):s.createCommentVNode("",!0),e.showLoadMore&&r.value&&n.value.length>0?(s.openBlock(),s.createElementBlock("button",{key:1,onClick:m,class:"col-w-100 w-100 bg-main button"}," Load More ")):s.createCommentVNode("",!0),s.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:o,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}},tp=Object.freeze(Object.defineProperty({__proto__:null,default:ui},Symbol.toStringTag,{value:"Module"})),np={class:"pd-thin radius-extra flex-nowrap flex"},rp=["innerHTML"],fi={__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:a}=Nt();let o=s.ref(0),i=s.ref(n.input),l=s.ref(n.placeholder),d=s.ref(n.enableTyping),c=s.ref(null),m=s.ref(""),u=s.ref(!0),f=null;const v=t;function _(){v("action")}function g(b){v("update:input",b),m.value=b}function E(){o.value=(o.value+1)%n.placeholderTexts[a.value].length}function $(){d.value=!1,clearInterval(c.value),l.value=n.placeholder,m.value||(i.value="")}function y(){!m.value&&n.enableTyping&&(d.value=!0,l.value="",N())}function N(){let b=n.placeholderTexts[a.value][o.value],T=0,S=!1;f=setInterval(()=>{u.value=!u.value},200),c.value=setInterval(()=>{d.value&&(S?(i.value=i.value.slice(0,-1),i.value=b.substring(0,T)+(u.value&&T%2?"|":""),T--):(i.value=b.substring(0,T)+(u.value&&T%2?"|":""),T++),T>b.length&&n.loopTyping&&setTimeout(()=>{S=!0,i.value=b.substring(0,T)},333),T===0&&S&&(S=!1,E(),b=n.placeholderTexts[a.value][o.value]))},n.typingSpeed)}return s.onMounted(()=>{n.enableTyping&&N()}),s.watchEffect(()=>{d.value||(clearInterval(c.value),clearInterval(f))}),(b,T)=>(s.openBlock(),s.createElementBlock("div",np,[s.createVNode(mn,{field:s.unref(i),"onUpdate:field":[T[0]||(T[0]=S=>s.isRef(i)?i.value=S:i=S),g],placeholder:s.unref(d)?" ":s.unref(l),onInput:E,onFocus:$,onBlur:y,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),e.action?(s.openBlock(),s.createElementBlock("button",{key:0,onClick:_,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,rp)):s.createCommentVNode("",!0)]))}},op=Object.freeze(Object.defineProperty({__proto__:null,default:fi},Symbol.toStringTag,{value:"Module"}));function ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sp=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,a,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))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(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;a--!==0;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n};const ip=ap(sp),lp=(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),gt=e=>JSON.parse(JSON.stringify(e)),dp=(e,t)=>{let n=0;for(;n<e.length;){if(t(e[n],n,e))return n;n++}return-1},mi=(e,t,n=[],r)=>{e.text===void 0&&(e={text:e});const a=lp(e,n),o=dp(t,c=>c===e),i=gt(t),l=o!==-1?i.splice(o,1)[0]:gt(e);return(r?r(i,l):i.map(c=>c.text).indexOf(l.text)!==-1)&&a.push("ti-duplicate"),a.length===0?a.push("ti-valid"):a.push("ti-invalid"),a},It=(e,...t)=>{e.text===void 0&&(e={text:e});const n=gt(e);return n.tiClasses=mi(e,...t),n},cp=(e,...t)=>e.map(n=>It(n,e,...t)),up={name:"TagInput",props:{scope:{type:Object}}},fp=["maxlength"];function mp(e,t,n,r,a,o){return n.scope.edit?s.withDirectives((s.openBlock(),s.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,fp)),[[s.vModelText,n.scope.tag.text]]):s.createCommentVNode("",!0)}const pp=ve(up,[["render",mp],["__scopeId","data-v-a1f1c345"]]),Ea=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}),Oa=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}),hp={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:Ea},autocompleteItems:{type:Array,default:()=>[],validator:Ea},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:Oa},saveOnKey:{type:Array,default:()=>[13],validator:Oa},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 a=!t.classes;a&&console.warn('Property "classes" is missing',t);const o=t.type&&typeof t.type!="string";return o&&console.warn('Property "type" must be type of string. Found:',t),!r||n||a||o})}},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},$p={name:"VueTagsInput",components:{TagInput:pp},props:hp,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=>It(t,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:mi,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]=It(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]=gt(It(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(a=>a.text.trim().length>0),r.forEach(a=>{a=It(a,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(a,n),this.$emit("before-adding-tag",{tag:a,addTag:()=>this.addTag(a,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=gt(this.tagsCopy),r=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,r):n.map(o=>o.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)=>!ip(e,this.tags[t]))},updateNewTag(e){const t=e.target.value;this.newTag=t,this.$emit("update:modelValue",t)},initTags(){this.tagsCopy=cp(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=gt(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)}},gp={class:"ti-input"},_p={key:0,class:"ti-tags"},vp=["onClick"],yp={class:"ti-content"},bp={key:0,class:"ti-tag-left"},Ep=["onClick"],Op={key:1,class:"ti-tag-right"},Np={class:"ti-actions"},Sp=["onClick"],Tp=["onClick"],Cp={class:"ti-new-tag-input-wrapper"},wp=["placeholder","value","maxlength","disabled"],kp=["onMouseover"],Ip=["onClick"];function Lp(e,t,n,r,a,o){const i=s.resolveComponent("tag-input");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:s.normalizeStyle(e.$attrs.style)},[s.createElementVNode("div",gp,[e.tagsCopy?(s.openBlock(),s.createElementBlock("ul",_p,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.tagsCopy,(l,d)=>(s.openBlock(),s.createElementBlock("li",{key:d,style:s.normalizeStyle(l.style),class:s.normalizeClass([[{"ti-editing":e.tagsEditStatus[d]},l.tiClasses,l.classes,{"ti-deletion-mark":e.isMarked(d)}],"ti-tag"]),tabindex:"0",onClick:c=>e.$emit("tag-clicked",{tag:l,index:d})},[s.createElementVNode("div",yp,[e.$slots["tag-left"]?(s.openBlock(),s.createElementBlock("div",bp,[s.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)])):s.createCommentVNode("",!0),s.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass({"ti-hidden":e.tagsEditStatus[d]}),onClick:c=>e.performEditTag(d)},s.toDisplayString(l.text),11,Ep)),e.$slots["tag-center"]?s.createCommentVNode("",!0):(s.openBlock(),s.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"])),s.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"]?(s.openBlock(),s.createElementBlock("div",Op,[s.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)])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Np,[e.$slots["tag-actions"]?s.createCommentVNode("",!0):s.withDirectives((s.openBlock(),s.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:c=>e.cancelEdit(d)},null,8,Sp)),[[s.vShow,e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?s.createCommentVNode("",!0):s.withDirectives((s.openBlock(),s.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:c=>e.performDeleteTag(d)},null,8,Tp)),[[s.vShow,!e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?s.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):s.createCommentVNode("",!0)])],14,vp))),128)),s.createElementVNode("li",Cp,[s.createElementVNode("input",s.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]=s.withKeys((...l)=>e.invokeDelete&&e.invokeDelete(...l),["delete"])),t[3]||(t[3]=s.withKeys((...l)=>e.performBlur&&e.performBlur(...l),["tab"])),t[4]||(t[4]=s.withKeys(l=>e.selectItem(l,"before"),["up"])),t[5]||(t[5]=s.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,wp)])])):s.createCommentVNode("",!0)]),s.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:t[9]||(t[9]=l=>e.selectedItem=null)},[s.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),s.createElementVNode("ul",null,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.filteredAutocompleteItems,(l,d)=>(s.openBlock(),s.createElementBlock("li",{key:d,style:s.normalizeStyle(l.style),class:s.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"]?s.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):(s.openBlock(),s.createElementBlock("div",{key:0,onClick:c=>e.performAddTags(l,void 0,"autocomplete")},s.toDisplayString(l.text),9,Ip))],46,kp))),128))]),s.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):s.createCommentVNode("",!0)],6)}const pi=ve($p,[["render",Lp],["__scopeId","data-v-d14eec25"]]),Pp=Object.freeze(Object.defineProperty({__proto__:null,default:pi},Symbol.toStringTag,{value:"Module"})),Ap=["src"],Dp={__name:"Magnifier",props:{imageSrc:String,zoomFactor:{type:Number,default:2}},setup(e){const t=e,n=s.ref(!1),r=s.ref({});function a(m){const u=m.target.getBoundingClientRect(),f=m.clientX-u.left,v=m.clientY-u.top,_=200,g=Math.max(0,Math.min(f-_/2,u.width-_)),E=Math.max(0,Math.min(v-_/2,u.height-_));r.value={left:`${g}px`,top:`${E}px`,backgroundPosition:`-${g*t.zoomFactor}px -${E*t.zoomFactor}px`,backgroundImage:`url(${t.imageSrc})`,backgroundSize:`${u.width*t.zoomFactor}px ${u.height*t.zoomFactor}px`}}function o(m){n.value=!0,a(m)}function i(){n.value=!1}function l(m){m.preventDefault(),n.value=!0,a(m.touches[0])}function d(m){m.preventDefault(),a(m.touches[0])}function c(){n.value=!1}return(m,u)=>(s.openBlock(),s.createElementBlock("div",{class:"w-100 image-container",onMousemove:o,onMouseleave:i,onTouchstart:l,onTouchmove:d,onTouchend:c},[s.createElementVNode("img",{src:(m.FILE_SERVER_URL||"")+e.imageSrc,class:"w-100"},null,8,Ap),n.value?(s.openBlock(),s.createElementBlock("div",{key:0,class:"zoom-lens",style:s.normalizeStyle(r.value)},null,4)):s.createCommentVNode("",!0)],32))}},hi=ve(Dp,[["__scopeId","data-v-9fd5ea8e"]]),Rp=Object.freeze(Object.defineProperty({__proto__:null,default:hi},Symbol.toStringTag,{value:"Module"})),Fp={id:"glcanvas",ref:"refCanvas"},Mp={__name:"Shader",setup(e){return s.onMounted(()=>{const t=document.getElementById("glcanvas"),n=t.getContext("webgl")||t.getContext("experimental-webgl"),r=`
|
37
|
+
attribute vec4 aVertexPosition;
|
38
|
+
void main() {
|
39
|
+
gl_Position = aVertexPosition;
|
40
|
+
}
|
41
|
+
`,a=`
|
42
|
+
precision mediump float;
|
43
|
+
|
44
|
+
const float PI = 3.14159265358979323846264;
|
45
|
+
const float TWOPI = PI * 2.0;
|
46
|
+
const vec4 WHITE = vec4(0.0, 1.0, 0.533, 1); // Для цвета F6F9F7
|
47
|
+
const vec4 BLACK = vec4(0.0, 0.9, 0.48, 1); // Для цвета EBF2ED
|
48
|
+
|
49
|
+
const int MAX_RINGS = 30;
|
50
|
+
const float RING_DISTANCE = 0.03;
|
51
|
+
const float WAVE_COUNT = 60.0;
|
52
|
+
const float WAVE_DEPTH = 0.08;
|
53
|
+
|
54
|
+
uniform float iTime;
|
55
|
+
uniform vec2 iResolution;
|
56
|
+
|
57
|
+
void main() {
|
58
|
+
float rot = mod(iTime * 0.6, TWOPI);
|
59
|
+
vec2 fragCoord = gl_FragCoord.xy;
|
60
|
+
vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
|
61
|
+
pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
|
62
|
+
float x = pos.x;
|
63
|
+
float y = pos.y;
|
64
|
+
|
65
|
+
bool black = false;
|
66
|
+
float prevRingDist = RING_DISTANCE;
|
67
|
+
for (int i = 0; i < MAX_RINGS; i++) {
|
68
|
+
vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
|
69
|
+
float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
|
70
|
+
float dist = distance(center, pos);
|
71
|
+
dist = pow(dist, 0.3);
|
72
|
+
float ringDist = abs(dist - radius);
|
73
|
+
if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
|
74
|
+
float angle = atan(y - center.y, x - center.x);
|
75
|
+
float thickness = 1.1 * abs(dist - radius) / prevRingDist;
|
76
|
+
float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
|
77
|
+
if (dist > radius) {
|
78
|
+
black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
|
79
|
+
} else {
|
80
|
+
black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
|
81
|
+
}
|
82
|
+
break;
|
83
|
+
}
|
84
|
+
if (dist > radius) break;
|
85
|
+
prevRingDist = ringDist;
|
86
|
+
}
|
87
|
+
|
88
|
+
gl_FragColor = black ? BLACK : WHITE;
|
89
|
+
}
|
90
|
+
|
91
|
+
`;function o(u,f,v){const _=u.createShader(f);return u.shaderSource(_,v),u.compileShader(_),u.getShaderParameter(_,u.COMPILE_STATUS)?_:(alert("An error occurred compiling the shaders: "+u.getShaderInfoLog(_)),u.deleteShader(_),null)}const i=o(n,n.VERTEX_SHADER,r),l=o(n,n.FRAGMENT_SHADER,a),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 f=u.clientWidth*window.devicePixelRatio,v=u.clientHeight*window.devicePixelRatio;return u.width!==f||u.height!==v?(u.width=f,u.height=v,!0):!1}function m(){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 f=[-1,1,1,1,-1,-1,1,-1];n.bufferData(n.ARRAY_BUFFER,new Float32Array(f),n.STATIC_DRAW);const v=n.getAttribLocation(d,"aVertexPosition");n.vertexAttribPointer(v,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(v);var _=n.getUniformLocation(d,"iTime"),g=n.getUniformLocation(d,"iResolution");n.uniform1f(_,performance.now()/3e3),n.uniform2f(g,n.canvas.width,n.canvas.height),n.drawArrays(n.TRIANGLE_STRIP,0,4),requestAnimationFrame(m)}requestAnimationFrame(m)}),(t,n)=>(s.openBlock(),s.createElementBlock("canvas",Fp,null,512))}},$i=ve(Mp,[["__scopeId","data-v-094c0681"]]),xp=Object.freeze(Object.defineProperty({__proto__:null,default:$i},Symbol.toStringTag,{value:"Module"})),Bp={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},Vp={__name:"Menu",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("section",Bp,[s.renderSlot(t.$slots,"default")]))}},Up={props:{fill:{type:String,default:"rgb(var(--black)"}}},jp={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},Gp=["fill"];function Hp(e,t,n,r,a,o){return s.openBlock(),s.createElementBlock("svg",jp,[s.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,Gp)])}const Wp=ve(Up,[["render",Hp]]),Kp=s.defineComponent({props:{},setup(e,{slots:t}){return()=>{const n=t.default?t.default():[],r=[],a=[];return n.forEach(o=>{o.toString(),o.props&&o.props.icon?r.push(o):a.push(o)}),s.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...r.length?[s.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)]:[],s.h("div",{class:["w-100","mn-b-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[s.h("span",{class:["p-big","t-medium","mn-r-auto"]},a)]),s.h(Wp,{class:"i-medium mn-r-medium",type:"chevron"})])}}});/*! js-cookie v3.0.5 | MIT */function Xt(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 zp={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 ur(e,t){function n(a,o,i){if(!(typeof document>"u")){i=Xt({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),a=encodeURIComponent(a).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=a+"="+e.write(o,a)+l}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var o=document.cookie?document.cookie.split("; "):[],i={},l=0;l<o.length;l++){var d=o[l].split("="),c=d.slice(1).join("=");try{var m=decodeURIComponent(d[0]);if(i[m]=e.read(c,m),a===m)break}catch{}}return a?i[a]:i}}return Object.create({set:n,get:r,remove:function(a,o){n(a,"",Xt({},o,{expires:-1}))},withAttributes:function(a){return ur(this.converter,Xt({},this.attributes,a))},withConverter:function(a){return ur(Xt({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Yp=ur(zp,{path:"/"});/*! Capacitor: https://capacitorjs.com/ - MIT License */const qp=e=>{const t=new Map;t.set("web",{name:"web"});const n=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t},r=(o,i)=>{n.platforms.set(o,i)},a=o=>{n.platforms.has(o)&&(n.currentPlatform=n.platforms.get(o))};return n.addPlatform=r,n.setPlatform=a,n},Xp=e=>e.CapacitorPlatforms=qp(e),gi=Xp(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});gi.addPlatform;gi.setPlatform;var Et;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(Et||(Et={}));class Un extends Error{constructor(t,n,r){super(t),this.message=t,this.code=n,this.data=r}}const Jp=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"},Zp=e=>{var t,n,r,a,o;const i=e.CapacitorCustomPlatform||null,l=e.Capacitor||{},d=l.Plugins=l.Plugins||{},c=e.CapacitorPlatforms,m=()=>i!==null?i.name:Jp(e),u=((t=c==null?void 0:c.currentPlatform)===null||t===void 0?void 0:t.getPlatform)||m,f=()=>u()!=="web",v=((n=c==null?void 0:c.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||f,_=I=>{const L=b.get(I);return!!(L!=null&&L.platforms.has(u())||$(I))},g=((r=c==null?void 0:c.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||_,E=I=>{var L;return(L=l.PluginHeaders)===null||L===void 0?void 0:L.find(w=>w.name===I)},$=((a=c==null?void 0:c.currentPlatform)===null||a===void 0?void 0:a.getPluginHeader)||E,y=I=>e.console.error(I),N=(I,L,w)=>Promise.reject(`${w} does not have an implementation of "${L}".`),b=new Map,T=(I,L={})=>{const w=b.get(I);if(w)return console.warn(`Capacitor plugin "${I}" already registered. Cannot register plugins twice.`),w.proxy;const R=u(),V=$(I);let x;const J=async()=>(!x&&R in L?x=typeof L[R]=="function"?x=await L[R]():x=L[R]:i!==null&&!x&&"web"in L&&(x=typeof L.web=="function"?x=await L.web():x=L.web),x),ie=(Z,z)=>{var X,te;if(V){const ne=V==null?void 0:V.methods.find(ae=>z===ae.name);if(ne)return ne.rtype==="promise"?ae=>l.nativePromise(I,z.toString(),ae):(ae,Oe)=>l.nativeCallback(I,z.toString(),ae,Oe);if(Z)return(X=Z[z])===null||X===void 0?void 0:X.bind(Z)}else{if(Z)return(te=Z[z])===null||te===void 0?void 0:te.bind(Z);throw new Un(`"${I}" plugin is not implemented on ${R}`,Et.Unimplemented)}},$e=Z=>{let z;const X=(...te)=>{const ne=J().then(ae=>{const Oe=ie(ae,Z);if(Oe){const re=Oe(...te);return z=re==null?void 0:re.remove,re}else throw new Un(`"${I}.${Z}()" is not implemented on ${R}`,Et.Unimplemented)});return Z==="addListener"&&(ne.remove=async()=>z()),ne};return X.toString=()=>`${Z.toString()}() { [capacitor code] }`,Object.defineProperty(X,"name",{value:Z,writable:!1,configurable:!1}),X},Q=$e("addListener"),ge=$e("removeListener"),ce=(Z,z)=>{const X=Q({eventName:Z},z),te=async()=>{const ae=await X;ge({eventName:Z,callbackId:ae},z)},ne=new Promise(ae=>X.then(()=>ae({remove:te})));return ne.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await te()},ne},pe=new Proxy({},{get(Z,z){switch(z){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return V?ce:Q;case"removeListener":return ge;default:return $e(z)}}});return d[I]=pe,b.set(I,{name:I,proxy:pe,platforms:new Set([...Object.keys(L),...V?[R]:[]])}),pe},S=((o=c==null?void 0:c.currentPlatform)===null||o===void 0?void 0:o.registerPlugin)||T;return l.convertFileSrc||(l.convertFileSrc=I=>I),l.getPlatform=u,l.handleError=y,l.isNativePlatform=v,l.isPluginAvailable=g,l.pluginMethodNoop=N,l.registerPlugin=S,l.Exception=Un,l.DEBUG=!!l.DEBUG,l.isLoggingEnabled=!!l.isLoggingEnabled,l.platform=l.getPlatform(),l.isNative=l.isNativePlatform(),l},Qp=e=>e.Capacitor=Zp(e),cn=Qp(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),xr=cn.registerPlugin;cn.Plugins;class Br{constructor(t){this.listeners={},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){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(n);const a=this.windowListeners[t];a&&!a.registered&&this.addWindowListener(a);const o=async()=>this.removeListener(t,n),i=Promise.resolve({remove:o});return Object.defineProperty(i,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await o()}}),i}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,n){const r=this.listeners[t];r&&r.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 cn.Exception(t,Et.Unimplemented)}unavailable(t="not available"){return new cn.Exception(t,Et.Unavailable)}async removeListener(t,n){const r=this.listeners[t];if(!r)return;const a=r.indexOf(n);this.listeners[t].splice(a,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)}}const Na=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Sa=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class e3 extends Br{async getCookies(){const t=document.cookie,n={};return t.split(";").forEach(r=>{if(r.length<=0)return;let[a,o]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");a=Sa(a).trim(),o=Sa(o).trim(),n[a]=o}),n}async setCookie(t){try{const n=Na(t.key),r=Na(t.value),a=`; expires=${(t.expires||"").replace("expires=","")}`,o=(t.path||"/").replace("path=",""),i=t.url!=null&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${n}=${r||""}${a}; path=${o}; ${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)}}}xr("CapacitorCookies",{web:()=>new e3});const t3=async e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const a=r.result;t(a.indexOf(",")>=0?a.split(",")[1]:a)},r.onerror=a=>n(a),r.readAsDataURL(e)}),n3=(e={})=>{const t=Object.keys(e);return Object.keys(e).map(a=>a.toLocaleLowerCase()).reduce((a,o,i)=>(a[o]=e[t[i]],a),{})},r3=(e,t=!0)=>e?Object.entries(e).reduce((r,a)=>{const[o,i]=a;let l,d;return Array.isArray(i)?(d="",i.forEach(c=>{l=t?encodeURIComponent(c):c,d+=`${o}=${l}&`}),d.slice(0,-1)):(l=t?encodeURIComponent(i):i,d=`${o}=${l}`),`${r}&${d}`},"").substr(1):null,o3=(e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),a=n3(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(a.includes("application/x-www-form-urlencoded")){const o=new URLSearchParams;for(const[i,l]of Object.entries(e.data||{}))o.set(i,l);n.body=o.toString()}else if(a.includes("multipart/form-data")||e.data instanceof FormData){const o=new FormData;if(e.data instanceof FormData)e.data.forEach((l,d)=>{o.append(d,l)});else for(const l of Object.keys(e.data))o.append(l,e.data[l]);n.body=o;const i=new Headers(n.headers);i.delete("content-type"),n.headers=i}else(a.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class a3 extends Br{async request(t){const n=o3(t,t.webFetchExtra),r=r3(t.params,t.shouldEncodeUrlParams),a=r?`${t.url}?${r}`:t.url,o=await fetch(a,n),i=o.headers.get("content-type")||"";let{responseType:l="text"}=o.ok?t:{};i.includes("application/json")&&(l="json");let d,c;switch(l){case"arraybuffer":case"blob":c=await o.blob(),d=await t3(c);break;case"json":d=await o.json();break;case"document":case"text":default:d=await o.text()}const m={};return o.headers.forEach((u,f)=>{m[f]=u}),{data:d,headers:m,status:o.status,url:o.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"}))}}xr("CapacitorHttp",{web:()=>new a3});const s3=xr("Preferences",{web:()=>Promise.resolve().then(()=>require("./web-CtVocufd.js")).then(e=>new e.PreferencesWeb)}),qe=s.reactive({loading:!1,isOpenLocationPopup:!1,isOpenSidebar:!1,position:null,search:null,theme:{darkmode:!1},error:{status:"",headers:"",data:"",show:"",name:"",message:""}}),i3={setLoading(e){qe.loading=e},toggleTheme(){let e=document.querySelector(":root");qe.theme.darkmode=!qe.theme.darkmode,e.classList.toggle("dark-theme");const t=["--white","--black","--grey"];qe.theme.originalColors||(qe.theme.originalColors={},t.forEach(n=>{const r=getComputedStyle(document.documentElement).getPropertyValue(n).trim();qe.theme.originalColors[n]=r})),l3(t,qe.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(a=>a._id===t._id),r=e.indexOf(n);r>-1&&(n.quantity--,n.quantity<1&&e.splice(r,1))},reset(e){}},_i={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."}}};si.global.mergeLocaleMessage("ru",_i.ru);si.global.mergeLocaleMessage("en",_i.en);function l3(e,t){e.forEach(n=>{const r=t[n],a=r.split(",").map(Number);let o;n==="--white"?o=a.map(i=>255-i/1.075):n==="--black"?o=a.map(i=>255-i):n==="--grey"&&(o=a.map(i=>255-i*2)),document.documentElement.style.setProperty(n,qe.theme.darkmode?o.join(", "):r)})}Ht.create({baseURL:process.env.API_URL,withCredentials:!0});const d3=s.reactive({code:{value:"",type:"",method:"",isSended:!1,isValid:!1}});s.watch(d3,(e,t)=>{});const c3=Ht.create({baseURL:process.env.API_URL,withCredentials:!0}),_t=s.reactive({user:{_id:void 0,username:"",email:"",phone:"",password:"",passwordRepeat:""},access:{roles:null,token:null,status:!1}});async function u3(){const e=await f3("user");if(e){const{_id:t,email:n,phone:r,roles:a,accessToken:o}=e;Object.assign(_t.user,{_id:t,email:n,phone:r}),Object.assign(_t.access,{token:o,roles:a,status:!!o}),c3.interceptors.request.use(i=>(o&&(i.headers["x-access-token"]=o),i),i=>Promise.reject(i))}}u3();process.env.API_URL;async function f3(e){if(process.env.MOBILE_APP){const{value:t}=await s3.get({key:e});return t?JSON.parse(t):null}else{const t=Yp.get(e);return t?JSON.parse(t):null}}s.watch(_t,(e,t)=>{});const m3={id:"sidebar",class:"o-hidden"},p3={class:"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content"},h3=s.createElementVNode("span",null," Backoffice ",-1),vi={__name:"Sidebar",props:["stateSidebar"],emits:["closeSidebar"],setup(e,{emit:t}){const n=vr(),r=yr();s.ref(!1);const a=e,o=t;s.watch(()=>r.path,()=>{a.stateSidebar===!0&&o("closeSidebar")});let i=fn;function l(){a.stateSidebar===!0&&o("closeSidebar")}return(d,c)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",m3,[s.createElementVNode("div",p3,[s.createElementVNode("div",null,[s.renderSlot(d.$slots,"default")]),s.createVNode(mr,{label:"Darkmode",radio:qe.theme.darkmode,"onUpdate:radio":c[0]||(c[0]=m=>i3.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"]),_t.access.roles&&(_t.access.roles.includes("ROLE_MODERATOR")||_t.access.roles.includes("ROLE_ADMIN"))?(s.openBlock(),s.createBlock(Vp,{key:0,class:"mn-b-regular bg-black t-white"},{default:s.withCtx(()=>[s.createVNode(Kp,{onClick:c[1]||(c[1]=m=>s.unref(n).push({name:"Backoffice",params:{_id:s.unref(r).params._id}})),class:"cursor-pointer",theme:"white"},{default:s.withCtx(()=>[h3]),_:1})]),_:1})):s.createCommentVNode("",!0)])])),[[s.unref(i),l]])}},$3=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));function g3(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ta(e){return g3(e)||Array.isArray(e)}function _3(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Vr(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return a!==o?!1:n.every(i=>{const l=e[i],d=t[i];return typeof l=="function"?`${l}`==`${d}`:!Ta(l)||!Ta(d)?l===d:Vr(l,d)})}function Ca(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function v3(e,t){if(e.length!==t.length)return!1;const n=Ca(e),r=Ca(t);return n.every((a,o)=>{const i=r[o];return Vr(a,i)})}function Ur(e){return typeof e=="number"}function fr(e){return typeof e=="string"}function jr(e){return typeof e=="boolean"}function wa(e){return Object.prototype.toString.call(e)==="[object Object]"}function de(e){return Math.abs(e)}function Gr(e){return Math.sign(e)}function Lt(e,t){return de(e-t)}function y3(e,t){if(e===0||t===0||de(e)<=de(t))return 0;const n=Lt(de(e),de(t));return de(n/e)}function Bt(e){return Vt(e).map(Number)}function Me(e){return e[Wt(e)]}function Wt(e){return Math.max(0,e.length-1)}function Hr(e,t){return t===Wt(e)}function ka(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Vt(e){return Object.keys(e)}function yi(e,t){return[e,t].reduce((n,r)=>(Vt(r).forEach(a=>{const o=n[a],i=r[a],l=wa(o)&&wa(i);n[a]=l?yi(o,i):i}),n),{})}function bi(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function b3(e,t){const n={start:r,center:a,end:o};function r(){return 0}function a(d){return o(d)/2}function o(d){return t-d}function i(d,c){return fr(e)?n[e](d):e(t,d,c)}return{measure:i}}function Ut(){let e=[];function t(a,o,i,l={passive:!0}){let d;if("addEventListener"in a)a.addEventListener(o,i,l),d=()=>a.removeEventListener(o,i,l);else{const c=a;c.addListener(i),d=()=>c.removeListener(i)}return e.push(d),r}function n(){e=e.filter(a=>a())}const r={add:t,clear:n};return r}function E3(e,t,n,r){const a=Ut(),o=1e3/60;let i=null,l=0,d=0;function c(){a.add(e,"visibilitychange",()=>{e.hidden&&_()})}function m(){v(),a.clear()}function u(E){if(!d)return;i||(i=E);const $=E-i;for(i=E,l+=$;l>=o;)n(),l-=o;const y=de(l/o);r(y),d&&t.requestAnimationFrame(u)}function f(){d||(d=t.requestAnimationFrame(u))}function v(){t.cancelAnimationFrame(d),i=null,l=0,d=0}function _(){i=null,l=0}return{init:c,destroy:m,start:f,stop:v,update:n,render:r}}function O3(e,t){const n=e==="y"?"y":"x",r=e==="y"?"x":"y",a=l(),o=d();function i(m){const{width:u,height:f}=m;return n==="x"?u:f}function l(){return n==="y"?"top":t==="rtl"?"right":"left"}function d(){return n==="y"?"bottom":t==="rtl"?"left":"right"}return{scroll:n,cross:r,startEdge:a,endEdge:o,measureSize:i}}function ct(e=0,t=0){const n=de(e-t);function r(c){return c<e}function a(c){return c>t}function o(c){return r(c)||a(c)}function i(c){return o(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:o,reachedMax:a,reachedMin:r,removeOffset:l}}function Ei(e,t,n){const{constrain:r}=ct(0,e),a=e+1;let o=i(t);function i(f){return n?de((a+f)%a):r(f)}function l(){return o}function d(f){return o=i(f),u}function c(f){return m().set(l()+f)}function m(){return Ei(e,l(),n)}const u={get:l,set:d,add:c,clone:m};return u}function N3(e){const t=e==="rtl"?-1:1;function n(a){return a*t}return{apply:n}}function S3(e,t,n,r,a,o,i,l,d,c,m,u,f,v,_,g,E,$,y,N){const{cross:b}=e,T=["INPUT","SELECT","TEXTAREA"],S={passive:!1},I=Ut(),L=Ut(),w=ct(50,225).constrain(_.measure(20)),R={mouse:300,touch:400},V={mouse:500,touch:600},x=g?43:25;let J=!1,ie=0,$e=0,Q=!1,ge=!1,ce=!1,pe=!1;function Z(M){if(!N)return;function h(O){(jr(N)||N(M,O))&&Oe(O)}const p=n;I.add(p,"dragstart",O=>O.preventDefault(),S).add(p,"touchmove",()=>{},S).add(p,"touchend",()=>{}).add(p,"touchstart",h).add(p,"mousedown",h).add(p,"touchcancel",ue).add(p,"contextmenu",ue).add(p,"click",ye,!0)}function z(){I.clear(),L.clear()}function X(){const M=pe?r:n;L.add(M,"touchmove",re,S).add(M,"touchend",ue).add(M,"mousemove",re,S).add(M,"mouseup",ue)}function te(M){const h=M.nodeName||"";return T.includes(h)}function ne(){return(g?V:R)[pe?"mouse":"touch"]}function ae(M,h){const p=f.add(Gr(M)*-1),O=u.byDistance(M,!g).distance;return g||de(M)<w?O:$&&h?O*.5:u.byIndex(p.get(),0).distance}function Oe(M){const h=bi(M,a);pe=h,!(h&&M.button!==0)&&(te(M.target)||(ce=g&&h&&!M.buttons&&J,J=Lt(o.get(),l.get())>=2,Q=!0,i.pointerDown(M),m.useFriction(0).useDuration(0),o.set(l),X(),ie=i.readPoint(M),$e=i.readPoint(M,b),v.emit("pointerDown")))}function re(M){const h=i.readPoint(M),p=i.readPoint(M,b),O=Lt(h,ie),P=Lt(p,$e);if(!ge&&!pe&&(!M.cancelable||(ge=O>P,!ge)))return ue(M);const F=i.pointerMove(M);O>E&&(ce=!0),m.useFriction(.3).useDuration(1),d.start(),o.add(t.apply(F)),M.preventDefault()}function ue(M){const p=u.byDistance(0,!1).index!==f.get(),O=i.pointerUp(M)*ne(),P=ae(t.apply(O),p),F=y3(O,P),j=x-10*F,fe=y+F/50;ge=!1,Q=!1,L.clear(),m.useDuration(j).useFriction(fe),c.distance(P,!g),pe=!1,v.emit("pointerUp")}function ye(M){ce&&(M.stopPropagation(),M.preventDefault())}function he(){return Q}return{init:Z,pointerDown:he,destroy:z}}function T3(e,t){let r,a;function o(u){return u.timeStamp}function i(u,f){const _=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(bi(u,t)?u:u.touches[0])[_]}function l(u){return r=u,a=u,i(u)}function d(u){const f=i(u)-i(a),v=o(u)-o(r)>170;return a=u,v&&(r=u),f}function c(u){if(!r||!a)return 0;const f=i(a)-i(r),v=o(u)-o(r),_=o(u)-o(a)>170,g=f/v;return v&&!_&&de(g)>.1?g:0}return{pointerDown:l,pointerMove:d,pointerUp:c,readPoint:i}}function C3(){function e(n){const{offsetTop:r,offsetLeft:a,offsetWidth:o,offsetHeight:i}=n;return{top:r,right:a+o,bottom:r+i,left:a,width:o,height:i}}return{measure:e}}function w3(e){function t(r){return e*(r/100)}return{measure:t}}function k3(e,t,n,r,a,o,i){let l,d,c=[],m=!1;function u(g){return a.measureSize(i.measure(g))}function f(g){if(!o)return;d=u(e),c=r.map(u);function E(y){for(const N of y){const b=N.target===e,T=r.indexOf(N.target),S=b?d:c[T],I=u(b?e:r[T]);if(de(I-S)>=.5){n.requestAnimationFrame(()=>{g.reInit(),t.emit("resize")});break}}}l=new ResizeObserver(y=>{m||(jr(o)||o(g,y))&&E(y)}),[e].concat(r).forEach(y=>l.observe(y))}function v(){l&&l.disconnect(),m=!0}return{init:f,destroy:v}}function I3(e,t,n,r,a){let o=0,i=0,l=r,d=a,c=e.get(),m=0;function u(){const T=n.get()-e.get(),S=!l;let I=0;return S?(o=0,e.set(n),I=T):(o+=T/l,o*=d,c+=o,e.add(o),I=c-m),i=Gr(I),m=c,b}function f(){const T=n.get()-t.get();return de(T)<.001}function v(){return l}function _(){return i}function g(){return o}function E(){return y(r)}function $(){return N(a)}function y(T){return l=T,b}function N(T){return d=T,b}const b={direction:_,duration:v,velocity:g,seek:u,settled:f,useBaseFriction:$,useBaseDuration:E,useFriction:N,useDuration:y};return b}function L3(e,t,n,r,a){const o=a.measure(10),i=a.measure(50),l=ct(.1,.99);let d=!1;function c(){return!(d||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function m(v){if(!c())return;const _=e.reachedMin(t.get())?"min":"max",g=de(e[_]-t.get()),E=n.get()-t.get(),$=l.constrain(g/i);n.subtract(E*$),!v&&de(E)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(v){d=!v}return{constrain:m,toggleActive:u}}function P3(e,t,n,r,a){const o=ct(-t+e,0),i=u(),l=m(),d=f();function c(_,g){return Lt(_,g)<1}function m(){const _=i[0],g=Me(i),E=i.lastIndexOf(_),$=i.indexOf(g)+1;return ct(E,$)}function u(){return n.map((_,g)=>{const{min:E,max:$}=o,y=o.constrain(_),N=!g,b=Hr(n,g);return N?$:b||c(E,y)?E:c($,y)?$:y}).map(_=>parseFloat(_.toFixed(3)))}function f(){if(t<=e+a)return[o.max];if(r==="keepSnaps")return i;const{min:_,max:g}=l;return i.slice(_,g)}return{snapsContained:d,scrollContainLimit:l}}function A3(e,t,n){const r=t[0],a=n?r-e:Me(t);return{limit:ct(a,r)}}function D3(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:l,reachedMax:d}=ct(o,i);function c(f){return f===1?d(n.get()):f===-1?l(n.get()):!1}function m(f){if(!c(f))return;const v=e*(f*-1);r.forEach(_=>_.add(v))}return{loop:m}}function R3(e){const{max:t,length:n}=e;function r(o){const i=o-t;return n?i/-n:0}return{get:r}}function F3(e,t,n,r,a){const{startEdge:o,endEdge:i}=e,{groupSlides:l}=a,d=u().map(t.measure),c=f(),m=v();function u(){return l(r).map(g=>Me(g)[i]-g[0][o]).map(de)}function f(){return r.map(g=>n[o]-g[o]).map(g=>-de(g))}function v(){return l(c).map(g=>g[0]).map((g,E)=>g+d[E])}return{snaps:c,snapsAligned:m}}function M3(e,t,n,r,a,o){const{groupSlides:i}=a,{min:l,max:d}=r,c=m();function m(){const f=i(o),v=!e||t==="keepSnaps";return n.length===1?[o]:v?f:f.slice(l,d).map((_,g,E)=>{const $=!g,y=Hr(E,g);if($){const N=Me(E[0])+1;return ka(N)}if(y){const N=Wt(o)-Me(E)[0]+1;return ka(N,Me(E)[0])}return _})}return{slideRegistry:c}}function x3(e,t,n,r,a){const{reachedAny:o,removeOffset:i,constrain:l}=r;function d(_){return _.concat().sort((g,E)=>de(g)-de(E))[0]}function c(_){const g=e?i(_):l(_),E=t.map(y=>y-g).map(y=>m(y,0)).map((y,N)=>({diff:y,index:N})).sort((y,N)=>de(y.diff)-de(N.diff)),{index:$}=E[0];return{index:$,distance:g}}function m(_,g){const E=[_,_+n,_-n];if(!e)return E[0];if(!g)return d(E);const $=E.filter(y=>Gr(y)===g);return $.length?d($):Me(E)-n}function u(_,g){const E=t[_]-a.get(),$=m(E,g);return{index:_,distance:$}}function f(_,g){const E=a.get()+_,{index:$,distance:y}=c(E),N=!e&&o(E);if(!g||N)return{index:$,distance:_};const b=t[$]-y,T=_+m(b,0);return{index:$,distance:T}}return{byDistance:f,byIndex:u,shortcut:m}}function B3(e,t,n,r,a,o,i){function l(u){const f=u.distance,v=u.index!==t.get();o.add(f),f&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(n.set(t.get()),t.set(u.index),i.emit("select"))}function d(u,f){const v=a.byDistance(u,f);l(v)}function c(u,f){const v=t.clone().set(u),_=a.byIndex(v.get(),f);l(_)}return{distance:d,index:c}}function V3(e,t,n,r,a,o){let i=0;function l(){o.add(document,"keydown",d,!1),t.forEach(c)}function d(u){u.code==="Tab"&&(i=new Date().getTime())}function c(u){const f=()=>{if(new Date().getTime()-i>10)return;e.scrollLeft=0;const g=t.indexOf(u),E=n.findIndex($=>$.includes(g));Ur(E)&&(a.useDuration(0),r.index(E,0))};o.add(u,"focus",f,{passive:!0,capture:!0})}return{init:l}}function rn(e){let t=e;function n(){return t}function r(d){t=i(d)}function a(d){t+=i(d)}function o(d){t-=i(d)}function i(d){return Ur(d)?d:d.get()}return{get:n,set:r,add:a,subtract:o}}function Oi(e,t,n){const r=e.scroll==="x"?i:l,a=n.style;let o=!1;function i(f){return`translate3d(${f}px,0px,0px)`}function l(f){return`translate3d(0px,${f}px,0px)`}function d(f){o||(a.transform=r(t.apply(f)))}function c(f){o=!f}function m(){o||(a.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:m,to:d,toggleActive:c}}function U3(e,t,n,r,a,o,i,l,d,c){const u=Bt(o),f=Bt(o).reverse(),v=y().concat(N());function _(L,w){return L.reduce((R,V)=>R-o[V],w)}function g(L,w){return L.reduce((R,V)=>_(R,w)>0?R.concat([V]):R,[])}function E(L){return i.map((w,R)=>({start:w-a[R]+.5+L,end:w+n-.5+L}))}function $(L,w,R){const V=E(w);return L.map(x=>{const J=R?0:-r,ie=R?r:0,$e=R?"end":"start",Q=V[x][$e];return{index:x,loopPoint:Q,slideLocation:rn(-1),translate:Oi(e,t,c[x]),target:()=>d.get()>Q?J:ie}})}function y(){const L=l[0],w=g(f,L);return $(w,r,!1)}function N(){const L=n-l[0]-1,w=g(u,L);return $(w,-r,!0)}function b(){return v.every(({index:L})=>{const w=u.filter(R=>R!==L);return _(w,n)<=.1})}function T(){v.forEach(L=>{const{target:w,translate:R,slideLocation:V}=L,x=w();x!==V.get()&&(R.to(x),V.set(x))})}function S(){v.forEach(L=>L.translate.clear())}return{canLoop:b,clear:S,loop:T,loopPoints:v}}function j3(e,t,n){let r,a=!1;function o(d){if(!n)return;function c(m){for(const u of m)if(u.type==="childList"){d.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(m=>{a||(jr(n)||n(d,m))&&c(m)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),a=!0}return{init:o,destroy:i}}function G3(e,t,n,r){const a={};let o=null,i=null,l,d=!1;function c(){l=new IntersectionObserver(_=>{d||(_.forEach(g=>{const E=t.indexOf(g.target);a[E]=g}),o=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(_=>l.observe(_))}function m(){l&&l.disconnect(),d=!0}function u(_){return Vt(a).reduce((g,E)=>{const $=parseInt(E),{isIntersecting:y}=a[$];return(_&&y||!_&&!y)&&g.push($),g},[])}function f(_=!0){if(_&&o)return o;if(!_&&i)return i;const g=u(_);return _&&(o=g),_||(i=g),g}return{init:c,destroy:m,get:f}}function H3(e,t,n,r,a,o){const{measureSize:i,startEdge:l,endEdge:d}=e,c=n[0]&&a,m=_(),u=g(),f=n.map(i),v=E();function _(){if(!c)return 0;const y=n[0];return de(t[l]-y[l])}function g(){if(!c)return 0;const y=o.getComputedStyle(Me(r));return parseFloat(y.getPropertyValue(`margin-${d}`))}function E(){return n.map((y,N,b)=>{const T=!N,S=Hr(b,N);return T?f[N]+m:S?f[N]+u:b[N+1][l]-y[l]}).map(de)}return{slideSizes:f,slideSizesWithGaps:v,startGap:m,endGap:u}}function W3(e,t,n,r,a,o,i,l,d,c){const{startEdge:m,endEdge:u}=e,f=Ur(r);function v($,y){return Bt($).filter(N=>N%y===0).map(N=>$.slice(N,N+y))}function _($){return $.length?Bt($).reduce((y,N)=>{const b=Me(y)||0,T=b===0,S=N===Wt($),I=o[m]-i[b][m],L=o[m]-i[N][u],w=!a&&T?t.apply(l):0,R=!a&&S?t.apply(d):0;return de(L-R-(I+w))>n+c&&y.push(N),S&&y.push($.length),y},[]).map((y,N,b)=>{const T=Math.max(b[N-1]||0);return $.slice(T,y)}):[]}function g($){return f?v($,r):_($)}return{groupSlides:g}}function K3(e,t,n,r,a,o,i){const{align:l,axis:d,direction:c,startIndex:m,loop:u,duration:f,dragFree:v,dragThreshold:_,inViewThreshold:g,slidesToScroll:E,skipSnaps:$,containScroll:y,watchResize:N,watchSlides:b,watchDrag:T}=o,S=2,I=C3(),L=I.measure(t),w=n.map(I.measure),R=N3(c),V=O3(d,c),x=V.measureSize(L),J=w3(x),ie=b3(l,x),$e=!u&&!!y,Q=u||!!y,{slideSizes:ge,slideSizesWithGaps:ce,startGap:pe,endGap:Z}=H3(V,L,w,n,Q,a),z=W3(V,R,x,E,u,L,w,pe,Z,S),{snaps:X,snapsAligned:te}=F3(V,ie,L,w,z),ne=-Me(X)+Me(ce),{snapsContained:ae,scrollContainLimit:Oe}=P3(x,ne,te,y,S),re=$e?ae:te,{limit:ue}=A3(ne,re,u),ye=Ei(Wt(re),m,u),he=ye.clone(),Y=Bt(n),M=({dragHandler:G,scrollBody:se,scrollBounds:De,options:{loop:We}})=>{We||De.constrain(G.pointerDown()),se.seek()},h=({scrollBody:G,translate:se,location:De,offsetLocation:We,scrollLooper:et,slideLooper:Ke,dragHandler:Cn,animation:Yt,eventHandler:zr,options:{loop:Ti}},Ci)=>{const Yr=G.velocity(),qr=G.settled();qr&&!Cn.pointerDown()&&(Yt.stop(),zr.emit("settle")),qr||zr.emit("scroll"),We.set(De.get()-Yr+Yr*Ci),Ti&&(et.loop(G.direction()),Ke.loop()),se.to(We.get())},p=E3(r,a,()=>M(A),G=>h(A,G)),O=.68,P=re[ye.get()],F=rn(P),j=rn(P),fe=rn(P),Ne=I3(F,j,fe,f,O),Tt=x3(u,re,ne,ue,fe),Ct=B3(p,ye,he,Ne,Tt,fe,i),Kt=R3(ue),zt=Ut(),Tn=G3(t,n,i,g),{slideRegistry:me}=M3($e,y,re,Oe,z,Y),C=V3(e,n,me,Ct,Ne,zt),A={ownerDocument:r,ownerWindow:a,eventHandler:i,containerRect:L,slideRects:w,animation:p,axis:V,direction:R,dragHandler:S3(V,R,e,r,a,fe,T3(V,a),F,p,Ct,Ne,Tt,ye,i,J,v,_,$,O,T),eventStore:zt,percentOfView:J,index:ye,indexPrevious:he,limit:ue,location:F,offsetLocation:j,options:o,resizeHandler:k3(t,i,a,n,V,N,I),scrollBody:Ne,scrollBounds:L3(ue,j,fe,Ne,J),scrollLooper:D3(ne,ue,j,[F,j,fe]),scrollProgress:Kt,scrollSnapList:re.map(Kt.get),scrollSnaps:re,scrollTarget:Tt,scrollTo:Ct,slideLooper:U3(V,R,x,ne,ge,ce,X,re,j,n),slideFocus:C,slidesHandler:j3(t,i,b),slidesInView:Tn,slideIndexes:Y,slideRegistry:me,slidesToScroll:z,target:fe,translate:Oi(V,R,t)};return A}function z3(){const e={};let t;function n(d){t=d}function r(d){return e[d]||[]}function a(d){return r(d).forEach(c=>c(t,d)),l}function o(d,c){return e[d]=r(d).concat([c]),l}function i(d,c){return e[d]=r(d).filter(m=>m!==c),l}const l={init:n,emit:a,off:i,on:o};return l}const Y3={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 q3(e){function t(o,i){return yi(o,i||{})}function n(o){const i=o.breakpoints||{},l=Vt(i).filter(d=>e.matchMedia(d).matches).map(d=>i[d]).reduce((d,c)=>t(d,c),{});return t(o,l)}function r(o){return o.map(i=>Vt(i.breakpoints||{})).reduce((i,l)=>i.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function X3(e){let t=[];function n(o,i){return t=i.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(o,e)),i.reduce((l,d)=>Object.assign(l,{[d.name]:d}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function un(e,t,n){const r=e.ownerDocument,a=r.defaultView,o=q3(a),i=X3(o),l=Ut(),d=z3(),{mergeOptions:c,optionsAtMedia:m,optionsMediaQueries:u}=o,{on:f,off:v,emit:_}=d,g=V;let E=!1,$,y=c(Y3,un.globalOptions),N=c(y),b=[],T,S,I;function L(){const{container:Y,slides:M}=N;S=(fr(Y)?e.querySelector(Y):Y)||e.children[0];const p=fr(M)?S.querySelectorAll(M):M;I=[].slice.call(p||S.children)}function w(Y){const M=K3(e,S,I,r,a,Y,d);if(Y.loop&&!M.slideLooper.canLoop()){const h=Object.assign({},Y,{loop:!1});return w(h)}return M}function R(Y,M){E||(y=c(y,Y),N=m(y),b=M||b,L(),$=w(N),u([y,...b.map(({options:h})=>h)]).forEach(h=>l.add(h,"change",V)),N.active&&($.translate.to($.location.get()),$.animation.init(),$.slidesInView.init(),$.slideFocus.init(),$.eventHandler.init(he),$.resizeHandler.init(he),$.slidesHandler.init(he),$.options.loop&&$.slideLooper.loop(),S.offsetParent&&I.length&&$.dragHandler.init(he),T=i.init(he,b)))}function V(Y,M){const h=z();x(),R(c({startIndex:h},Y),M),d.emit("reInit")}function x(){$.dragHandler.destroy(),$.eventStore.clear(),$.translate.clear(),$.slideLooper.clear(),$.resizeHandler.destroy(),$.slidesHandler.destroy(),$.slidesInView.destroy(),$.animation.destroy(),i.destroy(),l.clear()}function J(){E||(E=!0,l.clear(),x(),d.emit("destroy"))}function ie(Y,M,h){!N.active||E||($.scrollBody.useBaseFriction().useDuration(M===!0?0:N.duration),$.scrollTo.index(Y,h||0))}function $e(Y){const M=$.index.add(1).get();ie(M,Y,-1)}function Q(Y){const M=$.index.add(-1).get();ie(M,Y,1)}function ge(){return $.index.add(1).get()!==z()}function ce(){return $.index.add(-1).get()!==z()}function pe(){return $.scrollSnapList}function Z(){return $.scrollProgress.get($.location.get())}function z(){return $.index.get()}function X(){return $.indexPrevious.get()}function te(){return $.slidesInView.get()}function ne(){return $.slidesInView.get(!1)}function ae(){return T}function Oe(){return $}function re(){return e}function ue(){return S}function ye(){return I}const he={canScrollNext:ge,canScrollPrev:ce,containerNode:ue,internalEngine:Oe,destroy:J,off:v,on:f,emit:_,plugins:ae,previousScrollSnap:X,reInit:g,rootNode:re,scrollNext:$e,scrollPrev:Q,scrollProgress:Z,scrollSnapList:pe,scrollTo:ie,selectedScrollSnap:z,slideNodes:ye,slidesInView:te,slidesNotInView:ne};return R(t,n),setTimeout(()=>d.emit("init"),0),he}un.globalOptions=void 0;function Wr(e={},t=[]){const n=s.ref(s.isRef(e)?e.value:e),r=s.ref(s.isRef(t)?t.value:t),a=s.ref(),o=s.ref();function i(){o.value&&o.value.reInit(n.value,r.value)}return s.onMounted(()=>{!_3()||!a.value||(un.globalOptions=Wr.globalOptions,o.value=un(a.value,n.value,r.value))}),s.onBeforeUnmount(()=>{o.value&&o.value.destroy()}),s.isRef(e)&&s.watch(e,l=>{Vr(n.value,l)||(n.value=l,i())}),s.isRef(t)&&s.watch(t,l=>{v3(r.value,l)||(r.value=l,i())}),[a,o]}Wr.globalOptions=void 0;const J3={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Kr(e={}){let t,n,r,a=!1,o=!0,i=!1,l=0,d=0;function c(b,T){n=b;const{mergeOptions:S,optionsAtMedia:I}=T,L=S(J3,Kr.globalOptions),w=S(L,e);if(t=I(w),n.scrollSnapList().length<=1)return;i=t.jump,r=!1;const{eventStore:R,ownerDocument:V}=n.internalEngine(),x=n.rootNode(),J=t.rootNode&&t.rootNode(x)||x,ie=n.containerNode();n.on("pointerDown",f),t.stopOnInteraction||n.on("pointerUp",u),t.stopOnMouseEnter&&(R.add(J,"mouseenter",()=>{o=!1,f()}),t.stopOnInteraction||R.add(J,"mouseleave",()=>{o=!0,u()})),t.stopOnFocusIn&&(R.add(ie,"focusin",f),t.stopOnInteraction||R.add(ie,"focusout",u)),R.add(V,"visibilitychange",v),t.playOnInit&&n.on("init",u).on("reInit",u)}function m(){n.off("init",u).off("reInit",u).off("pointerDown",f).off("pointerUp",u),f(),cancelAnimationFrame(l),l=0,r=!0,a=!1}function u(){if(r||!o)return;a||n.emit("autoplay:play");const{ownerWindow:b}=n.internalEngine();b.clearInterval(d),d=b.setInterval(y,t.delay),a=!0}function f(){if(r)return;a&&n.emit("autoplay:stop");const{ownerWindow:b}=n.internalEngine();b.clearInterval(d),d=0,a=!1}function v(){const{ownerDocument:b}=n.internalEngine();if(b.visibilityState==="hidden")return o=a,f();o&&u()}function _(b){typeof b<"u"&&(i=b),o=!0,u()}function g(){a&&f()}function E(){a&&_()}function $(){return a}function y(){l=requestAnimationFrame(()=>{const{index:b}=n.internalEngine(),T=b.clone().add(1).get(),S=n.scrollSnapList().length-1;t.stopOnLastSnap&&T===S&&f(),n.canScrollNext()?n.scrollNext(i):n.scrollTo(0,i)})}return{name:"autoplay",options:e,init:c,destroy:m,play:_,stop:g,reset:E,isPlaying:$}}Kr.globalOptions=void 0;const Z3={class:"embla__container"},Ni={__name:"Slider",props:{store:Object,options:Object,text:Object,user:Object},setup(e){const t=e;vr();const n=s.ref([]),r=s.ref(!0),a=s.ref(0),o={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:c=>c.parentElement},[i,l]=Wr({loop:!0},[Kr(o)]),d=c=>a.value=l.value.selectedScrollSnap();return s.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,m)=>(s.openBlock(),s.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:i},[s.createElementVNode("div",Z3,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,(u,f,v)=>(s.openBlock(),s.createElementBlock("div",{class:"embla__slide pd-nano",key:f},[s.createVNode(s.Transition,{name:"fade",mode:"out-in",appear:""},{default:s.withCtx(()=>[s.renderSlot(c.$slots,"default",{item:u,user:e.user})]),_:2},1024)]))),128))])],512))}},Q3=Object.freeze(Object.defineProperty({__proto__:null,default:Ni},Symbol.toStringTag,{value:"Module"})),eh={class:"pd-small error-wrapper"},th={class:"flex-nowrap flex radius-small pd-small t-white bg-fourth"},nh={class:"w-100"},rh=s.createElementVNode("br",null,null,-1),Si={__name:"Status",props:{status:String,message:String,show:Boolean,data:Object},setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div",eh,[s.createElementVNode("div",th,[s.createElementVNode("p",nh,[s.createTextVNode(s.toDisplayString(e.data.message)+" ",1),rh]),s.createVNode(Ir,{onClick:n[0]||(n[0]=r=>t.closePopup()),class:"cursor-pointer hover-scale-1 i-regular z-index-5"})])]))}},oh=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"})),ah={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Fi)),e.component("Button",()=>Promise.resolve().then(()=>Hi)),e.component("Checkbox",()=>Promise.resolve().then(()=>qi)),e.component("Dropdown",()=>Promise.resolve().then(()=>Qi)),e.component("Error",()=>Promise.resolve().then(()=>nl)),e.component("Field",()=>Promise.resolve().then(()=>cl)),e.component("FieldPhone",()=>Promise.resolve().then(()=>wc)),e.component("LocationMarker",()=>Promise.resolve().then(()=>jc)),e.component("Map",()=>Promise.resolve().then(()=>Hc)),e.component("Popup",()=>Promise.resolve().then(()=>T0)),e.component("Radio",()=>Promise.resolve().then(()=>A0)),e.component("Select",()=>Promise.resolve().then(()=>V0)),e.component("SelectMulti",()=>Promise.resolve().then(()=>u1)),e.component("Spoiler",()=>Promise.resolve().then(()=>m1)),e.component("Tab",()=>Promise.resolve().then(()=>$1)),e.component("Tooltip",()=>Promise.resolve().then(()=>_1)),e.component("Text",()=>Promise.resolve().then(()=>y1)),e.component("Upload",()=>Promise.resolve().then(()=>H2)),e.component("UploadImage",()=>Promise.resolve().then(()=>q2)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>sm)),e.component("Breadcrumbs",()=>Promise.resolve().then(()=>hm)),e.component("Chips",()=>Promise.resolve().then(()=>ym)),e.component("Countdown",()=>Promise.resolve().then(()=>Mm)),e.component("DatePicker",()=>Promise.resolve().then(()=>Vm)),e.component("EmptyState",()=>Promise.resolve().then(()=>Gm)),e.component("Feed",()=>Promise.resolve().then(()=>tp)),e.component("FieldBig",()=>Promise.resolve().then(()=>op)),e.component("FieldTags",()=>Promise.resolve().then(()=>Pp)),e.component("Loader",()=>Promise.resolve().then(()=>Rc)),e.component("Magnifier",()=>Promise.resolve().then(()=>Rp)),e.component("Shader",()=>Promise.resolve().then(()=>xp)),e.component("Sidebar",()=>Promise.resolve().then(()=>$3)),e.component("Slider",()=>Promise.resolve().then(()=>Q3)),e.component("Status",()=>Promise.resolve().then(()=>oh))}};exports.Address=La;exports.Checkbox=mr;exports.Chips=li;exports.Dropdown=Aa;exports.Field=mn;exports.FieldPhone=ja;exports.FieldTags=pi;exports.Loader=$n;exports.LocationMarker=Ha;exports.Magnifier=hi;exports.Map=Wa;exports.Select=Cs;exports.SelectMulti=ks;exports.Shader=$i;exports.Tooltip=Ps;exports.Upload=ti;exports.WebPlugin=Br;exports._sfc_main=Pa;exports._sfc_main$1=Da;exports._sfc_main$10=di;exports._sfc_main$11=ci;exports._sfc_main$12=Mr;exports._sfc_main$13=ui;exports._sfc_main$14=fi;exports._sfc_main$15=vi;exports._sfc_main$16=Ni;exports._sfc_main$17=Si;exports._sfc_main$2=Ss;exports._sfc_main$3=Ts;exports._sfc_main$4=Is;exports._sfc_main$5=Ls;exports._sfc_main$6=As;exports._sfc_main$7=ni;exports._sfc_main$8=ri;exports._sfc_main$9=ii;exports.main=ah;
|