@saasquatch/mint-components 1.7.0-7 → 1.7.0-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AsYouType-6788393a.js +3874 -0
- package/dist/cjs/{GenericTableView-6b0d1f93.js → GenericTableView-fa0cb936.js} +1 -1
- package/dist/cjs/{JSS-a75f3a9a.js → JSS-c73206b7.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-260da162.js → ShadowViewAddon-970dff24.js} +172 -194
- package/dist/cjs/{global-a7614907.js → global-97364373.js} +4 -4
- package/dist/cjs/{index.module-1c799b1f.js → index.module-d3a28293.js} +6887 -6843
- package/dist/cjs/loader.cjs.js +5 -6
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -6
- package/dist/cjs/{re-render-c02c16c0.js → re-render-7b0c34bb.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-07420209.js → sqm-asset-card-view-7e16757a.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -7
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +383 -4308
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
- package/dist/cjs/sqm-hamburger-menu.cjs.entry.js +160 -0
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-d5d46a36.js → sqm-hero-view-f4264d5e.js} +3 -3
- package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-85e51ba6.js → sqm-navigation-sidebar-item-view-46a53c67.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +197 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-container-view-a3e86fc2.js → sqm-portal-container-view-4a8432e9.js} +1 -3
- package/dist/cjs/{sqm-portal-email-verification-view-c60833cc.js → sqm-portal-email-verification-view-56d07e94.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-d5478077.js → sqm-portal-footer-view-cbd4cd48.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +16 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-97932f7a.js → sqm-portal-forgot-password-view-aaa8dd17.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-profile-view-a8ee44c2.js → sqm-portal-profile-view-9792a786.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +26 -37
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +14 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +441 -0
- package/dist/cjs/{sqm-portal-reset-password-view-042073ca.js → sqm-portal-reset-password-view-035245e6.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
- package/dist/cjs/{sqm-portal-section-view-765aae4d.js → sqm-portal-section-view-71a57cd9.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cb3c9c2f.js → sqm-portal-verify-email-view-7014ca89.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +36 -56
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +12 -13
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +32 -30
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +205 -250
- package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-text-span-view-ab4ad6ef.js → sqm-text-span-view-b0c90c27.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/{useChildElements-dc4c3132.js → useChildElements-24fbca82.js} +7 -5
- package/dist/cjs/{useReferralTable-f52c7f8e.js → useReferralTable-8f7a049c.js} +9 -9
- package/dist/cjs/useRegistrationFormState-3f88db90.js +14 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -13
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -144
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -3
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +2 -10
- package/dist/collection/components/sqm-brand/sqm-brand.js +13 -32
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -16
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +6 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +40 -2
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +11 -4
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-hamburger-menu/HamburgerMenu.stories.js +7 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu-view.js +139 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu.js +45 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +0 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -22
- package/dist/collection/components/sqm-image/sqm-image-view.js +0 -1
- package/dist/collection/components/sqm-image/sqm-image.js +1 -21
- package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +10 -4
- package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
- package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +6 -5
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +146 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +36 -5
- package/dist/collection/components/sqm-navigation-sidebar/useNavigationSidebar.js +17 -0
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
- package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +29 -23
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +0 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +3 -46
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +38 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -54
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +26 -36
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +49 -45
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +105 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +80 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +595 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +207 -0
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +39 -33
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +20 -41
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -1
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -20
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -130
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +18 -15
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +9 -22
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -125
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +2 -6
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -49
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
- package/dist/collection/components/sqm-text/sqm-text.js +0 -7
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -23
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
- package/dist/collection/global/styles.js +1 -1
- package/dist/collection/global/styles.ts +1 -1
- package/dist/collection/stories/NewPortal.stories.js +6 -5
- package/dist/collection/tables/useChildElements.js +5 -3
- package/dist/esm/AsYouType-46f67d0d.js +3872 -0
- package/dist/esm/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm/{JSS-418cab16.js → JSS-506b9295.js} +17 -1
- package/dist/esm/{ShadowViewAddon-b2386d47.js → ShadowViewAddon-f0daae38.js} +172 -194
- package/dist/esm/{global-2d97b8c1.js → global-5f5e66ae.js} +4 -4
- package/dist/esm/{index.module-2b4f1755.js → index.module-877f3231.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/{re-render-2c1d8030.js → re-render-9d31cb93.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +6 -7
- package/dist/esm/sqm-big-stat_35.entry.js +383 -4308
- package/dist/esm/sqm-empty_5.entry.js +4 -6
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
- package/dist/esm/sqm-hamburger-menu.entry.js +156 -0
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +3 -3
- package/dist/esm/sqm-hero.entry.js +6 -5
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +199 -8
- package/dist/esm/sqm-password-field.entry.js +23 -20
- package/dist/esm/sqm-popup-container.entry.js +6 -7
- package/dist/esm/{sqm-portal-container-view-5d6f1411.js → sqm-portal-container-view-8f1bcc77.js} +1 -3
- package/dist/esm/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +16 -9
- package/dist/esm/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
- package/dist/esm/sqm-portal-logout.entry.js +10 -8
- package/dist/esm/{sqm-portal-profile-view-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +26 -37
- package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +437 -0
- package/dist/esm/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
- package/dist/esm/{sqm-portal-section-view-c8d1c727.js → sqm-portal-section-view-d64cd5de.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +36 -56
- package/dist/esm/sqm-referral-table_11.entry.js +12 -13
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +32 -30
- package/dist/esm/sqm-stencilbook.entry.js +205 -250
- package/dist/esm/sqm-tab.entry.js +7 -0
- package/dist/esm/sqm-tabs.entry.js +8 -7
- package/dist/esm/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/{useChildElements-0eab9c95.js → useChildElements-591435be.js} +7 -5
- package/dist/esm/{useReferralTable-3513622d.js → useReferralTable-f991c78a.js} +9 -9
- package/dist/esm/useRegistrationFormState-04a77cee.js +11 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
- package/dist/esm-es5/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm-es5/{JSS-418cab16.js → JSS-506b9295.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-f0daae38.js +1 -0
- package/dist/esm-es5/{global-2d97b8c1.js → global-5f5e66ae.js} +2 -2
- package/dist/esm-es5/index.module-877f3231.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-2c1d8030.js → re-render-9d31cb93.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-hamburger-menu.entry.js +1 -0
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-8f1bcc77.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-section-view-d64cd5de.js +1 -0
- package/dist/esm-es5/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-591435be.js +1 -0
- package/dist/esm-es5/useReferralTable-f991c78a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-04a77cee.js +1 -0
- package/dist/mint-components/global/styles.ts +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-00732eb1.entry.js +1 -0
- package/dist/mint-components/p-0222e8b1.system.js +1 -0
- package/dist/mint-components/p-03b1dda6.js +1 -0
- package/dist/mint-components/p-0571ac6b.system.entry.js +1 -0
- package/dist/mint-components/p-0878d563.system.entry.js +1 -0
- package/dist/mint-components/p-095d7d5e.entry.js +1 -0
- package/dist/mint-components/p-09a4bd9b.system.entry.js +1 -0
- package/dist/mint-components/{p-ec634002.system.entry.js → p-0a27f867.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8452e47.entry.js → p-0b85f581.entry.js} +1 -1
- package/dist/mint-components/{p-be4cfea0.system.js → p-0bf5d514.system.js} +1 -1
- package/dist/mint-components/p-0f1fc54b.entry.js +1 -0
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/{p-fb5163d7.js → p-14aacddf.js} +1 -1
- package/dist/mint-components/{p-0935fef5.system.js → p-1c87be0c.system.js} +1 -1
- package/dist/mint-components/{p-a1b9ca51.system.js → p-1cc7a8e6.system.js} +1 -1
- package/dist/mint-components/p-1e541014.system.entry.js +1 -0
- package/dist/mint-components/{p-ab2cbd56.js → p-1fbf8d0b.js} +1 -1
- package/dist/mint-components/{p-aa0ccc8d.js → p-2506531b.js} +1 -1
- package/dist/mint-components/p-2a33de60.entry.js +13 -0
- package/dist/mint-components/p-2c4c978e.system.entry.js +1 -0
- package/dist/mint-components/{p-903a6d4d.js → p-2dc6e74c.js} +1 -1
- package/dist/mint-components/{p-5fca1bb9.system.js → p-330680dd.system.js} +1 -1
- package/dist/mint-components/p-3ac7063d.entry.js +1 -0
- package/dist/mint-components/p-3af0caba.entry.js +159 -0
- package/dist/mint-components/p-3b7d870e.entry.js +1 -0
- package/dist/mint-components/p-3bb4fd18.system.js +8 -0
- package/dist/mint-components/p-3bb76558.system.js +1 -0
- package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/{p-967445d6.system.js → p-3f13dae9.system.js} +1 -1
- package/dist/mint-components/p-41860440.system.entry.js +1 -0
- package/dist/mint-components/{p-541460a6.js → p-4494b612.js} +2 -2
- package/dist/mint-components/p-456571a6.entry.js +9 -0
- package/dist/mint-components/p-46a2d411.system.js +1 -0
- package/dist/mint-components/p-4708ece8.system.js +1 -0
- package/dist/mint-components/{p-38889f3c.system.js → p-48631971.system.js} +1 -1
- package/dist/mint-components/p-4a165275.entry.js +99 -0
- package/dist/mint-components/p-4f0a49e2.system.entry.js +1 -0
- package/dist/mint-components/{p-894cf728.system.js → p-51fc3d02.system.js} +1 -1
- package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/p-5934c4ab.entry.js +1 -0
- package/dist/mint-components/{p-e8f5f4e0.js → p-5a1ed9bb.js} +1 -1
- package/dist/mint-components/{p-937bf427.system.js → p-621a2912.system.js} +1 -1
- package/dist/mint-components/p-628437e6.entry.js +1 -0
- package/dist/mint-components/{p-97483814.system.entry.js → p-647256a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
- package/dist/mint-components/p-6b468f72.system.entry.js +1 -0
- package/dist/mint-components/p-6cf00931.system.entry.js +1 -0
- package/dist/mint-components/p-6cf891f8.system.entry.js +1 -0
- package/dist/mint-components/p-7341c340.entry.js +1 -0
- package/dist/mint-components/p-740afefb.entry.js +1 -0
- package/dist/mint-components/p-76767c7d.system.entry.js +1 -0
- package/dist/mint-components/p-767aedc8.entry.js +1 -0
- package/dist/mint-components/{p-72b3562a.system.js → p-774c9bb9.system.js} +1 -1
- package/dist/mint-components/p-7fa5ce30.system.js +1 -0
- package/dist/mint-components/{p-25846611.js → p-80934ab7.js} +2 -2
- package/dist/mint-components/{p-6081728e.system.js → p-8128c64d.system.js} +1 -1
- package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
- package/dist/mint-components/{p-6e0c7f7c.system.js → p-85528bea.system.js} +1 -1
- package/dist/mint-components/p-85a21d7b.entry.js +1 -0
- package/dist/mint-components/p-85e934c8.js +1 -0
- package/dist/mint-components/{p-46416f3e.js → p-864be7c2.js} +1 -1
- package/dist/mint-components/p-88cc585a.system.entry.js +1 -0
- package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-9124a1e9.system.entry.js +1 -0
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/p-92e8439a.system.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9c1841c6.entry.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/{p-066a4b23.system.js → p-9db19ba0.system.js} +2 -2
- package/dist/mint-components/p-9fd08e41.js +1 -0
- package/dist/mint-components/p-a91c1995.entry.js +1 -0
- package/dist/mint-components/p-af10beae.entry.js +33 -0
- package/dist/mint-components/p-b3436fd3.system.entry.js +1 -0
- package/dist/mint-components/p-b3610b44.entry.js +1 -0
- package/dist/mint-components/p-b9b4142b.js +268 -0
- package/dist/mint-components/p-be126e55.system.entry.js +1 -0
- package/dist/mint-components/{p-8763472e.js → p-bf4cd488.js} +1 -1
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/p-c4b5c3b0.entry.js +1 -0
- package/dist/mint-components/p-c52e21cf.entry.js +1 -0
- package/dist/mint-components/p-c53322f8.system.entry.js +1 -0
- package/dist/mint-components/p-c586b1bb.entry.js +1 -0
- package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
- package/dist/mint-components/{p-edb569b8.js → p-cecf6365.js} +1 -1
- package/dist/mint-components/{p-190d0446.system.js → p-d1242e79.system.js} +1 -1
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-d5645202.entry.js +1 -0
- package/dist/mint-components/p-d873d405.system.entry.js +1 -0
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/{p-6fd0198e.js → p-ddadc8e3.js} +1 -1
- package/dist/mint-components/p-df0899d3.entry.js +1 -0
- package/dist/mint-components/p-e3290be6.js +1 -0
- package/dist/mint-components/{p-54694cd4.system.js → p-e6b17831.system.js} +1 -1
- package/dist/mint-components/p-e71c3590.system.entry.js +1 -0
- package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-ea7ba030.system.entry.js +1 -0
- package/dist/mint-components/p-ec7e6d40.entry.js +1 -0
- package/dist/mint-components/p-eccd7d60.system.entry.js +1 -0
- package/dist/mint-components/p-ef147f86.system.entry.js +1 -0
- package/dist/mint-components/p-ef39ca69.system.entry.js +1 -0
- package/dist/mint-components/{p-9f08dc58.js → p-f30000d4.js} +1 -1
- package/dist/mint-components/p-f3a65df7.js +1 -0
- package/dist/mint-components/p-f6aa512e.system.js +1 -0
- package/dist/mint-components/p-fd14c63e.js +1 -0
- package/dist/mint-components/p-fdb3c23e.system.entry.js +1 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/mint-components/{p-380b25a3.js → p-ff39746d.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -25
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -6
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +7 -2
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +9 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +7 -1
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-hamburger-menu/HamburgerMenu.stories.d.ts +5 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu-view.d.ts +6 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu.d.ts +11 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -7
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +0 -1
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -6
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +6 -2
- package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +3 -3
- package/dist/types/components/sqm-navigation-sidebar/useNavigationSidebar.d.ts +4 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -7
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -13
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -2
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +6 -16
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +8 -4
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +19 -19
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +37 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +118 -0
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +27 -0
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +13 -13
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -6
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -28
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +0 -5
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -28
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -10
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -3
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -5
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +4 -4
- package/dist/types/components.d.ts +556 -1002
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -3
- package/CHANGELOG.md +0 -473
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/cjs/sqm-navigation-sidebar-view-0ee28f65.js +0 -36
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
- package/dist/cjs/sqm-qa.cjs.entry.js +0 -117
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1064
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -34
- package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
- package/dist/esm/sqm-qa-tabs.entry.js +0 -96
- package/dist/esm/sqm-qa.entry.js +0 -113
- package/dist/esm-es5/ShadowViewAddon-b2386d47.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-2b4f1755.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-5d6f1411.js +0 -1
- package/dist/esm-es5/sqm-portal-section-view-c8d1c727.js +0 -1
- package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
- package/dist/esm-es5/sqm-qa.entry.js +0 -1
- package/dist/esm-es5/use-callback-697e2ff0.js +0 -1
- package/dist/esm-es5/useChildElements-0eab9c95.js +0 -1
- package/dist/esm-es5/useReferralTable-3513622d.js +0 -1
- package/dist/mint-components/p-03d5b192.entry.js +0 -159
- package/dist/mint-components/p-0ec3b3e5.system.js +0 -1
- package/dist/mint-components/p-127e25e6.system.entry.js +0 -1
- package/dist/mint-components/p-13f034ac.system.js +0 -1
- package/dist/mint-components/p-15b1a2b2.system.entry.js +0 -1
- package/dist/mint-components/p-16b6aea4.js +0 -1
- package/dist/mint-components/p-174767c7.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1e13c65a.system.entry.js +0 -1
- package/dist/mint-components/p-242d76ee.system.entry.js +0 -1
- package/dist/mint-components/p-24f8c2f6.entry.js +0 -1
- package/dist/mint-components/p-2800ad44.system.js +0 -8
- package/dist/mint-components/p-3149462a.system.entry.js +0 -1
- package/dist/mint-components/p-353a6419.system.js +0 -1
- package/dist/mint-components/p-36578b9f.system.entry.js +0 -1
- package/dist/mint-components/p-3894495a.js +0 -1
- package/dist/mint-components/p-39c637da.system.entry.js +0 -1
- package/dist/mint-components/p-408f983a.system.js +0 -1
- package/dist/mint-components/p-4647ef97.entry.js +0 -1
- package/dist/mint-components/p-46ab109e.system.entry.js +0 -1
- package/dist/mint-components/p-4d4fbaec.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-50ef8db6.system.entry.js +0 -1
- package/dist/mint-components/p-54bad89f.system.entry.js +0 -1
- package/dist/mint-components/p-555c9e1d.system.entry.js +0 -1
- package/dist/mint-components/p-59d481ea.entry.js +0 -1
- package/dist/mint-components/p-5c454d18.entry.js +0 -1
- package/dist/mint-components/p-5dd4dcc7.system.entry.js +0 -1
- package/dist/mint-components/p-6073e2f7.entry.js +0 -1
- package/dist/mint-components/p-60e2423f.entry.js +0 -1
- package/dist/mint-components/p-63617b4b.system.entry.js +0 -1
- package/dist/mint-components/p-6505fca3.system.entry.js +0 -1
- package/dist/mint-components/p-673a731f.entry.js +0 -1
- package/dist/mint-components/p-684967e6.entry.js +0 -1
- package/dist/mint-components/p-6882941e.system.entry.js +0 -1
- package/dist/mint-components/p-6e2ca2a0.js +0 -1
- package/dist/mint-components/p-6fc2fea4.entry.js +0 -1
- package/dist/mint-components/p-7473b40b.system.entry.js +0 -1
- package/dist/mint-components/p-77e5a1d4.entry.js +0 -1
- package/dist/mint-components/p-7d2d6a2b.system.js +0 -1
- package/dist/mint-components/p-7fd6f6ef.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-86fcb500.system.entry.js +0 -1
- package/dist/mint-components/p-889dbba5.entry.js +0 -1
- package/dist/mint-components/p-8d445a96.entry.js +0 -1
- package/dist/mint-components/p-96b0537b.system.js +0 -1
- package/dist/mint-components/p-9744ae44.system.js +0 -1
- package/dist/mint-components/p-991d3c0c.system.entry.js +0 -1
- package/dist/mint-components/p-9f54769f.system.entry.js +0 -1
- package/dist/mint-components/p-9f5e7313.entry.js +0 -33
- package/dist/mint-components/p-a73784bb.entry.js +0 -1
- package/dist/mint-components/p-ab8f86d3.js +0 -1
- package/dist/mint-components/p-ac80106e.entry.js +0 -1
- package/dist/mint-components/p-b3fa7c87.entry.js +0 -1
- package/dist/mint-components/p-bbb584e6.system.entry.js +0 -1
- package/dist/mint-components/p-be45347d.entry.js +0 -1
- package/dist/mint-components/p-bed4977e.entry.js +0 -1
- package/dist/mint-components/p-bf29e206.system.entry.js +0 -1
- package/dist/mint-components/p-c469be65.entry.js +0 -9
- package/dist/mint-components/p-c5573b7c.js +0 -1
- package/dist/mint-components/p-c81305b3.js +0 -268
- package/dist/mint-components/p-ccbacc32.entry.js +0 -1
- package/dist/mint-components/p-cee807de.system.entry.js +0 -1
- package/dist/mint-components/p-cf7d0aee.js +0 -1
- package/dist/mint-components/p-d298e4c5.system.entry.js +0 -1
- package/dist/mint-components/p-d30d1664.system.entry.js +0 -1
- package/dist/mint-components/p-d9488d28.entry.js +0 -1
- package/dist/mint-components/p-dc564561.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e4f4bfbb.entry.js +0 -1
- package/dist/mint-components/p-eb2f96a0.system.js +0 -1
- package/dist/mint-components/p-ec5b69bd.system.entry.js +0 -1
- package/dist/mint-components/p-ee461c80.js +0 -1
- package/dist/mint-components/p-f33e65c8.entry.js +0 -1
- package/dist/mint-components/p-f55d96ad.entry.js +0 -99
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -255
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import{r as d,h as t,c as e}from"./p-64c3217a.js";import{m as n,e as i,k as r,y as a,o as s,i as o,b as $,u as l}from"./p-30b3592f.js";import{i as u}from"./p-25846611.js";import{u as c}from"./p-ee461c80.js";import{L as h,P as f,d as v,a as m,p as g,$ as p,A as y,O as b,b as w,w as x,U as k,V as C,g as E,G as N,e as S,J as I}from"./p-6e2ca2a0.js";import"./p-81f34787.js";import{j as M}from"./p-e7e129ac.js";import{c as R}from"./p-c1086930.js";import"./p-61ff3ceb.js";import{c as A}from"./p-ab8f86d3.js";import{a as P}from"./p-3894495a.js";import{u as T}from"./p-dc564561.js";import"./p-916a8f50.js";import{g as L,a as O,s as _}from"./p-9c5f124f.js";import"./p-46416f3e.js";import"./p-cf7d0aee.js";import{c as F,K as D,B,H as V,G,C as j,D as U,E as q,I as H,M as W,L as z,N as K,e as Z,P as Y,f as X,g as J,R as Q,O as dd,i as td,Q as ed,b as nd,S as id,a as rd,u as ad,d as sd,T as od}from"./p-c81305b3.js";import"./p-16b6aea4.js";const $d=class{constructor(t){d(this,t),this.flexReverse=!1,this.statColor="var(--sl-color-gray-800)",this.statDescriptionColor="var(--sl-color-gray-600)",this.statFontSize="x-large",this.statDescriptionFontSize="small",this.ignored=!0,n(this)}disconnectedCallback(){}render(){var d;const{props:e,label:n}=h()?F(this):D(this);console.log(e);const i=!!(null===(d=f().innerHTML)||void 0===d?void 0:d.trim()),r=t("slot",{name:"label"},i?t("slot",null):n);return t(B,Object.assign({},e,{labelSlot:r}))}},ld=class{constructor(t){d(this,t),n(this)}disconnectedCallback(){}render(){var d,n;const r=null!==(d=this.brandColor)&&void 0!==d?d:"#FFF",a=V(r),s=(null!==(n=this.brandFont)&&void 0!==n?n:"Nunito Sans").trim()||void 0;i((()=>{if(!s)return;const d=document.createElement("link");return d.setAttribute("href",function(...d){return`https://fonts.googleapis.com/css2?${d.map((d=>`family=${encodeURIComponent(d)}`)).join("&")}`}(s)),d.setAttribute("rel","stylesheet"),document.head.appendChild(d),()=>document.head.removeChild(d)}),[s]);const o=null!=s?s:"";return t(e,null,t("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${this.brandColor&&a}\n ${this.fontColor&&`color: ${this.fontColor};`}\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-color-gray-200: ${this.fontColor};\n --sl-color-gray-400: ${this.fontColor};\n --sl-color-gray-600: ${this.fontColor};\n --sl-color-gray-800: ${this.fontColor};\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),t("slot",null))}},ud=class{constructor(t){d(this,t),this.ignored=!0,this.width=347,this.gap=24,n(this)}disconnectedCallback(){}render(){return t(G,Object.assign({},L(this)),t("slot",null))}},cd=A({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),hd=cd.toString();function fd({missingProps:d,heading:e="There was a problem loading this section",subheading:n="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:i="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},a){if(!d)return!1;const s=f(),[o,$]=r(!1);return t("sl-alert",{type:"danger",open:!0},t("style",{type:"text/css"},hd),t("div",{slot:"icon",class:cd.classes.IconStyle},t("sl-icon",{name:"exclamation-octagon"})),t("div",{class:cd.classes.DivStyle},t("h2",{class:cd.classes.Heading},u.formatMessage({id:"error-heading",defaultMessage:e})),t("p",null,u.formatMessage({id:"error-subheading",defaultMessage:n}))),t("details",{class:cd.classes.Details},t("summary",{onClick:()=>$(!o)},o?"Less":"More"," details"),t("p",null,u.formatMessage({id:"error-description",defaultMessage:i},{tagName:s.tagName.toLowerCase()})),t("ul",null,d.map((d=>t("li",null,t("strong",null,d.attribute)))))),t("div",{class:cd.classes.Children},a))}const vd=class{constructor(t){d(this,t),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,n(this)}disconnectedCallback(){}render(){const d=O([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&d)return t(fd,{missingProps:d,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const e={...L(this)},{states:n,callbacks:i}=h()?R({states:{validationErrors:[],checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(){const d=s("sq:validation-state"),[t,e]=r(!1);return{states:{validationErrors:null==d?void 0:d.validationErrors,checked:t},callbacks:{setChecked:e}}}();return t(j,{states:n,content:e,callbacks:i})}};function md(d,e){const n=()=>"row"===d.direction?{"border-right":d.dividerStyle||"1px solid #EAEAEA"}:{"border-bottom":d.dividerStyle||"1px solid #EAEAEA"},i={LayoutContainer:{display:"contents","& > :not(:last-child)":{...n()},"& > ::slotted(*:not(:last-child))":{...n()}}},r=`\n display: flex;\n flex: 1;\n flex-direction: ${d.direction};\n background-color: var(--sqm-content-background);\n ${"column"===d.direction?"width: 100%; max-width: var(--sqm-portal-main-width);":""}\n `,a=`\n :host{\n ${r}\n }\n sqm-divided-layout {\n ${r}\n }\n `,s=A(i),o=s.toString();return t("div",{class:s.classes.LayoutContainer},t("style",{type:"text/css"},a,o),e)}const gd=class{constructor(t){d(this,t),this.dividerStyle="1px solid #EAEAEA",n(this)}disconnectedCallback(){}render(){return t(md,Object.assign({},L(this)),t("slot",null))}},pd=class{constructor(t){d(this,t),this.ignored=!0,this.dropdownLabel="Select an option",this.errorMessage="Select an option",this.dropdownOptional=!1,n(this)}disconnectedCallback(){}render(){const d=O([{attribute:"dropdown-name",value:this.dropdownName}]);if(!h()&&d)return t(fd,{missingProps:d,heading:"An error occured while loading this form",subheading:"A technical problem prevented this drop down field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"},t("slot",null));const e={...L(this),selectOptions:t("slot",null)},{states:n}=h()?R({states:{validationErrors:[]}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(){const d=s("sq:validation-state");return{states:{validationErrors:null==d?void 0:d.validationErrors}}}();return t(U,{states:n,content:e})}},yd=v.gql`
|
|
2
|
-
query {
|
|
3
|
-
viewer {
|
|
4
|
-
... on User {
|
|
5
|
-
id
|
|
6
|
-
accountId
|
|
7
|
-
firstName
|
|
8
|
-
lastName
|
|
9
|
-
email
|
|
10
|
-
countryCode
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
`,bd=v.gql`
|
|
15
|
-
mutation (
|
|
16
|
-
$id: String!
|
|
17
|
-
$accountId: String!
|
|
18
|
-
$firstName: String!
|
|
19
|
-
$lastName: String!
|
|
20
|
-
) {
|
|
21
|
-
upsertUser(
|
|
22
|
-
userInput: {
|
|
23
|
-
id: $id
|
|
24
|
-
accountId: $accountId
|
|
25
|
-
firstName: $firstName
|
|
26
|
-
lastName: $lastName
|
|
27
|
-
}
|
|
28
|
-
) {
|
|
29
|
-
firstName
|
|
30
|
-
lastName
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`,wd={currentRegion:"",firstName:"",lastName:"",errors:{},error:""},xd=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){const d=h()?function(d){return R({states:{loading:!1,submitDisabled:!1,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:!1,text:{editprofileheader:d.editprofileheader?d.editprofileheader:"Edit Profile",editprofiletext:d.editprofiletext?d.editprofiletext:"Update your profile.",firstnametext:d.firstnametext?d.firstnametext:"First Name",lastnametext:d.lastnametext?d.lastnametext:"Last Name",canceltext:d.canceltext?d.canceltext:"Cancel",updatetext:d.updatetext?d.updatetext:"Update",currentregiontext:d.currentregiontext?d.currentregiontext:"Region",showregion:!0}},callbacks:{onSubmit:d=>{console.log(d)},resetForm:()=>{console.log("reset")},onChange:()=>{console.log("change")},setShowEdit:d=>{console.log(d)}}},d.demoData||{},{arrayMerge:(d,t)=>t})}(L(this)):function(d){const t=m(),[e,n]=r(!1),[a,s]=r(""),[o,$]=r(void 0),[l,c]=r(wd),h=g(yd,{},!(null==t?void 0:t.jwt)),[f,v]=p(bd);return i((()=>{!(null==v?void 0:v.loading)&&e&&((null==v?void 0:v.errors)?c((d=>{var t,e,n;return{...d,error:null===(n=null===(e=null===(t=null==v?void 0:v.errors)||void 0===t?void 0:t.response)||void 0===e?void 0:e.errors)||void 0===n?void 0:n[0].message}})):($((d=>{var t;return{...d,...null===(t=null==v?void 0:v.data)||void 0===t?void 0:t.upsertUser}})),n(!1)))}),[null==v?void 0:v.loading]),i((()=>{$((d=>{var t;return{...d,...null===(t=null==h?void 0:h.data)||void 0===t?void 0:t.viewer}}))}),[null==h?void 0:h.data]),i((()=>{var d;(null===(d=null==v?void 0:v.errors)||void 0===d?void 0:d.message)&&c((d=>({...d,error:"Network request failed."})))}),[null==v?void 0:v.errors]),{states:{loading:(null==h?void 0:h.loading)||v.loading,submitDisabled:!1,formState:l,user:o,showEdit:e,text:{editprofileheader:d.editprofileheader,editprofiletext:d.editprofiletext,firstnametext:d.firstnametext,lastnametext:d.lastnametext,canceltext:d.canceltext,updatetext:d.updatetext,currentregiontext:d.currentregiontext,showregion:d.showregion}},callbacks:{onSubmit:()=>{if(l.firstName&&l.lastName)return f({id:null==t?void 0:t.id,accountId:null==t?void 0:t.accountId,firstName:l.firstName,lastName:l.lastName}),void c((d=>({...d,errors:{}})));const d={};l.firstName||(d.firstName={message:"Field can't be empty"}),l.lastName||(d.lastName={message:"Field can't be empty"}),d!=={}&&c((d=>({...d,error:"Please correct the errors below to update your profile."}))),c((t=>({...t,errors:d})))},resetForm:()=>{var d,t,e,n,i,r;const a=(null===(t=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.viewer)||void 0===t?void 0:t.countryCode)?u.formatDisplayName(h.data.viewer.countryCode,{type:"region"}):"";$({...null===(e=h.data)||void 0===e?void 0:e.viewer,...null===(n=v.data)||void 0===n?void 0:n.upsertUser}),c({...wd,...null===(i=h.data)||void 0===i?void 0:i.viewer,...null===(r=v.data)||void 0===r?void 0:r.upsertUser,currentRegion:a})},onChange:d=>{const{name:t,value:e}=d.target;c((d=>({...d,[t]:e})))},setShowEdit:n}}}(L(this));return t(q,Object.assign({},d))}};function kd(d,e){const n=Boolean((d.header||d.description||d.buttonText)&&"overlay"===d.layout),i=A({Container:{position:"relative","&:before":{content:n?'""':"",width:"100%",height:"100%",position:"absolute",background:d.overlayColor||"var(--sl-color-primary-900)",opacity:d.overlayOpacity}},Image:{borderRadius:d.borderRadius?d.borderRadius:"none",display:"block",width:"100%",height:"100%",maxWidth:"max-content",objectFit:"cover",margin:"auto"},Background:{backgroundImage:`url(${d.imageUrl})`,backgroundSize:"cover",backgroundPosition:d.imagePos||"center",display:"flex",justifyContent:"center",alignItems:"center"},Overlay:{zIndex:"1",padding:"calc(var(--sl-spacing-"+d.paddingText+") + var(--sl-spacing-"+d.paddingImage+"))",textAlign:"center",color:d.textColor||"var(--sl-color-neutral-0)",lineHeight:"var(--sl-line-height-dense)","@media (max-width: 599px)":{padding:"var(--sl-spacing-"+d.paddingText+")"}},Column:{borderRadius:d.borderRadius?d.borderRadius:"none",display:"flex",background:d.backgroundColor||"",flexDirection:"right"===d.imagePos?"row-reverse":"row",lineHeight:"var(--sl-line-height-dense)",color:d.textColor||"var(--sl-color-neutral-900)","& .image-area":{width:d.imagePercentage?d.imagePercentage+"%":"50%",padding:"var(--sl-spacing-"+d.paddingImage+")",boxSizing:"border-box","@media (max-width: 599px)":{width:"100%"}},"& .text-area":{width:d.imagePercentage?100-d.imagePercentage+"%":"50%",padding:"var(--sl-spacing-"+d.paddingText+")",alignSelf:"center",boxSizing:"border-box","@media (max-width: 599px)":{width:"100%",textAlign:"center",padding:"calc(0.5*var(--sl-spacing-"+d.paddingText+"))"}},"@media (max-width: 599px)":{flexDirection:"bottom"===d.imageMobilePos?"column-reverse":"column"}},Header:{fontSize:"var(--sl-font-size-xxx-large)",fontWeight:"var(--sl-font-weight-bold)","@media (max-width: 599px)":{fontSize:"var(--sl-font-size-xx-large)"}},Description:{fontSize:"var(--sl-font-size-x-large)",margin:"var(--sl-spacing-small) 0","@media (max-width: 599px)":{fontSize:"var(--sl-font-size-large)"}},Button:{marginTop:"var(--sl-spacing-medium)","&::part(base)":{padding:"0 var(--sl-spacing-x-large)"},"@media (max-width: 599px)":{width:"100%"}}}),r=i.toString();return t("div",{class:i.classes.Container},t("style",{type:"text/css"},"\n :host{\n display: block;\n }",r),"overlay"===d.layout&&t("div",{class:i.classes.Background},t("div",{class:i.classes.Overlay},d.header&&t("div",{class:i.classes.Header},d.header),d.description&&t("div",{class:i.classes.Description},d.description),d.buttonText&&t("sl-button",{class:i.classes.Button,type:"primary",onClick:()=>d.buttonNewTab?window.open(d.buttonLink):window.open(d.buttonLink,"_parent")},d.buttonText),e&&e)),"columns"===d.layout&&t("div",null,t("div",{class:i.classes.Column},t("div",{class:"image-area"},t("img",{class:i.classes.Image,src:d.imageUrl})),t("div",{class:"text-area"},d.header&&t("div",{class:i.classes.Header},d.header),d.description&&t("div",{class:i.classes.Description},d.description),d.buttonText&&t("sl-button",{class:i.classes.Button,type:"primary",onClick:()=>d.buttonNewTab?window.open(d.buttonLink):window.open(d.buttonLink,"_parent")},d.buttonText)))))}xd.style=".ErrorStyles::part(base){background:var(--sl-color-danger-10);border-color:var(--sl-color-danger-500);outline:var(--sl-color-danger-500)}.ErrorStyles:host{--something-random:red;--focus-ring:0 0 0 var(--sl-focus-ring-width) red !important}.ErrorStyles::part(input){color:var(--sl-color-danger-500)}.ErrorStyles::part(input):-webkit-autofill,.ErrorStyles::part(input):-webkit-autofill:hover,.ErrorStyles::part(input):-webkit-autofill:focus,.ErrorStyles::part(input):-webkit-autofill:active{-webkit-box-shadow:0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;box-shadow:0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;-webkit-text-fill-color:var(--sl-color-danger-500)}.ErrorStyles::part(help-text){color:var(--sl-color-danger-500)}:host{display:block}:host([hidden]){display:none}.FormWrapper>:not(:first-child){margin-top:54px}.FormSection{width:100%}.FormSection>:not(:first-child){margin-top:16px}.ButtonWrapper{display:-ms-flexbox;display:flex;margin-top:24px;-ms-flex-pack:end;justify-content:flex-end}.ButtonWrapper>:not(:first-child){margin-left:var(--sl-font-size-x-small)}.CardWrapper{-webkit-box-sizing:border-box;box-sizing:border-box;background:var(--sl-color-white);padding:40px 30px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-width: 499px){.CardWrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 880px){.CardWrapper.ShowEdit{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}}";const Cd=class{constructor(t){d(this,t),this.overlayOpacity="0.75",this.layout="overlay",this.imagePercentage=50,this.imagePos="center",this.imageMobilePos="top",this.buttonNewTab=!1,this.paddingText="xxxx-large",this.paddingImage="none",n(this)}disconnectedCallback(){}render(){return t(kd,Object.assign({},L(this)),t("slot",null))}},Ed=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){return t(this.hookStory,null)}},Nd=class{constructor(t){d(this,t),this.ignored=!0,this.fieldType="text",this.errorMessage="Cannot be empty",this.fieldOptional=!1,n(this)}disconnectedCallback(){}render(){const d={...L(this)},e=O([{attribute:"field-name",value:this.fieldName}]);if(!h()&&e)return t(fd,{missingProps:e,heading:"An error occured while loading this form",subheading:"A technical problem prevented this input field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const{states:n}=h()?R({states:{validationErrors:[]}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(){const d=s("sq:validation-state");return{states:{validationErrors:null==d?void 0:d.validationErrors}}}();return t(H,{states:n,content:d})}},Sd=v.gql`
|
|
34
|
-
query (
|
|
35
|
-
$type: String!
|
|
36
|
-
$filter: UserLeaderboardFilterInput
|
|
37
|
-
$locale: RSLocale
|
|
38
|
-
$limit: Int!
|
|
39
|
-
) {
|
|
40
|
-
userLeaderboard(type: $type, filter: $filter) {
|
|
41
|
-
dateModified
|
|
42
|
-
rows(limit: $limit) {
|
|
43
|
-
textValue(locale: $locale)
|
|
44
|
-
firstName
|
|
45
|
-
lastInitial
|
|
46
|
-
rank {
|
|
47
|
-
rank
|
|
48
|
-
denseRank
|
|
49
|
-
rowNumber
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
`,Id=v.gql`
|
|
55
|
-
query (
|
|
56
|
-
$type: String!
|
|
57
|
-
$filter: UserLeaderboardFilterInput
|
|
58
|
-
$locale: RSLocale
|
|
59
|
-
) {
|
|
60
|
-
viewer {
|
|
61
|
-
... on User {
|
|
62
|
-
firstName
|
|
63
|
-
lastInitial
|
|
64
|
-
leaderboardRank(type: $type, filter: $filter) {
|
|
65
|
-
textValue(locale: $locale)
|
|
66
|
-
rank
|
|
67
|
-
denseRank
|
|
68
|
-
rowNumber
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
`,Md=class{constructor(t){d(this,t),this.hideViewer=!1,this.anonymousUser="Anonymous User",this.maxRows=10,this.ignored=!0,n(this),W(this)}disconnectedCallback(){}render(){const d={empty:t(Rd,null),loadingstate:t(Ad,null),usersheading:this.usersheading,statsheading:this.statsheading,rankheading:this.rankheading,rankType:this.rankType,leaderboardType:this.leaderboardType,maxRows:this.maxRows,programId:this.programId,anonymousUser:this.anonymousUser,interval:this.interval,hideViewer:this.hideViewer,showRank:this.showRank},e={...d,demoData:this.demoData},n=h()?function(d){var e,n;const i=(null===(n=null===(e=d.demoData)||void 0===e?void 0:e.data)||void 0===n?void 0:n.leaderboard)||[{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",textValue:"73",rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",textValue:"64",rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",textValue:"55",rank:4,rowNumber:4},{textValue:"46",rank:5,rowNumber:5}];return R({states:{loading:!1,hasLeaders:!0,styles:{usersheading:d.usersheading?d.usersheading:"Top referrers",statsheading:d.statsheading?d.statsheading:"New customers",rankheading:d.rankheading?d.rankheading:"Rank",anonymousUser:d.anonymousUser?d.anonymousUser:"Anonymous User",showRank:d.showRank,hideViewer:d.hideViewer}},data:{rankType:"rowNumber",leaderboard:i},elements:{empty:t(Rd,null),loadingstate:t(Ad,null)}},d.demoData||{},{arrayMerge:(d,t)=>t})}(e):function(d){var t,e,n,i,r,a,s,o,$,l;const u=y(),c=null!==(t=d.programId)&&void 0!==t?t:u,h=m(),f=b(),v=c?{type:d.leaderboardType,filter:{programId_eq:c}}:{type:d.leaderboardType,filter:{}};d.interval&&(v.filter.interval=d.interval),f&&(v.locale=f),d.maxRows>0&&(v.limit=d.maxRows);const{data:p,loading:w}=g(Sd,v,!(null==h?void 0:h.jwt)),{data:x}=g(Id,v,!(null==h?void 0:h.jwt)),k=null==(N=null===(e=null==p?void 0:p.userLeaderboard)||void 0===e?void 0:e.rows)?void 0:N.flatMap((t=>{var e,n;return{textValue:t.textValue,firstName:t.firstName,lastInitial:t.lastInitial,rank:null===(e=t.rank)||void 0===e?void 0:e[d.rankType],rowNumber:null===(n=t.rank)||void 0===n?void 0:n.rowNumber}})),C=null==k?void 0:k.sort((function(d,t){return d.rank-t.rank})),E={textValue:null===(i=null===(n=null==x?void 0:x.viewer)||void 0===n?void 0:n.leaderboardRank)||void 0===i?void 0:i.textValue,firstName:null===(r=null==x?void 0:x.viewer)||void 0===r?void 0:r.firstName,lastInitial:null===(a=null==x?void 0:x.viewer)||void 0===a?void 0:a.lastInitial,rank:null===(o=null===(s=null==x?void 0:x.viewer)||void 0===s?void 0:s.leaderboardRank)||void 0===o?void 0:o[d.rankType],rowNumber:null===(l=null===($=null==x?void 0:x.viewer)||void 0===$?void 0:$.leaderboardRank)||void 0===l?void 0:l.rowNumber};var N;return{states:{loading:w,hasLeaders:(null==C?void 0:C.length)>0,styles:d},data:{leaderboard:C,rankType:d.rankType,viewerRank:E},elements:{empty:d.empty,loadingstate:d.loadingstate}}}(d);return t(z,Object.assign({},n))}};function Rd(){return t("slot",{name:"empty"},t("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png","empty-state-header":"View your rank in the leaderboard","empty-state-text":"Be the first to refer a friend and reach the top of the leaderboard"}))}function Ad(){return t("slot",{name:"loading"},t("table",null,[...Array(10)].map((()=>t("tr",null,t("td",null,t("sl-skeleton",null)))))))}const Pd=class{constructor(t){d(this,t),this.ignored=!0,this.firstNameLabel="First Name",this.lastNameLabel="Last Name",n(this)}disconnectedCallback(){}render(){const{states:d}=h()?R({states:{validationErrors:[],content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(d){const t=s("sq:validation-state");return{states:{validationErrors:null==t?void 0:t.validationErrors,content:{lastNameLabel:d.lastNameLabel,firstNameLabel:d.firstNameLabel}}}}(this);return t(K,{states:d})}};function Td(d){const{states:e}=d,{styles:n}=e;return e.includeDropdown?t("sl-dropdown",{style:"margin-bottom: var(--sl-spacing-large)"},t("sl-button",{slot:"trigger",caret:!0,onClick:d.callbacks.rerender,exportparts:"base: dropdownbutton-base"},n.menuLabel),t("sl-menu",{ref:t=>{void 0===d.ref.current&&(d.ref.current=t,d.callbacks.rerender())}},t("slot",null))):""}const Ld=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){const d=h()?function(d){return R({states:{includeDropdown:!0,styles:{...d,menuLabel:"Menu"}},callbacks:{rerender:()=>{}},ref:{current:void 0}},d.demoData||{},{arrayMerge:(d,t)=>t})}(L(this)):function(d){const t=o(),[,e]=w(),n=m();return i((()=>{var d;null===(d=t.current)||void 0===d||d.addEventListener("sl-select",(d=>function(d){x.push(d.detail.item.value)}(d)))}),[t.current]),{states:{includeDropdown:void 0!==((null==n?void 0:n.id)||(null==n?void 0:n.accountId)||(null==n?void 0:n.jwt)),styles:{menuLabel:d.menuLabel}},callbacks:{rerender:e},ref:t}}(L(this));return t(e,{slot:"sqm-navigation-menu"},t(Td,Object.assign({},d)))}};Ld.style=":host{display:block}:host([hidden]){display:none}.HeaderWrapper{width:100%;max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--sl-spacing-small) var(--sl-spacing-large);-ms-flex-align:center;align-items:center;background-color:var(--sqm-header-background)}@media screen and (max-width: 499px){.HeaderWrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:end;justify-content:flex-end;padding:0 var(--sl-spacing-x-small)}}";const Od=class{constructor(t){d(this,t),this.ignored=!0,this.modalChangePasswordHeader="Change Password",this.cancelText="Cancel",this.changePasswordButtonText="Change Password",this.passwordFieldLabel="New Password",this.confirmPasswordFieldLabel="Confirm New Password",this.successMessage="Your password has been updated.",this.portalChangePasswordHeader="Password",this.portalChangePasswordButtonText="Change your password...",n(this)}disconnectedCallback(){}render(){const{states:d,callbacks:e}=h()?R({states:{open:!0,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:d=>console.log(d),submit:d=>console.log("Submit",d)}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(d){var t,e,n,a,s,o,$,l;const[u,{loading:c,errors:h,data:f}]=k(),[v,g]=r(!1),[p,y]=r(""),[b,w]=r(!1),x=m();return i((()=>{var d;(null===(d=null==f?void 0:f.changeManagedIdentityPassword)||void 0===d?void 0:d.success)&&w(!0)}),[null===(t=null==f?void 0:f.changeManagedIdentityPassword)||void 0===t?void 0:t.success]),{states:{open:v,loading:c,success:b,error:p||(null===(s=null===(a=null===(n=null===(e=null==h?void 0:h.response)||void 0===e?void 0:e.errors)||void 0===n?void 0:n[0])||void 0===a?void 0:a.extensions)||void 0===s?void 0:s.message)||(null===(l=null===($=null===(o=null==h?void 0:h.response)||void 0===o?void 0:o.errors)||void 0===$?void 0:$[0])||void 0===l?void 0:l.message),content:{modalChangePasswordHeader:d.modalChangePasswordHeader,cancelText:d.cancelText,changePasswordButtonText:d.changePasswordButtonText,passwordFieldLabel:d.passwordFieldLabel,confirmPasswordFieldLabel:d.confirmPasswordFieldLabel,successMessage:d.successMessage,portalChangePasswordHeader:d.portalChangePasswordHeader,portalChangePasswordButtonText:d.portalChangePasswordButtonText}},data:{},callbacks:{setOpen:g,submit:async d=>{var t;w(!1);const e=null===(t=d.detail)||void 0===t?void 0:t.formData;if(null==e||e.forEach(((d,t)=>{M.set(e,t,d)})),!(null==x?void 0:x.jwt))return void y("Please log in again to change your password.");if(e.password!==e.confirmPassword)return void y("Passwords do not match.");y("");const n={password:e.password};await u(n)}}}}(this);return t(Z,{states:d,callbacks:e})}},_d=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){const d=t("slot",{name:"footer"}),e=t("slot",{name:"header"}),n=h()?function(d,e,n){return R({data:{footer:d||t("span",null,"example@example.com"),header:e||t("div",{style:{display:"flex",flexDirection:"column"}},t("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),t("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:()=>{}}},n.demoData||{},{arrayMerge:(d,t)=>t})}(d,e,this):function(d,t){const[,e]=w();return{data:{footer:d,header:t},callbacks:{rerender:e}}}(d,e);return t(Y,Object.assign({},n),t("slot",null))}},Fd=class{constructor(t){d(this,t),this.ignored=!0,this.nextPage="/",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Sign In",this.forgotPasswordLabel="Forgot Password?",this.registerLabel="Register",this.pageLabel="Sign in to your account",this.registerPath="/register",this.forgotPasswordPath="/forgotPassword",n(this)}disconnectedCallback(){}render(){const{states:d,callbacks:e}=h()?R({states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async()=>{console.log("submit")}}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(d){var t,e,n,a,s,o,$,l;const[u,{loading:c,errors:h,data:f}]=C(),[v,m]=r(""),g=new URLSearchParams(window.location.search),p=g.get("nextPage");return i((()=>{var t;if(null===(t=null==f?void 0:f.authenticateManagedIdentityWithEmailAndPassword)||void 0===t?void 0:t.token){g.delete("nextPage");const t=_(p||d.nextPage);x.push(t.href)}}),[null===(t=null==f?void 0:f.authenticateManagedIdentityWithEmailAndPassword)||void 0===t?void 0:t.token]),i((()=>{var d;((null==h?void 0:h.message)||(null===(d=null==h?void 0:h.response)||void 0===d?void 0:d.error))&&m("Network request failed.")}),[h]),{states:{loading:c,error:(null===(s=null===(a=null===(n=null===(e=null==h?void 0:h.response)||void 0===e?void 0:e.errors)||void 0===n?void 0:n[0])||void 0===a?void 0:a.extensions)||void 0===s?void 0:s.message)||(null===(l=null===($=null===(o=null==h?void 0:h.response)||void 0===o?void 0:o.errors)||void 0===$?void 0:$[0])||void 0===l?void 0:l.message)||v,registerPath:d.registerPath,forgotPasswordPath:d.forgotPasswordPath},callbacks:{submit:async d=>{m("");let t=d.detail.formData;null==t||t.forEach(((d,e)=>{M.set(t,e,d)}));const e={email:t.email,password:t.password};await u(e)}}}}(this),n={forgotPasswordButton:t("slot",{name:"forgotPassword"},t("a",{onClick:()=>x.push(d.forgotPasswordPath)},this.forgotPasswordLabel)),secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:d.loading,onClick:()=>x.push(d.registerPath)},this.registerLabel)),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel};return t(X,{states:d,callbacks:e,content:n})}},Dd={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,"1|([457]\\d{6})$","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2457]\\d{6})$","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,"1|([267]\\d{6})$","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,8}|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10],[["(\\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,"0|(183[12])",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-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{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"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|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|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,"1|([2-9]\\d{6})$","246$1",0,"246"],BD:["880","00","1\\d{9}|2\\d{7,8}|88\\d{4,6}|(?:8[0-79]|9\\d)\\d{4,8}|(?:[346]\\d|[57])\\d{5,8}",[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(?:28|4[14]|5)|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]"],"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","[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9],[["(\\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[047]"]]]],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","[25689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]]],BL:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|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,["976[01]\\d{5}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","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-24679]))\\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,"1|([3-8]\\d{6})$","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-79]"]],["(\\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}",[10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[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[12]|33|44|66|77|88)|622)[2-9]\\d{6}"],0,0,0,["600[2-9]\\d{6}"]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10],0,"0",0,"0|([59]\\d{7})$","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(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-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{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"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{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],["(\\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-3]"],"($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|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,"0|(1(?:[12]\\d|79)\\d\\d)",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:(?:1\\d|3)\\d{3}|9101)\\d{6}|[124-8]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1 $2",["[14][2-9]|[25-8]"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["[39]"]],["(\\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}|(?: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",["5"],"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[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10],0,"0",0,"0|([59]\\d{7})$","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(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-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{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"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{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(?:[12]\\d|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","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",["[189]"],"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-59]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],0,0,"0(11\\d{6}|6[256]\\d{6}|7[47]\\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[023])|4(?:[0-5]\\d\\d|69[7-9]|70[059])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[259]))|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\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[278])))|(?: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-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|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,"1|([2-9]\\d{6})$","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|80\\d|976)\\d{6}",[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"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"0|([25-9]\\d{5})$","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-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|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\\d|606)\\d{5}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-689]"]]]],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|(?:69|80)\\d|976)\\d{6}",[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]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|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,["976[01]\\d{5}"]]],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,10}|(?:[269]\\d|70)\\d{8}",[10,11],[["(\\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})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"1|([3-9]\\d{6})$","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","(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",[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{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]]],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,"0|([25-8]\\d{5})$","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}|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],[["(\\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[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[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[4679]|[38]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?: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|([0-24-8]\\d{5})$","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-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|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[045]|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[27-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])|5(?:2|3[045]|4[0-369]|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])|49|51|6(?:[0-24]|36|5[0-3589]|72|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]))|(?:49|55|83)[29]|(?: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]|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]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|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]","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]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|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(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|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"],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-8]\\d|99)\\d{7}",[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,"1|([2-7]\\d{6})$","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|[2569]\\d\\d)\\d{5}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[25]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","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,"1|([2-8]\\d{6})$","758$1",0,"758"],LI:["423","00","90\\d{5}|(?:[2378]|6\\d\\d)\\d{6}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"0|(1001)"],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","(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0\\d|1[0-3]|6[1267]|7[0-57]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|30|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,["976[01]\\d{5}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"0|([24-9]\\d{6})$","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"],"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}|[57-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",["[57-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","08005\\d\\d|(?: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,"1|([2-9]\\d{6})$","670$1",0,"670"],MQ:["596","00","(?:69|80)\\d{7}|(?:59|97)6\\d{6}",[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,"1|([34]\\d{6})$","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])","(?:5|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",["5"]],["(\\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",["[3467]|9[13-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[19]\\d|[23]1|77|88)\\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]","199[1-9]\\d{7}|(?:1(?:[01467]\\d|[235][1-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|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[36-8]"]],["(\\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","[2-57-9]\\d{5}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-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[04]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",[5,6,7,8,9,10],[["(\\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-57-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",["[489]|59"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],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-579]|6[2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","8\\d{9}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10],[["(\\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","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,0," 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\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|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]|80\\d\\d)\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","[2-7]\\d{7}|(?:2\\d\\d|800)\\d{4}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]]],RE:["262","00","9769\\d{5}|(?:26|[68]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,"26[23]|69|[89]"],RO:["40","00","(?:[237]\\d|[89]0)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","8000\\d{3}|(?:[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)"],"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-4]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d{4}|93330)\\d{4}",[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",["24|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[1-35-9]|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,"1|(5\\d{6})$","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,"1|([2-479]\\d{6})$","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]","1\\d{9}|[1689]\\d{8}|[1-57]\\d{7}",[8,9,10],[["(\\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","(?:00|11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"],0,1],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],0,1],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"],0,1],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02-57-9]|11"],0,1]],"8",0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-46-8]\\d{6})$","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]","(?:[26-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{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{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"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}",[10],[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|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[02-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|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[12]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","4\\d{9}|[249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[24]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:33|55|[679]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-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,"1|([2-7]\\d{6})$","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,"1|([2-578]\\d{6})$","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","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",["[69]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"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-68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","80\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,"269|63"],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","(?:63|80)0\\d{6}|(?:21|[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,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,["[1-9]\\d{7}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["4"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\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})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}"]]],883:["883",0,"210\\d{7}|51\\d{7}(?:\\d{3})?",[9,10,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["5"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:210|51[013]0\\d)\\d{7}|5100\\d{5}"]]],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}"]]]}};var Bd="".concat("-‐-―−ー-").concat("//").concat("..").concat(" ").concat("()()[]\\[\\]").concat("~⁓∼~");function Vd(d,t){d=d.split("-"),t=t.split("-");for(var e=d[0].split("."),n=t[0].split("."),i=0;i<3;i++){var r=Number(e[i]),a=Number(n[i]);if(r>a)return 1;if(a>r)return-1;if(!isNaN(r)&&isNaN(a))return 1;if(isNaN(r)&&!isNaN(a))return-1}return d[1]&&t[1]?d[1]>t[1]?1:d[1]<t[1]?-1:0:!d[1]&&t[1]?1:d[1]&&!t[1]?-1:0}function Gd(d){return(Gd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function jd(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}function Ud(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}function qd(d,t,e){return t&&Ud(d.prototype,t),e&&Ud(d,e),d}var Hd=/^\d+$/,Wd=function(){function d(t){jd(this,d),function(d){if(!d)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Jd(d)||!Jd(d.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(Jd(d)?"an object of shape: { "+Object.keys(d).join(", ")+" }":"a "+Qd(d)+": "+d,"."))}(t),this.metadata=t,tt.call(this,t)}return qd(d,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(d){return"001"!==d}))}},{key:"getCountryMetadata",value:function(d){return this.metadata.countries[d]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(d){return void 0!==this.getCountryMetadata(d)}},{key:"hasCallingCode",value:function(d){if(this.getCountryCodesForCallingCode(d))return!0;if(this.nonGeographic()){if(this.nonGeographic()[d])return!0}else{var t=this.countryCallingCodes()[d];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(d){return this.nonGeographic()?!!this.nonGeographic()[d]:!this.getCountryCodesForCallingCode(d)}},{key:"country",value:function(d){return this.selectNumberingPlan(d)}},{key:"selectNumberingPlan",value:function(d,t){if(d&&Hd.test(d)&&(t=d,d=null),d&&"001"!==d){if(!this.hasCountry(d))throw new Error("Unknown country: ".concat(d));this.numberingPlan=new zd(this.getCountryMetadata(d),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new zd(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(d){var t=this.countryCallingCodes()[d];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(d){var t=this.getCountryCodesForCallingCode(d);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(d){var t=this.getCountryCodeForCallingCode(d);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var e=this.nonGeographic()[d];if(e)return e}else{var n=this.countryCallingCodes()[d];if(n&&1===n.length&&"001"===n[0])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(d){return this.numberingPlan.type(d)}},{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(d){return this.selectNumberingPlan(d)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),d}(),zd=function(){function d(t,e){jd(this,d),this.globalMetadataObject=e,this.metadata=t,tt.call(this,e.metadata)}return qd(d,[{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(d){return d[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var d=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map((function(t){return new Kd(t,d)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(d){return d[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()&&0===this.types().length||!this.types())}},{key:"type",value:function(d){if(this.hasTypes()&&Xd(this.types(),d))return new Yd(Xd(this.types(),d),this)}},{key:"ext",value:function(){return this.v1||this.v2?" ext. ":this.metadata[13]||" ext. "}}]),d}(),Kd=function(){function d(t,e){jd(this,d),this._format=t,this.metadata=e}return qd(d,[{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()||Zd.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),d}(),Zd=/^\(?\$1\)?$/,Yd=function(){function d(t,e){jd(this,d),this.type=t,this.metadata=e}return qd(d,[{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()}}]),d}();function Xd(d,t){switch(t){case"FIXED_LINE":return d[0];case"MOBILE":return d[1];case"TOLL_FREE":return d[2];case"PREMIUM_RATE":return d[3];case"PERSONAL_NUMBER":return d[4];case"VOICEMAIL":return d[5];case"UAN":return d[6];case"PAGER":return d[7];case"VOIP":return d[8];case"SHARED_COST":return d[9]}}var Jd=function(d){return"object"===Gd(d)},Qd=function(d){return Gd(d)};function dt(d,t){if((t=new Wd(t)).hasCountry(d))return t.country(d).countryCallingCode();throw new Error("Unknown country: ".concat(d))}function tt(d){var t=d.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===Vd(t,"1.2.0")?this.v2=!0:-1===Vd(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var et={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 nt(d){var t="",e=d.split(""),n=Array.isArray(e),i=0;for(e=n?e:e[Symbol.iterator]();;){var r;if(n){if(i>=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var a=et[r];a&&(t+=a)}return t}function it(d,t){return rt(d,void 0,t)}function rt(d,t,e){var n=e.type(t),i=n&&n.possibleLengths()||e.possibleLengths();if(!i)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===t){if(!e.type("FIXED_LINE"))return rt(d,"MOBILE",e);var r=e.type("MOBILE");r&&(i=function(d,t){var e=d.slice(),n=t,i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(r>=n.length)break;a=n[r++]}else{if((r=n.next()).done)break;a=r.value}var s=a;d.indexOf(s)<0&&e.push(s)}return e.sort((function(d,t){return d-t}))}(i,r.possibleLengths()))}else if(t&&!n)return"INVALID_LENGTH";var a=d.length,s=i[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function at(d,t){return d=d||"",new RegExp("^(?:"+t+")$").test(d)}var st=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function ot(d,t,e){if(t=t||{},d.country){(e=new Wd(e)).selectNumberingPlan(d.country,d.countryCallingCode);var n=t.v2?d.nationalNumber:d.phone;if(at(n,e.nationalNumberPattern())){if($t(n,"FIXED_LINE",e))return e.type("MOBILE")&&""===e.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":e.type("MOBILE")?$t(n,"MOBILE",e)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i=0,r=st;i<r.length;i++){var a=r[i];if($t(n,a,e))return a}}}}function $t(d,t,e){return!(!(t=e.type(t))||!t.pattern())&&!(t.possibleLengths()&&t.possibleLengths().indexOf(d.length)<0)&&at(d,t.pattern())}function lt(d){return d.replace(new RegExp("[".concat(Bd,"]+"),"g")," ").trim()}var ut=/(\$\d)/;function ct(d,t,e){var n=e.useInternationalFormat,i=e.withNationalPrefix,r=d.replace(new RegExp(t.pattern()),n?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(ut,t.nationalPrefixFormattingRule()):t.format());return n?lt(r):r}var ht=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ft(d,t,e){return t in d?Object.defineProperty(d,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[t]=e,d}var vt={formatExtension:function(d,t,e){return"".concat(d).concat(e.ext()).concat(t)}};function mt(d,t,e,n,i){var r=function(d,t){var e=d,n=Array.isArray(e),i=0;for(e=n?e:e[Symbol.iterator]();;){var r;if(n){if(i>=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var a=r;if(a.leadingDigitsPatterns().length>0){var s=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(0!==t.search(s))continue}if(at(t,a.pattern()))return a}}(n.formats(),d);return r?ct(d,r,{useInternationalFormat:"INTERNATIONAL"===e,withNationalPrefix:!r.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:t,metadata:n}):d}function gt(d,t,e,n){return t?n(d,t,e):d}function pt(d,t,e){return t in d?Object.defineProperty(d,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[t]=e,d}function yt(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}var bt=function(){function d(t,e,n){if(function(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!e)throw new TypeError("`nationalNumber` not passed");if(!n)throw new TypeError("`metadata` not passed");var i=new Wd(n);wt(t)&&(this.country=t,i.country(t),t=i.countryCallingCode()),this.countryCallingCode=t,this.nationalNumber=e,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=n}var t,e;return t=d,(e=[{key:"isPossible",value:function(){return function(d,t,e){if(void 0===t&&(t={}),e=new Wd(e),t.v2){if(!d.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(d.countryCallingCode)}else{if(!d.phone)return!1;if(d.country){if(!e.hasCountry(d.country))throw new Error("Unknown country: ".concat(d.country));e.country(d.country)}else{if(!d.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(d.countryCallingCode)}}if(e.possibleLengths())return function(d,t){switch(it(d,t)){case"IS_POSSIBLE":return!0;default:return!1}}(d.phone||d.nationalNumber,e);if(d.countryCallingCode&&e.isNonGeographicCallingCode(d.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return function(d,t,e){return t=t||{},e=new Wd(e),!!d.country&&(e.selectNumberingPlan(d.country,d.countryCallingCode),e.hasTypes()?void 0!==ot(d,t,e.metadata):at(t.v2?d.nationalNumber:d.phone,e.nationalNumberPattern()))}(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new Wd(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(d){return this.number===d.number&&this.ext===d.ext}},{key:"getType",value:function(){return ot(this,{v2:!0},this.metadata)}},{key:"format",value:function(d,t){return function(d,t,e,n){if(e=e?function(d){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter((function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})))),n.forEach((function(t){ft(d,t,e[t])}))}return d}({},vt,e):vt,n=new Wd(n),d.country&&"001"!==d.country){if(!n.hasCountry(d.country))throw new Error("Unknown country: ".concat(d.country));n.country(d.country)}else{if(!d.countryCallingCode)return d.phone||"";n.selectNumberingPlan(d.countryCallingCode)}var i,r=n.countryCallingCode(),a=e.v2?d.nationalNumber:d.phone;switch(t){case"NATIONAL":return a?gt(i=mt(a,d.carrierCode,"NATIONAL",n,e),d.ext,n,e.formatExtension):"";case"INTERNATIONAL":return a?(i=mt(a,null,"INTERNATIONAL",n,e),gt(i="+".concat(r," ").concat(i),d.ext,n,e.formatExtension)):"+".concat(r);case"E.164":return"+".concat(r).concat(a);case"RFC3966":return function(d){var t=d.number,e=d.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(e?";ext="+e:"")}({number:"+".concat(r).concat(a),ext:d.ext});case"IDD":if(!e.fromCountry)return;return gt(function(d,t,e,n,i){if(dt(n,i.metadata)===e){var r=mt(d,t,"NATIONAL",i);return"1"===e?e+" "+r:r}var a=function(d,t,e){var n=new Wd(e);return n.selectNumberingPlan(d,void 0),n.defaultIDDPrefix()?n.defaultIDDPrefix():ht.test(n.IDDPrefix())?n.IDDPrefix():void 0}(n,0,i.metadata);if(a)return"".concat(a," ").concat(e," ").concat(mt(d,null,"INTERNATIONAL",i))}(a,d.carrierCode,r,e.fromCountry,n),d.ext,n,e.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,d,t?function(d){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter((function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})))),n.forEach((function(t){pt(d,t,e[t])}))}return d}({},t,{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(d){return this.format("NATIONAL",d)}},{key:"formatInternational",value:function(d){return this.format("INTERNATIONAL",d)}},{key:"getURI",value:function(d){return this.format("RFC3966",d)}}])&&yt(t.prototype,e),d}(),wt=function(d){return/^[A-Z]{2}$/.test(d)},xt=new RegExp("([0-90-9٠-٩۰-۹])");function kt(d,t,e,n){if(t){var i=new Wd(n);i.selectNumberingPlan(t,e);var r=new RegExp(i.IDDPrefix());if(0===d.search(r)){var a=(d=d.slice(d.match(r)[0].length)).match(xt);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return d}}}function Ct(d,t){if(d&&t.numberingPlan.nationalPrefixForParsing()){var e=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),n=e.exec(d);if(n){var i,r,a,s=n.length-1,o=s>0&&n[s];if(t.nationalPrefixTransformRule()&&o?(i=d.replace(e,t.nationalPrefixTransformRule()),s>1&&(r=n[1])):(i=d.slice(n[0].length),o&&(r=n[1])),o){var $=d.indexOf(n[1]);d.slice(0,$)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=n[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:r}}}return{nationalNumber:d}}function Et(d,t){var e=Ct(d,t),n=e.nationalNumber,i=e.carrierCode;if(!function(d,t,e){return!(at(d,e.nationalNumberPattern())&&!at(t,e.nationalNumberPattern()))}(d,n,t))return{nationalNumber:d};if(d.length!==n.length+(i?i.length:0)&&t.possibleLengths())switch(it(n,t)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:d}}return{nationalNumber:n,carrierCode:i}}function Nt(d,t,e,n){var i=t?dt(t,n):e;if(0===d.indexOf(i)){(n=new Wd(n)).selectNumberingPlan(t,e);var r=d.slice(i.length),a=Et(r,n).nationalNumber,s=Et(d,n).nationalNumber;if(!at(s,n.nationalNumberPattern())&&at(a,n.nationalNumberPattern())||"TOO_LONG"===it(s,n))return{countryCallingCode:i,number:r}}return{number:d}}function St(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}var It=function(){function d(t){var e,n,i=this,r=t.onCountryChange,a=t.onCallingCodeChange;!function(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),n=function(d){for(var t=0,e=Object.keys(d);t<e.length;t++){var n=e[t];i[n]=d[n]}},(e="update")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this.onCountryChange=r,this.onCallingCodeChange=a}var t,e;return t=d,(e=[{key:"reset",value:function(d,t){this.international=!1,this.IDDPrefix=void 0,this.missingPlus=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(d,t)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"initCountryAndCallingCode",value:function(d,t){this.setCountry(d),this.setCallingCode(t)}},{key:"setCountry",value:function(d){this.country=d,this.onCountryChange(d)}},{key:"setCallingCode",value:function(d){return this.callingCode=d,this.onCallingCodeChange(this.country,d)}},{key:"startInternationalNumber",value:function(){this.international=!0,this.initCountryAndCallingCode()}},{key:"appendDigits",value:function(d){this.digits+=d}},{key:"appendNationalSignificantNumberDigits",value:function(d){this.nationalSignificantNumber+=d}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])&&St(t.prototype,e),d}(),Mt=new RegExp("x");function Rt(d,t){if(t<1)return"";for(var e="";t>1;)1&t&&(e+=d),t>>=1,d+=d;return e+d}function At(d,t){return")"===d[t]&&t++,function(d){for(var t=[],e=0;e<d.length;)"("===d[e]?t.push(e):")"===d[e]&&t.pop(),e++;var n=0,i="";t.push(d.length);for(var r=0,a=t;r<a.length;r++){var s=a[r];i+=d.slice(n,s),n=s+1}return i}(d.slice(0,t))}function Pt(d,t,e){var n=e.metadata,i=e.shouldTryNationalPrefixFormattingRule,r=e.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(d.nationalSignificantNumber))return function(d,t,e){var n=e.metadata,i=e.getSeparatorAfterNationalPrefix;if((0,e.shouldTryNationalPrefixFormattingRule)(t)){var r=Tt(d,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:n});if(r)return r}return Tt(d,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:n})}(d,t,{metadata:n,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:r})}function Tt(d,t,e){var n=e.useNationalPrefixFormattingRule,i=e.getSeparatorAfterNationalPrefix,r=ct(d.nationalSignificantNumber,t,{carrierCode:d.carrierCode,useInternationalFormat:d.international,withNationalPrefix:n,metadata:e.metadata});if(n||(d.nationalPrefix?r=d.nationalPrefix+i(t)+r:d.complexPrefixBeforeNationalSignificantNumber&&(r=d.complexPrefixBeforeNationalSignificantNumber+" "+r)),function(d,t){return nt(d)===t.getNationalDigits()}(r,d))return r}function Lt(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}function Ot(d,t,e){return t in d?Object.defineProperty(d,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[t]=e,d}var _t=Rt("9",15),Ft=/[- ]/,Dt=new RegExp("^["+Bd+"]*(\\$\\d["+Bd+"]*)+$"),Bt=function(){function d(t){var e=this,n=t.metadata;!function(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),Ot(this,"getSeparatorAfterNationalPrefix",(function(d){return e.isNANP||d&&d.nationalPrefixFormattingRule()&&Ft.test(d.nationalPrefixFormattingRule())?" ":""})),Ot(this,"shouldTryNationalPrefixFormattingRule",(function(d,t){var e=t.international,n=t.nationalPrefix;if(d.nationalPrefixFormattingRule()){var i=d.usesNationalPrefix();if(i&&n||!i&&!e)return!0}})),this.metadata=n,this.resetFormat()}var t,e;return t=d,(e=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(d,t){this.resetFormat(),d?(this.isNANP="1"===d.callingCode(),this.matchingFormats=d.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(d,t){var e=this;if(function(d,t){return"IS_POSSIBLE"===it(d,t)}(t.nationalSignificantNumber,this.metadata)){var n=this.matchingFormats,i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(r>=n.length)break;a=n[r++]}else{if((r=n.next()).done)break;a=r.value}var s=a,o=Pt(t,s,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(d){return e.shouldTryNationalPrefixFormattingRule(d,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:this.getSeparatorAfterNationalPrefix});if(o)return this.resetFormat(),this.chosenFormat=s,this.setNationalNumberTemplate(o.replace(/\d/g,"x"),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf("x"),o}}return this.formatNationalNumberWithNextDigits(d,t)}},{key:"formatNationalNumberWithNextDigits",value:function(d,t){var e=this.chosenFormat,n=this.chooseFormat(t);if(n)return this.formatNextNationalNumberDigits(n===e?d:t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(d){var t=this,e=d.nationalPrefix,n=d.international,i=d.nationalSignificantNumber,r=i.length-3;r<0&&(r=0),this.matchingFormats=this.matchingFormats.filter((function(d){return t.formatSuits(d,n,e)&&t.formatMatches(d,i,r)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(d,t,e){return!(e&&!d.usesNationalPrefix()&&!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!e&&d.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(d,t,e){var n=d.leadingDigitsPatterns().length;if(0===n)return!0;if(t.length<3)return!0;e=Math.min(e,n-1);var i=d.leadingDigitsPatterns()[e];return new RegExp("^(".concat(i,")")).test(t)}},{key:"getFormatFormat",value:function(d,t){return t?d.internationalFormat():d.format()}},{key:"chooseFormat",value:function(d){var t=this,e=function(){if(i){if(r>=n.length)return"break";a=n[r++]}else{if((r=n.next()).done)return"break";a=r.value}var e=a;return t.chosenFormat===e?"break":Dt.test(t.getFormatFormat(e,d.international))?t.createTemplateForFormat(e,d)?(t.chosenFormat=e,"break"):(t.matchingFormats=t.matchingFormats.filter((function(d){return d!==e})),"continue"):"continue"},n=this.matchingFormats.slice(),i=Array.isArray(n),r=0;d:for(n=i?n:n[Symbol.iterator]();;){var a;switch(e()){case"break":break d;case"continue":continue}}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(d,t){if(!(d.pattern().indexOf("|")>=0)){var e=this.getTemplateForFormat(d,t);return e?(this.setNationalNumberTemplate(e,t),!0):void 0}}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(d,t){var e=d.IDDPrefix;return e?t&&!1===t.spacing?e:e+" ":d.missingPlus?"":"+"}},{key:"getTemplate",value:function(d){if(this.template){for(var t=-1,e=0,n=d.international?this.getInternationalPrefixBeforeCountryCallingCode(d,{spacing:!1}):"";e<n.length+d.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf("x",t+1),e++;return At(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(d,t){this.nationalNumberTemplate=d,this.populatedNationalNumberTemplate=d,this.populatedNationalNumberTemplatePosition=-1,this.template=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,"x")+Rt("x",t.callingCode.length)+" "+d:d}},{key:"getTemplateForFormat",value:function(d,t){var e=t.nationalSignificantNumber,n=t.international,i=t.nationalPrefix,r=t.complexPrefixBeforeNationalSignificantNumber,a=d.pattern();a=a.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var s=_t.match(a)[0];if(!(e.length>s.length)){var o=new RegExp("^"+a+"$"),$=e.replace(/\d/g,"9");o.test($)&&(s=$);var l,u=this.getFormatFormat(d,n);if(this.shouldTryNationalPrefixFormattingRule(d,{international:n,nationalPrefix:i})){var c=u.replace(ut,d.nationalPrefixFormattingRule());if(nt(d.nationalPrefixFormattingRule())===(i||"")+nt("$1")&&(u=c,l=!0,i))for(var h=i.length;h>0;)u=u.replace(/\d/,"x"),h--}var f=s.replace(new RegExp(a),u).replace(new RegExp("9","g"),"x");return l||(r?f=Rt("x",r.length)+" "+f:i&&(f=Rt("x",i.length)+this.getSeparatorAfterNationalPrefix(d)+f)),n&&(f=lt(f)),f}}},{key:"formatNextNationalNumberDigits",value:function(d){var t=function(d,t,e){var n=e.split(""),i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(r>=n.length)break;a=n[r++]}else{if((r=n.next()).done)break;a=r.value}var s=a;if(d.slice(t+1).search(Mt)<0)return;t=d.search(Mt),d=d.replace(Mt,s)}return[d,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,d);if(t)return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],At(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}}])&&Lt(t.prototype,e),d}();function Vt(d,t){return function(d){if(Array.isArray(d))return d}(d)||function(d,t){var e=[],n=!0,i=!1,r=void 0;try{for(var a,s=d[Symbol.iterator]();!(n=(a=s.next()).done)&&(e.push(a.value),!t||e.length!==t);n=!0);}catch(d){i=!0,r=d}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}return e}(d,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Gt(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}var jt=new RegExp("^["+Bd+"0-90-9٠-٩۰-۹]+$","i"),Ut="(?:[++]["+Bd+"0-90-9٠-٩۰-۹]*|["+Bd+"0-90-9٠-٩۰-۹]+)",qt=new RegExp("[^"+Bd+"0-90-9٠-٩۰-۹]+.*$"),Ht=/[^\d\[\]]/,Wt=function(){function d(t){var e=t.defaultCountry,n=t.defaultCallingCode,i=t.metadata,r=t.onNationalSignificantNumberChange;!function(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),this.defaultCountry=e,this.defaultCallingCode=n,this.metadata=i,this.onNationalSignificantNumberChange=r}var t,e;return t=d,(e=[{key:"input",value:function(d,t){var e,n=function(d){var t=Vt(function(d){var t=function(d){var t,e=d.search(Ut);if(!(e<0))return"+"===(d=d.slice(e))[0]&&(t=!0,d=d.slice("+".length)),d=d.replace(qt,""),t&&(d="+"+d),d}(d)||"";return"+"===t[0]?[t.slice("+".length),!0]:[t]}(d),2),e=t[0],n=t[1];return jt.test(e)||(e=""),[e,n]}(d),i=Vt(n,2),r=i[1],a=nt(i[0]);return r&&(t.digits||(t.startInternationalNumber(),a||(e=!0))),a&&this.inputDigits(a,t),{digits:a,justLeadingPlus:e}}},{key:"inputDigits",value:function(d,t){var e=t.digits,n=e.length<3&&e.length+d.length>=3;if(t.appendDigits(d),n&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(d);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),t.update)}},{key:"isWaitingForCountryCallingCode",value:function(d){return d.international&&!d.callingCode}},{key:"extractCountryCallingCode",value:function(d){var t=function(d,t,e,n){if(!d)return{};if("+"!==d[0]){var i=kt(d,t,e,n);if(!i||i===d){if(t||e){var r=Nt(d,t,e,n),a=r.countryCallingCode;if(a)return{countryCallingCode:a,number:r.number}}return{number:d}}d="+"+i}if("0"===d[1])return{};n=new Wd(n);for(var s=2;s-1<=3&&s<=d.length;){var o=d.slice(1,s);if(n.hasCallingCode(o))return n.selectNumberingPlan(o),{countryCallingCode:o,number:d.slice(s)};s++}return{}}("+"+d.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),e=t.countryCallingCode,n=t.number;if(e)return d.setCallingCode(e),d.update({nationalSignificantNumber:n}),!0}},{key:"reset",value:function(d){if(d){this.hasSelectedNumberingPlan=!0;var t=d._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&Ht.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(d,t){if(this.hasSelectedNumberingPlan){var e=Ct(d,this.metadata),n=e.nationalNumber;if(n!==d)return this.onExtractedNationalNumber(e.nationalPrefix,e.carrierCode,n,d,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(d,t,e){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(d,e);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var n=Ct(d,this.metadata),i=n.nationalNumber;if(i!==t)return this.onExtractedNationalNumber(n.nationalPrefix,n.carrierCode,i,d,e),!0}}},{key:"onExtractedNationalNumber",value:function(d,t,e,n,i){var r,a,s=n.lastIndexOf(e);if(s>=0&&s===n.length-e.length){a=!0;var o=n.slice(0,s);o!==d&&(r=o)}i({nationalPrefix:d,carrierCode:t,nationalSignificantNumber:e,nationalSignificantNumberMatchesInput:a,complexPrefixBeforeNationalSignificantNumber:r}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(d){return!!this.extractAnotherNationalSignificantNumber(d.getNationalDigits(),d.nationalSignificantNumber,d.update)||(this.extractIddPrefix(d)||this.fixMissingPlus(d)?(this.extractCallingCodeAndNationalSignificantNumber(d),!0):void 0)}},{key:"extractIddPrefix",value:function(d){var t=d.digits;if(!d.international&&!d.IDDPrefix){var e=kt(t,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==e&&e!==t?(d.update({IDDPrefix:t.slice(0,t.length-e.length)}),this.startInternationalNumber(d),!0):void 0}}},{key:"fixMissingPlus",value:function(d){if(!d.international&&Nt(d.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode)return d.update({missingPlus:!0}),this.startInternationalNumber(d),!0}},{key:"startInternationalNumber",value:function(d){d.startInternationalNumber(),d.nationalSignificantNumber&&(d.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(d){this.extractCountryCallingCode(d)&&this.extractNationalSignificantNumber(d.getNationalDigits(),d.update)}}])&&Gt(t.prototype,e),d}();function zt(d){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function Kt(d,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}var Zt=function(){function d(t,e){!function(d,t){if(!(d instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),this.metadata=new Wd(e);var n,i,r=(n=this.getCountryAndCallingCode(t),i=2,function(d){if(Array.isArray(d))return d}(n)||function(d,t){var e=[],n=!0,i=!1,r=void 0;try{for(var a,s=d[Symbol.iterator]();!(n=(a=s.next()).done)&&(e.push(a.value),!t||e.length!==t);n=!0);}catch(d){i=!0,r=d}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}return e}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),a=r[1];this.defaultCountry=r[0],this.defaultCallingCode=a,this.reset()}var t,e;return t=d,(e=[{key:"getCountryAndCallingCode",value:function(d){var t,e;return d&&("object"===zt(d)?(t=d.defaultCountry,e=d.defaultCallingCode):t=d),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,e]}},{key:"input",value:function(d){var t=this.parser.input(d,this.state),e=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(e){var n;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(n=this.formatter.format(e,this.state)),void 0===n&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(n=this.formatter.format(i,this.state))}this.formattedOutput=n?this.getFullNumber(n):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var d=this;return this.state=new It({onCountryChange:function(t){d.country=t},onCallingCodeChange:function(t,e){d.metadata.selectNumberingPlan(t,e),d.formatter.reset(d.metadata.numberingPlan,d.state),d.parser.reset(d.metadata.numberingPlan)}}),this.formatter=new Bt({state:this.state,metadata:this.metadata}),this.parser=new Wt({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){d.determineTheCountryIfNeeded(),d.formatter.reset(d.metadata.numberingPlan,d.state)}}),this.state.reset(this.defaultCountry,this.defaultCallingCode),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){var d=this.state;if(d.digits)return d.country}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(d){var t,e=this;if(this.isInternational()){var n=this.state.callingCode;return t=n?d?"".concat(n," ").concat(d):n:"".concat(this.state.getDigitsWithoutInternationalPrefix()),e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state,{spacing:!!t})+t}return d}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var d=this.state,t=d.nationalSignificantNumber,e=d.complexPrefixBeforeNationalSignificantNumber||d.nationalPrefix;return e&&(t=e+t),t}},{key:"getNonFormattedNumber",value:function(){return this.getFullNumber(this.state.nationalSignificantNumberMatchesInput?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var d=this.getNonFormattedNumber();if(d)return d.replace(/[\+\d]/g,"x")}},{key:"isCountryCallingCodeAmbiguous",value:function(){var d=this.metadata.getCountryCodesForCallingCode(this.state.callingCode);return d&&d.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(function(d,t,e){var n=e.getCountryCodesForCallingCode(d);if(n)return 1===n.length?n[0]:function(d,t,e){e=new Wd(e);var n=d,i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(r>=n.length)break;a=n[r++]}else{if((r=n.next()).done)break;a=r.value}var s=a;if(e.country(s),e.leadingDigits()){if(t&&0===t.search(e.leadingDigits()))return s}else if(ot({phone:t,country:s},void 0,e.metadata))return s}}(n,t,e.metadata)}(this.isInternational()?this.state.callingCode:this.defaultCallingCode,this.state.nationalSignificantNumber,this.metadata))}},{key:"getNumber",value:function(){var d=this.state,t=d.nationalSignificantNumber,e=d.carrierCode;if(this.isInternational()){if(!this.state.callingCode)return}else if(!this.state.country&&!this.defaultCallingCode)return;if(t){var n=this.getCountry(),i=this.getCountryCallingCode()||this.defaultCallingCode,r=new bt(n||i,t,this.metadata.metadata);return e&&(r.carrierCode=e),r}}},{key:"isPossible",value:function(){var d=this.getNumber();return!!d&&d.isPossible()}},{key:"isValid",value:function(){var d=this.getNumber();return!!d&&d.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])&&Kt(t.prototype,e),d}();function Yt(d){return Zt.call(this,d,Dd)}(Yt.prototype=Object.create(Zt.prototype,{})).constructor=Yt;const Xt=class{constructor(t){d(this,t),this.ignored=!0,this.nextPage="/",this.redirectPath="/verifyEmail",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Register",this.loginLabel="Sign in",this.confirmPasswordLabel="Confirm Password",this.confirmPassword=!1,this.enablePasswordValidation=!0,this.hideInputs=!1,this.pageLabel="Register",this.loginPath="/login",n(this)}disconnectedCallback(){}render(){const{states:d,callbacks:e,refs:n}=h()?R({states:{error:"",loading:!1,confirmPassword:!0,hideInputs:this.hideInputs||!1,customPasswordField:!1,loginPath:"/login"},callbacks:{submit:async()=>{console.log("submit")},inputFunction:()=>{}},refs:{formRef:{}}},this.demoData||{},{arrayMerge:(d,t)=>t}):function(d){var t,e,n,r,s,$,l,u,h,v;const m=o(null),{validationState:g,setValidationState:p}=function(){const d=f(),[t,e]=a(d,"sq:validation-state",{});return{validationState:t,setValidationState:e}}(),[y,{loading:b,errors:w,data:k}]=E(),C=c((d=>{var t,e;if("tel"!==(null===(e=null===(t=d.target)||void 0===t?void 0:t.type)||void 0===e?void 0:e.toLowerCase()))return;const n=new Yt("US");d.target.value=n.input(d.target.value)}),[]);i((()=>{var t;(null===(t=null==k?void 0:k.registerManagedIdentityWithEmailAndPassword)||void 0===t?void 0:t.token)&&x.push(d.nextPage)}),[null===(t=null==k?void 0:k.registerManagedIdentityWithEmailAndPassword)||void 0===t?void 0:t.token]),i((()=>{if(!m.current)return;const d=m.current;return d.addEventListener("sl-input",C),()=>{d.removeEventListener("sl-input",C)}}),[m.current]);let N="";return N=(null===(e=null==w?void 0:w.response)||void 0===e?void 0:e.error)||(null==w?void 0:w.message)&&!(null===(n=null==w?void 0:w.response)||void 0===n?void 0:n.errors.length)?"Network request failed":(null===(l=null===($=null===(s=null===(r=null==w?void 0:w.response)||void 0===r?void 0:r.errors)||void 0===s?void 0:s[0])||void 0===$?void 0:$.extensions)||void 0===l?void 0:l.message)||(null===(v=null===(h=null===(u=null==w?void 0:w.response)||void 0===u?void 0:u.errors)||void 0===h?void 0:h[0])||void 0===v?void 0:v.message)||(null==g?void 0:g.error),{states:{loading:b,error:N,validationState:g,confirmPassword:d.confirmPassword,hideInputs:d.hideInputs,loginPath:d.loginPath},callbacks:{submit:async t=>{let e=t.target.getFormControls(),n={},i={};if(null==e||e.forEach((d=>{if(!d.name)return;const t=d.name,e=d.value;if(M.set(n,t,e),d.required&&!e&&M.set(i,t,"Cannot be empty"),"function"==typeof d.validationError){const n=(0,d.validationError)({control:d,key:t,value:e});n&&M.set(i,t,n)}})),(d.confirmPassword||n.confirmPassword)&&n.password!==n.confirmPassword&&(i={...i,confirmPassword:"Passwords do not match."}),p({error:"",validationErrors:i}),Object.keys(i).length)return;const{email:r,password:a}=n;delete n.email,delete n.password,delete n.confirmPassword,n={...n};const s={email:r,password:a,formData:n,redirectPath:d.redirectPath};try{await y(s)}catch(d){p({error:"Network request failed."})}},inputFunction:C},refs:{formRef:m}}}(this);const r={formData:t("slot",{name:"formData"}),secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:d.loading,onClick:()=>x.push(d.loginPath)},this.loginLabel)),terms:t("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel};return t(J,{states:d,callbacks:e,content:r,refs:n})}};function Jt(d,e){const n=A({Container:{color:d.textColor||"var(--sl-color-neutral-900)",background:d.backgroundColor||""},Header:{fontSize:"var(--sl-font-size-x-large)",fontWeight:"var(--sl-font-weight-bold)",lineHeight:"var(--sl-line-height-dense)",marginBottom:"var(--sl-spacing-large)",textAlign:"center"},Grid:{display:"flex",flexDirection:"row",gap:"var(--sl-spacing-large)","@media (max-width: 499px)":{flexDirection:"column"}}}),i=n.toString();return t("div",{class:n.classes.Container},t("style",{type:"text/css"},i,"\n ::slotted(*){\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n ::slotted(*){\n display: block;\n }\n }"),t("div",{class:n.classes.Header},t("div",{class:n.classes.Header},d.header)),t("div",{class:n.classes.Grid},e))}const Qt=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){return t(Jt,Object.assign({},L(this)),t("slot",null))}};function de(d){const e=A({Container:{display:"flex",flexDirection:"column",width:"100%",padding:"var(--sl-spacing-x-large)",lineHeight:"var(--sl-line-height-dense)",color:d.textColor||"var(--sl-color-neutral-900)",background:d.backgroundColor||"var(--sl-color-primary-50)","@media (max-width: 499px)":{flexDirection:"row",width:"auto",paddingBottom:"var(--sl-spacing-large)"}},Text:{"@media (max-width: 499px)":{marginLeft:"var(--sl-spacing-large)"}},Header:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-bold)",marginTop:"var(--sl-spacing-x-large)","@media (max-width: 499px)":{margin:"0"}},Description:{fontSize:"var(--sl-font-size-medium)",marginTop:"var(--sl-spacing-small)","@media (max-width: 499px)":{marginTop:"var(--sl-spacing-x-small)"}},Media:{width:"64px",height:"64px",borderRadius:"100%",objectFit:"cover",userSelect:"none",background:"#FFF",color:"var(--sl-color-primary-300)",fontSize:"26px",textAlign:"center",lineHeight:"72px"}}),n=e.toString();return t("div",{class:e.classes.Container},t("style",{type:"text/css"},n),t("div",null,d.imageUrl?t("img",{class:e.classes.Media,src:d.imageUrl}):t("div",{class:e.classes.Media},t("sl-icon",{name:d.icon}))),t("div",{class:e.classes.Text},t("div",{class:e.classes.Header},d.header),t("div",{class:e.classes.Description},d.description)))}const te=class{constructor(t){d(this,t),n(this)}disconnectedCallback(){}render(){return t(de,Object.assign({},L(this)))}},ee=$("sq:useProgramMenu"),ne=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){const{data:d,ref:n}=function(d){const t=y(),e=f();ee({programId:t,props:d});const n=o(),[,r]=w();return i((()=>{var d;null===(d=n.current)||void 0===d||d.addEventListener("sl-select",(d=>{e.dispatchEvent(new CustomEvent("sq:update-program-id",{detail:d.detail.item.value,bubbles:!0,composed:!0}))}))}),[n.current]),{data:{programId:t},callbacks:{rerender:r},ref:n}}(L(this));return t(e,{style:{display:"contents"}},t("sl-select",{style:{paddingBottom:"var(--sl-spacing-large)"},value:d.programId,ref:d=>n.current=d},t("slot",null)))}},ie=A({Container:{display:"flex","& .left":{boxSizing:"border-box",width:"50%",padding:"var(--sl-spacing-large)",paddingRight:"var(--sl-spacing-medium)","@media (max-width: 499px)":{width:"100%",padding:"0",marginBottom:"var(--sl-spacing-xx-large)"}},"& .right":{boxSizing:"border-box",width:"50%",padding:"var(--sl-spacing-large)",paddingLeft:"var(--sl-spacing-medium)","@media (max-width: 499px)":{width:"100%",padding:"0"}},border:"1px solid var(--sl-color-neutral-300)","@media (max-width: 499px)":{flexDirection:"column",border:"none"}}}),re=ie.toString();function ae(d){return console.log(d.padding),t("div",null,t("style",{type:"text/css"},re,"\n :host{\n display: block; \n }\n "),t("style",null,`\n\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n */\n ::slotted(*) {\n ${d.textColor&&`color: ${d.textColor};`}\n --sl-color-neutral-900: ${d.textColor};\n }`),t("div",{class:ie.classes.Container,style:{color:d.textColor||"var(--sl-color-neutral-900)",padding:d.padding?`var(--sl-spacing-${d.padding})`:"0",borderColor:d.borderColor||"var(--sl-color-neutral-300)",borderRadius:d.borderRadius?`${d.borderRadius}px`:"var(--sl-border-radius-large)",backgroundColor:d.backgroundColor||"var(--sl-color-neutral-0)"}},t("div",{class:"left",style:{alignSelf:d.verticalAlignment}},d.slots.left),t("div",{class:"right",style:{alignSelf:d.verticalAlignment}},d.slots.right)))}const se=class{constructor(t){d(this,t),this.ignored=!0,this.verticalAlignment="start",n(this)}disconnectedCallback(){}render(){const d={left:t("slot",{name:"left"}),right:t("slot",{name:"right"})};return t(ae,Object.assign({},L(this),{slots:d}),t("slot",null))}},oe=v.gql`
|
|
74
|
-
query getUser($programId: ID) {
|
|
75
|
-
viewer {
|
|
76
|
-
... on User {
|
|
77
|
-
referralCode(programId: $programId)
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
`,$e=class{constructor(t){d(this,t),this.ignored=!0,this.iframeHeight="100%",this.iframeWidth="100%",n(this)}disconnectedCallback(){}render(){const d=O([{attribute:"iframe-src",value:this.iframeSrc}]);if(d)return t(fd,{missingProps:d,heading:"An error occured while loading this page",subheading:"A technical problem prevented this iframe from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const{states:n,data:i}=h()?(r=L(this),R({states:{content:{iframeSrc:"https://example.com",...r}},data:{shareCode:"SHARECODE123"}},r.demoData||{},{arrayMerge:(d,t)=>t})):function(d){var t;const e=y(),n=m(),{data:i}=g(oe,{programId:e},!(null==n?void 0:n.jwt)||!e);return{states:{content:d},data:{shareCode:null===(t=null==i?void 0:i.viewer)||void 0===t?void 0:t.referralCode}}}(L(this));var r;return t(e,{style:{display:"contents"}},t(Q,{data:i,states:n}))}};var le={};!function d(t,e,n,i){var r=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function s(d){var n=e.exports.Promise,i=void 0!==n?n:t.Promise;return"function"==typeof i?new i(d):(d(a,a),null)}var o,$,l,u,c,h,f,v,m=(l=Math.floor(1e3/60),u={},c=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(o=function(d){var t=Math.random();return u[t]=requestAnimationFrame((function e(n){c===n||c+l-1<n?(c=n,delete u[t],d()):u[t]=requestAnimationFrame(e)})),t},$=function(d){u[d]&&cancelAnimationFrame(u[d])}):(o=function(d){return setTimeout(d,l)},$=function(d){return clearTimeout(d)}),{frame:o,cancel:$}),g=(v={},function(){if(h)return h;if(!n&&r){var t=["var CONFETTI, SIZE = {}, module = {};","("+d.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(d){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",d),null}!function(d){function t(t,e){d.postMessage({options:t||{},callback:e})}d.init=function(t){var e=t.transferControlToOffscreen();d.postMessage({canvas:e},[e])},d.fire=function(e,n,i){if(f)return t(e,null),f;var r=Math.random().toString(36).slice(2);return f=s((function(n){function a(t){t.data.callback===r&&(delete v[r],d.removeEventListener("message",a),f=null,i(),n())}d.addEventListener("message",a),t(e,r),v[r]=a.bind(null,{data:{callback:r}})}))},d.reset=function(){for(var t in d.postMessage({reset:!0}),v)v[t](),delete v[t]}}(h)}return h}),p={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function y(d,t,e){return function(d,t){return t?t(d):d}(d&&null!=d[t]?d[t]:p[t],e)}function b(d){return d<0?0:Math.floor(d)}function w(d){return parseInt(d,16)}function x(d){return d.map(k)}function k(d){var t=String(d).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:w(t.substring(0,2)),g:w(t.substring(2,4)),b:w(t.substring(4,6))}}function C(d){d.width=document.documentElement.clientWidth,d.height=document.documentElement.clientHeight}function E(d){var t=d.getBoundingClientRect();d.width=t.width,d.height=t.height}function N(d,e){var a,o=!d,$=!!y(e||{},"resize"),l=y(e,"disableForReducedMotion",Boolean),u=r&&y(e||{},"useWorker")?g():null,c=o?C:E,h=!(!d||!u||!d.__confetti_initialized),f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function v(t,e,r){for(var o,$,l,u,h=y(t,"particleCount",b),f=y(t,"angle",Number),v=y(t,"spread",Number),g=y(t,"startVelocity",Number),p=y(t,"decay",Number),w=y(t,"gravity",Number),k=y(t,"drift",Number),C=y(t,"colors",x),E=y(t,"ticks",Number),N=y(t,"shapes"),S=y(t,"scalar"),I=function(d){var t=y(d,"origin",Object);return t.x=y(t,"x",Number),t.y=y(t,"y",Number),t}(t),M=h,R=[],A=d.width*I.x,P=d.height*I.y;M--;)R.push((void 0,void 0,$=(o={x:A,y:P,angle:f,spread:v,startVelocity:g,color:C[M%C.length],shape:N[(0,u=N.length,Math.floor(Math.random()*(u-0))+0)],ticks:E,decay:p,gravity:w,drift:k,scalar:S}).angle*(Math.PI/180),l=o.spread*(Math.PI/180),{x:o.x,y:o.y,wobble:10*Math.random(),velocity:.5*o.startVelocity+Math.random()*o.startVelocity,angle2D:-$+(.5*l-Math.random()*l),tiltAngle:Math.random()*Math.PI,color:o.color,shape:o.shape,tick:0,totalTicks:o.ticks,decay:o.decay,drift:o.drift,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*o.gravity,ovalScalar:.6,scalar:o.scalar}));return a?a.addFettis(R):(a=function(d,t,e,r,a){var o,$,l=t.slice(),u=d.getContext("2d"),c=s((function(t){function s(){o=$=null,u.clearRect(0,0,r.width,r.height),a(),t()}o=m.frame((function t(){!n||r.width===i.width&&r.height===i.height||(r.width=d.width=i.width,r.height=d.height=i.height),r.width||r.height||(e(d),r.width=d.width,r.height=d.height),u.clearRect(0,0,r.width,r.height),(l=l.filter((function(d){return function(d,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=.1,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+5,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var e=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,r=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return d.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-e)+")",d.beginPath(),"circle"===t.shape?d.ellipse?d.ellipse(t.x,t.y,Math.abs(r-n)*t.ovalScalar,Math.abs(a-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(d,t,e,n,i,r,a,s){d.save(),d.translate(t,e),d.rotate(r),d.scale(n,i),d.arc(0,0,1,0,s,void 0),d.restore()}(d,t.x,t.y,Math.abs(r-n)*t.ovalScalar,Math.abs(a-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(d.moveTo(Math.floor(t.x),Math.floor(t.y)),d.lineTo(Math.floor(t.wobbleX),Math.floor(i)),d.lineTo(Math.floor(r),Math.floor(a)),d.lineTo(Math.floor(n),Math.floor(t.wobbleY))),d.closePath(),d.fill(),t.tick<t.totalTicks}(u,d)}))).length?o=m.frame(t):s()})),$=s}));return{addFettis:function(d){return l=l.concat(d),c},canvas:d,promise:c,reset:function(){o&&m.cancel(o),$&&$()}}}(d,R,c,e,r)).promise}function p(e){var n=l||y(e,"disableForReducedMotion",Boolean),i=y(e,"zIndex",Number);if(n&&f)return s((function(d){d()}));o&&a?d=a.canvas:o&&!d&&(d=function(d){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=d,t}(i),document.body.appendChild(d)),$&&!h&&c(d);var r={width:d.width,height:d.height};function m(){if(u){var t={getBoundingClientRect:function(){if(!o)return d.getBoundingClientRect()}};return c(t),void u.postMessage({resize:{width:t.width,height:t.height}})}r.width=r.height=null}function g(){a=null,$&&t.removeEventListener("resize",m),o&&d&&(document.body.removeChild(d),d=null,h=!1)}return u&&!h&&u.init(d),h=!0,u&&(d.__confetti_initialized=!0),$&&t.addEventListener("resize",m,!1),u?u.fire(e,r,g):v(e,r,g)}return p.reset=function(){u&&u.reset(),a&&a.reset()},p}e.exports=N(null,{useWorker:!0,resize:!0}),e.exports.create=N}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),le,!1);const ue=le.exports,ce=v.gql`
|
|
82
|
-
query getExchangeList {
|
|
83
|
-
viewer {
|
|
84
|
-
... on User {
|
|
85
|
-
visibleRewardExchangeItems(limit: 20, offset: 0) {
|
|
86
|
-
data {
|
|
87
|
-
key
|
|
88
|
-
name
|
|
89
|
-
description
|
|
90
|
-
imageUrl
|
|
91
|
-
available
|
|
92
|
-
unavailableReasonCode
|
|
93
|
-
ruleType
|
|
94
|
-
sourceUnit
|
|
95
|
-
sourceValue
|
|
96
|
-
prettySourceValue
|
|
97
|
-
sourceMinValue
|
|
98
|
-
prettySourceMinValue
|
|
99
|
-
sourceMaxValue
|
|
100
|
-
prettySourceMaxValue
|
|
101
|
-
destinationMinValue
|
|
102
|
-
prettyDestinationMinValue
|
|
103
|
-
destinationMaxValue
|
|
104
|
-
prettyDestinationMaxValue
|
|
105
|
-
globalRewardKey
|
|
106
|
-
destinationUnit
|
|
107
|
-
steps {
|
|
108
|
-
sourceValue
|
|
109
|
-
prettySourceValue
|
|
110
|
-
destinationValue
|
|
111
|
-
prettyDestinationValue
|
|
112
|
-
available
|
|
113
|
-
globalRewardKey
|
|
114
|
-
unavailableReasonCode
|
|
115
|
-
rewardInput
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
totalCount
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
`,he=v.gql`
|
|
124
|
-
mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
|
|
125
|
-
exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
|
|
126
|
-
reward {
|
|
127
|
-
id
|
|
128
|
-
fuelTankCode
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
`,fe=class{constructor(t){d(this,t),this.ignored=!0,this.notAvailableError="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }",this.chooseRewardTitle="Rewards",this.chooseAmountTitle="Select",this.confirmationTitle="Confirm",this.rewardTitle="Choose a reward",this.cancelText="Cancel",this.backText="Back",this.continueText="Continue",this.continueToConfirmationText="Continue to confirmation",this.redeemText="Redeem",this.redeemTitle="Confirm and redeem",this.redemptionSuccessText="Redeemed {sourceValue} for {destinationValue}",this.sourceAmountMessage="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",this.tooltipText="Copied",this.doneText="Done",this.selectText="Select amount to receive",this.queryError="Unable to load reward exchange list. Please try again",this.redemptionError="An error occured trying to redeem this reward. Please try again",this.notEnoughError="Not enough {sourceUnit} to redeem for this reward",this.rewardRedeemedText="Reward redeemed",this.promoCode="Promo Code",this.skeletonCardNum=8,this.rewardNameTitle="Reward",this.rewardAmountTitle="Reward Amount",this.costTitle="Cost to Redeem",n(this)}disconnectedCallback(){}render(){const d={...L(this),empty:t(ve,null)},{states:n,data:a,callbacks:s,refs:$}=h()?function(d){return R({states:{content:{text:d},redeemStage:"chooseReward",amount:0,selectedStep:void 0,selectedItem:void 0,open:!1,exchangeError:!1,queryError:!1,loading:!1,noExchangeOptions:!1,empty:ve()},data:{shareCode:"SHARECODE123",exchangeList:dd.data.exchangeList},callbacks:{exchangeReward:()=>{},setExchangeState:()=>{},setStage:()=>{},resetState:()=>{},copyFuelTankCode:()=>{}},refs:{canvasRef:{}}},d.demoData||{},{arrayMerge:(d,t)=>t})}(d):function(d){var t,e,n,a,s;const[$,u]=l(((d,t)=>({...d,...t})),{selectedItem:void 0,selectedStep:void 0,redeemStage:"chooseReward",amount:0,exchangeError:!1}),[c,h]=r(!1),{selectedItem:f,selectedStep:v,redeemStage:y,amount:b,exchangeError:w}=$,x=m(),[k,{data:C,loading:E,errors:S}]=p(he),{data:I,loading:M,refetch:R,errors:A}=g(ce,{},!(null==x?void 0:x.jwt));i((()=>{var d,t;(null===(t=null===(d=null==C?void 0:C.exchangeReward)||void 0===d?void 0:d.reward)||void 0===t?void 0:t.id)&&u({redeemStage:"success",exchangeError:!1}),S&&u({exchangeError:!0})}),[C,S]);const P=o();i((()=>{if(!P.current)return;const d=P.current;d.confetti=d.confetti||ue.create(d,{resize:!0}),d.confetti()}),[P.current]);const{refresh:T}=N();return{states:{content:{text:d},selectedItem:f,redeemStage:y,amount:b,selectedStep:v,exchangeError:w,queryError:!!A,loading:M||E,open:c,noExchangeOptions:0===(null===(t=null==I?void 0:I.viewer)||void 0===t?void 0:t.visibleRewardExchangeItems.totalCount)},data:{exchangeList:null===(n=null===(e=null==I?void 0:I.viewer)||void 0===e?void 0:e.visibleRewardExchangeItems)||void 0===n?void 0:n.data,fuelTankCode:null===(s=null===(a=null==C?void 0:C.exchangeReward)||void 0===a?void 0:a.reward)||void 0===s?void 0:s.fuelTankCode},callbacks:{exchangeReward:async function(){if(!f)return;let d={accountId:null==x?void 0:x.accountId,userId:x.id};switch(f.ruleType){case"FIXED_GLOBAL_REWARD":d={...d,redeemCreditInput:{amount:f.sourceValue,unit:f.sourceUnit},globalRewardKey:f.globalRewardKey};break;case"STEPPED_FIXED_GLOBAL_REWARD":d={...d,redeemCreditInput:{amount:v.sourceValue,unit:f.sourceUnit},globalRewardKey:v.globalRewardKey};break;case"VARIABLE_GLOBAL_REWARD":d={...d,redeemCreditInput:{amount:b,unit:f.sourceUnit},globalRewardKey:f.globalRewardKey,rewardInput:v.rewardInput};break;case"VARIABLE_CREDIT_REWARD":d={...d,redeemCreditInput:{amount:b,unit:f.sourceUnit},rewardInput:{type:"CREDIT",unit:f.destinationUnit,assignedCredit:v.destinationValue}};break;default:d={...d,...v.rewardInput}}await k({exchangeRewardInput:d}),T()},setExchangeState:u,setStage:function(d){u({redeemStage:d})},resetState:d=>{d&&R(),u({amount:0,selectedStep:void 0,selectedItem:void 0,exchangeError:!1,redeemStage:"chooseReward"})},copyFuelTankCode:function(){var d,t;navigator.clipboard.writeText(null===(t=null===(d=null==C?void 0:C.exchangeReward)||void 0===d?void 0:d.reward)||void 0===t?void 0:t.fuelTankCode),h(!0),setTimeout((()=>h(!1)),1e3)}},refs:{canvasRef:P}}}(d);return t(e,{style:{display:"contents"}},t(td,{states:n,data:a,callbacks:s,refs:$}))}static get assetsDirs(){return["assets"]}};function ve(){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateImage:"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png",emptyStateHeader:"Redeem rewards",emptyStateText:"Use your points to redeem rewards once they become available"}))}const me=$("sq:useRouter");function ge(d,t){if(d)return ed(d).exec(t)}const pe=class{constructor(t){d(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}render(){const{callbacks:d}=function(){const d=S(),t=f(),[e,n]=r(void 0),[a,s]=r(void 0),o=d.pathname;return i((()=>{const d=t.querySelectorAll("sqm-route");Array.from(d).forEach((d=>{const t=document.createElement("template");t.setAttribute("path",d.path),t.innerHTML=d.innerHTML,d.parentNode.appendChild(t),d.parentNode.removeChild(d)}))}),[]),i((()=>{var d,t;if(!a||!e)return void me("DOM not ready for navigation rendering on:",o);const n=e.querySelectorAll("template"),i=Array.from(n).find((d=>{var t,e,n;if(null===(n=ge(null===(e=null===(t=d.attributes)||void 0===t?void 0:t.path)||void 0===e?void 0:e.nodeValue,o))||void 0===n?void 0:n.length)return d})),r=null===(t=null===(d=null==i?void 0:i.attributes)||void 0===d?void 0:d.path)||void 0===t?void 0:t.nodeValue;if(me({containerDatasetPage:a.dataset.page,templatePath:r,page:o}),!i)return me("No matching page found for ",o,", so render nothing"),a.innerHTML="",void(a.dataset.page=o);me("Page updated to ",o,i),ge(r,a.dataset.page)?me("don't rerender"):i&&(a.innerHTML=i.innerHTML,a.dataset.page=o)}),[e,a,o]),{callbacks:{setSlot:n,setContainer:s}}}();return t(e,null,t("div",{ref:d.setSlot,style:{display:"none"}},t("slot",null)),t("div",{style:{display:"contents"},ref:d.setContainer}))}};pe.style="sqm-router{display:contents}";const ye=class{constructor(t){d(this,t),this.ignored=!0,this.buttonType="default",this.scrollAnimation="smooth",n(this)}disconnectedCallback(){}render(){var d;const{callbacks:e}=function(d){const{scrollTagName:t,scrollId:e}=d;return{callbacks:{scroll:async function(){const n=null===document||void 0===document?void 0:document.querySelector(t||`#${e}`);n.dispatchEvent(new CustomEvent("sq:reveal",{detail:t||`#${e}`,bubbles:!0,composed:!0})),await new Promise((d=>setTimeout(d,500))),n.scrollIntoView({behavior:d.scrollAnimation})}}}}(this),n=null!==(d=this.buttonType)&&void 0!==d?d:"primary",i=A({Button:{"& .outline":{"&::part(base)":{color:"var(--sl-color-"+n+"-500)",borderColor:"var(--sl-color-"+n+"-500)",backgroundColor:"transparent","&:hover":{color:"var(--sl-color-primary-text)",backgroundColor:"var(--sl-color-"+n+"-500)"}}},"& .neutral":{"&::part(base)":{color:"var(--sl-color-primary-text)",background:"var(--sl-color-neutral-500)","&:hover":{opacity:"0.8"}}},"& .mobile":{"@media (max-width: 499px)":{width:"100%"}}}}),r=i.toString();let a="";return this.outline&&"default"!=this.buttonType&&(a+="outline "),"neutral"===this.buttonType&&(a+="neutral "),this.mobile&&(a+="mobile "),t("div",{class:i.classes.Button},t("style",{type:"text/css"},`\n\t\t:host{\n\t\t\tdisplay: contents;\n\t\t}\n\t\t${this.mobile&&"\n\t\t@media only screen and (max-width: 499px) {\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t "}\n\t`,r),t("sl-button",{type:this.buttonType,onClick:e.scroll,size:this.size,pill:this.pill,circle:this.circle,class:a},(this.iconSlot||this.iconName)&&t("sl-icon",{slot:this.iconSlot||"prefix",name:this.iconName}),this.buttonText,t("slot",null)))}},be=class{constructor(t){d(this,t),this.type="default",this.iconslot="prefix",this.hideicon=!1,this.hidetext=!1,n(this)}disconnectedCallback(){}render(){const d=L(this),e=h()?function(d){return R({...d,loading:!1,hide:!1,onClick:()=>{}},d.demoData||{},{arrayMerge:(d,t)=>t})}(d):nd(d);return t(id,Object.assign({},e),t("slot",null))}};be.style=":host{display:block}:host([hidden]){display:none}sl-button{display:block}";const we=v.gql`
|
|
133
|
-
query ($programId: ID) {
|
|
134
|
-
user: viewer {
|
|
135
|
-
... on User {
|
|
136
|
-
referralCode(programId: $programId)
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
`,xe=v.gql`
|
|
141
|
-
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
142
|
-
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
143
|
-
}
|
|
144
|
-
`,ke=class{constructor(t){d(this,t),this.tooltiptext="Copied to Clipboard",this.tooltiplifespan=1e3,n(this)}disconnectedCallback(){}render(){const d=L(this),e=h()?function(d){const[t,e]=r(!1),n="SHARECODE001";return R({shareString:n,tooltiptext:d.tooltiptext,open:t,onClick:()=>{navigator.clipboard.writeText(n),e(!0),setTimeout((()=>e(!1)),d.tooltiplifespan)}},d.demoData||{},{arrayMerge:(d,t)=>t})}(d):function(d){var t,e;const n=y(),i=m(),a=I(),{data:s}=g(we,{programId:n},!(null==i?void 0:i.jwt)),[o]=p(xe),$=null!==(e=null===(t=null==s?void 0:s.user)||void 0===t?void 0:t.referralCode)&&void 0!==e?e:"...",[l,u]=r(!1);return{...d,onClick:function(){navigator.clipboard.writeText($),u(!0),setTimeout((()=>u(!1)),d.tooltiplifespan),o({eventMeta:{programId:n,id:null==i?void 0:i.id,accountId:null==i?void 0:i.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:a,shareMedium:"DIRECT"}}})},open:l,shareString:$}}(d);return t(rd,Object.assign({},e))}},Ce=class{constructor(t){d(this,t),this.tooltiptext="Copied to Clipboard",this.tooltiplifespan=1e3,n(this)}disconnectedCallback(){}render(){const d=L(this),e=h()?function(d){const[t,e]=r(!1),n="https://www.example.com/sharelink/abc";return R({shareString:n,tooltiptext:d.tooltiptext,open:t,backgroundColor:d.backgroundColor,textColor:d.textColor,borderColor:d.borderColor,size:d.size,borderRadius:d.borderRadius,onClick:()=>{navigator.clipboard.writeText(n),e(!0),setTimeout((()=>e(!1)),d.tooltiplifespan)}},d.demoData||{},{arrayMerge:(d,t)=>t})}(d):ad(d);return t(rd,Object.assign({},e))}},Ee=class{constructor(t){d(this,t),this.ignored=!0,this.space="xxx-large",this.display="grid",this.hideBorder=!1,n(this)}disconnectedCallback(){}render(){return t(sd,Object.assign({},L(this)),t("slot",null))}},Ne=class{constructor(t){d(this,t),this.colspan=1,this.padding="15px 10px"}render(){return t(e,{style:{display:"contents"}},t("td",{colSpan:this.colspan,style:{padding:this.padding}},t("slot",null)))}},Se=class{constructor(t){d(this,t),this.border="1px solid #EAEAEA"}render(){return t(e,{style:{display:"contents"}},t("tr",{style:{border:this.border}},t("slot",null)))}},Ie=v.gql`
|
|
145
|
-
mutation taskCardEvent($userEventInput: UserEventInput!) {
|
|
146
|
-
logUserEvent(userEventInput: $userEventInput) {
|
|
147
|
-
userId
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
`,Me=class{constructor(t){d(this,t),this.ignored=!0,this.rewardAmount="0",this.rewardUnit="Points",this.cardTitle="Title Text",this.description="",this.repeatable=!1,this.finite=0,this.showProgressBar=!1,this.goal=1,this.steps=!1,this.progressBarUnit="",this.expiryMessage="Ends {endDate}",this.startsOnMessage="Starts {startDate}",this.endedMessage="Ended {endDate}",this.completedText="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",this.buttonText="Complete Action",this.openNewTab=!1,n(this)}disconnectedCallback(){}render(){const{props:d}=h()?F(this):D({...L(this),programId:this.programId}),{value:e,loading:n}=d,{states:r,callbacks:a}=h()?function(d){return R({states:{loadingEvent:!1,locale:"en"},callbacks:{sendEvent:d=>console.log(d),onClick:()=>console.log("clicked")}},d.demoData||{},{arrayMerge:(d,t)=>t})}(this):function(d){const t=m(),e=b(),[n,{data:r,loading:a}]=p(Ie),{refresh:s}=N();function o(){d.openNewTab?window.open(d.buttonLink):window.open(d.buttonLink,"_parent")}function $(d){n({userEventInput:{userId:null==t?void 0:t.id,accountId:null==t?void 0:t.accountId,events:[{key:d,fields:{}}]}})}return i((()=>{r&&(s(),o())}),[r]),{states:{loadingEvent:a,locale:e},callbacks:{sendEvent:$,onClick:function(){d.eventKey?$(d.eventKey):o()}}}}(this);return t(od,{callbacks:a,states:{loading:n,loadingEvent:r.loadingEvent,progress:e,locale:r.locale},content:{...L(this)}})}},Re=class{constructor(t){d(this,t),this.ignored=!0,this.icon="gift",n(this)}disconnectedCallback(){}render(){return T().forEach((d=>{try{d.setIcon(this.icon)}catch{}})),t("div",null,t("style",{type:"text/css"},"\n\t\t:host{\n\t\t\tdisplay: block; \n\t\t}\n\n\t\t::slotted(*:not(:only-child):not(:last-child)) {\n\t\t\tmargin-bottom: var(--sl-spacing-xx-large);\n\t\t}\n\t"),t("slot",null))}},Ae=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M22.5 7.5H18.6761H13.5V24H20.75C21.3023 24 21.75 23.5523 21.75 23V22.5V13.5H22.5H23C23.5523 13.5 24 13.0523 24 12.5V12V9V8.5C24 7.94772 23.5523 7.5 23 7.5H22.5Z",fill:"#F2C94C"}),t("path",{d:"M2.25 22.5V23C2.25 23.5523 2.69772 24 3.25 24H10.5V7.5H6.96363H1.5H1C0.447715 7.5 0 7.94772 0 8.5V9V12V12.5C0 13.0523 0.447715 13.5 1 13.5H1.5H2.25V22.5Z",fill:"#F2C94C"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.25 13.5V15H21.75V13.5H2.25Z",fill:"#BE9720"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 4.06424C21 5.39348 19.0041 7.4062 18 7.5H13.5V24H10.5027V7.5H6.88188C4.8187 7.05273 3 5.46806 3 3.78109C3 2.1371 3.71404 0.835051 5.01276 0.273062C6.25382 -0.26398 7.68678 0.0304991 8.81964 0.817C10.2101 1.78237 10.9902 3.59446 11.6978 5.2384C11.7599 5.38268 11.8215 5.52566 11.8828 5.66667C11.9426 5.53298 12.0028 5.3969 12.0638 5.25912C12.7649 3.67422 13.5654 1.86488 14.9106 0.893444C16.0997 0.0347157 17.6114 -0.289736 18.9181 0.298417C20.2693 0.906596 21 2.3018 21 4.06424ZM15.9185 2.25C16.6392 1.72957 17.502 1.63518 18.2396 2.25C18.8819 2.78542 18.9162 3.03745 18.9987 3.64389L19.0133 3.75C19.0133 4.64776 18.2396 6 17.4659 6C16.9177 6 16.4871 5.99537 16.0836 5.99103C15.3479 5.98312 14.702 5.97618 13.5974 6C13.808 5.59179 13.9761 5.20003 14.1365 4.82641C14.5654 3.82715 14.9386 2.95763 15.9185 2.25ZM7.40792 2.25C7.05911 2.00783 6.25921 2.11591 5.92748 2.25945C5.65341 2.37805 5.24403 2.73987 5.24403 3.78109C5.24403 4.79286 6.88188 5.66667 6.88188 5.66667C6.88188 5.66667 8.18161 6 10.5027 6C9.71258 4.04177 8.59336 3.073 7.40792 2.25Z",fill:"#EB5757"})),Pe=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("circle",{cx:"12",cy:"12",r:"9",fill:"currentColor",stroke:"currentColor","stroke-width":"2"})),Te=A({TimelineReward:{lineHeight:"var(--sl-line-height-dense)","& .container":{display:"flex"},"& .line":{display:"none",color:"transparent",userSelect:"none",background:"var(--sl-color-primary-300)",width:"4px",borderRadius:"4px",margin:"-2px",position:"relative",left:"12px",top:"34px"},"& .step":{display:"flex"},"& .icon":{position:"relative",top:"4px",zIndex:"1",color:"var(--sl-color-primary-300)",marginRight:"var(--sl-spacing-large)"},"& .reward":{marginRight:"var(--sl-spacing-x-small)",fontSize:"var(--sl-font-size-x-large)",fontWeight:"var(--sl-font-weight-semibold)"},"& .unit":{textTransform:"uppercase",fontSize:"var(--sl-font-size-small)"},"& .description":{fontSize:"var(--sl-font-size-medium)"}}}),Le=Te.toString();function Oe(d){var e;const n=null!==(e=d.icon)&&void 0!==e?e:d.iconState;return t("div",{class:Te.classes.TimelineReward,style:{color:d.textColor||"var(--sl-color-neutral-900)"}},t("style",{type:"text/css"},Le,"\n\t:host{\n\t\tdisplay: block; \n\t}\n\n\t:host(:not(:last-of-type)) .line {\n\t\tdisplay: block; \n\t}\n\t"),t("div",{class:"container"},t("div",{class:"line"},"/"),t("div",{class:"step"},"gift"===n&&t("div",{class:"icon"},t(Ae,null)),"circle"===n&&t("div",{class:"icon"},t(Pe,null)),t("div",null,t("div",null,t("span",{class:"reward"},d.reward),t("span",{class:"unit"},d.unit)),t("div",{class:"description"},d.desc)))))}const _e=class{constructor(t){d(this,t),this.ignored=!0,this.iconState="gift",n(this)}async setIcon(d){this.iconState=d}disconnectedCallback(){}render(){return P([this.reward]),t(Oe,Object.assign({},L(this)))}};function Fe(d){return t(e,null,d.loading?d.loadingText:d.username)}const De=v.gql`
|
|
151
|
-
query getUserName {
|
|
152
|
-
viewer {
|
|
153
|
-
... on User {
|
|
154
|
-
firstName
|
|
155
|
-
lastName
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
`,Be=class{constructor(t){d(this,t),this._ignored=!0,this.fallback="Anonymous User",this.loadingText="...",n(this)}disconnectedCallback(){}render(){const d=h()?function(d){return R({loading:!1,loadingText:"...",username:"John Smith"},d.demoData||{},{arrayMerge:(d,t)=>t})}(this):function(d){var t,e,n,i,r,a,s,o;const $=m(),l=g(De,{},!(null==$?void 0:$.jwt)),u=(null===(e=null===(t=l.data)||void 0===t?void 0:t.viewer)||void 0===e?void 0:e.firstName)||(null===(i=null===(n=l.data)||void 0===n?void 0:n.viewer)||void 0===i?void 0:i.lastName)?`${null===(a=null===(r=l.data)||void 0===r?void 0:r.viewer)||void 0===a?void 0:a.firstName} ${null===(o=null===(s=l.data)||void 0===s?void 0:s.viewer)||void 0===o?void 0:o.lastName}`:d.fallback;return{loadingText:d.loadingText,loading:l.loading,username:u}}(this);return t(Fe,Object.assign({},d))}};export{$d as sqm_big_stat,ld as sqm_brand,ud as sqm_card_feed,vd as sqm_checkbox_field,gd as sqm_divided_layout,pd as sqm_dropdown_field,xd as sqm_edit_profile,Cd as sqm_hero_image,Ed as sqm_hook_story_container,Nd as sqm_input_field,Md as sqm_leaderboard,Pd as sqm_name_fields,Ld as sqm_navigation_menu,Od as sqm_portal_change_password,_d as sqm_portal_frame,Fd as sqm_portal_login,Xt as sqm_portal_register,Qt as sqm_program_explainer,te as sqm_program_explainer_step,ne as sqm_program_menu,se as sqm_referral_card,$e as sqm_referral_iframe,fe as sqm_reward_exchange_list,pe as sqm_router,ye as sqm_scroll,be as sqm_share_button,ke as sqm_share_code,Ce as sqm_share_link,Ee as sqm_stat_container,Ne as sqm_table_cell,Se as sqm_table_row,Me as sqm_task_card,Re as sqm_timeline,_e as sqm_timeline_entry,Be as sqm_user_name}
|