@ozdao/prometheus-framework 0.2.47 → 0.2.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +27 -25
- package/dist/auth.server.mjs +27 -25
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/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-3981e903.mjs +217 -0
- package/dist/index-4eecfdb9.js +216 -0
- package/dist/main-203b36b6.mjs +13628 -0
- package/dist/main-610fd21a.mjs +13628 -0
- package/dist/main-669fac33.js +91 -0
- package/dist/main-_b1_i8mt.mjs +13606 -0
- package/dist/main-a7ae4ce5.js +91 -0
- package/dist/main-uiQFxEks.js +91 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
- package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
- package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/organizations.server.js +13 -27
- package/dist/organizations.server.mjs +13 -27
- package/dist/products.server.js +95 -15
- package/dist/products.server.mjs +95 -15
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +4 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
- 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 +42 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +47 -46
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
- 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/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- 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 +17 -17
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
- 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 +50 -43
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +47 -15
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -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 +38 -37
- 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 +249 -61
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
- 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 +78 -45
- 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 +161 -86
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +35 -31
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
- 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 +17 -17
- 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 +50 -47
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
- 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/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +33 -28
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -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 +123 -113
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/web-0410cac1.js +1 -0
- package/dist/web-7p76PGnO.mjs +55 -0
- package/dist/web-c1619455.mjs +55 -0
- package/dist/web-c63f0ecc.js +1 -0
- package/dist/web-d8173758.mjs +55 -0
- package/dist/web-dn8vgptQ.js +1 -0
- package/package.json +1 -1
- package/src/components/SelectMulti/SelectMulti.vue +1 -1
- package/src/modules/auth/components/pages/Invite.vue +17 -6
- package/src/modules/auth/controllers/auth.controller.js +24 -16
- package/src/modules/auth/controllers/invites.controller.js +17 -8
- package/src/modules/auth/store/auth.js +8 -1
- package/src/modules/auth/store/invites.js +1 -0
- package/src/modules/globals/store/globals.js +5 -1
- package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
- package/src/modules/landing/components/pages/404.vue +3 -0
- package/src/modules/landing/components/pages/Governance.vue +155 -0
- package/src/modules/landing/components/pages/Home.vue +52 -0
- package/src/modules/landing/components/pages/Hotel.vue +54 -0
- package/src/modules/landing/components/pages/Page.vue +184 -0
- package/src/modules/landing/components/sections/AboutSection.vue +69 -0
- package/src/modules/landing/components/sections/Examples.vue +90 -0
- package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
- package/src/modules/landing/components/sections/GiftSection.vue +63 -0
- package/src/modules/landing/components/sections/HeroSection.vue +74 -0
- package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
- package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
- package/src/modules/landing/components/sections/MapSection.vue +91 -0
- package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
- package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
- package/src/modules/landing/router/landing.js +34 -0
- package/src/modules/middlewares/server/verifySignUp.js +4 -0
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
- package/src/modules/organizations/components/blocks/User.vue +42 -10
- package/src/modules/organizations/components/pages/Department.vue +7 -6
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
- package/src/modules/organizations/components/pages/Members.vue +85 -26
- package/src/modules/organizations/components/pages/Organization.vue +60 -4
- package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
- package/src/modules/organizations/components/sections/Organizations.vue +0 -1
- package/src/modules/organizations/controllers/memberships.controller.js +6 -2
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/department.model.js +0 -19
- package/src/modules/organizations/models/membership.model.js +4 -0
- package/src/modules/organizations/organizations.client.js +1 -6
- package/src/modules/organizations/store/departments.js +48 -44
- package/src/modules/organizations/store/memberships.js +11 -3
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/pages/Product.vue +6 -1
- package/src/modules/products/components/pages/ProductEdit.vue +48 -28
- package/src/modules/products/controllers/products.controller.js +87 -24
- package/src/modules/products/models/product.model.js +16 -1
- package/src/modules/products/store/products.js +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
- package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
- package/src/modules/organizations/components/sections/MembersList.vue +0 -85
- package/src/modules/organizations/store/invites.js +0 -93
@@ -0,0 +1,91 @@
|
|
1
|
+
"use strict";const i=require("vue");const $e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ca={key:0,class:"t-transp mn-r-small"},Sa=["placeholder","value"],Ta={key:0,class:"mn-t-thin invalid-feedback"},wa={__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,s=i.ref(null);let o;const a=()=>{o=new google.maps.places.Autocomplete(s.value),o.addListener("place_changed",d)},l=()=>{o||a()},d=()=>{const c=o.getPlace();if(!c.geometry||!c.address_components)return;let f="",u="",m="";for(let _=0;_<c.address_components.length;_++){console.log(c.address_components);let E=c.address_components[_];E.types.includes("country")&&(f=E.long_name),E.types.includes("administrative_area_level_1")&&(u=E.long_name),E.types.includes("locality")&&(m=E.long_name)}const b=c.formatted_address,g={lat:c.geometry.location.lat(),lng:c.geometry.location.lng()};r("update:address",b),r("update:location",g),r("update:country",f),r("update:state",u),r("update:city",m)};return i.watchEffect(()=>{n.address!==s.value&&(s.value=n.address)}),i.onMounted(()=>{a()}),(c,f)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([c.$attrs.class,"flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ca,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{ref_key:"addressInput",ref:s,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Sa),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[c.validation?(i.openBlock(),i.createElementBlock("div",Ta," * "+i.toDisplayString(c.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],2))}},ws=$e(wa,[["__scopeId","data-v-faece1a6"]]),ka=Object.freeze(Object.defineProperty({__proto__:null,default:ws},Symbol.toStringTag,{value:"Module"}));const Ia=["disabled"],La={key:0},Pa={key:1,class:"loading"},Aa=i.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[i.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])],-1),Da=[Aa],Ra={key:2,class:"t-semi loading t-black"},Fa={key:3,class:"error"},Ma={key:0,class:"button-counter"},ks={__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}},setup(e){const t=e,n=i.ref(null),r=i.ref(null),s=i.ref(!1),o=i.ref(!1);async function a(){n.value.style["pointer-events"]="none",r.value=null,s.value=!0;const l=()=>{n.value&&(n.value.classList.replace("bg-second","bg-main"),n.value.style.pointerEvents="auto",s.value=!1,o.value=!1,r.value=null)};try{await t.submit(),n.value.classList.replace("bg-main","bg-second"),s.value=!1,t.showSucces?(o.value=!0,setTimeout(l,500)):l(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value=t.error,setTimeout(()=>{l(),n.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(l,d)=>(i.openBlock(),i.createElementBlock("button",{onClick:i.withModifiers(a,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"button"},[i.createVNode(i.Transition,{name:"moveFromTopAbsolute"},{default:i.withCtx(()=>[!s.value&&!r.value&&!o.value||!e.showLoader?(i.openBlock(),i.createElementBlock("span",La,[i.renderSlot(l.$slots,"default")])):s.value&&!r.value&&e.showLoader?(i.openBlock(),i.createElementBlock("span",Pa,Da)):o.value&&e.showSucces?(i.openBlock(),i.createElementBlock("span",Ra,i.toDisplayString(e.text.success),1)):r.value?(i.openBlock(),i.createElementBlock("span",Fa,i.toDisplayString(r.value),1)):i.createCommentVNode("",!0)]),_:3}),e.counter?(i.openBlock(),i.createElementBlock("p",Ma,i.toDisplayString(e.counter),1)):i.createCommentVNode("",!0)],8,Ia))}},xa=Object.freeze(Object.defineProperty({__proto__:null,default:ks},Symbol.toStringTag,{value:"Module"}));const Ba={class:"flex-v-center flex-nowrap flex"},Va={key:0,class:"mn-r-auto t-transp mn-r-small"},Ua=["name","value","checked"],ja={__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,s=o=>{if(Array.isArray(n.radio)){let a=[...n.radio];if(o.target.checked)a.push(n.value);else{const l=a.indexOf(n.value);l!==-1&&a.splice(l,1)}r("update:radio",a)}else typeof n.radio=="boolean"&&r("update:radio",o.target.checked)};return(o,a)=>(i.openBlock(),i.createElementBlock("label",Ba,[e.label?(i.openBlock(),i.createElementBlock("div",Va,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onChange:s,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,Ua),i.createElementVNode("div",{class:i.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}])},[i.createElementVNode("div",{class:i.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},cr=$e(ja,[["__scopeId","data-v-ef88ec33"]]),Ha=Object.freeze(Object.defineProperty({__proto__:null,default:cr},Symbol.toStringTag,{value:"Module"})),un={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let s=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const o=(r=n.component)==null?void 0:r.name;o&&(s+=` Found in component ${o}`),console.warn(s)}e.clickOutsideEvent=function(s){e===s.target||e.contains(s.target)||t.value(s)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}};const Ga={key:0},Wa={key:1},Ka={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=un;const n=e,r=i.ref(!1),s=i.computed(()=>typeof n.label=="object");function o(){r.value=!1}return(a,l)=>i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"dropdown pos-relative",onClick:l[0]||(l[0]=i.withModifiers(d=>r.value=!r.value,["stop"]))},[s.value?(i.openBlock(),i.createElementBlock("div",Ga,[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.label.component),{class:i.normalizeClass(e.label.class)},null,8,["class"]))])):(i.openBlock(),i.createElementBlock("div",Wa,i.toDisplayString(e.label),1)),i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{style:i.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[i.renderSlot(a.$slots,"default",{},void 0,!0)],4),[[i.vShow,r.value]])]),_:3})])),[[i.unref(t),o]])}},Is=$e(Ka,[["__scopeId","data-v-542fc6b9"]]),za=Object.freeze(Object.defineProperty({__proto__:null,default:Is},Symbol.toStringTag,{value:"Module"})),Ya={class:"error-wrapper"},qa={class:"error-card"},Ls={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",Ya,[i.createElementVNode("div",qa,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},Xa=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"}));const Ja={key:0,class:"t-transp mn-r-small"},Za={class:"w-100"},Qa=["type","value","placeholder","tabindex"],el=["value","placeholder","tabindex"],tl={key:1,class:"t-transp mn-l-small"},nl={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},rl={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,validation:!1,disabled:!1,tabindex:-1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=t,r=e,s=i.ref(r.field);return(o,a)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ja,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",Za,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=l=>s.value=n("update:field",l.target.value)),onFocus:a[1]||(a[1]=l=>n("focus",l)),onBlur:a[2]||(a[2]=l=>n("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,Qa)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=l=>s.value=n("update:field",l.target.value)),onFocus:a[4]||(a[4]=l=>n("focus",l)),onBlur:a[5]||(a[5]=l=>n("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,el))]),i.renderSlot(o.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",tl,[i.createElementVNode("span",null,i.toDisplayString(e.symbol),1)])):i.createCommentVNode("",!0)],2),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",nl," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},ur=$e(rl,[["__scopeId","data-v-5e69d3c2"]]),ol=Object.freeze(Object.defineProperty({__proto__:null,default:ur},Symbol.toStringTag,{value:"Module"})),sl={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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[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\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","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",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?: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[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|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-489]|3[5-9]|9)|8(?:0[89]|92)","5(?:2(?:[2-49]|8[235-9])|3[5-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-2]|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]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|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-9]|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-7]|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-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|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}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["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[01]\\d)\\d{4}|(?:472[24]|505[2-57-9]|983[289])\\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[0149]|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-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\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","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|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 il(e,t){var n=Array.prototype.slice.call(t);return n.push(sl),e.apply(this,n)}function Bn(e){"@babel/helpers - typeof";return Bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bn(e)}function Yr(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 al(e,t,n){return t&&Yr(e.prototype,t),n&&Yr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ll(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dl(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&&Lt(e,t)}function cl(e){var t=As();return function(){var r=Pt(e),s;if(t){var o=Pt(this).constructor;s=Reflect.construct(r,arguments,o)}else s=r.apply(this,arguments);return ul(this,s)}}function ul(e,t){if(t&&(Bn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ps(e)}function Ps(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e){var t=typeof Map=="function"?new Map:void 0;return Vn=function(r){if(r===null||!fl(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,s)}function s(){return Xt(r,arguments,Pt(this).constructor)}return s.prototype=Object.create(r.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),Lt(s,r)},Vn(e)}function Xt(e,t,n){return As()?Xt=Reflect.construct:Xt=function(s,o,a){var l=[null];l.push.apply(l,o);var d=Function.bind.apply(s,l),c=new d;return a&&Lt(c,a.prototype),c},Xt.apply(null,arguments)}function As(){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 fl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lt(e,t){return Lt=Object.setPrototypeOf||function(r,s){return r.__proto__=s,r},Lt(e,t)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(e)}var Xe=function(e){dl(n,e);var t=cl(n);function n(r){var s;return ll(this,n),s=t.call(this,r),Object.setPrototypeOf(Ps(s),n.prototype),s.name=s.constructor.name,s}return al(n)}(Vn(Error)),fr=2,ml=17,pl=3,Ve="0-90-9٠-٩۰-۹",hl="-‐-―−ー-",$l="//",gl="..",_l=" ",yl="()()[]\\[\\]",bl="~⁓∼~",rn="".concat(hl).concat($l).concat(gl).concat(_l).concat(yl).concat(bl),mr="++";function qr(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),s=0;s<3;s++){var o=Number(n[s]),a=Number(r[s]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))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 vl={}.constructor;function Jt(e){return e!=null&&e.constructor===vl}function Un(e){"@babel/helpers - typeof";return Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Un(e)}function fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(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 mn(e,t,n){return t&&Xr(e.prototype,t),n&&Xr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var El="1.2.0",Ol="1.7.35",Jr=" ext. ",Nl=/^\d+$/,Le=function(){function e(t){fn(this,e),wl(t),this.metadata=t,Ds.call(this,t)}return mn(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&&Nl.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Zr(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Zr(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var s=this.nonGeographic()[n];if(s)return s}else{var 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}(),Zr=function(){function e(t,n){fn(this,e),this.globalMetadataObject=n,this.metadata=t,Ds.call(this,n.metadata)}return mn(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(s){return new Cl(s,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Qr(this.types(),n))return new Tl(Qr(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Jr:this.metadata[13]||Jr}}]),e}(),Cl=function(){function e(t,n){fn(this,e),this._format=t,this.metadata=n}return mn(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()&&!Sl.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Sl=/^\(?\$1\)?$/,Tl=function(){function e(t,n){fn(this,e),this.type=t,this.metadata=n}return mn(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 Qr(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 wl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Jt(e)||!Jt(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(Jt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+kl(e)+": "+e,"."))}var kl=function(t){return Un(t)};function pr(e,t){if(t=new Le(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Il(e,t){return t.countries.hasOwnProperty(e)}function Ds(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?qr(t,El)===-1?this.v2=!0:qr(t,Ol)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Ll=";ext=",mt=function(t){return"([".concat(Ve,"]{1,").concat(t,"})")};function Rs(e){var t="20",n="15",r="9",s="6",o="[ \\t,]*",a="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",f="[- ]+",u="[ \\t]*",m="(?:,{2}|;)",b=Ll+mt(t),g=o+d+a+mt(t)+l,_=o+c+a+mt(r)+l,E=f+mt(s)+"#",h=u+m+a+mt(n)+l,y=u+"(?:,)+"+a+mt(r)+l;return b+"|"+g+"|"+_+"|"+E+"|"+h+"|"+y}var Pl="["+Ve+"]{"+fr+"}",Al="["+mr+"]{0,1}(?:["+rn+"]*["+Ve+"]){3,}["+rn+Ve+"]*",Dl=new RegExp("^["+mr+"]{0,1}(?:["+rn+"]*["+Ve+"]){1,2}$","i"),Rl=Al+"(?:"+Rs()+")?",Fl=new RegExp("^"+Pl+"$|^"+Rl+"$","i");function Ml(e){return e.length>=fr&&Fl.test(e)}function xl(e){return Dl.test(e)}var eo=new RegExp("(?:"+Rs()+")$","i");function Bl(e){var t=e.search(eo);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(eo),s=1;s<r.length;){if(r[s])return{number:n,ext:r[s]};s++}}var Vl={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 Ul(e){return Vl[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=Hl(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 Hl(e,t){if(e){if(typeof e=="string")return to(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 to(e,t)}}function to(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 no(e){for(var t="",n=jl(e.split("")),r;!(r=n()).done;){var s=r.value;t+=Gl(s,t)||""}return t}function Gl(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return Ul(e)}function Wl(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=Kl(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 Kl(e,t){if(e){if(typeof e=="string")return ro(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 ro(e,t)}}function ro(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 zl(e,t){for(var n=e.slice(),r=Wl(t),s;!(s=r()).done;){var o=s.value;e.indexOf(o)<0&&n.push(o)}return n.sort(function(a,l){return a-l})}function hr(e,t){return Fs(e,void 0,t)}function Fs(e,t,n){var r=n.type(t),s=r&&r.possibleLengths()||n.possibleLengths();if(!s)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Fs(e,"MOBILE",n);var o=n.type("MOBILE");o&&(s=zl(s,o.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var a=e.length,l=s[0];return l===a?"IS_POSSIBLE":l>a?"TOO_SHORT":s[s.length-1]<a?"TOO_LONG":s.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Yl(e,t,n){if(t===void 0&&(t={}),n=new Le(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Ms(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 Ms(e,t){switch(hr(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Qe(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function ql(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=Xl(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 Xl(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}var Jl=["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 Le(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Qe(r,n.nationalNumberPattern())){if(Cn(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Cn(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var s=ql(Jl),o;!(o=s()).done;){var a=o.value;if(Cn(r,a,n))return a}}}}function Cn(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 Zl(e,t,n){if(t=t||{},n=new Le(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 Ql(e,t,n){var r=new Le(n),s=r.getCountryCodesForCallingCode(e);return s?s.filter(function(o){return ed(t,o,n)}):[]}function ed(e,t,n){var r=new Le(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function td(e){return e.replace(new RegExp("[".concat(rn,"]+"),"g")," ").trim()}var nd=/(\$\d)/;function rd(e,t,n){var r=n.useInternationalFormat,s=n.withNationalPrefix;n.carrierCode,n.metadata;var o=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():s&&t.nationalPrefixFormattingRule()?t.format().replace(nd,t.nationalPrefixFormattingRule()):t.format());return r?td(o):o}var od=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function sd(e,t,n){var r=new Le(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(od.test(r.IDDPrefix()))return r.IDDPrefix()}function id(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 ad(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=ld(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 ld(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 io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?io(Object(n),!0).forEach(function(r){dd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lo={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function cd(e,t,n,r){if(n?n=ao(ao({},lo),n):n=lo,r=new Le(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var s=r.countryCallingCode(),o=n.v2?e.nationalNumber:e.phone,a;switch(t){case"NATIONAL":return o?(a=on(o,e.carrierCode,"NATIONAL",r,n),Sn(a,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return o?(a=on(o,null,"INTERNATIONAL",r,n),a="+".concat(s," ").concat(a),Sn(a,e.ext,r,n.formatExtension)):"+".concat(s);case"E.164":return"+".concat(s).concat(o);case"RFC3966":return id({number:"+".concat(s).concat(o),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=fd(o,e.carrierCode,s,n.fromCountry,r);return Sn(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function on(e,t,n,r,s){var o=ud(r.formats(),e);return o?rd(e,o,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&s&&s.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function ud(e,t){for(var n=ad(e),r;!(r=n()).done;){var s=r.value;if(s.leadingDigitsPatterns().length>0){var o=s.leadingDigitsPatterns()[s.leadingDigitsPatterns().length-1];if(t.search(o)!==0)continue}if(Qe(t,s.pattern()))return s}}function Sn(e,t,n,r){return t?r(e,t,n):e}function fd(e,t,n,r,s){var o=pr(r,s.metadata);if(o===n){var a=on(e,t,"NATIONAL",s);return n==="1"?n+" "+a:a}var l=sd(r,void 0,s.metadata);if(l)return"".concat(l," ").concat(n," ").concat(on(e,null,"INTERNATIONAL",s))}function co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?co(Object(n),!0).forEach(function(r){md(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 md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hd(e,t,n){return t&&fo(e.prototype,t),n&&fo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var $d=function(){function e(t,n,r){if(pd(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var s=_d(t,r),o=s.country,a=s.countryCallingCode;this.country=o,this.countryCallingCode=a,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return hd(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Ql(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Yl(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return Zl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new Le(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return $r(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return cd(this,n,r?uo(uo({},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}(),gd=function(t){return/^[A-Z]{2}$/.test(t)};function _d(e,t){var n,r,s=new Le(t);return gd(e)?(n=e,s.selectNumberingPlan(n),r=s.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var yd=new RegExp("(["+Ve+"])");function bd(e,t,n,r){if(t){var s=new Le(r);s.selectNumberingPlan(t,n);var o=new RegExp(s.IDDPrefix());if(e.search(o)===0){e=e.slice(e.match(o)[0].length);var a=e.match(yd);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function vd(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var s,o,a=r.length-1,l=a>0&&r[a];if(t.nationalPrefixTransformRule()&&l)s=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(o=r[1]);else{var d=r[0];s=e.slice(d.length),l&&(o=r[1])}var c;if(l){var f=e.indexOf(r[1]),u=e.slice(0,f);u===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:s,nationalPrefix:c,carrierCode:o}}}return{nationalNumber:e}}function jn(e,t){var n=vd(e,t),r=n.carrierCode,s=n.nationalNumber;if(s!==e){if(!Ed(e,s,t))return{nationalNumber:e};if(t.possibleLengths()&&!Od(s,t))return{nationalNumber:e}}return{nationalNumber:s,carrierCode:r}}function Ed(e,t,n){return!(Qe(e,n.nationalNumberPattern())&&!Qe(t,n.nationalNumberPattern()))}function Od(e,t){switch(hr(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Nd(e,t,n,r){var s=t?pr(t,r):n;if(e.indexOf(s)===0){r=new Le(r),r.selectNumberingPlan(t,n);var o=e.slice(s.length),a=jn(o,r),l=a.nationalNumber,d=jn(e,r),c=d.nationalNumber;if(!Qe(c,r.nationalNumberPattern())&&Qe(l,r.nationalNumberPattern())||hr(c,r)==="TOO_LONG")return{countryCallingCode:s,number:o}}return{number:e}}function Cd(e,t,n,r){if(!e)return{};var s;if(e[0]!=="+"){var o=bd(e,t,n,r);if(o&&o!==e)s=!0,e="+"+o;else{if(t||n){var a=Nd(e,t,n,r),l=a.countryCallingCode,d=a.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new Le(r);for(var c=2;c-1<=pl&&c<=e.length;){var f=e.slice(1,c);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:s?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(c)};c++}return{}}function Sd(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=Td(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 Td(e,t){if(e){if(typeof e=="string")return mo(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 mo(e,t)}}function mo(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 wd(e,t){var n=t.countries,r=t.defaultCountry,s=t.metadata;s=new Le(s);for(var o=[],a=Sd(n),l;!(l=a()).done;){var d=l.value;if(s.country(d),s.leadingDigits()){if(e&&e.search(s.leadingDigits())===0)return d}else if($r({phone:e,country:d},void 0,s.metadata))if(r){if(d===r)return d;o.push(d)}else return d}if(o.length>0)return o[0]}var kd=!1;function Id(e,t){var n=t.nationalNumber,r=t.defaultCountry,s=t.metadata;if(kd&&s.isNonGeographicCallingCode(e))return"001";var o=s.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:wd(n,{countries:o,defaultCountry:r,metadata:s.metadata})}var xs="+",Ld="[\\-\\.\\(\\)]?",po="(["+Ve+"]|"+Ld+")",Pd="^\\"+xs+po+"*["+Ve+"]"+po+"*$",Ad=new RegExp(Pd,"g"),Hn=Ve,Dd="["+Hn+"]+((\\-)*["+Hn+"])*",Rd="a-zA-Z",Fd="["+Rd+"]+((\\-)*["+Hn+"])*",Md="^("+Dd+"\\.)*"+Fd+"\\.?$",xd=new RegExp(Md,"g"),ho="tel:",Gn=";phone-context=",Bd=";isub=";function Vd(e){var t=e.indexOf(Gn);if(t<0)return null;var n=t+Gn.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Ud(e){return e===null?!0:e.length===0?!1:Ad.test(e)||xd.test(e)}function jd(e,t){var n=t.extractFormattedPhoneNumber,r=Vd(e);if(!Ud(r))throw new Xe("NOT_A_NUMBER");var s;if(r===null)s=n(e)||"";else{s="",r.charAt(0)===xs&&(s+=r);var o=e.indexOf(ho),a;o>=0?a=o+ho.length:a=0;var l=e.indexOf(Gn);s+=e.substring(a,l)}var d=s.indexOf(Bd);if(d>0&&(s=s.substring(0,d)),s!=="")return s}var Hd=250,Gd=new RegExp("["+mr+Ve+"]"),Wd=new RegExp("[^"+Ve+"#]+$");function Kd(e,t,n){if(t=t||{},n=new Le(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Xe("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Yd(e,t.v2,t.extract),s=r.number,o=r.ext,a=r.error;if(!s){if(t.v2)throw a==="TOO_SHORT"?new Xe("TOO_SHORT"):new Xe("NOT_A_NUMBER");return{}}var l=Xd(s,t.defaultCountry,t.defaultCallingCode,n),d=l.country,c=l.nationalNumber,f=l.countryCallingCode,u=l.countryCallingCodeSource,m=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Xe("INVALID_COUNTRY");return{}}if(!c||c.length<fr){if(t.v2)throw new Xe("TOO_SHORT");return{}}if(c.length>ml){if(t.v2)throw new Xe("TOO_LONG");return{}}if(t.v2){var b=new $d(f,c,n.metadata);return d&&(b.country=d),m&&(b.carrierCode=m),o&&(b.ext=o),b.__countryCallingCodeSource=u,b}var g=(t.extended?n.hasSelectedNumberingPlan():d)?Qe(c,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:f,carrierCode:m,valid:g,possible:g?!0:!!(t.extended===!0&&n.possibleLengths()&&Ms(c,n)),phone:c,ext:o}:g?qd(d,c,o):{}}function zd(e,t,n){if(e){if(e.length>Hd){if(n)throw new Xe("TOO_LONG");return}if(t===!1)return e;var r=e.search(Gd);if(!(r<0))return e.slice(r).replace(Wd,"")}}function Yd(e,t,n){var r=jd(e,{extractFormattedPhoneNumber:function(a){return zd(a,n,t)}});if(!r)return{};if(!Ml(r))return xl(r)?{error:"TOO_SHORT"}:{};var s=Bl(r);return s.ext?s:{number:r}}function qd(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Xd(e,t,n,r){var s=Cd(no(e),t,n,r.metadata),o=s.countryCallingCodeSource,a=s.countryCallingCode,l=s.number,d;if(a)r.selectNumberingPlan(a);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),a=n||pr(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:o,countryCallingCode:a};var c=jn(no(l),r),f=c.nationalNumber,u=c.carrierCode,m=Id(a,{nationalNumber:f,defaultCountry:t,metadata:r});return m&&(d=m,m==="001"||r.country(d)),{country:d,countryCallingCode:a,countryCallingCodeSource:o,nationalNumber:f,carrierCode:u}}function $o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function go(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$o(Object(n),!0).forEach(function(r){Jd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zd(e,t,n){return Kd(e,go(go({},t),{},{v2:!0}),n)}function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Qd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_o(Object(n),!0).forEach(function(r){ec(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_o(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e,t){return sc(e)||oc(e,t)||rc(e,t)||nc()}function nc(){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 rc(e,t){if(e){if(typeof e=="string")return yo(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 yo(e,t)}}function yo(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 oc(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],s=!0,o=!1,a,l;try{for(n=n.call(e);!(s=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));s=!0);}catch(d){o=!0,l=d}finally{try{!s&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function sc(e){if(Array.isArray(e))return e}function ic(e){var t=Array.prototype.slice.call(e),n=tc(t,4),r=n[0],s=n[1],o=n[2],a=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!s||typeof s=="string")a?(d=o,c=a):(d=void 0,c=o),s&&(d=Qd({defaultCountry:s},d));else if(Jt(s))o?(d=s,c=o):c=s;else throw new Error("Invalid second argument: ".concat(s));return{text:l,options:d,metadata:c}}function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function vo(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){ac(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 ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e,t,n){t&&t.defaultCountry&&!Il(t.defaultCountry,n)&&(t=vo(vo({},t),{},{defaultCountry:void 0}));try{return Zd(e,t,n)}catch(r){if(!(r instanceof Xe))throw r}}function dc(){var e=ic(arguments),t=e.text,n=e.options,r=e.metadata;return lc(t,n,r)}function Tn(){return il(dc,arguments)}const cc=[["افغانستان","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,,"🇦🇽"]],uc=cc.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null}));function fc(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||t[0]!=="1")throw new Error("unable to fetch the country");return t.substr(2,2)})}function mc(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if(e.createTextRange){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const pc=[{name:"allCountries",type:Array,default:uc,description:"All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",inDemo:!1},{name:"autoFormat",type:Boolean,default:!0,description:"Auto update the input to the formatted phone number when it's valid",inDemo:!0},{name:"customValidate",type:[Boolean,RegExp],default:!1,description:"Custom validation RegExp for input",inDemo:!1},{name:"defaultCountry",default:"",type:String,description:"Default country, will override the country fetched from IP address of user",inDemo:!1},{name:"disabled",default:!1,type:Boolean,description:"Disable <code>vue-tel-input</code>, including the input & flag dropdown",inDemo:!1},{name:"autoDefaultCountry",default:!0,type:Boolean,description:"To fetch default country based on IP address of user",inDemo:!1},{name:"dropdownOptions",type:Object,description:"Options for dropdown, see below",inDemo:!1},{name:"dropdownOptions.showDialCodeInList",default:!0,type:Boolean,description:"Show dial code in the dropdown list",inDemo:!0},{name:"dropdownOptions.showDialCodeInSelection",default:!1,type:Boolean,description:"Show dial code in the dropdown selection",inDemo:!0},{name:"dropdownOptions.showFlags",default:!0,type:Boolean,description:"Show flags in the dropdown selection and list",inDemo:!0},{name:"dropdownOptions.tabindex",default:0,type:Number,description:"Native dropdown <code>tabindex</code> attribute",inDemo:!1},{name:"ignoredCountries",default:[],type:Array,description:"List of countries will NOT be shown on the dropdown",inDemo:!1},{name:"inputOptions",type:Object,description:"Options for input, see below",inDemo:!1},{name:"inputOptions.autocomplete",type:String,default:"on",description:"Native input <code>autocomplete</code> attribute",inDemo:!1},{name:"inputOptions.autofocus",type:Boolean,default:!1,description:"Native input <code>autofocus</code> attribute",inDemo:!1},{name:"inputOptions.id",default:"",type:String,description:"Native input <code>id</code> attribute",inDemo:!1},{name:"inputOptions.maxlength",default:25,type:Number,description:"Native input <code>maxlength</code> attribute",inDemo:!1},{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",inDemo:!1},{name:"inputOptions.placeholder",default:"Enter a phone number",type:String,description:"Placeholder for the input",inDemo:!1},{name:"inputOptions.readonly",default:!1,type:Boolean,description:"Native input <code>readonly</code> attribute",inDemo:!1},{name:"inputOptions.required",default:!1,type:Boolean,description:"Native input <code>required</code> attribute",inDemo:!1},{name:"inputOptions.tabindex",default:0,type:Number,description:"Native input <code>tabindex</code> attribute",inDemo:!1},{name:"inputOptions.type",default:"tel",type:String,description:"Native input <code>type</code> attribute",inDemo:!1},{name:"inputOptions.styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the <code>input</code>",inDemo:!1},{name:"invalidMsg",default:"",type:String,description:"",inDemo:!1},{name:"mode",default:"auto",type:String,description:"Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",inDemo:!0,options:["auto","national","international"]},{name:"onlyCountries",default:[],type:Array,description:"List of countries will be shown on the dropdown",inDemo:!1},{name:"preferredCountries",default:[],type:Array,description:"Preferred countries list, will be on top of the dropdown",inDemo:!1},{name:"styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the wrapper",inDemo:!1},{name:"validCharactersOnly",default:!1,type:Boolean,description:"Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",inDemo:!1}],hc=[...pc].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),Eo={options:{...hc}};function we(e){const t=Eo.options[e];return typeof t>"u"?Eo.options[e]:t}const $c=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:un},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:()=>we("allCountries")},autoFormat:{type:Boolean,default:()=>we("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>we("customValidate")},defaultCountry:{type:String,default:()=>we("defaultCountry")},disabled:{type:Boolean,default:()=>we("disabled")},autoDefaultCountry:{type:Boolean,default:()=>we("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>we("dropdownOptions")},ignoredCountries:{type:Array,default:()=>we("ignoredCountries")},inputOptions:{type:Object,default:()=>we("inputOptions")},invalidMsg:{type:String,default:()=>we("invalidMsg")},mode:{type:String,default:()=>we("mode")},onlyCountries:{type:Array,default:()=>we("onlyCountries")},preferredCountries:{type:Array,default:()=>we("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>we("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>we("styleClasses")},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""}},data(){return{counter:5,initCounter:5,message:{action:null,amount:null},phone:this.modelValue?this.modelValue:"",activeCountryCode:"",open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,dropdownOpenDirection:"below",parsedPlaceholder:this.Placeholder!==""?this.Placeholder:this.inputOptions.placeholder}},watch:{activeCountry(e,t){if(!e&&(t!=null&&t.iso2)){this.activeCountryCode=t.iso2;return}e!=null&&e.iso2&&this.$emit("country-changed",e)},"phoneObject.countryCode":function(e){this.activeCountryCode=e},"phoneObject.valid":function(){this.$emit("validate",this.phoneObject)},"phoneObject.formatted":function(e){!this.autoFormat||this.customValidate||(this.emitInput(e),this.$nextTick(()=>{e&&!this.value&&(this.phone=e)}))},"inputOptions.placeholder":function(){this.resetPlaceholder()},value(e,t){this.testCharacters()?this.phone=e:this.$nextTick(()=>{this.phone=t,this.onInput()})},open(e){e?(this.setDropdownPosition(),this.$emit("open")):this.$emit("close")}},mounted(){this.value&&(this.phone=this.value),this.cleanInvalidCharacters(),this.initializeCountry().then(()=>{var e;!this.phone&&((e=this.inputOptions)!=null&&e.showDialCode)&&this.activeCountryCode&&(this.phone=`+${this.activeCountryCode}`),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},computed:{activeCountry(){return this.findCountry(this.activeCountryCode)},activeCountryFlag(){return this.activeCountry?this.activeCountry.flag:null},parsedMode(){return this.mode==="auto"?!this.phone||this.phone[0]!=="+"?"national":"international":["international","national"].includes(this.mode)?this.mode:(console.error('Invalid value of prop "mode"'),"international")},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(({iso2:e})=>this.onlyCountries.some(t=>t.toUpperCase()===e)):this.ignoredCountries.length?this.allCountries.filter(({iso2:e})=>!this.ignoredCountries.includes(e.toUpperCase())&&!this.ignoredCountries.includes(e.toLowerCase())):this.allCountries},sortedCountries(){return[...this.getCountries(this.preferredCountries).map(t=>({...t,preferred:!0})),...this.filteredCountries]},phoneObject(){var o,a,l;let e;((o=this.phone)==null?void 0:o[0])==="+"?e=Tn(this.phone)||{}:e=Tn(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;let r=(a=e.isValid)==null?void 0:a.call(e),s=this.phone;return r&&(s=(l=e.format)==null?void 0:l.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:s}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?fc().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,s=this.preferredCountries.some(o=>o.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:s}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=Tn(this.phoneObject.nationalNumber,t.iso2).formatInternational();return}if((r=this.inputOptions)!=null&&r.showDialCode&&t){this.phone=`+${t.dialCode}`;return}this.activeCountryCode=t.iso2,this.emitInput(this.phone)}},cleanInvalidCharacters(){const e=this.phone;if(this.validCharactersOnly){const t=this.phone.match(/[()\-+0-9\s]*/g);this.phone=t.join("")}if(this.customValidate&&this.customValidate instanceof RegExp){const t=this.phone.match(this.customValidate);this.phone=t.join("")}e!==this.phone&&this.emitInput(this.phone)},testCharacters(){return this.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(this.phone)?!1:this.customValidate?this.testCustomValidate():!0},testCustomValidate(){return this.customValidate instanceof RegExp?this.customValidate.test(this.phone):!1},onInput(){this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.emitInput(this.phoneObject)},emitInput(e){this.$emit("update:modelValue",e)},onBlur(){this.$emit("blur")},onFocus(){mc(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,s=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||s)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),gc=["tabindex"],_c={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},yc=["innerHTML"],bc={key:1,class:"vti__country-code"},vc=["onClick","onMousemove"],Ec=["innerHTML"],Oc={key:1},Nc=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Cc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function Sc(e,t,n,r,s,o){const a=i.resolveDirective("click-outside");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:i.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...l)=>e.keyboardNav&&e.keyboardNav(...l)),t[2]||(t[2]=i.withKeys((...l)=>e.reset&&e.reset(...l),["esc"]))],onClick:t[1]||(t[1]=(...l)=>e.toggleDropdown&&e.toggleDropdown(...l)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",_c,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,yc)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",bc," +"+i.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):i.createCommentVNode("",!0)]),i.withDirectives(i.createElementVNode("ul",{ref:"list",class:i.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:i.normalizeStyle([e.listStyle])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.sortedCountries,(l,d)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(d,l.iso2)]]),key:l.iso2+(l.preferred?"-preferred":""),onClick:c=>e.choose(l),onMousemove:c=>e.selectedIndex=d},[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:l.flag,class:"mn-r-thin"},null,8,Ec)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(l.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Oc," +"+i.toDisplayString(l.dialCode),1)):i.createCommentVNode("",!0)],42,vc))),128))],6),[[i.vShow,e.open]])],46,gc)),[[a,e.clickedOutside]]),i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>e.phone=l),inputmode:"numeric",pattern:"\\d*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:i.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:i.normalizeStyle([e.inputStyle,e.Istyles]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:e.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:t[4]||(t[4]=(...l)=>e.onBlur&&e.onBlur(...l)),onFocus:t[5]||(t[5]=(...l)=>e.onFocus&&e.onFocus(...l)),onInput:t[6]||(t[6]=(...l)=>e.onInput&&e.onInput(...l)),onKeyup:[t[7]||(t[7]=i.withKeys((...l)=>e.onEnter&&e.onEnter(...l),["enter"])),t[8]||(t[8]=i.withKeys((...l)=>e.onSpace&&e.onSpace(...l),["space"]))]},null,46,Nc),[[i.vModelDynamic,e.phone]]),i.renderSlot(e.$slots,"default",{},void 0,!0)],6),i.createVNode(i.Transition,{name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",Cc," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const Bs=$e($c,[["render",Sc],["__scopeId","data-v-a2b07445"]]),Tc=Object.freeze(Object.defineProperty({__proto__:null,default:Bs},Symbol.toStringTag,{value:"Module"}));const wc={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},kc={class:"circular-loader"},Ic=i.createElementVNode("svg",{viewBox:"25 25 50 50"},[i.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),i.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),Lc={key:0,class:"progress-text"},Pc={key:1,class:"uppercase t-semi w-m-10r status-text"};function Ac(e,t,n,r,s,o){return i.openBlock(),i.createElementBlock("div",kc,[Ic,n.progress?(i.openBlock(),i.createElementBlock("div",Lc,i.toDisplayString(n.progress),1)):i.createCommentVNode("",!0),n.status?(i.openBlock(),i.createElementBlock("div",Pc,i.toDisplayString(n.status),1)):i.createCommentVNode("",!0)])}const pn=$e(wc,[["render",Ac]]),Dc=Object.freeze(Object.defineProperty({__proto__:null,default:pn},Symbol.toStringTag,{value:"Module"}));const Vs=e=>(i.pushScopeId("data-v-e6e63879"),e=e(),i.popScopeId(),e),Rc={class:"pos-relative"},Fc={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mc=Vs(()=>i.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1)),xc=Vs(()=>i.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1)),Bc=[Mc,xc],Vc={__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,s=i.ref(null),o=i.ref(!1);let a,l;i.onMounted(()=>{console.log(n.location),a=new google.maps.Map(s.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:a,draggable:!0}),l.addListener("dragend",f=>{const u={lat:f.latLng.lat(),lng:f.latLng.lng()};r("update:location",u),d(u)})}),i.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&a){const f=new google.maps.LatLng(n.location.lat,n.location.lng);a.setCenter(f),a.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(m,b)=>{if(b==="OK")if(m[0]){r("update:address",m[0].formatted_address);let g="",_="",E="";m[0].address_components.forEach(h=>{h.types.includes("country")&&(g=h.long_name),h.types.includes("administrative_area_level_1")&&(_=h.long_name),h.types.includes("locality")&&(E=h.long_name)}),r("update:country",g),r("update:state",_),r("update:city",E)}else console.error("No results found");else console.error("Geocoder failed due to: "+b)})}async function c(){o.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const u={lat:f.coords.latitude,lng:f.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(f,u)=>(i.openBlock(),i.createElementBlock("div",Rc,[i.createElementVNode("div",{ref_key:"mapContainer",ref:s,class:"w-100 h-100"},null,512),i.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},[i.createVNode(i.Transition,{name:"ScaleOut",mode:"out-in"},{default:i.withCtx(()=>[o.value?(i.openBlock(),i.createBlock(pn,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(i.openBlock(),i.createElementBlock("svg",Fc,Bc))]),_:1})])]))}},Us=$e(Vc,[["__scopeId","data-v-e6e63879"]]),Uc=Object.freeze(Object.defineProperty({__proto__:null,default:Us},Symbol.toStringTag,{value:"Module"}));const jc={__name:"Map",props:{location:Object},setup(e){const t=e;let n=i.ref(null),r=null,s=null;return i.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),s=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),i.watch(()=>t.location,()=>{r&&s&&(s.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(o,a)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},js=$e(jc,[["__scopeId","data-v-c194b4a5"]]),Hc=Object.freeze(Object.defineProperty({__proto__:null,default:js},Symbol.toStringTag,{value:"Module"}));/*!
|
8
|
+
* vue-router v4.2.5
|
9
|
+
* (c) 2023 Eduardo San Martin Morote
|
10
|
+
* @license MIT
|
11
|
+
*/var Oo;(function(e){e.pop="pop",e.push="push"})(Oo||(Oo={}));var No;(function(e){e.back="back",e.forward="forward",e.unknown=""})(No||(No={}));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 Gc=Symbol(process.env.NODE_ENV!=="production"?"router":""),Wc=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function gr(){return i.inject(Gc)}function _r(){return i.inject(Wc)}/*!
|
12
|
+
* shared v9.9.1
|
13
|
+
* (c) 2024 kazuya kawaguchi
|
14
|
+
* Released under the MIT License.
|
15
|
+
*/const Ue=typeof window<"u";let De,lt;if(process.env.NODE_ENV!=="production"){const e=Ue&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(De=t=>{e.mark(t)},lt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Kc=/\{([0-9a-zA-Z]+)\}/g;function yr(e,...t){return t.length===1&&Y(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Kc,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const We=(e,t=!1)=>t?Symbol.for(e):Symbol(e),zc=(e,t,n)=>Yc({l:e,k:t,s:n}),Yc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),_e=e=>typeof e=="number"&&isFinite(e),qc=e=>Gs(e)==="[object Date]",ot=e=>Gs(e)==="[object RegExp]",hn=e=>U(e)&&Object.keys(e).length===0,Ne=Object.assign;let So;const Je=()=>So||(So=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function To(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Xc=Object.prototype.hasOwnProperty;function sn(e,t){return Xc.call(e,t)}const ee=Array.isArray,Q=e=>typeof e=="function",A=e=>typeof e=="string",H=e=>typeof e=="boolean",Y=e=>e!==null&&typeof e=="object",Jc=e=>Y(e)&&Q(e.then)&&Q(e.catch),Hs=Object.prototype.toString,Gs=e=>Hs.call(e),U=e=>{if(!Y(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Zc=e=>e==null?"":ee(e)||U(e)&&e.toString===Hs?JSON.stringify(e,null,2):String(e);function Qc(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const wo=2;function eu(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let a=0;a<r.length;a++)if(s+=r[a].length+1,s>=t){for(let l=a-wo;l<=a+wo||n>s;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===a){const f=t-(s-c)+1,u=Math.max(1,n>s?c-f:n-t);o.push(" | "+" ".repeat(f)+"^".repeat(u))}else if(l>a){if(n>s){const f=Math.max(Math.min(n-s,c),1);o.push(" | "+"^".repeat(f))}s+=c+1}}break}return o.join(`
|
16
|
+
`)}function br(e){let t=e;return()=>++t}function Ee(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ko={};function tu(e){ko[e]||(ko[e]=!0,Ee(e))}function vr(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}const Yt=e=>!Y(e)||ee(e);function Zt(e,t){if(Yt(e)||Yt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{Yt(r[o])||Yt(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
|
17
|
+
* message-compiler v9.9.1
|
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 Wn(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&&su(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ru,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ws=Object.assign,Io=e=>typeof e=="string",su=e=>e!==null&&typeof e=="object";function Ks(e,t=""){return e.reduce((n,r,s)=>s===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},iu={[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:s,args:o}=n,a=ou((s||iu)[e]||"",...o||[]),l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=r,l}function au(e){throw e}const lu=/<\/?[\w\s="/.':;#-\/]+>/,du=e=>lu.test(e),Ye=" ",cu="\r",ke=`
|
21
|
+
`,uu=String.fromCharCode(8232),fu=String.fromCharCode(8233);function mu(e){const t=e;let n=0,r=1,s=1,o=0;const a=I=>t[I]===cu&&t[I+1]===ke,l=I=>t[I]===ke,d=I=>t[I]===fu,c=I=>t[I]===uu,f=I=>a(I)||l(I)||d(I)||c(I),u=()=>n,m=()=>r,b=()=>s,g=()=>o,_=I=>a(I)||d(I)||c(I)?ke:t[I],E=()=>_(n),h=()=>_(n+o);function y(){return o=0,f(n)&&(r++,s=0),a(n)&&n++,n++,s++,t[n]}function O(){return a(n+o)&&o++,o++,t[n+o]}function v(){n=0,r=1,s=1,o=0}function T(I=0){o=I}function k(){const I=n+o;for(;I!==n;)y();o=0}return{index:u,line:m,column:b,peekOffset:g,charAt:_,currentChar:E,currentPeek:h,next:y,peek:O,reset:v,resetPeek:T,skipToPeek:k}}const tt=void 0,pu=".",Lo="'",hu="tokenizer";function $u(e,t={}){const n=t.location!==!1,r=mu(e),s=()=>r.index(),o=()=>nu(r.line(),r.column(),r.index()),a=o(),l=s(),d={currentType:14,offset:l,startLoc:a,endLoc:a,lastType:14,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:f}=t;function u($,p,N,...P){const M=c();if(p.column+=N,p.offset+=N,f){const j=n?Wn(M.startLoc,p):null,pe=Ot($,j,{domain:hu,args:P});f(pe)}}function m($,p,N){$.endLoc=o(),$.currentType=p;const P={type:p};return n&&(P.loc=Wn($.startLoc,$.endLoc)),N!=null&&(P.value=N),P}const b=$=>m($,14);function g($,p){return $.currentChar()===p?($.next(),p):(u(B.EXPECTED_TOKEN,o(),0,p),"")}function _($){let p="";for(;$.currentPeek()===Ye||$.currentPeek()===ke;)p+=$.currentPeek(),$.peek();return p}function E($){const p=_($);return $.skipToPeek(),p}function h($){if($===tt)return!1;const p=$.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function y($){if($===tt)return!1;const p=$.charCodeAt(0);return p>=48&&p<=57}function O($,p){const{currentType:N}=p;if(N!==2)return!1;_($);const P=h($.currentPeek());return $.resetPeek(),P}function v($,p){const{currentType:N}=p;if(N!==2)return!1;_($);const P=$.currentPeek()==="-"?$.peek():$.currentPeek(),M=y(P);return $.resetPeek(),M}function T($,p){const{currentType:N}=p;if(N!==2)return!1;_($);const P=$.currentPeek()===Lo;return $.resetPeek(),P}function k($,p){const{currentType:N}=p;if(N!==8)return!1;_($);const P=$.currentPeek()===".";return $.resetPeek(),P}function I($,p){const{currentType:N}=p;if(N!==9)return!1;_($);const P=h($.currentPeek());return $.resetPeek(),P}function C($,p){const{currentType:N}=p;if(!(N===8||N===12))return!1;_($);const P=$.currentPeek()===":";return $.resetPeek(),P}function D($,p){const{currentType:N}=p;if(N!==10)return!1;const P=()=>{const j=$.currentPeek();return j==="{"?h($.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Ye||!j?!1:j===ke?($.peek(),P()):h(j)},M=P();return $.resetPeek(),M}function R($){_($);const p=$.currentPeek()==="|";return $.resetPeek(),p}function V($){const p=_($),N=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:N,hasSpace:p.length>0}}function x($,p=!0){const N=(M=!1,j="",pe=!1)=>{const Te=$.currentPeek();return Te==="{"?j==="%"?!1:M:Te==="@"||!Te?j==="%"?!0:M:Te==="%"?($.peek(),N(M,"%",!0)):Te==="|"?j==="%"||pe?!0:!(j===Ye||j===ke):Te===Ye?($.peek(),N(!0,Ye,pe)):Te===ke?($.peek(),N(!0,ke,pe)):!0},P=N();return p&&$.resetPeek(),P}function J($,p){const N=$.currentChar();return N===tt?tt:p(N)?($.next(),N):null}function ae($){return J($,N=>{const P=N.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function ge($){return J($,N=>{const P=N.charCodeAt(0);return P>=48&&P<=57})}function ne($){return J($,N=>{const P=N.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function be($){let p="",N="";for(;p=ge($);)N+=p;return N}function Ce($){E($);const p=$.currentChar();return p!=="%"&&u(B.EXPECTED_TOKEN,o(),0,p),$.next(),"%"}function fe($){let p="";for(;;){const N=$.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(x($))p+=N,$.next();else break;else if(N===Ye||N===ke)if(x($))p+=N,$.next();else{if(R($))break;p+=N,$.next()}else p+=N,$.next()}return p}function Z($){E($);let p="",N="";for(;p=ae($);)N+=p;return $.currentChar()===tt&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),N}function G($){E($);let p="";return $.currentChar()==="-"?($.next(),p+=`-${be($)}`):p+=be($),$.currentChar()===tt&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),p}function re($){E($),g($,"'");let p="",N="";const P=j=>j!==Lo&&j!==ke;for(;p=J($,P);)p==="\\"?N+=ue($):N+=p;const M=$.currentChar();return M===ke||M===tt?(u(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),M===ke&&($.next(),g($,"'")),N):(g($,"'"),N)}function ue($){const p=$.currentChar();switch(p){case"\\":case"'":return $.next(),`\\${p}`;case"u":return te($,p,4);case"U":return te($,p,6);default:return u(B.UNKNOWN_ESCAPE_SEQUENCE,o(),0,p),""}}function te($,p,N){g($,p);let P="";for(let M=0;M<N;M++){const j=ne($);if(!j){u(B.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${p}${P}${$.currentChar()}`);break}P+=j}return`\\${p}${P}`}function se($){E($);let p="",N="";const P=M=>M!=="{"&&M!=="}"&&M!==Ye&&M!==ke;for(;p=J($,P);)N+=p;return N}function Se($){let p="",N="";for(;p=ae($);)N+=p;return N}function ie($){const p=(N=!1,P)=>{const M=$.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Ye?P:M===ke||M===pu?(P+=M,$.next(),p(N,P)):(P+=M,$.next(),p(!0,P))};return p(!1,"")}function le($){E($);const p=g($,"|");return E($),p}function Oe($,p){let N=null;switch($.currentChar()){case"{":return p.braceNest>=1&&u(B.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),$.next(),N=m(p,2,"{"),E($),p.braceNest++,N;case"}":return p.braceNest>0&&p.currentType===2&&u(B.EMPTY_PLACEHOLDER,o(),0),$.next(),N=m(p,3,"}"),p.braceNest--,p.braceNest>0&&E($),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),N;case"@":return p.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),N=me($,p)||b(p),p.braceNest=0,N;default:let M=!0,j=!0,pe=!0;if(R($))return p.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,o(),0),N=m(p,1,le($)),p.braceNest=0,p.inLinked=!1,N;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return u(B.UNTERMINATED_CLOSING_BRACE,o(),0),p.braceNest=0,q($,p);if(M=O($,p))return N=m(p,5,Z($)),E($),N;if(j=v($,p))return N=m(p,6,G($)),E($),N;if(pe=T($,p))return N=m(p,7,re($)),E($),N;if(!M&&!j&&!pe)return N=m(p,13,se($)),u(B.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,N.value),E($),N;break}return N}function me($,p){const{currentType:N}=p;let P=null;const M=$.currentChar();switch((N===8||N===9||N===12||N===10)&&(M===ke||M===Ye)&&u(B.INVALID_LINKED_FORMAT,o(),0),M){case"@":return $.next(),P=m(p,8,"@"),p.inLinked=!0,P;case".":return E($),$.next(),m(p,9,".");case":":return E($),$.next(),m(p,10,":");default:return R($)?(P=m(p,1,le($)),p.braceNest=0,p.inLinked=!1,P):k($,p)||C($,p)?(E($),me($,p)):I($,p)?(E($),m(p,12,Se($))):D($,p)?(E($),M==="{"?Oe($,p)||P:m(p,11,ie($))):(N===8&&u(B.INVALID_LINKED_FORMAT,o(),0),p.braceNest=0,p.inLinked=!1,q($,p))}}function q($,p){let N={type:14};if(p.braceNest>0)return Oe($,p)||b(p);if(p.inLinked)return me($,p)||b(p);switch($.currentChar()){case"{":return Oe($,p)||b(p);case"}":return u(B.UNBALANCED_CLOSING_BRACE,o(),0),$.next(),m(p,3,"}");case"@":return me($,p)||b(p);default:if(R($))return N=m(p,1,le($)),p.braceNest=0,p.inLinked=!1,N;const{isModulo:M,hasSpace:j}=V($);if(M)return j?m(p,0,fe($)):m(p,4,Ce($));if(x($))return m(p,0,fe($));break}return N}function F(){const{currentType:$,offset:p,startLoc:N,endLoc:P}=d;return d.lastType=$,d.lastOffset=p,d.lastStartLoc=N,d.lastEndLoc=P,d.offset=s(),d.startLoc=o(),r.currentChar()===tt?m(d,14):q(r,d)}return{nextToken:F,currentOffset:s,currentPosition:o,context:c}}const gu="parser",_u=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function yu(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 bu(e={}){const t=e.location!==!1,{onError:n}=e;function r(h,y,O,v,...T){const k=h.currentPosition();if(k.offset+=v,k.column+=v,n){const I=t?Wn(O,k):null,C=Ot(y,I,{domain:gu,args:T});n(C)}}function s(h,y,O){const v={type:h};return t&&(v.start=y,v.end=y,v.loc={start:O,end:O}),v}function o(h,y,O,v){v&&(h.type=v),t&&(h.end=y,h.loc&&(h.loc.end=O))}function a(h,y){const O=h.context(),v=s(3,O.offset,O.startLoc);return v.value=y,o(v,h.currentOffset(),h.currentPosition()),v}function l(h,y){const O=h.context(),{lastOffset:v,lastStartLoc:T}=O,k=s(5,v,T);return k.index=parseInt(y,10),h.nextToken(),o(k,h.currentOffset(),h.currentPosition()),k}function d(h,y){const O=h.context(),{lastOffset:v,lastStartLoc:T}=O,k=s(4,v,T);return k.key=y,h.nextToken(),o(k,h.currentOffset(),h.currentPosition()),k}function c(h,y){const O=h.context(),{lastOffset:v,lastStartLoc:T}=O,k=s(9,v,T);return k.value=y.replace(_u,yu),h.nextToken(),o(k,h.currentOffset(),h.currentPosition()),k}function f(h){const y=h.nextToken(),O=h.context(),{lastOffset:v,lastStartLoc:T}=O,k=s(8,v,T);return y.type!==12?(r(h,B.UNEXPECTED_EMPTY_LINKED_MODIFIER,O.lastStartLoc,0),k.value="",o(k,v,T),{nextConsumeToken:y,node:k}):(y.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,je(y)),k.value=y.value||"",o(k,h.currentOffset(),h.currentPosition()),{node:k})}function u(h,y){const O=h.context(),v=s(7,O.offset,O.startLoc);return v.value=y,o(v,h.currentOffset(),h.currentPosition()),v}function m(h){const y=h.context(),O=s(6,y.offset,y.startLoc);let v=h.nextToken();if(v.type===9){const T=f(h);O.modifier=T.node,v=T.nextConsumeToken||h.nextToken()}switch(v.type!==10&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(v)),v=h.nextToken(),v.type===2&&(v=h.nextToken()),v.type){case 11:v.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(v)),O.key=u(h,v.value||"");break;case 5:v.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(v)),O.key=d(h,v.value||"");break;case 6:v.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(v)),O.key=l(h,v.value||"");break;case 7:v.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(v)),O.key=c(h,v.value||"");break;default:r(h,B.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const T=h.context(),k=s(7,T.offset,T.startLoc);return k.value="",o(k,T.offset,T.startLoc),O.key=k,o(O,T.offset,T.startLoc),{nextConsumeToken:v,node:O}}return o(O,h.currentOffset(),h.currentPosition()),{node:O}}function b(h){const y=h.context(),O=y.currentType===1?h.currentOffset():y.offset,v=y.currentType===1?y.endLoc:y.startLoc,T=s(2,O,v);T.items=[];let k=null;do{const D=k||h.nextToken();switch(k=null,D.type){case 0:D.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(D)),T.items.push(a(h,D.value||""));break;case 6:D.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(D)),T.items.push(l(h,D.value||""));break;case 5:D.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(D)),T.items.push(d(h,D.value||""));break;case 7:D.value==null&&r(h,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,je(D)),T.items.push(c(h,D.value||""));break;case 8:const R=m(h);T.items.push(R.node),k=R.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const I=y.currentType===1?y.lastOffset:h.currentOffset(),C=y.currentType===1?y.lastEndLoc:h.currentPosition();return o(T,I,C),T}function g(h,y,O,v){const T=h.context();let k=v.items.length===0;const I=s(1,y,O);I.cases=[],I.cases.push(v);do{const C=b(h);k||(k=C.items.length===0),I.cases.push(C)}while(T.currentType!==14);return k&&r(h,B.MUST_HAVE_MESSAGES_IN_PLURAL,O,0),o(I,h.currentOffset(),h.currentPosition()),I}function _(h){const y=h.context(),{offset:O,startLoc:v}=y,T=b(h);return y.currentType===14?T:g(h,O,v,T)}function E(h){const y=$u(h,Ws({},e)),O=y.context(),v=s(0,O.offset,O.startLoc);return t&&v.loc&&(v.loc.source=h),v.body=_(y),e.onCacheKey&&(v.cacheKey=e.onCacheKey(h)),O.currentType!==14&&r(y,B.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,h[O.offset]||""),o(v,y.currentOffset(),y.currentPosition()),v}return{parse:E}}function je(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 vu(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Po(e,t){for(let n=0;n<e.length;n++)Er(e[n],t)}function Er(e,t){switch(e.type){case 1:Po(e.cases,t),t.helper("plural");break;case 2:Po(e.items,t);break;case 6:Er(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=vu(e);n.helper("normalize"),e.body&&Er(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ou(e){const t=e.body;return t.type===2?Ao(t):t.cases.forEach(n=>Ao(n)),e}function Ao(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=Ks(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 ht(e){switch(e.t=e.type,e.type){case 0:const t=e;ht(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let f=0;f<r.length;f++)ht(r[f]);n.c=r,delete n.cases;break;case 2:const s=e,o=s.items;for(let f=0;f<o.length;f++)ht(o[f]);s.i=o,delete s.items,s.static&&(s.s=s.static,delete s.static);break;case 3:case 9:case 8:case 7:const a=e;a.value&&(a.v=a.value,delete a.value);break;case 6:const l=e;ht(l.key),l.k=l.key,delete l.key,l.modifier&&(ht(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const d=e;d.i=d.index,delete d.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw Ot(B.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Nu,args:[e.type]})}delete e.type}const Cu="parser";function Su(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,a=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};a&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(E,h){l.code+=E}function f(E,h=!0){const y=h?s:"";c(o?y+" ".repeat(E):y)}function u(E=!0){const h=++l.indentLevel;E&&f(h)}function m(E=!0){const h=--l.indentLevel;E&&f(h)}function b(){f(l.indentLevel)}return{context:d,push:c,indent:u,deindent:m,newline:b,helper:E=>`_${E}`,needIndent:()=>l.needIndent}}function Tu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),yt(e,t.key),t.modifier?(e.push(", "),yt(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 s=t.items.length;for(let o=0;o<s&&(yt(e,t.items[o]),o!==s-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 s=t.cases.length;for(let o=0;o<s&&(yt(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Iu(e,t){t.body?yt(e,t.body):e.push("null")}function yt(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:Tu(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:Cu,args:[t.type]})}}const Lu=(e,t={})=>{const n=Io(t.mode)?t.mode:"normal",r=Io(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
22
|
+
`,a=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Su(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:a});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(a),l.length>0&&(d.push(`const { ${Ks(l.map(u=>`${u}: _${u}`),", ")} } = ctx`),d.newline()),d.push("return "),yt(d,e),d.deindent(a),d.push("}"),delete e.helpers;const{code:c,map:f}=d.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function Pu(e,t={}){const n=Ws({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,l=bu(n).parse(e);return r?(o&&Ou(l),s&&ht(l),{ast:l,code:""}):(Eu(l,n),Lu(l,n))}/*!
|
23
|
+
* core-base v9.9.1
|
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 it=[];it[0]={w:[0],i:[3,0],"[":[4],o:[7]};it[1]={w:[1],".":[2],"[":[4],o:[7]};it[2]={w:[2],i:[3,0],0:[3,0]};it[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};it[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};it[5]={"'":[4,0],o:8,l:[5,0]};it[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,s=0,o,a,l,d,c,f,u;const m=[];m[0]=()=>{a===void 0?a=l:a+=l},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,a===void 0||(a=xu(a),a===!1))return!1;m[1]()}};function b(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,l="\\"+g,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&b())){if(d=Mu(o),u=it[r],c=u[d]||u.l||8,c===8||(r=c[0],c[1]!==void 0&&(f=m[c[1]],f&&(l=o,f()===!1))))return;if(r===7)return t}}const Do=new Map;function Vu(e,t){return Y(e)?e[t]:null}function Uu(e,t){if(!Y(e))return null;let n=Do.get(t);if(n||(n=Bu(t),n&&Do.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=s[n[o]];if(a===void 0||Q(s))return null;s=a,o++}return s}const ju=e=>e,Hu=e=>"",Gu="text",Wu=e=>e.length===0?"":Qc(e),Ku=Zc;function Ro(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=_e(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(_e(e.named.count)||_e(e.named.n))?_e(e.named.count)?e.named.count:_e(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=Y(e.pluralRules)&&A(t)&&Q(e.pluralRules[t])?e.pluralRules[t]:Ro,s=Y(e.pluralRules)&&A(t)&&Q(e.pluralRules[t])?Ro:void 0,o=h=>h[r(n,h.length,s)],a=e.list||[],l=h=>a[h],d=e.named||{};_e(e.pluralIndex)&&Yu(n,d);const c=h=>d[h];function f(h){const y=Q(e.messages)?e.messages(h):Y(e.messages)?e.messages[h]:!1;return y||(e.parent?e.parent.message(h):Hu)}const u=h=>e.modifiers?e.modifiers[h]:ju,m=U(e.processor)&&Q(e.processor.normalize)?e.processor.normalize:Wu,b=U(e.processor)&&Q(e.processor.interpolate)?e.processor.interpolate:Ku,g=U(e.processor)&&A(e.processor.type)?e.processor.type:Gu,E={list:l,named:c,plural:o,linked:(h,...y)=>{const[O,v]=y;let T="text",k="";y.length===1?Y(O)?(k=O.modifier||k,T=O.type||T):A(O)&&(k=O||k):y.length===2&&(A(O)&&(k=O||k),A(v)&&(T=v||T));const I=f(h)(E),C=T==="vnode"&&ee(I)&&k?I[0]:I;return k?u(k)(C,T):C},message:f,type:g,interpolate:b,normalize:m,values:Ne({},a,d)};return E}let At=null;function Xu(e){At=e}function Ju(e,t,n){At&&At.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Zu=Qu("function:translate");function Qu(e){return t=>At&&At.emit(e,t)}const Ie={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={[Ie.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ie.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ie.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ie.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ie.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ie.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ie.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 dt(e,...t){return yr(ef[e],...t)}const zs=B.__EXTEND_POINT__,at=br(zs),ve={INVALID_ARGUMENT:zs,INVALID_DATE_ARGUMENT:at(),INVALID_ISO_DATE_ARGUMENT:at(),NOT_SUPPORT_NON_STRING_MESSAGE:at(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:at(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:at(),NOT_SUPPORT_LOCALE_TYPE:at(),__EXTEND_POINT__:at()};function He(e){return Ot(e,null,process.env.NODE_ENV!=="production"?{messages:tf}:void 0)}const tf={[ve.INVALID_ARGUMENT]:"Invalid arguments",[ve.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ve.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ve.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ve.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Or(e,t){return t.locale!=null?Fo(t.locale):Fo(e.locale)}let wn;function Fo(e){if(A(e))return e;if(Q(e)){if(e.resolvedOnce&&wn!=null)return wn;if(e.constructor.name==="Function"){const t=e();if(Jc(t))throw He(ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wn=t}else throw He(ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw He(ve.NOT_SUPPORT_LOCALE_TYPE)}function nf(e,t,n){return[...new Set([n,...ee(t)?t:Y(t)?Object.keys(t):A(t)?[t]:[n]])]}function Ys(e,t,n){const r=A(n)?n:bt,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;ee(a);)a=Mo(o,a,t);const l=ee(t)||!U(t)?t:t.default?t.default:null;a=A(l)?[l]:l,ee(a)&&Mo(o,a,!1),s.__localeChainCache.set(r,o)}return o}function Mo(e,t,n){let r=!0;for(let s=0;s<t.length&&H(r);s++){const o=t[s];A(o)&&(r=rf(e,t[s],n))}return r}function rf(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=of(e,o,n),s.splice(-1,1)}while(s.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 s=t.replace(/!/g,"");e.push(s),(ee(n)||U(n))&&n[s]&&(r=n[s])}return r}const sf="9.9.1",$n=-1,bt="en-US",an="",xo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function af(){return{upper:(e,t)=>t==="text"&&A(e)?e.toUpperCase():t==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&A(e)?e.toLowerCase():t==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&A(e)?xo(e):t==="vnode"&&Y(e)&&"__v_isVNode"in e?xo(e.children):e}}let qs;function Bo(e){qs=e}let Xs;function lf(e){Xs=e}let Js;function df(e){Js=e}let Zs=null;const cf=e=>{Zs=e},uf=()=>Zs;let Qs=null;const Vo=e=>{Qs=e},ff=()=>Qs;let Uo=0;function mf(e={}){const t=Q(e.onWarn)?e.onWarn:Ee,n=A(e.version)?e.version:sf,r=A(e.locale)||Q(e.locale)?e.locale:bt,s=Q(r)?bt:r,o=ee(e.fallbackLocale)||U(e.fallbackLocale)||A(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=U(e.messages)?e.messages:{[s]:{}},l=U(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},d=U(e.numberFormats)?e.numberFormats:{[s]:{}},c=Ne({},e.modifiers||{},af()),f=e.pluralRules||{},u=Q(e.missing)?e.missing:null,m=H(e.missingWarn)||ot(e.missingWarn)?e.missingWarn:!0,b=H(e.fallbackWarn)||ot(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,_=!!e.unresolving,E=Q(e.postTranslation)?e.postTranslation:null,h=U(e.processor)?e.processor:null,y=H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,v=Q(e.messageCompiler)?e.messageCompiler:qs;process.env.NODE_ENV!=="production"&&Q(e.messageCompiler)&&tu(dt(Ie.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const T=Q(e.messageResolver)?e.messageResolver:Xs||Vu,k=Q(e.localeFallbacker)?e.localeFallbacker:Js||nf,I=Y(e.fallbackContext)?e.fallbackContext:void 0,C=e,D=Y(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,R=Y(C.__numberFormatters)?C.__numberFormatters:new Map,V=Y(C.__meta)?C.__meta:{};Uo++;const x={version:n,cid:Uo,locale:r,fallbackLocale:o,messages:a,modifiers:c,pluralRules:f,missing:u,missingWarn:m,fallbackWarn:b,fallbackFormat:g,unresolving:_,postTranslation:E,processor:h,warnHtmlMessage:y,escapeParameter:O,messageCompiler:v,messageResolver:T,localeFallbacker:k,fallbackContext:I,onWarn:t,__meta:V};return x.datetimeFormats=l,x.numberFormats=d,x.__datetimeFormatters=D,x.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(x.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ju(x,n,V),x}function gn(e,t){return e instanceof RegExp?e.test(t):e}function ei(e,t){return e instanceof RegExp?e.test(t):e}function Nr(e,t,n,r,s){const{missing:o,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const l=o(e,n,t,s);return A(l)?l:t}else return process.env.NODE_ENV!=="production"&&ei(r,t)&&a(dt(Ie.NOT_FOUND_KEY,{key:t,locale:n})),t}function Tt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function kn(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,s=r.c||r.cases;return e.plural(s.reduce((o,a)=>[...o,jo(e,a)],[]))}else return jo(e,n)}function jo(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,Kn(e,o)],[]);return e.normalize(r)}}function Kn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const s=t;return s.v||s.value;case 4:const o=t;return e.interpolate(e.named(o.k||o.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const l=t,d=l.m||l.modifier;return e.linked(Kn(e,l.k||l.key),d?Kn(e,d):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const f=t;return f.v||f.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 ti(e,t){t&&du(e)&&Ee(yr(hf,{source:e}))}const ni=e=>e;let $t=Object.create(null);const st=e=>Y(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ri(e,t={}){let n=!1;const r=t.onError||au;return t.onError=s=>{n=!0,r(s)},{...Pu(e,t),detectError:n}}const $f=(e,t)=>{if(!A(e))throw He(ve.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=H(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ti(e,n);const s=(t.onCacheKey||ni)(e),o=$t[s];if(o)return o;const{code:a,detectError:l}=ri(e,t),d=new Function(`return ${a}`)();return l?d:$t[s]=d}};function gf(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&A(e)){const n=H(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ti(e,n);const s=(t.onCacheKey||ni)(e),o=$t[s];if(o)return o;const{ast:a,detectError:l}=ri(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=kn(a);return l?d:$t[s]=d}else{if(process.env.NODE_ENV!=="production"&&!st(e))return Ee(`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]=kn(e))}else return kn(e)}}const Ho=()=>"",Re=e=>Q(e);function Go(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:l}=e,[d,c]=zn(...t),f=H(c.missingWarn)?c.missingWarn:e.missingWarn,u=H(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=H(c.escapeParameter)?c.escapeParameter:e.escapeParameter,b=!!c.resolvedMessage,g=A(c.default)||H(c.default)?H(c.default)?o?d:()=>d:c.default:n?o?d:()=>d:"",_=n||g!=="",E=Or(e,c);m&&_f(c);let[h,y,O]=b?[d,E,l[E]||{}]:oi(e,d,E,a,u,f),v=h,T=d;if(!b&&!(A(v)||st(v)||Re(v))&&_&&(v=g,T=v),!b&&(!(A(v)||st(v)||Re(v))||!A(y)))return s?$n:d;if(process.env.NODE_ENV!=="production"&&A(v)&&e.messageCompiler==null)return Ee(`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 k=!1;const I=()=>{k=!0},C=Re(v)?v:si(e,d,y,v,T,I);if(k)return v;const D=Ef(e,y,O,c),R=qu(D),V=yf(e,C,R),x=r?r(V,d):V;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:A(d)?d:Re(v)?v.key:"",locale:y||(Re(v)?v.locale:""),format:A(v)?v:Re(v)?v.source:"",message:x};J.meta=Ne({},e.__meta,uf()||{}),Zu(J)}return x}function _f(e){ee(e.list)?e.list=e.list.map(t=>A(t)?To(t):t):Y(e.named)&&Object.keys(e.named).forEach(t=>{A(e.named[t])&&(e.named[t]=To(e.named[t]))})}function oi(e,t,n,r,s,o){const{messages:a,onWarn:l,messageResolver:d,localeFallbacker:c}=e,f=c(e,r,n);let u={},m,b=null,g=n,_=null;const E="translate";for(let h=0;h<f.length;h++){if(m=_=f[h],process.env.NODE_ENV!=="production"&&n!==m&&gn(s,t)&&l(dt(Ie.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const k=e.__v_emitter;k&&k.emit("fallback",{type:E,key:t,from:g,to:_,groupId:`${E}:${t}`})}u=a[m]||{};let y=null,O,v;if(process.env.NODE_ENV!=="production"&&Ue&&(y=window.performance.now(),O="intlify-message-resolve-start",v="intlify-message-resolve-end",De&&De(O)),(b=d(u,t))===null&&(b=u[t]),process.env.NODE_ENV!=="production"&&Ue){const k=window.performance.now(),I=e.__v_emitter;I&&y&&b&&I.emit("message-resolve",{type:"message-resolve",key:t,message:b,time:k-y,groupId:`${E}:${t}`}),O&&v&&De&<&&(De(v),lt("intlify message resolve",O,v))}if(A(b)||st(b)||Re(b))break;const T=Nr(e,t,m,o,E);T!==t&&(b=T),g=_}return[b,m,u]}function si(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Re(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(a==null){const m=()=>r;return m.locale=n,m.key=t,m}let d=null,c,f;process.env.NODE_ENV!=="production"&&Ue&&(d=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",De&&De(c));const u=a(r,bf(e,n,s,r,l,o));if(process.env.NODE_ENV!=="production"&&Ue){const m=window.performance.now(),b=e.__v_emitter;b&&d&&b.emit("message-compilation",{type:"message-compilation",message:r,time:m-d,groupId:`translate:${t}`}),c&&f&&De&<&&(De(f),lt("intlify message compilation",c,f))}return u.locale=n,u.key=t,u.source=r,u}function yf(e,t,n){let r=null,s,o;process.env.NODE_ENV!=="production"&&Ue&&(r=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",De&&De(s));const a=t(n);if(process.env.NODE_ENV!=="production"&&Ue){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:a,time:l-r,groupId:`translate:${t.key}`}),s&&o&&De&<&&(De(o),lt("intlify message evaluation",s,o))}return a}function zn(...e){const[t,n,r]=e,s={};if(!A(t)&&!_e(t)&&!Re(t)&&!st(t))throw He(ve.INVALID_ARGUMENT);const o=_e(t)?String(t):(Re(t),t);return _e(n)?s.plural=n:A(n)?s.default=n:U(n)&&!hn(n)?s.named=n:ee(n)&&(s.list=n),_e(r)?s.plural=r:A(r)?s.default=r:U(r)&&Ne(s,r),[o,s]}function bf(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:a=>{if(o&&o(a),process.env.NODE_ENV!=="production"){const l=vf(r),d=`Message compilation error: ${a.message}`,c=a.location&&l&&eu(l,a.location.start.offset,a.location.end.offset),f=e.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
27
|
+
${c}`:d)}else throw a},onCacheKey:a=>zc(t,n,a)}}function vf(e){if(A(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ef(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:f}=e,m={locale:t,modifiers:s,pluralRules:o,messages:b=>{let g=a(n,b);if(g==null&&f){const[,,_]=oi(f,b,t,l,d,c);g=a(_,b)}if(A(g)||st(g)){let _=!1;const h=si(e,b,t,g,b,()=>{_=!0});return _?Ho:h}else return Re(g)?g:Ho}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),_e(r.plural)&&(m.pluralIndex=r.plural),m}const Wo=typeof Intl<"u",ii={dateTimeFormat:Wo&&typeof Intl.DateTimeFormat<"u",numberFormat:Wo&&typeof Intl.NumberFormat<"u"};function Ko(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!ii.dateTimeFormat)return o(dt(Ie.CANNOT_FORMAT_DATE)),an;const[d,c,f,u]=Yn(...t),m=H(f.missingWarn)?f.missingWarn:e.missingWarn,b=H(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=!!f.part,_=Or(e,f),E=a(e,s,_);if(!A(d)||d==="")return new Intl.DateTimeFormat(_,u).format(c);let h={},y,O=null,v=_,T=null;const k="datetime format";for(let D=0;D<E.length;D++){if(y=T=E[D],process.env.NODE_ENV!=="production"&&_!==y&&gn(b,d)&&o(dt(Ie.FALLBACK_TO_DATE_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&_!==y){const R=e.__v_emitter;R&&R.emit("fallback",{type:k,key:d,from:v,to:T,groupId:`${k}:${d}`})}if(h=n[y]||{},O=h[d],U(O))break;Nr(e,d,y,m,k),v=T}if(!U(O)||!A(y))return r?$n:d;let I=`${y}__${d}`;hn(u)||(I=`${I}__${JSON.stringify(u)}`);let C=l.get(I);return C||(C=new Intl.DateTimeFormat(y,Ne({},O,u)),l.set(I,C)),g?C.formatToParts(c):C.format(c)}const ai=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Yn(...e){const[t,n,r,s]=e,o={};let a={},l;if(A(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw He(ve.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 He(ve.INVALID_ISO_DATE_ARGUMENT)}}else if(qc(t)){if(isNaN(t.getTime()))throw He(ve.INVALID_DATE_ARGUMENT);l=t}else if(_e(t))l=t;else throw He(ve.INVALID_ARGUMENT);return A(n)?o.key=n:U(n)&&Object.keys(n).forEach(d=>{ai.includes(d)?a[d]=n[d]:o[d]=n[d]}),A(r)?o.locale=r:U(r)&&(a=r),U(s)&&(a=s),[o.key||"",l,o,a]}function zo(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Yo(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!ii.numberFormat)return o(dt(Ie.CANNOT_FORMAT_NUMBER)),an;const[d,c,f,u]=qn(...t),m=H(f.missingWarn)?f.missingWarn:e.missingWarn,b=H(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=!!f.part,_=Or(e,f),E=a(e,s,_);if(!A(d)||d==="")return new Intl.NumberFormat(_,u).format(c);let h={},y,O=null,v=_,T=null;const k="number format";for(let D=0;D<E.length;D++){if(y=T=E[D],process.env.NODE_ENV!=="production"&&_!==y&&gn(b,d)&&o(dt(Ie.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&_!==y){const R=e.__v_emitter;R&&R.emit("fallback",{type:k,key:d,from:v,to:T,groupId:`${k}:${d}`})}if(h=n[y]||{},O=h[d],U(O))break;Nr(e,d,y,m,k),v=T}if(!U(O)||!A(y))return r?$n:d;let I=`${y}__${d}`;hn(u)||(I=`${I}__${JSON.stringify(u)}`);let C=l.get(I);return C||(C=new Intl.NumberFormat(y,Ne({},O,u)),l.set(I,C)),g?C.formatToParts(c):C.format(c)}const li=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function qn(...e){const[t,n,r,s]=e,o={};let a={};if(!_e(t))throw He(ve.INVALID_ARGUMENT);const l=t;return A(n)?o.key=n:U(n)&&Object.keys(n).forEach(d=>{li.includes(d)?a[d]=n[d]:o[d]=n[d]}),A(r)?o.locale=r:U(r)&&(a=r),U(s)&&(a=s),[o.key||"",l,o,a]}function qo(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}Au();function Of(){return di().__VUE_DEVTOOLS_GLOBAL_HOOK__}function di(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Nf=typeof Proxy=="function",Cf="devtools-plugin:setup",Sf="plugin:settings:set";let pt,Xn;function Tf(){var e;return pt!==void 0||(typeof window<"u"&&window.performance?(pt=!0,Xn=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(pt=!0,Xn=global.perf_hooks.performance):pt=!1),pt}function wf(){return Tf()?Xn.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 a in t.settings){const l=t.settings[a];r[a]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const a=localStorage.getItem(s),l=JSON.parse(a);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}o=a},now(){return wf()}},n&&n.on(Sf,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...d)=>{this.onQueue.push({method:l,args:d})}}),this.proxiedTarget=new Proxy({},{get:(a,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=di(),s=Of(),o=Nf&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Cf,e,t);else{const a=o?new kf(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
|
28
|
+
* vue-i18n v9.9.1
|
29
|
+
* (c) 2024 kazuya kawaguchi
|
30
|
+
* Released under the MIT License.
|
31
|
+
*/const Lf="9.9.1";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 ci=Ie.__EXTEND_POINT__,nt=br(ci),ce={FALLBACK_TO_ROOT:ci,NOT_SUPPORTED_PRESERVE:nt(),NOT_SUPPORTED_FORMATTER:nt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:nt(),NOT_SUPPORTED_GET_CHOICE_INDEX:nt(),COMPONENT_NAME_LEGACY_COMPATIBLE:nt(),NOT_FOUND_PARENT_SCOPE:nt(),IGNORE_OBJ_FLATTEN:nt(),NOTICE_DROP_ALLOW_COMPOSITION:nt()},Af={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function Ae(e,...t){return yr(Af[e],...t)}const ui=ve.__EXTEND_POINT__,Pe=br(ui),K={UNEXPECTED_RETURN_TYPE:ui,INVALID_ARGUMENT:Pe(),MUST_BE_CALL_SETUP_TOP:Pe(),NOT_INSTALLED:Pe(),NOT_AVAILABLE_IN_LEGACY_MODE:Pe(),REQUIRED_VALUE:Pe(),INVALID_VALUE:Pe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pe(),NOT_INSTALLED_WITH_PROVIDE:Pe(),UNEXPECTED_ERROR:Pe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pe(),BRIDGE_SUPPORT_VUE_2_ONLY:Pe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pe(),__EXTEND_POINT__:Pe()};function ye(e,...t){return Ot(e,null,process.env.NODE_ENV!=="production"?{messages:Df,args:t}:void 0)}const Df={[K.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[K.INVALID_ARGUMENT]:"Invalid argument",[K.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[K.NOT_INSTALLED]:"Need to install with `app.use` function",[K.UNEXPECTED_ERROR]:"Unexpected error",[K.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[K.REQUIRED_VALUE]:"Required in value: {0}",[K.INVALID_VALUE]:"Invalid value",[K.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[K.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[K.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[K.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[K.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",[K.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Jn=We("__translateVNode"),Zn=We("__datetimeParts"),Qn=We("__numberParts"),ct=We("__enableEmitter"),Dt=We("__disableEmitter"),fi=We("__setPluralRules"),mi=We("__injectWithOption"),er=We("__dispose");function Rt(e){if(!Y(e))return e;for(const t in e)if(sn(e,t))if(!t.includes("."))Y(e[t])&&Rt(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a<r;a++){if(n[a]in s||(s[n[a]]={}),!Y(s[n[a]])){process.env.NODE_ENV!=="production"&&Ee(Ae(ce.IGNORE_OBJ_FLATTEN,{key:n[a]})),o=!0;break}s=s[n[a]]}o||(s[n[r]]=e[t],delete e[t]),Y(s[n[r]])&&Rt(s[n[r]])}return e}function _n(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=U(n)?n:ee(r)?{}:{[e]:{}};if(ee(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(a[d]=a[d]||{},Zt(c,a[d])):Zt(c,a)}else A(l)&&Zt(JSON.parse(l),a)}),s==null&&o)for(const l in a)sn(a,l)&&Rt(a[l]);return a}function pi(e){return e.type}function hi(e,t,n){let r=Y(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=_n(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Y(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Y(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Xo(e){return i.createVNode(i.Text,null,e,0)}const Jo="__INTLIFY_META__",Zo=()=>[],Rf=()=>!1;let Qo=0;function es(e){return(t,n,r,s)=>e(n,r,i.getCurrentInstance()||void 0,s)}const Ff=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=pi(e)[Jo])?{[Jo]:t}:null};function Cr(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,a=Ue?i.ref:i.shallowRef;let l=H(e.inheritLocale)?e.inheritLocale:!0;const d=a(n&&l?n.locale.value:A(e.locale)?e.locale:bt),c=a(n&&l?n.fallbackLocale.value:A(e.fallbackLocale)||ee(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),f=a(_n(d.value,e)),u=a(U(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),m=a(U(e.numberFormats)?e.numberFormats:{[d.value]:{}});let b=n?n.missingWarn:H(e.missingWarn)||ot(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:H(e.fallbackWarn)||ot(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:H(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,h=Q(e.missing)?e.missing:null,y=Q(e.missing)?es(e.missing):null,O=Q(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const k=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,C;C=(()=>{s&&Vo(null);const S={version:Lf,locale:d.value,fallbackLocale:c.value,messages:f.value,modifiers:k,pluralRules:I,missing:y===null?void 0:y,missingWarn:b,fallbackWarn:g,fallbackFormat:E,unresolving:!0,postTranslation:O===null?void 0:O,warnHtmlMessage:v,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=u.value,S.numberFormats=m.value,S.__datetimeFormatters=U(C)?C.__datetimeFormatters:void 0,S.__numberFormatters=U(C)?C.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(S.__v_emitter=U(C)?C.__v_emitter:void 0);const L=mf(S);return s&&Vo(L),L})(),Tt(C,d.value,c.value);function R(){return[d.value,c.value,f.value,u.value,m.value]}const V=i.computed({get:()=>d.value,set:S=>{d.value=S,C.locale=d.value}}),x=i.computed({get:()=>c.value,set:S=>{c.value=S,C.fallbackLocale=c.value,Tt(C,d.value,S)}}),J=i.computed(()=>f.value),ae=i.computed(()=>u.value),ge=i.computed(()=>m.value);function ne(){return Q(O)?O:null}function be(S){O=S,C.postTranslation=S}function Ce(){return h}function fe(S){S!==null&&(y=es(S)),h=S,C.missing=y}function Z(S,L){return S!=="translate"||!L.resolvedMessage}const G=(S,L,W,X,Me,et)=>{R();let xe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(C.fallbackContext=n?ff():void 0),xe=S(C)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(C.fallbackContext=void 0)}if(W!=="translate exists"&&_e(xe)&&xe===$n||W==="translate exists"&&!xe){const[ze,Nn]=L();if(process.env.NODE_ENV!=="production"&&n&&A(ze)&&Z(W,Nn)&&(_&&(gn(g,ze)||ei(b,ze))&&Ee(Ae(ce.FALLBACK_TO_ROOT,{key:ze,type:W})),process.env.NODE_ENV!=="production")){const{__v_emitter:zt}=C;zt&&_&&zt.emit("fallback",{type:W,key:ze,to:"global",groupId:`${W}:${ze}`})}return n&&_?X(n):Me(ze)}else{if(et(xe))return xe;throw ye(K.UNEXPECTED_RETURN_TYPE)}};function re(...S){return G(L=>Reflect.apply(Go,null,[L,...S]),()=>zn(...S),"translate",L=>Reflect.apply(L.t,L,[...S]),L=>L,L=>A(L))}function ue(...S){const[L,W,X]=S;if(X&&!Y(X))throw ye(K.INVALID_ARGUMENT);return re(L,W,Ne({resolvedMessage:!0},X||{}))}function te(...S){return G(L=>Reflect.apply(Ko,null,[L,...S]),()=>Yn(...S),"datetime format",L=>Reflect.apply(L.d,L,[...S]),()=>an,L=>A(L))}function se(...S){return G(L=>Reflect.apply(Yo,null,[L,...S]),()=>qn(...S),"number format",L=>Reflect.apply(L.n,L,[...S]),()=>an,L=>A(L))}function Se(S){return S.map(L=>A(L)||_e(L)||H(L)?Xo(String(L)):L)}const le={normalize:Se,interpolate:S=>S,type:"vnode"};function Oe(...S){return G(L=>{let W;const X=L;try{X.processor=le,W=Reflect.apply(Go,null,[X,...S])}finally{X.processor=null}return W},()=>zn(...S),"translate",L=>L[Jn](...S),L=>[Xo(L)],L=>ee(L))}function me(...S){return G(L=>Reflect.apply(Yo,null,[L,...S]),()=>qn(...S),"number format",L=>L[Qn](...S),Zo,L=>A(L)||ee(L))}function q(...S){return G(L=>Reflect.apply(Ko,null,[L,...S]),()=>Yn(...S),"datetime format",L=>L[Zn](...S),Zo,L=>A(L)||ee(L))}function F(S){I=S,C.pluralRules=I}function $(S,L){return G(()=>{if(!S)return!1;const W=A(L)?L:d.value,X=P(W),Me=C.messageResolver(X,S);return st(Me)||Re(Me)||A(Me)},()=>[S],"translate exists",W=>Reflect.apply(W.te,W,[S,L]),Rf,W=>H(W))}function p(S){let L=null;const W=Ys(C,c.value,d.value);for(let X=0;X<W.length;X++){const Me=f.value[W[X]]||{},et=C.messageResolver(Me,S);if(et!=null){L=et;break}}return L}function N(S){const L=p(S);return L??(n?n.tm(S)||{}:{})}function P(S){return f.value[S]||{}}function M(S,L){if(o){const W={[S]:L};for(const X in W)sn(W,X)&&Rt(W[X]);L=W[S]}f.value[S]=L,C.messages=f.value}function j(S,L){f.value[S]=f.value[S]||{};const W={[S]:L};if(o)for(const X in W)sn(W,X)&&Rt(W[X]);L=W[S],Zt(L,f.value[S]),C.messages=f.value}function pe(S){return u.value[S]||{}}function Te(S,L){u.value[S]=L,C.datetimeFormats=u.value,zo(C,S,L)}function Ct(S,L){u.value[S]=Ne(u.value[S]||{},L),C.datetimeFormats=u.value,zo(C,S,L)}function St(S){return m.value[S]||{}}function Wt(S,L){m.value[S]=L,C.numberFormats=m.value,qo(C,S,L)}function Kt(S,L){m.value[S]=Ne(m.value[S]||{},L),C.numberFormats=m.value,qo(C,S,L)}Qo++,n&&Ue&&(i.watch(n.locale,S=>{l&&(d.value=S,C.locale=S,Tt(C,d.value,c.value))}),i.watch(n.fallbackLocale,S=>{l&&(c.value=S,C.fallbackLocale=S,Tt(C,d.value,c.value))}));const de={id:Qo,locale:V,fallbackLocale:x,get inheritLocale(){return l},set inheritLocale(S){l=S,S&&n&&(d.value=n.locale.value,c.value=n.fallbackLocale.value,Tt(C,d.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:J,get modifiers(){return k},get pluralRules(){return I||{}},get isGlobal(){return s},get missingWarn(){return b},set missingWarn(S){b=S,C.missingWarn=b},get fallbackWarn(){return g},set fallbackWarn(S){g=S,C.fallbackWarn=g},get fallbackRoot(){return _},set fallbackRoot(S){_=S},get fallbackFormat(){return E},set fallbackFormat(S){E=S,C.fallbackFormat=E},get warnHtmlMessage(){return v},set warnHtmlMessage(S){v=S,C.warnHtmlMessage=S},get escapeParameter(){return T},set escapeParameter(S){T=S,C.escapeParameter=S},t:re,getLocaleMessage:P,setLocaleMessage:M,mergeLocaleMessage:j,getPostTranslationHandler:ne,setPostTranslationHandler:be,getMissingHandler:Ce,setMissingHandler:fe,[fi]:F};return de.datetimeFormats=ae,de.numberFormats=ge,de.rt=ue,de.te=$,de.tm=N,de.d=te,de.n=se,de.getDateTimeFormat=pe,de.setDateTimeFormat=Te,de.mergeDateTimeFormat=Ct,de.getNumberFormat=St,de.setNumberFormat=Wt,de.mergeNumberFormat=Kt,de[mi]=r,de[Jn]=Oe,de[Zn]=q,de[Qn]=me,process.env.NODE_ENV!=="production"&&(de[ct]=S=>{C.__v_emitter=S},de[Dt]=()=>{C.__v_emitter=void 0}),de}function Mf(e){const t=A(e.locale)?e.locale:bt,n=A(e.fallbackLocale)||ee(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Q(e.missing)?e.missing:void 0,s=H(e.silentTranslationWarn)||ot(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=H(e.silentFallbackWarn)||ot(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=H(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,d=U(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=Q(e.postTranslation)?e.postTranslation:void 0,u=A(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,b=H(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ee(Ae(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ee(Ae(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let g=e.messages;if(U(e.sharedMessages)){const T=e.sharedMessages;g=Object.keys(T).reduce((I,C)=>{const D=I[C]||(I[C]={});return Ne(D,T[C]),I},g||{})}const{__i18n:_,__root:E,__injectWithOption:h}=e,y=e.datetimeFormats,O=e.numberFormats,v=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:v,datetimeFormats:y,numberFormats:O,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:l,modifiers:d,pluralRules:c,postTranslation:f,warnHtmlMessage:u,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:b,__i18n:_,__root:E,__injectWithOption:h}}function tr(e={},t){{const n=Cr(Mf(e)),{__extender:r}=e,s={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"&&Ee(Ae(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(o){process.env.NODE_ENV!=="production"&&Ee(Ae(ce.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"&&Ee(Ae(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(o){process.env.NODE_ENV!=="production"&&Ee(Ae(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[a,l,d]=o,c={};let f=null,u=null;if(!A(a))throw ye(K.INVALID_ARGUMENT);const m=a;return A(l)?c.locale=l:ee(l)?f=l:U(l)&&(u=l),ee(d)?f=d:U(d)&&(u=d),Reflect.apply(n.t,n,[m,f||u||{},c])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[a,l,d]=o,c={plural:1};let f=null,u=null;if(!A(a))throw ye(K.INVALID_ARGUMENT);const m=a;return A(l)?c.locale=l:_e(l)?c.plural=l:ee(l)?f=l:U(l)&&(u=l),A(d)?c.locale=d:ee(d)?f=d:U(d)&&(u=d),Reflect.apply(n.t,n,[m,f||u||{},c])},te(o,a){return n.te(o,a)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,a){n.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){n.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,a){n.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){n.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,a){n.setNumberFormat(o,a)},mergeNumberFormat(o,a){n.mergeNumberFormat(o,a)},getChoiceIndex(o,a){return process.env.NODE_ENV!=="production"&&Ee(Ae(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return s.__extender=r,process.env.NODE_ENV!=="production"&&(s.__enableEmitter=o=>{const a=n;a[ct]&&a[ct](o)},s.__disableEmitter=()=>{const o=n;o[Dt]&&o[Dt]()}),s}}const Sr={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,s)=>[...r,...s.type===i.Fragment?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function $i(e){return i.Fragment}const Bf=i.defineComponent({name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>_e(e)||!isNaN(e)}},Sr),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ft({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(u=>u!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=A(e.plural)?+e.plural:e.plural);const l=xf(t,o),d=s[Jn](e.keypath,l,a),c=Ne({},r),f=A(e.tag)||Y(e.tag)?e.tag:$i();return i.h(f,c,d)}}}),In=Bf;function Vf(e){return ee(e)&&!A(e[0])}function gi(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let l={};e.locale&&(a.locale=e.locale),A(e.format)?a.key=e.format:Y(e.format)&&(A(e.format.key)&&(a.key=e.format.key),l=Object.keys(e.format).reduce((m,b)=>n.includes(b)?Ne({},m,{[b]:e.format[b]}):m,{}));const d=r(e.value,a,l);let c=[a.key];ee(d)?c=d.map((m,b)=>{const g=s[m.type],_=g?g({[m.type]:m.value,index:b,parts:d}):[m.value];return Vf(_)&&(_[0].key=`${m.type}-${b}`),_}):A(d)&&(c=[d]);const f=Ne({},o),u=A(e.tag)||Y(e.tag)?e.tag:$i();return i.h(u,f,c)}}const Uf=i.defineComponent({name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},Sr),setup(e,t){const n=e.i18n||ft({useScope:"parent",__useComponent:!0});return gi(e,t,li,(...r)=>n[Qn](...r))}}),ts=Uf,jf=i.defineComponent({name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sr),setup(e,t){const n=e.i18n||ft({useScope:"parent",__useComponent:!0});return gi(e,t,ai,(...r)=>n[Zn](...r))}}),ns=jf;function Hf(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 Gf(e){const t=a=>{const{instance:l,modifiers:d,value:c}=a;if(!l||!l.$)throw ye(K.UNEXPECTED_ERROR);const f=Hf(e,l.$);process.env.NODE_ENV!=="production"&&d.preserve&&Ee(Ae(ce.NOT_SUPPORTED_PRESERVE));const u=rs(c);return[Reflect.apply(f.t,f,[...os(u)]),f]};return{created:(a,l)=>{const[d,c]=t(l);Ue&&e.global===c&&(a.__i18nWatcher=i.watch(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=c,a.textContent=d},unmounted:a=>{Ue&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const d=a.__composer,c=rs(l);a.textContent=Reflect.apply(d.t,d,[...os(c)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function rs(e){if(A(e))return{path:e};if(U(e)){if(!("path"in e))throw ye(K.REQUIRED_VALUE,"path");return e}else throw ye(K.INVALID_VALUE)}function os(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},l=r||{};return A(n)&&(a.locale=n),_e(s)&&(a.plural=s),_e(o)&&(a.plural=o),[t,l,a]}function Wf(e,t,...n){const r=U(n[0])?n[0]:{},s=!!r.useI18nComponentName,o=H(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&o&&s&&Ee(Ae(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:In.name})),o&&([s?"i18n":In.name,"I18nT"].forEach(a=>e.component(a,In)),[ts.name,"I18nN"].forEach(a=>e.component(a,ts)),[ns.name,"I18nD"].forEach(a=>e.component(a,ns))),e.directive("t",Gf(t))}const Ln={"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},_i="vue-i18n: composer properties";let nr;async function Yf(e,t){return new Promise((n,r)=>{try{If({id:"vue-devtools-plugin-vue-i18n",label:Ln["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:[_i],app:e},s=>{nr=s,s.on.visitComponentTree(({componentInstance:a,treeNode:l})=>{qf(a,l,t)}),s.on.inspectComponent(({componentInstance:a,instanceData:l})=>{a.vnode.el&&a.vnode.el.__VUE_I18N__&&l&&(t.mode==="legacy"?a.vnode.el.__VUE_I18N__!==t.global.__composer&&ss(l,a.vnode.el.__VUE_I18N__):ss(l,a.vnode.el.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:Ln["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Kf["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&e0(a,t)});const o=new Map;s.on.getInspectorState(async a=>{if(a.app===e&&a.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),n0(a,t),a.nodeId==="global"){if(!o.has(a.app)){const[l]=await s.getComponentInstances(a.app);o.set(a.app,l)}s.highlightElement(o.get(a.app))}else{const l=t0(a.nodeId,t);l&&s.highlightElement(l)}}),s.on.editInspectorState(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&o0(a,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:Ln["vue-i18n-timeline"],color:zf["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),r(!1)}})}function yi(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 s={label:`i18n (${yi(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function ss(e,t){const n=_i;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:Tr(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 Tr(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Q(r)&&"source"in r?t[n]=Qf(r):st(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:Y(r)?t[n]=Tr(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,s]of t.__instances){const o=t.mode==="composition"?s:s.__composer;n!==o&&e.rootNodes.push({id:o.id.toString(),label:`${yi(r)} Scope`})}}function t0(e,t){let n=null;if(e!=="global"){for(const[r,s]of t.__instances.entries())if(s.id.toString()===e){n=r;break}}return n}function bi(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=bi(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 s="Locale messages info",o=[{type:s,key:"messages",editable:!1,value:Tr(e.messages.value)}];t[s]=o;{const a="Datetime formats info",l=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=l;const d="Datetime formats info",c=[{type:d,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[d]=c}return t}function Ft(e,t){if(nr){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),nr.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=bi(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&A(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(A(e.state.value)||ee(e.state.value)||Y(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&H(e.state.value)&&(n.inheritLocale=e.state.value)}}function s0(e,t,n){return{beforeCreate(){const r=i.getCurrentInstance();if(!r)throw ye(K.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;if(s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root)this.$i18n=is(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=tr(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=is(e,s);else{this.$i18n=tr({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&hi(t,s,s),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,a)=>this.$i18n.te(o,a),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 s=this.__v_emitter=vr();r.__enableEmitter&&r.__enableEmitter(s),s.on("*",Ft)}},unmounted(){const r=i.getCurrentInstance();if(!r)throw ye(K.UNEXPECTED_ERROR);const s=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Ft),delete this.__v_emitter),this.$i18n&&(s.__disableEmitter&&s.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function is(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[fi](t.pluralizationRules||e.pluralizationRules);const n=_n(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 i0=We("global-vue-i18n");function a0(e={},t){const n=__VUE_I18N_LEGACY_API__&&H(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=H(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[a,l]=l0(e,n),d=We(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&s&&Ee(Ae(ce.NOTICE_DROP_ALLOW_COMPOSITION));function c(m){return o.get(m)||null}function f(m,b){o.set(m,b)}function u(m){o.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(b,...g){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=m),b.__VUE_I18N_SYMBOL__=d,b.provide(b.__VUE_I18N_SYMBOL__,m),U(g[0])){const h=g[0];m.__composerExtend=h.__composerExtend,m.__vueI18nExtend=h.__vueI18nExtend}let _=null;!n&&r&&(_=g0(b,m.global)),__VUE_I18N_FULL_INSTALL__&&Wf(b,m,...g),__VUE_I18N_LEGACY_API__&&n&&b.mixin(s0(l,l.__composer,m));const E=b.unmount;if(b.unmount=()=>{_&&_(),m.dispose(),E()},process.env.NODE_ENV!=="production"){if(!await Yf(b,m))throw ye(K.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=vr();if(n){const O=l;O.__enableEmitter&&O.__enableEmitter(y)}else{const O=l;O[ct]&&O[ct](y)}y.on("*",Ft)}},get global(){return l},dispose(){a.stop()},__instances:o,__getInstance:c,__setInstance:f,__deleteInstance:u};return m}}function ft(e={}){const t=i.getCurrentInstance();if(t==null)throw ye(K.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ye(K.NOT_INSTALLED);const n=d0(t),r=u0(n),s=pi(t),o=c0(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ye(K.NOT_AVAILABLE_IN_LEGACY_MODE);return h0(t,o,r,e)}if(o==="global")return hi(r,e,s),r;if(o==="parent"){let d=f0(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ee(Ae(ce.NOT_FOUND_PARENT_SCOPE)),d=r),d}const a=n;let l=a.__getInstance(t);if(l==null){const d=Ne({},e);"__i18n"in s&&(d.__i18n=s.__i18n),r&&(d.__root=r),l=Cr(d),a.__composerExtend&&(l[er]=a.__composerExtend(l)),p0(a,t,l),a.__setInstance(t,l)}return l}function l0(e,t,n){const r=i.effectScope();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>tr(e)):r.run(()=>Cr(e));if(s==null)throw ye(K.UNEXPECTED_ERROR);return[r,s]}}function d0(e){{const t=i.inject(e.isCE?i0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ye(e.isCE?K.NOT_INSTALLED_WITH_PROVIDE:K.UNEXPECTED_ERROR);return t}}function c0(e,t){return hn(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 s=t.root;let o=m0(t,n);for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=a.__getInstance(o);l!=null&&(r=l.__composer,n&&r&&!r[mi]&&(r=null))}if(r!=null||s===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;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=vr();const s=n;s[ct]&&s[ct](r),r.on("*",Ft)}},t),i.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Ft),s[Dt]&&s[Dt](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const o=s[er];o&&(o(),delete s[er])},t)}function h0(e,t,n,r={}){const s=t==="local",o=i.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ye(K.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=H(r.inheritLocale)?r.inheritLocale:!A(r.locale),l=i.ref(!s||a?n.locale.value:A(r.locale)?r.locale:bt),d=i.ref(!s||a?n.fallbackLocale.value:A(r.fallbackLocale)||ee(r.fallbackLocale)||U(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=i.ref(_n(l.value,r)),f=i.ref(U(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),u=i.ref(U(r.numberFormats)?r.numberFormats:{[l.value]:{}}),m=s?n.missingWarn:H(r.missingWarn)||ot(r.missingWarn)?r.missingWarn:!0,b=s?n.fallbackWarn:H(r.fallbackWarn)||ot(r.fallbackWarn)?r.fallbackWarn:!0,g=s?n.fallbackRoot:H(r.fallbackRoot)?r.fallbackRoot:!0,_=!!r.fallbackFormat,E=Q(r.missing)?r.missing:null,h=Q(r.postTranslation)?r.postTranslation:null,y=s?n.warnHtmlMessage:H(r.warnHtmlMessage)?r.warnHtmlMessage:!0,O=!!r.escapeParameter,v=s?n.modifiers:U(r.modifiers)?r.modifiers:{},T=r.pluralRules||s&&n.pluralRules;function k(){return[l.value,d.value,c.value,f.value,u.value]}const I=i.computed({get:()=>o.value?o.value.locale.value:l.value,set:p=>{o.value&&(o.value.locale.value=p),l.value=p}}),C=i.computed({get:()=>o.value?o.value.fallbackLocale.value:d.value,set:p=>{o.value&&(o.value.fallbackLocale.value=p),d.value=p}}),D=i.computed(()=>o.value?o.value.messages.value:c.value),R=i.computed(()=>f.value),V=i.computed(()=>u.value);function x(){return o.value?o.value.getPostTranslationHandler():h}function J(p){o.value&&o.value.setPostTranslationHandler(p)}function ae(){return o.value?o.value.getMissingHandler():E}function ge(p){o.value&&o.value.setMissingHandler(p)}function ne(p){return k(),p()}function be(...p){return o.value?ne(()=>Reflect.apply(o.value.t,null,[...p])):ne(()=>"")}function Ce(...p){return o.value?Reflect.apply(o.value.rt,null,[...p]):""}function fe(...p){return o.value?ne(()=>Reflect.apply(o.value.d,null,[...p])):ne(()=>"")}function Z(...p){return o.value?ne(()=>Reflect.apply(o.value.n,null,[...p])):ne(()=>"")}function G(p){return o.value?o.value.tm(p):{}}function re(p,N){return o.value?o.value.te(p,N):!1}function ue(p){return o.value?o.value.getLocaleMessage(p):{}}function te(p,N){o.value&&(o.value.setLocaleMessage(p,N),c.value[p]=N)}function se(p,N){o.value&&o.value.mergeLocaleMessage(p,N)}function Se(p){return o.value?o.value.getDateTimeFormat(p):{}}function ie(p,N){o.value&&(o.value.setDateTimeFormat(p,N),f.value[p]=N)}function le(p,N){o.value&&o.value.mergeDateTimeFormat(p,N)}function Oe(p){return o.value?o.value.getNumberFormat(p):{}}function me(p,N){o.value&&(o.value.setNumberFormat(p,N),u.value[p]=N)}function q(p,N){o.value&&o.value.mergeNumberFormat(p,N)}const F={get id(){return o.value?o.value.id:-1},locale:I,fallbackLocale:C,messages:D,datetimeFormats:R,numberFormats:V,get inheritLocale(){return o.value?o.value.inheritLocale:a},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:v},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:m},set missingWarn(p){o.value&&(o.value.missingWarn=p)},get fallbackWarn(){return o.value?o.value.fallbackWarn:b},set fallbackWarn(p){o.value&&(o.value.missingWarn=p)},get fallbackRoot(){return o.value?o.value.fallbackRoot:g},set fallbackRoot(p){o.value&&(o.value.fallbackRoot=p)},get fallbackFormat(){return o.value?o.value.fallbackFormat:_},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:O},set escapeParameter(p){o.value&&(o.value.escapeParameter=p)},t:be,getPostTranslationHandler:x,setPostTranslationHandler:J,getMissingHandler:ae,setMissingHandler:ge,rt:Ce,d:fe,n:Z,tm:G,te:re,getLocaleMessage:ue,setLocaleMessage:te,mergeLocaleMessage:se,getDateTimeFormat:Se,setDateTimeFormat:ie,mergeDateTimeFormat:le,getNumberFormat:Oe,setNumberFormat:me,mergeNumberFormat:q};function $(p){p.locale.value=l.value,p.fallbackLocale.value=d.value,Object.keys(c.value).forEach(N=>{p.mergeLocaleMessage(N,c.value[N])}),Object.keys(f.value).forEach(N=>{p.mergeDateTimeFormat(N,f.value[N])}),Object.keys(u.value).forEach(N=>{p.mergeNumberFormat(N,u.value[N])}),p.escapeParameter=O,p.fallbackFormat=_,p.fallbackRoot=g,p.fallbackWarn=b,p.missingWarn=m,p.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ye(K.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,f.value=p.datetimeFormats.value,u.value=p.numberFormats.value):s&&$(p)}),F}const $0=["locale","fallbackLocale","availableLocales"],as=["t","rt","d","n","tm","te"];function g0(e,t){const n=Object.create(null);return $0.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw ye(K.UNEXPECTED_ERROR);const a=i.isRef(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,a)}),e.config.globalProperties.$i18n=n,as.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw ye(K.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,as.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}Pf();__INTLIFY_JIT_COMPILATION__?Bo(gf):Bo($f);lf(Uu);df(Ys);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={},y0={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b0=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),v0=i.createElementVNode("path",{fill:"rgb(var(--black))","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,-1),E0=[b0,v0];function O0(e,t){return i.openBlock(),i.createElementBlock("svg",y0,E0)}const wr=$e(_0,[["render",O0]]);const N0={key:"popup-content",class:"pd-small popup-wrapper"},vi={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function s(){r("close-popup")}return i.watch(()=>n.isPopupOpen,a=>{a?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),_r(),gr(),ft({messages:{en:{},ru:{}}}),(a,l)=>e.isPopupOpen?(i.openBlock(),i.createBlock(i.Teleport,{key:0,to:"body"},[i.createVNode(i.Transition,{name:"TransitionTranslateY",appear:""},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("div",N0,[i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[e.isPopupOpen?(i.openBlock(),i.createElementBlock("section",i.mergeProps({key:0,class:"pos-relative z-index-4"},a.$attrs),[i.createVNode(wr,{onClick:l[0]||(l[0]=d=>s()),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"}),i.renderSlot(a.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:l[1]||(l[1]=d=>s()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},C0=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"})),S0={class:"flex-v-center flex-nowrap flex"},T0={key:0,class:"mn-r-auto t-transp mn-r-small"},w0=["name","value","checked"],k0={key:1,class:""},I0=i.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("g",{id:"24 / basic / check-mark"},[i.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),L0=[I0],Ei={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,s)=>(i.openBlock(),i.createElementBlock("label",S0,[e.label?(i.openBlock(),i.createElementBlock("div",T0,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onInput:s[0]||(s[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,w0),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",k0,L0)):i.createCommentVNode("",!0)]))}},P0=Object.freeze(Object.defineProperty({__proto__:null,default:Ei},Symbol.toStringTag,{value:"Module"}));const A0={key:0,class:"t-transp mn-r-small"},D0={class:"w-100"},R0=["onClick"],F0={key:0,class:"w-100"},M0={key:0,class:"mn-t-thin invalid-feedback"},x0={__name:"Select",props:{label:String,select:[String,Object],property:String,placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const n=t;let r=un;const s=e,o=i.ref(s.property?d(s.select,s.property,s.options):s.select),a=i.ref(!1);function l(){a.value=!1}function d(m,b,g){for(const _ of g)if(_[b]===m||_===m)return _;return null}i.watch(()=>s.select,m=>{o.value=s.property?d(s.select,s.property,s.options):s.select});const c=i.computed(()=>s.select?s.options.filter(m=>m!==s.select):s.options),f=()=>{a.value=!a.value,n(a.value?"focus":"blur")},u=m=>{o.value=m,f(),s.property?n("update:select",o.value[s.property]):n("update:select",o.value)};return(m,b)=>{var g,_;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.withDirectives((i.openBlock(),i.createElementBlock("div",{onClick:i.withModifiers(f,["stop"]),class:i.normalizeClass([m.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(i.openBlock(),i.createElementBlock("div",A0,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",D0,[i.createElementVNode("span",null,i.toDisplayString((g=o.value)!=null&&g.name?(_=o.value)==null?void 0:_.name:o.value||e.placeholder),1)]),i.createVNode(i.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("ul",{class:i.normalizeClass([m.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c.value,E=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers(h=>u(E),["stop"])},[E?(i.openBlock(),i.createElementBlock("span",F0,i.toDisplayString(E.name||E),1)):i.createCommentVNode("",!0)],8,R0))),256))],2),[[i.vShow,a.value]])]),_:1})],2)),[[i.unref(r),l]]),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",M0," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},Oi=$e(x0,[["__scopeId","data-v-67f55841"]]),B0=Object.freeze(Object.defineProperty({__proto__:null,default:Oi},Symbol.toStringTag,{value:"Module"}));function Pn(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function V0(e){return(...t)=>!e(...t)}function U0(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function Ni(e,t,n,r){return t?e.filter(s=>U0(r(s,n),t)).sort((s,o)=>r(s,n).length-r(o,n).length):e}function j0(e){return e.filter(t=>!t.$isLabel)}function An(e,t){return n=>n.reduce((r,s)=>s[e]&&s[e].length?(r.push({$groupLabel:s[t],$isLabel:!0}),r.concat(s[e])):r,[])}function H0(e,t,n,r,s){return o=>o.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=Ni(a[n],e,t,s);return l.length?{[r]:a[r],[n]:l}:[]})}const ls=(...e)=>t=>e.reduce((n,r)=>r(n),t),G0={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 Pn(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):Ni(n,t,this.label,this.customLabel):n=this.groupValues?An(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(V0(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 ls(H0(t,n,this.groupValues,this.groupLabel,this.customLabel),An(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return ls(An(this.groupValues,this.groupLabel),j0)(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(Pn(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Pn(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))}}},W0={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const K0={name:"vue-multiselect",mixins:[G0,W0],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)}}},z0=["tabindex","aria-owns"],Y0={ref:"tags",class:"multiselect__tags"},q0={class:"multiselect__tags-wrap"},X0=["textContent"],J0=["onKeypress","onMousedown"],Z0=["textContent"],Q0={class:"multiselect__spinner"},e1=["name","id","placeholder","value","disabled","tabindex","aria-controls"],t1=["id"],n1={key:0},r1={class:"multiselect__option"},o1=["id","role"],s1=["onClick","onMouseenter","data-select","data-selected","data-deselect"],i1=["data-select","data-deselect","onMouseenter","onMousedown"],a1={class:"multiselect__option"},l1={class:"multiselect__option"};function d1(e,t,n,r,s,o){return i.openBlock(),i.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:i.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect flex flex-v-center"]),onFocus:t[13]||(t[13]=a=>e.activate()),onBlur:t[14]||(t[14]=a=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(a=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(a=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(a=>e.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(a=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[i.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[i.createElementVNode("div",{onMousedown:t[0]||(t[0]=i.withModifiers(a=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",Y0,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:o.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",q0,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.visibleValues,(a,l)=>i.renderSlot(e.$slots,"tag",{option:a,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:l},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(a))},null,8,X0),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(d=>e.removeElement(a),["prevent"]),["enter"]),onMousedown:i.withModifiers(d=>e.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,J0)]))])),256))],512),[[i.vShow,o.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?i.renderSlot(e.$slots,"limit",{key:0},()=>[i.createElementVNode("strong",{class:"multiselect__strong",textContent:i.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Z0)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",Q0,null,512),[[i.vShow,n.loading]])])]),_:3}),e.searchable?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:i.normalizeStyle(o.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=a=>e.updateSearch(a.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(a=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(a=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(a=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(a=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(a=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(a=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(a=>e.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,e1)):i.createCommentVNode("",!0),o.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...a)=>e.toggle&&e.toggle(...a),["prevent"]))},[i.renderSlot(e.$slots,"singleLabel",{option:o.singleValue},()=>[i.createTextVNode(i.toDisplayString(e.currentOptionLabel),1)])],32)):i.createCommentVNode("",!0),o.isPlaceholderVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=i.withModifiers((...a)=>e.toggle&&e.toggle(...a),["prevent"]))},[i.renderSlot(e.$slots,"placeholder",{},()=>[i.createTextVNode(i.toDisplayString(e.placeholder),1)])],32)):i.createCommentVNode("",!0)],512),i.createVNode(i.Transition,{name:"multiselect"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...a)=>e.activate&&e.activate(...a)),tabindex:"-1",onMousedown:t[12]||(t[12]=i.withModifiers(()=>{},["prevent"])),style:i.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[i.createElementVNode("ul",{class:"multiselect__content",style:i.normalizeStyle(o.contentStyle),role:"listbox",id:"listbox-"+e.id},[i.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(i.openBlock(),i.createElementBlock("li",n1,[i.createElementVNode("span",r1,[i.renderSlot(e.$slots,"maxElements",{},()=>[i.createTextVNode("Maximum of "+i.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):i.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(e.filteredOptions,(a,l)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(l,a),"multiselect__option"]),onClick:i.withModifiers(d=>e.select(a),["stop"]),onMouseenter:i.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":a&&a.isTag?e.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:a,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(a)),1)])],42,s1)),a&&(a.$isLabel||a.$isDisabled)?(i.openBlock(),i.createElementBlock("span",{key:1,"data-select":e.groupSelect&&o.selectGroupLabelText,"data-deselect":e.groupSelect&&o.deselectGroupLabelText,class:i.normalizeClass([e.groupHighlight(l,a),"multiselect__option"]),onMouseenter:i.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:i.withModifiers(d=>e.selectGroup(a),["prevent"])},[i.renderSlot(e.$slots,"option",{option:a,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(a)),1)])],42,i1)):i.createCommentVNode("",!0)],8,o1))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",a1,[i.renderSlot(e.$slots,"noResult",{search:e.search},()=>[i.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[i.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",l1,[i.renderSlot(e.$slots,"noOptions",{},()=>[i.createTextVNode("List is empty.")])])],512),[[i.vShow,n.showNoOptions&&(e.options.length===0||o.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),i.renderSlot(e.$slots,"afterList")],12,t1)],38),[[i.vShow,e.isOpen]])]),_:3})],42,z0)}const Ci=$e(K0,[["render",d1]]),c1=Object.freeze(Object.defineProperty({__proto__:null,default:Ci},Symbol.toStringTag,{value:"Module"}));const u1={key:0,class:"spoiler"},Si={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1);return t.status&&(n.value=t.status),(r,s)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:s[0]||(s[0]=o=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[i.renderSlot(r.$slots,"header",{isOpen:n.value})]),i.createVNode(i.Transition,{name:"collapse"},{default:i.withCtx(()=>[n.value?(i.openBlock(),i.createElementBlock("div",u1,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},f1=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"}));const m1={class:""},p1={class:"flex-nowrap flex-v-center flex pos-relative"},h1=["onClick"],Ti={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,s=i.ref(0);if(r.selected){const c=r.tabs.findIndex(f=>f.value===r.selected);c!==-1&&(s.value=c)}function o(c,f){s.value=c,n("update:selected",f.value),r.callback&&r.callback()}function a(c){return`${100/r.tabs.length*c}%`}function l(){return`${100/r.tabs.length}%`}const d=i.computed(()=>({left:a(s.value),width:l()}));return(c,f)=>(i.openBlock(),i.createElementBlock("div",m1,[i.createElementVNode("div",p1,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(u,m)=>(i.openBlock(),i.createElementBlock("div",{key:m,onClick:b=>o(m,u),class:i.normalizeClass([{"t-transp":m!==s.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(u.name),1)],10,h1))),128)),i.createElementVNode("div",{style:i.normalizeStyle(d.value),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},$1=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"}));const g1={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=i.ref(!1),n=i.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(o){t.value=!0,n.left=`${o.clientX/100+10}px`,n.top=`${o.clientY/100+10}px`,n.display="block"}function s(){t.value=!1,n.display="none"}return(o,a)=>(i.openBlock(),i.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:s},[i.renderSlot(o.$slots,"default",{},void 0,!0),i.createElementVNode("div",{class:"tooltip-content",style:i.normalizeStyle(n)},i.toDisplayString(e.text),5)],32))}},wi=$e(g1,[["__scopeId","data-v-0065753a"]]),_1=Object.freeze(Object.defineProperty({__proto__:null,default:wi},Symbol.toStringTag,{value:"Module"})),y1={key:0,class:"cursor-pointer t-second"},ki={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1),r=i.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),s=i.computed(()=>t.text),o=()=>{n.value=!n.value},a=i.computed(()=>n.value?s.value:r.value),l=i.computed(()=>t.text.length>t.maxLen),d=i.computed(()=>n.value?"Hide":"Show more");return(c,f)=>(i.openBlock(),i.createElementBlock("span",{onClick:o,class:""},[i.createTextVNode(i.toDisplayString(a.value)+" ",1),l.value&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",y1,i.toDisplayString(d.value),1)):i.createCommentVNode("",!0)]))}},b1=Object.freeze(Object.defineProperty({__proto__:null,default:ki},Symbol.toStringTag,{value:"Module"}));function Ii(e,t){return function(){return e.apply(t,arguments)}}const{toString:v1}=Object.prototype,{getPrototypeOf:kr}=Object,yn=(e=>t=>{const n=v1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ke=e=>(e=e.toLowerCase(),t=>yn(t)===e),bn=e=>t=>typeof t===e,{isArray:Nt}=Array,Mt=bn("undefined");function E1(e){return e!==null&&!Mt(e)&&e.constructor!==null&&!Mt(e.constructor)&&Fe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Li=Ke("ArrayBuffer");function O1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Li(e.buffer),t}const N1=bn("string"),Fe=bn("function"),Pi=bn("number"),vn=e=>e!==null&&typeof e=="object",C1=e=>e===!0||e===!1,Qt=e=>{if(yn(e)!=="object")return!1;const t=kr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S1=Ke("Date"),T1=Ke("File"),w1=Ke("Blob"),k1=Ke("FileList"),I1=e=>vn(e)&&Fe(e.pipe),L1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Fe(e.append)&&((t=yn(e))==="formdata"||t==="object"&&Fe(e.toString)&&e.toString()==="[object FormData]"))},P1=Ke("URLSearchParams"),A1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ut(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Nt(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let l;for(r=0;r<a;r++)l=o[r],t.call(null,e[l],l,e)}}function Ai(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Di=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ri=e=>!Mt(e)&&e!==Di;function rr(){const{caseless:e}=Ri(this)&&this||{},t={},n=(r,s)=>{const o=e&&Ai(t,s)||s;Qt(t[o])&&Qt(r)?t[o]=rr(t[o],r):Qt(r)?t[o]=rr({},r):Nt(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Ut(arguments[r],n);return t}const D1=(e,t,n,{allOwnKeys:r}={})=>(Ut(t,(s,o)=>{n&&Fe(s)?e[o]=Ii(s,n):e[o]=s},{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 s,o,a;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&kr(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(Nt(e))return e;let t=e.length;if(!Pi(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"&&kr(Uint8Array)),U1=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.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},H1=Ke("HTMLFormElement"),G1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ds=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),W1=Ke("RegExp"),Fi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ut(n,(s,o)=>{let a;(a=t(s,o,e))!==!1&&(r[o]=a||s)}),Object.defineProperties(e,r)},K1=e=>{Fi(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=s=>{s.forEach(o=>{n[o]=!0})};return Nt(e)?r(e):r(String(e).split(t)),n},Y1=()=>{},q1=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Dn="abcdefghijklmnopqrstuvwxyz",cs="0123456789",Mi={DIGIT:cs,ALPHA:Dn,ALPHA_DIGIT:Dn+Dn.toUpperCase()+cs},X1=(e=16,t=Mi.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,s)=>{if(vn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Nt(r)?[]:{};return Ut(r,(a,l)=>{const d=n(a,s+1);!Mt(d)&&(o[l]=d)}),t[s]=void 0,o}}return r};return n(e,0)},Q1=Ke("AsyncFunction"),e2=e=>e&&(vn(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),w={isArray:Nt,isArrayBuffer:Li,isBuffer:E1,isFormData:L1,isArrayBufferView:O1,isString:N1,isNumber:Pi,isBoolean:C1,isObject:vn,isPlainObject:Qt,isUndefined:Mt,isDate:S1,isFile:T1,isBlob:w1,isRegExp:W1,isFunction:Fe,isStream:I1,isURLSearchParams:P1,isTypedArray:V1,isFileList:k1,forEach:Ut,merge:rr,extend:D1,trim:A1,stripBOM:R1,inherits:F1,toFlatObject:M1,kindOf:yn,kindOfTest:Ke,endsWith:x1,toArray:B1,forEachEntry:U1,matchAll:j1,isHTMLForm:H1,hasOwnProperty:ds,hasOwnProp:ds,reduceDescriptors:Fi,freezeMethods:K1,toObjectSet:z1,toCamelCase:G1,noop:Y1,toFiniteNumber:q1,findKey:Ai,global:Di,isContextDefined:Ri,ALPHABET:Mi,generateString:X1,isSpecCompliantForm:J1,toJSONObject:Z1,isAsyncFn:Q1,isThenable:e2};function z(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}w.inherits(z,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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const xi=z.prototype,Bi={};["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=>{Bi[e]={value:e}});Object.defineProperties(z,Bi);Object.defineProperty(xi,"isAxiosError",{value:!0});z.from=(e,t,n,r,s,o)=>{const a=Object.create(xi);return w.toFlatObject(e,a,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),z.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const t2=null;function or(e){return w.isPlainObject(e)||w.isArray(e)}function Vi(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function us(e,t,n){return e?e.concat(t).map(function(s,o){return s=Vi(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function n2(e){return w.isArray(e)&&!e.some(or)}const r2=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function En(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,E){return!w.isUndefined(E[_])});const r=n.metaTokens,s=n.visitor||f,o=n.dots,a=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(s))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(w.isDate(g))return g.toISOString();if(!d&&w.isBlob(g))throw new z("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(g)||w.isTypedArray(g)?d&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function f(g,_,E){let h=g;if(g&&!E&&typeof g=="object"){if(w.endsWith(_,"{}"))_=r?_:_.slice(0,-2),g=JSON.stringify(g);else if(w.isArray(g)&&n2(g)||(w.isFileList(g)||w.endsWith(_,"[]"))&&(h=w.toArray(g)))return _=Vi(_),h.forEach(function(O,v){!(w.isUndefined(O)||O===null)&&t.append(a===!0?us([_],v,o):a===null?_:_+"[]",c(O))}),!1}return or(g)?!0:(t.append(us(E,_,o),c(g)),!1)}const u=[],m=Object.assign(r2,{defaultVisitor:f,convertValue:c,isVisitable:or});function b(g,_){if(!w.isUndefined(g)){if(u.indexOf(g)!==-1)throw Error("Circular reference detected in "+_.join("."));u.push(g),w.forEach(g,function(h,y){(!(w.isUndefined(h)||h===null)&&s.call(t,h,w.isString(y)?y.trim():y,_,m))===!0&&b(h,_?_.concat(y):[y])}),u.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return b(e),t}function fs(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ir(e,t){this._pairs=[],e&&En(e,this,t)}const Ui=Ir.prototype;Ui.append=function(t,n){this._pairs.push([t,n])};Ui.toString=function(t){const n=t?function(r){return t.call(this,r,fs)}:fs;return this._pairs.map(function(s){return n(s[0])+"="+n(s[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 ji(e,t,n){if(!t)return e;const r=n&&n.encode||o2,s=n&&n.serialize;let o;if(s?o=s(t,n):o=w.isURLSearchParams(t)?t.toString():new Ir(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class s2{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){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ms=s2,Hi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},i2=typeof URLSearchParams<"u"?URLSearchParams:Ir,a2=typeof FormData<"u"?FormData:null,l2=typeof Blob<"u"?Blob:null,d2={isBrowser:!0,classes:{URLSearchParams:i2,FormData:a2,Blob:l2},protocols:["http","https","file","blob","url","data"]},Gi=typeof window<"u"&&typeof document<"u",c2=(e=>Gi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),u2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),f2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Gi,hasStandardBrowserEnv:c2,hasStandardBrowserWebWorkerEnv:u2},Symbol.toStringTag,{value:"Module"})),Ge={...f2,...d2};function m2(e,t){return En(e,new Ge.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return Ge.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function p2(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function h2(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Wi(e){function t(n,r,s,o){let a=n[o++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=o>=n.length;return a=!a&&w.isArray(s)?s.length:a,d?(w.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!w.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],o)&&w.isArray(s[a])&&(s[a]=h2(s[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,s)=>{t(p2(r),s,n,0)}),n}return null}function $2(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Lr={transitional:Hi,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=w.isObject(t);if(o&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return s?JSON.stringify(Wi(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.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 m2(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return En(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),$2(t)):t}],transformResponse:[function(t){const n=this.transitional||Lr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&w.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?z.from(l,z.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ge.classes.FormData,Blob:Ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Lr.headers[e]={}});const Pr=Lr,g2=w.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"]),_2=e=>{const t={};let n,r,s;return e&&e.split(`
|
32
|
+
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&g2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ps=Symbol("internals");function wt(e){return e&&String(e).trim().toLowerCase()}function en(e){return e===!1||e==null?e:w.isArray(e)?e.map(en):String(e)}function y2(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 b2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Rn(e,t,n,r,s){if(w.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function v2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function E2(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}class On{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,d,c){const f=wt(d);if(!f)throw new Error("header name must be a non-empty string");const u=w.findKey(s,f);(!u||s[u]===void 0||c===!0||c===void 0&&s[u]!==!1)&&(s[u||d]=en(l))}const a=(l,d)=>w.forEach(l,(c,f)=>o(c,f,d));return w.isPlainObject(t)||t instanceof this.constructor?a(t,n):w.isString(t)&&(t=t.trim())&&!b2(t)?a(_2(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=wt(t),t){const r=w.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return y2(s);if(w.isFunction(n))return n.call(this,s,r);if(w.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Rn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=wt(a),a){const l=w.findKey(r,a);l&&(!n||Rn(r,r[l],l,n))&&(delete r[l],s=!0)}}return w.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Rn(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return w.forEach(this,(s,o)=>{const a=w.findKey(r,o);if(a){n[a]=en(s),delete n[o];return}const l=t?v2(o):String(o).trim();l!==o&&delete n[o],n[l]=en(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&w.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(s=>r.set(s)),r}static accessor(t){const r=(this[ps]=this[ps]={accessors:{}}).accessors,s=this.prototype;function o(a){const l=wt(a);r[l]||(E2(s,a),r[l]=!0)}return w.isArray(t)?t.forEach(o):o(t),this}}On.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(On.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});w.freezeMethods(On);const Ze=On;function Fn(e,t){const n=this||Pr,r=t||n,s=Ze.from(r.headers);let o=r.data;return w.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Ki(e){return!!(e&&e.__CANCEL__)}function jt(e,t,n){z.call(this,e??"canceled",z.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(jt,z,{__CANCEL__:!0});function O2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new z("Request failed with status code "+n.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const N2=Ge.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),w.isString(r)&&a.push("path="+r),w.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.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 C2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zi(e,t){return e&&!C2(t)?S2(e,t):t}const T2=Ge.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const l=w.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function w2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function k2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),f=r[o];a||(a=c),n[s]=d,r[s]=c;let u=o,m=0;for(;u!==s;)m+=n[u++],u=u%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const b=f&&c-f;return b?Math.round(m*1e3/b):void 0}}function hs(e,t){let n=0;const r=k2(50,250);return s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-n,d=r(l),c=o<=a;n=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:d||void 0,estimated:d&&a&&c?(a-o)/d:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}const I2=typeof XMLHttpRequest<"u",L2=I2&&function(e){return new Promise(function(n,r){let s=e.data;const o=Ze.from(e.headers).normalize();let{responseType:a,withXSRFToken:l}=e,d;function c(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}let f;if(w.isFormData(s)){if(Ge.hasStandardBrowserEnv||Ge.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[_,...E]=f?f.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...E].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+E))}const m=zi(e.baseURL,e.url);u.open(e.method.toUpperCase(),ji(m,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function b(){if(!u)return;const _=Ze.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),h={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:_,config:e,request:u};O2(function(O){n(O),c()},function(O){r(O),c()},h),u=null}if("onloadend"in u?u.onloadend=b:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(b)},u.onabort=function(){u&&(r(new z("Request aborted",z.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const h=e.transitional||Hi;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),r(new z(E,h.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,e,u)),u=null},Ge.hasStandardBrowserEnv&&(l&&w.isFunction(l)&&(l=l(e)),l||l!==!1&&T2(m))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&N2.read(e.xsrfCookieName);_&&o.set(e.xsrfHeaderName,_)}s===void 0&&o.setContentType(null),"setRequestHeader"in u&&w.forEach(o.toJSON(),function(E,h){u.setRequestHeader(h,E)}),w.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",hs(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",hs(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=_=>{u&&(r(!_||_.type?new jt(null,e,u):_),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const g=w2(m);if(g&&Ge.protocols.indexOf(g)===-1){r(new z("Unsupported protocol "+g+":",z.ERR_BAD_REQUEST,e));return}u.send(s||null)})},sr={http:t2,xhr:L2};w.forEach(sr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $s=e=>`- ${e}`,P2=e=>w.isFunction(e)||e===null||e===!1,Yi={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!P2(n)&&(r=sr[(a=String(n)).toLowerCase()],r===void 0))throw new z(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+o]=r}if(!r){const o=Object.entries(s).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
34
|
+
`+o.map($s).join(`
|
35
|
+
`):" "+$s(o[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:sr};function Mn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jt(null,e)}function gs(e){return Mn(e),e.headers=Ze.from(e.headers),e.data=Fn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Yi.getAdapter(e.adapter||Pr.adapter)(e).then(function(r){return Mn(e),r.data=Fn.call(e,e.transformResponse,r),r.headers=Ze.from(r.headers),r},function(r){return Ki(r)||(Mn(e),r&&r.response&&(r.response.data=Fn.call(e,e.transformResponse,r.response),r.response.headers=Ze.from(r.response.headers))),Promise.reject(r)})}const _s=e=>e instanceof Ze?e.toJSON():e;function vt(e,t){t=t||{};const n={};function r(c,f,u){return w.isPlainObject(c)&&w.isPlainObject(f)?w.merge.call({caseless:u},c,f):w.isPlainObject(f)?w.merge({},f):w.isArray(f)?f.slice():f}function s(c,f,u){if(w.isUndefined(f)){if(!w.isUndefined(c))return r(void 0,c,u)}else return r(c,f,u)}function o(c,f){if(!w.isUndefined(f))return r(void 0,f)}function a(c,f){if(w.isUndefined(f)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const d={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,f)=>s(_s(c),_s(f),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=d[f]||s,m=u(e[f],t[f],f);w.isUndefined(m)&&u!==l||(n[f]=m)}),n}const qi="1.6.7",Ar={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ar[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ys={};Ar.transitional=function(t,n,r){function s(o,a){return"[Axios v"+qi+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,l)=>{if(t===!1)throw new z(s(a," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!ys[a]&&(ys[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};function A2(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const l=e[o],d=l===void 0||a(l,o,e);if(d!==!0)throw new z("option "+o+" must be "+d,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+o,z.ERR_BAD_OPTION)}}const ir={assertOptions:A2,validators:Ar},rt=ir.validators;class ln{constructor(t){this.defaults=t,this.interceptors={request:new ms,response:new ms}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.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=vt(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ir.assertOptions(r,{silentJSONParsing:rt.transitional(rt.boolean),forcedJSONParsing:rt.transitional(rt.boolean),clarifyTimeoutError:rt.transitional(rt.boolean)},!1),s!=null&&(w.isFunction(s)?n.paramsSerializer={serialize:s}:ir.assertOptions(s,{encode:rt.function,serialize:rt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&w.merge(o.common,o[n.method]);o&&w.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=Ze.concat(a,o);const l=[];let d=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(d=d&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let f,u=0,m;if(!d){const g=[gs.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,c),m=g.length,f=Promise.resolve(n);u<m;)f=f.then(g[u++],g[u++]);return f}m=l.length;let b=n;for(u=0;u<m;){const g=l[u++],_=l[u++];try{b=g(b)}catch(E){_.call(this,E);break}}try{f=gs.call(this,b)}catch(g){return Promise.reject(g)}for(u=0,m=c.length;u<m;)f=f.then(c[u++],c[u++]);return f}getUri(t){t=vt(this.defaults,t);const n=zi(t.baseURL,t.url);return ji(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){ln.prototype[t]=function(n,r){return this.request(vt(r||{},{method:t,url:n,data:(r||{}).data}))}});w.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,l){return this.request(vt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ln.prototype[t]=n(),ln.prototype[t+"Form"]=n(!0)});const tn=ln;class Dr{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(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const a=new Promise(l=>{r.subscribe(l),o=l}).then(s);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,l){r.reason||(r.reason=new jt(o,a,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 Dr(function(s){t=s}),cancel:t}}}const D2=Dr;function R2(e){return function(n){return e.apply(null,n)}}function F2(e){return w.isObject(e)&&e.isAxiosError===!0}const ar={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(ar).forEach(([e,t])=>{ar[t]=e});const M2=ar;function Xi(e){const t=new tn(e),n=Ii(tn.prototype.request,t);return w.extend(n,tn.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Xi(vt(e,s))},n}const he=Xi(Pr);he.Axios=tn;he.CanceledError=jt;he.CancelToken=D2;he.isCancel=Ki;he.VERSION=qi;he.toFormData=En;he.AxiosError=z;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=R2;he.isAxiosError=F2;he.mergeConfig=vt;he.AxiosHeaders=Ze;he.formToJSON=e=>Wi(w.isHTMLForm(e)?new FormData(e):e);he.getAdapter=Yi.getAdapter;he.HttpStatusCode=M2;he.default=he;const Ht=he;const x2={key:0,class:"t-transp mn-r-small"},B2={key:1,class:"flex-nowrap flex w-100 flex-v-center"},V2=["href"],U2={key:2,class:"w-100"},j2=["placeholder","multiple"],H2={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,s=i.ref(r.field);i.ref(null),i.watch(()=>r.field,l=>{s.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),s.value=u.data[0].filepath,n("file-change",s.value)}catch(f){console.error(f)}}const a=()=>{s.value=null,n("update:field",null),n("file-change",null)};return(l,d)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",x2,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),s.value?(i.openBlock(),i.createElementBlock("div",B2,[i.createElementVNode("a",{href:s.value,class:"w-100",target:"_blank"},i.toDisplayString(s.value),9,V2),i.createVNode(wr,{onClick:a,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(i.openBlock(),i.createElementBlock("div",U2,[i.createElementVNode("input",{onChange:o,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,j2)]))],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",H2," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},Ji=$e(G2,[["__scopeId","data-v-d8ca273c"]]),W2=Object.freeze(Object.defineProperty({__proto__:null,default:Ji},Symbol.toStringTag,{value:"Module"})),K2=["src"],z2={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},Y2=i.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{fill:"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),q2=[Y2],Zi={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=i.ref(null),r=i.ref(null),s=e,o=t;i.watch(s,({photo:c})=>{c&&(n.value=c)});function a(){r.value.click()}async function l(c){let f=c.target.files[0];if(!f){console.error("No file selected");return}let u=new FormData;u.append("file",f),console.log("Sending file:",f.name);try{let b=await Ht.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(s.uploadPath)}`,u);console.log("Upload response:",b),n.value=b.data[0].filepath,o("update:photo",n.value)}catch(m){console.error("Upload error:",m)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,f)=>(i.openBlock(),i.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=i.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[n.value||e.photo?(i.openBlock(),i.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,K2)):(i.openBlock(),i.createElementBlock("div",z2,q2)),i.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},X2=Object.freeze(Object.defineProperty({__proto__:null,default:Zi},Symbol.toStringTag,{value:"Module"})),J2={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Z2=["fill"],Q2=["fill"],em={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",J2,[i.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,Z2),i.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,Q2)]))}},tm={key:0,class:"t-center"},nm={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},rm={key:1,class:"mn-b-thin t-transp d-block"},om={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},sm={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},im={key:4,class:"uppercase p-small t-medium d-block"},Qi={__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=i.ref([]),r=i.ref(!1),s=i.ref(null),o=e,a=t;function l(){s.value.click()}async function d(f){r.value=!0;let u=f.target.files,m=new FormData;for(const b of u)m.append("file",b);try{(await Ht.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(_=>{n.value.push(_.filepath)}),a("update:images",n.value),r.value=!1}catch(b){console.error(b),r.value=!1}}function c(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,u)=>(i.openBlock(),i.createElementBlock("div",{onClick:l,onDrop:c,onDragover:u[0]||(u[0]=i.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[i.createVNode(i.Transition,{name:"moveFromTop",mode:"out-in"},{default:i.withCtx(()=>[r.value?(i.openBlock(),i.createBlock(pn,{key:1,class:"pos-absolute"})):(i.openBlock(),i.createElementBlock("div",tm,[i.createVNode(em,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(i.openBlock(),i.createElementBlock("span",nm,i.toDisplayString(e.text.title),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",rm,i.toDisplayString(e.text.subtitle),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",om,"or")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("button",sm,"Browse Files")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",im,"Maximum size: 2MB")):i.createCommentVNode("",!0)]))]),_:1}),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:s,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},am=Object.freeze(Object.defineProperty({__proto__:null,default:Qi},Symbol.toStringTag,{value:"Module"})),ea={en:"🌎 EN",ru:"🇷🇺 RU",zh:"🇨🇳 ZH",fr:"🇫🇷 FR",de:"🇩🇪 DE",it:"🇮🇹 IT"},ta={};for(const e of Object.keys(ea))ta[e]={};const na=a0({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,messages:ta,availableLocales:Object.keys(ea)});const lm={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},dm={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cm=i.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),um=[cm],fm={key:2},mm={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pm=i.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),hm=[pm],ra={__name:"Breadcrumbs",setup(e){const t=_r(),{t:n,locale:r}=ft(),s=i.computed(()=>t.matched.map(o=>{var u,m,b;const a=(u=o.meta)==null?void 0:u.title,l=r==null?void 0:r.value,d=a&&l&&a[l],c=o.path.replace(/:.+?\//g,g=>""),f=(b=(m=o.meta)==null?void 0:m.breadcrumbs)==null?void 0:b.hidden;return{name:d,path:c,isHidden:f}}).filter(o=>o.name&&!o.isHidden));return(o,a)=>{const l=i.resolveComponent("router-link");return i.openBlock(),i.createElementBlock("ol",lm,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.value,(d,c)=>(i.openBlock(),i.createElementBlock("li",{key:c,class:i.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":c===s.value.length-1}])},[c===0?(i.openBlock(),i.createElementBlock("svg",dm,um)):i.createCommentVNode("",!0),c!==s.value.length-1?(i.openBlock(),i.createBlock(l,{key:1,to:c===0?"/":d.path},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(d.name),1)]),_:2},1032,["to"])):(i.openBlock(),i.createElementBlock("span",fm,i.toDisplayString(d.name),1)),c!==s.value.length-1?(i.openBlock(),i.createElementBlock("svg",mm,hm)):i.createCommentVNode("",!0)],2))),128))])}}},$m=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"}));const gm={class:"t-trimmed"},_m={class:"t-truncate"},ym={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},bm={__name:"Chips",props:["chips"],setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",gm,[e.chips.length?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:0},i.renderList(e.chips,(r,s)=>(i.openBlock(),i.createElementBlock("span",{class:i.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"])},[i.createElementVNode("span",_m,i.toDisplayString(r.text?r.text:r),1)],2))),256)):(i.openBlock(),i.createElementBlock("div",ym,i.toDisplayString(e.chips),1))]))}},oa=$e(bm,[["__scopeId","data-v-ce5802c2"]]),vm=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"})),Em={class:"gap-thin flex-nowrap flex flex-center"},Om={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"},Nm=i.createElementVNode("p",{class:"p-small t-transp"},"Offer is over",-1),Cm=[Nm],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"},wm=i.createElementVNode("p",{class:"p-small t-transp"},"Days",-1),km={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"},Im={class:"p-big"},Lm=i.createElementVNode("p",{class:"p-small t-transp"},"hours",-1),Pm={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"},Am={class:"p-big"},Dm=i.createElementVNode("p",{class:"p-small t-transp"},"minutes",-1),Rm={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"},Fm={class:"p-big"},Mm=i.createElementVNode("p",{class:"p-small t-transp"},"seconds",-1),sa={__name:"Countdown",props:["date"],setup(e){const t=e,n=new Date(t.date).getTime(),r=i.ref(new Date().getTime());let s;const o=i.ref(0),a=i.ref(0),l=i.ref(0),d=i.ref(0),c=i.ref(!1),f=()=>{const u=n-r.value;u<=0?(o.value=0,a.value=0,l.value=0,d.value=0,c.value=!0,clearInterval(s)):(o.value=Math.floor(u/(1e3*60*60*24)),a.value=Math.floor(u%(1e3*60*60*24)/(1e3*60*60)),l.value=Math.floor(u%(1e3*60*60)/(1e3*60)),d.value=Math.floor(u%(1e3*60)/1e3))};return f(),i.onMounted(()=>{s=setInterval(()=>{r.value=new Date().getTime(),f()},1e3)}),i.onBeforeUnmount(()=>{clearInterval(s)}),(u,m)=>(i.openBlock(),i.createElementBlock("div",Em,[c.value?(i.openBlock(),i.createElementBlock("div",Om,Cm)):i.createCommentVNode("",!0),c.value?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",Sm,[i.createElementVNode("p",Tm,i.toDisplayString(o.value),1),wm])),c.value?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",km,[i.createElementVNode("p",Im,i.toDisplayString(a.value),1),Lm])),c.value?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",Pm,[i.createElementVNode("p",Am,i.toDisplayString(l.value),1),Dm])),c.value?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",Rm,[i.createElementVNode("p",Fm,i.toDisplayString(d.value),1),Mm]))]))}},xm=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"})),Bm=["onClick"],Vm={class:"t-transp"},ia={__name:"DatePicker",props:["date","locale"],setup(e,{emit:t}){const n=t,r=e,s=i.ref(null);let o;if(r.date){const m=parseInt(r.date.substring(0,2)),b=parseInt(r.date.substring(2,4))-1,g=parseInt(r.date.substring(4));o=new Date(g,b,m),console.log("Data"+o)}else o=new Date,console.log("No data"+o);o.setHours(0,0,0,0);const a=i.ref(new Date(o)),l=u(o,30);i.onMounted(()=>{if(s.value){const m=s.value.getElementsByClassName("selected")[0]||s.value.getElementsByClassName("bg-main")[0];m&&(s.value.scrollLeft=m.offsetLeft-s.value.offsetWidth/2+m.offsetWidth/2)}});function d(m){a.value=m;const b=c(m);n("update:date",b)}function c(m){return`${m.getDate().toString().padStart(2,"0")}${(m.getMonth()+1).toString().padStart(2,"0")}${m.getFullYear()}`}function f(m){return m.toLocaleDateString(r.locale?r.locale:"en",{weekday:"narrow"}).toUpperCase()}function u(m,b){const g=[];for(let _=-15;_<b-15;_++){const E=new Date(m);E.setDate(m.getDate()+_),E.setHours(0,0,0,0),g.push(E)}return g}return(m,b)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{class:"w-100 scroller o-scroll scroll-snap-type-x-mandatory scroll-pd-regular scroll-hide flex-nowrap flex",ref_key:"scrollContainer",ref:s},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(l),g=>(i.openBlock(),i.createElementBlock("div",{key:g.toString(),onClick:_=>d(g),class:i.normalizeClass([{selected:a.value.toDateString()===g.toDateString()},"cursor-pointer scroll-snap-align-start mn-r-small mn-l-small flex-column flex-center flex"])},[i.createElementVNode("span",Vm,i.toDisplayString(f(g)),1),i.createElementVNode("span",{class:i.normalizeClass([{"bg-main":a.value.toDateString()===g.toDateString()},"transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])},i.toDisplayString(g.getDate()),3)],10,Bm))),128))],512)]))}},Um=Object.freeze(Object.defineProperty({__proto__:null,default:ia},Symbol.toStringTag,{value:"Module"})),jm={class:"mn-b-regular"},Hm={class:"mn-b-small t-transp p-medium"},Rr={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("section",null,[i.createElementVNode("h3",jm,i.toDisplayString(e.title),1),i.createElementVNode("p",Hm,i.toDisplayString(e.description),1),e.action?(i.openBlock(),i.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...r)=>e.callback&&e.callback(...r)),class:"t-white bg-second w-100 button"},i.toDisplayString(e.action),1)):i.createCommentVNode("",!0)]))}},Gm=Object.freeze(Object.defineProperty({__proto__:null,default:Rr},Symbol.toStringTag,{value:"Module"})),Wm={},Km={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},zm=i.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),Ym=[zm];function qm(e,t){return i.openBlock(),i.createElementBlock("svg",Km,Ym)}const Xm=$e(Wm,[["render",qm]]),aa={__name:"Feed",props:{showLoadMore:{type:Boolean,default:!0},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},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=i.ref([]),r=i.ref(!1);let s=i.ref(!0),o=i.ref(t.options.skip?t.options.skip:0),a=i.ref(t.options.limit?t.options.limit:10);const l=async()=>{if(r.value){o.value+=a.value;const c=await t.store.read({skip:o.value,limit:a.value,...t.options});c.length===0||c.length<a.value?r.value=!1:r.value=!0,n.value=[...n.value,...c]}},d=async()=>{const c=await t.store.read({skip:o.value,limit:a.value,...t.options});c.length===0||c.length<a.value?r.value=!1:r.value=!0,console.log(c),n.value=c,s.value=!1};return i.watch(()=>t.options,(c,f)=>{(c.organization!==f.organization||c.categories!==f.categories||c.prices!==f.prices||c.delivery!==f.delivery)&&d()},{deep:!0}),i.onMounted(async()=>{await d()}),(c,f)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.unref(s)?(i.openBlock(),i.createBlock(i.TransitionGroup,{key:0,tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:i.withCtx(()=>[i.unref(s)?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:0},i.renderList(i.unref(a),u=>(i.openBlock(),i.createBlock(Xm,{key:u}))),128)):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0),i.createVNode(i.Transition,{name:"scaleTransition"},{default:i.withCtx(()=>[!i.unref(s)&&n.value.length<1?(i.openBlock(),i.createBlock(Rr,{key:0,title:e.states.empty.title,description:e.states.empty.description,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description"])):i.createCommentVNode("",!0)]),_:1}),i.createVNode(i.TransitionGroup,{tag:"ul",name:"scaleTransition",class:i.normalizeClass(c.$attrs.class)},{default:i.withCtx(()=>[!i.unref(s)&&n.value.length>0?i.renderSlot(c.$slots,"default",{key:0,items:n.value,user:c.user}):i.createCommentVNode("",!0),e.showLoadMore&&r.value&&n.value.length>0?(i.openBlock(),i.createElementBlock("button",{key:1,onClick:l,class:"col-w-100 w-100 bg-main button"}," Load more ")):i.createCommentVNode("",!0)]),_:3},8,["class"])],64))}},Jm=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"})),Zm={class:"pd-thin radius-extra flex-nowrap flex"},Qm=["innerHTML"],la={__name:"FieldBig",props:{input:String,placeholder:{type:String},action:{type:String,default:"Action"},placeholderTexts:{type:Object,default:()=>({en:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],ru:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"]})},typingSpeed:{type:Number,default:200},loopTyping:{type:Boolean,default:!1},enableTyping:{type:Boolean,default:!1}},emits:["update:input","action"],setup(e,{emit:t}){const n=e,{t:r,locale:s}=ft();let o=i.ref(0),a=i.ref(n.input),l=i.ref(n.placeholder),d=i.ref(n.enableTyping),c=i.ref(null),f=i.ref(""),u=i.ref(!0),m=null;const b=t;function g(){b("action")}function _(v){b("update:input",v),f.value=v}function E(){o.value=(o.value+1)%n.placeholderTexts[s.value].length}function h(){d.value=!1,clearInterval(c.value),l.value=n.placeholder,f.value||(a.value="")}function y(){!f.value&&n.enableTyping&&(d.value=!0,l.value="",O())}function O(){let v=n.placeholderTexts[s.value][o.value],T=0,k=!1;m=setInterval(()=>{u.value=!u.value},200),c.value=setInterval(()=>{d.value&&(k?(a.value=a.value.slice(0,-1),a.value=v.substring(0,T)+(u.value&&T%2?"|":""),T--):(a.value=v.substring(0,T)+(u.value&&T%2?"|":""),T++),T>v.length&&n.loopTyping&&setTimeout(()=>{k=!0,a.value=v.substring(0,T)},333),T===0&&k&&(k=!1,E(),v=n.placeholderTexts[s.value][o.value]))},n.typingSpeed)}return i.onMounted(()=>{n.enableTyping&&O()}),i.watchEffect(()=>{d.value||(clearInterval(c.value),clearInterval(m))}),(v,T)=>(i.openBlock(),i.createElementBlock("div",Zm,[i.createVNode(ur,{field:i.unref(a),"onUpdate:field":[T[0]||(T[0]=k=>i.isRef(a)?a.value=k:a=k),_],placeholder:i.unref(d)?" ":i.unref(l),onInput:E,onFocus:h,onBlur:y,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),e.action?(i.openBlock(),i.createElementBlock("button",{key:0,onClick:g,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,Qm)):i.createCommentVNode("",!0)]))}},ep=Object.freeze(Object.defineProperty({__proto__:null,default:la},Symbol.toStringTag,{value:"Module"}));function tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var np=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,s,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(s=r;s--!==0;)if(!e(t[s],n[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(s=r;s--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[s]))return!1;for(s=r;s--!==0;){var a=o[s];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n};const rp=tp(np),op=(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)),sp=(e,t)=>{let n=0;for(;n<e.length;){if(t(e[n],n,e))return n;n++}return-1},da=(e,t,n=[],r)=>{e.text===void 0&&(e={text:e});const s=op(e,n),o=sp(t,c=>c===e),a=gt(t),l=o!==-1?a.splice(o,1)[0]:gt(e);return(r?r(a,l):a.map(c=>c.text).indexOf(l.text)!==-1)&&s.push("ti-duplicate"),s.length===0?s.push("ti-valid"):s.push("ti-invalid"),s},kt=(e,...t)=>{e.text===void 0&&(e={text:e});const n=gt(e);return n.tiClasses=da(e,...t),n},ip=(e,...t)=>e.map(n=>kt(n,e,...t));const ap={name:"TagInput",props:{scope:{type:Object}}},lp=["maxlength"];function dp(e,t,n,r,s,o){return n.scope.edit?i.withDirectives((i.openBlock(),i.createElementBlock("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=a=>n.scope.tag.text=a),maxlength:n.scope.maxlength,type:"text",class:"ti-tag-input",size:"1",onInput:t[1]||(t[1]=a=>n.scope.validateTag(n.scope.index,a)),onBlur:t[2]||(t[2]=a=>n.scope.performCancelEdit(n.scope.index)),onKeydown:t[3]||(t[3]=a=>n.scope.performSaveEdit(n.scope.index,a))},null,40,lp)),[[i.vModelText,n.scope.tag.text]]):i.createCommentVNode("",!0)}const cp=$e(ap,[["render",dp],["__scopeId","data-v-a1f1c345"]]),bs=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}),vs=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}),up={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:bs},autocompleteItems:{type:Array,default:()=>[],validator:bs},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:vs},saveOnKey:{type:Array,default:()=>[13],validator:vs},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:()=>[],validator(e){return!e.some(t=>{const n=!t.rule;n&&console.warn('Property "rule" is missing',t);const r=t.rule&&(typeof t.rule=="string"||t.rule instanceof RegExp||{}.toString.call(t.rule)==="[object Function]");r||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(t.rule));const s=!t.classes;s&&console.warn('Property "classes" is missing',t);const o=t.type&&typeof t.type!="string";return o&&console.warn('Property "type" must be type of string. Found:',t),!r||n||s||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},fp={name:"VueTagsInput",components:{TagInput:cp},props:up,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=>kt(t,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:da,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]=kt(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(kt(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.tagsEditStatus[e]=!1)},hasForbiddingAddRule(e){return e.some(t=>{const n=this.validation.find(r=>t===r.classes);return n?n.disableAdd:!1})},createTagTexts(e){const t=new RegExp(this.separators.map(n=>this.quote(n)).join("|"));return e.split(t).map(n=>({text:n}))},performDeleteTag(e){this.onBeforeDeletingTag||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:()=>this.deleteTag(e)})},deleteTag(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey(e,t){const n=this[t].indexOf(e.keyCode)!==-1||this[t].indexOf(e.key)!==-1;return n&&e.preventDefault(),!n},performAddTags(e,t,n){if(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))return;let r=[];typeof e=="object"&&(r=[e]),typeof e=="string"&&(r=this.createTagTexts(e)),r=r.filter(s=>s.text.trim().length>0),r.forEach(s=>{s=kt(s,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(s,n),this.$emit("before-adding-tag",{tag:s,addTag:()=>this.addTag(s,n)})})},duplicateFilter(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(t=>t.text===e.text)},addTag(e,t="new-tag-input"){const n=this.filteredAutocompleteItems.map(r=>r.text);this.addOnlyFromAutocomplete&&n.indexOf(e.text)===-1||this.$nextTick(()=>{if(this.maxTags&&this.maxTags<=this.tagsCopy.length)return this.$emit("max-tags-reached",e);if(this.avoidAddingDuplicates&&!this.duplicateFilter(e))return this.$emit("adding-duplicate",e);this.hasForbiddingAddRule(e.tiClasses)||(this.newTag="",this.tagsCopy.push(e),this.$emit("update:tags",this.tagsCopy),t==="autocomplete"&&this.$refs.newTagInput.focus(),this.$emit("tags-changed",this.tagsCopy))})},performSaveTag(e,t){const n=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||n.text.trim().length!==0&&(this["on-before-saving-tag"]||this.saveTag(e,n),this.$emit("before-saving-tag",{index:e,tag:n,saveTag:()=>this.saveTag(e,n)}))},saveTag(e,t){if(this.avoidAddingDuplicates){const n=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)=>!rp(e,this.tags[t]))},updateNewTag(e){const t=e.target.value;this.newTag=t,this.$emit("update:modelValue",t)},initTags(){this.tagsCopy=ip(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)}};const mp={class:"ti-input"},pp={key:0,class:"ti-tags"},hp=["onClick"],$p={class:"ti-content"},gp={key:0,class:"ti-tag-left"},_p=["onClick"],yp={key:1,class:"ti-tag-right"},bp={class:"ti-actions"},vp=["onClick"],Ep=["onClick"],Op={class:"ti-new-tag-input-wrapper"},Np=["placeholder","value","maxlength","disabled"],Cp=["onMouseover"],Sp=["onClick"];function Tp(e,t,n,r,s,o){const a=i.resolveComponent("tag-input");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:i.normalizeStyle(e.$attrs.style)},[i.createElementVNode("div",mp,[e.tagsCopy?(i.openBlock(),i.createElementBlock("ul",pp,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tagsCopy,(l,d)=>(i.openBlock(),i.createElementBlock("li",{key:d,style:i.normalizeStyle(l.style),class:i.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})},[i.createElementVNode("div",$p,[e.$slots["tag-left"]?(i.openBlock(),i.createElementBlock("div",gp,[i.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)])):i.createCommentVNode("",!0),i.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass({"ti-hidden":e.tagsEditStatus[d]}),onClick:c=>e.performEditTag(d)},i.toDisplayString(l.text),11,_p)),e.$slots["tag-center"]?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(a,{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"])),i.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"]?(i.openBlock(),i.createElementBlock("div",yp,[i.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)])):i.createCommentVNode("",!0)]),i.createElementVNode("div",bp,[e.$slots["tag-actions"]?i.createCommentVNode("",!0):i.withDirectives((i.openBlock(),i.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:c=>e.cancelEdit(d)},null,8,vp)),[[i.vShow,e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?i.createCommentVNode("",!0):i.withDirectives((i.openBlock(),i.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:c=>e.performDeleteTag(d)},null,8,Ep)),[[i.vShow,!e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?i.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):i.createCommentVNode("",!0)])],14,hp))),128)),i.createElementVNode("li",Op,[i.createElementVNode("input",i.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]=i.withKeys((...l)=>e.invokeDelete&&e.invokeDelete(...l),["delete"])),t[3]||(t[3]=i.withKeys((...l)=>e.performBlur&&e.performBlur(...l),["tab"])),t[4]||(t[4]=i.withKeys(l=>e.selectItem(l,"before"),["up"])),t[5]||(t[5]=i.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,Np)])])):i.createCommentVNode("",!0)]),i.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:t[9]||(t[9]=l=>e.selectedItem=null)},[i.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),i.createElementVNode("ul",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.filteredAutocompleteItems,(l,d)=>(i.openBlock(),i.createElementBlock("li",{key:d,style:i.normalizeStyle(l.style),class:i.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"]?i.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):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:c=>e.performAddTags(l,void 0,"autocomplete")},i.toDisplayString(l.text),9,Sp))],46,Cp))),128))]),i.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):i.createCommentVNode("",!0)],6)}const ca=$e(fp,[["render",Tp],["__scopeId","data-v-d14eec25"]]),wp=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"}));const kp=["src"],Ip={__name:"Magnifier",props:{imageSrc:String,zoomFactor:{type:Number,default:2}},setup(e){const t=e,n=i.ref(!1),r=i.ref({});function s(f){const u=f.target.getBoundingClientRect(),m=f.clientX-u.left,b=f.clientY-u.top,g=200,_=Math.max(0,Math.min(m-g/2,u.width-g)),E=Math.max(0,Math.min(b-g/2,u.height-g));r.value={left:`${_}px`,top:`${E}px`,backgroundPosition:`-${_*t.zoomFactor}px -${E*t.zoomFactor}px`,backgroundImage:`url(${t.imageSrc})`,backgroundSize:`${u.width*t.zoomFactor}px ${u.height*t.zoomFactor}px`}}function o(f){n.value=!0,s(f)}function a(){n.value=!1}function l(f){f.preventDefault(),n.value=!0,s(f.touches[0])}function d(f){f.preventDefault(),s(f.touches[0])}function c(){n.value=!1}return(f,u)=>(i.openBlock(),i.createElementBlock("div",{class:"w-100 image-container",onMousemove:o,onMouseleave:a,onTouchstart:l,onTouchmove:d,onTouchend:c},[i.createElementVNode("img",{src:(f.FILE_SERVER_URL||"")+e.imageSrc,class:"w-100"},null,8,kp),n.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:"zoom-lens",style:i.normalizeStyle(r.value)},null,4)):i.createCommentVNode("",!0)],32))}},ua=$e(Ip,[["__scopeId","data-v-9fd5ea8e"]]),Lp=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"}));const Pp={id:"glcanvas",ref:"refCanvas"},Ap={__name:"Shader",setup(e){return i.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
|
+
`,s=`
|
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,m,b){const g=u.createShader(m);return u.shaderSource(g,b),u.compileShader(g),u.getShaderParameter(g,u.COMPILE_STATUS)?g:(alert("An error occurred compiling the shaders: "+u.getShaderInfoLog(g)),u.deleteShader(g),null)}const a=o(n,n.VERTEX_SHADER,r),l=o(n,n.FRAGMENT_SHADER,s),d=n.createProgram();n.attachShader(d,a),n.attachShader(d,l),n.linkProgram(d),n.getProgramParameter(d,n.LINK_STATUS)||alert("Unable to initialize the shader program: "+n.getProgramInfoLog(d));function c(u){const m=u.clientWidth*window.devicePixelRatio,b=u.clientHeight*window.devicePixelRatio;return u.width!==m||u.height!==b?(u.width=m,u.height=b,!0):!1}function f(){c(n.canvas)&&n.viewport(0,0,n.canvas.width,n.canvas.height),n.clearColor(0,0,0,1),n.clearDepth(1),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.useProgram(d);const u=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,u);const m=[-1,1,1,1,-1,-1,1,-1];n.bufferData(n.ARRAY_BUFFER,new Float32Array(m),n.STATIC_DRAW);const b=n.getAttribLocation(d,"aVertexPosition");n.vertexAttribPointer(b,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(b);var g=n.getUniformLocation(d,"iTime"),_=n.getUniformLocation(d,"iResolution");n.uniform1f(g,performance.now()/3e3),n.uniform2f(_,n.canvas.width,n.canvas.height),n.drawArrays(n.TRIANGLE_STRIP,0,4),requestAnimationFrame(f)}requestAnimationFrame(f)}),(t,n)=>(i.openBlock(),i.createElementBlock("canvas",Pp,null,512))}},fa=$e(Ap,[["__scopeId","data-v-094c0681"]]),Dp=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"}));const Rp={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},Fp={__name:"Menu",setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("section",Rp,[i.renderSlot(t.$slots,"default")]))}},Mp={props:{fill:{type:String,default:"rgb(var(--black)"}}},xp={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},Bp=["fill"];function Vp(e,t,n,r,s,o){return i.openBlock(),i.createElementBlock("svg",xp,[i.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,Bp)])}const Up=$e(Mp,[["render",Vp]]),jp=i.defineComponent({props:{},setup(e,{slots:t}){return()=>{const n=t.default?t.default():[],r=[],s=[];return n.forEach(o=>{o.toString(),o.props&&o.props.icon?r.push(o):s.push(o)}),i.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...r.length?[i.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)]:[],i.h("div",{class:["w-100","mn-b-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[i.h("span",{class:["p-big","t-medium","mn-r-auto"]},s)]),i.h(Up,{class:"i-medium mn-r-medium",type:"chevron"})])}}});/*! js-cookie v3.0.5 | MIT */function qt(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 Hp={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 lr(e,t){function n(s,o,a){if(!(typeof document>"u")){a=qt({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var d in a)a[d]&&(l+="; "+d,a[d]!==!0&&(l+="="+a[d].split(";")[0]));return document.cookie=s+"="+e.write(o,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var o=document.cookie?document.cookie.split("; "):[],a={},l=0;l<o.length;l++){var d=o[l].split("="),c=d.slice(1).join("=");try{var f=decodeURIComponent(d[0]);if(a[f]=e.read(c,f),s===f)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,o){n(s,"",qt({},o,{expires:-1}))},withAttributes:function(s){return lr(this.converter,qt({},this.attributes,s))},withConverter:function(s){return lr(qt({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Gp=lr(Hp,{path:"/"});/*! Capacitor: https://capacitorjs.com/ - MIT License */const Wp=e=>{const t=new Map;t.set("web",{name:"web"});const n=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t},r=(o,a)=>{n.platforms.set(o,a)},s=o=>{n.platforms.has(o)&&(n.currentPlatform=n.platforms.get(o))};return n.addPlatform=r,n.setPlatform=s,n},Kp=e=>e.CapacitorPlatforms=Wp(e),ma=Kp(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});ma.addPlatform;ma.setPlatform;var Et;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(Et||(Et={}));class xn extends Error{constructor(t,n,r){super(t),this.message=t,this.code=n,this.data=r}}const zp=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"},Yp=e=>{var t,n,r,s,o;const a=e.CapacitorCustomPlatform||null,l=e.Capacitor||{},d=l.Plugins=l.Plugins||{},c=e.CapacitorPlatforms,f=()=>a!==null?a.name:zp(e),u=((t=c==null?void 0:c.currentPlatform)===null||t===void 0?void 0:t.getPlatform)||f,m=()=>u()!=="web",b=((n=c==null?void 0:c.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||m,g=I=>{const C=v.get(I);return!!(C!=null&&C.platforms.has(u())||h(I))},_=((r=c==null?void 0:c.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||g,E=I=>{var C;return(C=l.PluginHeaders)===null||C===void 0?void 0:C.find(D=>D.name===I)},h=((s=c==null?void 0:c.currentPlatform)===null||s===void 0?void 0:s.getPluginHeader)||E,y=I=>e.console.error(I),O=(I,C,D)=>Promise.reject(`${D} does not have an implementation of "${C}".`),v=new Map,T=(I,C={})=>{const D=v.get(I);if(D)return console.warn(`Capacitor plugin "${I}" already registered. Cannot register plugins twice.`),D.proxy;const R=u(),V=h(I);let x;const J=async()=>(!x&&R in C?x=typeof C[R]=="function"?x=await C[R]():x=C[R]:a!==null&&!x&&"web"in C&&(x=typeof C.web=="function"?x=await C.web():x=C.web),x),ae=(Z,G)=>{var re,ue;if(V){const te=V==null?void 0:V.methods.find(se=>G===se.name);if(te)return te.rtype==="promise"?se=>l.nativePromise(I,G.toString(),se):(se,Se)=>l.nativeCallback(I,G.toString(),se,Se);if(Z)return(re=Z[G])===null||re===void 0?void 0:re.bind(Z)}else{if(Z)return(ue=Z[G])===null||ue===void 0?void 0:ue.bind(Z);throw new xn(`"${I}" plugin is not implemented on ${R}`,Et.Unimplemented)}},ge=Z=>{let G;const re=(...ue)=>{const te=J().then(se=>{const Se=ae(se,Z);if(Se){const ie=Se(...ue);return G=ie==null?void 0:ie.remove,ie}else throw new xn(`"${I}.${Z}()" is not implemented on ${R}`,Et.Unimplemented)});return Z==="addListener"&&(te.remove=async()=>G()),te};return re.toString=()=>`${Z.toString()}() { [capacitor code] }`,Object.defineProperty(re,"name",{value:Z,writable:!1,configurable:!1}),re},ne=ge("addListener"),be=ge("removeListener"),Ce=(Z,G)=>{const re=ne({eventName:Z},G),ue=async()=>{const se=await re;be({eventName:Z,callbackId:se},G)},te=new Promise(se=>re.then(()=>se({remove:ue})));return te.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await ue()},te},fe=new Proxy({},{get(Z,G){switch(G){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return V?Ce:ne;case"removeListener":return be;default:return ge(G)}}});return d[I]=fe,v.set(I,{name:I,proxy:fe,platforms:new Set([...Object.keys(C),...V?[R]:[]])}),fe},k=((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=b,l.isPluginAvailable=_,l.pluginMethodNoop=O,l.registerPlugin=k,l.Exception=xn,l.DEBUG=!!l.DEBUG,l.isLoggingEnabled=!!l.isLoggingEnabled,l.platform=l.getPlatform(),l.isNative=l.isNativePlatform(),l},qp=e=>e.Capacitor=Yp(e),dn=qp(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Fr=dn.registerPlugin;dn.Plugins;class Mr{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 s=this.windowListeners[t];s&&!s.registered&&this.addWindowListener(s);const o=async()=>this.removeListener(t,n),a=Promise.resolve({remove:o});return Object.defineProperty(a,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await o()}}),a}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(s=>s(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 dn.Exception(t,Et.Unimplemented)}unavailable(t="not available"){return new dn.Exception(t,Et.Unavailable)}async removeListener(t,n){const r=this.listeners[t];if(!r)return;const s=r.indexOf(n);this.listeners[t].splice(s,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}}const Es=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Os=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class Xp extends Mr{async getCookies(){const t=document.cookie,n={};return t.split(";").forEach(r=>{if(r.length<=0)return;let[s,o]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");s=Os(s).trim(),o=Os(o).trim(),n[s]=o}),n}async setCookie(t){try{const n=Es(t.key),r=Es(t.value),s=`; expires=${(t.expires||"").replace("expires=","")}`,o=(t.path||"/").replace("path=",""),a=t.url!=null&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${n}=${r||""}${s}; path=${o}; ${a};`}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)}}}Fr("CapacitorCookies",{web:()=>new Xp});const Jp=async e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const s=r.result;t(s.indexOf(",")>=0?s.split(",")[1]:s)},r.onerror=s=>n(s),r.readAsDataURL(e)}),Zp=(e={})=>{const t=Object.keys(e);return Object.keys(e).map(s=>s.toLocaleLowerCase()).reduce((s,o,a)=>(s[o]=e[t[a]],s),{})},Qp=(e,t=!0)=>e?Object.entries(e).reduce((r,s)=>{const[o,a]=s;let l,d;return Array.isArray(a)?(d="",a.forEach(c=>{l=t?encodeURIComponent(c):c,d+=`${o}=${l}&`}),d.slice(0,-1)):(l=t?encodeURIComponent(a):a,d=`${o}=${l}`),`${r}&${d}`},"").substr(1):null,e3=(e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),s=Zp(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(s.includes("application/x-www-form-urlencoded")){const o=new URLSearchParams;for(const[a,l]of Object.entries(e.data||{}))o.set(a,l);n.body=o.toString()}else if(s.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 a=new Headers(n.headers);a.delete("content-type"),n.headers=a}else(s.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class t3 extends Mr{async request(t){const n=e3(t,t.webFetchExtra),r=Qp(t.params,t.shouldEncodeUrlParams),s=r?`${t.url}?${r}`:t.url,o=await fetch(s,n),a=o.headers.get("content-type")||"";let{responseType:l="text"}=o.ok?t:{};a.includes("application/json")&&(l="json");let d,c;switch(l){case"arraybuffer":case"blob":c=await o.blob(),d=await Jp(c);break;case"json":d=await o.json();break;case"document":case"text":default:d=await o.text()}const f={};return o.headers.forEach((u,m)=>{f[m]=u}),{data:d,headers:f,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"}))}}Fr("CapacitorHttp",{web:()=>new t3});const n3=Fr("Preferences",{web:()=>Promise.resolve().then(()=>require("./web-c63f0ecc.js")).then(e=>new e.PreferencesWeb)}),qe=i.reactive({loading:!1,isOpenLocationPopup:!1,isOpenSidebar:!1,position:null,search:null,theme:{darkmode:!1},error:{status:"",headers:"",data:"",show:"",name:"",message:""}}),r3={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})),o3(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,n){const r=e.findIndex(s=>s._id===t._id);r===-1?e.push(t):e[r]=t},delete(e,t,n){const r=e.findIndex(s=>s._id===t._id);r!==-1&&e.splice(r,1)}},pa={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."}}};na.global.mergeLocaleMessage("ru",pa.ru);na.global.mergeLocaleMessage("en",pa.en);function o3(e,t){e.forEach(n=>{const r=t[n],s=r.split(",").map(Number);let o;n==="--white"?o=s.map(a=>255-a/1.075):n==="--black"?o=s.map(a=>255-a):n==="--grey"&&(o=s.map(a=>255-a*2)),document.documentElement.style.setProperty(n,qe.theme.darkmode?o.join(", "):r)})}Ht.create({baseURL:process.env.API_URL,withCredentials:!0});const s3=i.reactive({code:{value:"",type:"",method:"",isSended:!1,isValid:!1}});i.watch(s3,(e,t)=>{});const i3=Ht.create({baseURL:process.env.API_URL,withCredentials:!0}),_t=i.reactive({user:{_id:void 0,username:"",email:"",phone:"",password:"",passwordRepeat:""},access:{roles:null,token:null,status:!1}});async function a3(){const e=await l3("user");if(e){const{_id:t,email:n,phone:r,roles:s,accessToken:o}=e;Object.assign(_t.user,{_id:t,email:n,phone:r}),Object.assign(_t.access,{token:o,roles:s,status:!!o}),i3.interceptors.request.use(a=>(o&&(a.headers["x-access-token"]=o),a),a=>Promise.reject(a))}}a3();process.env.API_URL;async function l3(e){if(process.env.MOBILE_APP){const{value:t}=await n3.get({key:e});return t?JSON.parse(t):null}else{const t=Gp.get(e);return t?JSON.parse(t):null}}i.watch(_t,(e,t)=>{});const d3={id:"sidebar",class:"o-hidden"},c3={class:"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content"},u3=i.createElementVNode("span",null," Backoffice ",-1),ha={__name:"Sidebar",props:["stateSidebar"],emits:["closeSidebar"],setup(e,{emit:t}){const n=gr(),r=_r();i.ref(!1);const s=e,o=t;i.watch(()=>r.path,()=>{s.stateSidebar===!0&&o("closeSidebar")});let a=un;function l(){s.stateSidebar===!0&&o("closeSidebar")}return(d,c)=>i.withDirectives((i.openBlock(),i.createElementBlock("div",d3,[i.createElementVNode("div",c3,[i.createElementVNode("div",null,[i.renderSlot(d.$slots,"default")]),i.createVNode(cr,{label:"Darkmode",radio:qe.theme.darkmode,"onUpdate:radio":c[0]||(c[0]=f=>r3.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"))?(i.openBlock(),i.createBlock(Fp,{key:0,class:"mn-b-regular bg-black t-white"},{default:i.withCtx(()=>[i.createVNode(jp,{onClick:c[1]||(c[1]=f=>i.unref(n).push({name:"Backoffice",params:{_id:i.unref(r).params._id}})),class:"cursor-pointer",theme:"white"},{default:i.withCtx(()=>[u3]),_:1})]),_:1})):i.createCommentVNode("",!0)])])),[[i.unref(a),l]])}},f3=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));function m3(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ns(e){return m3(e)||Array.isArray(e)}function p3(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function xr(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==o?!1:n.every(a=>{const l=e[a],d=t[a];return typeof l=="function"?`${l}`==`${d}`:!Ns(l)||!Ns(d)?l===d:xr(l,d)})}function Cs(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function h3(e,t){if(e.length!==t.length)return!1;const n=Cs(e),r=Cs(t);return n.every((s,o)=>{const a=r[o];return xr(s,a)})}function Br(e){return typeof e=="number"}function dr(e){return typeof e=="string"}function Vr(e){return typeof e=="boolean"}function Ss(e){return Object.prototype.toString.call(e)==="[object Object]"}function oe(e){return Math.abs(e)}function Ur(e){return Math.sign(e)}function It(e,t){return oe(e-t)}function $3(e,t){if(e===0||t===0||oe(e)<=oe(t))return 0;const n=It(oe(e),oe(t));return oe(n/e)}function xt(e){return Bt(e).map(Number)}function Be(e){return e[Gt(e)]}function Gt(e){return Math.max(0,e.length-1)}function jr(e,t){return t===Gt(e)}function Ts(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Bt(e){return Object.keys(e)}function $a(e,t){return[e,t].reduce((n,r)=>(Bt(r).forEach(s=>{const o=n[s],a=r[s],l=Ss(o)&&Ss(a);n[s]=l?$a(o,a):a}),n),{})}function ga(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function g3(e,t){const n={start:r,center:s,end:o};function r(){return 0}function s(d){return o(d)/2}function o(d){return t-d}function a(d,c){return dr(e)?n[e](d):e(t,d,c)}return{measure:a}}function Vt(){let e=[];function t(s,o,a,l={passive:!0}){let d;if("addEventListener"in s)s.addEventListener(o,a,l),d=()=>s.removeEventListener(o,a,l);else{const c=s;c.addListener(a),d=()=>c.removeListener(a)}return e.push(d),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function _3(e,t,n,r){const s=Vt(),o=1e3/60;let a=null,l=0,d=0;function c(){s.add(e,"visibilitychange",()=>{e.hidden&&g()})}function f(){b(),s.clear()}function u(E){a||(a=E);const h=E-a;for(a=E,l+=h;l>=o;)n(),l-=o;const y=oe(l/o);r(y),d&&t.requestAnimationFrame(u)}function m(){d||(d=t.requestAnimationFrame(u))}function b(){t.cancelAnimationFrame(d),a=null,l=0,d=0}function g(){a=null,l=0}return{init:c,destroy:f,start:m,stop:b,update:n,render:r}}function y3(e,t){const n=e==="y"?"y":"x",r=e==="y"?"x":"y",s=l(),o=d();function a(f){const{width:u,height:m}=f;return n==="x"?u:m}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:s,endEdge:o,measureSize:a}}function ut(e=0,t=0){const n=oe(e-t);function r(c){return c<e}function s(c){return c>t}function o(c){return r(c)||s(c)}function a(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:a,reachedAny:o,reachedMax:s,reachedMin:r,removeOffset:l}}function _a(e,t,n){const{constrain:r}=ut(0,e),s=e+1;let o=a(t);function a(m){return n?oe((s+m)%s):r(m)}function l(){return o}function d(m){return o=a(m),u}function c(m){return f().set(l()+m)}function f(){return _a(e,l(),n)}const u={get:l,set:d,add:c,clone:f};return u}function b3(e){const t=e==="rtl"?-1:1;function n(s){return s*t}return{apply:n}}function v3(e,t,n,r,s,o,a,l,d,c,f,u,m,b,g,_,E,h,y,O){const{cross:v}=e,T=["INPUT","SELECT","TEXTAREA"],k={passive:!1},I=Vt(),C=Vt(),D=ut(50,225).constrain(g.measure(20)),R={mouse:300,touch:400},V={mouse:500,touch:600},x=_?43:25;let J=!1,ae=0,ge=0,ne=!1,be=!1,Ce=!1,fe=!1;function Z(F){if(!O)return;function $(N){(Vr(O)||O(F,N))&&Se(N)}const p=n;I.add(p,"dragstart",N=>N.preventDefault(),k).add(p,"touchmove",()=>{},k).add(p,"touchend",()=>{}).add(p,"touchstart",$).add(p,"mousedown",$).add(p,"touchcancel",le).add(p,"contextmenu",le).add(p,"click",Oe,!0)}function G(){I.clear(),C.clear()}function re(){const F=fe?r:n;C.add(F,"touchmove",ie,k).add(F,"touchend",le).add(F,"mousemove",ie,k).add(F,"mouseup",le)}function ue(F){const $=F.nodeName||"";return T.includes($)}function te(){return(_?V:R)[fe?"mouse":"touch"]}function se(F,$){const p=m.add(Ur(F)*-1),N=u.byDistance(F,!_).distance;return _||oe(F)<D?N:h&&$?N*.5:u.byIndex(p.get(),0).distance}function Se(F){const $=ga(F,s);fe=$,!($&&F.button!==0)&&(ue(F.target)||(Ce=_&&$&&!F.buttons&&J,J=It(o.get(),l.get())>=2,ne=!0,a.pointerDown(F),f.useFriction(0).useDuration(0),o.set(l),re(),ae=a.readPoint(F),ge=a.readPoint(F,v),b.emit("pointerDown")))}function ie(F){const $=a.readPoint(F),p=a.readPoint(F,v),N=It($,ae),P=It(p,ge);if(!be&&!fe&&(!F.cancelable||(be=N>P,!be)))return le(F);const M=a.pointerMove(F);N>E&&(Ce=!0),f.useFriction(.3).useDuration(1),d.start(),o.add(t.apply(M)),F.preventDefault()}function le(F){const p=u.byDistance(0,!1).index!==m.get(),N=a.pointerUp(F)*te(),P=se(t.apply(N),p),M=$3(N,P),j=x-10*M,pe=y+M/50;be=!1,ne=!1,C.clear(),f.useDuration(j).useFriction(pe),c.distance(P,!_),fe=!1,b.emit("pointerUp")}function Oe(F){Ce&&(F.stopPropagation(),F.preventDefault())}function me(){return ne}return{init:Z,pointerDown:me,destroy:G}}function E3(e,t){let r,s;function o(u){return u.timeStamp}function a(u,m){const g=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(ga(u,t)?u:u.touches[0])[g]}function l(u){return r=u,s=u,a(u)}function d(u){const m=a(u)-a(s),b=o(u)-o(r)>170;return s=u,b&&(r=u),m}function c(u){if(!r||!s)return 0;const m=a(s)-a(r),b=o(u)-o(r),g=o(u)-o(s)>170,_=m/b;return b&&!g&&oe(_)>.1?_:0}return{pointerDown:l,pointerMove:d,pointerUp:c,readPoint:a}}function O3(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:o,offsetHeight:a}=n;return{top:r,right:s+o,bottom:r+a,left:s,width:o,height:a}}return{measure:e}}function N3(e){function t(r){return e*(r/100)}return{measure:t}}function C3(e,t,n,r,s,o,a){let l,d,c=[],f=!1;function u(_){return s.measureSize(a.measure(_))}function m(_){if(!o)return;d=u(e),c=r.map(u);function E(y){for(const O of y){const v=O.target===e,T=r.indexOf(O.target),k=v?d:c[T],I=u(v?e:r[T]);if(oe(I-k)>=.5){n.requestAnimationFrame(()=>{_.reInit(),t.emit("resize")});break}}}l=new ResizeObserver(y=>{f||(Vr(o)||o(_,y))&&E(y)}),[e].concat(r).forEach(y=>l.observe(y))}function b(){l&&l.disconnect(),f=!0}return{init:m,destroy:b}}function S3(e,t,n,r,s){let o=0,a=0,l=r,d=s,c=e.get(),f=0;function u(){const T=n.get()-e.get(),k=!l;let I=0;return k?(o=0,e.set(n),I=T):(o+=T/l,o*=d,c+=o,e.add(o),I=c-f),a=Ur(I),f=c,v}function m(){const T=n.get()-t.get();return oe(T)<.001}function b(){return l}function g(){return a}function _(){return o}function E(){return y(r)}function h(){return O(s)}function y(T){return l=T,v}function O(T){return d=T,v}const v={direction:g,duration:b,velocity:_,seek:u,settled:m,useBaseFriction:h,useBaseDuration:E,useFriction:O,useDuration:y};return v}function T3(e,t,n,r,s){const o=s.measure(10),a=s.measure(50),l=ut(.1,.99);let d=!1;function c(){return!(d||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(b){if(!c())return;const g=e.reachedMin(t.get())?"min":"max",_=oe(e[g]-t.get()),E=n.get()-t.get(),h=l.constrain(_/a);n.subtract(E*h),!b&&oe(E)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(b){d=!b}return{constrain:f,toggleActive:u}}function w3(e,t,n,r,s){const o=ut(-t+e,0),a=u(),l=f(),d=m();function c(g,_){return It(g,_)<1}function f(){const g=a[0],_=Be(a),E=a.lastIndexOf(g),h=a.indexOf(_)+1;return ut(E,h)}function u(){return n.map((g,_)=>{const{min:E,max:h}=o,y=o.constrain(g),O=!_,v=jr(n,_);return O?h:v||c(E,y)?E:c(h,y)?h:y}).map(g=>parseFloat(g.toFixed(3)))}function m(){if(t<=e+s)return[o.max];if(r==="keepSnaps")return a;const{min:g,max:_}=l;return a.slice(g,_)}return{snapsContained:d,scrollContainLimit:l}}function k3(e,t,n){const r=t[0],s=n?r-e:Be(t);return{limit:ut(s,r)}}function I3(e,t,n,r){const o=t.min+.1,a=t.max+.1,{reachedMin:l,reachedMax:d}=ut(o,a);function c(m){return m===1?d(n.get()):m===-1?l(n.get()):!1}function f(m){if(!c(m))return;const b=e*(m*-1);r.forEach(g=>g.add(b))}return{loop:f}}function L3(e){const{max:t,length:n}=e;function r(o){const a=o-t;return n?a/-n:0}return{get:r}}function P3(e,t,n,r,s){const{startEdge:o,endEdge:a}=e,{groupSlides:l}=s,d=u().map(t.measure),c=m(),f=b();function u(){return l(r).map(_=>Be(_)[a]-_[0][o]).map(oe)}function m(){return r.map(_=>n[o]-_[o]).map(_=>-oe(_))}function b(){return l(c).map(_=>_[0]).map((_,E)=>_+d[E])}return{snaps:c,snapsAligned:f}}function A3(e,t,n,r,s,o){const{groupSlides:a}=s,{min:l,max:d}=r,c=f();function f(){const m=a(o),b=!e||t==="keepSnaps";return n.length===1?[o]:b?m:m.slice(l,d).map((g,_,E)=>{const h=!_,y=jr(E,_);if(h){const O=Be(E[0])+1;return Ts(O)}if(y){const O=Gt(o)-Be(E)[0]+1;return Ts(O,Be(E)[0])}return g})}return{slideRegistry:c}}function D3(e,t,n,r,s){const{reachedAny:o,removeOffset:a,constrain:l}=r;function d(g){return g.concat().sort((_,E)=>oe(_)-oe(E))[0]}function c(g){const _=e?a(g):l(g),E=t.map(y=>y-_).map(y=>f(y,0)).map((y,O)=>({diff:y,index:O})).sort((y,O)=>oe(y.diff)-oe(O.diff)),{index:h}=E[0];return{index:h,distance:_}}function f(g,_){const E=[g,g+n,g-n];if(!e)return E[0];if(!_)return d(E);const h=E.filter(y=>Ur(y)===_);return h.length?d(h):Be(E)-n}function u(g,_){const E=t[g]-s.get(),h=f(E,_);return{index:g,distance:h}}function m(g,_){const E=s.get()+g,{index:h,distance:y}=c(E),O=!e&&o(E);if(!_||O)return{index:h,distance:g};const v=t[h]-y,T=g+f(v,0);return{index:h,distance:T}}return{byDistance:m,byIndex:u,shortcut:f}}function R3(e,t,n,r,s,o,a){function l(u){const m=u.distance,b=u.index!==t.get();o.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),b&&(n.set(t.get()),t.set(u.index),a.emit("select"))}function d(u,m){const b=s.byDistance(u,m);l(b)}function c(u,m){const b=t.clone().set(u),g=s.byIndex(b.get(),m);l(g)}return{distance:d,index:c}}function F3(e,t,n,r,s,o){let a=0;function l(){o.add(document,"keydown",d,!1),t.forEach(c)}function d(u){u.code==="Tab"&&(a=new Date().getTime())}function c(u){const m=()=>{if(new Date().getTime()-a>10)return;e.scrollLeft=0;const _=t.indexOf(u),E=n.findIndex(h=>h.includes(_));Br(E)&&(s.useDuration(0),r.index(E,0))};o.add(u,"focus",m,{passive:!0,capture:!0})}return{init:l}}function nn(e){let t=e;function n(){return t}function r(d){t=a(d)}function s(d){t+=a(d)}function o(d){t-=a(d)}function a(d){return Br(d)?d:d.get()}return{get:n,set:r,add:s,subtract:o}}function ya(e,t,n){const r=e.scroll==="x"?a:l,s=n.style;let o=!1;function a(m){return`translate3d(${m}px,0px,0px)`}function l(m){return`translate3d(0px,${m}px,0px)`}function d(m){o||(s.transform=r(t.apply(m)))}function c(m){o=!m}function f(){o||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:f,to:d,toggleActive:c}}function M3(e,t,n,r,s,o,a,l,d,c){const u=xt(o),m=xt(o).reverse(),b=y().concat(O());function g(C,D){return C.reduce((R,V)=>R-o[V],D)}function _(C,D){return C.reduce((R,V)=>g(R,D)>0?R.concat([V]):R,[])}function E(C){return a.map((D,R)=>({start:D-s[R]+.5+C,end:D+n-.5+C}))}function h(C,D,R){const V=E(D);return C.map(x=>{const J=R?0:-r,ae=R?r:0,ge=R?"end":"start",ne=V[x][ge];return{index:x,loopPoint:ne,slideLocation:nn(-1),translate:ya(e,t,c[x]),target:()=>d.get()>ne?J:ae}})}function y(){const C=l[0],D=_(m,C);return h(D,r,!1)}function O(){const C=n-l[0]-1,D=_(u,C);return h(D,-r,!0)}function v(){return b.every(({index:C})=>{const D=u.filter(R=>R!==C);return g(D,n)<=.1})}function T(){b.forEach(C=>{const{target:D,translate:R,slideLocation:V}=C,x=D();x!==V.get()&&(R.to(x),V.set(x))})}function k(){b.forEach(C=>C.translate.clear())}return{canLoop:v,clear:k,loop:T,loopPoints:b}}function x3(e,t,n){let r,s=!1;function o(d){if(!n)return;function c(f){for(const u of f)if(u.type==="childList"){d.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{s||(Vr(n)||n(d,f))&&c(f)}),r.observe(e,{childList:!0})}function a(){r&&r.disconnect(),s=!0}return{init:o,destroy:a}}function B3(e,t,n,r){const s={};let o=null,a=null,l,d=!1;function c(){l=new IntersectionObserver(g=>{d||(g.forEach(_=>{const E=t.indexOf(_.target);s[E]=_}),o=null,a=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(g=>l.observe(g))}function f(){l&&l.disconnect(),d=!0}function u(g){return Bt(s).reduce((_,E)=>{const h=parseInt(E),{isIntersecting:y}=s[h];return(g&&y||!g&&!y)&&_.push(h),_},[])}function m(g=!0){if(g&&o)return o;if(!g&&a)return a;const _=u(g);return g&&(o=_),g||(a=_),_}return{init:c,destroy:f,get:m}}function V3(e,t,n,r,s,o){const{measureSize:a,startEdge:l,endEdge:d}=e,c=n[0]&&s,f=g(),u=_(),m=n.map(a),b=E();function g(){if(!c)return 0;const y=n[0];return oe(t[l]-y[l])}function _(){if(!c)return 0;const y=o.getComputedStyle(Be(r));return parseFloat(y.getPropertyValue(`margin-${d}`))}function E(){return n.map((y,O,v)=>{const T=!O,k=jr(v,O);return T?m[O]+f:k?m[O]+u:v[O+1][l]-y[l]}).map(oe)}return{slideSizes:m,slideSizesWithGaps:b,startGap:f,endGap:u}}function U3(e,t,n,r,s,o,a,l,d,c){const{startEdge:f,endEdge:u}=e,m=Br(r);function b(h,y){return xt(h).filter(O=>O%y===0).map(O=>h.slice(O,O+y))}function g(h){return h.length?xt(h).reduce((y,O)=>{const v=Be(y)||0,T=v===0,k=O===Gt(h),I=o[f]-a[v][f],C=o[f]-a[O][u],D=!s&&T?t.apply(l):0,R=!s&&k?t.apply(d):0;return oe(C-R-(I+D))>n+c&&y.push(O),k&&y.push(h.length),y},[]).map((y,O,v)=>{const T=Math.max(v[O-1]||0);return h.slice(T,y)}):[]}function _(h){return m?b(h,r):g(h)}return{groupSlides:_}}function j3(e,t,n,r,s,o,a){const{align:l,axis:d,direction:c,startIndex:f,loop:u,duration:m,dragFree:b,dragThreshold:g,inViewThreshold:_,slidesToScroll:E,skipSnaps:h,containScroll:y,watchResize:O,watchSlides:v,watchDrag:T}=o,k=2,I=O3(),C=I.measure(t),D=n.map(I.measure),R=b3(c),V=y3(d,c),x=V.measureSize(C),J=N3(x),ae=g3(l,x),ge=!u&&!!y,ne=u||!!y,{slideSizes:be,slideSizesWithGaps:Ce,startGap:fe,endGap:Z}=V3(V,C,D,n,ne,s),G=U3(V,R,x,E,u,C,D,fe,Z,k),{snaps:re,snapsAligned:ue}=P3(V,ae,C,D,G),te=-Be(re)+Be(Ce),{snapsContained:se,scrollContainLimit:Se}=w3(x,te,ue,y,k),ie=ge?se:ue,{limit:le}=k3(te,ie,u),Oe=_a(Gt(ie),f,u),me=Oe.clone(),q=xt(n),F=({dragHandler:X,scrollBody:Me,scrollBounds:et,options:{loop:xe}})=>{xe||et.constrain(X.pointerDown()),Me.seek()},$=({scrollBody:X,translate:Me,location:et,offsetLocation:xe,scrollLooper:ze,slideLooper:Nn,dragHandler:zt,animation:Ea,eventHandler:Wr,options:{loop:Oa}},Na)=>{const Kr=X.velocity(),zr=X.settled();zr&&!zt.pointerDown()&&(Ea.stop(),Wr.emit("settle")),zr||Wr.emit("scroll"),xe.set(et.get()-Kr+Kr*Na),Oa&&(ze.loop(X.direction()),Nn.loop()),Me.to(xe.get())},p=_3(r,s,()=>F(W),X=>$(W,X)),N=.68,P=ie[Oe.get()],M=nn(P),j=nn(P),pe=nn(P),Te=S3(M,j,pe,m,N),Ct=D3(u,ie,te,le,pe),St=R3(p,Oe,me,Te,Ct,pe,a),Wt=L3(le),Kt=Vt(),de=B3(t,n,a,_),{slideRegistry:S}=A3(ge,y,ie,Se,G,q),L=F3(e,n,S,St,Te,Kt),W={ownerDocument:r,ownerWindow:s,eventHandler:a,containerRect:C,slideRects:D,animation:p,axis:V,direction:R,dragHandler:v3(V,R,e,r,s,pe,E3(V,s),M,p,St,Te,Ct,Oe,a,J,b,g,h,N,T),eventStore:Kt,percentOfView:J,index:Oe,indexPrevious:me,limit:le,location:M,offsetLocation:j,options:o,resizeHandler:C3(t,a,s,n,V,O,I),scrollBody:Te,scrollBounds:T3(le,M,pe,Te,J),scrollLooper:I3(te,le,j,[M,j,pe]),scrollProgress:Wt,scrollSnapList:ie.map(Wt.get),scrollSnaps:ie,scrollTarget:Ct,scrollTo:St,slideLooper:M3(V,R,x,te,be,Ce,re,ie,j,n),slideFocus:L,slidesHandler:x3(t,a,v),slidesInView:de,slideIndexes:q,slideRegistry:S,slidesToScroll:G,target:pe,translate:ya(V,R,t)};return W}function H3(){const e={};let t;function n(d){t=d}function r(d){return e[d]||[]}function s(d){return r(d).forEach(c=>c(t,d)),l}function o(d,c){return e[d]=r(d).concat([c]),l}function a(d,c){return e[d]=r(d).filter(f=>f!==c),l}const l={init:n,emit:s,off:a,on:o};return l}const G3={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 W3(e){function t(o,a){return $a(o,a||{})}function n(o){const a=o.breakpoints||{},l=Bt(a).filter(d=>e.matchMedia(d).matches).map(d=>a[d]).reduce((d,c)=>t(d,c),{});return t(o,l)}function r(o){return o.map(a=>Bt(a.breakpoints||{})).reduce((a,l)=>a.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function K3(e){let t=[];function n(o,a){return t=a.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(o,e)),a.reduce((l,d)=>Object.assign(l,{[d.name]:d}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function cn(e,t,n){const r=e.ownerDocument,s=r.defaultView,o=W3(s),a=K3(o),l=Vt(),d=H3(),{mergeOptions:c,optionsAtMedia:f,optionsMediaQueries:u}=o,{on:m,off:b,emit:g}=d,_=V;let E=!1,h,y=c(G3,cn.globalOptions),O=c(y),v=[],T,k,I;function C(){const{container:q,slides:F}=O;k=(dr(q)?e.querySelector(q):q)||e.children[0];const p=dr(F)?k.querySelectorAll(F):F;I=[].slice.call(p||k.children)}function D(q){const F=j3(e,k,I,r,s,q,d);if(q.loop&&!F.slideLooper.canLoop()){const $=Object.assign({},q,{loop:!1});return D($)}return F}function R(q,F){E||(y=c(y,q),O=f(y),v=F||v,C(),h=D(O),u([y,...v.map(({options:$})=>$)]).forEach($=>l.add($,"change",V)),O.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(),h.eventHandler.init(me),h.resizeHandler.init(me),h.slidesHandler.init(me),h.options.loop&&h.slideLooper.loop(),k.offsetParent&&I.length&&h.dragHandler.init(me),T=a.init(me,v)))}function V(q,F){const $=G();x(),R(c({startIndex:$},q),F),d.emit("reInit")}function x(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),a.destroy(),l.clear()}function J(){E||(E=!0,l.clear(),x(),d.emit("destroy"))}function ae(q,F,$){!O.active||E||(h.scrollBody.useBaseFriction().useDuration(F===!0?0:O.duration),h.scrollTo.index(q,$||0))}function ge(q){const F=h.index.add(1).get();ae(F,q,-1)}function ne(q){const F=h.index.add(-1).get();ae(F,q,1)}function be(){return h.index.add(1).get()!==G()}function Ce(){return h.index.add(-1).get()!==G()}function fe(){return h.scrollSnapList}function Z(){return h.scrollProgress.get(h.location.get())}function G(){return h.index.get()}function re(){return h.indexPrevious.get()}function ue(){return h.slidesInView.get()}function te(){return h.slidesInView.get(!1)}function se(){return T}function Se(){return h}function ie(){return e}function le(){return k}function Oe(){return I}const me={canScrollNext:be,canScrollPrev:Ce,containerNode:le,internalEngine:Se,destroy:J,off:b,on:m,emit:g,plugins:se,previousScrollSnap:re,reInit:_,rootNode:ie,scrollNext:ge,scrollPrev:ne,scrollProgress:Z,scrollSnapList:fe,scrollTo:ae,selectedScrollSnap:G,slideNodes:Oe,slidesInView:ue,slidesNotInView:te};return R(t,n),setTimeout(()=>d.emit("init"),0),me}cn.globalOptions=void 0;function Hr(e={},t=[]){const n=i.ref(i.isRef(e)?e.value:e),r=i.ref(i.isRef(t)?t.value:t),s=i.ref(),o=i.ref();function a(){o.value&&o.value.reInit(n.value,r.value)}return i.onMounted(()=>{!p3()||!s.value||(cn.globalOptions=Hr.globalOptions,o.value=cn(s.value,n.value,r.value))}),i.onBeforeUnmount(()=>{o.value&&o.value.destroy()}),i.isRef(e)&&i.watch(e,l=>{xr(n.value,l)||(n.value=l,a())}),i.isRef(t)&&i.watch(t,l=>{h3(r.value,l)||(r.value=l,a())}),[s,o]}Hr.globalOptions=void 0;const z3={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Gr(e={}){let t,n,r,s=!1,o=!0,a=!1,l=0,d=0;function c(v,T){n=v;const{mergeOptions:k,optionsAtMedia:I}=T,C=k(z3,Gr.globalOptions),D=k(C,e);if(t=I(D),n.scrollSnapList().length<=1)return;a=t.jump,r=!1;const{eventStore:R,ownerDocument:V}=n.internalEngine(),x=n.rootNode(),J=t.rootNode&&t.rootNode(x)||x,ae=n.containerNode();n.on("pointerDown",m),t.stopOnInteraction||n.on("pointerUp",u),t.stopOnMouseEnter&&(R.add(J,"mouseenter",()=>{o=!1,m()}),t.stopOnInteraction||R.add(J,"mouseleave",()=>{o=!0,u()})),t.stopOnFocusIn&&(R.add(ae,"focusin",m),t.stopOnInteraction||R.add(ae,"focusout",u)),R.add(V,"visibilitychange",b),t.playOnInit&&n.on("init",u).on("reInit",u)}function f(){r=!0,s=!1,n.off("init",u).off("reInit",u).off("pointerDown",m).off("pointerUp",u),m(),cancelAnimationFrame(l),l=0}function u(){if(r||!o)return;s||n.emit("autoplay:play");const{ownerWindow:v}=n.internalEngine();v.clearInterval(d),d=v.setInterval(y,t.delay),s=!0}function m(){if(r)return;s&&n.emit("autoplay:stop");const{ownerWindow:v}=n.internalEngine();v.clearInterval(d),d=0,s=!1}function b(){const{ownerDocument:v}=n.internalEngine();if(v.visibilityState==="hidden")return o=s,m();o&&u()}function g(v){typeof v<"u"&&(a=v),o=!0,u()}function _(){s&&m()}function E(){s&&g()}function h(){return s}function y(){l=requestAnimationFrame(()=>{const{index:v}=n.internalEngine(),T=v.clone().add(1).get(),k=n.scrollSnapList().length-1;t.stopOnLastSnap&&T===k&&m(),n.canScrollNext()?n.scrollNext(a):n.scrollTo(0,a)})}return{name:"autoplay",options:e,init:c,destroy:f,play:g,stop:_,reset:E,isPlaying:h}}Gr.globalOptions=void 0;const Y3={class:"embla__container"},ba={__name:"Slider",props:{store:Object,options:Object,text:Object},setup(e){const t=e;gr(),ft(t.text||{messages:{en:{title:"Explore Our Collection"}}});const n=i.ref([]),r=i.ref(!0),s={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:d=>d.parentElement},[o,a]=Hr({loop:!0},[Gr(s)]),l=d=>selectedIndex.value=a.value.selectedScrollSnap();return i.onMounted(async()=>{n.value=await t.store.read({...t.options}),console.log(n.value),r.value=!1,onInit(a),l(),a.value.on("reInit",onInit),a.value.on("reInit",l),a.value.on("select",l)}),(d,c)=>(i.openBlock(),i.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:o},[i.createElementVNode("div",Y3,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.value,(f,u,m)=>(i.openBlock(),i.createElementBlock("div",{class:"embla__slide pd-nano",key:u},[i.createVNode(i.Transition,{name:"fade",mode:"out-in",appear:""},{default:i.withCtx(()=>[i.renderSlot(d.$slots,"default",{item:f,user:d.user})]),_:2},1024)]))),128))])],512))}},q3=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"}));const X3={class:"pd-small error-wrapper"},J3={class:"flex-nowrap flex radius-small pd-small t-white bg-fourth"},Z3={class:"w-100"},Q3=i.createElementVNode("br",null,null,-1),va={__name:"Status",props:{status:String,message:String,show:Boolean,data:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",X3,[i.createElementVNode("div",J3,[i.createElementVNode("p",Z3,[i.createTextVNode(i.toDisplayString(e.data.message)+" ",1),Q3]),i.createVNode(wr,{onClick:n[0]||(n[0]=r=>t.closePopup()),class:"cursor-pointer hover-scale-1 i-regular z-index-5"})])]))}},eh=Object.freeze(Object.defineProperty({__proto__:null,default:va},Symbol.toStringTag,{value:"Module"})),th={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>ka)),e.component("Button",()=>Promise.resolve().then(()=>xa)),e.component("Checkbox",()=>Promise.resolve().then(()=>Ha)),e.component("Dropdown",()=>Promise.resolve().then(()=>za)),e.component("Error",()=>Promise.resolve().then(()=>Xa)),e.component("Field",()=>Promise.resolve().then(()=>ol)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Tc)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Uc)),e.component("Map",()=>Promise.resolve().then(()=>Hc)),e.component("Popup",()=>Promise.resolve().then(()=>C0)),e.component("Radio",()=>Promise.resolve().then(()=>P0)),e.component("Select",()=>Promise.resolve().then(()=>B0)),e.component("SelectMulti",()=>Promise.resolve().then(()=>c1)),e.component("Spoiler",()=>Promise.resolve().then(()=>f1)),e.component("Tab",()=>Promise.resolve().then(()=>$1)),e.component("Tooltip",()=>Promise.resolve().then(()=>_1)),e.component("Text",()=>Promise.resolve().then(()=>b1)),e.component("Upload",()=>Promise.resolve().then(()=>W2)),e.component("UploadImage",()=>Promise.resolve().then(()=>X2)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>am)),e.component("Breadcrumbs",()=>Promise.resolve().then(()=>$m)),e.component("Chips",()=>Promise.resolve().then(()=>vm)),e.component("Countdown",()=>Promise.resolve().then(()=>xm)),e.component("DatePicker",()=>Promise.resolve().then(()=>Um)),e.component("EmptyState",()=>Promise.resolve().then(()=>Gm)),e.component("Feed",()=>Promise.resolve().then(()=>Jm)),e.component("FieldBig",()=>Promise.resolve().then(()=>ep)),e.component("FieldTags",()=>Promise.resolve().then(()=>wp)),e.component("Loader",()=>Promise.resolve().then(()=>Dc)),e.component("Magnifier",()=>Promise.resolve().then(()=>Lp)),e.component("Shader",()=>Promise.resolve().then(()=>Dp)),e.component("Sidebar",()=>Promise.resolve().then(()=>f3)),e.component("Slider",()=>Promise.resolve().then(()=>q3)),e.component("Status",()=>Promise.resolve().then(()=>eh))}};exports.Address=ws;exports.Checkbox=cr;exports.Chips=oa;exports.Dropdown=Is;exports.Field=ur;exports.FieldPhone=Bs;exports.FieldTags=ca;exports.Loader=pn;exports.LocationMarker=Us;exports.Magnifier=ua;exports.Map=js;exports.Select=Oi;exports.SelectMulti=Ci;exports.Shader=fa;exports.Tooltip=wi;exports.Upload=Ji;exports.WebPlugin=Mr;exports._sfc_main=ks;exports._sfc_main$1=Ls;exports._sfc_main$10=sa;exports._sfc_main$11=ia;exports._sfc_main$12=Rr;exports._sfc_main$13=aa;exports._sfc_main$14=la;exports._sfc_main$15=ha;exports._sfc_main$16=ba;exports._sfc_main$17=va;exports._sfc_main$2=vi;exports._sfc_main$3=Ei;exports._sfc_main$4=Si;exports._sfc_main$5=Ti;exports._sfc_main$6=ki;exports._sfc_main$7=Zi;exports._sfc_main$8=Qi;exports._sfc_main$9=ra;exports.main=th;
|