@ozdao/prometheus-framework 0.2.39 → 0.2.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -2
- package/dist/auth.server.mjs +1 -2
- package/dist/files.server.js +1 -2
- package/dist/files.server.mjs +1 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-10560277.mjs +78 -0
- package/dist/mailing-902d13d5.js +77 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +13 -9
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +26 -22
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +29 -30
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -0
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -8
- 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/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +18 -20
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +88 -62
- 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 +97 -68
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +35 -34
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +65 -19
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -65
- 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 +64 -70
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/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 +5 -5
- 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 +6 -5
- 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 +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +43 -42
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.js +47 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.js +45 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.js +32 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.js +25 -14
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.js +44 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +90 -67
- 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 +3 -3
- 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 +2 -11
- 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 +11 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -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 +2 -2
- 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 +45 -42
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +3 -3
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +60 -55
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/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 +3 -3
- 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 +18 -17
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +20 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +37 -34
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
- 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 +7 -7
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
- package/dist/prometheus-framework.cjs.js +20 -20
- package/dist/prometheus-framework.es.js +1278 -1288
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +2 -3
- package/src/components/Chips/Chips.vue +9 -3
- package/src/components/Countdown/Countdown.vue +4 -3
- package/src/components/Dropdown/Dropdown.vue +9 -3
- package/src/components/Feed/Feed.vue +7 -11
- package/src/components/Feed/Masonry.vue +177 -0
- package/src/components/FieldBig/FieldBig.vue +3 -3
- package/src/components/Header/Header.vue +2 -0
- package/src/components/Navigation/Navigation.vue +2 -0
- package/src/components/Shader/Shader.vue +161 -116
- package/src/components/Slider/Slider.vue +92 -0
- package/src/modules/applications/applications.client.js +2 -0
- package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
- package/src/modules/applications/controllers/applications.controller.js +125 -136
- package/src/modules/applications/models/application.model.js +22 -7
- package/src/modules/applications/routes/applications.routes.js +29 -13
- package/src/modules/auth/controllers/auth.controller.js +2 -3
- package/src/modules/auth/store/auth.js +3 -5
- package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
- package/src/modules/chats/components/pages/ChatPage.vue +6 -6
- package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
- package/src/modules/chats/store/chat.store.js +6 -1
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
- package/src/modules/community/components/layouts/Community.vue +65 -26
- package/src/modules/community/components/pages/Blog.vue +37 -0
- package/src/modules/community/components/pages/BlogPost.vue +5 -6
- package/src/modules/community/components/pages/Community.vue +1 -0
- package/src/modules/community/components/pages/CreateBlogPost.vue +1 -0
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +64 -24
- package/src/modules/community/components/sections/JoinUs.vue +4 -5
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +7 -6
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +3 -19
- package/src/modules/events/components/pages/EditEvent.vue +48 -3
- package/src/modules/events/components/pages/Event.vue +16 -8
- package/src/modules/events/components/sections/HeroEvent.vue +32 -28
- package/src/modules/events/components/sections/SectionMainGuest.vue +3 -2
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +22 -15
- package/src/modules/events/models/event.model.js +9 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +14 -3
- package/src/modules/files/routes/files.routes.js +9 -1
- package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
- package/src/modules/globals/utils/mailing.js +12 -0
- package/src/modules/icons/entities/IconEarn.vue +20 -0
- package/src/modules/icons/entities/IconFeatured.vue +14 -0
- package/src/modules/icons/entities/IconFollowing.vue +17 -0
- package/src/modules/icons/entities/IconPopular.vue +14 -0
- package/src/modules/icons/entities/IconRecent.vue +17 -0
- package/src/modules/icons/navigation/IconAdd.vue +1 -3
- package/src/modules/icons/navigation/IconArrow.vue +21 -0
- package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
- package/src/modules/icons/navigation/IconEdit.vue +16 -2
- package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
- package/src/modules/landing/components/sections/MobileApp.vue +38 -21
- package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
- package/src/modules/landing/components/sections/SectionFeatures.vue +7 -8
- package/src/modules/marketplace/components/layouts/Marketplace.vue +3 -3
- package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
- package/src/modules/orders/components/pages/Order.vue +3 -4
- package/src/modules/orders/store/shopcart.js +21 -5
- package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
- package/src/modules/organizations/components/sections/Publics.vue +3 -4
- package/src/modules/payments/controller/payments.controller.js +54 -200
- package/src/modules/payments/controller/payments.tinkoff.controller.js +242 -0
- package/src/modules/payments/models/payment.model.js +22 -0
- package/src/modules/payments/routes/payments.routes.js +4 -25
- package/src/modules/payments/routes/payments.tinkoff.routes.js +58 -0
- package/src/modules/products/components/pages/Product.vue +3 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
- package/src/modules/products/components/sections/MenuSection.vue +4 -4
- package/src/modules/products/components/sections/PopularProducts.vue +3 -3
- package/src/modules/products/components/sections/SectionProduct.vue +3 -0
- package/src/modules/products/controllers/products.controller.js +188 -109
- package/src/modules/products/models/product.model.js +1 -0
- package/src/modules/spots/components/layouts/Spots.vue +2 -2
- package/src/modules/wallet/components/pages/Wallet.vue +73 -88
- package/src/modules/wallet/controllers/crypto.controller.js +79 -0
- package/src/modules/wallet/models/wallet.model.js +27 -0
- package/src/styles/base/all.scss +4 -0
- package/src/styles/base/backgrounds.scss +2 -2
- package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
- package/src/styles/typography.scss +19 -12
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
- package/src/modules/constructor/components/elements/Youtube.vue +0 -52
- /package/src/modules/{orders/models/payment.model.js → payments/models/payment.tinkoff.model.js} +0 -0
@@ -1,36 +1,36 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue");const ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ga={key:0,class:"t-transp mn-r-small"},Ha=["placeholder","value"],Wa={key:0,class:"mn-t-thin invalid-feedback"},Ka={__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,o=i.ref(null);let a;const s=()=>{a=new google.maps.places.Autocomplete(o.value),a.addListener("place_changed",d)},l=()=>{a||s()},d=()=>{const c=a.getPlace();if(!c.geometry||!c.address_components)return;let f="",p="",h="";for(let _=0;_<c.address_components.length;_++){console.log(c.address_components);let C=c.address_components[_];C.types.includes("country")&&(f=C.long_name),C.types.includes("administrative_area_level_1")&&(p=C.long_name),C.types.includes("locality")&&(h=C.long_name)}const O=c.formatted_address,E={lat:c.geometry.location.lat(),lng:c.geometry.location.lng()};r("update:address",O),r("update:location",E),r("update:country",f),r("update:state",p),r("update:city",h)};return i.watchEffect(()=>{n.address!==o.value&&(o.value=n.address)}),i.onMounted(()=>{s()}),(c,f)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([c.$attrs.class,"flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ga,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{ref_key:"addressInput",ref:o,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ha),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[c.validation?(i.openBlock(),i.createElementBlock("div",Wa," * "+i.toDisplayString(c.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],2))}},po=ie(Ka,[["__scopeId","data-v-faece1a6"]]),Ya=Object.freeze(Object.defineProperty({__proto__:null,default:po},Symbol.toStringTag,{value:"Module"}));const Xa=["disabled"],za={key:0},qa={key:1,class:"loading"},Ja=i.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[i.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])],-1),Za=[Ja],Qa={key:2,class:"t-semi loading t-black"},ei={key:3,class:"error"},ti={key:0,class:"button-counter"},mo={__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),o=i.ref(!1),a=i.ref(!1);async function s(){n.value.style["pointer-events"]="none",r.value=null,o.value=!0;const l=()=>{n.value&&(n.value.classList.replace("bg-fifth","bg-main"),n.value.style.pointerEvents="auto",o.value=!1,a.value=!1,r.value=null)};try{await t.submit(),n.value.classList.replace("bg-main","bg-fifth"),o.value=!1,t.showSucces?(a.value=!0,setTimeout(l,500)):l(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value=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(s,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"button"},[i.createVNode(i.Transition,{name:"moveFromTopAbsolute"},{default:i.withCtx(()=>[!o.value&&!r.value&&!a.value||!e.showLoader?(i.openBlock(),i.createElementBlock("span",za,[i.renderSlot(l.$slots,"default")])):o.value&&!r.value&&e.showLoader?(i.openBlock(),i.createElementBlock("span",qa,Za)):a.value&&e.showSucces?(i.openBlock(),i.createElementBlock("span",Qa,i.toDisplayString(e.text.success),1)):r.value?(i.openBlock(),i.createElementBlock("span",ei,i.toDisplayString(r.value),1)):i.createCommentVNode("",!0)]),_:3}),e.counter?(i.openBlock(),i.createElementBlock("p",ti,i.toDisplayString(e.counter),1)):i.createCommentVNode("",!0)],8,Xa))}},ni=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"}));const ri={class:"flex-v-center flex-nowrap flex"},oi={key:0,class:"mn-r-auto t-transp mn-r-small"},ai=["name","value","checked"],ii={__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,o=a=>{if(Array.isArray(n.radio)){let s=[...n.radio];if(a.target.checked)s.push(n.value);else{const l=s.indexOf(n.value);l!==-1&&s.splice(l,1)}r("update:radio",s)}else typeof n.radio=="boolean"&&r("update:radio",a.target.checked)};return(a,s)=>(i.openBlock(),i.createElementBlock("label",ri,[e.label?(i.openBlock(),i.createElementBlock("div",oi,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onChange:o,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,ai),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)]))}},ho=ie(ii,[["__scopeId","data-v-ef88ec33"]]),si=Object.freeze(Object.defineProperty({__proto__:null,default:ho},Symbol.toStringTag,{value:"Module"})),Sn={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let o=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const a=(r=n.component)==null?void 0:r.name;a&&(o+=` Found in component ${a}`),console.warn(o)}e.clickOutsideEvent=function(o){e===o.target||e.contains(o.target)||t.value(o)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}};const li={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(e){let t=Sn;const n=i.ref(!1);function r(){n.value=!1}return(o,a)=>i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:"dropdown pos-relative",onClick:a[0]||(a[0]=i.withModifiers(s=>n.value=!n.value,["stop"]))},[i.createTextVNode(i.toDisplayString(e.label)+" ",1),i.createVNode(i.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{style:i.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[i.renderSlot(o.$slots,"default",{},void 0,!0)],4),[[i.vShow,n.value]])]),_:3})])),[[i.unref(t),r]])}},go=ie(li,[["__scopeId","data-v-2f59adb5"]]),di=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"})),ui={class:"error-wrapper"},ci={class:"error-card"},yo={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",ui,[i.createElementVNode("div",ci,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},fi=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"}));const $i={key:0,class:"t-transp mn-r-small"},pi={class:"w-100"},mi=["type","value","placeholder","tabindex"],hi=["value","placeholder","tabindex"],gi={key:1,class:"t-transp mn-l-small"},yi={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},_i={__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,o=i.ref(r.field);return(a,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",$i,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",pi,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:s[0]||(s[0]=l=>o.value=n("update:field",l.target.value)),onFocus:s[1]||(s[1]=l=>n("focus",l)),onBlur:s[2]||(s[2]=l=>n("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,mi)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:s[3]||(s[3]=l=>o.value=n("update:field",l.target.value)),onFocus:s[4]||(s[4]=l=>n("focus",l)),onBlur:s[5]||(s[5]=l=>n("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,hi))]),i.renderSlot(a.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",gi,[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",yi," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},_o=ie(_i,[["__scopeId","data-v-5e69d3c2"]]),bi=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"})),vi={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 Ei(e,t){var n=Array.prototype.slice.call(t);return n.push(vi),e.apply(this,n)}function rn(e){"@babel/helpers - typeof";return rn=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},rn(e)}function Xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ni(e,t,n){return t&&Xn(e.prototype,t),n&&Xn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$t(e,t)}function Si(e){var t=vo();return function(){var r=pt(e),o;if(t){var a=pt(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return Ti(this,o)}}function Ti(e,t){if(t&&(rn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bo(e)}function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e){var t=typeof Map=="function"?new Map:void 0;return on=function(r){if(r===null||!wi(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Ot(r,arguments,pt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),$t(o,r)},on(e)}function Ot(e,t,n){return vo()?Ot=Reflect.construct:Ot=function(o,a,s){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(o,l),c=new d;return s&&$t(c,s.prototype),c},Ot.apply(null,arguments)}function vo(){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 wi(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e,t){return $t=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$t(e,t)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pt(e)}var Ee=function(e){Ci(n,e);var t=Si(n);function n(r){var o;return Oi(this,n),o=t.call(this,r),Object.setPrototypeOf(bo(o),n.prototype),o.name=o.constructor.name,o}return Ni(n)}(on(Error)),Tn=2,Li=17,Pi=3,$e="0-90-9٠-٩۰-۹",Ii="-‐-―−ー-",ki="//",Ai="..",Di=" ",Ri="()()[]\\[\\]",Fi="~⁓∼~",Pt="".concat(Ii).concat(ki).concat(Ai).concat(Di).concat(Ri).concat(Fi),wn="++";function zn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var a=Number(n[o]),s=Number(r[o]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var Mi={}.constructor;function Ct(e){return e!=null&&e.constructor===Mi}function an(e){"@babel/helpers - typeof";return an=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},an(e)}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e,t,n){return t&&qn(e.prototype,t),n&&qn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var xi="1.2.0",Bi="1.7.35",Jn=" ext. ",Vi=/^\d+$/,re=function(){function e(t){Rt(this,e),Hi(t),this.metadata=t,Eo.call(this,t)}return Ft(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&Vi.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Zn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Zn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Zn=function(){function e(t,n){Rt(this,e),this.globalMetadataObject=n,this.metadata=t,Eo.call(this,n.metadata)}return Ft(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(o){return new Ui(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Qn(this.types(),n))return new Gi(Qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Jn:this.metadata[13]||Jn}}]),e}(),Ui=function(){function e(t,n){Rt(this,e),this._format=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!ji.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),ji=/^\(?\$1\)?$/,Gi=function(){function e(t,n){Rt(this,e),this.type=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Qn(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Hi(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ct(e)||!Ct(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(Ct(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Wi(e)+": "+e,"."))}var Wi=function(t){return an(t)};function Ln(e,t){if(t=new re(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Ki(e,t){return t.countries.hasOwnProperty(e)}function Eo(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?zn(t,xi)===-1?this.v2=!0:zn(t,Bi)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Yi=";ext=",qe=function(t){return"([".concat($e,"]{1,").concat(t,"})")};function No(e){var t="20",n="15",r="9",o="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",f="[- ]+",p="[ \\t]*",h="(?:,{2}|;)",O=Yi+qe(t),E=a+d+s+qe(t)+l,_=a+c+s+qe(r)+l,C=f+qe(o)+"#",m=p+h+s+qe(n)+l,y=p+"(?:,)+"+s+qe(r)+l;return O+"|"+E+"|"+_+"|"+C+"|"+m+"|"+y}var Xi="["+$e+"]{"+Tn+"}",zi="["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){3,}["+Pt+$e+"]*",qi=new RegExp("^["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){1,2}$","i"),Ji=zi+"(?:"+No()+")?",Zi=new RegExp("^"+Xi+"$|^"+Ji+"$","i");function Qi(e){return e.length>=Tn&&Zi.test(e)}function es(e){return qi.test(e)}var er=new RegExp("(?:"+No()+")$","i");function ts(e){var t=e.search(er);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(er),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}var ns={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 rs(e){return ns[e]}function os(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=as(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
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
7
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _l(e,t){if(e){if(typeof e=="string")return yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yr(e,t)}}function yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bl(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){a=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function vl(e){if(Array.isArray(e))return e}function El(e){var t=Array.prototype.slice.call(e),n=gl(t,4),r=n[0],o=n[1],a=n[2],s=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")s?(d=a,c=s):(d=void 0,c=a),o&&(d=ml({defaultCountry:o},d));else if(Ct(o))a?(d=o,c=a):c=o;else throw new Error("Invalid second argument: ".concat(o));return{text:l,options:d,metadata:c}}function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_r(Object(n),!0).forEach(function(r){Nl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e,t,n){t&&t.defaultCountry&&!Ki(t.defaultCountry,n)&&(t=br(br({},t),{},{defaultCountry:void 0}));try{return pl(e,t,n)}catch(r){if(!(r instanceof Ee))throw r}}function Cl(){var e=El(arguments),t=e.text,n=e.options,r=e.metadata;return Ol(t,n,r)}function Xt(){return Ei(Cl,arguments)}const Sl=[["افغانستان","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,,"🇦🇽"]],Tl=Sl.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 wl(){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 Ll(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 Pl=[{name:"allCountries",type:Array,default:Tl,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}],Il=[...Pl].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),vr={options:{...Il}};function ee(e){const t=vr.options[e];return typeof t>"u"?vr.options[e]:t}const kl=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:Sn},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:()=>ee("allCountries")},autoFormat:{type:Boolean,default:()=>ee("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>ee("customValidate")},defaultCountry:{type:String,default:()=>ee("defaultCountry")},disabled:{type:Boolean,default:()=>ee("disabled")},autoDefaultCountry:{type:Boolean,default:()=>ee("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>ee("dropdownOptions")},ignoredCountries:{type:Array,default:()=>ee("ignoredCountries")},inputOptions:{type:Object,default:()=>ee("inputOptions")},invalidMsg:{type:String,default:()=>ee("invalidMsg")},mode:{type:String,default:()=>ee("mode")},onlyCountries:{type:Array,default:()=>ee("onlyCountries")},preferredCountries:{type:Array,default:()=>ee("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>ee("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>ee("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 a,s,l;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=Xt(this.phone)||{}:e=Xt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;let r=(s=e.isValid)==null?void 0:s.call(e),o=this.phone;return r&&(o=(l=e.format)==null?void 0:l.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:o}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?wl().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,o=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:o}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=Xt(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(){Ll(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,o=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||o)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Al=["tabindex"],Dl={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Rl=["innerHTML"],Fl={key:1,class:"vti__country-code"},Ml=["onClick","onMousemove"],xl=["innerHTML"],Bl={key:1},Vl=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Ul={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function jl(e,t,n,r,o,a){const s=i.resolveDirective("click-outside");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:i.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...l)=>e.keyboardNav&&e.keyboardNav(...l)),t[2]||(t[2]=i.withKeys((...l)=>e.reset&&e.reset(...l),["esc"]))],onClick:t[1]||(t[1]=(...l)=>e.toggleDropdown&&e.toggleDropdown(...l)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",Dl,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Rl)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",Fl," +"+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,xl)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(l.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Bl," +"+i.toDisplayString(l.dialCode),1)):i.createCommentVNode("",!0)],42,Ml))),128))],6),[[i.vShow,e.open]])],46,Al)),[[s,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,Vl),[[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",Ul," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const To=ie(kl,[["render",jl],["__scopeId","data-v-a2b07445"]]),Gl=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));const Hl={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},Wl={class:"circular-loader"},Kl=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),Yl={key:0,class:"progress-text"},Xl={key:1,class:"uppercase t-semi w-m-10r status-text"};function zl(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",Wl,[Kl,n.progress?(i.openBlock(),i.createElementBlock("div",Yl,i.toDisplayString(n.progress),1)):i.createCommentVNode("",!0),n.status?(i.openBlock(),i.createElementBlock("div",Xl,i.toDisplayString(n.status),1)):i.createCommentVNode("",!0)])}const wo=ie(Hl,[["render",zl]]);const Lo=e=>(i.pushScopeId("data-v-e6e63879"),e=e(),i.popScopeId(),e),ql={class:"pos-relative"},Jl={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zl=Lo(()=>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)),Ql=Lo(()=>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)),ed=[Zl,Ql],td={__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,o=i.ref(null),a=i.ref(!1);let s,l;i.onMounted(()=>{console.log(n.location),s=new google.maps.Map(o.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:s,draggable:!0}),l.addListener("dragend",f=>{const p={lat:f.latLng.lat(),lng:f.latLng.lng()};r("update:location",p),d(p)})}),i.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&s){const f=new google.maps.LatLng(n.location.lat,n.location.lng);s.setCenter(f),s.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(h,O)=>{if(O==="OK")if(h[0]){r("update:address",h[0].formatted_address);let E="",_="",C="";h[0].address_components.forEach(m=>{m.types.includes("country")&&(E=m.long_name),m.types.includes("administrative_area_level_1")&&(_=m.long_name),m.types.includes("locality")&&(C=m.long_name)}),r("update:country",E),r("update:state",_),r("update:city",C)}else console.error("No results found");else console.error("Geocoder failed due to: "+O)})}async function c(){a.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const p={lat:f.coords.latitude,lng:f.coords.longitude};r("update:location",p),d(p),a.value=!1},()=>{console.error("Error getting location"),a.value=!1}):(console.error("Geolocation is not supported by this browser."),a.value=!1)}return(f,p)=>(i.openBlock(),i.createElementBlock("div",ql,[i.createElementVNode("div",{ref_key:"mapContainer",ref:o,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(()=>[a.value?(i.openBlock(),i.createBlock(wo,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(i.openBlock(),i.createElementBlock("svg",Jl,ed))]),_:1})])]))}},Po=ie(td,[["__scopeId","data-v-e6e63879"]]),nd=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"}));const rd={__name:"Map",props:{location:Object},setup(e){const t=e;let n=i.ref(null),r=null,o=null;return i.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),o=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),i.watch(()=>t.location,()=>{r&&o&&(o.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(a,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Io=ie(rd,[["__scopeId","data-v-c194b4a5"]]),od=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"}));/*!
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ga={key:0,class:"t-transp mn-r-small"},Ha=["placeholder","value"],Wa={key:0,class:"mn-t-thin invalid-feedback"},Ka={__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,o=i.ref(null);let a;const s=()=>{a=new google.maps.places.Autocomplete(o.value),a.addListener("place_changed",d)},l=()=>{a||s()},d=()=>{const c=a.getPlace();if(!c.geometry||!c.address_components)return;let f="",m="",h="";for(let b=0;b<c.address_components.length;b++){console.log(c.address_components);let C=c.address_components[b];C.types.includes("country")&&(f=C.long_name),C.types.includes("administrative_area_level_1")&&(m=C.long_name),C.types.includes("locality")&&(h=C.long_name)}const O=c.formatted_address,v={lat:c.geometry.location.lat(),lng:c.geometry.location.lng()};r("update:address",O),r("update:location",v),r("update:country",f),r("update:state",m),r("update:city",h)};return i.watchEffect(()=>{n.address!==o.value&&(o.value=n.address)}),i.onMounted(()=>{s()}),(c,f)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([c.$attrs.class,"flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",Ga,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{ref_key:"addressInput",ref:o,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ha),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[c.validation?(i.openBlock(),i.createElementBlock("div",Wa," * "+i.toDisplayString(c.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],2))}},mo=ie(Ka,[["__scopeId","data-v-faece1a6"]]),Ya=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"})),Xa=["disabled"],za={key:0},qa={key:1,class:"loading"},Ja=i.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[i.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),i.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[i.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),i.createTextVNode(),i.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])],-1),Za=[Ja],Qa={key:2,class:"t-semi loading t-black"},ei={key:3,class:"error"},ti={key:0,class:"button-counter"},po={__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),o=i.ref(!1),a=i.ref(!1);async function s(){n.value.style["pointer-events"]="none",r.value=null,o.value=!0;const l=()=>{n.value&&(n.value.classList.replace("bg-second","bg-main"),n.value.style.pointerEvents="auto",o.value=!1,a.value=!1,r.value=null)};try{await t.submit(),n.value.classList.replace("bg-main","bg-second"),o.value=!1,t.showSucces?(a.value=!0,setTimeout(l,500)):l(),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value=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(s,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"button"},[i.createVNode(i.Transition,{name:"moveFromTopAbsolute"},{default:i.withCtx(()=>[!o.value&&!r.value&&!a.value||!e.showLoader?(i.openBlock(),i.createElementBlock("span",za,[i.renderSlot(l.$slots,"default")])):o.value&&!r.value&&e.showLoader?(i.openBlock(),i.createElementBlock("span",qa,Za)):a.value&&e.showSucces?(i.openBlock(),i.createElementBlock("span",Qa,i.toDisplayString(e.text.success),1)):r.value?(i.openBlock(),i.createElementBlock("span",ei,i.toDisplayString(r.value),1)):i.createCommentVNode("",!0)]),_:3}),e.counter?(i.openBlock(),i.createElementBlock("p",ti,i.toDisplayString(e.counter),1)):i.createCommentVNode("",!0)],8,Xa))}},ni=Object.freeze(Object.defineProperty({__proto__:null,default:po},Symbol.toStringTag,{value:"Module"})),ri={class:"flex-v-center flex-nowrap flex"},oi={key:0,class:"mn-r-auto t-transp mn-r-small"},ai=["name","value","checked"],ii={__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,o=a=>{if(Array.isArray(n.radio)){let s=[...n.radio];if(a.target.checked)s.push(n.value);else{const l=s.indexOf(n.value);l!==-1&&s.splice(l,1)}r("update:radio",s)}else typeof n.radio=="boolean"&&r("update:radio",a.target.checked)};return(a,s)=>(i.openBlock(),i.createElementBlock("label",ri,[e.label?(i.openBlock(),i.createElementBlock("div",oi,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onChange:o,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,ai),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)]))}},ho=ie(ii,[["__scopeId","data-v-ef88ec33"]]),si=Object.freeze(Object.defineProperty({__proto__:null,default:ho},Symbol.toStringTag,{value:"Module"})),Sn={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let o=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const a=(r=n.component)==null?void 0:r.name;a&&(o+=` Found in component ${a}`),console.warn(o)}e.clickOutsideEvent=function(o){e===o.target||e.contains(o.target)||t.value(o)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}},li={key:0},di={key:1},ui={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=Sn;const n=e,r=i.ref(!1),o=i.computed(()=>typeof n.label=="object");function a(){r.value=!1}return(s,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"]))},[o.value?(i.openBlock(),i.createElementBlock("div",li,[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.label.component),{class:i.normalizeClass(e.label.class)},null,8,["class"]))])):(i.openBlock(),i.createElementBlock("div",di,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(s.$slots,"default",{},void 0,!0)],4),[[i.vShow,r.value]])]),_:3})])),[[i.unref(t),a]])}},go=ie(ui,[["__scopeId","data-v-542fc6b9"]]),ci=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"})),fi={class:"error-wrapper"},$i={class:"error-card"},yo={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",fi,[i.createElementVNode("div",$i,[i.createElementVNode("p",null,"Ошибка "+i.toDisplayString(e.error.status),1)])]))}},mi=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),pi={key:0,class:"t-transp mn-r-small"},hi={class:"w-100"},gi=["type","value","placeholder","tabindex"],yi=["value","placeholder","tabindex"],bi={key:1,class:"t-transp mn-l-small"},_i={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},Ei={__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,o=i.ref(r.field);return(a,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(i.openBlock(),i.createElementBlock("div",pi,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("div",hi,[e.type!=="textarea"?(i.openBlock(),i.createElementBlock("input",{key:0,onInput:s[0]||(s[0]=l=>o.value=n("update:field",l.target.value)),onFocus:s[1]||(s[1]=l=>n("focus",l)),onBlur:s[2]||(s[2]=l=>n("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,gi)):(i.openBlock(),i.createElementBlock("textarea",{key:1,onInput:s[3]||(s[3]=l=>o.value=n("update:field",l.target.value)),onFocus:s[4]||(s[4]=l=>n("focus",l)),onBlur:s[5]||(s[5]=l=>n("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex},null,40,yi))]),i.renderSlot(a.$slots,"default",{},void 0,!0),e.symbol?(i.openBlock(),i.createElementBlock("div",bi,[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",_i," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},bo=ie(Ei,[["__scopeId","data-v-5e69d3c2"]]),vi=Object.freeze(Object.defineProperty({__proto__:null,default:bo},Symbol.toStringTag,{value:"Module"})),Ni={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-26-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-26-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-26-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]|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 Oi(e,t){var n=Array.prototype.slice.call(t);return n.push(Ni),e.apply(this,n)}function rn(e){"@babel/helpers - typeof";return rn=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},rn(e)}function Xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ci(e,t,n){return t&&Xn(e.prototype,t),n&&Xn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Si(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$t(e,t)}function wi(e){var t=Eo();return function(){var r=mt(e),o;if(t){var a=mt(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return Li(this,o)}}function Li(e,t){if(t&&(rn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _o(e)}function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e){var t=typeof Map=="function"?new Map:void 0;return on=function(r){if(r===null||!Pi(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Ot(r,arguments,mt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),$t(o,r)},on(e)}function Ot(e,t,n){return Eo()?Ot=Reflect.construct:Ot=function(o,a,s){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(o,l),c=new d;return s&&$t(c,s.prototype),c},Ot.apply(null,arguments)}function Eo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pi(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e,t){return $t=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$t(e,t)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mt(e)}var ve=function(e){Ti(n,e);var t=wi(n);function n(r){var o;return Si(this,n),o=t.call(this,r),Object.setPrototypeOf(_o(o),n.prototype),o.name=o.constructor.name,o}return Ci(n)}(on(Error)),Tn=2,Ii=17,ki=3,$e="0-90-9٠-٩۰-۹",Ai="-‐-―−ー-",Di="//",Ri="..",Fi=" ",Mi="()()[]\\[\\]",Bi="~⁓∼~",Pt="".concat(Ai).concat(Di).concat(Ri).concat(Fi).concat(Mi).concat(Bi),wn="++";function zn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var a=Number(n[o]),s=Number(r[o]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var xi={}.constructor;function Ct(e){return e!=null&&e.constructor===xi}function an(e){"@babel/helpers - typeof";return an=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},an(e)}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e,t,n){return t&&qn(e.prototype,t),n&&qn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Vi="1.2.0",Ui="1.7.35",Jn=" ext. ",ji=/^\d+$/,re=function(){function e(t){Rt(this,e),Ki(t),this.metadata=t,vo.call(this,t)}return Ft(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&ji.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Zn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Zn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Zn=function(){function e(t,n){Rt(this,e),this.globalMetadataObject=n,this.metadata=t,vo.call(this,n.metadata)}return Ft(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(o){return new Gi(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Qn(this.types(),n))return new Wi(Qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Jn:this.metadata[13]||Jn}}]),e}(),Gi=function(){function e(t,n){Rt(this,e),this._format=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Hi.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Hi=/^\(?\$1\)?$/,Wi=function(){function e(t,n){Rt(this,e),this.type=t,this.metadata=n}return Ft(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Qn(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Ki(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ct(e)||!Ct(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(Ct(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Yi(e)+": "+e,"."))}var Yi=function(t){return an(t)};function Ln(e,t){if(t=new re(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Xi(e,t){return t.countries.hasOwnProperty(e)}function vo(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?zn(t,Vi)===-1?this.v2=!0:zn(t,Ui)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var zi=";ext=",qe=function(t){return"([".concat($e,"]{1,").concat(t,"})")};function No(e){var t="20",n="15",r="9",o="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",f="[- ]+",m="[ \\t]*",h="(?:,{2}|;)",O=zi+qe(t),v=a+d+s+qe(t)+l,b=a+c+s+qe(r)+l,C=f+qe(o)+"#",p=m+h+s+qe(n)+l,y=m+"(?:,)+"+s+qe(r)+l;return O+"|"+v+"|"+b+"|"+C+"|"+p+"|"+y}var qi="["+$e+"]{"+Tn+"}",Ji="["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){3,}["+Pt+$e+"]*",Zi=new RegExp("^["+wn+"]{0,1}(?:["+Pt+"]*["+$e+"]){1,2}$","i"),Qi=Ji+"(?:"+No()+")?",es=new RegExp("^"+qi+"$|^"+Qi+"$","i");function ts(e){return e.length>=Tn&&es.test(e)}function ns(e){return Zi.test(e)}var er=new RegExp("(?:"+No()+")$","i");function rs(e){var t=e.search(er);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(er),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}var os={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 as(e){return os[e]}function is(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ss(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ss(e,t){if(e){if(typeof e=="string")return tr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tr(e,t)}}function tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nr(e){for(var t="",n=is(e.split("")),r;!(r=n()).done;){var o=r.value;t+=ls(o,t)||""}return t}function ls(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return as(e)}function ds(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=us(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 us(e,t){if(e){if(typeof e=="string")return rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rr(e,t)}}function rr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cs(e,t){for(var n=e.slice(),r=ds(t),o;!(o=r()).done;){var a=o.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(s,l){return s-l})}function Pn(e,t){return Oo(e,void 0,t)}function Oo(e,t,n){var r=n.type(t),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Oo(e,"MOBILE",n);var a=n.type("MOBILE");a&&(o=cs(o,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var s=e.length,l=o[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":o[o.length-1]<s?"TOO_LONG":o.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function fs(e,t,n){if(t===void 0&&(t={}),n=new re(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 Co(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 Co(e,t){switch(Pn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ce(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function $s(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=ms(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 ms(e,t){if(e){if(typeof e=="string")return or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return or(e,t)}}function or(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ps=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function In(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new re(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ce(r,n.nationalNumberPattern())){if(Kt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Kt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=$s(ps),a;!(a=o()).done;){var s=a.value;if(Kt(r,s,n))return s}}}}function Kt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ce(e,t.pattern())}function hs(e,t,n){if(t=t||{},n=new re(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return In(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ce(r,n.nationalNumberPattern())}function gs(e,t,n){var r=new re(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(a){return ys(t,a,n)}):[]}function ys(e,t,n){var r=new re(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function bs(e){return e.replace(new RegExp("[".concat(Pt,"]+"),"g")," ").trim()}var _s=/(\$\d)/;function Es(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(_s,t.nationalPrefixFormattingRule()):t.format());return r?bs(a):a}var vs=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Ns(e,t,n){var r=new re(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(vs.test(r.IDDPrefix()))return r.IDDPrefix()}function Os(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 Cs(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ss(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ss(e,t){if(e){if(typeof e=="string")return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ar(e,t)}}function ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ir(Object(n),!0).forEach(function(r){Ts(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ts(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function ws(e,t,n,r){if(n?n=sr(sr({},lr),n):n=lr,r=new re(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var o=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,s;switch(t){case"NATIONAL":return a?(s=It(a,e.carrierCode,"NATIONAL",r,n),Yt(s,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(s=It(a,null,"INTERNATIONAL",r,n),s="+".concat(o," ").concat(s),Yt(s,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return Os({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=Ps(a,e.carrierCode,o,n.fromCountry,r);return Yt(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function It(e,t,n,r,o){var a=Ls(r.formats(),e);return a?Es(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function Ls(e,t){for(var n=Cs(e),r;!(r=n()).done;){var o=r.value;if(o.leadingDigitsPatterns().length>0){var a=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(Ce(t,o.pattern()))return o}}function Yt(e,t,n,r){return t?r(e,t,n):e}function Ps(e,t,n,r,o){var a=Ln(r,o.metadata);if(a===n){var s=It(e,t,"NATIONAL",o);return n==="1"?n+" "+s:s}var l=Ns(r,void 0,o.metadata);if(l)return"".concat(l," ").concat(n," ").concat(It(e,null,"INTERNATIONAL",o))}function dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dr(Object(n),!0).forEach(function(r){Is(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Is(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function As(e,t,n){return t&&cr(e.prototype,t),n&&cr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ds=function(){function e(t,n,r){if(ks(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=Fs(t,r),a=o.country,s=o.countryCallingCode;this.country=a,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return As(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:gs(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return fs(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return hs(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new re(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return In(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return ws(this,n,r?ur(ur({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}]),e}(),Rs=function(t){return/^[A-Z]{2}$/.test(t)};function Fs(e,t){var n,r,o=new re(t);return Rs(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Ms=new RegExp("(["+$e+"])");function Bs(e,t,n,r){if(t){var o=new re(r);o.selectNumberingPlan(t,n);var a=new RegExp(o.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var s=e.match(Ms);if(!(s&&s[1]!=null&&s[1].length>0&&s[1]==="0"))return e}}}function xs(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,a,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)o=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(a=r[1]);else{var d=r[0];o=e.slice(d.length),l&&(a=r[1])}var c;if(l){var f=e.indexOf(r[1]),m=e.slice(0,f);m===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:o,nationalPrefix:c,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=xs(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!Vs(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!Us(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function Vs(e,t,n){return!(Ce(e,n.nationalNumberPattern())&&!Ce(t,n.nationalNumberPattern()))}function Us(e,t){switch(Pn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function js(e,t,n,r){var o=t?Ln(t,r):n;if(e.indexOf(o)===0){r=new re(r),r.selectNumberingPlan(t,n);var a=e.slice(o.length),s=sn(a,r),l=s.nationalNumber,d=sn(e,r),c=d.nationalNumber;if(!Ce(c,r.nationalNumberPattern())&&Ce(l,r.nationalNumberPattern())||Pn(c,r)==="TOO_LONG")return{countryCallingCode:o,number:a}}return{number:e}}function Gs(e,t,n,r){if(!e)return{};var o;if(e[0]!=="+"){var a=Bs(e,t,n,r);if(a&&a!==e)o=!0,e="+"+a;else{if(t||n){var s=js(e,t,n,r),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new re(r);for(var c=2;c-1<=ki&&c<=e.length;){var f=e.slice(1,c);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(c)};c++}return{}}function Hs(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=Ws(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 Ws(e,t){if(e){if(typeof e=="string")return fr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fr(e,t)}}function fr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ks(e,t){var n=t.countries,r=t.defaultCountry,o=t.metadata;o=new re(o);for(var a=[],s=Hs(n),l;!(l=s()).done;){var d=l.value;if(o.country(d),o.leadingDigits()){if(e&&e.search(o.leadingDigits())===0)return d}else if(In({phone:e,country:d},void 0,o.metadata))if(r){if(d===r)return d;a.push(d)}else return d}if(a.length>0)return a[0]}var Ys=!1;function Xs(e,t){var n=t.nationalNumber,r=t.defaultCountry,o=t.metadata;if(Ys&&o.isNonGeographicCallingCode(e))return"001";var a=o.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Ks(n,{countries:a,defaultCountry:r,metadata:o.metadata})}var So="+",zs="[\\-\\.\\(\\)]?",$r="(["+$e+"]|"+zs+")",qs="^\\"+So+$r+"*["+$e+"]"+$r+"*$",Js=new RegExp(qs,"g"),ln=$e,Zs="["+ln+"]+((\\-)*["+ln+"])*",Qs="a-zA-Z",el="["+Qs+"]+((\\-)*["+ln+"])*",tl="^("+Zs+"\\.)*"+el+"\\.?$",nl=new RegExp(tl,"g"),mr="tel:",dn=";phone-context=",rl=";isub=";function ol(e){var t=e.indexOf(dn);if(t<0)return null;var n=t+dn.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function al(e){return e===null?!0:e.length===0?!1:Js.test(e)||nl.test(e)}function il(e,t){var n=t.extractFormattedPhoneNumber,r=ol(e);if(!al(r))throw new ve("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else{o="",r.charAt(0)===So&&(o+=r);var a=e.indexOf(mr),s;a>=0?s=a+mr.length:s=0;var l=e.indexOf(dn);o+=e.substring(s,l)}var d=o.indexOf(rl);if(d>0&&(o=o.substring(0,d)),o!=="")return o}var sl=250,ll=new RegExp("["+wn+$e+"]"),dl=new RegExp("[^"+$e+"#]+$");function ul(e,t,n){if(t=t||{},n=new re(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new ve("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=fl(e,t.v2,t.extract),o=r.number,a=r.ext,s=r.error;if(!o){if(t.v2)throw s==="TOO_SHORT"?new ve("TOO_SHORT"):new ve("NOT_A_NUMBER");return{}}var l=ml(o,t.defaultCountry,t.defaultCallingCode,n),d=l.country,c=l.nationalNumber,f=l.countryCallingCode,m=l.countryCallingCodeSource,h=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new ve("INVALID_COUNTRY");return{}}if(!c||c.length<Tn){if(t.v2)throw new ve("TOO_SHORT");return{}}if(c.length>Ii){if(t.v2)throw new ve("TOO_LONG");return{}}if(t.v2){var O=new Ds(f,c,n.metadata);return d&&(O.country=d),h&&(O.carrierCode=h),a&&(O.ext=a),O.__countryCallingCodeSource=m,O}var v=(t.extended?n.hasSelectedNumberingPlan():d)?Ce(c,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:f,carrierCode:h,valid:v,possible:v?!0:!!(t.extended===!0&&n.possibleLengths()&&Co(c,n)),phone:c,ext:a}:v?$l(d,c,a):{}}function cl(e,t,n){if(e){if(e.length>sl){if(n)throw new ve("TOO_LONG");return}if(t===!1)return e;var r=e.search(ll);if(!(r<0))return e.slice(r).replace(dl,"")}}function fl(e,t,n){var r=il(e,{extractFormattedPhoneNumber:function(s){return cl(s,n,t)}});if(!r)return{};if(!ts(r))return ns(r)?{error:"TOO_SHORT"}:{};var o=rs(r);return o.ext?o:{number:r}}function $l(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function ml(e,t,n,r){var o=Gs(nr(e),t,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,l=o.number,d;if(s)r.selectNumberingPlan(s);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),s=n||Ln(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var c=sn(nr(l),r),f=c.nationalNumber,m=c.carrierCode,h=Xs(s,{nationalNumber:f,defaultCountry:t,metadata:r});return h&&(d=h,h==="001"||r.country(d)),{country:d,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:f,carrierCode:m}}function pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pr(Object(n),!0).forEach(function(r){pl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e,t,n){return ul(e,hr(hr({},t),{},{v2:!0}),n)}function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gr(Object(n),!0).forEach(function(r){yl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e,t){return Nl(e)||vl(e,t)||El(e,t)||_l()}function _l(){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 El(e,t){if(e){if(typeof e=="string")return yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yr(e,t)}}function yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vl(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,a=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){a=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function Nl(e){if(Array.isArray(e))return e}function Ol(e){var t=Array.prototype.slice.call(e),n=bl(t,4),r=n[0],o=n[1],a=n[2],s=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")s?(d=a,c=s):(d=void 0,c=a),o&&(d=gl({defaultCountry:o},d));else if(Ct(o))a?(d=o,c=a):c=o;else throw new Error("Invalid second argument: ".concat(o));return{text:l,options:d,metadata:c}}function br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?br(Object(n),!0).forEach(function(r){Cl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e,t,n){t&&t.defaultCountry&&!Xi(t.defaultCountry,n)&&(t=_r(_r({},t),{},{defaultCountry:void 0}));try{return hl(e,t,n)}catch(r){if(!(r instanceof ve))throw r}}function Tl(){var e=Ol(arguments),t=e.text,n=e.options,r=e.metadata;return Sl(t,n,r)}function Xt(){return Oi(Tl,arguments)}const wl=[["افغانستان","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,,"🇦🇽"]],Ll=wl.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 Pl(){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 Il(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 kl=[{name:"allCountries",type:Array,default:Ll,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}],Al=[...kl].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},{}),Er={options:{...Al}};function ee(e){const t=Er.options[e];return typeof t>"u"?Er.options[e]:t}const Dl=i.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:Sn},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:()=>ee("allCountries")},autoFormat:{type:Boolean,default:()=>ee("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>ee("customValidate")},defaultCountry:{type:String,default:()=>ee("defaultCountry")},disabled:{type:Boolean,default:()=>ee("disabled")},autoDefaultCountry:{type:Boolean,default:()=>ee("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>ee("dropdownOptions")},ignoredCountries:{type:Array,default:()=>ee("ignoredCountries")},inputOptions:{type:Object,default:()=>ee("inputOptions")},invalidMsg:{type:String,default:()=>ee("invalidMsg")},mode:{type:String,default:()=>ee("mode")},onlyCountries:{type:Array,default:()=>ee("onlyCountries")},preferredCountries:{type:Array,default:()=>ee("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>ee("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>ee("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 a,s,l;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=Xt(this.phone)||{}:e=Xt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;let r=(s=e.isValid)==null?void 0:s.call(e),o=this.phone;return r&&(o=(l=e.format)==null?void 0:l.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:o}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?Pl().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,o=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:o}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=Xt(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(){Il(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,o=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||o)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Rl=["tabindex"],Fl={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Ml=["innerHTML"],Bl={key:1,class:"vti__country-code"},xl=["onClick","onMousemove"],Vl=["innerHTML"],Ul={key:1},jl=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Gl={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function Hl(e,t,n,r,o,a){const s=i.resolveDirective("click-outside");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createElementVNode("div",{class:i.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:i.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...l)=>e.keyboardNav&&e.keyboardNav(...l)),t[2]||(t[2]=i.withKeys((...l)=>e.reset&&e.reset(...l),["esc"]))],onClick:t[1]||(t[1]=(...l)=>e.toggleDropdown&&e.toggleDropdown(...l)),style:i.normalizeStyle([e.dropdownStyle])},[i.createElementVNode("span",Fl,[e.dropdownOptions.showFlags?(i.openBlock(),i.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Ml)):i.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(i.openBlock(),i.createElementBlock("span",Bl," +"+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,Vl)):i.createCommentVNode("",!0),i.createElementVNode("strong",null,i.toDisplayString(l.name),1),e.dropdownOptions.showDialCodeInList?(i.openBlock(),i.createElementBlock("span",Ul," +"+i.toDisplayString(l.dialCode),1)):i.createCommentVNode("",!0)],42,xl))),128))],6),[[i.vShow,e.open]])],46,Rl)),[[s,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,jl),[[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",Gl," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}const To=ie(Dl,[["render",Hl],["__scopeId","data-v-a2b07445"]]),Wl=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"})),Kl={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},Yl={class:"circular-loader"},Xl=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),zl={key:0,class:"progress-text"},ql={key:1,class:"uppercase t-semi w-m-10r status-text"};function Jl(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",Yl,[Xl,n.progress?(i.openBlock(),i.createElementBlock("div",zl,i.toDisplayString(n.progress),1)):i.createCommentVNode("",!0),n.status?(i.openBlock(),i.createElementBlock("div",ql,i.toDisplayString(n.status),1)):i.createCommentVNode("",!0)])}const wo=ie(Kl,[["render",Jl]]),Lo=e=>(i.pushScopeId("data-v-e6e63879"),e=e(),i.popScopeId(),e),Zl={class:"pos-relative"},Ql={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ed=Lo(()=>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)),td=Lo(()=>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)),nd=[ed,td],rd={__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,o=i.ref(null),a=i.ref(!1);let s,l;i.onMounted(()=>{console.log(n.location),s=new google.maps.Map(o.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:s,draggable:!0}),l.addListener("dragend",f=>{const m={lat:f.latLng.lat(),lng:f.latLng.lng()};r("update:location",m),d(m)})}),i.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),i.watchEffect(()=>{if(n.location&&s){const f=new google.maps.LatLng(n.location.lat,n.location.lng);s.setCenter(f),s.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(h,O)=>{if(O==="OK")if(h[0]){r("update:address",h[0].formatted_address);let v="",b="",C="";h[0].address_components.forEach(p=>{p.types.includes("country")&&(v=p.long_name),p.types.includes("administrative_area_level_1")&&(b=p.long_name),p.types.includes("locality")&&(C=p.long_name)}),r("update:country",v),r("update:state",b),r("update:city",C)}else console.error("No results found");else console.error("Geocoder failed due to: "+O)})}async function c(){a.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const m={lat:f.coords.latitude,lng:f.coords.longitude};r("update:location",m),d(m),a.value=!1},()=>{console.error("Error getting location"),a.value=!1}):(console.error("Geolocation is not supported by this browser."),a.value=!1)}return(f,m)=>(i.openBlock(),i.createElementBlock("div",Zl,[i.createElementVNode("div",{ref_key:"mapContainer",ref:o,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(()=>[a.value?(i.openBlock(),i.createBlock(wo,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(i.openBlock(),i.createElementBlock("svg",Ql,nd))]),_:1})])]))}},Po=ie(rd,[["__scopeId","data-v-e6e63879"]]),od=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"})),ad={__name:"Map",props:{location:Object},setup(e){const t=e;let n=i.ref(null),r=null,o=null;return i.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),o=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),i.watch(()=>t.location,()=>{r&&o&&(o.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(a,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Io=ie(ad,[["__scopeId","data-v-c194b4a5"]]),id=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"}));/*!
|
8
8
|
* vue-router v4.2.5
|
9
9
|
* (c) 2023 Eduardo San Martin Morote
|
10
10
|
* @license MIT
|
11
|
-
*/var
|
11
|
+
*/var vr;(function(e){e.pop="pop",e.push="push"})(vr||(vr={}));var Nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Nr||(Nr={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var Or;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Or||(Or={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const sd=Symbol(process.env.NODE_ENV!=="production"?"router":""),ld=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function dd(){return i.inject(sd)}function ud(){return i.inject(ld)}/*!
|
12
12
|
* shared v9.9.1
|
13
13
|
* (c) 2024 kazuya kawaguchi
|
14
14
|
* Released under the MIT License.
|
15
|
-
*/const Se=typeof window<"u";let ae,Ue;if(process.env.NODE_ENV!=="production"){const e=Se&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ae=t=>{e.mark(t)},Ue=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const
|
16
|
-
`)}function An(e){let t=e;return()=>++t}function Ae(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const wr={};function
|
15
|
+
*/const Se=typeof window<"u";let ae,Ue;if(process.env.NODE_ENV!=="production"){const e=Se&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ae=t=>{e.mark(t)},Ue=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const cd=/\{([0-9a-zA-Z]+)\}/g;function kn(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(cd,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Te=(e,t=!1)=>t?Symbol.for(e):Symbol(e),fd=(e,t,n)=>$d({l:e,k:t,s:n}),$d=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Z=e=>typeof e=="number"&&isFinite(e),md=e=>Ao(e)==="[object Date]",Qe=e=>Ao(e)==="[object RegExp]",Mt=e=>F(e)&&Object.keys(e).length===0,Q=Object.assign;let Cr;const Ne=()=>Cr||(Cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Sr(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const pd=Object.prototype.hasOwnProperty;function kt(e,t){return pd.call(e,t)}const X=Array.isArray,G=e=>typeof e=="function",k=e=>typeof e=="string",j=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",hd=e=>V(e)&&G(e.then)&&G(e.catch),ko=Object.prototype.toString,Ao=e=>ko.call(e),F=e=>{if(!V(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},gd=e=>e==null?"":X(e)||F(e)&&e.toString===ko?JSON.stringify(e,null,2):String(e);function yd(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Tr=2;function bd(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const a=[];for(let s=0;s<r.length;s++)if(o+=r[s].length+1,o>=t){for(let l=s-Tr;l<=s+Tr||n>o;l++){if(l<0||l>=r.length)continue;const d=l+1;a.push(`${d}${" ".repeat(3-String(d).length)}| ${r[l]}`);const c=r[l].length;if(l===s){const f=t-(o-c)+1,m=Math.max(1,n>o?c-f:n-t);a.push(" | "+" ".repeat(f)+"^".repeat(m))}else if(l>s){if(n>o){const f=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(f))}o+=c+1}}break}return a.join(`
|
16
|
+
`)}function An(e){let t=e;return()=>++t}function Ae(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const wr={};function _d(e){wr[e]||(wr[e]=!0,Ae(e))}function Ed(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const Nt=e=>!V(e)||X(e);function St(e,t){if(Nt(e)||Nt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(a=>{Nt(r[a])||Nt(o[a])?o[a]=r[a]:n.push({src:r[a],des:o[a]})})}}/*!
|
17
17
|
* message-compiler v9.9.1
|
18
18
|
* (c) 2024 kazuya kawaguchi
|
19
19
|
* Released under the MIT License.
|
20
|
-
*/function
|
21
|
-
`,Ld=String.fromCharCode(8232),Pd=String.fromCharCode(8233);function Id(e){const t=e;let n=0,r=1,o=1,a=0;const s=A=>t[A]===wd&&t[A+1]===te,l=A=>t[A]===te,d=A=>t[A]===Pd,c=A=>t[A]===Ld,f=A=>s(A)||l(A)||d(A)||c(A),p=()=>n,h=()=>r,O=()=>o,E=()=>a,_=A=>s(A)||d(A)||c(A)?te:t[A],C=()=>_(n),m=()=>_(n+a);function y(){return a=0,f(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function S(){return s(n+a)&&a++,a++,t[n+a]}function N(){n=0,r=1,o=1,a=0}function I(A=0){a=A}function L(){const A=n+a;for(;A!==n;)y();a=0}return{index:p,line:h,column:O,peekOffset:E,charAt:_,currentChar:C,currentPeek:m,next:y,peek:S,reset:N,resetPeek:I,skipToPeek:L}}const Le=void 0,kd=".",Pr="'",Ad="tokenizer";function Dd(e,t={}){const n=t.location!==!1,r=Id(e),o=()=>r.index(),a=()=>bd(r.line(),r.column(),r.index()),s=a(),l=o(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:f}=t;function p($,u,g,...P){const R=c();if(u.column+=g,u.offset+=g,f){const x=n?un(R.startLoc,u):null,me=nt($,x,{domain:Ad,args:P});f(me)}}function h($,u,g){$.endLoc=a(),$.currentType=u;const P={type:u};return n&&(P.loc=un($.startLoc,$.endLoc)),g!=null&&(P.value=g),P}const O=$=>h($,14);function E($,u){return $.currentChar()===u?($.next(),u):(p(D.EXPECTED_TOKEN,a(),0,u),"")}function _($){let u="";for(;$.currentPeek()===ve||$.currentPeek()===te;)u+=$.currentPeek(),$.peek();return u}function C($){const u=_($);return $.skipToPeek(),u}function m($){if($===Le)return!1;const u=$.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y($){if($===Le)return!1;const u=$.charCodeAt(0);return u>=48&&u<=57}function S($,u){const{currentType:g}=u;if(g!==2)return!1;_($);const P=m($.currentPeek());return $.resetPeek(),P}function N($,u){const{currentType:g}=u;if(g!==2)return!1;_($);const P=$.currentPeek()==="-"?$.peek():$.currentPeek(),R=y(P);return $.resetPeek(),R}function I($,u){const{currentType:g}=u;if(g!==2)return!1;_($);const P=$.currentPeek()===Pr;return $.resetPeek(),P}function L($,u){const{currentType:g}=u;if(g!==8)return!1;_($);const P=$.currentPeek()===".";return $.resetPeek(),P}function A($,u){const{currentType:g}=u;if(g!==9)return!1;_($);const P=m($.currentPeek());return $.resetPeek(),P}function w($,u){const{currentType:g}=u;if(!(g===8||g===12))return!1;_($);const P=$.currentPeek()===":";return $.resetPeek(),P}function U($,u){const{currentType:g}=u;if(g!==10)return!1;const P=()=>{const x=$.currentPeek();return x==="{"?m($.peek()):x==="@"||x==="%"||x==="|"||x===":"||x==="."||x===ve||!x?!1:x===te?($.peek(),P()):m(x)},R=P();return $.resetPeek(),R}function W($){_($);const u=$.currentPeek()==="|";return $.resetPeek(),u}function ce($){const u=_($),g=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:g,hasSpace:u.length>0}}function q($,u=!0){const g=(R=!1,x="",me=!1)=>{const be=$.currentPeek();return be==="{"?x==="%"?!1:R:be==="@"||!be?x==="%"?!0:R:be==="%"?($.peek(),g(R,"%",!0)):be==="|"?x==="%"||me?!0:!(x===ve||x===te):be===ve?($.peek(),g(!0,ve,me)):be===te?($.peek(),g(!0,te,me)):!0},P=g();return u&&$.resetPeek(),P}function se($,u){const g=$.currentChar();return g===Le?Le:u(g)?($.next(),g):null}function He($){return se($,g=>{const P=g.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function ot($){return se($,g=>{const P=g.charCodeAt(0);return P>=48&&P<=57})}function pe($){return se($,g=>{const P=g.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function We($){let u="",g="";for(;u=ot($);)g+=u;return g}function at($){C($);const u=$.currentChar();return u!=="%"&&p(D.EXPECTED_TOKEN,a(),0,u),$.next(),"%"}function Ke($){let u="";for(;;){const g=$.currentChar();if(g==="{"||g==="}"||g==="@"||g==="|"||!g)break;if(g==="%")if(q($))u+=g,$.next();else break;else if(g===ve||g===te)if(q($))u+=g,$.next();else{if(W($))break;u+=g,$.next()}else u+=g,$.next()}return u}function it($){C($);let u="",g="";for(;u=He($);)g+=u;return $.currentChar()===Le&&p(D.UNTERMINATED_CLOSING_BRACE,a(),0),g}function fe($){C($);let u="";return $.currentChar()==="-"?($.next(),u+=`-${We($)}`):u+=We($),$.currentChar()===Le&&p(D.UNTERMINATED_CLOSING_BRACE,a(),0),u}function Ye($){C($),E($,"'");let u="",g="";const P=x=>x!==Pr&&x!==te;for(;u=se($,P);)u==="\\"?g+=st($):g+=u;const R=$.currentChar();return R===te||R===Le?(p(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),R===te&&($.next(),E($,"'")),g):(E($,"'"),g)}function st($){const u=$.currentChar();switch(u){case"\\":case"'":return $.next(),`\\${u}`;case"u":return Xe($,u,4);case"U":return Xe($,u,6);default:return p(D.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function Xe($,u,g){E($,u);let P="";for(let R=0;R<g;R++){const x=pe($);if(!x){p(D.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${P}${$.currentChar()}`);break}P+=x}return`\\${u}${P}`}function lt($){C($);let u="",g="";const P=R=>R!=="{"&&R!=="}"&&R!==ve&&R!==te;for(;u=se($,P);)g+=u;return g}function dt($){let u="",g="";for(;u=He($);)g+=u;return g}function vt($){const u=(g=!1,P)=>{const R=$.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||R==="("||R===")"||!R||R===ve?P:R===te||R===kd?(P+=R,$.next(),u(g,P)):(P+=R,$.next(),u(!0,P))};return u(!1,"")}function Re($){C($);const u=E($,"|");return C($),u}function Fe($,u){let g=null;switch($.currentChar()){case"{":return u.braceNest>=1&&p(D.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),$.next(),g=h(u,2,"{"),C($),u.braceNest++,g;case"}":return u.braceNest>0&&u.currentType===2&&p(D.EMPTY_PLACEHOLDER,a(),0),$.next(),g=h(u,3,"}"),u.braceNest--,u.braceNest>0&&C($),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),g;case"@":return u.braceNest>0&&p(D.UNTERMINATED_CLOSING_BRACE,a(),0),g=we($,u)||O(u),u.braceNest=0,g;default:let R=!0,x=!0,me=!0;if(W($))return u.braceNest>0&&p(D.UNTERMINATED_CLOSING_BRACE,a(),0),g=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,g;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return p(D.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,Me($,u);if(R=S($,u))return g=h(u,5,it($)),C($),g;if(x=N($,u))return g=h(u,6,fe($)),C($),g;if(me=I($,u))return g=h(u,7,Ye($)),C($),g;if(!R&&!x&&!me)return g=h(u,13,lt($)),p(D.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,g.value),C($),g;break}return g}function we($,u){const{currentType:g}=u;let P=null;const R=$.currentChar();switch((g===8||g===9||g===12||g===10)&&(R===te||R===ve)&&p(D.INVALID_LINKED_FORMAT,a(),0),R){case"@":return $.next(),P=h(u,8,"@"),u.inLinked=!0,P;case".":return C($),$.next(),h(u,9,".");case":":return C($),$.next(),h(u,10,":");default:return W($)?(P=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,P):L($,u)||w($,u)?(C($),we($,u)):A($,u)?(C($),h(u,12,dt($))):U($,u)?(C($),R==="{"?Fe($,u)||P:h(u,11,vt($))):(g===8&&p(D.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,Me($,u))}}function Me($,u){let g={type:14};if(u.braceNest>0)return Fe($,u)||O(u);if(u.inLinked)return we($,u)||O(u);switch($.currentChar()){case"{":return Fe($,u)||O(u);case"}":return p(D.UNBALANCED_CLOSING_BRACE,a(),0),$.next(),h(u,3,"}");case"@":return we($,u)||O(u);default:if(W($))return g=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,g;const{isModulo:R,hasSpace:x}=ce($);if(R)return x?h(u,0,Ke($)):h(u,4,at($));if(q($))return h(u,0,Ke($));break}return g}function ut(){const{currentType:$,offset:u,startLoc:g,endLoc:P}=d;return d.lastType=$,d.lastOffset=u,d.lastStartLoc=g,d.lastEndLoc=P,d.offset=o(),d.startLoc=a(),r.currentChar()===Le?h(d,14):Me(r,d)}return{nextToken:ut,currentOffset:o,currentPosition:a,context:c}}const Rd="parser",Fd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Md(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 xd(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,S,N,...I){const L=m.currentPosition();if(L.offset+=N,L.column+=N,n){const A=t?un(S,L):null,w=nt(y,A,{domain:Rd,args:I});n(w)}}function o(m,y,S){const N={type:m};return t&&(N.start=y,N.end=y,N.loc={start:S,end:S}),N}function a(m,y,S,N){N&&(m.type=N),t&&(m.end=y,m.loc&&(m.loc.end=S))}function s(m,y){const S=m.context(),N=o(3,S.offset,S.startLoc);return N.value=y,a(N,m.currentOffset(),m.currentPosition()),N}function l(m,y){const S=m.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(5,N,I);return L.index=parseInt(y,10),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function d(m,y){const S=m.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(4,N,I);return L.key=y,m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function c(m,y){const S=m.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(9,N,I);return L.value=y.replace(Fd,Md),m.nextToken(),a(L,m.currentOffset(),m.currentPosition()),L}function f(m){const y=m.nextToken(),S=m.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(8,N,I);return y.type!==12?(r(m,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),L.value="",a(L,N,I),{nextConsumeToken:y,node:L}):(y.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,he(y)),L.value=y.value||"",a(L,m.currentOffset(),m.currentPosition()),{node:L})}function p(m,y){const S=m.context(),N=o(7,S.offset,S.startLoc);return N.value=y,a(N,m.currentOffset(),m.currentPosition()),N}function h(m){const y=m.context(),S=o(6,y.offset,y.startLoc);let N=m.nextToken();if(N.type===9){const I=f(m);S.modifier=I.node,N=I.nextConsumeToken||m.nextToken()}switch(N.type!==10&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),N=m.nextToken(),N.type===2&&(N=m.nextToken()),N.type){case 11:N.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=p(m,N.value||"");break;case 5:N.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=d(m,N.value||"");break;case 6:N.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=l(m,N.value||"");break;case 7:N.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=c(m,N.value||"");break;default:r(m,D.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=m.context(),L=o(7,I.offset,I.startLoc);return L.value="",a(L,I.offset,I.startLoc),S.key=L,a(S,I.offset,I.startLoc),{nextConsumeToken:N,node:S}}return a(S,m.currentOffset(),m.currentPosition()),{node:S}}function O(m){const y=m.context(),S=y.currentType===1?m.currentOffset():y.offset,N=y.currentType===1?y.endLoc:y.startLoc,I=o(2,S,N);I.items=[];let L=null;do{const U=L||m.nextToken();switch(L=null,U.type){case 0:U.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(s(m,U.value||""));break;case 6:U.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(l(m,U.value||""));break;case 5:U.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(d(m,U.value||""));break;case 7:U.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(c(m,U.value||""));break;case 8:const W=h(m);I.items.push(W.node),L=W.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const A=y.currentType===1?y.lastOffset:m.currentOffset(),w=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(I,A,w),I}function E(m,y,S,N){const I=m.context();let L=N.items.length===0;const A=o(1,y,S);A.cases=[],A.cases.push(N);do{const w=O(m);L||(L=w.items.length===0),A.cases.push(w)}while(I.currentType!==14);return L&&r(m,D.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(A,m.currentOffset(),m.currentPosition()),A}function _(m){const y=m.context(),{offset:S,startLoc:N}=y,I=O(m);return y.currentType===14?I:E(m,S,N,I)}function C(m){const y=Dd(m,Do({},e)),S=y.context(),N=o(0,S.offset,S.startLoc);return t&&N.loc&&(N.loc.source=m),N.body=_(y),e.onCacheKey&&(N.cacheKey=e.onCacheKey(m)),S.currentType!==14&&r(y,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,m[S.offset]||""),a(N,y.currentOffset(),y.currentPosition()),N}return{parse:C}}function he(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Bd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ir(e,t){for(let n=0;n<e.length;n++)Dn(e[n],t)}function Dn(e,t){switch(e.type){case 1:Ir(e.cases,t),t.helper("plural");break;case 2:Ir(e.items,t);break;case 6:Dn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Vd(e,t={}){const n=Bd(e);n.helper("normalize"),e.body&&Dn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ud(e){const t=e.body;return t.type===2?kr(t):t.cases.forEach(n=>kr(n)),e}function kr(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=Ro(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 jd="minifier";function Je(e){switch(e.t=e.type,e.type){case 0:const t=e;Je(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++)Je(r[f]);n.c=r,delete n.cases;break;case 2:const o=e,a=o.items;for(let f=0;f<a.length;f++)Je(a[f]);o.i=a,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const l=e;Je(l.key),l.k=l.key,delete l.key,l.modifier&&(Je(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 nt(D.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:jd,args:[e.type]})}delete e.type}const Gd="parser";function Hd(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:a}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(C,m){l.code+=C}function f(C,m=!0){const y=m?o:"";c(a?y+" ".repeat(C):y)}function p(C=!0){const m=++l.indentLevel;C&&f(m)}function h(C=!0){const m=--l.indentLevel;C&&f(m)}function O(){f(l.indentLevel)}return{context:d,push:c,indent:p,deindent:h,newline:O,helper:C=>`_${C}`,needIndent:()=>l.needIndent}}function Wd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),et(e,t.key),t.modifier?(e.push(", "),et(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Kd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(et(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Yd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(et(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Xd(e,t){t.body?et(e,t.body):e.push("null")}function et(e,t){const{helper:n}=e;switch(t.type){case 0:Xd(e,t);break;case 1:Yd(e,t);break;case 2:Kd(e,t);break;case 6:Wd(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 nt(D.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Gd,args:[t.type]})}}const zd=(e,t={})=>{const n=Lr(t.mode)?t.mode:"normal",r=Lr(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
22
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=
|
20
|
+
*/function vd(e,t,n){return{line:e,column:t,offset:n}}function un(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Nd=/\{([0-9a-zA-Z]+)\}/g;function Od(e,...t){return t.length===1&&Cd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Nd,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Do=Object.assign,Lr=e=>typeof e=="string",Cd=e=>e!==null&&typeof e=="object";function Ro(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const D={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},Sd={[D.EXPECTED_TOKEN]:"Expected token: '{0}'",[D.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[D.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[D.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[D.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[D.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[D.EMPTY_PLACEHOLDER]:"Empty placeholder",[D.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[D.INVALID_LINKED_FORMAT]:"Invalid linked format",[D.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[D.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[D.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[D.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[D.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[D.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function nt(e,t,n={}){const{domain:r,messages:o,args:a}=n,s=Od((o||Sd)[e]||"",...a||[]),l=new SyntaxError(String(s));return l.code=e,t&&(l.location=t),l.domain=r,l}function Td(e){throw e}const wd=/<\/?[\w\s="/.':;#-\/]+>/,Ld=e=>wd.test(e),Ee=" ",Pd="\r",te=`
|
21
|
+
`,Id="\u2028",kd="\u2029";function Ad(e){const t=e;let n=0,r=1,o=1,a=0;const s=A=>t[A]===Pd&&t[A+1]===te,l=A=>t[A]===te,d=A=>t[A]===kd,c=A=>t[A]===Id,f=A=>s(A)||l(A)||d(A)||c(A),m=()=>n,h=()=>r,O=()=>o,v=()=>a,b=A=>s(A)||d(A)||c(A)?te:t[A],C=()=>b(n),p=()=>b(n+a);function y(){return a=0,f(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function S(){return s(n+a)&&a++,a++,t[n+a]}function N(){n=0,r=1,o=1,a=0}function I(A=0){a=A}function L(){const A=n+a;for(;A!==n;)y();a=0}return{index:m,line:h,column:O,peekOffset:v,charAt:b,currentChar:C,currentPeek:p,next:y,peek:S,reset:N,resetPeek:I,skipToPeek:L}}const Le=void 0,Dd=".",Pr="'",Rd="tokenizer";function Fd(e,t={}){const n=t.location!==!1,r=Ad(e),o=()=>r.index(),a=()=>vd(r.line(),r.column(),r.index()),s=a(),l=o(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:f}=t;function m($,u,g,...P){const R=c();if(u.column+=g,u.offset+=g,f){const B=n?un(R.startLoc,u):null,pe=nt($,B,{domain:Rd,args:P});f(pe)}}function h($,u,g){$.endLoc=a(),$.currentType=u;const P={type:u};return n&&(P.loc=un($.startLoc,$.endLoc)),g!=null&&(P.value=g),P}const O=$=>h($,14);function v($,u){return $.currentChar()===u?($.next(),u):(m(D.EXPECTED_TOKEN,a(),0,u),"")}function b($){let u="";for(;$.currentPeek()===Ee||$.currentPeek()===te;)u+=$.currentPeek(),$.peek();return u}function C($){const u=b($);return $.skipToPeek(),u}function p($){if($===Le)return!1;const u=$.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y($){if($===Le)return!1;const u=$.charCodeAt(0);return u>=48&&u<=57}function S($,u){const{currentType:g}=u;if(g!==2)return!1;b($);const P=p($.currentPeek());return $.resetPeek(),P}function N($,u){const{currentType:g}=u;if(g!==2)return!1;b($);const P=$.currentPeek()==="-"?$.peek():$.currentPeek(),R=y(P);return $.resetPeek(),R}function I($,u){const{currentType:g}=u;if(g!==2)return!1;b($);const P=$.currentPeek()===Pr;return $.resetPeek(),P}function L($,u){const{currentType:g}=u;if(g!==8)return!1;b($);const P=$.currentPeek()===".";return $.resetPeek(),P}function A($,u){const{currentType:g}=u;if(g!==9)return!1;b($);const P=p($.currentPeek());return $.resetPeek(),P}function w($,u){const{currentType:g}=u;if(!(g===8||g===12))return!1;b($);const P=$.currentPeek()===":";return $.resetPeek(),P}function U($,u){const{currentType:g}=u;if(g!==10)return!1;const P=()=>{const B=$.currentPeek();return B==="{"?p($.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===Ee||!B?!1:B===te?($.peek(),P()):p(B)},R=P();return $.resetPeek(),R}function W($){b($);const u=$.currentPeek()==="|";return $.resetPeek(),u}function ce($){const u=b($),g=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:g,hasSpace:u.length>0}}function q($,u=!0){const g=(R=!1,B="",pe=!1)=>{const _e=$.currentPeek();return _e==="{"?B==="%"?!1:R:_e==="@"||!_e?B==="%"?!0:R:_e==="%"?($.peek(),g(R,"%",!0)):_e==="|"?B==="%"||pe?!0:!(B===Ee||B===te):_e===Ee?($.peek(),g(!0,Ee,pe)):_e===te?($.peek(),g(!0,te,pe)):!0},P=g();return u&&$.resetPeek(),P}function se($,u){const g=$.currentChar();return g===Le?Le:u(g)?($.next(),g):null}function He($){return se($,g=>{const P=g.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function ot($){return se($,g=>{const P=g.charCodeAt(0);return P>=48&&P<=57})}function me($){return se($,g=>{const P=g.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function We($){let u="",g="";for(;u=ot($);)g+=u;return g}function at($){C($);const u=$.currentChar();return u!=="%"&&m(D.EXPECTED_TOKEN,a(),0,u),$.next(),"%"}function Ke($){let u="";for(;;){const g=$.currentChar();if(g==="{"||g==="}"||g==="@"||g==="|"||!g)break;if(g==="%")if(q($))u+=g,$.next();else break;else if(g===Ee||g===te)if(q($))u+=g,$.next();else{if(W($))break;u+=g,$.next()}else u+=g,$.next()}return u}function it($){C($);let u="",g="";for(;u=He($);)g+=u;return $.currentChar()===Le&&m(D.UNTERMINATED_CLOSING_BRACE,a(),0),g}function fe($){C($);let u="";return $.currentChar()==="-"?($.next(),u+=`-${We($)}`):u+=We($),$.currentChar()===Le&&m(D.UNTERMINATED_CLOSING_BRACE,a(),0),u}function Ye($){C($),v($,"'");let u="",g="";const P=B=>B!==Pr&&B!==te;for(;u=se($,P);)u==="\\"?g+=st($):g+=u;const R=$.currentChar();return R===te||R===Le?(m(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),R===te&&($.next(),v($,"'")),g):(v($,"'"),g)}function st($){const u=$.currentChar();switch(u){case"\\":case"'":return $.next(),`\\${u}`;case"u":return Xe($,u,4);case"U":return Xe($,u,6);default:return m(D.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function Xe($,u,g){v($,u);let P="";for(let R=0;R<g;R++){const B=me($);if(!B){m(D.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${P}${$.currentChar()}`);break}P+=B}return`\\${u}${P}`}function lt($){C($);let u="",g="";const P=R=>R!=="{"&&R!=="}"&&R!==Ee&&R!==te;for(;u=se($,P);)g+=u;return g}function dt($){let u="",g="";for(;u=He($);)g+=u;return g}function Et($){const u=(g=!1,P)=>{const R=$.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||R==="("||R===")"||!R||R===Ee?P:R===te||R===Dd?(P+=R,$.next(),u(g,P)):(P+=R,$.next(),u(!0,P))};return u(!1,"")}function Re($){C($);const u=v($,"|");return C($),u}function Fe($,u){let g=null;switch($.currentChar()){case"{":return u.braceNest>=1&&m(D.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),$.next(),g=h(u,2,"{"),C($),u.braceNest++,g;case"}":return u.braceNest>0&&u.currentType===2&&m(D.EMPTY_PLACEHOLDER,a(),0),$.next(),g=h(u,3,"}"),u.braceNest--,u.braceNest>0&&C($),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),g;case"@":return u.braceNest>0&&m(D.UNTERMINATED_CLOSING_BRACE,a(),0),g=we($,u)||O(u),u.braceNest=0,g;default:let R=!0,B=!0,pe=!0;if(W($))return u.braceNest>0&&m(D.UNTERMINATED_CLOSING_BRACE,a(),0),g=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,g;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return m(D.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,Me($,u);if(R=S($,u))return g=h(u,5,it($)),C($),g;if(B=N($,u))return g=h(u,6,fe($)),C($),g;if(pe=I($,u))return g=h(u,7,Ye($)),C($),g;if(!R&&!B&&!pe)return g=h(u,13,lt($)),m(D.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,g.value),C($),g;break}return g}function we($,u){const{currentType:g}=u;let P=null;const R=$.currentChar();switch((g===8||g===9||g===12||g===10)&&(R===te||R===Ee)&&m(D.INVALID_LINKED_FORMAT,a(),0),R){case"@":return $.next(),P=h(u,8,"@"),u.inLinked=!0,P;case".":return C($),$.next(),h(u,9,".");case":":return C($),$.next(),h(u,10,":");default:return W($)?(P=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,P):L($,u)||w($,u)?(C($),we($,u)):A($,u)?(C($),h(u,12,dt($))):U($,u)?(C($),R==="{"?Fe($,u)||P:h(u,11,Et($))):(g===8&&m(D.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,Me($,u))}}function Me($,u){let g={type:14};if(u.braceNest>0)return Fe($,u)||O(u);if(u.inLinked)return we($,u)||O(u);switch($.currentChar()){case"{":return Fe($,u)||O(u);case"}":return m(D.UNBALANCED_CLOSING_BRACE,a(),0),$.next(),h(u,3,"}");case"@":return we($,u)||O(u);default:if(W($))return g=h(u,1,Re($)),u.braceNest=0,u.inLinked=!1,g;const{isModulo:R,hasSpace:B}=ce($);if(R)return B?h(u,0,Ke($)):h(u,4,at($));if(q($))return h(u,0,Ke($));break}return g}function ut(){const{currentType:$,offset:u,startLoc:g,endLoc:P}=d;return d.lastType=$,d.lastOffset=u,d.lastStartLoc=g,d.lastEndLoc=P,d.offset=o(),d.startLoc=a(),r.currentChar()===Le?h(d,14):Me(r,d)}return{nextToken:ut,currentOffset:o,currentPosition:a,context:c}}const Md="parser",Bd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function xd(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 Vd(e={}){const t=e.location!==!1,{onError:n}=e;function r(p,y,S,N,...I){const L=p.currentPosition();if(L.offset+=N,L.column+=N,n){const A=t?un(S,L):null,w=nt(y,A,{domain:Md,args:I});n(w)}}function o(p,y,S){const N={type:p};return t&&(N.start=y,N.end=y,N.loc={start:S,end:S}),N}function a(p,y,S,N){N&&(p.type=N),t&&(p.end=y,p.loc&&(p.loc.end=S))}function s(p,y){const S=p.context(),N=o(3,S.offset,S.startLoc);return N.value=y,a(N,p.currentOffset(),p.currentPosition()),N}function l(p,y){const S=p.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(5,N,I);return L.index=parseInt(y,10),p.nextToken(),a(L,p.currentOffset(),p.currentPosition()),L}function d(p,y){const S=p.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(4,N,I);return L.key=y,p.nextToken(),a(L,p.currentOffset(),p.currentPosition()),L}function c(p,y){const S=p.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(9,N,I);return L.value=y.replace(Bd,xd),p.nextToken(),a(L,p.currentOffset(),p.currentPosition()),L}function f(p){const y=p.nextToken(),S=p.context(),{lastOffset:N,lastStartLoc:I}=S,L=o(8,N,I);return y.type!==12?(r(p,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),L.value="",a(L,N,I),{nextConsumeToken:y,node:L}):(y.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,he(y)),L.value=y.value||"",a(L,p.currentOffset(),p.currentPosition()),{node:L})}function m(p,y){const S=p.context(),N=o(7,S.offset,S.startLoc);return N.value=y,a(N,p.currentOffset(),p.currentPosition()),N}function h(p){const y=p.context(),S=o(6,y.offset,y.startLoc);let N=p.nextToken();if(N.type===9){const I=f(p);S.modifier=I.node,N=I.nextConsumeToken||p.nextToken()}switch(N.type!==10&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),N=p.nextToken(),N.type===2&&(N=p.nextToken()),N.type){case 11:N.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=m(p,N.value||"");break;case 5:N.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=d(p,N.value||"");break;case 6:N.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=l(p,N.value||"");break;case 7:N.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(N)),S.key=c(p,N.value||"");break;default:r(p,D.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=p.context(),L=o(7,I.offset,I.startLoc);return L.value="",a(L,I.offset,I.startLoc),S.key=L,a(S,I.offset,I.startLoc),{nextConsumeToken:N,node:S}}return a(S,p.currentOffset(),p.currentPosition()),{node:S}}function O(p){const y=p.context(),S=y.currentType===1?p.currentOffset():y.offset,N=y.currentType===1?y.endLoc:y.startLoc,I=o(2,S,N);I.items=[];let L=null;do{const U=L||p.nextToken();switch(L=null,U.type){case 0:U.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(s(p,U.value||""));break;case 6:U.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(l(p,U.value||""));break;case 5:U.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(d(p,U.value||""));break;case 7:U.value==null&&r(p,D.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,he(U)),I.items.push(c(p,U.value||""));break;case 8:const W=h(p);I.items.push(W.node),L=W.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const A=y.currentType===1?y.lastOffset:p.currentOffset(),w=y.currentType===1?y.lastEndLoc:p.currentPosition();return a(I,A,w),I}function v(p,y,S,N){const I=p.context();let L=N.items.length===0;const A=o(1,y,S);A.cases=[],A.cases.push(N);do{const w=O(p);L||(L=w.items.length===0),A.cases.push(w)}while(I.currentType!==14);return L&&r(p,D.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(A,p.currentOffset(),p.currentPosition()),A}function b(p){const y=p.context(),{offset:S,startLoc:N}=y,I=O(p);return y.currentType===14?I:v(p,S,N,I)}function C(p){const y=Fd(p,Do({},e)),S=y.context(),N=o(0,S.offset,S.startLoc);return t&&N.loc&&(N.loc.source=p),N.body=b(y),e.onCacheKey&&(N.cacheKey=e.onCacheKey(p)),S.currentType!==14&&r(y,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,p[S.offset]||""),a(N,y.currentOffset(),y.currentPosition()),N}return{parse:C}}function he(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Ud(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ir(e,t){for(let n=0;n<e.length;n++)Dn(e[n],t)}function Dn(e,t){switch(e.type){case 1:Ir(e.cases,t),t.helper("plural");break;case 2:Ir(e.items,t);break;case 6:Dn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function jd(e,t={}){const n=Ud(e);n.helper("normalize"),e.body&&Dn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Gd(e){const t=e.body;return t.type===2?kr(t):t.cases.forEach(n=>kr(n)),e}function kr(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=Ro(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 Hd="minifier";function Je(e){switch(e.t=e.type,e.type){case 0:const t=e;Je(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++)Je(r[f]);n.c=r,delete n.cases;break;case 2:const o=e,a=o.items;for(let f=0;f<a.length;f++)Je(a[f]);o.i=a,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const l=e;Je(l.key),l.k=l.key,delete l.key,l.modifier&&(Je(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 nt(D.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Hd,args:[e.type]})}delete e.type}const Wd="parser";function Kd(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:a}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(C,p){l.code+=C}function f(C,p=!0){const y=p?o:"";c(a?y+" ".repeat(C):y)}function m(C=!0){const p=++l.indentLevel;C&&f(p)}function h(C=!0){const p=--l.indentLevel;C&&f(p)}function O(){f(l.indentLevel)}return{context:d,push:c,indent:m,deindent:h,newline:O,helper:C=>`_${C}`,needIndent:()=>l.needIndent}}function Yd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),et(e,t.key),t.modifier?(e.push(", "),et(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Xd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(et(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function zd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(et(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function qd(e,t){t.body?et(e,t.body):e.push("null")}function et(e,t){const{helper:n}=e;switch(t.type){case 0:qd(e,t);break;case 1:zd(e,t);break;case 2:Xd(e,t);break;case 6:Yd(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 nt(D.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Wd,args:[t.type]})}}const Jd=(e,t={})=>{const n=Lr(t.mode)?t.mode:"normal",r=Lr(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
22
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Kd(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:s});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),l.length>0&&(d.push(`const { ${Ro(l.map(m=>`${m}: _${m}`),", ")} } = ctx`),d.newline()),d.push("return "),et(d,e),d.deindent(s),d.push("}"),delete e.helpers;const{code:c,map:f}=d.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function Zd(e,t={}){const n=Do({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null?!0:n.optimize,l=Vd(n).parse(e);return r?(a&&Gd(l),o&&Je(l),{ast:l,code:""}):(jd(l,n),Jd(l,n))}/*!
|
23
23
|
* core-base v9.9.1
|
24
24
|
* (c) 2024 kazuya kawaguchi
|
25
25
|
* Released under the MIT License.
|
26
|
-
*/function Jd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const De=[];De[0]={w:[0],i:[3,0],"[":[4],o:[7]};De[1]={w:[1],".":[2],"[":[4],o:[7]};De[2]={w:[2],i:[3,0],0:[3,0]};De[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};De[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};De[5]={"'":[4,0],o:8,l:[5,0]};De[6]={'"':[4,0],o:8,l:[6,0]};const Zd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Qd(e){return Zd.test(e)}function eu(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 tu(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 nu(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Qd(t)?eu(t):"*"+t}function ru(e){const t=[];let n=-1,r=0,o=0,a,s,l,d,c,f,p;const h=[];h[0]=()=>{s===void 0?s=l:s+=l},h[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,s===void 0||(s=nu(s),s===!1))return!1;h[1]()}};function O(){const E=e[n+1];if(r===5&&E==="'"||r===6&&E==='"')return n++,l="\\"+E,h[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&O())){if(d=tu(a),p=De[r],c=p[d]||p.l||8,c===8||(r=c[0],c[1]!==void 0&&(f=h[c[1]],f&&(l=a,f()===!1))))return;if(r===7)return t}}const Ar=new Map;function ou(e,t){return V(e)?e[t]:null}function au(e,t){if(!V(e))return null;let n=Ar.get(t);if(n||(n=ru(t),n&&Ar.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const s=o[n[a]];if(s===void 0||G(o))return null;o=s,a++}return o}const iu=e=>e,su=e=>"",lu="text",du=e=>e.length===0?"":hd(e),uu=md;function Dr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cu(e){const t=Z(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Z(e.named.count)||Z(e.named.n))?Z(e.named.count)?e.named.count:Z(e.named.n)?e.named.n:t:t}function fu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function $u(e={}){const t=e.locale,n=cu(e),r=V(e.pluralRules)&&k(t)&&G(e.pluralRules[t])?e.pluralRules[t]:Dr,o=V(e.pluralRules)&&k(t)&&G(e.pluralRules[t])?Dr:void 0,a=m=>m[r(n,m.length,o)],s=e.list||[],l=m=>s[m],d=e.named||{};Z(e.pluralIndex)&&fu(n,d);const c=m=>d[m];function f(m){const y=G(e.messages)?e.messages(m):V(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):su)}const p=m=>e.modifiers?e.modifiers[m]:iu,h=F(e.processor)&&G(e.processor.normalize)?e.processor.normalize:du,O=F(e.processor)&&G(e.processor.interpolate)?e.processor.interpolate:uu,E=F(e.processor)&&k(e.processor.type)?e.processor.type:lu,C={list:l,named:c,plural:a,linked:(m,...y)=>{const[S,N]=y;let I="text",L="";y.length===1?V(S)?(L=S.modifier||L,I=S.type||I):k(S)&&(L=S||L):y.length===2&&(k(S)&&(L=S||L),k(N)&&(I=N||I));const A=f(m)(C),w=I==="vnode"&&X(A)&&L?A[0]:A;return L?p(L)(w,I):w},message:f,type:E,interpolate:O,normalize:h,values:Q({},s,d)};return C}let mt=null;function pu(e){mt=e}function mu(e,t,n){mt&&mt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const hu=gu("function:translate");function gu(e){return t=>mt&&mt.emit(e,t)}const ne={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},yu={[ne.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ne.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ne.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ne.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ne.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 je(e,...t){return kn(yu[e],...t)}const Fo=D.__EXTEND_POINT__,Ve=An(Fo),J={INVALID_ARGUMENT:Fo,INVALID_DATE_ARGUMENT:Ve(),INVALID_ISO_DATE_ARGUMENT:Ve(),NOT_SUPPORT_NON_STRING_MESSAGE:Ve(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ve(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ve(),NOT_SUPPORT_LOCALE_TYPE:Ve(),__EXTEND_POINT__:Ve()};function ge(e){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:_u}:void 0)}const _u={[J.INVALID_ARGUMENT]:"Invalid arguments",[J.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[J.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[J.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[J.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[J.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Rn(e,t){return t.locale!=null?Rr(t.locale):Rr(e.locale)}let zt;function Rr(e){if(k(e))return e;if(G(e)){if(e.resolvedOnce&&zt!=null)return zt;if(e.constructor.name==="Function"){const t=e();if(pd(t))throw ge(J.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zt=t}else throw ge(J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ge(J.NOT_SUPPORT_LOCALE_TYPE)}function bu(e,t,n){return[...new Set([n,...X(t)?t:V(t)?Object.keys(t):k(t)?[t]:[n]])]}function Mo(e,t,n){const r=k(n)?n:ht,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;X(s);)s=Fr(a,s,t);const l=X(t)||!F(t)?t:t.default?t.default:null;s=k(l)?[l]:l,X(s)&&Fr(a,s,!1),o.__localeChainCache.set(r,a)}return a}function Fr(e,t,n){let r=!0;for(let o=0;o<t.length&&j(r);o++){const a=t[o];k(a)&&(r=vu(e,t[o],n))}return r}function vu(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=Eu(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Eu(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(X(n)||F(n))&&n[o]&&(r=n[o])}return r}const Nu="9.9.1",xt=-1,ht="en-US",At="",Mr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ou(){return{upper:(e,t)=>t==="text"&&k(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&k(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&k(e)?Mr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?Mr(e.children):e}}let xo;function xr(e){xo=e}let Bo;function Cu(e){Bo=e}let Vo;function Su(e){Vo=e}let Uo=null;const Tu=e=>{Uo=e},wu=()=>Uo;let jo=null;const Br=e=>{jo=e},Lu=()=>jo;let Vr=0;function Pu(e={}){const t=G(e.onWarn)?e.onWarn:Ae,n=k(e.version)?e.version:Nu,r=k(e.locale)||G(e.locale)?e.locale:ht,o=G(r)?ht:r,a=X(e.fallbackLocale)||F(e.fallbackLocale)||k(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=F(e.messages)?e.messages:{[o]:{}},l=F(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},d=F(e.numberFormats)?e.numberFormats:{[o]:{}},c=Q({},e.modifiers||{},Ou()),f=e.pluralRules||{},p=G(e.missing)?e.missing:null,h=j(e.missingWarn)||Qe(e.missingWarn)?e.missingWarn:!0,O=j(e.fallbackWarn)||Qe(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,_=!!e.unresolving,C=G(e.postTranslation)?e.postTranslation:null,m=F(e.processor)?e.processor:null,y=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,N=G(e.messageCompiler)?e.messageCompiler:xo;process.env.NODE_ENV!=="production"&&G(e.messageCompiler)&&yd(je(ne.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=G(e.messageResolver)?e.messageResolver:Bo||ou,L=G(e.localeFallbacker)?e.localeFallbacker:Vo||bu,A=V(e.fallbackContext)?e.fallbackContext:void 0,w=e,U=V(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,W=V(w.__numberFormatters)?w.__numberFormatters:new Map,ce=V(w.__meta)?w.__meta:{};Vr++;const q={version:n,cid:Vr,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:f,missing:p,missingWarn:h,fallbackWarn:O,fallbackFormat:E,unresolving:_,postTranslation:C,processor:m,warnHtmlMessage:y,escapeParameter:S,messageCompiler:N,messageResolver:I,localeFallbacker:L,fallbackContext:A,onWarn:t,__meta:ce};return q.datetimeFormats=l,q.numberFormats=d,q.__datetimeFormatters=U,q.__numberFormatters=W,process.env.NODE_ENV!=="production"&&(q.__v_emitter=w.__v_emitter!=null?w.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&mu(q,n,ce),q}function Bt(e,t){return e instanceof RegExp?e.test(t):e}function Go(e,t){return e instanceof RegExp?e.test(t):e}function Fn(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return k(l)?l:t}else return process.env.NODE_ENV!=="production"&&Go(r,t)&&s(je(ne.NOT_FOUND_KEY,{key:t,locale:n})),t}function ct(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function qt(e){return n=>Iu(n,e)}function Iu(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((a,s)=>[...a,Ur(e,s)],[]))}else return Ur(e,n)}function Ur(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,a)=>[...o,cn(e,a)],[]);return e.normalize(r)}}function cn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index));case 6:const l=t,d=l.m||l.modifier;return e.linked(cn(e,l.k||l.key),d?cn(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 ku="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ho(e,t){t&&Td(e)&&Ae(kn(ku,{source:e}))}const Wo=e=>e;let Ze=Object.create(null);const Ge=e=>V(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ko(e,t={}){let n=!1;const r=t.onError||Cd;return t.onError=o=>{n=!0,r(o)},{...qd(e,t),detectError:n}}const Au=(e,t)=>{if(!k(e))throw ge(J.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ho(e,n);const o=(t.onCacheKey||Wo)(e),a=Ze[o];if(a)return a;const{code:s,detectError:l}=Ko(e,t),d=new Function(`return ${s}`)();return l?d:Ze[o]=d}};function Du(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&k(e)){const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ho(e,n);const o=(t.onCacheKey||Wo)(e),a=Ze[o];if(a)return a;const{ast:s,detectError:l}=Ko(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=qt(s);return l?d:Ze[o]=d}else{if(process.env.NODE_ENV!=="production"&&!Ge(e))return Ae(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ze[n];return r||(Ze[n]=qt(e))}else return qt(e)}}const jr=()=>"",de=e=>G(e);function Gr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:s,messages:l}=e,[d,c]=fn(...t),f=j(c.missingWarn)?c.missingWarn:e.missingWarn,p=j(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=j(c.escapeParameter)?c.escapeParameter:e.escapeParameter,O=!!c.resolvedMessage,E=k(c.default)||j(c.default)?j(c.default)?a?d:()=>d:c.default:n?a?d:()=>d:"",_=n||E!=="",C=Rn(e,c);h&&Ru(c);let[m,y,S]=O?[d,C,l[C]||{}]:Yo(e,d,C,s,p,f),N=m,I=d;if(!O&&!(k(N)||Ge(N)||de(N))&&_&&(N=E,I=N),!O&&(!(k(N)||Ge(N)||de(N))||!k(y)))return o?xt:d;if(process.env.NODE_ENV!=="production"&&k(N)&&e.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let L=!1;const A=()=>{L=!0},w=de(N)?N:Xo(e,d,y,N,I,A);if(L)return N;const U=Bu(e,y,S,c),W=$u(U),ce=Fu(e,w,W),q=r?r(ce,d):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:k(d)?d:de(N)?N.key:"",locale:y||(de(N)?N.locale:""),format:k(N)?N:de(N)?N.source:"",message:q};se.meta=Q({},e.__meta,wu()||{}),hu(se)}return q}function Ru(e){X(e.list)?e.list=e.list.map(t=>k(t)?Sr(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{k(e.named[t])&&(e.named[t]=Sr(e.named[t]))})}function Yo(e,t,n,r,o,a){const{messages:s,onWarn:l,messageResolver:d,localeFallbacker:c}=e,f=c(e,r,n);let p={},h,O=null,E=n,_=null;const C="translate";for(let m=0;m<f.length;m++){if(h=_=f[m],process.env.NODE_ENV!=="production"&&n!==h&&Bt(o,t)&&l(je(ne.FALLBACK_TO_TRANSLATE,{key:t,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const L=e.__v_emitter;L&&L.emit("fallback",{type:C,key:t,from:E,to:_,groupId:`${C}:${t}`})}p=s[h]||{};let y=null,S,N;if(process.env.NODE_ENV!=="production"&&Se&&(y=window.performance.now(),S="intlify-message-resolve-start",N="intlify-message-resolve-end",ae&&ae(S)),(O=d(p,t))===null&&(O=p[t]),process.env.NODE_ENV!=="production"&&Se){const L=window.performance.now(),A=e.__v_emitter;A&&y&&O&&A.emit("message-resolve",{type:"message-resolve",key:t,message:O,time:L-y,groupId:`${C}:${t}`}),S&&N&&ae&&Ue&&(ae(N),Ue("intlify message resolve",S,N))}if(k(O)||Ge(O)||de(O))break;const I=Fn(e,t,h,a,C);I!==t&&(O=I),E=_}return[O,h,p]}function Xo(e,t,n,r,o,a){const{messageCompiler:s,warnHtmlMessage:l}=e;if(de(r)){const h=r;return h.locale=h.locale||n,h.key=h.key||t,h}if(s==null){const h=()=>r;return h.locale=n,h.key=t,h}let d=null,c,f;process.env.NODE_ENV!=="production"&&Se&&(d=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",ae&&ae(c));const p=s(r,Mu(e,n,o,r,l,a));if(process.env.NODE_ENV!=="production"&&Se){const h=window.performance.now(),O=e.__v_emitter;O&&d&&O.emit("message-compilation",{type:"message-compilation",message:r,time:h-d,groupId:`translate:${t}`}),c&&f&&ae&&Ue&&(ae(f),Ue("intlify message compilation",c,f))}return p.locale=n,p.key=t,p.source=r,p}function Fu(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&Se&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",ae&&ae(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&Se){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-r,groupId:`translate:${t.key}`}),o&&a&&ae&&Ue&&(ae(a),Ue("intlify message evaluation",o,a))}return s}function fn(...e){const[t,n,r]=e,o={};if(!k(t)&&!Z(t)&&!de(t)&&!Ge(t))throw ge(J.INVALID_ARGUMENT);const a=Z(t)?String(t):(de(t),t);return Z(n)?o.plural=n:k(n)?o.default=n:F(n)&&!Mt(n)?o.named=n:X(n)&&(o.list=n),Z(r)?o.plural=r:k(r)?o.default=r:F(r)&&Q(o,r),[a,o]}function Mu(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const l=xu(r),d=`Message compilation error: ${s.message}`,c=s.location&&l&&gd(l,s.location.start.offset,s.location.end.offset),f=e.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
27
|
-
${c}`:d)}else throw s},onCacheKey:s=>
|
26
|
+
*/function Qd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const De=[];De[0]={w:[0],i:[3,0],"[":[4],o:[7]};De[1]={w:[1],".":[2],"[":[4],o:[7]};De[2]={w:[2],i:[3,0],0:[3,0]};De[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};De[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};De[5]={"'":[4,0],o:8,l:[5,0]};De[6]={'"':[4,0],o:8,l:[6,0]};const eu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tu(e){return eu.test(e)}function nu(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 ru(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 ou(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tu(t)?nu(t):"*"+t}function au(e){const t=[];let n=-1,r=0,o=0,a,s,l,d,c,f,m;const h=[];h[0]=()=>{s===void 0?s=l:s+=l},h[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,s===void 0||(s=ou(s),s===!1))return!1;h[1]()}};function O(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,l="\\"+v,h[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&O())){if(d=ru(a),m=De[r],c=m[d]||m.l||8,c===8||(r=c[0],c[1]!==void 0&&(f=h[c[1]],f&&(l=a,f()===!1))))return;if(r===7)return t}}const Ar=new Map;function iu(e,t){return V(e)?e[t]:null}function su(e,t){if(!V(e))return null;let n=Ar.get(t);if(n||(n=au(t),n&&Ar.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const s=o[n[a]];if(s===void 0||G(o))return null;o=s,a++}return o}const lu=e=>e,du=e=>"",uu="text",cu=e=>e.length===0?"":yd(e),fu=gd;function Dr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function $u(e){const t=Z(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Z(e.named.count)||Z(e.named.n))?Z(e.named.count)?e.named.count:Z(e.named.n)?e.named.n:t:t}function mu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function pu(e={}){const t=e.locale,n=$u(e),r=V(e.pluralRules)&&k(t)&&G(e.pluralRules[t])?e.pluralRules[t]:Dr,o=V(e.pluralRules)&&k(t)&&G(e.pluralRules[t])?Dr:void 0,a=p=>p[r(n,p.length,o)],s=e.list||[],l=p=>s[p],d=e.named||{};Z(e.pluralIndex)&&mu(n,d);const c=p=>d[p];function f(p){const y=G(e.messages)?e.messages(p):V(e.messages)?e.messages[p]:!1;return y||(e.parent?e.parent.message(p):du)}const m=p=>e.modifiers?e.modifiers[p]:lu,h=F(e.processor)&&G(e.processor.normalize)?e.processor.normalize:cu,O=F(e.processor)&&G(e.processor.interpolate)?e.processor.interpolate:fu,v=F(e.processor)&&k(e.processor.type)?e.processor.type:uu,C={list:l,named:c,plural:a,linked:(p,...y)=>{const[S,N]=y;let I="text",L="";y.length===1?V(S)?(L=S.modifier||L,I=S.type||I):k(S)&&(L=S||L):y.length===2&&(k(S)&&(L=S||L),k(N)&&(I=N||I));const A=f(p)(C),w=I==="vnode"&&X(A)&&L?A[0]:A;return L?m(L)(w,I):w},message:f,type:v,interpolate:O,normalize:h,values:Q({},s,d)};return C}let pt=null;function hu(e){pt=e}function gu(e,t,n){pt&&pt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const yu=bu("function:translate");function bu(e){return t=>pt&&pt.emit(e,t)}const ne={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},_u={[ne.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ne.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ne.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ne.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ne.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 je(e,...t){return kn(_u[e],...t)}const Fo=D.__EXTEND_POINT__,Ve=An(Fo),J={INVALID_ARGUMENT:Fo,INVALID_DATE_ARGUMENT:Ve(),INVALID_ISO_DATE_ARGUMENT:Ve(),NOT_SUPPORT_NON_STRING_MESSAGE:Ve(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ve(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ve(),NOT_SUPPORT_LOCALE_TYPE:Ve(),__EXTEND_POINT__:Ve()};function ge(e){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Eu}:void 0)}const Eu={[J.INVALID_ARGUMENT]:"Invalid arguments",[J.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[J.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[J.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[J.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[J.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Rn(e,t){return t.locale!=null?Rr(t.locale):Rr(e.locale)}let zt;function Rr(e){if(k(e))return e;if(G(e)){if(e.resolvedOnce&&zt!=null)return zt;if(e.constructor.name==="Function"){const t=e();if(hd(t))throw ge(J.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zt=t}else throw ge(J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ge(J.NOT_SUPPORT_LOCALE_TYPE)}function vu(e,t,n){return[...new Set([n,...X(t)?t:V(t)?Object.keys(t):k(t)?[t]:[n]])]}function Mo(e,t,n){const r=k(n)?n:ht,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;X(s);)s=Fr(a,s,t);const l=X(t)||!F(t)?t:t.default?t.default:null;s=k(l)?[l]:l,X(s)&&Fr(a,s,!1),o.__localeChainCache.set(r,a)}return a}function Fr(e,t,n){let r=!0;for(let o=0;o<t.length&&j(r);o++){const a=t[o];k(a)&&(r=Nu(e,t[o],n))}return r}function Nu(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=Ou(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Ou(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(X(n)||F(n))&&n[o]&&(r=n[o])}return r}const Cu="9.9.1",Bt=-1,ht="en-US",At="",Mr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Su(){return{upper:(e,t)=>t==="text"&&k(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&k(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&k(e)?Mr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?Mr(e.children):e}}let Bo;function Br(e){Bo=e}let xo;function Tu(e){xo=e}let Vo;function wu(e){Vo=e}let Uo=null;const Lu=e=>{Uo=e},Pu=()=>Uo;let jo=null;const xr=e=>{jo=e},Iu=()=>jo;let Vr=0;function ku(e={}){const t=G(e.onWarn)?e.onWarn:Ae,n=k(e.version)?e.version:Cu,r=k(e.locale)||G(e.locale)?e.locale:ht,o=G(r)?ht:r,a=X(e.fallbackLocale)||F(e.fallbackLocale)||k(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=F(e.messages)?e.messages:{[o]:{}},l=F(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},d=F(e.numberFormats)?e.numberFormats:{[o]:{}},c=Q({},e.modifiers||{},Su()),f=e.pluralRules||{},m=G(e.missing)?e.missing:null,h=j(e.missingWarn)||Qe(e.missingWarn)?e.missingWarn:!0,O=j(e.fallbackWarn)||Qe(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,b=!!e.unresolving,C=G(e.postTranslation)?e.postTranslation:null,p=F(e.processor)?e.processor:null,y=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,N=G(e.messageCompiler)?e.messageCompiler:Bo;process.env.NODE_ENV!=="production"&&G(e.messageCompiler)&&_d(je(ne.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=G(e.messageResolver)?e.messageResolver:xo||iu,L=G(e.localeFallbacker)?e.localeFallbacker:Vo||vu,A=V(e.fallbackContext)?e.fallbackContext:void 0,w=e,U=V(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,W=V(w.__numberFormatters)?w.__numberFormatters:new Map,ce=V(w.__meta)?w.__meta:{};Vr++;const q={version:n,cid:Vr,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:f,missing:m,missingWarn:h,fallbackWarn:O,fallbackFormat:v,unresolving:b,postTranslation:C,processor:p,warnHtmlMessage:y,escapeParameter:S,messageCompiler:N,messageResolver:I,localeFallbacker:L,fallbackContext:A,onWarn:t,__meta:ce};return q.datetimeFormats=l,q.numberFormats=d,q.__datetimeFormatters=U,q.__numberFormatters=W,process.env.NODE_ENV!=="production"&&(q.__v_emitter=w.__v_emitter!=null?w.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&gu(q,n,ce),q}function xt(e,t){return e instanceof RegExp?e.test(t):e}function Go(e,t){return e instanceof RegExp?e.test(t):e}function Fn(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return k(l)?l:t}else return process.env.NODE_ENV!=="production"&&Go(r,t)&&s(je(ne.NOT_FOUND_KEY,{key:t,locale:n})),t}function ct(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function qt(e){return n=>Au(n,e)}function Au(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((a,s)=>[...a,Ur(e,s)],[]))}else return Ur(e,n)}function Ur(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,a)=>[...o,cn(e,a)],[]);return e.normalize(r)}}function cn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index));case 6:const l=t,d=l.m||l.modifier;return e.linked(cn(e,l.k||l.key),d?cn(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 Du="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ho(e,t){t&&Ld(e)&&Ae(kn(Du,{source:e}))}const Wo=e=>e;let Ze=Object.create(null);const Ge=e=>V(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ko(e,t={}){let n=!1;const r=t.onError||Td;return t.onError=o=>{n=!0,r(o)},{...Zd(e,t),detectError:n}}const Ru=(e,t)=>{if(!k(e))throw ge(J.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ho(e,n);const o=(t.onCacheKey||Wo)(e),a=Ze[o];if(a)return a;const{code:s,detectError:l}=Ko(e,t),d=new Function(`return ${s}`)();return l?d:Ze[o]=d}};function Fu(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&k(e)){const n=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ho(e,n);const o=(t.onCacheKey||Wo)(e),a=Ze[o];if(a)return a;const{ast:s,detectError:l}=Ko(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=qt(s);return l?d:Ze[o]=d}else{if(process.env.NODE_ENV!=="production"&&!Ge(e))return Ae(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ze[n];return r||(Ze[n]=qt(e))}else return qt(e)}}const jr=()=>"",de=e=>G(e);function Gr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:s,messages:l}=e,[d,c]=fn(...t),f=j(c.missingWarn)?c.missingWarn:e.missingWarn,m=j(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=j(c.escapeParameter)?c.escapeParameter:e.escapeParameter,O=!!c.resolvedMessage,v=k(c.default)||j(c.default)?j(c.default)?a?d:()=>d:c.default:n?a?d:()=>d:"",b=n||v!=="",C=Rn(e,c);h&&Mu(c);let[p,y,S]=O?[d,C,l[C]||{}]:Yo(e,d,C,s,m,f),N=p,I=d;if(!O&&!(k(N)||Ge(N)||de(N))&&b&&(N=v,I=N),!O&&(!(k(N)||Ge(N)||de(N))||!k(y)))return o?Bt:d;if(process.env.NODE_ENV!=="production"&&k(N)&&e.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let L=!1;const A=()=>{L=!0},w=de(N)?N:Xo(e,d,y,N,I,A);if(L)return N;const U=Uu(e,y,S,c),W=pu(U),ce=Bu(e,w,W),q=r?r(ce,d):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:k(d)?d:de(N)?N.key:"",locale:y||(de(N)?N.locale:""),format:k(N)?N:de(N)?N.source:"",message:q};se.meta=Q({},e.__meta,Pu()||{}),yu(se)}return q}function Mu(e){X(e.list)?e.list=e.list.map(t=>k(t)?Sr(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{k(e.named[t])&&(e.named[t]=Sr(e.named[t]))})}function Yo(e,t,n,r,o,a){const{messages:s,onWarn:l,messageResolver:d,localeFallbacker:c}=e,f=c(e,r,n);let m={},h,O=null,v=n,b=null;const C="translate";for(let p=0;p<f.length;p++){if(h=b=f[p],process.env.NODE_ENV!=="production"&&n!==h&&xt(o,t)&&l(je(ne.FALLBACK_TO_TRANSLATE,{key:t,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const L=e.__v_emitter;L&&L.emit("fallback",{type:C,key:t,from:v,to:b,groupId:`${C}:${t}`})}m=s[h]||{};let y=null,S,N;if(process.env.NODE_ENV!=="production"&&Se&&(y=window.performance.now(),S="intlify-message-resolve-start",N="intlify-message-resolve-end",ae&&ae(S)),(O=d(m,t))===null&&(O=m[t]),process.env.NODE_ENV!=="production"&&Se){const L=window.performance.now(),A=e.__v_emitter;A&&y&&O&&A.emit("message-resolve",{type:"message-resolve",key:t,message:O,time:L-y,groupId:`${C}:${t}`}),S&&N&&ae&&Ue&&(ae(N),Ue("intlify message resolve",S,N))}if(k(O)||Ge(O)||de(O))break;const I=Fn(e,t,h,a,C);I!==t&&(O=I),v=b}return[O,h,m]}function Xo(e,t,n,r,o,a){const{messageCompiler:s,warnHtmlMessage:l}=e;if(de(r)){const h=r;return h.locale=h.locale||n,h.key=h.key||t,h}if(s==null){const h=()=>r;return h.locale=n,h.key=t,h}let d=null,c,f;process.env.NODE_ENV!=="production"&&Se&&(d=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",ae&&ae(c));const m=s(r,xu(e,n,o,r,l,a));if(process.env.NODE_ENV!=="production"&&Se){const h=window.performance.now(),O=e.__v_emitter;O&&d&&O.emit("message-compilation",{type:"message-compilation",message:r,time:h-d,groupId:`translate:${t}`}),c&&f&&ae&&Ue&&(ae(f),Ue("intlify message compilation",c,f))}return m.locale=n,m.key=t,m.source=r,m}function Bu(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&Se&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",ae&&ae(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&Se){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-r,groupId:`translate:${t.key}`}),o&&a&&ae&&Ue&&(ae(a),Ue("intlify message evaluation",o,a))}return s}function fn(...e){const[t,n,r]=e,o={};if(!k(t)&&!Z(t)&&!de(t)&&!Ge(t))throw ge(J.INVALID_ARGUMENT);const a=Z(t)?String(t):(de(t),t);return Z(n)?o.plural=n:k(n)?o.default=n:F(n)&&!Mt(n)?o.named=n:X(n)&&(o.list=n),Z(r)?o.plural=r:k(r)?o.default=r:F(r)&&Q(o,r),[a,o]}function xu(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const l=Vu(r),d=`Message compilation error: ${s.message}`,c=s.location&&l&&bd(l,s.location.start.offset,s.location.end.offset),f=e.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${d}
|
27
|
+
${c}`:d)}else throw s},onCacheKey:s=>fd(t,n,s)}}function Vu(e){if(k(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Uu(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:s,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:f}=e,h={locale:t,modifiers:o,pluralRules:a,messages:O=>{let v=s(n,O);if(v==null&&f){const[,,b]=Yo(f,O,t,l,d,c);v=s(b,O)}if(k(v)||Ge(v)){let b=!1;const p=Xo(e,O,t,v,O,()=>{b=!0});return b?jr:p}else return de(v)?v:jr}};return e.processor&&(h.processor=e.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),Z(r.plural)&&(h.pluralIndex=r.plural),h}const Hr=typeof Intl<"u",zo={dateTimeFormat:Hr&&typeof Intl.DateTimeFormat<"u",numberFormat:Hr&&typeof Intl.NumberFormat<"u"};function Wr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!zo.dateTimeFormat)return a(je(ne.CANNOT_FORMAT_DATE)),At;const[d,c,f,m]=$n(...t),h=j(f.missingWarn)?f.missingWarn:e.missingWarn,O=j(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,v=!!f.part,b=Rn(e,f),C=s(e,o,b);if(!k(d)||d==="")return new Intl.DateTimeFormat(b,m).format(c);let p={},y,S=null,N=b,I=null;const L="datetime format";for(let U=0;U<C.length;U++){if(y=I=C[U],process.env.NODE_ENV!=="production"&&b!==y&&xt(O,d)&&a(je(ne.FALLBACK_TO_DATE_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const W=e.__v_emitter;W&&W.emit("fallback",{type:L,key:d,from:N,to:I,groupId:`${L}:${d}`})}if(p=n[y]||{},S=p[d],F(S))break;Fn(e,d,y,h,L),N=I}if(!F(S)||!k(y))return r?Bt:d;let A=`${y}__${d}`;Mt(m)||(A=`${A}__${JSON.stringify(m)}`);let w=l.get(A);return w||(w=new Intl.DateTimeFormat(y,Q({},S,m)),l.set(A,w)),v?w.formatToParts(c):w.format(c)}const qo=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function $n(...e){const[t,n,r,o]=e,a={};let s={},l;if(k(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw ge(J.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 ge(J.INVALID_ISO_DATE_ARGUMENT)}}else if(md(t)){if(isNaN(t.getTime()))throw ge(J.INVALID_DATE_ARGUMENT);l=t}else if(Z(t))l=t;else throw ge(J.INVALID_ARGUMENT);return k(n)?a.key=n:F(n)&&Object.keys(n).forEach(d=>{qo.includes(d)?s[d]=n[d]:a[d]=n[d]}),k(r)?a.locale=r:F(r)&&(s=r),F(o)&&(s=o),[a.key||"",l,a,s]}function Kr(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function Yr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!zo.numberFormat)return a(je(ne.CANNOT_FORMAT_NUMBER)),At;const[d,c,f,m]=mn(...t),h=j(f.missingWarn)?f.missingWarn:e.missingWarn,O=j(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,v=!!f.part,b=Rn(e,f),C=s(e,o,b);if(!k(d)||d==="")return new Intl.NumberFormat(b,m).format(c);let p={},y,S=null,N=b,I=null;const L="number format";for(let U=0;U<C.length;U++){if(y=I=C[U],process.env.NODE_ENV!=="production"&&b!==y&&xt(O,d)&&a(je(ne.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const W=e.__v_emitter;W&&W.emit("fallback",{type:L,key:d,from:N,to:I,groupId:`${L}:${d}`})}if(p=n[y]||{},S=p[d],F(S))break;Fn(e,d,y,h,L),N=I}if(!F(S)||!k(y))return r?Bt:d;let A=`${y}__${d}`;Mt(m)||(A=`${A}__${JSON.stringify(m)}`);let w=l.get(A);return w||(w=new Intl.NumberFormat(y,Q({},S,m)),l.set(A,w)),v?w.formatToParts(c):w.format(c)}const Jo=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mn(...e){const[t,n,r,o]=e,a={};let s={};if(!Z(t))throw ge(J.INVALID_ARGUMENT);const l=t;return k(n)?a.key=n:F(n)&&Object.keys(n).forEach(d=>{Jo.includes(d)?s[d]=n[d]:a[d]=n[d]}),k(r)?a.locale=r:F(r)&&(s=r),F(o)&&(s=o),[a.key||"",l,a,s]}function Xr(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}Qd();/*!
|
28
28
|
* vue-i18n v9.9.1
|
29
29
|
* (c) 2024 kazuya kawaguchi
|
30
30
|
* Released under the MIT License.
|
31
|
-
*/const Vu="9.9.1";function Uu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ne().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ne().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zo=ne.__EXTEND_POINT__,Pe=An(Zo),le={FALLBACK_TO_ROOT:Zo,NOT_SUPPORTED_PRESERVE:Pe(),NOT_SUPPORTED_FORMATTER:Pe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Pe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Pe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Pe(),NOT_FOUND_PARENT_SCOPE:Pe(),IGNORE_OBJ_FLATTEN:Pe(),NOTICE_DROP_ALLOW_COMPOSITION:Pe()},ju={[le.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[le.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[le.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[le.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[le.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[le.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[le.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[le.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[le.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function Mn(e,...t){return kn(ju[e],...t)}const Qo=J.__EXTEND_POINT__,oe=An(Qo),H={UNEXPECTED_RETURN_TYPE:Qo,INVALID_ARGUMENT:oe(),MUST_BE_CALL_SETUP_TOP:oe(),NOT_INSTALLED:oe(),NOT_AVAILABLE_IN_LEGACY_MODE:oe(),REQUIRED_VALUE:oe(),INVALID_VALUE:oe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:oe(),NOT_INSTALLED_WITH_PROVIDE:oe(),UNEXPECTED_ERROR:oe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:oe(),BRIDGE_SUPPORT_VUE_2_ONLY:oe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:oe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:oe(),__EXTEND_POINT__:oe()};function ke(e,...t){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Gu,args:t}:void 0)}const Gu={[H.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[H.INVALID_ARGUMENT]:"Invalid argument",[H.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[H.NOT_INSTALLED]:"Need to install with `app.use` function",[H.UNEXPECTED_ERROR]:"Unexpected error",[H.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[H.REQUIRED_VALUE]:"Required in value: {0}",[H.INVALID_VALUE]:"Invalid value",[H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[H.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[H.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[H.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[H.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",[H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},mn=Te("__translateVNode"),hn=Te("__datetimeParts"),gn=Te("__numberParts"),yn=Te("__enableEmitter"),_n=Te("__disableEmitter"),Hu=Te("__setPluralRules"),ea=Te("__injectWithOption"),bn=Te("__dispose");function gt(e){if(!V(e))return e;for(const t in e)if(kt(e,t))if(!t.includes("."))V(e[t])&>(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let s=0;s<r;s++){if(n[s]in o||(o[n[s]]={}),!V(o[n[s]])){process.env.NODE_ENV!=="production"&&Ae(Mn(le.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}o=o[n[s]]}a||(o[n[r]]=e[t],delete e[t]),V(o[n[r]])&>(o[n[r]])}return e}function xn(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,s=F(n)?n:X(r)?{}:{[e]:{}};if(X(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(s[d]=s[d]||{},St(c,s[d])):St(c,s)}else k(l)&&St(JSON.parse(l),s)}),o==null&&a)for(const l in s)kt(s,l)&>(s[l]);return s}function ta(e){return e.type}function Wu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=xn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(V(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(V(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function zr(e){return i.createVNode(i.Text,null,e,0)}const qr="__INTLIFY_META__",Jr=()=>[],Ku=()=>!1;let Zr=0;function Qr(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}const Yu=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=ta(e)[qr])?{[qr]:t}:null};function Xu(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,a=e.flatJson,s=Se?i.ref:i.shallowRef;let l=j(e.inheritLocale)?e.inheritLocale:!0;const d=s(n&&l?n.locale.value:k(e.locale)?e.locale:ht),c=s(n&&l?n.fallbackLocale.value:k(e.fallbackLocale)||X(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),f=s(xn(d.value,e)),p=s(F(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),h=s(F(e.numberFormats)?e.numberFormats:{[d.value]:{}});let O=n?n.missingWarn:j(e.missingWarn)||Qe(e.missingWarn)?e.missingWarn:!0,E=n?n.fallbackWarn:j(e.fallbackWarn)||Qe(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,m=G(e.missing)?e.missing:null,y=G(e.missing)?Qr(e.missing):null,S=G(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const L=n?n.modifiers:F(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,w;w=(()=>{o&&Br(null);const b={version:Vu,locale:d.value,fallbackLocale:c.value,messages:f.value,modifiers:L,pluralRules:A,missing:y===null?void 0:y,missingWarn:O,fallbackWarn:E,fallbackFormat:C,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:N,escapeParameter:I,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=p.value,b.numberFormats=h.value,b.__datetimeFormatters=F(w)?w.__datetimeFormatters:void 0,b.__numberFormatters=F(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(b.__v_emitter=F(w)?w.__v_emitter:void 0);const T=Pu(b);return o&&Br(T),T})(),ct(w,d.value,c.value);function W(){return[d.value,c.value,f.value,p.value,h.value]}const ce=i.computed({get:()=>d.value,set:b=>{d.value=b,w.locale=d.value}}),q=i.computed({get:()=>c.value,set:b=>{c.value=b,w.fallbackLocale=c.value,ct(w,d.value,b)}}),se=i.computed(()=>f.value),He=i.computed(()=>p.value),ot=i.computed(()=>h.value);function pe(){return G(S)?S:null}function We(b){S=b,w.postTranslation=b}function at(){return m}function Ke(b){b!==null&&(y=Qr(b)),m=b,w.missing=y}function it(b,T){return b!=="translate"||!T.resolvedMessage}const fe=(b,T,B,K,xe,Et)=>{W();let ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=n?Lu():void 0),ze=b(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if(B!=="translate exists"&&Z(ze)&&ze===xt||B==="translate exists"&&!ze){const[Be,ja]=T();if(process.env.NODE_ENV!=="production"&&n&&k(Be)&&it(B,ja)&&(_&&(Bt(E,Be)||Go(O,Be))&&Ae(Mn(le.FALLBACK_TO_ROOT,{key:Be,type:B})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yn}=w;Yn&&_&&Yn.emit("fallback",{type:B,key:Be,to:"global",groupId:`${B}:${Be}`})}return n&&_?K(n):xe(Be)}else{if(Et(ze))return ze;throw ke(H.UNEXPECTED_RETURN_TYPE)}};function Ye(...b){return fe(T=>Reflect.apply(Gr,null,[T,...b]),()=>fn(...b),"translate",T=>Reflect.apply(T.t,T,[...b]),T=>T,T=>k(T))}function st(...b){const[T,B,K]=b;if(K&&!V(K))throw ke(H.INVALID_ARGUMENT);return Ye(T,B,Q({resolvedMessage:!0},K||{}))}function Xe(...b){return fe(T=>Reflect.apply(Wr,null,[T,...b]),()=>$n(...b),"datetime format",T=>Reflect.apply(T.d,T,[...b]),()=>At,T=>k(T))}function lt(...b){return fe(T=>Reflect.apply(Yr,null,[T,...b]),()=>pn(...b),"number format",T=>Reflect.apply(T.n,T,[...b]),()=>At,T=>k(T))}function dt(b){return b.map(T=>k(T)||Z(T)||j(T)?zr(String(T)):T)}const Re={normalize:dt,interpolate:b=>b,type:"vnode"};function Fe(...b){return fe(T=>{let B;const K=T;try{K.processor=Re,B=Reflect.apply(Gr,null,[K,...b])}finally{K.processor=null}return B},()=>fn(...b),"translate",T=>T[mn](...b),T=>[zr(T)],T=>X(T))}function we(...b){return fe(T=>Reflect.apply(Yr,null,[T,...b]),()=>pn(...b),"number format",T=>T[gn](...b),Jr,T=>k(T)||X(T))}function Me(...b){return fe(T=>Reflect.apply(Wr,null,[T,...b]),()=>$n(...b),"datetime format",T=>T[hn](...b),Jr,T=>k(T)||X(T))}function ut(b){A=b,w.pluralRules=A}function $(b,T){return fe(()=>{if(!b)return!1;const B=k(T)?T:d.value,K=P(B),xe=w.messageResolver(K,b);return Ge(xe)||de(xe)||k(xe)},()=>[b],"translate exists",B=>Reflect.apply(B.te,B,[b,T]),Ku,B=>j(B))}function u(b){let T=null;const B=Mo(w,c.value,d.value);for(let K=0;K<B.length;K++){const xe=f.value[B[K]]||{},Et=w.messageResolver(xe,b);if(Et!=null){T=Et;break}}return T}function g(b){const T=u(b);return T??(n?n.tm(b)||{}:{})}function P(b){return f.value[b]||{}}function R(b,T){if(a){const B={[b]:T};for(const K in B)kt(B,K)&>(B[K]);T=B[b]}f.value[b]=T,w.messages=f.value}function x(b,T){f.value[b]=f.value[b]||{};const B={[b]:T};if(a)for(const K in B)kt(B,K)&>(B[K]);T=B[b],St(T,f.value[b]),w.messages=f.value}function me(b){return p.value[b]||{}}function be(b,T){p.value[b]=T,w.datetimeFormats=p.value,Kr(w,b,T)}function xa(b,T){p.value[b]=Q(p.value[b]||{},T),w.datetimeFormats=p.value,Kr(w,b,T)}function Ba(b){return h.value[b]||{}}function Va(b,T){h.value[b]=T,w.numberFormats=h.value,Xr(w,b,T)}function Ua(b,T){h.value[b]=Q(h.value[b]||{},T),w.numberFormats=h.value,Xr(w,b,T)}Zr++,n&&Se&&(i.watch(n.locale,b=>{l&&(d.value=b,w.locale=b,ct(w,d.value,c.value))}),i.watch(n.fallbackLocale,b=>{l&&(c.value=b,w.fallbackLocale=b,ct(w,d.value,c.value))}));const Y={id:Zr,locale:ce,fallbackLocale:q,get inheritLocale(){return l},set inheritLocale(b){l=b,b&&n&&(d.value=n.locale.value,c.value=n.fallbackLocale.value,ct(w,d.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:se,get modifiers(){return L},get pluralRules(){return A||{}},get isGlobal(){return o},get missingWarn(){return O},set missingWarn(b){O=b,w.missingWarn=O},get fallbackWarn(){return E},set fallbackWarn(b){E=b,w.fallbackWarn=E},get fallbackRoot(){return _},set fallbackRoot(b){_=b},get fallbackFormat(){return C},set fallbackFormat(b){C=b,w.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(b){N=b,w.warnHtmlMessage=b},get escapeParameter(){return I},set escapeParameter(b){I=b,w.escapeParameter=b},t:Ye,getLocaleMessage:P,setLocaleMessage:R,mergeLocaleMessage:x,getPostTranslationHandler:pe,setPostTranslationHandler:We,getMissingHandler:at,setMissingHandler:Ke,[Hu]:ut};return Y.datetimeFormats=He,Y.numberFormats=ot,Y.rt=st,Y.te=$,Y.tm=g,Y.d=Xe,Y.n=lt,Y.getDateTimeFormat=me,Y.setDateTimeFormat=be,Y.mergeDateTimeFormat=xa,Y.getNumberFormat=Ba,Y.setNumberFormat=Va,Y.mergeNumberFormat=Ua,Y[ea]=r,Y[mn]=Fe,Y[hn]=Me,Y[gn]=we,process.env.NODE_ENV!=="production"&&(Y[yn]=b=>{w.__v_emitter=b},Y[_n]=()=>{w.__v_emitter=void 0}),Y}const Bn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function zu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===i.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function na(e){return i.Fragment}Q({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Z(e)||!isNaN(e)}},Bn);function qu(e){return X(e)&&!k(e[0])}function ra(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),k(e.format)?s.key=e.format:V(e.format)&&(k(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((h,O)=>n.includes(O)?Q({},h,{[O]:e.format[O]}):h,{}));const d=r(e.value,s,l);let c=[s.key];X(d)?c=d.map((h,O)=>{const E=o[h.type],_=E?E({[h.type]:h.value,index:O,parts:d}):[h.value];return qu(_)&&(_[0].key=`${h.type}-${O}`),_}):k(d)&&(c=[d]);const f=Q({},a),p=k(e.tag)||V(e.tag)?e.tag:na();return i.h(p,f,c)}}Q({value:{type:Number,required:!0},format:{type:[String,Object]}},Bn);Q({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bn);function eo(e,t){}const Ju=Te("global-vue-i18n");function Vt(e={}){const t=i.getCurrentInstance();if(t==null)throw ke(H.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ke(H.NOT_INSTALLED);const n=Zu(t),r=ec(n),o=ta(t),a=Qu(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ke(H.NOT_AVAILABLE_IN_LEGACY_MODE);return oc(t,a,r,e)}if(a==="global")return Wu(r,e,o),r;if(a==="parent"){let d=tc(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ae(Mn(le.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Q({},e);"__i18n"in o&&(d.__i18n=o.__i18n),r&&(d.__root=r),l=Xu(d),s.__composerExtend&&(l[bn]=s.__composerExtend(l)),rc(s,t,l),s.__setInstance(t,l)}return l}function Zu(e){{const t=i.inject(e.isCE?Ju:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ke(e.isCE?H.NOT_INSTALLED_WITH_PROVIDE:H.UNEXPECTED_ERROR);return t}}function Qu(e,t){return Mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ec(e){return e.mode==="composition"?e.global:e.global.__composer}function tc(e,t,n=!1){let r=null;const o=t.root;let a=nc(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(a);l!=null&&(r=l.__composer,n&&r&&!r[ea]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function nc(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function rc(e,t,n){let r=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=_d();const o=n;o[yn]&&o[yn](r),r.on("*",eo)}},t),i.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",eo),o[_n]&&o[_n](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=o[bn];a&&(a(),delete o[bn])},t)}function oc(e,t,n,r={}){const o=t==="local",a=i.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ke(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=j(r.inheritLocale)?r.inheritLocale:!k(r.locale),l=i.ref(!o||s?n.locale.value:k(r.locale)?r.locale:ht),d=i.ref(!o||s?n.fallbackLocale.value:k(r.fallbackLocale)||X(r.fallbackLocale)||F(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=i.ref(xn(l.value,r)),f=i.ref(F(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),p=i.ref(F(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?n.missingWarn:j(r.missingWarn)||Qe(r.missingWarn)?r.missingWarn:!0,O=o?n.fallbackWarn:j(r.fallbackWarn)||Qe(r.fallbackWarn)?r.fallbackWarn:!0,E=o?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,_=!!r.fallbackFormat,C=G(r.missing)?r.missing:null,m=G(r.postTranslation)?r.postTranslation:null,y=o?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,N=o?n.modifiers:F(r.modifiers)?r.modifiers:{},I=r.pluralRules||o&&n.pluralRules;function L(){return[l.value,d.value,c.value,f.value,p.value]}const A=i.computed({get:()=>a.value?a.value.locale.value:l.value,set:u=>{a.value&&(a.value.locale.value=u),l.value=u}}),w=i.computed({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),d.value=u}}),U=i.computed(()=>a.value?a.value.messages.value:c.value),W=i.computed(()=>f.value),ce=i.computed(()=>p.value);function q(){return a.value?a.value.getPostTranslationHandler():m}function se(u){a.value&&a.value.setPostTranslationHandler(u)}function He(){return a.value?a.value.getMissingHandler():C}function ot(u){a.value&&a.value.setMissingHandler(u)}function pe(u){return L(),u()}function We(...u){return a.value?pe(()=>Reflect.apply(a.value.t,null,[...u])):pe(()=>"")}function at(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function Ke(...u){return a.value?pe(()=>Reflect.apply(a.value.d,null,[...u])):pe(()=>"")}function it(...u){return a.value?pe(()=>Reflect.apply(a.value.n,null,[...u])):pe(()=>"")}function fe(u){return a.value?a.value.tm(u):{}}function Ye(u,g){return a.value?a.value.te(u,g):!1}function st(u){return a.value?a.value.getLocaleMessage(u):{}}function Xe(u,g){a.value&&(a.value.setLocaleMessage(u,g),c.value[u]=g)}function lt(u,g){a.value&&a.value.mergeLocaleMessage(u,g)}function dt(u){return a.value?a.value.getDateTimeFormat(u):{}}function vt(u,g){a.value&&(a.value.setDateTimeFormat(u,g),f.value[u]=g)}function Re(u,g){a.value&&a.value.mergeDateTimeFormat(u,g)}function Fe(u){return a.value?a.value.getNumberFormat(u):{}}function we(u,g){a.value&&(a.value.setNumberFormat(u,g),p.value[u]=g)}function Me(u,g){a.value&&a.value.mergeNumberFormat(u,g)}const ut={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:w,messages:U,datetimeFormats:W,numberFormats:ce,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:N},get pluralRules(){return a.value?a.value.pluralRules:I},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:O},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:E},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:_},set fallbackFormat(u){a.value&&(a.value.fallbackFormat=u)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(u){a.value&&(a.value.warnHtmlMessage=u)},get escapeParameter(){return a.value?a.value.escapeParameter:S},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:We,getPostTranslationHandler:q,setPostTranslationHandler:se,getMissingHandler:He,setMissingHandler:ot,rt:at,d:Ke,n:it,tm:fe,te:Ye,getLocaleMessage:st,setLocaleMessage:Xe,mergeLocaleMessage:lt,getDateTimeFormat:dt,setDateTimeFormat:vt,mergeDateTimeFormat:Re,getNumberFormat:Fe,setNumberFormat:we,mergeNumberFormat:Me};function $(u){u.locale.value=l.value,u.fallbackLocale.value=d.value,Object.keys(c.value).forEach(g=>{u.mergeLocaleMessage(g,c.value[g])}),Object.keys(f.value).forEach(g=>{u.mergeDateTimeFormat(g,f.value[g])}),Object.keys(p.value).forEach(g=>{u.mergeNumberFormat(g,p.value[g])}),u.escapeParameter=S,u.fallbackFormat=_,u.fallbackRoot=E,u.fallbackWarn=O,u.missingWarn=h,u.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ke(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=u.locale.value,d.value=u.fallbackLocale.value,c.value=u.messages.value,f.value=u.datetimeFormats.value,p.value=u.numberFormats.value):o&&$(u)}),ut}Uu();__INTLIFY_JIT_COMPILATION__?xr(Du):xr(Au);Cu(au);Su(Mo);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ne();e.__INTLIFY__=!0,pu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const ac={},ic={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sc=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),lc=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),dc=[sc,lc];function uc(e,t){return i.openBlock(),i.createElementBlock("svg",ic,dc)}const oa=ie(ac,[["render",uc]]);const cc={key:"popup-content",class:"pd-small popup-wrapper"},aa={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function o(){r("close-popup")}return i.watch(()=>n.isPopupOpen,s=>{s?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),ld(),sd(),Vt({messages:{en:{},ru:{}}}),(s,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",cc,[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"},s.$attrs),[i.createVNode(oa,{onClick:l[0]||(l[0]=d=>o()),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(s.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:l[1]||(l[1]=d=>o()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},fc=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"})),$c={class:"flex-v-center flex-nowrap flex"},pc={key:0,class:"mn-r-auto t-transp mn-r-small"},mc=["name","value","checked"],hc={key:1,class:""},gc=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),yc=[gc],ia={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,o)=>(i.openBlock(),i.createElementBlock("label",$c,[e.label?(i.openBlock(),i.createElementBlock("div",pc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onInput:o[0]||(o[0]=a=>r.text=n("update:radio",a.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,mc),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",hc,yc)):i.createCommentVNode("",!0)]))}},_c=Object.freeze(Object.defineProperty({__proto__:null,default:ia},Symbol.toStringTag,{value:"Module"}));const bc={key:0,class:"t-transp mn-r-small"},vc={class:"w-100"},Ec=["onClick"],Nc={key:0,class:"w-100"},Oc={key:0,class:"mn-t-thin invalid-feedback"},Cc={__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=Sn;const o=e,a=i.ref(o.property?d(o.select,o.property,o.options):o.select),s=i.ref(!1);function l(){s.value=!1}function d(h,O,E){for(const _ of E)if(_[O]===h||_===h)return _;return null}i.watch(()=>o.select,h=>{a.value=o.property?d(o.select,o.property,o.options):o.select});const c=i.computed(()=>o.select?o.options.filter(h=>h!==o.select):o.options),f=()=>{s.value=!s.value,n(s.value?"focus":"blur")},p=h=>{a.value=h,f(),o.property?n("update:select",a.value[o.property]):n("update:select",a.value)};return(h,O)=>{var E,_;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.withDirectives((i.openBlock(),i.createElementBlock("div",{onClick:i.withModifiers(f,["stop"]),class:i.normalizeClass([h.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(i.openBlock(),i.createElementBlock("div",bc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",vc,[i.createElementVNode("span",null,i.toDisplayString((E=a.value)!=null&&E.name?(_=a.value)==null?void 0:_.name:a.value||e.placeholder),1)]),i.createVNode(i.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("ul",{class:i.normalizeClass([h.$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,C=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers(m=>p(C),["stop"])},[C?(i.openBlock(),i.createElementBlock("span",Nc,i.toDisplayString(C.name||C),1)):i.createCommentVNode("",!0)],8,Ec))),256))],2),[[i.vShow,s.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",Oc," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},sa=ie(Cc,[["__scopeId","data-v-67f55841"]]),Sc=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"}));function Jt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function Tc(e){return(...t)=>!e(...t)}function wc(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function la(e,t,n,r){return t?e.filter(o=>wc(r(o,n),t)).sort((o,a)=>r(o,n).length-r(a,n).length):e}function Lc(e){return e.filter(t=>!t.$isLabel)}function Zt(e,t){return n=>n.reduce((r,o)=>o[e]&&o[e].length?(r.push({$groupLabel:o[t],$isLabel:!0}),r.concat(o[e])):r,[])}function Pc(e,t,n,r,o){return a=>a.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=la(s[n],e,t,o);return l.length?{[r]:s[r],[n]:l}:[]})}const to=(...e)=>t=>e.reduce((n,r)=>r(n),t),Ic={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Jt(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):la(n,t,this.label,this.customLabel):n=this.groupValues?Zt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Tc(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return to(Pc(t,n,this.groupValues,this.groupLabel,this.customLabel),Zt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return to(Zt(this.groupValues,this.groupLabel),Lc)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Jt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Jt(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},kc={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 Ac={name:"vue-multiselect",mixins:[Ic,kc],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)}}},Dc=["tabindex","aria-owns"],Rc={ref:"tags",class:"multiselect__tags"},Fc={class:"multiselect__tags-wrap"},Mc=["textContent"],xc=["onKeypress","onMousedown"],Bc=["textContent"],Vc={class:"multiselect__spinner"},Uc=["name","id","placeholder","value","disabled","tabindex","aria-controls"],jc=["id"],Gc={key:0},Hc={class:"multiselect__option"},Wc=["id","role"],Kc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],Yc=["data-select","data-deselect","onMouseenter","onMousedown"],Xc={class:"multiselect__option"},zc={class:"multiselect__option"};function qc(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:i.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[i.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[i.createElementVNode("div",{onMousedown:t[0]||(t[0]=i.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",Rc,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",Fc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.visibleValues,(s,l)=>i.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:l},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(s))},null,8,Mc),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:i.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,xc)]))])),256))],512),[[i.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?i.renderSlot(e.$slots,"limit",{key:0},()=>[i.createElementVNode("strong",{class:"multiselect__strong",textContent:i.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Bc)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",Vc,null,512),[[i.vShow,n.loading]])])]),_:3}),e.searchable?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:i.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,Uc)):i.createCommentVNode("",!0),a.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[i.createTextVNode(i.toDisplayString(e.currentOptionLabel),1)])],32)):i.createCommentVNode("",!0),a.isPlaceholderVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"placeholder",{},()=>[i.createTextVNode(i.toDisplayString(e.placeholder),1)])],32)):i.createCommentVNode("",!0)],512),i.createVNode(i.Transition,{name:"multiselect"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=i.withModifiers(()=>{},["prevent"])),style:i.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[i.createElementVNode("ul",{class:"multiselect__content",style:i.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[i.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(i.openBlock(),i.createElementBlock("li",Gc,[i.createElementVNode("span",Hc,[i.renderSlot(e.$slots,"maxElements",{},()=>[i.createTextVNode("Maximum of "+i.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):i.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(e.filteredOptions,(s,l)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:i.withModifiers(d=>e.select(s),["stop"]),onMouseenter:i.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Kc)),s&&(s.$isLabel||s.$isDisabled)?(i.openBlock(),i.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:i.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:i.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:i.withModifiers(d=>e.selectGroup(s),["prevent"])},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Yc)):i.createCommentVNode("",!0)],8,Wc))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",Xc,[i.renderSlot(e.$slots,"noResult",{search:e.search},()=>[i.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[i.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",zc,[i.renderSlot(e.$slots,"noOptions",{},()=>[i.createTextVNode("List is empty.")])])],512),[[i.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),i.renderSlot(e.$slots,"afterList")],12,jc)],38),[[i.vShow,e.isOpen]])]),_:3})],42,Dc)}const da=ie(Ac,[["render",qc]]),Jc=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"}));const Zc={key:0,class:"spoiler"},ua={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1);return t.status&&(n.value=t.status),(r,o)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:o[0]||(o[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[i.renderSlot(r.$slots,"header",{isOpen:n.value})]),i.createVNode(i.Transition,{name:"collapse"},{default:i.withCtx(()=>[n.value?(i.openBlock(),i.createElementBlock("div",Zc,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},Qc=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"}));const e0={class:""},t0={class:"flex-nowrap flex-v-center flex pos-relative"},n0=["onClick"],ca={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,o=i.ref(0);if(r.selected){const c=r.tabs.findIndex(f=>f.value===r.selected);c!==-1&&(o.value=c)}function a(c,f){o.value=c,n("update:selected",f.value),r.callback&&r.callback()}function s(c){return`${100/r.tabs.length*c}%`}function l(){return`${100/r.tabs.length}%`}const d=i.computed(()=>({left:s(o.value),width:l()}));return(c,f)=>(i.openBlock(),i.createElementBlock("div",e0,[i.createElementVNode("div",t0,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(p,h)=>(i.openBlock(),i.createElementBlock("div",{key:h,onClick:O=>a(h,p),class:i.normalizeClass([{"t-transp":h!==o.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(p.name),1)],10,n0))),128)),i.createElementVNode("div",{style:i.normalizeStyle(d.value),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},r0=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"}));const o0={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=i.ref(!1),n=i.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(a){t.value=!0,n.left=`${a.clientX/100+10}px`,n.top=`${a.clientY/100+10}px`,n.display="block"}function o(){t.value=!1,n.display="none"}return(a,s)=>(i.openBlock(),i.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:o},[i.renderSlot(a.$slots,"default",{},void 0,!0),i.createElementVNode("div",{class:"tooltip-content",style:i.normalizeStyle(n)},i.toDisplayString(e.text),5)],32))}},fa=ie(o0,[["__scopeId","data-v-0065753a"]]),a0=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),i0={key:0,class:"cursor-pointer t-second"},$a={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1),r=i.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),o=i.computed(()=>t.text),a=()=>{n.value=!n.value},s=i.computed(()=>n.value?o.value:r.value),l=i.computed(()=>t.text.length>t.maxLen),d=i.computed(()=>n.value?"Hide":"Show more");return(c,f)=>(i.openBlock(),i.createElementBlock("span",{onClick:a,class:""},[i.createTextVNode(i.toDisplayString(s.value)+" ",1),l.value&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",i0,i.toDisplayString(d.value),1)):i.createCommentVNode("",!0)]))}},s0=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));function pa(e,t){return function(){return e.apply(t,arguments)}}const{toString:l0}=Object.prototype,{getPrototypeOf:Vn}=Object,Ut=(e=>t=>{const n=l0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_e=e=>(e=e.toLowerCase(),t=>Ut(t)===e),jt=e=>t=>typeof t===e,{isArray:rt}=Array,yt=jt("undefined");function d0(e){return e!==null&&!yt(e)&&e.constructor!==null&&!yt(e.constructor)&&ue(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ma=_e("ArrayBuffer");function u0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ma(e.buffer),t}const c0=jt("string"),ue=jt("function"),ha=jt("number"),Gt=e=>e!==null&&typeof e=="object",f0=e=>e===!0||e===!1,Tt=e=>{if(Ut(e)!=="object")return!1;const t=Vn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$0=_e("Date"),p0=_e("File"),m0=_e("Blob"),h0=_e("FileList"),g0=e=>Gt(e)&&ue(e.pipe),y0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ue(e.append)&&((t=Ut(e))==="formdata"||t==="object"&&ue(e.toString)&&e.toString()==="[object FormData]"))},_0=_e("URLSearchParams"),b0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _t(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),rt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function ga(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ya=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_a=e=>!yt(e)&&e!==ya;function vn(){const{caseless:e}=_a(this)&&this||{},t={},n=(r,o)=>{const a=e&&ga(t,o)||o;Tt(t[a])&&Tt(r)?t[a]=vn(t[a],r):Tt(r)?t[a]=vn({},r):rt(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&_t(arguments[r],n);return t}const v0=(e,t,n,{allOwnKeys:r}={})=>(_t(t,(o,a)=>{n&&ue(o)?e[a]=pa(o,n):e[a]=o},{allOwnKeys:r}),e),E0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),N0=(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)},O0=(e,t,n,r)=>{let o,a,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Vn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},C0=(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},S0=e=>{if(!e)return null;if(rt(e))return e;let t=e.length;if(!ha(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},T0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Vn(Uint8Array)),w0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},L0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},P0=_e("HTMLFormElement"),I0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),no=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),k0=_e("RegExp"),ba=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};_t(n,(o,a)=>{let s;(s=t(o,a,e))!==!1&&(r[a]=s||o)}),Object.defineProperties(e,r)},A0=e=>{ba(e,(t,n)=>{if(ue(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ue(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},D0=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return rt(e)?r(e):r(String(e).split(t)),n},R0=()=>{},F0=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Qt="abcdefghijklmnopqrstuvwxyz",ro="0123456789",va={DIGIT:ro,ALPHA:Qt,ALPHA_DIGIT:Qt+Qt.toUpperCase()+ro},M0=(e=16,t=va.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function x0(e){return!!(e&&ue(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const B0=e=>{const t=new Array(10),n=(r,o)=>{if(Gt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=rt(r)?[]:{};return _t(r,(s,l)=>{const d=n(s,o+1);!yt(d)&&(a[l]=d)}),t[o]=void 0,a}}return r};return n(e,0)},V0=_e("AsyncFunction"),U0=e=>e&&(Gt(e)||ue(e))&&ue(e.then)&&ue(e.catch),v={isArray:rt,isArrayBuffer:ma,isBuffer:d0,isFormData:y0,isArrayBufferView:u0,isString:c0,isNumber:ha,isBoolean:f0,isObject:Gt,isPlainObject:Tt,isUndefined:yt,isDate:$0,isFile:p0,isBlob:m0,isRegExp:k0,isFunction:ue,isStream:g0,isURLSearchParams:_0,isTypedArray:T0,isFileList:h0,forEach:_t,merge:vn,extend:v0,trim:b0,stripBOM:E0,inherits:N0,toFlatObject:O0,kindOf:Ut,kindOfTest:_e,endsWith:C0,toArray:S0,forEachEntry:w0,matchAll:L0,isHTMLForm:P0,hasOwnProperty:no,hasOwnProp:no,reduceDescriptors:ba,freezeMethods:A0,toObjectSet:D0,toCamelCase:I0,noop:R0,toFiniteNumber:F0,findKey:ga,global:ya,isContextDefined:_a,ALPHABET:va,generateString:M0,isSpecCompliantForm:x0,toJSONObject:B0,isAsyncFn:V0,isThenable:U0};function M(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}v.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:v.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ea=M.prototype,Na={};["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=>{Na[e]={value:e}});Object.defineProperties(M,Na);Object.defineProperty(Ea,"isAxiosError",{value:!0});M.from=(e,t,n,r,o,a)=>{const s=Object.create(Ea);return v.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),M.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const j0=null;function En(e){return v.isPlainObject(e)||v.isArray(e)}function Oa(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function oo(e,t,n){return e?e.concat(t).map(function(o,a){return o=Oa(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function G0(e){return v.isArray(e)&&!e.some(En)}const H0=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Ht(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,C){return!v.isUndefined(C[_])});const r=n.metaTokens,o=n.visitor||f,a=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(o))throw new TypeError("visitor must be a function");function c(E){if(E===null)return"";if(v.isDate(E))return E.toISOString();if(!d&&v.isBlob(E))throw new M("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(E)||v.isTypedArray(E)?d&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function f(E,_,C){let m=E;if(E&&!C&&typeof E=="object"){if(v.endsWith(_,"{}"))_=r?_:_.slice(0,-2),E=JSON.stringify(E);else if(v.isArray(E)&&G0(E)||(v.isFileList(E)||v.endsWith(_,"[]"))&&(m=v.toArray(E)))return _=Oa(_),m.forEach(function(S,N){!(v.isUndefined(S)||S===null)&&t.append(s===!0?oo([_],N,a):s===null?_:_+"[]",c(S))}),!1}return En(E)?!0:(t.append(oo(C,_,a),c(E)),!1)}const p=[],h=Object.assign(H0,{defaultVisitor:f,convertValue:c,isVisitable:En});function O(E,_){if(!v.isUndefined(E)){if(p.indexOf(E)!==-1)throw Error("Circular reference detected in "+_.join("."));p.push(E),v.forEach(E,function(m,y){(!(v.isUndefined(m)||m===null)&&o.call(t,m,v.isString(y)?y.trim():y,_,h))===!0&&O(m,_?_.concat(y):[y])}),p.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return O(e),t}function ao(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Un(e,t){this._pairs=[],e&&Ht(e,this,t)}const Ca=Un.prototype;Ca.append=function(t,n){this._pairs.push([t,n])};Ca.toString=function(t){const n=t?function(r){return t.call(this,r,ao)}:ao;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function W0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sa(e,t,n){if(!t)return e;const r=n&&n.encode||W0,o=n&&n.serialize;let a;if(o?a=o(t,n):a=v.isURLSearchParams(t)?t.toString():new Un(t,n).toString(r),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class K0{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const io=K0,Ta={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Y0=typeof URLSearchParams<"u"?URLSearchParams:Un,X0=typeof FormData<"u"?FormData:null,z0=typeof Blob<"u"?Blob:null,q0={isBrowser:!0,classes:{URLSearchParams:Y0,FormData:X0,Blob:z0},protocols:["http","https","file","blob","url","data"]},wa=typeof window<"u"&&typeof document<"u",J0=(e=>wa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Z0=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Q0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wa,hasStandardBrowserEnv:J0,hasStandardBrowserWebWorkerEnv:Z0},Symbol.toStringTag,{value:"Module"})),ye={...Q0,...q0};function e1(e,t){return Ht(e,new ye.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return ye.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function t1(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function n1(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function La(e){function t(n,r,o,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=a>=n.length;return s=!s&&v.isArray(o)?o.length:s,d?(v.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!v.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],a)&&v.isArray(o[s])&&(o[s]=n1(o[s])),!l)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,o)=>{t(t1(r),o,n,0)}),n}return null}function r1(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const jn={transitional:Ta,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=v.isObject(t);if(a&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return o?JSON.stringify(La(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return e1(t,this.formSerializer).toString();if((l=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ht(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),r1(t)):t}],transformResponse:[function(t){const n=this.transitional||jn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&v.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ye.classes.FormData,Blob:ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{jn.headers[e]={}});const Gn=jn,o1=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),a1=e=>{const t={};let n,r,o;return e&&e.split(`
|
32
|
-
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&
|
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(o=>r.set(o)),r}static accessor(t){const r=(this[so]=this[so]={accessors:{}}).accessors,o=this.prototype;function a(s){const l=ft(s);r[l]||(
|
31
|
+
*/const ju="9.9.1";function Gu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ne().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ne().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zo=ne.__EXTEND_POINT__,Pe=An(Zo),le={FALLBACK_TO_ROOT:Zo,NOT_SUPPORTED_PRESERVE:Pe(),NOT_SUPPORTED_FORMATTER:Pe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Pe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Pe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Pe(),NOT_FOUND_PARENT_SCOPE:Pe(),IGNORE_OBJ_FLATTEN:Pe(),NOTICE_DROP_ALLOW_COMPOSITION:Pe()},Hu={[le.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[le.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[le.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[le.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[le.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[le.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[le.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[le.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[le.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function Mn(e,...t){return kn(Hu[e],...t)}const Qo=J.__EXTEND_POINT__,oe=An(Qo),H={UNEXPECTED_RETURN_TYPE:Qo,INVALID_ARGUMENT:oe(),MUST_BE_CALL_SETUP_TOP:oe(),NOT_INSTALLED:oe(),NOT_AVAILABLE_IN_LEGACY_MODE:oe(),REQUIRED_VALUE:oe(),INVALID_VALUE:oe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:oe(),NOT_INSTALLED_WITH_PROVIDE:oe(),UNEXPECTED_ERROR:oe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:oe(),BRIDGE_SUPPORT_VUE_2_ONLY:oe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:oe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:oe(),__EXTEND_POINT__:oe()};function ke(e,...t){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Wu,args:t}:void 0)}const Wu={[H.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[H.INVALID_ARGUMENT]:"Invalid argument",[H.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[H.NOT_INSTALLED]:"Need to install with `app.use` function",[H.UNEXPECTED_ERROR]:"Unexpected error",[H.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[H.REQUIRED_VALUE]:"Required in value: {0}",[H.INVALID_VALUE]:"Invalid value",[H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[H.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[H.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[H.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[H.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",[H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},pn=Te("__translateVNode"),hn=Te("__datetimeParts"),gn=Te("__numberParts"),yn=Te("__enableEmitter"),bn=Te("__disableEmitter"),Ku=Te("__setPluralRules"),ea=Te("__injectWithOption"),_n=Te("__dispose");function gt(e){if(!V(e))return e;for(const t in e)if(kt(e,t))if(!t.includes("."))V(e[t])&>(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let s=0;s<r;s++){if(n[s]in o||(o[n[s]]={}),!V(o[n[s]])){process.env.NODE_ENV!=="production"&&Ae(Mn(le.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}o=o[n[s]]}a||(o[n[r]]=e[t],delete e[t]),V(o[n[r]])&>(o[n[r]])}return e}function Bn(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,s=F(n)?n:X(r)?{}:{[e]:{}};if(X(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(s[d]=s[d]||{},St(c,s[d])):St(c,s)}else k(l)&&St(JSON.parse(l),s)}),o==null&&a)for(const l in s)kt(s,l)&>(s[l]);return s}function ta(e){return e.type}function Yu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Bn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(V(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(V(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function zr(e){return i.createVNode(i.Text,null,e,0)}const qr="__INTLIFY_META__",Jr=()=>[],Xu=()=>!1;let Zr=0;function Qr(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}const zu=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=ta(e)[qr])?{[qr]:t}:null};function qu(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,a=e.flatJson,s=Se?i.ref:i.shallowRef;let l=j(e.inheritLocale)?e.inheritLocale:!0;const d=s(n&&l?n.locale.value:k(e.locale)?e.locale:ht),c=s(n&&l?n.fallbackLocale.value:k(e.fallbackLocale)||X(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),f=s(Bn(d.value,e)),m=s(F(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),h=s(F(e.numberFormats)?e.numberFormats:{[d.value]:{}});let O=n?n.missingWarn:j(e.missingWarn)||Qe(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:j(e.fallbackWarn)||Qe(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,p=G(e.missing)?e.missing:null,y=G(e.missing)?Qr(e.missing):null,S=G(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const L=n?n.modifiers:F(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,w;w=(()=>{o&&xr(null);const _={version:ju,locale:d.value,fallbackLocale:c.value,messages:f.value,modifiers:L,pluralRules:A,missing:y===null?void 0:y,missingWarn:O,fallbackWarn:v,fallbackFormat:C,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:N,escapeParameter:I,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=m.value,_.numberFormats=h.value,_.__datetimeFormatters=F(w)?w.__datetimeFormatters:void 0,_.__numberFormatters=F(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=F(w)?w.__v_emitter:void 0);const T=ku(_);return o&&xr(T),T})(),ct(w,d.value,c.value);function W(){return[d.value,c.value,f.value,m.value,h.value]}const ce=i.computed({get:()=>d.value,set:_=>{d.value=_,w.locale=d.value}}),q=i.computed({get:()=>c.value,set:_=>{c.value=_,w.fallbackLocale=c.value,ct(w,d.value,_)}}),se=i.computed(()=>f.value),He=i.computed(()=>m.value),ot=i.computed(()=>h.value);function me(){return G(S)?S:null}function We(_){S=_,w.postTranslation=_}function at(){return p}function Ke(_){_!==null&&(y=Qr(_)),p=_,w.missing=y}function it(_,T){return _!=="translate"||!T.resolvedMessage}const fe=(_,T,x,K,Be,vt)=>{W();let ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=n?Iu():void 0),ze=_(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if(x!=="translate exists"&&Z(ze)&&ze===Bt||x==="translate exists"&&!ze){const[xe,ja]=T();if(process.env.NODE_ENV!=="production"&&n&&k(xe)&&it(x,ja)&&(b&&(xt(v,xe)||Go(O,xe))&&Ae(Mn(le.FALLBACK_TO_ROOT,{key:xe,type:x})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yn}=w;Yn&&b&&Yn.emit("fallback",{type:x,key:xe,to:"global",groupId:`${x}:${xe}`})}return n&&b?K(n):Be(xe)}else{if(vt(ze))return ze;throw ke(H.UNEXPECTED_RETURN_TYPE)}};function Ye(..._){return fe(T=>Reflect.apply(Gr,null,[T,..._]),()=>fn(..._),"translate",T=>Reflect.apply(T.t,T,[..._]),T=>T,T=>k(T))}function st(..._){const[T,x,K]=_;if(K&&!V(K))throw ke(H.INVALID_ARGUMENT);return Ye(T,x,Q({resolvedMessage:!0},K||{}))}function Xe(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>$n(..._),"datetime format",T=>Reflect.apply(T.d,T,[..._]),()=>At,T=>k(T))}function lt(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>Reflect.apply(T.n,T,[..._]),()=>At,T=>k(T))}function dt(_){return _.map(T=>k(T)||Z(T)||j(T)?zr(String(T)):T)}const Re={normalize:dt,interpolate:_=>_,type:"vnode"};function Fe(..._){return fe(T=>{let x;const K=T;try{K.processor=Re,x=Reflect.apply(Gr,null,[K,..._])}finally{K.processor=null}return x},()=>fn(..._),"translate",T=>T[pn](..._),T=>[zr(T)],T=>X(T))}function we(..._){return fe(T=>Reflect.apply(Yr,null,[T,..._]),()=>mn(..._),"number format",T=>T[gn](..._),Jr,T=>k(T)||X(T))}function Me(..._){return fe(T=>Reflect.apply(Wr,null,[T,..._]),()=>$n(..._),"datetime format",T=>T[hn](..._),Jr,T=>k(T)||X(T))}function ut(_){A=_,w.pluralRules=A}function $(_,T){return fe(()=>{if(!_)return!1;const x=k(T)?T:d.value,K=P(x),Be=w.messageResolver(K,_);return Ge(Be)||de(Be)||k(Be)},()=>[_],"translate exists",x=>Reflect.apply(x.te,x,[_,T]),Xu,x=>j(x))}function u(_){let T=null;const x=Mo(w,c.value,d.value);for(let K=0;K<x.length;K++){const Be=f.value[x[K]]||{},vt=w.messageResolver(Be,_);if(vt!=null){T=vt;break}}return T}function g(_){const T=u(_);return T??(n?n.tm(_)||{}:{})}function P(_){return f.value[_]||{}}function R(_,T){if(a){const x={[_]:T};for(const K in x)kt(x,K)&>(x[K]);T=x[_]}f.value[_]=T,w.messages=f.value}function B(_,T){f.value[_]=f.value[_]||{};const x={[_]:T};if(a)for(const K in x)kt(x,K)&>(x[K]);T=x[_],St(T,f.value[_]),w.messages=f.value}function pe(_){return m.value[_]||{}}function _e(_,T){m.value[_]=T,w.datetimeFormats=m.value,Kr(w,_,T)}function Ba(_,T){m.value[_]=Q(m.value[_]||{},T),w.datetimeFormats=m.value,Kr(w,_,T)}function xa(_){return h.value[_]||{}}function Va(_,T){h.value[_]=T,w.numberFormats=h.value,Xr(w,_,T)}function Ua(_,T){h.value[_]=Q(h.value[_]||{},T),w.numberFormats=h.value,Xr(w,_,T)}Zr++,n&&Se&&(i.watch(n.locale,_=>{l&&(d.value=_,w.locale=_,ct(w,d.value,c.value))}),i.watch(n.fallbackLocale,_=>{l&&(c.value=_,w.fallbackLocale=_,ct(w,d.value,c.value))}));const Y={id:Zr,locale:ce,fallbackLocale:q,get inheritLocale(){return l},set inheritLocale(_){l=_,_&&n&&(d.value=n.locale.value,c.value=n.fallbackLocale.value,ct(w,d.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:se,get modifiers(){return L},get pluralRules(){return A||{}},get isGlobal(){return o},get missingWarn(){return O},set missingWarn(_){O=_,w.missingWarn=O},get fallbackWarn(){return v},set fallbackWarn(_){v=_,w.fallbackWarn=v},get fallbackRoot(){return b},set fallbackRoot(_){b=_},get fallbackFormat(){return C},set fallbackFormat(_){C=_,w.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(_){N=_,w.warnHtmlMessage=_},get escapeParameter(){return I},set escapeParameter(_){I=_,w.escapeParameter=_},t:Ye,getLocaleMessage:P,setLocaleMessage:R,mergeLocaleMessage:B,getPostTranslationHandler:me,setPostTranslationHandler:We,getMissingHandler:at,setMissingHandler:Ke,[Ku]:ut};return Y.datetimeFormats=He,Y.numberFormats=ot,Y.rt=st,Y.te=$,Y.tm=g,Y.d=Xe,Y.n=lt,Y.getDateTimeFormat=pe,Y.setDateTimeFormat=_e,Y.mergeDateTimeFormat=Ba,Y.getNumberFormat=xa,Y.setNumberFormat=Va,Y.mergeNumberFormat=Ua,Y[ea]=r,Y[pn]=Fe,Y[hn]=Me,Y[gn]=we,process.env.NODE_ENV!=="production"&&(Y[yn]=_=>{w.__v_emitter=_},Y[bn]=()=>{w.__v_emitter=void 0}),Y}const xn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ju({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===i.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function na(e){return i.Fragment}Q({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Z(e)||!isNaN(e)}},xn);function Zu(e){return X(e)&&!k(e[0])}function ra(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),k(e.format)?s.key=e.format:V(e.format)&&(k(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((h,O)=>n.includes(O)?Q({},h,{[O]:e.format[O]}):h,{}));const d=r(e.value,s,l);let c=[s.key];X(d)?c=d.map((h,O)=>{const v=o[h.type],b=v?v({[h.type]:h.value,index:O,parts:d}):[h.value];return Zu(b)&&(b[0].key=`${h.type}-${O}`),b}):k(d)&&(c=[d]);const f=Q({},a),m=k(e.tag)||V(e.tag)?e.tag:na();return i.h(m,f,c)}}Q({value:{type:Number,required:!0},format:{type:[String,Object]}},xn);Q({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xn);function eo(e,t){}const Qu=Te("global-vue-i18n");function Vt(e={}){const t=i.getCurrentInstance();if(t==null)throw ke(H.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ke(H.NOT_INSTALLED);const n=ec(t),r=nc(n),o=ta(t),a=tc(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ke(H.NOT_AVAILABLE_IN_LEGACY_MODE);return ic(t,a,r,e)}if(a==="global")return Yu(r,e,o),r;if(a==="parent"){let d=rc(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ae(Mn(le.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Q({},e);"__i18n"in o&&(d.__i18n=o.__i18n),r&&(d.__root=r),l=qu(d),s.__composerExtend&&(l[_n]=s.__composerExtend(l)),ac(s,t,l),s.__setInstance(t,l)}return l}function ec(e){{const t=i.inject(e.isCE?Qu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ke(e.isCE?H.NOT_INSTALLED_WITH_PROVIDE:H.UNEXPECTED_ERROR);return t}}function tc(e,t){return Mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function nc(e){return e.mode==="composition"?e.global:e.global.__composer}function rc(e,t,n=!1){let r=null;const o=t.root;let a=oc(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(a);l!=null&&(r=l.__composer,n&&r&&!r[ea]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function oc(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ac(e,t,n){let r=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Ed();const o=n;o[yn]&&o[yn](r),r.on("*",eo)}},t),i.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",eo),o[bn]&&o[bn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=o[_n];a&&(a(),delete o[_n])},t)}function ic(e,t,n,r={}){const o=t==="local",a=i.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ke(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=j(r.inheritLocale)?r.inheritLocale:!k(r.locale),l=i.ref(!o||s?n.locale.value:k(r.locale)?r.locale:ht),d=i.ref(!o||s?n.fallbackLocale.value:k(r.fallbackLocale)||X(r.fallbackLocale)||F(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=i.ref(Bn(l.value,r)),f=i.ref(F(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),m=i.ref(F(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?n.missingWarn:j(r.missingWarn)||Qe(r.missingWarn)?r.missingWarn:!0,O=o?n.fallbackWarn:j(r.fallbackWarn)||Qe(r.fallbackWarn)?r.fallbackWarn:!0,v=o?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,b=!!r.fallbackFormat,C=G(r.missing)?r.missing:null,p=G(r.postTranslation)?r.postTranslation:null,y=o?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,N=o?n.modifiers:F(r.modifiers)?r.modifiers:{},I=r.pluralRules||o&&n.pluralRules;function L(){return[l.value,d.value,c.value,f.value,m.value]}const A=i.computed({get:()=>a.value?a.value.locale.value:l.value,set:u=>{a.value&&(a.value.locale.value=u),l.value=u}}),w=i.computed({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),d.value=u}}),U=i.computed(()=>a.value?a.value.messages.value:c.value),W=i.computed(()=>f.value),ce=i.computed(()=>m.value);function q(){return a.value?a.value.getPostTranslationHandler():p}function se(u){a.value&&a.value.setPostTranslationHandler(u)}function He(){return a.value?a.value.getMissingHandler():C}function ot(u){a.value&&a.value.setMissingHandler(u)}function me(u){return L(),u()}function We(...u){return a.value?me(()=>Reflect.apply(a.value.t,null,[...u])):me(()=>"")}function at(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function Ke(...u){return a.value?me(()=>Reflect.apply(a.value.d,null,[...u])):me(()=>"")}function it(...u){return a.value?me(()=>Reflect.apply(a.value.n,null,[...u])):me(()=>"")}function fe(u){return a.value?a.value.tm(u):{}}function Ye(u,g){return a.value?a.value.te(u,g):!1}function st(u){return a.value?a.value.getLocaleMessage(u):{}}function Xe(u,g){a.value&&(a.value.setLocaleMessage(u,g),c.value[u]=g)}function lt(u,g){a.value&&a.value.mergeLocaleMessage(u,g)}function dt(u){return a.value?a.value.getDateTimeFormat(u):{}}function Et(u,g){a.value&&(a.value.setDateTimeFormat(u,g),f.value[u]=g)}function Re(u,g){a.value&&a.value.mergeDateTimeFormat(u,g)}function Fe(u){return a.value?a.value.getNumberFormat(u):{}}function we(u,g){a.value&&(a.value.setNumberFormat(u,g),m.value[u]=g)}function Me(u,g){a.value&&a.value.mergeNumberFormat(u,g)}const ut={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:w,messages:U,datetimeFormats:W,numberFormats:ce,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:N},get pluralRules(){return a.value?a.value.pluralRules:I},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:O},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:v},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:b},set fallbackFormat(u){a.value&&(a.value.fallbackFormat=u)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(u){a.value&&(a.value.warnHtmlMessage=u)},get escapeParameter(){return a.value?a.value.escapeParameter:S},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:We,getPostTranslationHandler:q,setPostTranslationHandler:se,getMissingHandler:He,setMissingHandler:ot,rt:at,d:Ke,n:it,tm:fe,te:Ye,getLocaleMessage:st,setLocaleMessage:Xe,mergeLocaleMessage:lt,getDateTimeFormat:dt,setDateTimeFormat:Et,mergeDateTimeFormat:Re,getNumberFormat:Fe,setNumberFormat:we,mergeNumberFormat:Me};function $(u){u.locale.value=l.value,u.fallbackLocale.value=d.value,Object.keys(c.value).forEach(g=>{u.mergeLocaleMessage(g,c.value[g])}),Object.keys(f.value).forEach(g=>{u.mergeDateTimeFormat(g,f.value[g])}),Object.keys(m.value).forEach(g=>{u.mergeNumberFormat(g,m.value[g])}),u.escapeParameter=S,u.fallbackFormat=b,u.fallbackRoot=v,u.fallbackWarn=O,u.missingWarn=h,u.warnHtmlMessage=y}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ke(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=u.locale.value,d.value=u.fallbackLocale.value,c.value=u.messages.value,f.value=u.datetimeFormats.value,m.value=u.numberFormats.value):o&&$(u)}),ut}Gu();__INTLIFY_JIT_COMPILATION__?Br(Fu):Br(Ru);Tu(su);wu(Mo);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ne();e.__INTLIFY__=!0,hu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const sc={},lc={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dc=i.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"},null,-1),uc=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),cc=[dc,uc];function fc(e,t){return i.openBlock(),i.createElementBlock("svg",lc,cc)}const oa=ie(sc,[["render",fc]]),$c={key:"popup-content",class:"pd-small popup-wrapper"},aa={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function o(){r("close-popup")}return i.watch(()=>n.isPopupOpen,s=>{s?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),ud(),dd(),Vt({messages:{en:{},ru:{}}}),(s,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",$c,[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"},s.$attrs),[i.createVNode(oa,{onClick:l[0]||(l[0]=d=>o()),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(s.$slots,"default")],16)):i.createCommentVNode("",!0)]),_:3}),i.createElementVNode("div",{onClick:l[1]||(l[1]=d=>o()),class:i.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):i.createCommentVNode("",!0)]),_:3})])):i.createCommentVNode("",!0)}},mc=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"})),pc={class:"flex-v-center flex-nowrap flex"},hc={key:0,class:"mn-r-auto t-transp mn-r-small"},gc=["name","value","checked"],yc={key:1,class:""},bc=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),_c=[bc],ia={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,o)=>(i.openBlock(),i.createElementBlock("label",pc,[e.label?(i.openBlock(),i.createElementBlock("div",hc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("input",{onInput:o[0]||(o[0]=a=>r.text=n("update:radio",a.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,gc),e.radio===e.value?(i.openBlock(),i.createElementBlock("div",yc,_c)):i.createCommentVNode("",!0)]))}},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:ia},Symbol.toStringTag,{value:"Module"})),vc={key:0,class:"t-transp mn-r-small"},Nc={class:"w-100"},Oc=["onClick"],Cc={key:0,class:"w-100"},Sc={key:0,class:"mn-t-thin invalid-feedback"},Tc={__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=Sn;const o=e,a=i.ref(o.property?d(o.select,o.property,o.options):o.select),s=i.ref(!1);function l(){s.value=!1}function d(h,O,v){for(const b of v)if(b[O]===h||b===h)return b;return null}i.watch(()=>o.select,h=>{a.value=o.property?d(o.select,o.property,o.options):o.select});const c=i.computed(()=>o.select?o.options.filter(h=>h!==o.select):o.options),f=()=>{s.value=!s.value,n(s.value?"focus":"blur")},m=h=>{a.value=h,f(),o.property?n("update:select",a.value[o.property]):n("update:select",a.value)};return(h,O)=>{var v,b;return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.withDirectives((i.openBlock(),i.createElementBlock("div",{onClick:i.withModifiers(f,["stop"]),class:i.normalizeClass([h.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(i.openBlock(),i.createElementBlock("div",vc,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),i.createElementVNode("li",Nc,[i.createElementVNode("span",null,i.toDisplayString((v=a.value)!=null&&v.name?(b=a.value)==null?void 0:b.name:a.value||e.placeholder),1)]),i.createVNode(i.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("ul",{class:i.normalizeClass([h.$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,C=>(i.openBlock(),i.createElementBlock("li",{onClick:i.withModifiers(p=>m(C),["stop"])},[C?(i.openBlock(),i.createElementBlock("span",Cc,i.toDisplayString(C.name||C),1)):i.createCommentVNode("",!0)],8,Oc))),256))],2),[[i.vShow,s.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",Sc," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64)}}},sa=ie(Tc,[["__scopeId","data-v-67f55841"]]),wc=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"}));function Jt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function Lc(e){return(...t)=>!e(...t)}function Pc(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function la(e,t,n,r){return t?e.filter(o=>Pc(r(o,n),t)).sort((o,a)=>r(o,n).length-r(a,n).length):e}function Ic(e){return e.filter(t=>!t.$isLabel)}function Zt(e,t){return n=>n.reduce((r,o)=>o[e]&&o[e].length?(r.push({$groupLabel:o[t],$isLabel:!0}),r.concat(o[e])):r,[])}function kc(e,t,n,r,o){return a=>a.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=la(s[n],e,t,o);return l.length?{[r]:s[r],[n]:l}:[]})}const to=(...e)=>t=>e.reduce((n,r)=>r(n),t),Ac={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Jt(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):la(n,t,this.label,this.customLabel):n=this.groupValues?Zt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Lc(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return to(kc(t,n,this.groupValues,this.groupLabel,this.customLabel),Zt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return to(Zt(this.groupValues,this.groupLabel),Ic)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Jt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Jt(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},Dc={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}}},Rc={name:"vue-multiselect",mixins:[Ac,Dc],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)}}},Fc=["tabindex","aria-owns"],Mc={ref:"tags",class:"multiselect__tags"},Bc={class:"multiselect__tags-wrap"},xc=["textContent"],Vc=["onKeypress","onMousedown"],Uc=["textContent"],jc={class:"multiselect__spinner"},Gc=["name","id","placeholder","value","disabled","tabindex","aria-controls"],Hc=["id"],Wc={key:0},Kc={class:"multiselect__option"},Yc=["id","role"],Xc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],zc=["data-select","data-deselect","onMouseenter","onMousedown"],qc={class:"multiselect__option"},Jc={class:"multiselect__option"};function Zc(e,t,n,r,o,a){return i.openBlock(),i.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:i.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=i.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[i.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[i.createElementVNode("div",{onMousedown:t[0]||(t[0]=i.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),i.renderSlot(e.$slots,"clear",{search:e.search}),i.createElementVNode("div",Mc,[i.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[i.withDirectives(i.createElementVNode("div",Bc,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.visibleValues,(s,l)=>i.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(i.openBlock(),i.createElementBlock("span",{class:"multiselect__tag",key:l},[i.createElementVNode("span",{textContent:i.toDisplayString(e.getOptionLabel(s))},null,8,xc),i.createElementVNode("i",{tabindex:"1",onKeypress:i.withKeys(i.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:i.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,Vc)]))])),256))],512),[[i.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?i.renderSlot(e.$slots,"limit",{key:0},()=>[i.createElementVNode("strong",{class:"multiselect__strong",textContent:i.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,Uc)]):i.createCommentVNode("",!0)]),i.createVNode(i.Transition,{name:"multiselect__loading"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"loading",{},()=>[i.withDirectives(i.createElementVNode("div",jc,null,512),[[i.vShow,n.loading]])])]),_:3}),e.searchable?(i.openBlock(),i.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:i.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=i.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=i.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=i.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=i.withKeys(i.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=i.withKeys(i.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=i.withKeys(i.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=i.withKeys(i.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,Gc)):i.createCommentVNode("",!0),a.isSingleLabelVisible?(i.openBlock(),i.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[i.createTextVNode(i.toDisplayString(e.currentOptionLabel),1)])],32)):i.createCommentVNode("",!0),a.isPlaceholderVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=i.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[i.renderSlot(e.$slots,"placeholder",{},()=>[i.createTextVNode(i.toDisplayString(e.placeholder),1)])],32)):i.createCommentVNode("",!0)],512),i.createVNode(i.Transition,{name:"multiselect"},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{class:i.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=i.withModifiers(()=>{},["prevent"])),style:i.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[i.createElementVNode("ul",{class:"multiselect__content",style:i.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[i.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(i.openBlock(),i.createElementBlock("li",Wc,[i.createElementVNode("span",Kc,[i.renderSlot(e.$slots,"maxElements",{},()=>[i.createTextVNode("Maximum of "+i.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):i.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(e.filteredOptions,(s,l)=>(i.openBlock(),i.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:i.withModifiers(d=>e.select(s),["stop"]),onMouseenter:i.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,Xc)),s&&(s.$isLabel||s.$isDisabled)?(i.openBlock(),i.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:i.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:i.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:i.withModifiers(d=>e.selectGroup(s),["prevent"])},[i.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[i.createElementVNode("span",null,i.toDisplayString(e.getOptionLabel(s)),1)])],42,zc)):i.createCommentVNode("",!0)],8,Yc))),128)):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("li",null,[i.createElementVNode("span",qc,[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",Jc,[i.renderSlot(e.$slots,"noOptions",{},()=>[i.createTextVNode("List is empty.")])])],512),[[i.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),i.renderSlot(e.$slots,"afterList")],12,Hc)],38),[[i.vShow,e.isOpen]])]),_:3})],42,Fc)}const da=ie(Rc,[["render",Zc]]),Qc=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"})),e0={key:0,class:"spoiler"},ua={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1);return t.status&&(n.value=t.status),(r,o)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{onClick:o[0]||(o[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[i.renderSlot(r.$slots,"header",{isOpen:n.value})]),i.createVNode(i.Transition,{name:"collapse"},{default:i.withCtx(()=>[n.value?(i.openBlock(),i.createElementBlock("div",e0,[i.renderSlot(r.$slots,"content")])):i.createCommentVNode("",!0)]),_:3})]))}},t0=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"})),n0={class:""},r0={class:"flex-nowrap flex-v-center flex pos-relative"},o0=["onClick"],ca={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,o=i.ref(0);if(r.selected){const c=r.tabs.findIndex(f=>f.value===r.selected);c!==-1&&(o.value=c)}function a(c,f){o.value=c,n("update:selected",f.value),r.callback&&r.callback()}function s(c){return`${100/r.tabs.length*c}%`}function l(){return`${100/r.tabs.length}%`}const d=i.computed(()=>({left:s(o.value),width:l()}));return(c,f)=>(i.openBlock(),i.createElementBlock("div",n0,[i.createElementVNode("div",r0,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.tabs,(m,h)=>(i.openBlock(),i.createElementBlock("div",{key:h,onClick:O=>a(h,m),class:i.normalizeClass([{"t-transp":h!==o.value},"z-index-1 t-center pd-small w-100"])},[i.createElementVNode("label",null,i.toDisplayString(m.name),1)],10,o0))),128)),i.createElementVNode("div",{style:i.normalizeStyle(d.value),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},a0=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"})),i0={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=i.ref(!1),n=i.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(a){t.value=!0,n.left=`${a.clientX/100+10}px`,n.top=`${a.clientY/100+10}px`,n.display="block"}function o(){t.value=!1,n.display="none"}return(a,s)=>(i.openBlock(),i.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:o},[i.renderSlot(a.$slots,"default",{},void 0,!0),i.createElementVNode("div",{class:"tooltip-content",style:i.normalizeStyle(n)},i.toDisplayString(e.text),5)],32))}},fa=ie(i0,[["__scopeId","data-v-0065753a"]]),s0=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),l0={key:0,class:"cursor-pointer t-second"},$a={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=i.ref(!1),r=i.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),o=i.computed(()=>t.text),a=()=>{n.value=!n.value},s=i.computed(()=>n.value?o.value:r.value),l=i.computed(()=>t.text.length>t.maxLen),d=i.computed(()=>n.value?"Hide":"Show more");return(c,f)=>(i.openBlock(),i.createElementBlock("span",{onClick:a,class:""},[i.createTextVNode(i.toDisplayString(s.value)+" ",1),l.value&&e.showToggleText?(i.openBlock(),i.createElementBlock("span",l0,i.toDisplayString(d.value),1)):i.createCommentVNode("",!0)]))}},d0=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));function ma(e,t){return function(){return e.apply(t,arguments)}}const{toString:u0}=Object.prototype,{getPrototypeOf:Vn}=Object,Ut=(e=>t=>{const n=u0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),be=e=>(e=e.toLowerCase(),t=>Ut(t)===e),jt=e=>t=>typeof t===e,{isArray:rt}=Array,yt=jt("undefined");function c0(e){return e!==null&&!yt(e)&&e.constructor!==null&&!yt(e.constructor)&&ue(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pa=be("ArrayBuffer");function f0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pa(e.buffer),t}const $0=jt("string"),ue=jt("function"),ha=jt("number"),Gt=e=>e!==null&&typeof e=="object",m0=e=>e===!0||e===!1,Tt=e=>{if(Ut(e)!=="object")return!1;const t=Vn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},p0=be("Date"),h0=be("File"),g0=be("Blob"),y0=be("FileList"),b0=e=>Gt(e)&&ue(e.pipe),_0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ue(e.append)&&((t=Ut(e))==="formdata"||t==="object"&&ue(e.toString)&&e.toString()==="[object FormData]"))},E0=be("URLSearchParams"),v0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),rt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function ga(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ba=e=>!yt(e)&&e!==ya;function En(){const{caseless:e}=ba(this)&&this||{},t={},n=(r,o)=>{const a=e&&ga(t,o)||o;Tt(t[a])&&Tt(r)?t[a]=En(t[a],r):Tt(r)?t[a]=En({},r):rt(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&bt(arguments[r],n);return t}const N0=(e,t,n,{allOwnKeys:r}={})=>(bt(t,(o,a)=>{n&&ue(o)?e[a]=ma(o,n):e[a]=o},{allOwnKeys:r}),e),O0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),C0=(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)},S0=(e,t,n,r)=>{let o,a,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Vn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},T0=(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},w0=e=>{if(!e)return null;if(rt(e))return e;let t=e.length;if(!ha(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},L0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Vn(Uint8Array)),P0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},I0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},k0=be("HTMLFormElement"),A0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),no=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D0=be("RegExp"),_a=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};bt(n,(o,a)=>{let s;(s=t(o,a,e))!==!1&&(r[a]=s||o)}),Object.defineProperties(e,r)},R0=e=>{_a(e,(t,n)=>{if(ue(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ue(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},F0=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return rt(e)?r(e):r(String(e).split(t)),n},M0=()=>{},B0=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Qt="abcdefghijklmnopqrstuvwxyz",ro="0123456789",Ea={DIGIT:ro,ALPHA:Qt,ALPHA_DIGIT:Qt+Qt.toUpperCase()+ro},x0=(e=16,t=Ea.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function V0(e){return!!(e&&ue(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const U0=e=>{const t=new Array(10),n=(r,o)=>{if(Gt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=rt(r)?[]:{};return bt(r,(s,l)=>{const d=n(s,o+1);!yt(d)&&(a[l]=d)}),t[o]=void 0,a}}return r};return n(e,0)},j0=be("AsyncFunction"),G0=e=>e&&(Gt(e)||ue(e))&&ue(e.then)&&ue(e.catch),E={isArray:rt,isArrayBuffer:pa,isBuffer:c0,isFormData:_0,isArrayBufferView:f0,isString:$0,isNumber:ha,isBoolean:m0,isObject:Gt,isPlainObject:Tt,isUndefined:yt,isDate:p0,isFile:h0,isBlob:g0,isRegExp:D0,isFunction:ue,isStream:b0,isURLSearchParams:E0,isTypedArray:L0,isFileList:y0,forEach:bt,merge:En,extend:N0,trim:v0,stripBOM:O0,inherits:C0,toFlatObject:S0,kindOf:Ut,kindOfTest:be,endsWith:T0,toArray:w0,forEachEntry:P0,matchAll:I0,isHTMLForm:k0,hasOwnProperty:no,hasOwnProp:no,reduceDescriptors:_a,freezeMethods:R0,toObjectSet:F0,toCamelCase:A0,noop:M0,toFiniteNumber:B0,findKey:ga,global:ya,isContextDefined:ba,ALPHABET:Ea,generateString:x0,isSpecCompliantForm:V0,toJSONObject:U0,isAsyncFn:j0,isThenable:G0};function M(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}E.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const va=M.prototype,Na={};["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=>{Na[e]={value:e}});Object.defineProperties(M,Na);Object.defineProperty(va,"isAxiosError",{value:!0});M.from=(e,t,n,r,o,a)=>{const s=Object.create(va);return E.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),M.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const H0=null;function vn(e){return E.isPlainObject(e)||E.isArray(e)}function Oa(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function oo(e,t,n){return e?e.concat(t).map(function(o,a){return o=Oa(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function W0(e){return E.isArray(e)&&!e.some(vn)}const K0=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function Ht(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,C){return!E.isUndefined(C[b])});const r=n.metaTokens,o=n.visitor||f,a=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(E.isDate(v))return v.toISOString();if(!d&&E.isBlob(v))throw new M("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(v)||E.isTypedArray(v)?d&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,b,C){let p=v;if(v&&!C&&typeof v=="object"){if(E.endsWith(b,"{}"))b=r?b:b.slice(0,-2),v=JSON.stringify(v);else if(E.isArray(v)&&W0(v)||(E.isFileList(v)||E.endsWith(b,"[]"))&&(p=E.toArray(v)))return b=Oa(b),p.forEach(function(S,N){!(E.isUndefined(S)||S===null)&&t.append(s===!0?oo([b],N,a):s===null?b:b+"[]",c(S))}),!1}return vn(v)?!0:(t.append(oo(C,b,a),c(v)),!1)}const m=[],h=Object.assign(K0,{defaultVisitor:f,convertValue:c,isVisitable:vn});function O(v,b){if(!E.isUndefined(v)){if(m.indexOf(v)!==-1)throw Error("Circular reference detected in "+b.join("."));m.push(v),E.forEach(v,function(p,y){(!(E.isUndefined(p)||p===null)&&o.call(t,p,E.isString(y)?y.trim():y,b,h))===!0&&O(p,b?b.concat(y):[y])}),m.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return O(e),t}function ao(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Un(e,t){this._pairs=[],e&&Ht(e,this,t)}const Ca=Un.prototype;Ca.append=function(t,n){this._pairs.push([t,n])};Ca.toString=function(t){const n=t?function(r){return t.call(this,r,ao)}:ao;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Y0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sa(e,t,n){if(!t)return e;const r=n&&n.encode||Y0,o=n&&n.serialize;let a;if(o?a=o(t,n):a=E.isURLSearchParams(t)?t.toString():new Un(t,n).toString(r),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class io{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){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ta={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},X0=typeof URLSearchParams<"u"?URLSearchParams:Un,z0=typeof FormData<"u"?FormData:null,q0=typeof Blob<"u"?Blob:null,J0={isBrowser:!0,classes:{URLSearchParams:X0,FormData:z0,Blob:q0},protocols:["http","https","file","blob","url","data"]},wa=typeof window<"u"&&typeof document<"u",Z0=(e=>wa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Q0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",e1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wa,hasStandardBrowserEnv:Z0,hasStandardBrowserWebWorkerEnv:Q0},Symbol.toStringTag,{value:"Module"})),ye={...e1,...J0};function t1(e,t){return Ht(e,new ye.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return ye.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function n1(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function r1(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function La(e){function t(n,r,o,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=a>=n.length;return s=!s&&E.isArray(o)?o.length:s,d?(E.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!E.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],a)&&E.isArray(o[s])&&(o[s]=r1(o[s])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,o)=>{t(n1(r),o,n,0)}),n}return null}function o1(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const jn={transitional:Ta,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=E.isObject(t);if(a&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o?JSON.stringify(La(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return t1(t,this.formSerializer).toString();if((l=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ht(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),o1(t)):t}],transformResponse:[function(t){const n=this.transitional||jn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&E.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ye.classes.FormData,Blob:ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{jn.headers[e]={}});const Gn=jn,a1=E.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"]),i1=e=>{const t={};let n,r,o;return e&&e.split(`
|
32
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&a1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},so=Symbol("internals");function ft(e){return e&&String(e).trim().toLowerCase()}function wt(e){return e===!1||e==null?e:E.isArray(e)?e.map(wt):String(e)}function s1(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 l1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function en(e,t,n,r,o){if(E.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function d1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u1(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,s){return this[r].call(this,t,o,a,s)},configurable:!0})})}class Wt{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(l,d,c){const f=ft(d);if(!f)throw new Error("header name must be a non-empty string");const m=E.findKey(o,f);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||d]=wt(l))}const s=(l,d)=>E.forEach(l,(c,f)=>a(c,f,d));return E.isPlainObject(t)||t instanceof this.constructor?s(t,n):E.isString(t)&&(t=t.trim())&&!l1(t)?s(i1(t),n):t!=null&&a(n,t,r),this}get(t,n){if(t=ft(t),t){const r=E.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return s1(o);if(E.isFunction(n))return n.call(this,o,r);if(E.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ft(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||en(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(s){if(s=ft(s),s){const l=E.findKey(r,s);l&&(!n||en(r,r[l],l,n))&&(delete r[l],o=!0)}}return E.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||en(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return E.forEach(this,(o,a)=>{const s=E.findKey(r,a);if(s){n[s]=wt(o),delete n[a];return}const l=t?d1(a):String(a).trim();l!==a&&delete n[a],n[l]=wt(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&E.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(o=>r.set(o)),r}static accessor(t){const r=(this[so]=this[so]={accessors:{}}).accessors,o=this.prototype;function a(s){const l=ft(s);r[l]||(u1(o,s),r[l]=!0)}return E.isArray(t)?t.forEach(a):a(t),this}}Wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Wt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});E.freezeMethods(Wt);const Oe=Wt;function tn(e,t){const n=this||Gn,r=t||n,o=Oe.from(r.headers);let a=r.data;return E.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Pa(e){return!!(e&&e.__CANCEL__)}function _t(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(_t,M,{__CANCEL__:!0});function c1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const f1=ye.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const s=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),E.isString(r)&&s.push("path="+r),E.isString(o)&&s.push("domain="+o),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function $1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function m1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ia(e,t){return e&&!$1(t)?m1(e,t):t}const p1=ye.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(a){let s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=E.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function h1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),f=r[a];s||(s=c),n[o]=d,r[o]=c;let m=a,h=0;for(;m!==o;)h+=n[m++],m=m%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-s<t)return;const O=f&&c-f;return O?Math.round(h*1e3/O):void 0}}function lo(e,t){let n=0;const r=g1(50,250);return o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-n,d=r(l),c=a<=s;n=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:d||void 0,estimated:d&&s&&c?(s-a)/d:void 0,event:o};f[t?"download":"upload"]=!0,e(f)}}const y1=typeof XMLHttpRequest<"u",b1=y1&&function(e){return new Promise(function(n,r){let o=e.data;const a=Oe.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,d;function c(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}let f;if(E.isFormData(o)){if(ye.hasStandardBrowserEnv||ye.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((f=a.getContentType())!==!1){const[b,...C]=f?f.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([b||"multipart/form-data",...C].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(b+":"+C))}const h=Ia(e.baseURL,e.url);m.open(e.method.toUpperCase(),Sa(h,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function O(){if(!m)return;const b=Oe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),p={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:b,config:e,request:m};c1(function(S){n(S),c()},function(S){r(S),c()},p),m=null}if("onloadend"in m?m.onloadend=O:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(O)},m.onabort=function(){m&&(r(new M("Request aborted",M.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new M("Network Error",M.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let C=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||Ta;e.timeoutErrorMessage&&(C=e.timeoutErrorMessage),r(new M(C,p.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,e,m)),m=null},ye.hasStandardBrowserEnv&&(l&&E.isFunction(l)&&(l=l(e)),l||l!==!1&&p1(h))){const b=e.xsrfHeaderName&&e.xsrfCookieName&&f1.read(e.xsrfCookieName);b&&a.set(e.xsrfHeaderName,b)}o===void 0&&a.setContentType(null),"setRequestHeader"in m&&E.forEach(a.toJSON(),function(C,p){m.setRequestHeader(p,C)}),E.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),s&&s!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",lo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",lo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=b=>{m&&(r(!b||b.type?new _t(null,e,m):b),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const v=h1(h);if(v&&ye.protocols.indexOf(v)===-1){r(new M("Unsupported protocol "+v+":",M.ERR_BAD_REQUEST,e));return}m.send(o||null)})},Nn={http:H0,xhr:b1};E.forEach(Nn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const uo=e=>`- ${e}`,_1=e=>E.isFunction(e)||e===null||e===!1,ka={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){n=e[a];let s;if(r=n,!_1(n)&&(r=Nn[(s=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+a]=r}if(!r){const a=Object.entries(o).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?a.length>1?`since :
|
34
34
|
`+a.map(uo).join(`
|
35
|
-
`):" "+uo(a[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Nn};function nn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new
|
36
|
-
`+a):r.stack=a}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=tt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&On.assertOptions(r,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),o!=null&&(v.isFunction(o)?n.paramsSerializer={serialize:o}:On.assertOptions(o,{encode:Ie.function,serialize:Ie.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&v.merge(a.common,a[n.method]);a&&v.forEach(["delete","get","head","post","put","patch","common"],E=>{delete a[E]}),n.headers=Oe.concat(s,a);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,p=0,h;if(!d){const E=[co.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,c),h=E.length,f=Promise.resolve(n);p<h;)f=f.then(E[p++],E[p++]);return f}h=l.length;let O=n;for(p=0;p<h;){const E=l[p++],_=l[p++];try{O=E(O)}catch(C){_.call(this,C);break}}try{f=co.call(this,O)}catch(E){return Promise.reject(E)}for(p=0,h=c.length;p<h;)f=f.then(c[p++],c[p++]);return f}getUri(t){t=tt(this.defaults,t);const n=Ia(t.baseURL,t.url);return Sa(n,t.params,t.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(t){Dt.prototype[t]=function(n,r){return this.request(tt(r||{},{method:t,url:n,data:(r||{}).data}))}});v.forEach(["post","put","patch"],function(t){function n(r){return function(a,s,l){return this.request(tt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}Dt.prototype[t]=n(),Dt.prototype[t+"Form"]=n(!0)});const Lt=Dt;class Wn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(o);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new bt(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wn(function(o){t=o}),cancel:t}}}const v1=Wn;function E1(e){return function(n){return e.apply(null,n)}}function N1(e){return v.isObject(e)&&e.isAxiosError===!0}const Cn={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(Cn).forEach(([e,t])=>{Cn[t]=e});const O1=Cn;function Da(e){const t=new Lt(e),n=pa(Lt.prototype.request,t);return v.extend(n,Lt.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Da(tt(e,o))},n}const z=Da(Gn);z.Axios=Lt;z.CanceledError=bt;z.CancelToken=v1;z.isCancel=Pa;z.VERSION=Aa;z.toFormData=Ht;z.AxiosError=M;z.Cancel=z.CanceledError;z.all=function(t){return Promise.all(t)};z.spread=E1;z.isAxiosError=N1;z.mergeConfig=tt;z.AxiosHeaders=Oe;z.formToJSON=e=>La(v.isHTMLForm(e)?new FormData(e):e);z.getAdapter=ka.getAdapter;z.HttpStatusCode=O1;z.default=z;const Kn=z;const C1={key:0,class:"t-transp mn-r-small"},S1={key:1,class:"flex-nowrap flex w-100 flex-v-center"},T1=["href"],w1={key:2,class:"w-100"},L1=["placeholder","multiple"],P1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},I1={__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,o=i.ref(r.field);i.ref(null),i.watch(()=>r.field,l=>{o.value=l});async function a(l){let d=l.target.files[0],c=new FormData;c.append("file",d);try{let p=await Kn.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(p.data),o.value=p.data[0].filepath,n("file-change",o.value)}catch(f){console.error(f)}}const s=()=>{o.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",C1,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),o.value?(i.openBlock(),i.createElementBlock("div",S1,[i.createElementVNode("a",{href:o.value,class:"w-100",target:"_blank"},i.toDisplayString(o.value),9,T1),i.createVNode(oa,{onClick:s,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(i.openBlock(),i.createElementBlock("div",w1,[i.createElementVNode("input",{onChange:a,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,L1)]))],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",P1," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},Ra=ie(I1,[["__scopeId","data-v-d8ca273c"]]),k1=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"})),A1=["src"],D1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},R1=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),F1=[R1],Fa={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=i.ref(null),r=i.ref(null),o=e,a=t;i.watch(o,({photo:c})=>{c&&(n.value=c)});function s(){r.value.click()}async function l(c){let f=c.target.files[0];if(!f){console.error("No file selected");return}let p=new FormData;p.append("file",f),console.log("Sending file:",f.name);try{let O=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,p);console.log("Upload response:",O),n.value=O.data[0].filepath,a("update:photo",n.value)}catch(h){console.error("Upload error:",h)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,f)=>(i.openBlock(),i.createElementBlock("div",{onClick:s,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,A1)):(i.openBlock(),i.createElementBlock("div",D1,F1)),i.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},M1=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"})),x1={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B1=["fill"],V1=["fill"],U1={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",x1,[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,B1),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,V1)]))}},j1={key:0,class:"t-center"},G1={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},H1={key:1,class:"mn-b-thin t-transp d-block"},W1={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},K1={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},Y1={key:4,class:"uppercase p-small t-medium d-block"},Ma={__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),o=i.ref(null),a=e,s=t;function l(){o.value.click()}async function d(f){r.value=!0;let p=f.target.files,h=new FormData;for(const O of p)h.append("file",O);try{(await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(_=>{n.value.push(_.filepath)}),s("update:images",n.value),r.value=!1}catch(O){console.error(O),r.value=!1}}function c(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,p)=>(i.openBlock(),i.createElementBlock("div",{onClick:l,onDrop:c,onDragover:p[0]||(p[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(wo,{key:1,class:"pos-absolute"})):(i.openBlock(),i.createElementBlock("div",j1,[i.createVNode(U1,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(i.openBlock(),i.createElementBlock("span",G1,i.toDisplayString(e.text.title),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",H1,i.toDisplayString(e.text.subtitle),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",W1,"or")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("button",K1,"Browse Files")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",Y1,"Maximum size: 2MB")):i.createCommentVNode("",!0)]))]),_:1}),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},X1=Object.freeze(Object.defineProperty({__proto__:null,default:Ma},Symbol.toStringTag,{value:"Module"})),z1={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ya)),e.component("Button",()=>Promise.resolve().then(()=>ni)),e.component("Checkbox",()=>Promise.resolve().then(()=>si)),e.component("Dropdown",()=>Promise.resolve().then(()=>di)),e.component("Error",()=>Promise.resolve().then(()=>fi)),e.component("Field",()=>Promise.resolve().then(()=>bi)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Gl)),e.component("LocationMarker",()=>Promise.resolve().then(()=>nd)),e.component("Map",()=>Promise.resolve().then(()=>od)),e.component("Popup",()=>Promise.resolve().then(()=>fc)),e.component("Radio",()=>Promise.resolve().then(()=>_c)),e.component("Select",()=>Promise.resolve().then(()=>Sc)),e.component("SelectMulti",()=>Promise.resolve().then(()=>Jc)),e.component("Spoiler",()=>Promise.resolve().then(()=>Qc)),e.component("Tab",()=>Promise.resolve().then(()=>r0)),e.component("Tooltip",()=>Promise.resolve().then(()=>a0)),e.component("Text",()=>Promise.resolve().then(()=>s0)),e.component("Upload",()=>Promise.resolve().then(()=>k1)),e.component("UploadImage",()=>Promise.resolve().then(()=>M1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>X1))}};exports.Address=po;exports.Button=mo;exports.Checkbox=ho;exports.Dropdown=go;exports.Error=yo;exports.Field=_o;exports.FieldPhone=To;exports.LocationMarker=Po;exports.Map=Io;exports.Popup=aa;exports.Radio=ia;exports.Select=sa;exports.SelectMulti=da;exports.Spoiler=ua;exports.Tab=ca;exports.Text=$a;exports.Tooltip=fa;exports.Upload=Ra;exports.UploadImage=Fa;exports.UploadImageMultiple=Ma;exports.default=z1;
|
35
|
+
`):" "+uo(a[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Nn};function nn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _t(null,e)}function co(e){return nn(e),e.headers=Oe.from(e.headers),e.data=tn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ka.getAdapter(e.adapter||Gn.adapter)(e).then(function(r){return nn(e),r.data=tn.call(e,e.transformResponse,r),r.headers=Oe.from(r.headers),r},function(r){return Pa(r)||(nn(e),r&&r.response&&(r.response.data=tn.call(e,e.transformResponse,r.response),r.response.headers=Oe.from(r.response.headers))),Promise.reject(r)})}const fo=e=>e instanceof Oe?e.toJSON():e;function tt(e,t){t=t||{};const n={};function r(c,f,m){return E.isPlainObject(c)&&E.isPlainObject(f)?E.merge.call({caseless:m},c,f):E.isPlainObject(f)?E.merge({},f):E.isArray(f)?f.slice():f}function o(c,f,m){if(E.isUndefined(f)){if(!E.isUndefined(c))return r(void 0,c,m)}else return r(c,f,m)}function a(c,f){if(!E.isUndefined(f))return r(void 0,f)}function s(c,f){if(E.isUndefined(f)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,m){if(m in t)return r(c,f);if(m in e)return r(void 0,c)}const d={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,f)=>o(fo(c),fo(f),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(f){const m=d[f]||o,h=m(e[f],t[f],f);E.isUndefined(h)&&m!==l||(n[f]=h)}),n}const Aa="1.6.7",Hn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $o={};Hn.transitional=function(t,n,r){function o(a,s){return"[Axios v"+Aa+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return(a,s,l)=>{if(t===!1)throw new M(o(s," has been removed"+(n?" in "+n:"")),M.ERR_DEPRECATED);return n&&!$o[s]&&($o[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}};function E1(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],s=t[a];if(s){const l=e[a],d=l===void 0||s(l,a,e);if(d!==!0)throw new M("option "+a+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+a,M.ERR_BAD_OPTION)}}const On={assertOptions:E1,validators:Hn},Ie=On.validators;class Dt{constructor(t){this.defaults=t,this.interceptors={request:new io,response:new io}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
36
|
+
`+a):r.stack=a}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=tt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&On.assertOptions(r,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:On.assertOptions(o,{encode:Ie.function,serialize:Ie.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&E.merge(a.common,a[n.method]);a&&E.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=Oe.concat(s,a);const l=[];let d=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(d=d&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let f,m=0,h;if(!d){const v=[co.bind(this),void 0];for(v.unshift.apply(v,l),v.push.apply(v,c),h=v.length,f=Promise.resolve(n);m<h;)f=f.then(v[m++],v[m++]);return f}h=l.length;let O=n;for(m=0;m<h;){const v=l[m++],b=l[m++];try{O=v(O)}catch(C){b.call(this,C);break}}try{f=co.call(this,O)}catch(v){return Promise.reject(v)}for(m=0,h=c.length;m<h;)f=f.then(c[m++],c[m++]);return f}getUri(t){t=tt(this.defaults,t);const n=Ia(t.baseURL,t.url);return Sa(n,t.params,t.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(t){Dt.prototype[t]=function(n,r){return this.request(tt(r||{},{method:t,url:n,data:(r||{}).data}))}});E.forEach(["post","put","patch"],function(t){function n(r){return function(a,s,l){return this.request(tt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}Dt.prototype[t]=n(),Dt.prototype[t+"Form"]=n(!0)});const Lt=Dt;class Wn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(o);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new _t(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wn(function(o){t=o}),cancel:t}}}const v1=Wn;function N1(e){return function(n){return e.apply(null,n)}}function O1(e){return E.isObject(e)&&e.isAxiosError===!0}const Cn={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(Cn).forEach(([e,t])=>{Cn[t]=e});const C1=Cn;function Da(e){const t=new Lt(e),n=ma(Lt.prototype.request,t);return E.extend(n,Lt.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Da(tt(e,o))},n}const z=Da(Gn);z.Axios=Lt;z.CanceledError=_t;z.CancelToken=v1;z.isCancel=Pa;z.VERSION=Aa;z.toFormData=Ht;z.AxiosError=M;z.Cancel=z.CanceledError;z.all=function(t){return Promise.all(t)};z.spread=N1;z.isAxiosError=O1;z.mergeConfig=tt;z.AxiosHeaders=Oe;z.formToJSON=e=>La(E.isHTMLForm(e)?new FormData(e):e);z.getAdapter=ka.getAdapter;z.HttpStatusCode=C1;z.default=z;const Kn=z,S1={key:0,class:"t-transp mn-r-small"},T1={key:1,class:"flex-nowrap flex w-100 flex-v-center"},w1=["href"],L1={key:2,class:"w-100"},P1=["placeholder","multiple"],I1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},k1={__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,o=i.ref(r.field);i.ref(null),i.watch(()=>r.field,l=>{o.value=l});async function a(l){let d=l.target.files[0],c=new FormData;c.append("file",d);try{let m=await Kn.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(m.data),o.value=m.data[0].filepath,n("file-change",o.value)}catch(f){console.error(f)}}const s=()=>{o.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",S1,[i.createElementVNode("span",null,i.toDisplayString(e.label),1)])):i.createCommentVNode("",!0),o.value?(i.openBlock(),i.createElementBlock("div",T1,[i.createElementVNode("a",{href:o.value,class:"w-100",target:"_blank"},i.toDisplayString(o.value),9,w1),i.createVNode(oa,{onClick:s,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(i.openBlock(),i.createElementBlock("div",L1,[i.createElementVNode("input",{onChange:a,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,P1)]))],2),i.createVNode(i.Transition,{mode:"out-in",name:"fade"},{default:i.withCtx(()=>[e.validation?(i.openBlock(),i.createElementBlock("div",I1," * "+i.toDisplayString(e.validation.message),1)):i.createCommentVNode("",!0)]),_:1})],64))}},Ra=ie(k1,[["__scopeId","data-v-d8ca273c"]]),A1=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"})),D1=["src"],R1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},F1=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),M1=[F1],Fa={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=i.ref(null),r=i.ref(null),o=e,a=t;i.watch(o,({photo:c})=>{c&&(n.value=c)});function s(){r.value.click()}async function l(c){let f=c.target.files[0];if(!f){console.error("No file selected");return}let m=new FormData;m.append("file",f),console.log("Sending file:",f.name);try{let O=await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,m);console.log("Upload response:",O),n.value=O.data[0].filepath,a("update:photo",n.value)}catch(h){console.error("Upload error:",h)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,f)=>(i.openBlock(),i.createElementBlock("div",{onClick:s,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,D1)):(i.openBlock(),i.createElementBlock("div",R1,M1)),i.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},B1=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"})),x1={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V1=["fill"],U1=["fill"],j1={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",x1,[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,V1),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,U1)]))}},G1={key:0,class:"t-center"},H1={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},W1={key:1,class:"mn-b-thin t-transp d-block"},K1={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},Y1={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},X1={key:4,class:"uppercase p-small t-medium d-block"},Ma={__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),o=i.ref(null),a=e,s=t;function l(){o.value.click()}async function d(f){r.value=!0;let m=f.target.files,h=new FormData;for(const O of m)h.append("file",O);try{(await Kn.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(b=>{n.value.push(b.filepath)}),s("update:images",n.value),r.value=!1}catch(O){console.error(O),r.value=!1}}function c(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,m)=>(i.openBlock(),i.createElementBlock("div",{onClick:l,onDrop:c,onDragover:m[0]||(m[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(wo,{key:1,class:"pos-absolute"})):(i.openBlock(),i.createElementBlock("div",G1,[i.createVNode(j1,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(i.openBlock(),i.createElementBlock("span",H1,i.toDisplayString(e.text.title),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",W1,i.toDisplayString(e.text.subtitle),1)):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",K1,"or")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("button",Y1,"Browse Files")):i.createCommentVNode("",!0),e.options.showText?(i.openBlock(),i.createElementBlock("span",X1,"Maximum size: 2MB")):i.createCommentVNode("",!0)]))]),_:1}),i.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},z1=Object.freeze(Object.defineProperty({__proto__:null,default:Ma},Symbol.toStringTag,{value:"Module"})),q1={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ya)),e.component("Button",()=>Promise.resolve().then(()=>ni)),e.component("Checkbox",()=>Promise.resolve().then(()=>si)),e.component("Dropdown",()=>Promise.resolve().then(()=>ci)),e.component("Error",()=>Promise.resolve().then(()=>mi)),e.component("Field",()=>Promise.resolve().then(()=>vi)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Wl)),e.component("LocationMarker",()=>Promise.resolve().then(()=>od)),e.component("Map",()=>Promise.resolve().then(()=>id)),e.component("Popup",()=>Promise.resolve().then(()=>mc)),e.component("Radio",()=>Promise.resolve().then(()=>Ec)),e.component("Select",()=>Promise.resolve().then(()=>wc)),e.component("SelectMulti",()=>Promise.resolve().then(()=>Qc)),e.component("Spoiler",()=>Promise.resolve().then(()=>t0)),e.component("Tab",()=>Promise.resolve().then(()=>a0)),e.component("Tooltip",()=>Promise.resolve().then(()=>s0)),e.component("Text",()=>Promise.resolve().then(()=>d0)),e.component("Upload",()=>Promise.resolve().then(()=>A1)),e.component("UploadImage",()=>Promise.resolve().then(()=>B1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>z1))}};exports.Address=mo;exports.Button=po;exports.Checkbox=ho;exports.Dropdown=go;exports.Error=yo;exports.Field=bo;exports.FieldPhone=To;exports.LocationMarker=Po;exports.Map=Io;exports.Popup=aa;exports.Radio=ia;exports.Select=sa;exports.SelectMulti=da;exports.Spoiler=ua;exports.Tab=ca;exports.Text=$a;exports.Tooltip=fa;exports.Upload=Ra;exports.UploadImage=Fa;exports.UploadImageMultiple=Ma;exports.default=q1;
|