@saasquatch/mint-components 2.5.5-2 → 2.5.5
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-5f15a922.js +4764 -0
- package/dist/cjs/{ErrorView-17578c10.js → ErrorView-8f6cf1cb.js} +1 -1
- package/dist/cjs/{GenericTableView-4c48c630.js → GenericTableView-12d35117.js} +17 -15
- package/dist/cjs/{JSS-8503a151.js → JSS-bf8078e9.js} +342 -338
- package/dist/cjs/{ShadowViewAddon-f57cb460.js → ShadowViewAddon-ee16ec1d.js} +312 -292
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-49517b2a.js} +2 -2
- package/dist/cjs/{data-ae38fa86.js → data-77273531.js} +5 -5
- package/dist/cjs/demoMerge-6f125494.js +203 -0
- package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-735c3942.js} +133 -76
- package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-36a74293.js} +10 -9
- package/dist/cjs/{global-3ba30270.js → global-973bc63c.js} +587 -583
- package/dist/cjs/{index.module-3221a469.js → index-8530c62f.js} +2911 -511
- package/dist/cjs/{index-8277cbb3.js → index-d41c2c94.js} +766 -340
- package/dist/cjs/{index-8c6255f5.js → index-f1dd6136.js} +47 -29
- package/dist/cjs/{jsonpointer-11327262.js → jsonpointer-0db21316.js} +8 -4
- package/dist/cjs/loader.cjs.js +6 -5
- package/dist/cjs/{luxon-c1ad356a.js → luxon-d3612a3d.js} +486 -299
- package/dist/cjs/mint-components.cjs.js +11 -7
- package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-e6a0a048.js} +5 -3
- package/dist/cjs/{parseStates-d1effc19.js → parseStates-35013ba4.js} +3 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-34b36aca.js → re-render-51c48d7c.js} +5 -5
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +399 -1395
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +813 -2891
- package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-74e5e1e9.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -11
- package/dist/cjs/sqm-code-verification.cjs.entry.js +20 -47
- package/dist/cjs/sqm-context-router.cjs.entry.js +9 -8
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +71 -182
- package/dist/cjs/sqm-empty_4.cjs.entry.js +21 -58
- package/dist/cjs/sqm-form-message_2.cjs.entry.js +7 -19
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +10 -9
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +11 -10
- package/dist/cjs/sqm-header-logo.cjs.entry.js +4 -19
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +14 -89
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +6 -8
- package/dist/cjs/{sqm-lead-checkbox-field-view-d6df81c7.js → sqm-lead-checkbox-field-view-24ac7358.js} +12 -11
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +14 -30
- package/dist/cjs/sqm-lead-input-field-view-7dfbc714.js +52 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +15 -31
- package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-e992762c.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +25 -22
- package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-ebee238e.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +17 -28
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9134e64e.js → sqm-navigation-sidebar-item-view-a2cab80e.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +23 -18
- package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-873e0c44.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +12 -17
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +40 -102
- package/dist/cjs/{sqm-partner-info-modal-view-6173c618.js → sqm-partner-info-modal-view-c8972001.js} +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +186 -86
- package/dist/cjs/sqm-popup-container.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-container-view-757f921b.js → sqm-portal-container-view-c0cf9af9.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-38d8344c.js → sqm-portal-email-verification-view-92866725.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +22 -52
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +101 -429
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +7 -13
- package/dist/cjs/{sqm-portal-profile-view-062eda68.js → sqm-portal-profile-view-60e78cdb.js} +20 -17
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +20 -56
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -24
- package/dist/cjs/{sqm-portal-registration-form-view-a45f7a52.js → sqm-portal-registration-form-view-5473e24d.js} +26 -21
- package/dist/cjs/{sqm-portal-reset-password-view-b2c546bd.js → sqm-portal-reset-password-view-7a6f55c5.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +21 -89
- package/dist/cjs/{sqm-portal-verify-email-view-2a120d0a.js → sqm-portal-verify-email-view-7efa70c9.js} +48 -45
- package/dist/cjs/{sqm-qr-code-view-0d43424e.js → sqm-qr-code-view-70da70f9.js} +3 -3
- package/dist/cjs/sqm-qr-code.cjs.entry.js +22 -48
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +37 -140
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +5 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -7
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +98 -217
- package/dist/cjs/sqm-route.cjs.entry.js +2 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +12 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2892 -2264
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-text-span-view-b9e10f5d.js → sqm-text-span-view-c6938acd.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +8 -4
- package/dist/cjs/{sqm-user-info-form-view-aedca5fe.js → sqm-user-info-form-view-e878a9a3.js} +173 -163
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +6 -11
- package/dist/cjs/subregions-3dbacb18.js +1467 -0
- package/dist/cjs/{useChildElements-36f7e4bb.js → useChildElements-e5e26816.js} +3 -3
- package/dist/cjs/{useIndirectTaxForm-7656fc63.js → useIndirectTaxForm-691691c2.js} +42 -38
- package/dist/cjs/{useInstantAccessRegistration-43514e50.js → useInstantAccessRegistration-9201777d.js} +6 -6
- package/dist/cjs/{useLeadFormState-34f9834b.js → useLeadFormState-f5b768b9.js} +20 -20
- package/dist/cjs/{usePortalRegistrationForm-b18a1f6b.js → usePortalRegistrationForm-b3c0451b.js} +16 -13
- package/dist/cjs/{useReferralCodes-25d5320a.js → useReferralCodes-5794a177.js} +11 -11
- package/dist/cjs/{useReferralTable-ad86986b.js → useReferralTable-32b3541b.js} +19 -19
- package/dist/cjs/{useRegistrationFormState-ea81d55a.js → useRegistrationFormState-feccd2c8.js} +3 -3
- package/dist/cjs/{useVerificationEmail-70aad5f1.js → useVerificationEmail-f0807562.js} +17 -15
- package/dist/cjs/{utilities-dfc34bea.js → utilities-04345466.js} +3 -3
- package/dist/collection/ShadowViewAddon.js +1 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +36 -34
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +3 -7
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +11 -23
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +11 -27
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -16
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +294 -298
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +3 -3
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +4 -72
- package/dist/collection/components/sqm-brand/sqm-brand.js +61 -58
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +43 -120
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -5
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +55 -59
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +17 -22
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +5 -19
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +18 -21
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-close-button/CloseButton.stories.js +3 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +1 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button.js +32 -35
- package/dist/collection/components/sqm-context-router/ContextRouter.js +4 -33
- package/dist/collection/components/sqm-context-router/sqm-context-router.js +39 -33
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -7
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +601 -695
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +10 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +19 -36
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +129 -135
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +7 -7
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +3 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +13 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +128 -133
- package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +2 -2
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +9 -9
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +27 -45
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +272 -264
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +4 -3
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +4 -7
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +6 -12
- package/dist/collection/components/sqm-empty/sqm-empty.js +102 -95
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +9 -27
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +102 -108
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +61 -56
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +32 -28
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +147 -161
- package/dist/collection/components/sqm-hero/Hero.stories.js +20 -54
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +5 -11
- package/dist/collection/components/sqm-hero/sqm-hero.js +177 -202
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -26
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +533 -590
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +28 -23
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -6
- package/dist/collection/components/sqm-image/sqm-image.js +131 -131
- package/dist/collection/components/sqm-input-field/InputField.stories.js +17 -17
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +7 -22
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +14 -15
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +156 -162
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +410 -481
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +2 -18
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -14
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +27 -23
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +29 -29
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +85 -80
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +68 -64
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +40 -39
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -8
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +287 -310
- package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +1 -3
- package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +6 -10
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +10 -10
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +20 -24
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +13 -17
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +174 -189
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +22 -48
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +365 -420
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +13 -16
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +179 -191
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +3 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +23 -29
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +3 -15
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +11 -35
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +553 -563
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +3 -12
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +200 -192
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +4 -3
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +1 -6
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +73 -77
- package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +1 -9
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +106 -115
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +104 -109
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +21 -20
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +104 -109
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +6 -9
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +92 -82
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +1 -8
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +71 -73
- package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +1 -4
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +315 -308
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +1 -9
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +94 -100
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +13 -13
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +22 -54
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +515 -603
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +3 -3
- package/dist/collection/components/sqm-password-field/passwordValidation.js +8 -20
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +16 -18
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +197 -219
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +1 -7
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -4
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +82 -84
- package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +1 -2
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -5
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +161 -155
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +5 -5
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +8 -17
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +142 -154
- package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -24
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +380 -436
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +5 -2
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +16 -119
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -5
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +280 -299
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +5 -5
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +13 -25
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +216 -243
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -1
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +6 -6
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +1 -12
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -16
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +317 -351
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -14
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +279 -316
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -1
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +14 -55
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +1 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +141 -158
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +295 -342
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +19 -26
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +645 -749
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -17
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +255 -292
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +33 -36
- package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +6 -6
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +15 -26
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +282 -314
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +72 -82
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +8 -13
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +15 -28
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +525 -610
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -1
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +10 -15
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +20 -33
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +573 -663
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +5 -2
- package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -29
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +449 -514
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +2 -1
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -2
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +2 -14
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +196 -222
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +4 -2
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +20 -32
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -7
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +84 -78
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -10
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +231 -220
- package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +8 -25
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +8 -9
- package/dist/collection/components/sqm-qr-code/QRCode.stories.js +8 -8
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -11
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +206 -230
- package/dist/collection/components/sqm-radio-card/RadioCard.stories.js +2 -2
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +1 -9
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +29 -86
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +3 -11
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +304 -335
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +14 -14
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +369 -410
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +3 -3
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +9 -36
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +3 -14
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +167 -175
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +2 -4
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -3
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +125 -132
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +9 -24
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +5 -8
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +30 -30
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +8 -30
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +28 -23
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +219 -278
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +81 -76
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +24 -20
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +65 -61
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +120 -139
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +260 -300
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +208 -225
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +124 -133
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +229 -253
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +479 -557
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +5 -26
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -18
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +26 -28
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +96 -174
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +618 -726
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +16 -31
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +12 -15
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +11 -11
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +8 -30
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +45 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +97 -103
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +160 -156
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +336 -332
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +96 -105
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +67 -66
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +127 -135
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +173 -197
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +390 -463
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +4 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +206 -219
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -3
- package/dist/collection/components/sqm-route/sqm-route.js +31 -26
- package/dist/collection/components/sqm-router/Router.stories.js +4 -33
- package/dist/collection/components/sqm-router/sqm-router.js +17 -14
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +6 -89
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +259 -255
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +12 -46
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -7
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -6
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +509 -521
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +13 -13
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +329 -360
- package/dist/collection/components/sqm-share-code/useShareCode.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +85 -86
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +17 -20
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +21 -49
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +987 -1192
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +55 -59
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -5
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +162 -185
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +12 -15
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -5
- package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +1 -2
- package/dist/collection/components/sqm-stencilbook/Matrix.js +4 -13
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -13
- package/dist/collection/components/sqm-tab/sqm-tab.js +27 -25
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +47 -49
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +27 -30
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +10 -17
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +62 -59
- package/dist/collection/components/sqm-tabs/useTabs.js +1 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -7
- package/dist/collection/components/sqm-task-card/SVGs.js +3 -7
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +31 -277
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +1 -17
- package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +2 -10
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +10 -13
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +56 -83
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +780 -860
- package/dist/collection/components/sqm-text/Text.stories.js +2 -4
- package/dist/collection/components/sqm-text/sqm-text.js +61 -57
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -5
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +109 -101
- package/dist/collection/components/sqm-timeline/SVGs.js +3 -9
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +5 -57
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -16
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +178 -166
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +41 -45
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +5 -206
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -4
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +129 -148
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -7
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +1 -3
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +146 -137
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +82 -84
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +6 -26
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +215 -240
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +12 -22
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +12 -30
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +177 -195
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +33 -41
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +771 -921
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +4 -2
- package/dist/collection/components/tax-and-cash/SVGs.js +1 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +188 -198
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +34 -83
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1864 -2210
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -7
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +13 -31
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +26 -53
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +565 -660
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -3
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +24 -63
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +699 -816
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +11 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +1 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -20
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +130 -147
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -33
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +910 -1035
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +2 -19
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +4760 -5686
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +89 -176
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +1857 -2159
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +27 -27
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +24 -44
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +120 -157
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +713 -823
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -7
- package/dist/collection/components/views/EmailRegistration.stories.js +60 -60
- package/dist/collection/components/views/copy-text-view.js +6 -17
- package/dist/collection/components/views/email-registration-view.js +14 -28
- package/dist/collection/global/styles.js +8 -4
- package/dist/collection/stories/NewPortal.stories.js +106 -178
- package/dist/collection/tables/GenericTableView.js +19 -27
- package/dist/collection/tables/TableSlots.js +5 -19
- package/dist/collection/utils/DefaultTemplateView.js +6 -24
- package/dist/collection/utils/RequiredPropsError.js +10 -24
- package/dist/collection/utils/TemplateView.js +1 -3
- package/dist/collection/utils/demoMerge.js +10 -0
- package/dist/esm/AsYouType-cc09fa68.js +4746 -0
- package/dist/esm/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-4f7ac63d.js} +17 -15
- package/dist/esm/{JSS-67b5cff8.js → JSS-e97b34f4.js} +341 -337
- package/dist/esm/{ShadowViewAddon-e1375e0d.js → ShadowViewAddon-0c8005bd.js} +284 -264
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-e1c3f2cd.js} +2 -2
- package/dist/esm/{data-04d2da44.js → data-510cc9b7.js} +1 -1
- package/dist/esm/demoMerge-a0320a8e.js +201 -0
- package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-f88a3e54.js} +129 -72
- package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-7a63a912.js} +10 -9
- package/dist/esm/{global-f019575d.js → global-cf0cc6b1.js} +586 -582
- package/dist/esm/{index-38ad4957.js → index-7a8b0c0b.js} +766 -341
- package/dist/esm/{index.module-cc08450c.js → index-b04013cc.js} +2873 -473
- package/dist/esm/{index-ffa26b43.js → index-e6f5153e.js} +47 -29
- package/dist/esm/{jsonpointer-388a7082.js → jsonpointer-c5423376.js} +8 -4
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{luxon-1be92a8e.js → luxon-40b943cb.js} +486 -299
- package/dist/esm/mint-components.js +8 -7
- package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-2cceba7a.js} +5 -3
- package/dist/esm/{parseStates-ed75e224.js → parseStates-0c27f2de.js} +3 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-380499f8.js → re-render-e911a0f7.js} +5 -5
- package/dist/esm/sqm-banking-info-form_10.entry.js +381 -1377
- package/dist/esm/sqm-big-stat_47.entry.js +762 -2840
- package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -10
- package/dist/esm/sqm-code-verification.entry.js +19 -46
- package/dist/esm/sqm-context-router.entry.js +6 -5
- package/dist/esm/sqm-email-verification_2.entry.js +43 -154
- package/dist/esm/sqm-empty_4.entry.js +21 -58
- package/dist/esm/sqm-form-message_2.entry.js +7 -19
- package/dist/esm/sqm-google-sign-in.entry.js +4 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +9 -8
- package/dist/esm/sqm-header-logo.entry.js +4 -19
- package/dist/esm/sqm-instant-access-registration.entry.js +12 -87
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +6 -8
- package/dist/esm/{sqm-lead-checkbox-field-view-04aa32a7.js → sqm-lead-checkbox-field-view-d055e7bd.js} +12 -11
- package/dist/esm/sqm-lead-checkbox-field.entry.js +12 -28
- package/dist/esm/sqm-lead-input-field-view-b0d62f1c.js +50 -0
- package/dist/esm/sqm-lead-input-field.entry.js +13 -29
- package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +22 -19
- package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +12 -23
- package/dist/esm/{sqm-navigation-sidebar-item-view-40837457.js → sqm-navigation-sidebar-item-view-754b2484.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +21 -16
- package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-e2094399.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +11 -16
- package/dist/esm/sqm-pagination_3.entry.js +35 -97
- package/dist/esm/{sqm-partner-info-modal-view-e02fb63a.js → sqm-partner-info-modal-view-3b59be37.js} +4 -4
- package/dist/esm/sqm-password-field.entry.js +185 -85
- package/dist/esm/sqm-popup-container.entry.js +12 -12
- package/dist/esm/{sqm-portal-container-view-200c9df8.js → sqm-portal-container-view-fcd53673.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +18 -48
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +73 -401
- package/dist/esm/sqm-portal-logout.entry.js +5 -11
- package/dist/esm/{sqm-portal-profile-view-41894261.js → sqm-portal-profile-view-f27adfba.js} +20 -17
- package/dist/esm/sqm-portal-profile.entry.js +16 -52
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -21
- package/dist/esm/{sqm-portal-registration-form-view-79265df5.js → sqm-portal-registration-form-view-113e1969.js} +26 -21
- package/dist/esm/{sqm-portal-reset-password-view-c7dd1c01.js → sqm-portal-reset-password-view-f9fb6355.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +18 -86
- package/dist/esm/{sqm-portal-verify-email-view-c102aa7c.js → sqm-portal-verify-email-view-ee40e3f2.js} +48 -45
- package/dist/esm/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +3 -3
- package/dist/esm/sqm-qr-code.entry.js +18 -44
- package/dist/esm/sqm-referral-table_11.entry.js +36 -139
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +5 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -7
- package/dist/esm/sqm-rewards-table_9.entry.js +55 -174
- package/dist/esm/sqm-route.entry.js +2 -1
- package/dist/esm/sqm-scroll.entry.js +12 -8
- package/dist/esm/sqm-stencilbook.entry.js +4808 -4180
- package/dist/esm/sqm-tab.entry.js +5 -4
- package/dist/esm/sqm-tabs.entry.js +9 -8
- package/dist/esm/{sqm-text-span-view-72f43dff.js → sqm-text-span-view-ed92b3c6.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +8 -4
- package/dist/esm/{sqm-user-info-form-view-8a95c5eb.js → sqm-user-info-form-view-c044a385.js} +173 -163
- package/dist/esm/sqm-widget-verification-controller.entry.js +4 -9
- package/dist/esm/subregions-d9f177f6.js +1452 -0
- package/dist/esm/{useChildElements-aa9eb7c9.js → useChildElements-a69f208f.js} +3 -3
- package/dist/esm/{useIndirectTaxForm-8d2e873d.js → useIndirectTaxForm-64a3ca69.js} +32 -28
- package/dist/esm/{useInstantAccessRegistration-7b11eb02.js → useInstantAccessRegistration-8c678a5a.js} +6 -6
- package/dist/esm/{useLeadFormState-b67018f2.js → useLeadFormState-34e05463.js} +7 -7
- package/dist/esm/{usePortalRegistrationForm-91e5786d.js → usePortalRegistrationForm-c6519939.js} +14 -11
- package/dist/esm/{useReferralCodes-a0a271ca.js → useReferralCodes-d0a384e4.js} +9 -9
- package/dist/esm/{useReferralTable-670580ff.js → useReferralTable-214dff06.js} +11 -11
- package/dist/esm/{useRegistrationFormState-95a75c57.js → useRegistrationFormState-72b4786d.js} +3 -3
- package/dist/esm/{useVerificationEmail-99d9f705.js → useVerificationEmail-b2c349a3.js} +12 -10
- package/dist/esm/{utilities-23a276e0.js → utilities-ceab25cd.js} +2 -2
- package/dist/esm-es5/AsYouType-cc09fa68.js +1 -0
- package/dist/esm-es5/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm-es5/GenericTableView-4f7ac63d.js +1 -0
- package/dist/esm-es5/JSS-e97b34f4.js +8 -0
- package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +1 -0
- package/dist/esm-es5/copy-text-view-e1c3f2cd.js +1 -0
- package/dist/esm-es5/data-510cc9b7.js +1 -0
- package/dist/esm-es5/demoMerge-a0320a8e.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-f88a3e54.js +53 -0
- package/dist/esm-es5/email-registration-view-7a63a912.js +1 -0
- package/dist/esm-es5/global-cf0cc6b1.js +271 -0
- package/dist/esm-es5/imageUrl-4775f17b.js +1 -1
- package/dist/esm-es5/index-7a8b0c0b.js +2 -0
- package/dist/esm-es5/index-b04013cc.js +1 -0
- package/dist/esm-es5/index-e6f5153e.js +1 -0
- package/dist/esm-es5/jsonpointer-c5423376.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-40b943cb.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mockRewardData-2cceba7a.js +1 -0
- package/dist/esm-es5/parseStates-0c27f2de.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-e911a0f7.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message_2.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field-view-d055e7bd.js +1 -0
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field-view-b0d62f1c.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-754b2484.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-e2094399.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-3b59be37.js +1 -0
- 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-fcd53673.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-f27adfba.js +1 -0
- 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-view-113e1969.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password-view-f9fb6355.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-ee40e3f2.js +1 -0
- package/dist/esm-es5/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.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-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.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-ed92b3c6.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-c044a385.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/subregions-d9f177f6.js +1 -0
- package/dist/esm-es5/useChildElements-a69f208f.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-64a3ca69.js +6 -0
- package/dist/esm-es5/useInstantAccessRegistration-8c678a5a.js +1 -0
- package/dist/esm-es5/useLeadFormState-34e05463.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-c6519939.js +1 -0
- package/dist/esm-es5/useReferralCodes-d0a384e4.js +1 -0
- package/dist/esm-es5/useReferralTable-214dff06.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-72b4786d.js +1 -0
- package/dist/esm-es5/useVerificationEmail-b2c349a3.js +1 -0
- package/dist/esm-es5/utilities-ceab25cd.js +1 -0
- package/dist/esm-es5/utils-334c1e34.js +1 -1
- package/dist/loader/index.d.ts +9 -1
- package/dist/loader/package.json +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +2 -1
- package/dist/mint-components/p-029ee766.system.js +1 -0
- package/dist/mint-components/p-04eaa3bb.system.js +1 -0
- package/dist/mint-components/p-056845fb.js +56 -0
- package/dist/mint-components/p-05715d8c.system.entry.js +1 -0
- package/dist/mint-components/p-0650e0f1.system.js +1 -0
- package/dist/mint-components/p-09a6ab1f.entry.js +1 -0
- package/dist/mint-components/p-0a8c9f35.system.entry.js +1 -0
- package/dist/mint-components/{p-11c127f5.js → p-0b77b3fe.js} +1 -1
- package/dist/mint-components/p-0bc61e27.system.entry.js +1 -0
- package/dist/mint-components/p-0bdacc2d.system.js +1 -0
- package/dist/mint-components/p-0c81f11f.system.entry.js +1 -0
- package/dist/mint-components/p-0c97293e.entry.js +1 -0
- package/dist/mint-components/p-0d69fc17.system.entry.js +1 -0
- package/dist/mint-components/p-0daa339e.entry.js +1 -0
- package/dist/mint-components/p-0f65e4ad.system.js +1 -0
- package/dist/mint-components/p-11028f98.system.js +1 -0
- package/dist/mint-components/p-119b9680.system.js +1 -0
- package/dist/mint-components/{p-ed741b3b.js → p-125c5bec.js} +6 -6
- package/dist/mint-components/p-12ae9c97.entry.js +1 -0
- package/dist/mint-components/p-139825b2.entry.js +1 -0
- package/dist/mint-components/p-14f0af4c.system.entry.js +1 -0
- package/dist/mint-components/{p-1a3a57c0.js → p-159a9368.js} +1 -1
- package/dist/mint-components/{p-78e98761.js → p-15f170d4.js} +4 -4
- package/dist/mint-components/p-162e5426.system.js +1 -0
- package/dist/mint-components/p-1933e4cc.system.entry.js +1 -0
- package/dist/mint-components/p-1aa5cdff.entry.js +1 -0
- package/dist/mint-components/p-1b673705.system.js +1 -0
- package/dist/mint-components/p-1e1543c7.entry.js +1 -0
- package/dist/mint-components/p-201ae45a.js +1 -0
- package/dist/mint-components/p-20b90db3.system.entry.js +1 -0
- package/dist/mint-components/p-2380b28e.system.entry.js +1 -0
- package/dist/mint-components/p-258152c8.system.entry.js +1 -0
- package/dist/mint-components/p-29be0454.system.entry.js +1 -0
- package/dist/mint-components/p-2af001d4.system.js +1 -0
- package/dist/mint-components/{p-88e16945.js → p-2b052eed.js} +1 -1
- package/dist/mint-components/p-2b5c577a.system.js +1 -0
- package/dist/mint-components/p-2ff39583.entry.js +33 -0
- package/dist/mint-components/p-3104b4ba.entry.js +1 -0
- package/dist/mint-components/p-324dd9c9.system.entry.js +1 -0
- package/dist/mint-components/p-32b3c92e.system.entry.js +1 -0
- package/dist/mint-components/{p-c813ec64.js → p-3595dbe3.js} +1 -1
- package/dist/mint-components/p-384d4366.system.entry.js +1 -0
- package/dist/mint-components/{p-a417a4c7.js → p-388fdcdc.js} +1 -1
- package/dist/mint-components/{p-acaf505d.entry.js → p-39e59497.entry.js} +1 -1
- package/dist/mint-components/p-3a8fa8df.system.entry.js +1 -0
- package/dist/mint-components/{p-456ccda6.system.js → p-3aab5e80.system.js} +1 -1
- package/dist/mint-components/p-3b7eac48.js +1 -0
- package/dist/mint-components/p-3f9d4025.js +254 -0
- package/dist/mint-components/p-4639a9ed.entry.js +1 -0
- package/dist/mint-components/p-483c2ce0.system.entry.js +1 -0
- package/dist/mint-components/p-487dac4b.system.js +271 -0
- package/dist/mint-components/p-49ca1533.system.entry.js +1 -0
- package/dist/mint-components/p-49d4188a.system.js +1 -0
- package/dist/mint-components/p-4be3689e.system.entry.js +1 -0
- package/dist/mint-components/p-4d690bf1.system.js +1 -0
- package/dist/mint-components/p-4ea630ba.system.js +1 -0
- package/dist/mint-components/p-5a1be3aa.entry.js +83 -0
- package/dist/mint-components/p-5a2c495f.js +1 -0
- package/dist/mint-components/p-5b043988.system.entry.js +1 -0
- package/dist/mint-components/p-5bacacba.entry.js +13 -0
- package/dist/mint-components/p-5e7e4e54.system.entry.js +1 -0
- package/dist/mint-components/p-6333265f.system.js +1 -1
- package/dist/mint-components/p-643a756b.system.js +53 -0
- package/dist/mint-components/p-647ca265.entry.js +1 -0
- package/dist/mint-components/p-647ffff2.entry.js +1 -0
- package/dist/mint-components/p-64c93b03.system.js +1 -0
- package/dist/mint-components/p-6708043c.entry.js +1 -0
- package/dist/mint-components/p-6a7c9ae4.system.entry.js +1 -0
- package/dist/mint-components/p-6a7cd966.system.js +1 -0
- package/dist/mint-components/p-6b9ff091.system.js +1 -0
- package/dist/mint-components/p-6be0e0a7.system.entry.js +1 -0
- package/dist/mint-components/p-6ccdf33a.js +1 -0
- package/dist/mint-components/p-6cdde5e8.system.js +1 -0
- package/dist/mint-components/p-6cfca206.js +1 -0
- package/dist/mint-components/{p-d276468c.js → p-6e00edce.js} +1 -1
- package/dist/mint-components/p-6eb14db9.system.entry.js +1 -0
- package/dist/mint-components/p-6f3ba1ad.system.js +1 -0
- package/dist/mint-components/p-6f66bb97.system.js +1 -0
- package/dist/mint-components/p-7127e360.system.entry.js +1 -0
- package/dist/mint-components/{p-d0559e66.js → p-71759064.js} +1 -1
- package/dist/mint-components/p-72f11f03.js +1 -0
- package/dist/mint-components/p-732ac03d.js +1 -0
- package/dist/mint-components/p-74f50554.js +1 -0
- package/dist/mint-components/p-7558fe46.js +499 -0
- package/dist/mint-components/{p-c43e1d3b.js → p-75b7496e.js} +1 -1
- package/dist/mint-components/p-76d36b05.js +1 -0
- package/dist/mint-components/p-7a8ed2f3.system.entry.js +1 -0
- package/dist/mint-components/{p-3390f1f2.system.js → p-7d992af1.system.js} +2 -2
- package/dist/mint-components/p-7f71b56b.system.entry.js +1 -0
- package/dist/mint-components/p-81b63e83.system.entry.js +1 -0
- package/dist/mint-components/p-83330731.system.js +1 -0
- package/dist/mint-components/p-834cd992.js +2 -0
- package/dist/mint-components/p-843c9997.system.js +1 -0
- package/dist/mint-components/{p-956f9479.system.js → p-8680e52b.system.js} +1 -1
- package/dist/mint-components/p-8740794e.system.js +2 -0
- package/dist/mint-components/p-885630e6.entry.js +1 -0
- package/dist/mint-components/p-8886a874.system.js +1 -0
- package/dist/mint-components/p-88b65807.system.js +1 -0
- package/dist/mint-components/p-89b410d5.system.entry.js +1 -0
- package/dist/mint-components/p-89eef397.entry.js +1 -0
- package/dist/mint-components/p-8aae5dba.system.entry.js +1 -0
- package/dist/mint-components/p-8ba39302.entry.js +1 -0
- package/dist/mint-components/{p-c2254b88.js → p-8d85f34c.js} +1 -1
- package/dist/mint-components/p-8f67c580.js +1 -0
- package/dist/mint-components/p-8fa1f8e3.entry.js +1 -0
- package/dist/mint-components/p-930cc94f.system.js +1 -0
- package/dist/mint-components/p-94f3e0a2.js +1 -0
- package/dist/mint-components/p-96e332db.entry.js +17 -0
- package/dist/mint-components/p-9755e82a.system.entry.js +1 -0
- package/dist/mint-components/p-9a7f186b.entry.js +1 -0
- package/dist/mint-components/p-9c2e286c.entry.js +11 -0
- package/dist/mint-components/{p-e30abc44.js → p-9cabd2d1.js} +1 -1
- package/dist/mint-components/p-9d06abb3.entry.js +13 -0
- package/dist/mint-components/p-9d1659c4.entry.js +308 -0
- package/dist/mint-components/p-9d6ef5ca.entry.js +11 -0
- package/dist/mint-components/p-a0e6ccbc.system.js +1 -0
- package/dist/mint-components/p-a35191ca.system.js +1 -0
- package/dist/mint-components/p-a3d1c665.system.entry.js +1 -0
- package/dist/mint-components/p-a43a9fa9.system.js +1 -1
- package/dist/mint-components/{p-04da3964.system.js → p-a6c96b8a.system.js} +1 -1
- package/dist/mint-components/p-a75748c4.js +13 -0
- package/dist/mint-components/{p-f9fcc772.js → p-a7a74002.js} +1 -1
- package/dist/mint-components/{p-3484f1c1.js → p-a8e2f45b.js} +1 -1
- package/dist/mint-components/p-a976d930.system.entry.js +1 -0
- package/dist/mint-components/p-aadbe44d.js +1 -0
- package/dist/mint-components/p-aaf15612.entry.js +1 -0
- package/dist/mint-components/p-ab1e96ea.system.js +1 -0
- package/dist/mint-components/p-abd9e52b.system.entry.js +1 -0
- package/dist/mint-components/{p-19aebd7d.js → p-ac32d96a.js} +1 -1
- package/dist/mint-components/{p-381af581.js → p-acd3e9e3.js} +1 -1
- package/dist/mint-components/{p-9a69f781.system.js → p-ae5f7df6.system.js} +1 -1
- package/dist/mint-components/p-af9d3491.js +1 -0
- package/dist/mint-components/p-b1f880ee.entry.js +1 -0
- package/dist/mint-components/p-b492fd4b.system.entry.js +1 -0
- package/dist/mint-components/p-b652d3b3.js +1 -0
- package/dist/mint-components/p-b6f5ab75.system.entry.js +1 -0
- package/dist/mint-components/p-b907384d.entry.js +1 -0
- package/dist/mint-components/p-bbb494a8.system.js +1 -0
- package/dist/mint-components/p-bd1a14ba.js +1 -0
- package/dist/mint-components/p-bd66c171.js +1 -0
- package/dist/mint-components/p-be38ae67.js +1 -0
- package/dist/mint-components/p-c30dfd5d.entry.js +92 -0
- package/dist/mint-components/p-c380988f.system.js +1 -0
- package/dist/mint-components/{p-104f6ced.entry.js → p-c3a07f51.entry.js} +1 -1
- package/dist/mint-components/p-c50c206e.system.js +1 -0
- package/dist/mint-components/p-c6d2a452.js +1 -0
- package/dist/mint-components/p-c7dd2eaa.system.entry.js +1 -0
- package/dist/mint-components/p-c8f697e4.system.js +1 -0
- package/dist/mint-components/p-c980e369.entry.js +1 -0
- package/dist/mint-components/p-cb714df1.system.js +1 -0
- package/dist/mint-components/p-cdf099fe.js +108 -0
- package/dist/mint-components/p-ce06d498.js +52 -0
- package/dist/mint-components/p-d08ebaa9.js +1 -0
- package/dist/mint-components/p-d8fac546.entry.js +1 -0
- package/dist/mint-components/p-d91a97d2.js +1 -0
- package/dist/mint-components/p-da6cb2c3.system.entry.js +1 -0
- package/dist/mint-components/p-dd7e8c95.system.js +8 -0
- package/dist/mint-components/p-dd82a675.system.entry.js +1 -0
- package/dist/mint-components/p-df1206f0.entry.js +1 -0
- package/dist/mint-components/p-df45273e.js +1 -0
- package/dist/mint-components/p-df531a5d.entry.js +1 -0
- package/dist/mint-components/p-e1c55f04.system.entry.js +1 -0
- package/dist/mint-components/p-e33839b3.system.js +1 -0
- package/dist/mint-components/p-e389aded.entry.js +1 -0
- package/dist/mint-components/p-e73e0fc4.system.js +1 -0
- package/dist/mint-components/p-e7f7b9c6.entry.js +1 -0
- package/dist/mint-components/{p-b47e3740.system.js → p-e9942aae.system.js} +1 -1
- package/dist/mint-components/p-eac100d1.system.js +1 -0
- package/dist/mint-components/p-eb47b174.entry.js +1 -0
- package/dist/mint-components/p-eba82926.js +1 -0
- package/dist/mint-components/p-ec00bb5f.js +1 -0
- package/dist/mint-components/p-edc8d9bc.system.js +1 -0
- package/dist/mint-components/p-f0e1d538.entry.js +147 -0
- package/dist/mint-components/{p-ff75998a.system.entry.js → p-f53c7a87.system.entry.js} +1 -1
- package/dist/mint-components/p-f686c142.system.js +1 -0
- package/dist/mint-components/{p-5b0de730.js → p-fa2edc58.js} +152 -152
- package/dist/mint-components/p-fab41ea8.system.entry.js +1 -0
- package/dist/mint-components/p-fd14377b.entry.js +1 -0
- package/dist/mint-components/p-ff1336b3.entry.js +148 -0
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -1
- package/dist/types/components/sqm-context-router/useContextRouter.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +2 -2
- package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +3 -3
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +2 -2
- package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +3 -3
- package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +3 -3
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +2 -2
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +2 -2
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +5 -5
- package/dist/types/components/sqm-router/useRouter.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-stencilbook/Matrix.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +2 -2
- package/dist/types/components/tax-and-cash/data.d.ts +13 -13
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/mockData.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +6 -6
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/subregions.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +3771 -3
- package/dist/types/global/mixins.d.ts +5 -5
- package/dist/types/stencil-public-runtime.d.ts +275 -193
- package/dist/types/utils/RequiredPropsError.d.ts +1 -1
- package/dist/types/utils/demoMerge.d.ts +8 -0
- package/dist/types/utils/utils.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/stats.json +120116 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +34 -45
- package/dist/cjs/AsYouType-d15caac8.js +0 -4128
- package/dist/cjs/cjs-1066ec21.js +0 -135
- package/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/sqm-lead-input-field-view-cd3f8076.js +0 -51
- package/dist/cjs/subregions-36662566.js +0 -1101
- package/dist/esm/AsYouType-2d56519e.js +0 -4108
- package/dist/esm/cjs-bdfb4486.js +0 -133
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/sqm-lead-input-field-view-919dc0a9.js +0 -49
- package/dist/esm/subregions-16dc47a9.js +0 -1086
- package/dist/esm-es5/AsYouType-2d56519e.js +0 -1
- package/dist/esm-es5/GenericTableView-471a9386.js +0 -1
- package/dist/esm-es5/JSS-67b5cff8.js +0 -8
- package/dist/esm-es5/ShadowViewAddon-e1375e0d.js +0 -1
- package/dist/esm-es5/cjs-bdfb4486.js +0 -1
- package/dist/esm-es5/copy-text-view-87259b11.js +0 -1
- package/dist/esm-es5/data-04d2da44.js +0 -1
- package/dist/esm-es5/dom-context-hooks.module-50442785.js +0 -53
- package/dist/esm-es5/email-registration-view-4cdb4129.js +0 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/global-f019575d.js +0 -271
- package/dist/esm-es5/index-38ad4957.js +0 -1
- package/dist/esm-es5/index-ffa26b43.js +0 -1
- package/dist/esm-es5/index.module-cc08450c.js +0 -1
- package/dist/esm-es5/jsonpointer-388a7082.js +0 -1
- package/dist/esm-es5/luxon-1be92a8e.js +0 -1
- package/dist/esm-es5/mockRewardData-9b27d6f1.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/re-render-380499f8.js +0 -1
- package/dist/esm-es5/sqm-lead-checkbox-field-view-04aa32a7.js +0 -1
- package/dist/esm-es5/sqm-lead-input-field-view-919dc0a9.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-40837457.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-2b66457a.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-e02fb63a.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-41894261.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-79265df5.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-c7dd1c01.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-c102aa7c.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-72f43dff.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-8a95c5eb.js +0 -1
- package/dist/esm-es5/subregions-16dc47a9.js +0 -1
- package/dist/esm-es5/useChildElements-aa9eb7c9.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-8d2e873d.js +0 -6
- package/dist/esm-es5/useInstantAccessRegistration-7b11eb02.js +0 -1
- package/dist/esm-es5/useLeadFormState-b67018f2.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-91e5786d.js +0 -1
- package/dist/esm-es5/useReferralCodes-a0a271ca.js +0 -1
- package/dist/esm-es5/useReferralTable-670580ff.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-95a75c57.js +0 -1
- package/dist/esm-es5/useVerificationEmail-99d9f705.js +0 -1
- package/dist/esm-es5/utilities-23a276e0.js +0 -1
- package/dist/mint-components/p-0306ce68.js +0 -1
- package/dist/mint-components/p-03361685.system.entry.js +0 -1
- package/dist/mint-components/p-036b876f.system.js +0 -1
- package/dist/mint-components/p-083180bf.js +0 -1
- package/dist/mint-components/p-08f36275.entry.js +0 -92
- package/dist/mint-components/p-08f82f9e.system.entry.js +0 -1
- package/dist/mint-components/p-092305db.entry.js +0 -1
- package/dist/mint-components/p-0ac8d8f4.system.js +0 -1
- package/dist/mint-components/p-0b1e90fe.system.js +0 -1
- package/dist/mint-components/p-0dca7884.entry.js +0 -148
- package/dist/mint-components/p-0ec9eb9b.entry.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-128610fb.system.js +0 -1
- package/dist/mint-components/p-13d1b10d.entry.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-16bd4751.system.entry.js +0 -1
- package/dist/mint-components/p-1a673057.system.js +0 -8
- package/dist/mint-components/p-1cf59d96.system.js +0 -1
- package/dist/mint-components/p-1ee1dd9c.system.entry.js +0 -1
- package/dist/mint-components/p-1f292473.entry.js +0 -1
- package/dist/mint-components/p-220cd813.system.entry.js +0 -1
- package/dist/mint-components/p-2392aabe.entry.js +0 -1
- package/dist/mint-components/p-263ca1be.system.js +0 -1
- package/dist/mint-components/p-274816ae.entry.js +0 -1
- package/dist/mint-components/p-2786819c.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-28fa5159.entry.js +0 -1
- package/dist/mint-components/p-290314a6.js +0 -52
- package/dist/mint-components/p-2cc01e0a.system.js +0 -1
- package/dist/mint-components/p-319bf866.system.entry.js +0 -1
- package/dist/mint-components/p-31b7d861.entry.js +0 -1
- package/dist/mint-components/p-31c5f477.entry.js +0 -1
- package/dist/mint-components/p-31cfa118.system.entry.js +0 -1
- package/dist/mint-components/p-3268c98c.system.entry.js +0 -1
- package/dist/mint-components/p-34917ee4.system.js +0 -1
- package/dist/mint-components/p-34bea1be.system.js +0 -1
- package/dist/mint-components/p-3db7a3c0.system.entry.js +0 -1
- package/dist/mint-components/p-429fa431.js +0 -1
- package/dist/mint-components/p-44ce74b6.js +0 -1
- package/dist/mint-components/p-45be99ae.system.js +0 -1
- package/dist/mint-components/p-47dc2362.system.entry.js +0 -1
- package/dist/mint-components/p-48b25874.system.js +0 -1
- package/dist/mint-components/p-4bd679a7.system.js +0 -1
- package/dist/mint-components/p-4ca6cc3c.system.entry.js +0 -1
- package/dist/mint-components/p-51d06654.system.js +0 -1
- package/dist/mint-components/p-5218d9dd.system.entry.js +0 -1
- package/dist/mint-components/p-5264ea68.js +0 -1
- package/dist/mint-components/p-5300edb5.js +0 -1
- package/dist/mint-components/p-556338c3.system.js +0 -1
- package/dist/mint-components/p-573ea3fd.system.entry.js +0 -1
- package/dist/mint-components/p-57c693ef.system.entry.js +0 -1
- package/dist/mint-components/p-59d5f239.system.entry.js +0 -1
- package/dist/mint-components/p-5c3cdefe.entry.js +0 -1
- package/dist/mint-components/p-5cda271c.system.entry.js +0 -1
- package/dist/mint-components/p-5d99dbc9.js +0 -1
- package/dist/mint-components/p-6196e0f6.entry.js +0 -308
- package/dist/mint-components/p-641f968d.system.js +0 -1
- package/dist/mint-components/p-686dd5eb.system.js +0 -1
- package/dist/mint-components/p-6b5528b1.entry.js +0 -33
- package/dist/mint-components/p-6c3a1d86.js +0 -1
- package/dist/mint-components/p-6c8758ac.entry.js +0 -1
- package/dist/mint-components/p-6dffb326.entry.js +0 -13
- package/dist/mint-components/p-6e9738a4.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-7010498f.js +0 -1
- package/dist/mint-components/p-7062154c.system.js +0 -1
- package/dist/mint-components/p-717fa601.js +0 -1
- package/dist/mint-components/p-732907b1.system.entry.js +0 -1
- package/dist/mint-components/p-7562cd98.system.js +0 -1
- package/dist/mint-components/p-7ae8fb53.system.js +0 -1
- package/dist/mint-components/p-808f7f22.entry.js +0 -1
- package/dist/mint-components/p-80cee817.system.js +0 -1
- package/dist/mint-components/p-8452837a.system.js +0 -1
- package/dist/mint-components/p-85996c52.system.entry.js +0 -1
- package/dist/mint-components/p-8629d0be.system.entry.js +0 -1
- package/dist/mint-components/p-86c430f8.system.entry.js +0 -1
- package/dist/mint-components/p-8707c7fb.entry.js +0 -1
- package/dist/mint-components/p-8899ff38.system.entry.js +0 -1
- package/dist/mint-components/p-88a5350b.entry.js +0 -11
- package/dist/mint-components/p-8d363802.js +0 -1
- package/dist/mint-components/p-952eefec.system.js +0 -1
- package/dist/mint-components/p-95f82a6f.entry.js +0 -9
- package/dist/mint-components/p-9715be5b.entry.js +0 -1
- package/dist/mint-components/p-97b8073f.system.js +0 -1
- package/dist/mint-components/p-99f7e6f1.js +0 -1
- package/dist/mint-components/p-9f517f81.entry.js +0 -1
- package/dist/mint-components/p-9f7d1197.system.entry.js +0 -1
- package/dist/mint-components/p-a04be06d.system.entry.js +0 -1
- package/dist/mint-components/p-a08157c4.js +0 -1
- package/dist/mint-components/p-a495e3a5.entry.js +0 -1
- package/dist/mint-components/p-a52a961e.entry.js +0 -1
- package/dist/mint-components/p-a6920cc9.system.entry.js +0 -1
- package/dist/mint-components/p-a7fc1e02.js +0 -42
- package/dist/mint-components/p-ab8a551f.system.entry.js +0 -1
- package/dist/mint-components/p-ac65d2c1.entry.js +0 -1
- package/dist/mint-components/p-ad9ea625.system.entry.js +0 -1
- package/dist/mint-components/p-b0aa9348.entry.js +0 -1
- package/dist/mint-components/p-b2295bc5.system.js +0 -1
- package/dist/mint-components/p-b56f3e55.js +0 -1
- package/dist/mint-components/p-b61be711.entry.js +0 -1
- package/dist/mint-components/p-b6504987.system.js +0 -53
- package/dist/mint-components/p-b69dbed8.system.js +0 -1
- package/dist/mint-components/p-b6b5fa4f.system.entry.js +0 -1
- package/dist/mint-components/p-bc625793.system.js +0 -1
- package/dist/mint-components/p-bee4af5d.js +0 -1
- package/dist/mint-components/p-c03131dd.js +0 -1
- package/dist/mint-components/p-c09ae087.system.js +0 -1
- package/dist/mint-components/p-c1086930.js +0 -1
- package/dist/mint-components/p-c50e77ad.entry.js +0 -1
- package/dist/mint-components/p-c5698ef9.system.js +0 -1
- package/dist/mint-components/p-ca872769.system.entry.js +0 -1
- package/dist/mint-components/p-ca90ea64.js +0 -499
- package/dist/mint-components/p-cdf5354f.entry.js +0 -1
- package/dist/mint-components/p-cef45012.js +0 -1
- package/dist/mint-components/p-d0318b41.entry.js +0 -13
- package/dist/mint-components/p-d0ce74bd.system.js +0 -1
- package/dist/mint-components/p-d267f4bb.system.js +0 -1
- package/dist/mint-components/p-d26df2da.entry.js +0 -1
- package/dist/mint-components/p-d3b1ab20.system.entry.js +0 -1
- package/dist/mint-components/p-d463fa82.system.js +0 -1
- package/dist/mint-components/p-d46a048d.system.entry.js +0 -1
- package/dist/mint-components/p-d533ff7b.system.js +0 -271
- package/dist/mint-components/p-d6a7f402.entry.js +0 -1
- package/dist/mint-components/p-d6fd8f37.system.entry.js +0 -1
- package/dist/mint-components/p-d9dbbf22.system.entry.js +0 -1
- package/dist/mint-components/p-db30fbd1.js +0 -13
- package/dist/mint-components/p-de8d7e90.entry.js +0 -17
- package/dist/mint-components/p-df28013f.system.entry.js +0 -1
- package/dist/mint-components/p-dffad4a8.entry.js +0 -1
- package/dist/mint-components/p-e006b6ad.entry.js +0 -1
- package/dist/mint-components/p-e0578030.system.js +0 -1
- package/dist/mint-components/p-e31c7242.system.entry.js +0 -1
- package/dist/mint-components/p-e4eac70d.js +0 -108
- package/dist/mint-components/p-e506bf7f.entry.js +0 -1
- package/dist/mint-components/p-e66187b6.system.entry.js +0 -1
- package/dist/mint-components/p-e7cf6632.js +0 -1
- package/dist/mint-components/p-e7d6e1e0.entry.js +0 -11
- package/dist/mint-components/p-e7e129ac.js +0 -1
- package/dist/mint-components/p-eb992f94.js +0 -1
- package/dist/mint-components/p-ec3e44c8.system.js +0 -1
- package/dist/mint-components/p-ec58040a.system.js +0 -1
- package/dist/mint-components/p-eedda43c.system.js +0 -1
- package/dist/mint-components/p-f0b63c48.entry.js +0 -83
- package/dist/mint-components/p-f1584abb.system.entry.js +0 -1
- package/dist/mint-components/p-f381533a.js +0 -1
- package/dist/mint-components/p-f45e076d.system.js +0 -1
- package/dist/mint-components/p-f507b364.system.entry.js +0 -1
- package/dist/mint-components/p-f69a4eb1.system.entry.js +0 -1
- package/dist/mint-components/p-f89c6a57.system.js +0 -1
- package/dist/mint-components/p-f982278b.entry.js +0 -1
- package/dist/mint-components/p-fbdd8c2a.system.entry.js +0 -1
- package/dist/mint-components/p-fdc4f293.system.entry.js +0 -1
- package/dist/mint-components/p-ff1a5481.system.js +0 -1
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import{d as t,s as n,u as e,c as r,a as i,e as o,h as s,y as a,f as u,i as c,j as f,k as l,m as h}from"./p-056845fb.js";function d(t){this.message=t}(d.prototype=new Error).name="InvalidCharacterError";var v="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new d("'atob' failed: The string to be decoded is not correctly encoded.");for(var e,r,i=0,o=0,s="";r=n.charAt(o++);~r&&(e=i%4?64*e+r:r,i++%4)?s+=String.fromCharCode(255&e>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function p(t){this.message=t}(p.prototype=new Error).name="InvalidTokenError";const{toString:m,hasOwnProperty:y}=Object.prototype,b=Function.prototype.toString,w=new Map;function g(t,n){try{return E(t,n)}finally{w.clear()}}function E(t,n){if(t===n)return!0;const e=m.call(t);if(e!==m.call(n))return!1;switch(e){case"[object Array]":if(t.length!==n.length)return!1;case"[object Object]":{if(T(t,n))return!0;const e=S(t),r=S(n),i=e.length;if(i!==r.length)return!1;for(let t=0;t<i;++t)if(!y.call(n,e[t]))return!1;for(let r=0;r<i;++r){const i=e[r];if(!E(t[i],n[i]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(T(t,n))return!0;const r=t.entries(),i="[object Map]"===e;for(;;){const t=r.next();if(t.done)break;const[e,o]=t.value;if(!n.has(e))return!1;if(i&&!E(o,n.get(e)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let e=t.byteLength;if(e===n.byteLength)for(;e--&&t[e]===n[e];);return-1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const e=b.call(t);return e===b.call(n)&&!function(t){const n=t.length-I.length;return n>=0&&t.indexOf(I,n)===n}(e)}}return!1}function S(t){return Object.keys(t).filter(O,t)}function O(t){return void 0!==this[t]}const I="{ [native code] }";function T(t,n){let e=w.get(t);if(e){if(e.has(n))return!0}else w.set(t,e=new Set);return e.add(n),!1}var j=Object.defineProperty,N=Object.defineProperties,C=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,_=(t,n,e)=>n in t?j(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,x=(t,n)=>{for(var e in n||(n={}))A.call(n,e)&&_(t,e,n[e]);if(F)for(var e of F(n))D.call(n,e)&&_(t,e,n[e]);return t},k=(t,n)=>N(t,C(n)),P="sq:user-identity",q="sq:locale",R="sq:program-id",U="EMBED";function M(){return V().type}function V(){var t,n,e;return window.SquatchAndroid?{type:"SquatchAndroid",android:window.SquatchAndroid,widgetIdent:window.widgetIdent}:window.SquatchPortal?{type:"SquatchPortal",env:window.SquatchPortal}:window.SquatchAdmin?{type:"SquatchAdmin",adminSDK:window.SquatchAdmin}:(window.widgetIdent||(null==(t=window.frameElement)?void 0:t.squatchJsApi))&&"demo"!==(null==(n=window.widgetIdent)?void 0:n.env)?{type:"SquatchJS2",api:null==(e=window.frameElement)?void 0:e.squatchJsApi,widgetIdent:window.widgetIdent}:{type:"None"}}function $(){const t=V();return"None"===t.type||"SquatchAdmin"===t.type}function L(){var t;const n=V();switch(n.type){case"SquatchAndroid":case"SquatchIOS":case"SquatchJS2":return null==(t=n.widgetIdent)?void 0:t.tenantAlias;case"SquatchAdmin":case"None":return"demo";case"SquatchPortal":return n.env.tenantAlias}}var B="https://app.referralsaasquatch.com";function J(){var t,n;const e=V();switch(e.type){case"SquatchAndroid":case"SquatchIOS":case"SquatchJS2":return(null==(t=e.widgetIdent)?void 0:t.appDomain)||B;case"SquatchPortal":return(null==(n=e.env)?void 0:n.appDomain)||B;case"SquatchAdmin":case"None":return B}}var G=(()=>{var t;try{return null==(t=null==window?void 0:window.localStorage)?void 0:t.getItem("debug")}catch(t){return!1}})();function H(t,...n){G&&console.debug(`sq:environment:${t}`,...n)}var W=(...t)=>H("history",...t);function Q(t){if("string"==typeof t)return t;const n=new URL(t.pathname,window.origin);return t.search&&(n.search=t.search),t.hash&&(n.hash=t.hash),n}function Y(){return window.squatchHistory=window.squatchHistory||function(){if("SquatchPortal"===M()){let t=function(t){const n=window.history[t];return function(...e){const r=n.apply(window.history,e),i=new Event(t);return window.dispatchEvent(i),r}};return window.history.pushState=t("pushState"),window.history.replaceState=t("replaceState"),new class{constructor(){this.listeners=new Set,window.addEventListener("popstate",this.notify.bind(this)),window.addEventListener("pushState",this.notify.bind(this)),window.addEventListener("replaceState",this.notify.bind(this))}listen(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(){W("notifying listeners of route change",this.location),this.listeners&&this.listeners.forEach((t=>t()))}get location(){return{pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:window.history.state}}back(){this.go(-1)}forward(){this.go(1)}go(t){window.history.go(t)}push(t,n){const e=Q(t);window.history.pushState(n,"",e)}replace(t,n){const e=Q(t);window.history.replaceState(n,"",e)}}}return new class{constructor(){this.history=[{pathname:"/",search:"",hash:""}],this.index=0,this.listeners=new Set}listen(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}current(){return this.history[this.index]}get state(){return this.current().state}notify(){W("notifying listeners of route change",this.location),this.listeners.forEach((t=>t()))}get location(){return this.history[this.index]}back(){this.go(-1)}forward(){this.go(1)}go(t){this.index+=t,this.index<0&&(this.index=0),this.index>=this.history.length&&(this.index=this.history.length-1),this.notify()}push(t,n){let e;e="string"==typeof t?{pathname:t,search:this.history[this.index].search,hash:this.history[this.index].hash,state:n}:k(x({},t),{state:n}),this.index++,this.history.splice(this.index,this.history.length,e),this.notify()}replace(t,n){this.history[this.index]="string"==typeof t?{pathname:t,search:"",hash:"",state:n}:k(x({},t),{state:n}),this.notify()}}}(),window.squatchHistory}var z=new class{get location(){return Y().location}listen(t){return Y().listen(t)}back(){Y().back()}forward(){Y().forward()}go(t){Y().go(t)}push(t,n){Y().push(t,n)}replace(t,n){Y().replace(t,n)}},X=(...t)=>H(q,...t);function K(t){if(t&&/^[a-z]{2}(_(?:[A-Z]{2}|[0-9]{3}))?$/.test(t))return t}function Z(){var n;let e=window.squatchLocale;if(!e){X("Creating locale context provider");const r=(null==(n=window.widgetIdent)?void 0:n.locale)??K(navigator.language.replaceAll("-","_"));X("initializing with locale:",r),e=new t({element:document.documentElement,initialState:r,contextName:q}).start(),window.squatchLocale=e}return e}var tt=(...t)=>H(q,...t),nt=(...t)=>H(q,...t),et=(()=>{const t="__environment_context_listener";let n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,document.documentElement.appendChild(n)),n})(),rt=new n({contextName:P,element:et,onChange:async t=>{var n;const e=Z(),r=(null==(n=window.widgetIdent)?void 0:n.locale)??K(navigator.language.replaceAll("-","_"));let i;if(t){nt("User context changed, refetching locale");const t=await async function(){var t;tt("Fetching locale from GraphQL for current user");try{const n=await fetch(`${J()}/api/v1/${L()}/graphql`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${null==(t=ct())?void 0:t.jwt}`},body:JSON.stringify({query:"\n query {\n viewer {\n ... on User {\n locale\n }\n }\n }\n"})});if(!n.ok)throw new Error("Failed to fetch locale");const e=await n.json();if(e.errors)throw new Error(JSON.stringify(e.errors,null,2));return e.data.viewer.locale||void 0}catch(t){return void tt("Failed to fetch locale for current user",t.message)}}();nt(`New value fetched from GraphQL [${t}]`),i=t||r}else i=r;nt(`Setting locale context to [${i}]`),e.context=i}}),it=(...t)=>H(P,...t);function ot(){let n=window.squatchUserIdentity;return n||(it("Creating user context provider"),n=new t({element:document.documentElement,initialState:at(),contextName:P}).start(),window.squatchUserIdentity=n,nt("Starting user context listener for locale updates"),rt.start()),n}function st(t){if(t)try{const n=function(t,n){if("string"!=typeof t)throw new p("Invalid token specified");var e=!0===(n=n||{}).header?0:1;try{return JSON.parse(function(t){var n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(v(t).replace(/(.)/g,(function(t,n){var e=n.charCodeAt(0).toString(16).toUpperCase();return e.length<2&&(e="0"+e),"%"+e})))}(n)}catch(t){return v(n)}}(t.split(".")[e]))}catch(t){throw new p("Invalid token specified: "+t.message)}}(t),e=n.exp;let r,i,o;if(function(t){return t.sub&&/.*:.*@.*:users/.test(t.sub)}(n)){const t=n.sub.match(/(.*):(.*)@(.*):users/);(null==t?void 0:t[1])&&(i=atob(t[1])),(null==t?void 0:t[2])&&(r=atob(t[2]))}else(function(t){return t.user&&t.user.id&&t.user.accountId})(n)&&(i=n.user.accountId,r=n.user.id,o=n.user.email);return r&&i?e&&Date.now()>=1e3*e?void it("JWT has expired"):{id:r,accountId:i,email:o,jwt:t}:void it("No user information")}catch(t){return void it("Invalid JWT")}}function at(){const t=V();switch(t.type){case"SquatchIOS":case"SquatchAndroid":case"SquatchJS2":if(!t.widgetIdent)return;const{userId:n,accountId:e,token:r}=t.widgetIdent;if(!n||!e||!r)return;return{id:t.widgetIdent.userId,accountId:t.widgetIdent.accountId,email:t.widgetIdent.email,jwt:t.widgetIdent.token};case"SquatchPortal":const i=new URLSearchParams(document.location.search);if(i.has("jwt")){const t=st(i.get("jwt"));return localStorage.setItem(P,JSON.stringify(t)),t}const o=localStorage.getItem(P);if(!o)return;try{const t=JSON.parse(o),n=st(t.jwt);return n?x(x({},t),n):void 0}catch(t){return}case"SquatchAdmin":case"None":return}}function ut(t){const n=ot();g(n.context,t)||(it(`Setting user context value [${JSON.stringify(t)}]`),n.context=t),t&&"SquatchPortal"===V().type?localStorage.setItem(P,JSON.stringify(t)):t||localStorage.removeItem(P)}function ct(){var t;return null==(t=window.squatchUserIdentity)?void 0:t.context}var ft=(...t)=>H(R,...t);function lt(){var n;let e=window.squatchProgramId;return e||(ft("Creating program context provider"),e=new t({element:document.documentElement,initialState:(null==(n=window.widgetIdent)?void 0:n.programId)||void 0,contextName:R}).start(),window.squatchProgramId=e),e}function ht(t){const n=lt();n.context!==t&&(ft(`Setting program context value [${t}]`),n.context=t)}const dt=(t,n)=>e((()=>t),n);function vt(t,n){if(!Boolean(t))throw new Error(n)}function pt(t){return pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pt(t)}var mt="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function yt(t,n){for(var e,r=/\r\n|[\n\r]/g,i=1,o=n+1;(e=r.exec(t.body))&&e.index<n;)i+=1,o=n+1-(e.index+e[0].length);return{line:i,column:o}}function bt(t,n){var e=t.locationOffset.column-1,r=gt(e)+t.body,i=n.line-1,o=n.line+(t.locationOffset.line-1),s=n.column+(1===n.line?e:0),a="".concat(t.name,":").concat(o,":").concat(s,"\n"),u=r.split(/\r\n|[\n\r]/g),c=u[i];if(c.length>120){for(var f=Math.floor(s/80),l=s%80,h=[],d=0;d<c.length;d+=80)h.push(c.slice(d,d+80));return a+wt([["".concat(o),h[0]]].concat(h.slice(1,f+1).map((function(t){return["",t]})),[[" ",gt(l-1)+"^"],["",h[f+1]]]))}return a+wt([["".concat(o-1),u[i-1]],["".concat(o),c],["",gt(s-1)+"^"],["".concat(o+1),u[i+1]]])}function wt(t){var n=t.filter((function(t){return void 0!==t[1]})),e=Math.max.apply(Math,n.map((function(t){return t[0].length})));return n.map((function(t){var n,r=t[1];return gt(e-(n=t[0]).length)+n+(r?" | "+r:" |")})).join("\n")}function gt(t){return Array(t+1).join(" ")}function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function St(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ot(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function It(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Tt(t,n){return!n||"object"!==Et(n)&&"function"!=typeof n?jt(t):n}function jt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nt(t){var n="function"==typeof Map?new Map:void 0;return Nt=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return Ct(t,arguments,Dt(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),At(e,t)},Nt(t)}function Ct(t,n,e){return Ct=Ft()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var i=new(Function.bind.apply(t,r));return e&&At(i,e.prototype),i},Ct.apply(null,arguments)}function Ft(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function At(t,n){return At=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},At(t,n)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Dt(t)}var _t=function(){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&At(t,n)}(o,Nt(Error));var t,n,e,r,i=(t=o,n=Ft(),function(){var e,r=Dt(t);if(n){var i=Dt(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return Tt(this,e)});function o(t,n,e,r,s,a,u){var c,f,l,h;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,o),(h=i.call(this,t)).name="GraphQLError",h.originalError=null!=a?a:void 0,h.nodes=xt(Array.isArray(n)?n:n?[n]:void 0);for(var d=[],v=0,p=null!==(m=h.nodes)&&void 0!==m?m:[];v<p.length;v++){var m,y=p[v].loc;null!=y&&d.push(y)}d=xt(d),h.source=null!=e?e:null===(c=d)||void 0===c?void 0:c[0].source,h.positions=null!=r?r:null===(f=d)||void 0===f?void 0:f.map((function(t){return t.start})),h.locations=r&&e?r.map((function(t){return yt(e,t)})):null===(l=d)||void 0===l?void 0:l.map((function(t){return yt(t.source,t.start)})),h.path=null!=s?s:void 0;var b,w=null==a?void 0:a.extensions;return h.extensions=null==u&&"object"==pt(b=w)&&null!==b?function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?St(Object(e),!0).forEach((function(n){Ot(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):St(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},w):null!=u?u:{},Object.defineProperties(jt(h),{message:{enumerable:!0},locations:{enumerable:null!=h.locations},path:{enumerable:null!=h.path},extensions:{enumerable:null!=h.extensions&&Object.keys(h.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=a&&a.stack?(Object.defineProperty(jt(h),"stack",{value:a.stack,writable:!0,configurable:!0}),Tt(h)):(Error.captureStackTrace?Error.captureStackTrace(jt(h),o):Object.defineProperty(jt(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return e=o,(r=[{key:"toString",value:function(){return function(t){var n,e=t.message;if(t.nodes)for(var r=0,i=t.nodes;r<i.length;r++){var o=i[r];o.loc&&(e+="\n\n"+bt((n=o.loc).source,yt(n.source,n.start)))}else if(t.source&&t.locations)for(var s=0,a=t.locations;s<a.length;s++)e+="\n\n"+bt(t.source,a[s]);return e}(this)}},{key:"toJSON",value:function(){return function(t){var n;t||vt(0,"Received null or undefined error.");var e=null!==(n=t.message)&&void 0!==n?n:"An unknown error occurred.",r=t.locations,i=t.path,o=t.extensions;return o&&Object.keys(o).length>0?{message:e,locations:r,path:i,extensions:o}:{message:e,locations:r,path:i}}(this)}},{key:mt,get:function(){return"Object"}}])&&It(e.prototype,r),o}();function xt(t){return void 0===t||0===t.length?void 0:t}function kt(t,n,e){return new _t("Syntax Error: ".concat(e),void 0,t,[n])}var Pt=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),qt="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function Rt(t){var n=t.prototype.toJSON;"function"==typeof n||function(){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),t.prototype.inspect=n,qt&&(t.prototype[qt]=n)}var Ut=function(){function t(t,n,e){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=e}return t.prototype.toJSON=function(){return{start:this.start,end:this.end}},t}();Rt(Ut);var Mt=function(){function t(t,n,e,r,i,o,s){this.kind=t,this.start=n,this.end=e,this.line=r,this.column=i,this.value=s,this.prev=o,this.next=null}return t.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},t}();function Vt(t){return null!=t&&"string"==typeof t.kind}Rt(Mt);var $t=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function Bt(t){return Jt(t,[])}function Jt(t,n){switch(Lt(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return null===t?"null":function(t,n){if(-1!==n.indexOf(t))return"[Circular]";var e=[].concat(n,[t]),r=function(t){var n=t[String(qt)];return"function"==typeof n?n:"function"==typeof t.inspect?t.inspect:void 0}(t);if(void 0!==r){var i=r.call(t);if(i!==t)return"string"==typeof i?i:Jt(i,e)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";for(var e=Math.min(10,t.length),r=t.length-e,i=[],o=0;o<e;++o)i.push(Jt(t[o],n));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(t,e);return function(t,n){var e=Object.keys(t);return 0===e.length?"{}":n.length>2?"["+function(t){var n=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof t.constructor){var e=t.constructor.name;if("string"==typeof e&&""!==e)return e}return n}(t)+"]":"{ "+e.map((function(e){return e+": "+Jt(t[e],n)})).join(", ")+" }"}(t,e)}(t,n);default:return String(t)}}function Gt(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ht=function(){function t(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof t||vt(0,"Body must be a string. Received: ".concat(Bt(t),".")),this.body=t,this.name=n,this.locationOffset=e,this.locationOffset.line>0||vt(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||vt(0,"column in locationOffset is 1-indexed and must be positive.")}var n,e;return n=t,(e=[{key:mt,get:function(){return"Source"}}])&&Gt(n.prototype,e),t}(),Wt=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function Qt(t){var n=t.split(/\r\n|[\n\r]/g),e=function(t){for(var n,e=!0,r=!0,i=0,o=null,s=0;s<t.length;++s)switch(t.charCodeAt(s)){case 13:10===t.charCodeAt(s+1)&&++s;case 10:e=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!e&&(null===o||i<o)&&(o=i),r=!1}return null!==(n=o)&&void 0!==n?n:0}(t);if(0!==e)for(var r=1;r<n.length;r++)n[r]=n[r].slice(e);for(var i=0;i<n.length&&Yt(n[i]);)++i;for(var o=n.length;o>i&&Yt(n[o-1]);)--o;return n.slice(i,o).join("\n")}function Yt(t){for(var n=0;n<t.length;++n)if(" "!==t[n]&&"\t"!==t[n])return!1;return!0}var zt=function(){function t(t){var n=new Mt($t.SOF,0,0,0,0,null);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}var n=t.prototype;return n.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},n.lookahead=function(){var t=this.token;if(t.kind!==$t.EOF)do{var n;t=null!==(n=t.next)&&void 0!==n?n:t.next=Kt(this,t)}while(t.kind===$t.COMMENT);return t},t}();function Xt(t){return isNaN(t)?$t.EOF:t<127?JSON.stringify(String.fromCharCode(t)):'"\\u'.concat(("00"+t.toString(16).toUpperCase()).slice(-4),'"')}function Kt(t,n){for(var e=t.source,r=e.body,i=r.length,o=n.end;o<i;){var s=r.charCodeAt(o),a=t.line,u=1+o-t.lineStart;switch(s){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++t.line,t.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++t.line,t.lineStart=o;continue;case 33:return new Mt($t.BANG,o,o+1,a,u,n);case 35:return tn(e,o,a,u,n);case 36:return new Mt($t.DOLLAR,o,o+1,a,u,n);case 38:return new Mt($t.AMP,o,o+1,a,u,n);case 40:return new Mt($t.PAREN_L,o,o+1,a,u,n);case 41:return new Mt($t.PAREN_R,o,o+1,a,u,n);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new Mt($t.SPREAD,o,o+3,a,u,n);break;case 58:return new Mt($t.COLON,o,o+1,a,u,n);case 61:return new Mt($t.EQUALS,o,o+1,a,u,n);case 64:return new Mt($t.AT,o,o+1,a,u,n);case 91:return new Mt($t.BRACKET_L,o,o+1,a,u,n);case 93:return new Mt($t.BRACKET_R,o,o+1,a,u,n);case 123:return new Mt($t.BRACE_L,o,o+1,a,u,n);case 124:return new Mt($t.PIPE,o,o+1,a,u,n);case 125:return new Mt($t.BRACE_R,o,o+1,a,u,n);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?on(e,o,a,u,n,t):rn(e,o,a,u,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return nn(e,o,s,a,u,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return un(e,o,a,u,n)}throw kt(e,o,Zt(s))}return new Mt($t.EOF,i,i,t.line,1+o-t.lineStart,n)}function Zt(t){return t<32&&9!==t&&10!==t&&13!==t?"Cannot contain the invalid character ".concat(Xt(t),"."):39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(Xt(t),".")}function tn(t,n,e,r,i){var o,s=t.body,a=n;do{o=s.charCodeAt(++a)}while(!isNaN(o)&&(o>31||9===o));return new Mt($t.COMMENT,n,a,e,r,i,s.slice(n+1,a))}function nn(t,n,e,r,i,o){var s=t.body,a=e,u=n,c=!1;if(45===a&&(a=s.charCodeAt(++u)),48===a){if((a=s.charCodeAt(++u))>=48&&a<=57)throw kt(t,u,"Invalid number, unexpected digit after 0: ".concat(Xt(a),"."))}else u=en(t,u,a),a=s.charCodeAt(u);if(46===a&&(c=!0,a=s.charCodeAt(++u),u=en(t,u,a),a=s.charCodeAt(u)),69!==a&&101!==a||(c=!0,43!==(a=s.charCodeAt(++u))&&45!==a||(a=s.charCodeAt(++u)),u=en(t,u,a),a=s.charCodeAt(u)),46===a||function(t){return 95===t||t>=65&&t<=90||t>=97&&t<=122}(a))throw kt(t,u,"Invalid number, expected digit but got: ".concat(Xt(a),"."));return new Mt(c?$t.FLOAT:$t.INT,n,u,r,i,o,s.slice(n,u))}function en(t,n,e){var r=t.body,i=n,o=e;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw kt(t,i,"Invalid number, expected digit but got: ".concat(Xt(o),"."))}function rn(t,n,e,r,i){for(var o=t.body,s=n+1,a=s,u=0,c="";s<o.length&&!isNaN(u=o.charCodeAt(s))&&10!==u&&13!==u;){if(34===u)return c+=o.slice(a,s),new Mt($t.STRING,n,s+1,e,r,i,c);if(u<32&&9!==u)throw kt(t,s,"Invalid character within String: ".concat(Xt(u),"."));if(++s,92===u){switch(c+=o.slice(a,s-1),u=o.charCodeAt(s)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var f=sn(o.charCodeAt(s+1),o.charCodeAt(s+2),o.charCodeAt(s+3),o.charCodeAt(s+4));if(f<0){var l=o.slice(s+1,s+5);throw kt(t,s,"Invalid character escape sequence: \\u".concat(l,"."))}c+=String.fromCharCode(f),s+=4;break;default:throw kt(t,s,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}a=++s}}throw kt(t,s,"Unterminated string.")}function on(t,n,e,r,i,o){for(var s=t.body,a=n+3,u=a,c=0,f="";a<s.length&&!isNaN(c=s.charCodeAt(a));){if(34===c&&34===s.charCodeAt(a+1)&&34===s.charCodeAt(a+2))return f+=s.slice(u,a),new Mt($t.BLOCK_STRING,n,a+3,e,r,i,Qt(f));if(c<32&&9!==c&&10!==c&&13!==c)throw kt(t,a,"Invalid character within String: ".concat(Xt(c),"."));10===c?(++a,++o.line,o.lineStart=a):13===c?(10===s.charCodeAt(a+1)?a+=2:++a,++o.line,o.lineStart=a):92===c&&34===s.charCodeAt(a+1)&&34===s.charCodeAt(a+2)&&34===s.charCodeAt(a+3)?(f+=s.slice(u,a)+'"""',u=a+=4):++a}throw kt(t,a,"Unterminated string.")}function sn(t,n,e,r){return an(t)<<12|an(n)<<8|an(e)<<4|an(r)}function an(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}function un(t,n,e,r,i){for(var o=t.body,s=o.length,a=n+1,u=0;a!==s&&!isNaN(u=o.charCodeAt(a))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++a;return new Mt($t.NAME,n,a,e,r,i,o.slice(n,a))}function cn(t,n){return new fn(t,n).parseDocument()}var fn=function(){function t(t,n){var e=function(t){return t instanceof Ht}(t)?t:new Ht(t);this._lexer=new zt(e),this._options=n}var n=t.prototype;return n.parseName=function(){var t=this.expectToken($t.NAME);return{kind:Pt.NAME,value:t.value,loc:this.loc(t)}},n.parseDocument=function(){var t=this._lexer.token;return{kind:Pt.DOCUMENT,definitions:this.many($t.SOF,this.parseDefinition,$t.EOF),loc:this.loc(t)}},n.parseDefinition=function(){if(this.peek($t.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek($t.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var t=this._lexer.token;if(this.peek($t.BRACE_L))return{kind:Pt.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var n,e=this.parseOperationType();return this.peek($t.NAME)&&(n=this.parseName()),{kind:Pt.OPERATION_DEFINITION,operation:e,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},n.parseOperationType=function(){var t=this.expectToken($t.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)},n.parseVariableDefinitions=function(){return this.optionalMany($t.PAREN_L,this.parseVariableDefinition,$t.PAREN_R)},n.parseVariableDefinition=function(){var t=this._lexer.token;return{kind:Pt.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken($t.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken($t.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(t)}},n.parseVariable=function(){var t=this._lexer.token;return this.expectToken($t.DOLLAR),{kind:Pt.VARIABLE,name:this.parseName(),loc:this.loc(t)}},n.parseSelectionSet=function(){var t=this._lexer.token;return{kind:Pt.SELECTION_SET,selections:this.many($t.BRACE_L,this.parseSelection,$t.BRACE_R),loc:this.loc(t)}},n.parseSelection=function(){return this.peek($t.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var t,n,e=this._lexer.token,r=this.parseName();return this.expectOptionalToken($t.COLON)?(t=r,n=this.parseName()):n=r,{kind:Pt.FIELD,alias:t,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek($t.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(e)}},n.parseArguments=function(t){return this.optionalMany($t.PAREN_L,t?this.parseConstArgument:this.parseArgument,$t.PAREN_R)},n.parseArgument=function(){var t=this._lexer.token,n=this.parseName();return this.expectToken($t.COLON),{kind:Pt.ARGUMENT,name:n,value:this.parseValueLiteral(!1),loc:this.loc(t)}},n.parseConstArgument=function(){var t=this._lexer.token;return{kind:Pt.ARGUMENT,name:this.parseName(),value:(this.expectToken($t.COLON),this.parseValueLiteral(!0)),loc:this.loc(t)}},n.parseFragment=function(){var t=this._lexer.token;this.expectToken($t.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek($t.NAME)?{kind:Pt.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(t)}:{kind:Pt.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},n.parseFragmentDefinition=function(){var t,n=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(t=this._options)||void 0===t?void 0:t.experimentalFragmentVariables)?{kind:Pt.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}:{kind:Pt.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(t){var n=this._lexer.token;switch(n.kind){case $t.BRACKET_L:return this.parseList(t);case $t.BRACE_L:return this.parseObject(t);case $t.INT:return this._lexer.advance(),{kind:Pt.INT,value:n.value,loc:this.loc(n)};case $t.FLOAT:return this._lexer.advance(),{kind:Pt.FLOAT,value:n.value,loc:this.loc(n)};case $t.STRING:case $t.BLOCK_STRING:return this.parseStringLiteral();case $t.NAME:switch(this._lexer.advance(),n.value){case"true":return{kind:Pt.BOOLEAN,value:!0,loc:this.loc(n)};case"false":return{kind:Pt.BOOLEAN,value:!1,loc:this.loc(n)};case"null":return{kind:Pt.NULL,loc:this.loc(n)};default:return{kind:Pt.ENUM,value:n.value,loc:this.loc(n)}}case $t.DOLLAR:if(!t)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var t=this._lexer.token;return this._lexer.advance(),{kind:Pt.STRING,value:t.value,block:t.kind===$t.BLOCK_STRING,loc:this.loc(t)}},n.parseList=function(t){var n=this,e=this._lexer.token;return{kind:Pt.LIST,values:this.any($t.BRACKET_L,(function(){return n.parseValueLiteral(t)}),$t.BRACKET_R),loc:this.loc(e)}},n.parseObject=function(t){var n=this,e=this._lexer.token;return{kind:Pt.OBJECT,fields:this.any($t.BRACE_L,(function(){return n.parseObjectField(t)}),$t.BRACE_R),loc:this.loc(e)}},n.parseObjectField=function(t){var n=this._lexer.token,e=this.parseName();return this.expectToken($t.COLON),{kind:Pt.OBJECT_FIELD,name:e,value:this.parseValueLiteral(t),loc:this.loc(n)}},n.parseDirectives=function(t){for(var n=[];this.peek($t.AT);)n.push(this.parseDirective(t));return n},n.parseDirective=function(t){var n=this._lexer.token;return this.expectToken($t.AT),{kind:Pt.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(n)}},n.parseTypeReference=function(){var t,n=this._lexer.token;return this.expectOptionalToken($t.BRACKET_L)?(t=this.parseTypeReference(),this.expectToken($t.BRACKET_R),t={kind:Pt.LIST_TYPE,type:t,loc:this.loc(n)}):t=this.parseNamedType(),this.expectOptionalToken($t.BANG)?{kind:Pt.NON_NULL_TYPE,type:t,loc:this.loc(n)}:t},n.parseNamedType=function(){var t=this._lexer.token;return{kind:Pt.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}},n.parseTypeSystemDefinition=function(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===$t.NAME)switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(t)},n.peekDescription=function(){return this.peek($t.STRING)||this.peek($t.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");var e=this.parseDirectives(!0),r=this.many($t.BRACE_L,this.parseOperationTypeDefinition,$t.BRACE_R);return{kind:Pt.SCHEMA_DEFINITION,description:n,directives:e,operationTypes:r,loc:this.loc(t)}},n.parseOperationTypeDefinition=function(){var t=this._lexer.token,n=this.parseOperationType();this.expectToken($t.COLON);var e=this.parseNamedType();return{kind:Pt.OPERATION_TYPE_DEFINITION,operation:n,type:e,loc:this.loc(t)}},n.parseScalarTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var e=this.parseName(),r=this.parseDirectives(!0);return{kind:Pt.SCALAR_TYPE_DEFINITION,description:n,name:e,directives:r,loc:this.loc(t)}},n.parseObjectTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var e=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:Pt.OBJECT_TYPE_DEFINITION,description:n,name:e,interfaces:r,directives:i,fields:o,loc:this.loc(t)}},n.parseImplementsInterfaces=function(){var t;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)){var n=[];this.expectOptionalToken($t.AMP);do{n.push(this.parseNamedType())}while(this.expectOptionalToken($t.AMP)||this.peek($t.NAME));return n}return this.delimitedMany($t.AMP,this.parseNamedType)},n.parseFieldsDefinition=function(){var t;return!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLEmptyFields)&&this.peek($t.BRACE_L)&&this._lexer.lookahead().kind===$t.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany($t.BRACE_L,this.parseFieldDefinition,$t.BRACE_R)},n.parseFieldDefinition=function(){var t=this._lexer.token,n=this.parseDescription(),e=this.parseName(),r=this.parseArgumentDefs();this.expectToken($t.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:Pt.FIELD_DEFINITION,description:n,name:e,arguments:r,type:i,directives:o,loc:this.loc(t)}},n.parseArgumentDefs=function(){return this.optionalMany($t.PAREN_L,this.parseInputValueDef,$t.PAREN_R)},n.parseInputValueDef=function(){var t=this._lexer.token,n=this.parseDescription(),e=this.parseName();this.expectToken($t.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken($t.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:Pt.INPUT_VALUE_DEFINITION,description:n,name:e,type:i,defaultValue:r,directives:o,loc:this.loc(t)}},n.parseInterfaceTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var e=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:Pt.INTERFACE_TYPE_DEFINITION,description:n,name:e,interfaces:r,directives:i,fields:o,loc:this.loc(t)}},n.parseUnionTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var e=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:Pt.UNION_TYPE_DEFINITION,description:n,name:e,directives:r,types:i,loc:this.loc(t)}},n.parseUnionMemberTypes=function(){return this.expectOptionalToken($t.EQUALS)?this.delimitedMany($t.PIPE,this.parseNamedType):[]},n.parseEnumTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var e=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:Pt.ENUM_TYPE_DEFINITION,description:n,name:e,directives:r,values:i,loc:this.loc(t)}},n.parseEnumValuesDefinition=function(){return this.optionalMany($t.BRACE_L,this.parseEnumValueDefinition,$t.BRACE_R)},n.parseEnumValueDefinition=function(){var t=this._lexer.token,n=this.parseDescription(),e=this.parseName(),r=this.parseDirectives(!0);return{kind:Pt.ENUM_VALUE_DEFINITION,description:n,name:e,directives:r,loc:this.loc(t)}},n.parseInputObjectTypeDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var e=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:Pt.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:e,directives:r,fields:i,loc:this.loc(t)}},n.parseInputFieldsDefinition=function(){return this.optionalMany($t.BRACE_L,this.parseInputValueDef,$t.BRACE_R)},n.parseTypeSystemExtension=function(){var t=this._lexer.lookahead();if(t.kind===$t.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)},n.parseSchemaExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseDirectives(!0),e=this.optionalMany($t.BRACE_L,this.parseOperationTypeDefinition,$t.BRACE_R);if(0===n.length&&0===e.length)throw this.unexpected();return{kind:Pt.SCHEMA_EXTENSION,directives:n,operationTypes:e,loc:this.loc(t)}},n.parseScalarTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),e=this.parseDirectives(!0);if(0===e.length)throw this.unexpected();return{kind:Pt.SCALAR_TYPE_EXTENSION,name:n,directives:e,loc:this.loc(t)}},n.parseObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),e=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===e.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:Pt.OBJECT_TYPE_EXTENSION,name:n,interfaces:e,directives:r,fields:i,loc:this.loc(t)}},n.parseInterfaceTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),e=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===e.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:Pt.INTERFACE_TYPE_EXTENSION,name:n,interfaces:e,directives:r,fields:i,loc:this.loc(t)}},n.parseUnionTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),e=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===e.length&&0===r.length)throw this.unexpected();return{kind:Pt.UNION_TYPE_EXTENSION,name:n,directives:e,types:r,loc:this.loc(t)}},n.parseEnumTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),e=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===e.length&&0===r.length)throw this.unexpected();return{kind:Pt.ENUM_TYPE_EXTENSION,name:n,directives:e,values:r,loc:this.loc(t)}},n.parseInputObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),e=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===e.length&&0===r.length)throw this.unexpected();return{kind:Pt.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:e,fields:r,loc:this.loc(t)}},n.parseDirectiveDefinition=function(){var t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken($t.AT);var e=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:Pt.DIRECTIVE_DEFINITION,description:n,name:e,arguments:r,repeatable:i,locations:o,loc:this.loc(t)}},n.parseDirectiveLocations=function(){return this.delimitedMany($t.PIPE,this.parseDirectiveLocation)},n.parseDirectiveLocation=function(){var t=this._lexer.token,n=this.parseName();if(void 0!==Wt[n.value])return n;throw this.unexpected(t)},n.loc=function(t){var n;if(!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation))return new Ut(t,this._lexer.lastToken,this._lexer.source)},n.peek=function(t){return this._lexer.token.kind===t},n.expectToken=function(t){var n=this._lexer.token;if(n.kind===t)return this._lexer.advance(),n;throw kt(this._lexer.source,n.start,"Expected ".concat(hn(t),", found ").concat(ln(n),"."))},n.expectOptionalToken=function(t){var n=this._lexer.token;if(n.kind===t)return this._lexer.advance(),n},n.expectKeyword=function(t){var n=this._lexer.token;if(n.kind!==$t.NAME||n.value!==t)throw kt(this._lexer.source,n.start,'Expected "'.concat(t,'", found ').concat(ln(n),"."));this._lexer.advance()},n.expectOptionalKeyword=function(t){var n=this._lexer.token;return n.kind===$t.NAME&&n.value===t&&(this._lexer.advance(),!0)},n.unexpected=function(t){var n=null!=t?t:this._lexer.token;return kt(this._lexer.source,n.start,"Unexpected ".concat(ln(n),"."))},n.any=function(t,n,e){this.expectToken(t);for(var r=[];!this.expectOptionalToken(e);)r.push(n.call(this));return r},n.optionalMany=function(t,n,e){if(this.expectOptionalToken(t)){var r=[];do{r.push(n.call(this))}while(!this.expectOptionalToken(e));return r}return[]},n.many=function(t,n,e){this.expectToken(t);var r=[];do{r.push(n.call(this))}while(!this.expectOptionalToken(e));return r},n.delimitedMany=function(t,n){this.expectOptionalToken(t);var e=[];do{e.push(n.call(this))}while(this.expectOptionalToken(t));return e},t}();function ln(t){var n=t.value;return hn(t.kind)+(null!=n?' "'.concat(n,'"'):"")}function hn(t){return function(t){return t===$t.BANG||t===$t.DOLLAR||t===$t.AMP||t===$t.PAREN_L||t===$t.PAREN_R||t===$t.SPREAD||t===$t.COLON||t===$t.EQUALS||t===$t.AT||t===$t.BRACKET_L||t===$t.BRACKET_R||t===$t.BRACE_L||t===$t.PIPE||t===$t.BRACE_R}(t)?'"'.concat(t,'"'):t}var dn={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},vn=Object.freeze({});function pn(t,n,e){var r=t[n];if(r){if(!e&&"function"==typeof r)return r;var i=e?r.leave:r.enter;if("function"==typeof i)return i}else{var o=e?t.leave:t.enter;if(o){if("function"==typeof o)return o;var s=o[n];if("function"==typeof s)return s}}}function mn(t){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:dn,r=void 0,i=Array.isArray(t),o=[t],s=-1,a=[],u=void 0,c=void 0,f=void 0,l=[],h=[],d=t;do{var v=++s===o.length,p=v&&0!==a.length;if(v){if(c=0===h.length?void 0:l[l.length-1],u=f,f=h.pop(),p){if(i)u=u.slice();else{for(var m={},y=0,b=Object.keys(u);y<b.length;y++){var w=b[y];m[w]=u[w]}u=m}for(var g=0,E=0;E<a.length;E++){var S=a[E][0],O=a[E][1];i&&(S-=g),i&&null===O?(u.splice(S,1),g++):u[S]=O}}s=r.index,o=r.keys,a=r.edits,i=r.inArray,r=r.prev}else{if(c=f?i?s:o[s]:void 0,null==(u=f?f[c]:d))continue;f&&l.push(c)}var I,T=void 0;if(!Array.isArray(u)){if(!Vt(u))throw new Error("Invalid AST Node: ".concat(Bt(u),"."));var j=pn(n,u.kind,v);if(j){if((T=j.call(n,u,c,f,l,h))===vn)break;if(!1===T){if(!v){l.pop();continue}}else if(void 0!==T&&(a.push([c,T]),!v)){if(!Vt(T)){l.pop();continue}u=T}}}void 0===T&&p&&a.push([c,u]),v?l.pop():(r={inArray:i,index:s,keys:o,edits:a,prev:r},o=(i=Array.isArray(u))?u:null!==(I=e[u.kind])&&void 0!==I?I:[],s=-1,a=[],f&&h.push(f),f=u)}while(void 0!==r);return 0!==a.length&&(d=a[a.length-1][1]),d}(t,{leave:yn})}var yn={Name:function(t){return t.value},Variable:function(t){return"$"+t.name},Document:function(t){return wn(t.definitions,"\n\n")+"\n"},OperationDefinition:function(t){var n=t.operation,e=t.name,r=En("(",wn(t.variableDefinitions,", "),")"),i=wn(t.directives," "),o=t.selectionSet;return e||i||r||"query"!==n?wn([n,wn([e,r]),i,o]," "):o},VariableDefinition:function(t){var n=t.directives;return t.variable+": "+t.type+En(" = ",t.defaultValue)+En(" ",wn(n," "))},SelectionSet:function(t){return gn(t.selections)},Field:function(t){var n=t.name,e=t.arguments,r=t.directives,i=t.selectionSet,o=En("",t.alias,": ")+n,s=o+En("(",wn(e,", "),")");return s.length>80&&(s=o+En("(\n",Sn(wn(e,"\n")),"\n)")),wn([s,wn(r," "),i]," ")},Argument:function(t){return t.name+": "+t.value},FragmentSpread:function(t){return"..."+t.name+En(" ",wn(t.directives," "))},InlineFragment:function(t){var n=t.directives,e=t.selectionSet;return wn(["...",En("on ",t.typeCondition),wn(n," "),e]," ")},FragmentDefinition:function(t){var n=t.typeCondition,e=t.variableDefinitions,r=t.directives,i=t.selectionSet;return"fragment ".concat(t.name).concat(En("(",wn(e,", "),")")," ")+"on ".concat(n," ").concat(En("",wn(r," ")," "))+i},IntValue:function(t){return t.value},FloatValue:function(t){return t.value},StringValue:function(t,n){var e=t.value;return t.block?function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===t.indexOf("\n"),i=" "===t[0]||"\t"===t[0],o='"'===t[t.length-1],s="\\"===t[t.length-1],a=!r||o||s||e,u="";return!a||r&&i||(u+="\n"+n),u+=n?t.replace(/\n/g,"\n"+n):t,a&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}(e,"description"===n?"":" "):JSON.stringify(e)},BooleanValue:function(t){return t.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(t){return t.value},ListValue:function(t){return"["+wn(t.values,", ")+"]"},ObjectValue:function(t){return"{"+wn(t.fields,", ")+"}"},ObjectField:function(t){return t.name+": "+t.value},Directive:function(t){return"@"+t.name+En("(",wn(t.arguments,", "),")")},NamedType:function(t){return t.name},ListType:function(t){return"["+t.type+"]"},NonNullType:function(t){return t.type+"!"},SchemaDefinition:bn((function(t){var n=t.operationTypes;return wn(["schema",wn(t.directives," "),gn(n)]," ")})),OperationTypeDefinition:function(t){return t.operation+": "+t.type},ScalarTypeDefinition:bn((function(t){return wn(["scalar",t.name,wn(t.directives," ")]," ")})),ObjectTypeDefinition:bn((function(t){var n=t.directives,e=t.fields;return wn(["type",t.name,En("implements ",wn(t.interfaces," & ")),wn(n," "),gn(e)]," ")})),FieldDefinition:bn((function(t){var n=t.arguments,e=t.type,r=t.directives;return t.name+(In(n)?En("(\n",Sn(wn(n,"\n")),"\n)"):En("(",wn(n,", "),")"))+": "+e+En(" ",wn(r," "))})),InputValueDefinition:bn((function(t){var n=t.directives;return wn([t.name+": "+t.type,En("= ",t.defaultValue),wn(n," ")]," ")})),InterfaceTypeDefinition:bn((function(t){var n=t.directives,e=t.fields;return wn(["interface",t.name,En("implements ",wn(t.interfaces," & ")),wn(n," "),gn(e)]," ")})),UnionTypeDefinition:bn((function(t){var n=t.types;return wn(["union",t.name,wn(t.directives," "),n&&0!==n.length?"= "+wn(n," | "):""]," ")})),EnumTypeDefinition:bn((function(t){var n=t.values;return wn(["enum",t.name,wn(t.directives," "),gn(n)]," ")})),EnumValueDefinition:bn((function(t){return wn([t.name,wn(t.directives," ")]," ")})),InputObjectTypeDefinition:bn((function(t){var n=t.fields;return wn(["input",t.name,wn(t.directives," "),gn(n)]," ")})),DirectiveDefinition:bn((function(t){var n=t.arguments,e=t.repeatable,r=t.locations;return"directive @"+t.name+(In(n)?En("(\n",Sn(wn(n,"\n")),"\n)"):En("(",wn(n,", "),")"))+(e?" repeatable":"")+" on "+wn(r," | ")})),SchemaExtension:function(t){var n=t.operationTypes;return wn(["extend schema",wn(t.directives," "),gn(n)]," ")},ScalarTypeExtension:function(t){return wn(["extend scalar",t.name,wn(t.directives," ")]," ")},ObjectTypeExtension:function(t){var n=t.directives,e=t.fields;return wn(["extend type",t.name,En("implements ",wn(t.interfaces," & ")),wn(n," "),gn(e)]," ")},InterfaceTypeExtension:function(t){var n=t.directives,e=t.fields;return wn(["extend interface",t.name,En("implements ",wn(t.interfaces," & ")),wn(n," "),gn(e)]," ")},UnionTypeExtension:function(t){var n=t.types;return wn(["extend union",t.name,wn(t.directives," "),n&&0!==n.length?"= "+wn(n," | "):""]," ")},EnumTypeExtension:function(t){var n=t.values;return wn(["extend enum",t.name,wn(t.directives," "),gn(n)]," ")},InputObjectTypeExtension:function(t){var n=t.fields;return wn(["extend input",t.name,wn(t.directives," "),gn(n)]," ")}};function bn(t){return function(n){return wn([n.description,t(n)],"\n")}}function wn(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==t?void 0:t.filter((function(t){return t})).join(e))&&void 0!==n?n:""}function gn(t){return En("{\n",Sn(wn(t,"\n")),"\n}")}function En(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=n&&""!==n?t+n+e:""}function Sn(t){return En(" ",t.replace(/\n/g,"\n "))}function On(t){return-1!==t.indexOf("\n")}function In(t){return null!=t&&t.some(On)}function Tn(t){this.message=t}(Tn.prototype=new Error).name="InvalidCharacterError";var jn="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new Tn("'atob' failed: The string to be decoded is not correctly encoded.");for(var e,r,i=0,o=0,s="";r=n.charAt(o++);~r&&(e=i%4?64*e+r:r,i++%4)?s+=String.fromCharCode(255&e>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function Nn(t){var n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(jn(t).replace(/(.)/g,(function(t,n){var e=n.charCodeAt(0).toString(16).toUpperCase();return e.length<2&&(e="0"+e),"%"+e})))}(n)}catch(t){return jn(n)}}function Cn(t){this.message=t}function Fn(t,n){if("string"!=typeof t)throw new Cn("Invalid token specified");var e=!0===(n=n||{}).header?0:1;try{return JSON.parse(Nn(t.split(".")[e]))}catch(t){throw new Cn("Invalid token specified: "+t.message)}}function An(t,n,e,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:e(r),s=n.get(o);return void 0===s&&(s=t.call(this,r),n.set(o,s)),s}function Dn(t,n,e){var r=Array.prototype.slice.call(arguments,3),i=e(r),o=n.get(i);return void 0===o&&(o=t.apply(this,r),n.set(i,o)),o}function _n(t,n,e,r,i){return e.bind(n,t,r,i)}function xn(t,n){return _n(t,this,1===t.length?An:Dn,n.cache.create(),n.serializer)}function kn(){return JSON.stringify(arguments)}function Pn(){this.cache=Object.create(null)}(Cn.prototype=new Error).name="InvalidTokenError",Pn.prototype.has=function(t){return t in this.cache},Pn.prototype.get=function(t){return this.cache[t]},Pn.prototype.set=function(t,n){this.cache[t]=n};var qn={create:function(){return new Pn}},Rn=function(t,n){return(n&&n.strategy?n.strategy:xn)(t,{cache:n&&n.cache?n.cache:qn,serializer:n&&n.serializer?n.serializer:kn})};Rn.strategies={variadic:function(t,n){return _n(t,this,Dn,n.cache.create(),n.serializer)},monadic:function(t,n){return _n(t,this,An,n.cache.create(),n.serializer)}};var Un=r((function(t,n){var e=i&&i.__assign||function(){return e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},e.apply(this,arguments)},r=i&&i.__spreadArrays||function(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),i=0;for(n=0;n<e;n++)for(var o=arguments[n],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};function o(t,n){return"Variable"===t.kind?e(e({},t),{name:e(e({},t.name),{value:n(t.name.value)})}):"ObjectValue"===t.kind?e(e({},t),{fields:t.fields.map((function(t){return e(e({},t),{value:o(t.value,n)})}))}):"ListValue"===t.kind?e(e({},t),{values:t.values.map((function(t){return o(t,n)}))}):t}function s(t,n){return e(e({},t),{value:o(t.value,n)})}function a(t,n){var r;return e(e({},t),{arguments:null===(r=t.arguments)||void 0===r?void 0:r.map((function(t){return s(t,n)}))})}function u(t,n){var r;return e(e({},t),{variable:e(e({},t.variable),{name:e(e({},t.variable.name),{value:n(t.variable.name.value)})}),directives:null===(r=t.directives)||void 0===r?void 0:r.map((function(t){return a(t,n)}))})}function c(t,n){return e(e({},t),{selections:t.selections.map((function(t){var r,i,o;switch(t.kind){case"Field":return e(e({},t),{arguments:null===(r=t.arguments)||void 0===r?void 0:r.map((function(t){return s(t,n)})),selectionSet:t.selectionSet?c(t.selectionSet,n):void 0});case"FragmentSpread":return e(e({},t),{directives:null===(i=t.directives)||void 0===i?void 0:i.map((function(t){return a(t,n)}))});case"InlineFragment":return e(e({},t),{directives:null===(o=t.directives)||void 0===o?void 0:o.map((function(t){return a(t,n)})),selectionSet:c(t.selectionSet,n)})}}))})}function f(t,n,r){var i,o;return e(e({},t),{variableDefinitions:null===(i=t.variableDefinitions)||void 0===i?void 0:i.map((function(t){return u(t,n)})),directives:null===(o=t.directives)||void 0===o?void 0:o.map((function(t){return a(t,n)})),selectionSet:c(e(e({},t.selectionSet),{selections:t.selectionSet.selections.map((function(t){var n,i;return"Field"===t.kind?e(e({},t),{alias:e(e({},t.name),{value:r(null!==(i=null===(n=t.alias)||void 0===n?void 0:n.value)&&void 0!==i?i:t.name.value)})}):t}))}),n)})}Object.defineProperty(n,"__esModule",{value:!0}),n.renameVariables=n.renameVariablesAndTopLevelFields=n.renameVariablesAndTopLevelFieldsOnOpDef=n.renameSelectionSetArguments=n.renameVariableDefinition=n.renameDirectiveArguments=n.renameArgument=n.renameValue=n.defaultRenameFn=void 0,n.defaultRenameFn=function(t,n){return t+"_"+n},n.renameValue=o,n.renameArgument=s,n.renameDirectiveArguments=a,n.renameVariableDefinition=u,n.renameSelectionSetArguments=c,n.renameVariablesAndTopLevelFieldsOnOpDef=f,n.renameVariablesAndTopLevelFields=function(t,n,i){return e(e({},t),{definitions:r(t.definitions.filter((function(t){return"OperationDefinition"!==t.kind})),t.definitions.filter((function(t){return"OperationDefinition"===t.kind})).map((function(t){return f(t,n,i)})))})},n.renameVariables=function(t,n){return Object.keys(t).reduce((function(r,i){var o;return e(e({},r),((o={})[n(i)]=t[i],o))}),{})}})),Mn=r((function(t,n){var e,r=i&&i.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])},e(t,n)},function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}),o=i&&i.__assign||function(){return o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},o.apply(this,arguments)},s=i&&i.__spreadArrays||function(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),i=0;for(n=0;n<e;n++)for(var o=arguments[n],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};Object.defineProperty(n,"__esModule",{value:!0});var a={kind:"Document",definitions:[]},u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n}(Error),c=function(){function t(t,n,e){this.operationName=t,this.document=n,this.variables=e}return t.prototype.add=function(n,e){var r=this,i=this.document.definitions.concat(n.definitions).filter((function(t){return"OperationDefinition"===t.kind}));if(!i.length)throw new u("Expected at least one OperationDefinition, but found none.");i.forEach((function(t){var n,e,r=i.filter((function(n){return n!==t}));r.forEach((function(n){var e,r;if(n.operation!==t.operation)throw new u("expected all operations to be of the same type, but "+(null===(e=n.name)||void 0===e?void 0:e.value)+" is "+n.operation+" and "+(null===(r=t.name)||void 0===r?void 0:r.value)+" is "+t.operation)})),null===(n=t.selectionSet.selections)||void 0===n||n.filter((function(t){return"Field"===t.kind})).forEach((function(n){r.forEach((function(e){var r;return null===(r=e.selectionSet.selections)||void 0===r?void 0:r.filter((function(t){return"Field"===t.kind})).forEach((function(r){var i,o,s,a;if(((null===(i=n.alias)||void 0===i?void 0:i.value)||n.name.value)===((null===(o=r.alias)||void 0===o?void 0:o.value)||r.name.value))throw new u("duplicate field definition "+r.name.value+" for operations "+(null===(s=t.name)||void 0===s?void 0:s.value)+" and "+(null===(a=e.name)||void 0===a?void 0:a.value))}))}))})),null===(e=t.variableDefinitions)||void 0===e||e.forEach((function(n){r.forEach((function(e){var r;return null===(r=e.variableDefinitions)||void 0===r?void 0:r.forEach((function(r){var i,o;if(n.variable.name.value===r.variable.name.value)throw new u("duplicate variable definition "+r.variable.name.value+" for operations "+(null===(i=t.name)||void 0===i?void 0:i.value)+" and "+(null===(o=e.name)||void 0===o?void 0:o.value))}))}))}))}));for(var a=r.variables&&e?o(o({},r.variables),e):e||r.variables,c=[{kind:"OperationDefinition",directives:i.flatMap((function(t){return t.directives||[]})),name:{kind:"Name",value:this.operationName},operation:i[0].operation,selectionSet:{kind:"SelectionSet",selections:i.flatMap((function(t){return t.selectionSet.selections}))},variableDefinitions:i.flatMap((function(t){return t.variableDefinitions||[]}))}],f=new Set,l=0,h=this.document.definitions.concat(n.definitions);l<h.length;l++){var d=h[l];if("OperationDefinition"!==d.kind){if("FragmentDefinition"===d.kind){if(f.has(d.name.value))continue;f.add(d.name.value)}c=s([d],c)}}return new t(this.operationName,{kind:"Document",definitions:c},a)},t.prototype.addN=function(t,n,e,r){return void 0===e&&(e=Un.defaultRenameFn),void 0===r&&(r=Un.defaultRenameFn),n.length?n.reduce((function(n,i,o){var s=Un.renameVariablesAndTopLevelFields(t,(function(t){return e(t,o)}),(function(t){return r(t,o)})),a=Un.renameVariables(i,(function(t){return e(t,o)}));return n.add(s,a)}),this):this},t}();n.default=function(t){return{operationName:t,add:function(t,n){return new c(this.operationName,t,n)},addN:function(t,n,e,r){return new c(this.operationName,a).addN(t,n,e,r)}}}}));const Vn=o(Mn);var $n=r((function(t,n){var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==i&&i,r=function(){function t(){this.fetch=!1,this.DOMException=e.DOMException}return t.prototype=e,new t}();!function(t){!function(n){var e=void 0!==t&&t||"undefined"!=typeof self&&self||void 0!==i&&i||{},r="URLSearchParams"in e,o="Symbol"in e&&"iterator"in Symbol,s="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in e,u="ArrayBuffer"in e;if(u)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&c.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function h(t){return"string"!=typeof t&&(t=String(t)),t}function d(t){var n={next:function(){var n=t.shift();return{done:void 0===n,value:n}}};return o&&(n[Symbol.iterator]=function(){return n}),n}function v(t){this.map={},t instanceof v?t.forEach((function(t,n){this.append(n,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(n){this.append(n,t[n])}),this)}function p(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function m(t){return new Promise((function(n,e){t.onload=function(){n(t.result)},t.onerror=function(){e(t.error)}}))}function y(t){var n=new FileReader,e=m(n);return n.readAsArrayBuffer(t),e}function b(t){if(t.slice)return t.slice(0);var n=new Uint8Array(t.byteLength);return n.set(new Uint8Array(t)),n.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){var n;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():u&&s&&(n=t)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var t=p(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return p(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(s)return this.blob().then(y);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,n,e,r,i=p(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=m(n=new FileReader),r=/charset=([A-Za-z0-9_-]+)/.exec(t.type),n.readAsText(t,r?r[1]:"utf-8"),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var n=new Uint8Array(t),e=new Array(n.length),r=0;r<n.length;r++)e[r]=String.fromCharCode(n[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(S)}),this.json=function(){return this.text().then(JSON.parse)},this}v.prototype.append=function(t,n){t=l(t),n=h(n);var e=this.map[t];this.map[t]=e?e+", "+n:n},v.prototype.delete=function(t){delete this.map[l(t)]},v.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},v.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},v.prototype.set=function(t,n){this.map[l(t)]=h(n)},v.prototype.forEach=function(t,n){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(n,this.map[e],e,this)},v.prototype.keys=function(){var t=[];return this.forEach((function(n,e){t.push(e)})),d(t)},v.prototype.values=function(){var t=[];return this.forEach((function(n){t.push(n)})),d(t)},v.prototype.entries=function(){var t=[];return this.forEach((function(n,e){t.push([e,n])})),d(t)},o&&(v.prototype[Symbol.iterator]=v.prototype.entries);var g=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(t,n){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i,o=(n=n||{}).body;if(t instanceof E){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,n.headers||(this.headers=new v(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=n.credentials||this.credentials||"same-origin",!n.headers&&this.headers||(this.headers=new v(n.headers)),this.method=(i=(r=n.method||this.method||"GET").toUpperCase(),g.indexOf(i)>-1?i:r),this.mode=n.mode||this.mode||null,this.signal=n.signal||this.signal||function(){if("AbortController"in e)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==n.cache&&"no-cache"!==n.cache)){var s=/([?&])_=[^&]*/;s.test(this.url)?this.url=this.url.replace(s,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function S(t){var n=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");n.append(decodeURIComponent(r),decodeURIComponent(i))}})),n}function O(t,n){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(n||(n={}),this.type="default",this.status=void 0===n.status?200:n.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===n.statusText?"":""+n.statusText,this.headers=new v(n.headers),this.url=n.url||"",this._initBody(t)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},w.call(E.prototype),w.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},O.error=function(){var t=new O(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var I=[301,302,303,307,308];O.redirect=function(t,n){if(-1===I.indexOf(n))throw new RangeError("Invalid status code");return new O(null,{status:n,headers:{location:t}})},n.DOMException=e.DOMException;try{new n.DOMException}catch(t){n.DOMException=function(t,n){this.message=t,this.name=n;var e=Error(t);this.stack=e.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function T(t,r){return new Promise((function(i,o){var a=new E(t,r);if(a.signal&&a.signal.aborted)return o(new n.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function f(){c.abort()}if(c.onload=function(){var t,n,e={statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",n=new v,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();try{n.append(r,i)}catch(t){console.warn("Response "+t.message)}}})),n)};e.status=0===a.url.indexOf("file://")&&(c.status<200||c.status>599)?200:c.status,e.url="responseURL"in c?c.responseURL:e.headers.get("X-Request-URL");var r="response"in c?c.response:c.responseText;setTimeout((function(){i(new O(r,e))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request timed out"))}),0)},c.onabort=function(){setTimeout((function(){o(new n.DOMException("Aborted","AbortError"))}),0)},c.open(a.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(n){return t}}(a.url),!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&(s?c.responseType="blob":u&&(c.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof v||e.Headers&&r.headers instanceof e.Headers)){var d=[];Object.getOwnPropertyNames(r.headers).forEach((function(t){d.push(l(t)),c.setRequestHeader(t,h(r.headers[t]))})),a.headers.forEach((function(t,n){-1===d.indexOf(n)&&c.setRequestHeader(n,t)}))}else a.headers.forEach((function(t,n){c.setRequestHeader(n,t)}));a.signal&&(a.signal.addEventListener("abort",f),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",f)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}T.polyfill=!0,e.fetch||(e.fetch=T,e.Headers=v,e.Request=E,e.Response=O),n.Headers=v,n.Request=E,n.Response=O,n.fetch=T,Object.defineProperty(n,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=e.fetch?e:r;(n=o.fetch).default=o.fetch,n.fetch=o.fetch,n.Headers=o.Headers,n.Request=o.Request,n.Response=o.Response,t.exports=n})),Ln=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=e})),Bn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return o(t,[])};var e,r=(e=Ln)&&e.__esModule?e:{default:e};function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,n){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return null===t?"null":function(t,n){if(-1!==n.indexOf(t))return"[Circular]";var e=[].concat(n,[t]),i=function(t){var n=t[String(r.default)];return"function"==typeof n?n:"function"==typeof t.inspect?t.inspect:void 0}(t);if(void 0!==i){var s=i.call(t);if(s!==t)return"string"==typeof s?s:o(s,e)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";for(var e=Math.min(10,t.length),r=t.length-e,i=[],s=0;s<e;++s)i.push(o(t[s],n));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(t,e);return function(t,n){var e=Object.keys(t);return 0===e.length?"{}":n.length>2?"["+function(t){var n=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof t.constructor){var e=t.constructor.name;if("string"==typeof e&&""!==e)return e}return n}(t)+"]":"{ "+e.map((function(e){return e+": "+o(t[e],n)})).join(", ")+" }"}(t,e)}(t,n);default:return String(t)}}})),Jn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n){if(!Boolean(t))throw new Error(null!=n?n:"Unexpected invariant triggered.")}})),Gn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){var n=t.prototype.toJSON;"function"==typeof n||(0,e.default)(0),t.prototype.inspect=n,r.default&&(t.prototype[r.default]=n)};var e=i(Jn),r=i(Ln);function i(t){return t&&t.__esModule?t:{default:t}}})),Hn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isNode=function(t){return null!=t&&"string"==typeof t.kind},n.Token=n.Location=void 0;var e,r=(e=Gn)&&e.__esModule?e:{default:e},i=function(){function t(t,n,e){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=e}return t.prototype.toJSON=function(){return{start:this.start,end:this.end}},t}();n.Location=i,(0,r.default)(i);var o=function(){function t(t,n,e,r,i,o,s){this.kind=t,this.start=n,this.end=e,this.line=r,this.column=i,this.value=s,this.prev=o,this.next=null}return t.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},t}();n.Token=o,(0,r.default)(o)})),Wn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,u=Array.isArray(t),c=[t],f=-1,l=[],h=void 0,d=void 0,v=void 0,p=[],m=[],y=t;do{var b=++f===c.length,w=b&&0!==l.length;if(b){if(d=0===m.length?void 0:p[p.length-1],h=v,v=m.pop(),w){if(u)h=h.slice();else{for(var g={},E=0,S=Object.keys(h);E<S.length;E++){var O=S[E];g[O]=h[O]}h=g}for(var I=0,T=0;T<l.length;T++){var j=l[T][0],N=l[T][1];u&&(j-=I),u&&null===N?(h.splice(j,1),I++):h[j]=N}}f=a.index,c=a.keys,l=a.edits,u=a.inArray,a=a.prev}else{if(d=v?u?f:c[f]:void 0,null==(h=v?v[d]:y))continue;v&&p.push(d)}var C,F=void 0;if(!Array.isArray(h)){if(!(0,Hn.isNode)(h))throw new Error("Invalid AST Node: ".concat((0,r.default)(h),"."));var A=s(n,h.kind,b);if(A){if((F=A.call(n,h,d,v,p,m))===o)break;if(!1===F){if(!b){p.pop();continue}}else if(void 0!==F&&(l.push([d,F]),!b)){if(!(0,Hn.isNode)(F)){p.pop();continue}h=F}}}void 0===F&&w&&l.push([d,h]),b?p.pop():(a={inArray:u,index:f,keys:c,edits:l,prev:a},c=(u=Array.isArray(h))?h:null!==(C=e[h.kind])&&void 0!==C?C:[],f=-1,l=[],v&&m.push(v),v=h)}while(void 0!==a);return 0!==l.length&&(y=l[l.length-1][1]),y},n.visitInParallel=function(t){var n=new Array(t.length);return{enter:function(e){for(var r=0;r<t.length;r++)if(null==n[r]){var i=s(t[r],e.kind,!1);if(i){var a=i.apply(t[r],arguments);if(!1===a)n[r]=e;else if(a===o)n[r]=o;else if(void 0!==a)return a}}},leave:function(e){for(var r=0;r<t.length;r++)if(null==n[r]){var i=s(t[r],e.kind,!0);if(i){var a=i.apply(t[r],arguments);if(a===o)n[r]=o;else if(void 0!==a&&!1!==a)return a}}else n[r]===e&&(n[r]=null)}}},n.getVisitFn=s,n.BREAK=n.QueryDocumentKeys=void 0;var e,r=(e=Bn)&&e.__esModule?e:{default:e},i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};n.QueryDocumentKeys=i;var o=Object.freeze({});function s(t,n,e){var r=t[n];if(r){if(!e&&"function"==typeof r)return r;var i=e?r.leave:r.enter;if("function"==typeof i)return i}else{var o=e?t.leave:t.enter;if(o){if("function"==typeof o)return o;var s=o[n];if("function"==typeof s)return s}}}n.BREAK=o})),Qn=r((function(t,n){function e(t){for(var n=0;n<t.length;++n)if(" "!==t[n]&&"\t"!==t[n])return!1;return!0}function r(t){for(var n,e=!0,r=!0,i=0,o=null,s=0;s<t.length;++s)switch(t.charCodeAt(s)){case 13:10===t.charCodeAt(s+1)&&++s;case 10:e=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!e&&(null===o||i<o)&&(o=i),r=!1}return null!==(n=o)&&void 0!==n?n:0}Object.defineProperty(n,"__esModule",{value:!0}),n.dedentBlockStringValue=function(t){var n=t.split(/\r\n|[\n\r]/g),i=r(t);if(0!==i)for(var o=1;o<n.length;o++)n[o]=n[o].slice(i);for(var s=0;s<n.length&&e(n[s]);)++s;for(var a=n.length;a>s&&e(n[a-1]);)--a;return n.slice(s,a).join("\n")},n.getBlockStringIndentation=r,n.printBlockString=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===t.indexOf("\n"),i=" "===t[0]||"\t"===t[0],o='"'===t[t.length-1],s="\\"===t[t.length-1],a=!r||o||s||e,u="";return!a||r&&i||(u+="\n"+n),u+=n?t.replace(/\n/g,"\n"+n):t,a&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}})),Yn=r((function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.print=function(t){return(0,Wn.visit)(t,{leave:e})};var e={Name:function(t){return t.value},Variable:function(t){return"$"+t.name},Document:function(t){return i(t.definitions,"\n\n")+"\n"},OperationDefinition:function(t){var n=t.operation,e=t.name,r=s("(",i(t.variableDefinitions,", "),")"),o=i(t.directives," "),a=t.selectionSet;return e||o||r||"query"!==n?i([n,i([e,r]),o,a]," "):a},VariableDefinition:function(t){var n=t.directives;return t.variable+": "+t.type+s(" = ",t.defaultValue)+s(" ",i(n," "))},SelectionSet:function(t){return o(t.selections)},Field:function(t){var n=t.name,e=t.arguments,r=t.directives,o=t.selectionSet,u=s("",t.alias,": ")+n,c=u+s("(",i(e,", "),")");return c.length>80&&(c=u+s("(\n",a(i(e,"\n")),"\n)")),i([c,i(r," "),o]," ")},Argument:function(t){return t.name+": "+t.value},FragmentSpread:function(t){return"..."+t.name+s(" ",i(t.directives," "))},InlineFragment:function(t){var n=t.directives,e=t.selectionSet;return i(["...",s("on ",t.typeCondition),i(n," "),e]," ")},FragmentDefinition:function(t){var n=t.typeCondition,e=t.variableDefinitions,r=t.directives,o=t.selectionSet;return"fragment ".concat(t.name).concat(s("(",i(e,", "),")")," ")+"on ".concat(n," ").concat(s("",i(r," ")," "))+o},IntValue:function(t){return t.value},FloatValue:function(t){return t.value},StringValue:function(t,n){var e=t.value;return t.block?(0,Qn.printBlockString)(e,"description"===n?"":" "):JSON.stringify(e)},BooleanValue:function(t){return t.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(t){return t.value},ListValue:function(t){return"["+i(t.values,", ")+"]"},ObjectValue:function(t){return"{"+i(t.fields,", ")+"}"},ObjectField:function(t){return t.name+": "+t.value},Directive:function(t){return"@"+t.name+s("(",i(t.arguments,", "),")")},NamedType:function(t){return t.name},ListType:function(t){return"["+t.type+"]"},NonNullType:function(t){return t.type+"!"},SchemaDefinition:r((function(t){var n=t.operationTypes;return i(["schema",i(t.directives," "),o(n)]," ")})),OperationTypeDefinition:function(t){return t.operation+": "+t.type},ScalarTypeDefinition:r((function(t){return i(["scalar",t.name,i(t.directives," ")]," ")})),ObjectTypeDefinition:r((function(t){var n=t.directives,e=t.fields;return i(["type",t.name,s("implements ",i(t.interfaces," & ")),i(n," "),o(e)]," ")})),FieldDefinition:r((function(t){var n=t.arguments,e=t.type,r=t.directives;return t.name+(c(n)?s("(\n",a(i(n,"\n")),"\n)"):s("(",i(n,", "),")"))+": "+e+s(" ",i(r," "))})),InputValueDefinition:r((function(t){var n=t.directives;return i([t.name+": "+t.type,s("= ",t.defaultValue),i(n," ")]," ")})),InterfaceTypeDefinition:r((function(t){var n=t.directives,e=t.fields;return i(["interface",t.name,s("implements ",i(t.interfaces," & ")),i(n," "),o(e)]," ")})),UnionTypeDefinition:r((function(t){var n=t.types;return i(["union",t.name,i(t.directives," "),n&&0!==n.length?"= "+i(n," | "):""]," ")})),EnumTypeDefinition:r((function(t){var n=t.values;return i(["enum",t.name,i(t.directives," "),o(n)]," ")})),EnumValueDefinition:r((function(t){return i([t.name,i(t.directives," ")]," ")})),InputObjectTypeDefinition:r((function(t){var n=t.fields;return i(["input",t.name,i(t.directives," "),o(n)]," ")})),DirectiveDefinition:r((function(t){var n=t.arguments,e=t.repeatable,r=t.locations;return"directive @"+t.name+(c(n)?s("(\n",a(i(n,"\n")),"\n)"):s("(",i(n,", "),")"))+(e?" repeatable":"")+" on "+i(r," | ")})),SchemaExtension:function(t){var n=t.operationTypes;return i(["extend schema",i(t.directives," "),o(n)]," ")},ScalarTypeExtension:function(t){return i(["extend scalar",t.name,i(t.directives," ")]," ")},ObjectTypeExtension:function(t){var n=t.directives,e=t.fields;return i(["extend type",t.name,s("implements ",i(t.interfaces," & ")),i(n," "),o(e)]," ")},InterfaceTypeExtension:function(t){var n=t.directives,e=t.fields;return i(["extend interface",t.name,s("implements ",i(t.interfaces," & ")),i(n," "),o(e)]," ")},UnionTypeExtension:function(t){var n=t.types;return i(["extend union",t.name,i(t.directives," "),n&&0!==n.length?"= "+i(n," | "):""]," ")},EnumTypeExtension:function(t){var n=t.values;return i(["extend enum",t.name,i(t.directives," "),o(n)]," ")},InputObjectTypeExtension:function(t){var n=t.fields;return i(["extend input",t.name,i(t.directives," "),o(n)]," ")}};function r(t){return function(n){return i([n.description,t(n)],"\n")}}function i(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==t?void 0:t.filter((function(t){return t})).join(e))&&void 0!==n?n:""}function o(t){return s("{\n",a(i(t,"\n")),"\n}")}function s(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=n&&""!==n?t+n+e:""}function a(t){return s(" ",t.replace(/\n/g,"\n "))}function u(t){return-1!==t.indexOf("\n")}function c(t){return null!=t&&t.some(u)}})),zn=function(t){var n=t.name,e=t.type;this.uri=t.uri,this.name=n,this.type=e},Xn=function(t){return"undefined"!=typeof File&&t instanceof File||"undefined"!=typeof Blob&&t instanceof Blob||t instanceof zn},Kn=function t(n,e,r){var i;void 0===e&&(e=""),void 0===r&&(r=Xn);var o=new Map;function s(t,n){var e=o.get(n);e?e.push.apply(e,t):o.set(n,t)}if(r(n))i=null,s([e],n);else{var a=e?e+".":"";if("undefined"!=typeof FileList&&n instanceof FileList)i=Array.prototype.map.call(n,(function(t,n){return s([""+a+n],t),null}));else if(Array.isArray(n))i=n.map((function(n,e){var i=t(n,""+a+e,r);return i.files.forEach(s),i.clone}));else if(n&&n.constructor===Object)for(var u in i={},n){var c=t(n[u],""+a+u,r);c.files.forEach(s),i[u]=c.clone}else i=n}return{clone:i,files:o}},Zn=Xn,te="object"==typeof self?self.FormData:window.FormData,ne=r((function(t,n){var e=i&&i.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var r=e(te),o=function(t){return Zn(t)||null!==t&&"object"==typeof t&&"function"==typeof t.pipe};n.default=function(t,n,e){var i=Kn({query:t,variables:n,operationName:e},"",o),s=i.clone,a=i.files;if(0===a.size){if(!Array.isArray(t))return JSON.stringify(s);if(void 0!==n&&!Array.isArray(n))throw new Error("Cannot create request body with given variable type, array expected");var u=t.reduce((function(t,e,r){return t.push({query:e,variables:n?n[r]:void 0}),t}),[]);return JSON.stringify(u)}var c=new("undefined"==typeof FormData?r.default:FormData);c.append("operations",JSON.stringify(s));var f={},l=0;return a.forEach((function(t){f[++l]=t})),c.append("map",JSON.stringify(f)),l=0,a.forEach((function(t,n){c.append(""+ ++l,n)})),c}})),ee=r((function(t,n){var e,r=i&&i.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)});Object.defineProperty(n,"__esModule",{value:!0}),n.ClientError=void 0;var o=function(t){function n(e,r){var i=this,o=n.extractMessage(e)+": "+JSON.stringify({response:e,request:r});return i=t.call(this,o)||this,Object.setPrototypeOf(i,n.prototype),i.response=e,i.request=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,n),i}return r(n,t),n.extractMessage=function(t){try{return t.errors[0].message}catch(n){return"GraphQL Error (Code: "+t.status+")"}},n}(Error);n.ClientError=o})),re=r((function(t,n){var e=i&&i.__assign||function(){return e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},e.apply(this,arguments)},r=i&&i.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),o=i&&i.__setModuleDefault||(Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n}),s=i&&i.__importStar||function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return o(n,t),n},a=i&&i.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(s,a)}u((r=r.apply(t,n||[])).next())}))},u=i&&i.__generator||function(t,n){var e,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;s;)try{if(e=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=n.call(t,s)}catch(t){o=[6,t],r=0}finally{e=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},c=i&&i.__rest||function(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e},f=i&&i.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.gql=n.batchRequests=n.request=n.rawRequest=n.GraphQLClient=n.ClientError=void 0;var l=s($n),h=l,d=f(ne);Object.defineProperty(n,"ClientError",{enumerable:!0,get:function(){return ee.ClientError}});var v=function(t){var n={};return t&&("undefined"!=typeof Headers&&t instanceof Headers||t instanceof h.Headers?n=function(t){var n={};return t.forEach((function(t,e){n[e]=t})),n}(t):Array.isArray(t)?t.forEach((function(t){n[t[0]]=t[1]})):n=t),n},p=function(t){return t.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},m=function(t){var n=t.url,r=t.query,i=t.variables,o=t.operationName,s=t.headers,c=t.fetch,f=t.fetchOptions;return a(void 0,void 0,void 0,(function(){var t;return u(this,(function(a){switch(a.label){case 0:return t=d.default(r,i,o),[4,c(n,e({method:"POST",headers:e(e({},"string"==typeof t?{"Content-Type":"application/json"}:{}),s),body:t},f))];case 1:return[2,a.sent()]}}))}))},y=function(t){var n=t.url,r=t.query,i=t.variables,o=t.operationName,s=t.headers,c=t.fetch,f=t.fetchOptions;return a(void 0,void 0,void 0,(function(){var t;return u(this,(function(a){switch(a.label){case 0:return t=function(t){var n=t.query,e=t.variables,r=t.operationName;if(!Array.isArray(n)){var i=["query="+encodeURIComponent(p(n))];return e&&i.push("variables="+encodeURIComponent(JSON.stringify(e))),r&&i.push("operationName="+encodeURIComponent(r)),i.join("&")}if(void 0!==e&&!Array.isArray(e))throw new Error("Cannot create query with given variable type, array expected");var o=n.reduce((function(t,n,r){return t.push({query:p(n),variables:e?JSON.stringify(e[r]):void 0}),t}),[]);return"query="+encodeURIComponent(JSON.stringify(o))}({query:r,variables:i,operationName:o}),[4,c(n+"?"+t,e({method:"GET",headers:s},f))];case 1:return[2,a.sent()]}}))}))},b=function(){function t(t,n){this.url=t,this.options=n||{}}return t.prototype.rawRequest=function(t,n,r){var i=this.options,o=i.headers,s=i.fetch,a=void 0===s?l.default:s,u=i.method,f=void 0===u?"POST":u,h=c(i,["headers","fetch","method"]);return w({url:this.url,query:t,variables:n,headers:e(e({},v(o)),v(r)),operationName:void 0,fetch:a,method:f,fetchOptions:h})},t.prototype.request=function(t,n,r){return a(this,void 0,void 0,(function(){var i,o,s,a,f,h,d,p,m,y;return u(this,(function(u){switch(u.label){case 0:return o=(i=this.options).headers,a=void 0===(s=i.fetch)?l.default:s,h=void 0===(f=i.method)?"POST":f,d=c(i,["headers","fetch","method"]),p=this.url,m=S(t),y=m.operationName,[4,w({url:p,query:m.query,variables:n,headers:e(e({},v(o)),v(r)),operationName:y,fetch:a,method:h,fetchOptions:d})];case 1:return[2,u.sent().data]}}))}))},t.prototype.batchRequests=function(t,n){return a(this,void 0,void 0,(function(){var r,i,o,s,a,f,h,d,p,m;return u(this,(function(u){switch(u.label){case 0:return i=(r=this.options).headers,s=void 0===(o=r.fetch)?l.default:o,f=void 0===(a=r.method)?"POST":a,h=c(r,["headers","fetch","method"]),d=this.url,p=t.map((function(t){return S(t.document).query})),m=t.map((function(t){return t.variables})),[4,w({url:d,query:p,variables:m,headers:e(e({},v(i)),v(n)),operationName:void 0,fetch:s,method:f,fetchOptions:h})];case 1:return[2,u.sent().data]}}))}))},t.prototype.setHeaders=function(t){return this.options.headers=t,this},t.prototype.setHeader=function(t,n){var e,r=this.options.headers;return r?r[t]=n:this.options.headers=((e={})[t]=n,e),this},t.prototype.setEndpoint=function(t){return this.url=t,this},t}();function w(t){var n=t.url,r=t.query,i=t.variables,o=t.headers,s=t.operationName,c=t.fetch,f=t.method,l=void 0===f?"POST":f,h=t.fetchOptions;return a(this,void 0,void 0,(function(){var t,a,f,d,v,p,b;return u(this,(function(u){switch(u.label){case 0:return t="POST"===l.toUpperCase()?m:y,a=Array.isArray(r),[4,t({url:n,query:r,variables:i,operationName:s,headers:o,fetch:c,fetchOptions:h})];case 1:return[4,E(f=u.sent())];case 2:if(d=u.sent(),v=a&&Array.isArray(d)?!d.some((function(t){return!t.data})):!!d.data,f.ok&&!d.errors&&v)return p=f.headers,b=f.status,[2,e(e({},a?{data:d}:d),{headers:p,status:b})];throw new ee.ClientError(e(e({},"string"==typeof d?{error:d}:d),{status:f.status,headers:f.headers}),{query:r,variables:i})}}))}))}function g(t,n,e,r){return a(this,void 0,void 0,(function(){return u(this,(function(){return[2,new b(t).request(n,e,r)]}))}))}function E(t){var n=t.headers.get("Content-Type");return n&&n.startsWith("application/json")?t.json():t.text()}function S(t){var n;if("string"==typeof t)return{query:t};var e=void 0,r=t.definitions.filter((function(t){return"OperationDefinition"===t.kind}));return 1===r.length&&(e=null===(n=r[0].name)||void 0===n?void 0:n.value),{query:Yn.print(t),operationName:e}}n.GraphQLClient=b,n.rawRequest=function(t,n,e,r){return a(this,void 0,void 0,(function(){return u(this,(function(){return[2,new b(t).rawRequest(n,e,r)]}))}))},n.request=g,n.batchRequests=function(t,n,e){return a(this,void 0,void 0,(function(){return u(this,(function(){return[2,new b(t).batchRequests(n,e)]}))}))},n.default=g,n.gql=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return t.reduce((function(t,e,r){return""+t+e+(r in n?n[r]:"")}),"")}}));function ie(t){return"function"==typeof t}let oe=!1;const se={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else oe&&console.log("RxJS: Back to a better error behavior. Thank you. <3");oe=t},get useDeprecatedSynchronousErrorHandling(){return oe}};function ae(t){setTimeout((()=>{throw t}),0)}const ue={closed:!0,next(t){},error(t){if(se.useDeprecatedSynchronousErrorHandling)throw t;ae(t)},complete(){}},ce=Array.isArray||(t=>t&&"number"==typeof t.length),fe=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map(((t,n)=>`${n+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class le{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:e,_unsubscribe:r,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof le)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(ie(r)){e&&(this._unsubscribe=void 0);try{r.call(this)}catch(n){t=n instanceof fe?he(n.errors):[n]}}if(ce(i)){let n=-1,e=i.length;for(;++n<e;){const e=i[n];if(null!==(o=e)&&"object"==typeof o)try{e.unsubscribe()}catch(n){t=t||[],n instanceof fe?t=t.concat(he(n.errors)):t.push(n)}}}var o;if(t)throw new fe(t)}add(t){let n=t;if(!t)return le.EMPTY;switch(typeof t){case"function":n=new le(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof le)){const t=n;n=new le,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:e}=n;if(null===e)n._parentOrParents=this;else if(e instanceof le){if(e===this)return n;n._parentOrParents=[e,this]}else{if(-1!==e.indexOf(this))return n;e.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const n=this._subscriptions;if(n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function he(t){return t.reduce(((t,n)=>t.concat(n instanceof fe?n.errors:n)),[])}le.EMPTY=function(t){return t.closed=!0,t}(new le);const de="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class ve extends le{constructor(t,n,e){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ue;break;case 1:if(!t){this.destination=ue;break}if("object"==typeof t){t instanceof ve?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new pe(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new pe(this,t,n,e)}}[de](){return this}static create(t,n,e){const r=new ve(t,n,e);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class pe extends ve{constructor(t,n,e,r){let i;super(),this._parentSubscriber=t;let o=this;ie(n)?i=n:n&&(i=n.next,e=n.error,r=n.complete,n!==ue&&(o=Object.create(n),ie(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=e,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;se.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:e}=se;if(this._error)e&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(n.syncErrorThrowable)e?(n.syncErrorValue=t,n.syncErrorThrown=!0):ae(t),this.unsubscribe();else{if(this.unsubscribe(),e)throw t;ae(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const n=()=>this._complete.call(this._context);se.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,n){try{t.call(this._context,n)}catch(t){if(this.unsubscribe(),se.useDeprecatedSynchronousErrorHandling)throw t;ae(t)}}__tryOrSetError(t,n,e){if(!se.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,e)}catch(n){return se.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(ae(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const me="function"==typeof Symbol&&Symbol.observable||"@@observable";function ye(t){return t}class be{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const n=new be;return n.source=this,n.operator=t,n}subscribe(t,n,e){const{operator:r}=this,i=function(t,n,e){if(t){if(t instanceof ve)return t;if(t[de])return t[de]()}return t||n||e?new ve(t,n,e):new ve(ue)}(t,n,e);if(i.add(r?r.call(i,this.source):this.source||se.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),se.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(n){se.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=n),function(t){for(;t;){const{closed:n,destination:e,isStopped:r}=t;if(n||r)return!1;t=e&&e instanceof ve?e:null}return!0}(t)?t.error(n):console.warn(n)}}forEach(t,n){return new(n=we(n))(((n,e)=>{let r;r=this.subscribe((n=>{try{t(n)}catch(t){e(t),r&&r.unsubscribe()}}),e,n)}))}_subscribe(t){const{source:n}=this;return n&&n.subscribe(t)}[me](){return this}pipe(...t){return 0===t.length?this:(0===(n=t).length?ye:1===n.length?n[0]:function(t){return n.reduce(((t,n)=>n(t)),t)})(this);var n}toPromise(t){return new(t=we(t))(((t,n)=>{let e;this.subscribe((t=>e=t),(t=>n(t)),(()=>t(e)))}))}}function we(t){if(t||(t=Promise),!t)throw new Error("no Promise impl found");return t}be.create=t=>new be(t);const ge=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class Ee extends le{constructor(t,n){super(),this.subject=t,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,n=t.observers;if(this.subject=null,!n||0===n.length||t.isStopped||t.closed)return;const e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}class Se extends ve{constructor(t){super(t),this.destination=t}}class Oe extends be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[de](){return new Se(this)}lift(t){const n=new Ie(this,this);return n.operator=t,n}next(t){if(this.closed)throw new ge;if(!this.isStopped){const{observers:n}=this,e=n.length,r=n.slice();for(let n=0;n<e;n++)r[n].next(t)}}error(t){if(this.closed)throw new ge;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:n}=this,e=n.length,r=n.slice();for(let n=0;n<e;n++)r[n].error(t);this.observers.length=0}complete(){if(this.closed)throw new ge;this.isStopped=!0;const{observers:t}=this,n=t.length,e=t.slice();for(let t=0;t<n;t++)e[t].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new ge;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new ge;return this.hasError?(t.error(this.thrownError),le.EMPTY):this.isStopped?(t.complete(),le.EMPTY):(this.observers.push(t),new Ee(this,t))}asObservable(){const t=new be;return t.source=this,t}}Oe.create=(t,n)=>new Ie(t,n);class Ie extends Oe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){const{destination:n}=this;n&&n.next&&n.next(t)}error(t){const{destination:n}=this;n&&n.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:n}=this;return n?this.source.subscribe(t):le.EMPTY}}class Te extends le{constructor(t,n){super()}schedule(t,n=0){return this}}class je{constructor(t,n=je.now){this.SchedulerAction=t,this.now=n}schedule(t,n=0,e){return new this.SchedulerAction(this,t).schedule(e,n)}}je.now=()=>Date.now();class Ne extends je{constructor(t,n=je.now){super(t,(()=>Ne.delegate&&Ne.delegate!==this?Ne.delegate.now():n())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,n=0,e){return Ne.delegate&&Ne.delegate!==this?Ne.delegate.schedule(t,n,e):super.schedule(t,n,e)}flush(t){const{actions:n}=this;if(this.active)return void n.push(t);let e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}}function Ce(t){return t&&"function"==typeof t.schedule}const Fe=new Ne(class extends Te{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){if(this.closed)return this;this.state=t;const e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this}requestAsyncId(t,n,e=0){return setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,n,e=0){if(null!==e&&this.delay===e&&!1===this.pending)return n;clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let e,r=!1;try{this.work(t)}catch(t){r=!0,e=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),e}_unsubscribe(){const t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null}}),Ae=Fe;class De{constructor(t,n,e,r){this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=e,this.scheduler=r}call(t,n){return n.subscribe(new xe(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class _e{constructor(){this.buffer=[]}}class xe extends ve{constructor(t,n,e,r,i){super(t),this.bufferTimeSpan=n,this.bufferCreationInterval=e,this.maxBufferSize=r,this.scheduler=i,this.contexts=[];const o=this.openContext();if(this.timespanOnly=null==e||e<0,this.timespanOnly)this.add(o.closeAction=i.schedule(ke,n,{subscriber:this,context:o,bufferTimeSpan:n}));else{const t={bufferTimeSpan:n,bufferCreationInterval:e,subscriber:this,scheduler:i};this.add(o.closeAction=i.schedule(qe,n,{subscriber:this,context:o})),this.add(i.schedule(Pe,e,t))}}_next(t){const n=this.contexts,e=n.length;let r;for(let i=0;i<e;i++){const e=n[i],o=e.buffer;o.push(t),o.length==this.maxBufferSize&&(r=e)}r&&this.onBufferFull(r)}_error(t){this.contexts.length=0,super._error(t)}_complete(){const{contexts:t,destination:n}=this;for(;t.length>0;){const e=t.shift();n.next(e.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(t){this.closeContext(t);const n=t.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){t=this.openContext();const n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(ke,n,{subscriber:this,context:t,bufferTimeSpan:n}))}}openContext(){const t=new _e;return this.contexts.push(t),t}closeContext(t){this.destination.next(t.buffer);const n=this.contexts;(n?n.indexOf(t):-1)>=0&&n.splice(n.indexOf(t),1)}}function ke(t){const n=t.subscriber,e=t.context;e&&n.closeContext(e),n.closed||(t.context=n.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function Pe(t){const{bufferCreationInterval:n,bufferTimeSpan:e,subscriber:r,scheduler:i}=t,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(qe,e,{subscriber:r,context:o})),this.schedule(t,n))}function qe(t){const{subscriber:n,context:e}=t;n.closeContext(e)}var Re=r((function(t,n){!function(t){const{getOwnPropertyNames:n,getOwnPropertySymbols:e}=Object,{hasOwnProperty:r}=Object.prototype;function i(t,n){return function(e,r,i){return t(e,r,i)&&n(e,r,i)}}function o(t){return function(n,e,r){if(!n||!e||"object"!=typeof n||"object"!=typeof e)return t(n,e,r);const{cache:i}=r,o=i.get(n),s=i.get(e);if(o&&s)return o===e&&s===n;i.set(n,e),i.set(e,n);const a=t(n,e,r);return i.delete(n),i.delete(e),a}}function s(t){return n(t).concat(e(t))}const a=Object.hasOwn||((t,n)=>r.call(t,n));function u(t,n){return t===n||!t&&!n&&t!=t&&n!=n}const{getOwnPropertyDescriptor:c,keys:f}=Object,{propertyIsEnumerable:l}=Object.prototype,h=c(Object.getPrototypeOf(Int8Array.prototype),Symbol.toStringTag).get;function d(t,n){return t.byteLength===n.byteLength&&N(new Uint8Array(t),new Uint8Array(n))}function v(t,n,e){let r=t.length;if(n.length!==r)return!1;for(;r-- >0;)if(!e.equals(t[r],n[r],r,r,t,n,e))return!1;return!0}function p(t,n){return t.byteLength===n.byteLength&&N(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(n.buffer,n.byteOffset,n.byteLength))}function m(t,n){return u(t.getTime(),n.getTime())}function y(t,n,e){if(t.name!==n.name||t.message!==n.message||t.stack!==n.stack)return!1;const r=t.cause,i=n.cause;if(r!==i&&!e.equals(r,i,"cause","cause",t,n,e))return!1;const o=t.errors,s=n.errors;if(o!==s&&!e.equals(o,s,"errors","errors",t,n,e))return!1;const a=f(t),u=f(n);let c=a.length;if(!c&&!u.length)return!0;let h,d=0;for(;c-- >0;)if(h=a[c],"cause"!==h&&"errors"!==h){if(h!==u[c]&&!l.call(n,h)||!e.equals(t[h],n[h],h,h,t,n,e))return!1;++d}const v=u.length-d;return!v||v===(l.call(n,"cause")?1:0)+(l.call(n,"errors")?1:0)}function b(t,n){return t===n}function w(t,n,e){return t.name===n.name&&t.message===n.message&&t.stack===n.stack&&O(t,n,e)}function g(t,n,e){const r=t.size;if(r!==n.size)return!1;if(!r)return!0;const i=new Array(r),o=t.entries();let s,a,u=0;for(;(s=o.next())&&!s.done;){const r=n.entries();let o=!1,c=0;for(;(a=r.next())&&!a.done;){if(i[c]){c++;continue}const r=s.value,f=a.value;if(e.equals(r[0],f[0],u,c,t,n,e)&&e.equals(r[1],f[1],r[0],f[0],t,n,e)){o=i[c]=!0;break}c++}if(!o)return!1;u++}return!0}const E=u;function S(t,n,e){const r=f(t),i=f(n);let o=r.length;if(i.length!==o)return!1;const s=o<=64;let a;for(;o-- >0;)if(a=r[o],!A(t,n,a)&&(a!==i[o]&&!(s?i.includes(a):l.call(n,a))||!e.equals(t[a],n[a],a,a,t,n,e)))return!1;return!0}function O(t,n,e){const r=s(t);let i,o,u,f=r.length;if(s(n).length!==f)return!1;for(;f-- >0;){if(i=r[f],!(A(t,n,i)||a(n,i)&&e.equals(t[i],n[i],i,i,t,n,e)))return!1;if(o=c(t,i),u=c(n,i),(o||u)&&(!o||!u||o.configurable!==u.configurable||o.enumerable!==u.enumerable||o.writable!==u.writable))return!1}return!0}function I(t,n){return u(t.valueOf(),n.valueOf())}function T(t,n){return t.source===n.source&&t.flags===n.flags}function j(t,n,e){const r=t.size;if(r!==n.size)return!1;if(!r)return!0;const i=new Array(r),o=t.values();let s,a;for(;(s=o.next())&&!s.done;){const r=n.values();let o=!1,u=0;for(;(a=r.next())&&!a.done;){if(!i[u]&&e.equals(s.value,a.value,s.value,a.value,t,n,e)){o=i[u]=!0;break}u++}if(!o)return!1}return!0}function N(t,n){let e=t.length;if(n.length!==e||t.byteOffset!==n.byteOffset)return!1;const r=h.call(t);if("Float64Array"===r||"Float32Array"===r||"Float16Array"===r){for(;e-- >0;)if(t[e]!==n[e]&&(t[e]==t[e]||n[e]==n[e]))return!1;return!0}for(;e-- >0;)if(t[e]!==n[e])return!1;return!0}function C(t,n){return t.href===n.href||t.protocol===n.protocol&&t.username===n.username&&t.password===n.password&&t.host===n.host&&t.pathname===n.pathname&&t.hash===n.hash&&function(t,n){const e=t.toString(),r=n.toString();return e===r||F(e)===F(r)}(t.searchParams,n.searchParams)}function F(t){return t.split("&").sort().join("&")}function A(t,n,e){return!("_owner"!==e&&"__o"!==e&&"__v"!==e||!t.$$typeof&&!n.$$typeof)}const D={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},_=Object.prototype.toString;function x({areArrayBuffersEqual:t,areArraysEqual:n,areDataViewsEqual:e,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:s,areNumbersEqual:a,areObjectsEqual:u,arePrimitiveWrappersEqual:c,areRegExpsEqual:f,areSetsEqual:l,areTypedArraysEqual:h,areUrlsEqual:d,unknownTagComparators:v}){return function(p,m,y){if(p===m)return!0;if(null==p||null==m)return!1;const b=typeof p;if(b!==typeof m)return!1;if("object"!==b)return"number"===b?a(p,m,y):"function"===b&&o(p,m,y);const w=p.constructor;if(w!==m.constructor)return!1;if(w===Object)return u(p,m,y);if(Array.isArray(p))return n(p,m,y);if(w===Date)return r(p,m,y);if(w===RegExp)return f(p,m,y);if(w===Map)return s(p,m,y);if(w===Set)return l(p,m,y);if(null==w)return u(p,m,y);const g=_.call(p);if("[object Date]"===g)return r(p,m,y);if("[object RegExp]"===g)return f(p,m,y);if("[object Map]"===g)return s(p,m,y);if("[object Set]"===g)return l(p,m,y);if("[object Object]"===g)return"function"!=typeof p.then&&"function"!=typeof m.then&&u(p,m,y);if("[object URL]"===g)return d(p,m,y);if("[object Error]"===g)return i(p,m,y);if("[object Arguments]"===g)return u(p,m,y);if(D[g])return h(p,m,y);if("[object ArrayBuffer]"===g)return t(p,m,y);if("[object DataView]"===g)return e(p,m,y);if("[object Boolean]"===g||"[object Number]"===g||"[object String]"===g)return c(p,m,y);if(v){let t=v[g];if(!t){const n=null!=(E=p)?E[Symbol.toStringTag]:void 0;n&&(t=v[n])}if(t)return t(p,m,y)}var E;return!1}}const k=L(),P=L({strict:!0}),q=L({circular:!0}),R=L({circular:!0,strict:!0}),U=L({createInternalComparator:()=>u}),M=L({strict:!0,createInternalComparator:()=>u}),V=L({circular:!0,createInternalComparator:()=>u}),$=L({circular:!0,createInternalComparator:()=>u,strict:!0});function L(t={}){const{circular:n=!1,createInternalComparator:e,createState:r,strict:s=!1}=t,a=x(function({circular:t,createCustomConfig:n,strict:e}){let r={areArrayBuffersEqual:d,areArraysEqual:e?O:v,areDataViewsEqual:p,areDatesEqual:m,areErrorsEqual:e?w:y,areFunctionsEqual:b,areMapsEqual:e?i(g,O):g,areNumbersEqual:E,areObjectsEqual:e?O:S,arePrimitiveWrappersEqual:I,areRegExpsEqual:T,areSetsEqual:e?i(j,O):j,areTypedArraysEqual:e?i(N,O):N,areUrlsEqual:C,unknownTagComparators:void 0};if(n&&(r=Object.assign({},r,n(r))),t){const t=o(r.areArraysEqual),n=o(r.areErrorsEqual),e=o(r.areMapsEqual),i=o(r.areObjectsEqual),s=o(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:t,areErrorsEqual:n,areMapsEqual:e,areObjectsEqual:i,areSetsEqual:s})}return r}(t));return function({circular:t,comparator:n,createState:e,equals:r,strict:i}){if(e)return function(o,s){const{cache:a=(t?new WeakMap:void 0),meta:u}=e();return n(o,s,{cache:a,equals:r,meta:u,strict:i})};if(t)return function(t,e){return n(t,e,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};const o={cache:void 0,equals:r,meta:void 0,strict:i};return function(t,e){return n(t,e,o)}}({circular:n,comparator:a,createState:r,equals:e?e(a):(u=a,function(t,n,e,r,i,o,s){return u(t,n,s)}),strict:s});var u}t.circularDeepEqual=q,t.circularShallowEqual=V,t.createCustomEqual=L,t.deepEqual=k,t.sameValueZeroEqual=u,t.shallowEqual=U,t.strictCircularDeepEqual=R,t.strictCircularShallowEqual=$,t.strictDeepEqual=P,t.strictShallowEqual=M}(n)})),Ue=Object.create,Me=Object.defineProperty,Ve=Object.defineProperties,$e=Object.getOwnPropertyDescriptor,Le=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,Ge=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Qe=(t,n,e)=>n in t?Me(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,Ye=(t,n)=>{for(var e in n||(n={}))He.call(n,e)&&Qe(t,e,n[e]);if(Je)for(var e of Je(n))We.call(n,e)&&Qe(t,e,n[e]);return t},ze=(t,n)=>Ve(t,Le(n)),Xe=(t,n)=>function(){return n||(0,t[Be(t)[0]])((n={exports:{}}).exports,n),n.exports},Ke=(t,n,e)=>(e=null!=t?Ue(Ge(t)):{},((t,n,e,r)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let e of Be(n))He.call(t,e)||undefined===e||Me(t,e,{get:()=>n[e],enumerable:!(r=$e(n,e))||r.enumerable});return t})(!n&&t&&t.__esModule?e:Me(e,"default",{value:t,enumerable:!0}),t)),Ze=Xe({"node_modules/ms/index.js"(t,n){var e=1e3,r=60*e,i=60*r,o=24*i;function s(t,n,e,r){var i=n>=1.5*e;return Math.round(t/e)+" "+r+(i?"s":"")}n.exports=function(t,n){n=n||{};var a,u,c=typeof t;if("string"===c&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(n){var s=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(t);if("number"===c&&isFinite(t))return n.long?(a=t,(u=Math.abs(a))>=o?s(a,u,o,"day"):u>=i?s(a,u,i,"hour"):u>=r?s(a,u,r,"minute"):u>=e?s(a,u,e,"second"):a+" ms"):function(t){var n=Math.abs(t);return n>=o?Math.round(t/o)+"d":n>=i?Math.round(t/i)+"h":n>=r?Math.round(t/r)+"m":n>=e?Math.round(t/e)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}}),tr=Xe({"node_modules/debug/src/common.js"(t,n){n.exports=function(t){function n(t){let r,i,o,s=null;function a(...t){if(!a.enabled)return;const e=a,i=Number(new Date);e.diff=i-(r||i),e.prev=r,e.curr=i,r=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";o++;const s=n.formatters[i];return"function"==typeof s&&(r=s.call(e,t[o]),t.splice(o,1),o--),r})),n.formatArgs.call(e,t),(e.log||n.log).apply(e,t)}return a.namespace=t,a.useColors=n.useColors(),a.color=n.selectColor(t),a.extend=e,a.destroy=n.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==n.namespaces&&(i=n.namespaces,o=n.enabled(t)),o),set:t=>{s=t}}),"function"==typeof n.init&&n.init(a),a}function e(t,e){const r=n(this.namespace+(void 0===e?":":e)+t);return r.log=this.log,r}function r(t,n){let e=0,r=0,i=-1,o=0;for(;e<t.length;)if(r<n.length&&(n[r]===t[e]||"*"===n[r]))"*"===n[r]?(i=r,o=e,r++):(e++,r++);else{if(-1===i)return!1;r=i+1,o++,e=o}for(;r<n.length&&"*"===n[r];)r++;return r===n.length}return n.debug=n,n.default=n,n.coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){const t=[...n.names,...n.skips.map((t=>"-"+t))].join(",");return n.enable(""),t},n.enable=function(t){n.save(t),n.namespaces=t,n.names=[],n.skips=[];const e=("string"==typeof t?t:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const t of e)"-"===t[0]?n.skips.push(t.slice(1)):n.names.push(t)},n.enabled=function(t){for(const e of n.skips)if(r(t,e))return!1;for(const e of n.names)if(r(t,e))return!0;return!1},n.humanize=Ze(),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((e=>{n[e]=t[e]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return n.colors[Math.abs(e)%n.colors.length]},n.enable(n.load()),n}}}),nr=Xe({"node_modules/debug/src/browser.js"(t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),t.splice(i,0,e)},t.save=function(n){try{n?t.storage.setItem("debug",n):t.storage.removeItem("debug")}catch(t){}},t.load=function(){let n;try{n=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(t){}return!n&&"undefined"!=typeof process&&"env"in process&&(n=process.env.DEBUG),n},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(t){}}(),t.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),n.exports=tr()(t);var{formatters:e}=n.exports;e.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}}),er={current:void 0};function rr(){if(void 0===er.current)throw new Error("no implementation of useHost provided");return er.current()}function ir(t){if(!t)throw new Error("Must supply an implementation");if("function"!=typeof t)throw new Error("implementation must be a function");er.current=t}function or(){Z();const t=rr();return s(t,q)}function sr(){lt();const t=rr();return s(t,R)}function ar(){var t;return null==(t=ur())?void 0:t.jwt}function ur(){ot();const t=rr(),n=s(t,P),e=st(null==n?void 0:n.jwt);if($()||!n||e)return n;ut(void 0)}var cr=L,fr=J,lr=function(){var t;const n=V();switch(n.type){case"SquatchJS2":return(null==(t=n.widgetIdent)?void 0:t.engagementMedium)||U;case"SquatchAndroid":case"SquatchIOS":case"SquatchPortal":case"SquatchAdmin":case"None":return U}},hr=function(){return hr=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},hr.apply(this,arguments)},dr=new Map,vr=new Map,pr=!0,mr=!1;function yr(t){return t.replace(/[\s,]+/g," ").trim()}function br(t){var n=yr(t);if(!dr.has(n)){var e=cn(t,{experimentalFragmentVariables:mr,allowLegacyFragmentVariables:mr,experimentalFragmentArguments:mr});if(!e||"Document"!==e.kind)throw new Error("Not a valid GraphQL document.");dr.set(n,function(t){var n=new Set(t.definitions);n.forEach((function(t){t.loc&&delete t.loc,Object.keys(t).forEach((function(e){var r=t[e];r&&"object"==typeof r&&n.add(r)}))}));var e=t.loc;return e&&(delete e.startToken,delete e.endToken),t}(function(t){var n=new Set,e=[];return t.definitions.forEach((function(t){if("FragmentDefinition"===t.kind){var r=t.name.value,i=yr((s=t.loc).source.body.substring(s.start,s.end)),o=vr.get(r);o&&!o.has(i)?pr&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||vr.set(r,o=new Set),o.add(i),n.has(i)||(n.add(i),e.push(t))}else e.push(t);var s})),hr(hr({},t),{definitions:e})}(e)))}return dr.get(n)}function wr(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];"string"==typeof t&&(t=[t]);var r=t[0];return n.forEach((function(n,e){r+=n&&"Document"===n.kind?n.loc.source.body:n,r+=t[e+1]})),br(r)}var gr,Er=wr;(gr=wr||(wr={})).gql=Er,gr.resetCaches=function(){dr.clear(),vr.clear()},gr.disableFragmentWarnings=function(){pr=!1},gr.enableExperimentalFragmentVariables=function(){mr=!0},gr.disableExperimentalFragmentVariables=function(){mr=!1},wr.default=wr;var Sr=wr,Or=class extends re.GraphQLClient{constructor(t,n){var e,r;super(t,n),e="subject",r=new Oe,Qe(this,e+"",r);const i=new Oe,o=this.subject.pipe(function(t){let n=arguments.length,e=Ae;Ce(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);let r=null;n>=2&&(r=arguments[1]);let i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),function(n){return n.lift(new De(t,r,i,e))}}(200,void 0,10));o.subscribe((async t=>{if(!t.length)return;const{mergedQuery:n,mergedVariables:e,mergedQueryAddedEvents:r,unmergedQueryAddedEvents:o}=Nr(t);for(const t of o)i.next(t);if(r.length)try{const t=await this.superRequest(n,e);Ar(t,r)}catch(t){if(t instanceof ee.ClientError){const{data:n,errors:e}=t.response;if(!n)return _r(r,t);const i=Object.keys(n);let o=[...r];for(const n of e){let e;n.path.find(((r,s,a)=>{if(i.includes(r)){const u=jr(r),c=o.findIndex((t=>t.id===u));if(-1===c)return!1;i.splice(i.indexOf(r),1),e=o.splice(c,1)[0];const f=Cr(t.response.data,e);a[s]=Tr(a[s],u);const{query:l,variables:h}=e,d=ze(Ye({},t.response),{errors:[n],data:f,path:a}),v=new ee.ClientError(d,{query:"string"!=typeof l?mn(l):l,variables:h});return Dr(e,v),!0}return!1}))}Ar(n,o)}else _r(r,t)}})),i.subscribe((async t=>{try{const{query:n,variables:e}=t,r=await this.superRequest(n,e);Fr(r,t)}catch(n){Dr(t,n)}}))}superRequest(t,n){return super.request(t,n)}request(t,n,e){return new Promise(((r,i)=>{const o={query:t,variables:n,id:Ir(),options:e,resolve:r,reject:i};this.subject.next(o)}))}},Ir=()=>((t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,n)=>t+((n&=63)<36?n.toString(36):n<62?(n-26).toString(36).toUpperCase():n>62?"-":"_")),""))().replace(/[-_]/g,""),Tr=(t,n)=>t.replace(`_${n}`,""),jr=t=>{const n=t.split("_");return n[n.length-1]},Nr=t=>{const n=[],e=[],{document:r,variables:i}=t.reduce(((t,r)=>{const{query:i,variables:o,id:s,options:a}=r;if(!(null==a?void 0:a.batch))return e.push(r),t;try{const a="string"==typeof i?cn(i):i,u=a.definitions.find((t=>"FragmentDefinition"===t.kind)),c="string"==typeof i?i:mn(i),f=/@/.test(c);if(u||f)return e.push(r),t;const l=t=>((t,n)=>`${t}_${n}`)(t,s);return t=t.addN(a,[o],l,l),n.push(r),t}catch(n){return e.push(r),t}}),Vn("BatchedQuery"));return{mergedQuery:r&&mn(r),mergedVariables:i,mergedQueryAddedEvents:n,unmergedQueryAddedEvents:e}},Cr=(t,n)=>{if(!t)return t;const e=Object.keys(t),{id:r}=n;return e.reduce(((n,e)=>(e.endsWith(r)&&(n=ze(Ye({},n),{[Tr(e,r)]:t[e]})),n)),{})},Fr=(t,n)=>{const{resolve:e}=n;e(t)},Ar=(t,n)=>{for(const e of n){const n=Cr(t,e);e.resolve(n)}},Dr=(t,n)=>{const{reject:e}=t;e(n)},_r=(t,n)=>{for(const e of t){const{reject:t}=e;t(n)}},xr="sq:graphql-client",kr=Rn((function(t,n,e){return new Or(t+"/api/v1/"+n+"/graphql",{headers:{Authorization:`Bearer ${e||""}`}})}));function Pr(t,n){switch(n.type){case"loading":return{data:void 0,errors:void 0,loading:!0};case"data":return{data:n.payload,errors:void 0,loading:!1};case"errors":return{data:void 0,errors:n.payload,loading:!1}}}function qr(t,n,e={batch:!0}){const r=function(){const t=ar(),n=fr(),e=cr(),r=kr(n,e,t),i=rr(),o=s(i,xr,{attempts:0});return null!=o?o:r}(),[i,o]=c(Pr,n);return[i,dt((async function(n,i=!1){if(!r){const t=new Error("No GraphQL client found");return o({type:"errors",payload:t}),t}try{i||o({type:"loading"});const s=await r.request(t,n,e);return o({type:"data",payload:s}),s}catch(t){return o({type:"errors",payload:t}),t}}),[r,t,o])]}var Rr={loading:!1,data:void 0,errors:void 0};function Ur(t){const[n,e]=qr(t,Rr);return[e,n]}var Mr=Sr`
|
|
2
|
+
mutation AuthenticateWithEmailAndPassword(
|
|
3
|
+
$email: String!
|
|
4
|
+
$password: String!
|
|
5
|
+
) {
|
|
6
|
+
authenticateManagedIdentityWithEmailAndPassword(
|
|
7
|
+
authenticateManagedIdentityWithEmailAndPasswordInput: {
|
|
8
|
+
email: $email
|
|
9
|
+
password: $password
|
|
10
|
+
}
|
|
11
|
+
) {
|
|
12
|
+
token
|
|
13
|
+
email
|
|
14
|
+
emailVerified
|
|
15
|
+
sessionData
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;function Vr(){const[t,{loading:n,data:e,errors:r}]=Ur(Mr);return[async n=>{const e=await t(n);if(!(e instanceof Error)&&e.authenticateManagedIdentityWithEmailAndPassword){const t=e.authenticateManagedIdentityWithEmailAndPassword.token,{user:n}=Fn(t);ut({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.authenticateManagedIdentityWithEmailAndPassword.email,emailVerified:e.authenticateManagedIdentityWithEmailAndPassword.emailVerified,sessionData:e.authenticateManagedIdentityWithEmailAndPassword.sessionData}})}return e},{loading:n,data:e,errors:r}]}var $r=Sr`
|
|
19
|
+
mutation RegisterWithEmailAndPassword(
|
|
20
|
+
$email: String!
|
|
21
|
+
$password: String!
|
|
22
|
+
$formData: RSJsonNode
|
|
23
|
+
$redirectPath: String
|
|
24
|
+
) {
|
|
25
|
+
registerManagedIdentityWithEmailAndPassword(
|
|
26
|
+
registerManagedIdentityWithEmailAndPasswordInput: {
|
|
27
|
+
email: $email
|
|
28
|
+
password: $password
|
|
29
|
+
formData: $formData
|
|
30
|
+
redirectPath: $redirectPath
|
|
31
|
+
}
|
|
32
|
+
) {
|
|
33
|
+
token
|
|
34
|
+
email
|
|
35
|
+
emailVerified
|
|
36
|
+
sessionData
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;function Lr(){const[t,{loading:n,data:e,errors:r}]=Ur($r);return[async n=>{const e=await t(n);if(!(e instanceof Error)&&e.registerManagedIdentityWithEmailAndPassword){const t=e.registerManagedIdentityWithEmailAndPassword.token,{user:n}=Fn(t);ut({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.registerManagedIdentityWithEmailAndPassword.email,emailVerified:e.registerManagedIdentityWithEmailAndPassword.emailVerified,sessionData:e.registerManagedIdentityWithEmailAndPassword.sessionData}})}return e},{loading:n,data:e,errors:r}]}var Br=Sr`
|
|
40
|
+
mutation RegisterViaRegistrationForm($key: String!, $formData: RSJsonNode!) {
|
|
41
|
+
submitForm(formSubmissionInput: { key: $key, formData: $formData }) {
|
|
42
|
+
results {
|
|
43
|
+
... on FormHandlerSubmissionResult {
|
|
44
|
+
result
|
|
45
|
+
formHandler {
|
|
46
|
+
namespace
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
... on FormHandlerError {
|
|
50
|
+
errorCode
|
|
51
|
+
error
|
|
52
|
+
errorType
|
|
53
|
+
formHandler {
|
|
54
|
+
name
|
|
55
|
+
endpointUrl
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
`;function Jr(){const[t,{loading:n,data:e,errors:r}]=Ur(Br),[i,o]=l(null);return[async n=>{var e,r,i,s;o(null);const a=await t(n);if(a instanceof Error)return a;const u=null==(r=null==(e=a.submitForm)?void 0:e.results)?void 0:r.find((t=>{var n;return"identity"===(null==(n=null==t?void 0:t.formHandler)?void 0:n.namespace)}));if(u&&(null==(s=null==(i=u.result)?void 0:i.results)?void 0:s.length)){const t=u.result.results[0];if(t.success){const n=t.data.token,{user:e}=Fn(n);ut({jwt:n,id:e.id,accountId:e.accountId,managedIdentity:{email:t.data.email,emailVerified:t.data.emailVerified,sessionData:t.data.sessionData}})}else o(t.message)}return a},{loading:n,data:e,errors:r,formError:i}]}var Gr=Sr`
|
|
62
|
+
mutation ChangePassword($password: String!) {
|
|
63
|
+
changeManagedIdentityPassword(
|
|
64
|
+
changeManagedIdentityPasswordInput: { password: $password }
|
|
65
|
+
) {
|
|
66
|
+
success
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`;function Hr(){const[t,{loading:n,data:e,errors:r}]=Ur(Gr);return[t,{loading:n,data:e,errors:r}]}var Wr=Sr`
|
|
70
|
+
mutation ResetPassword($oobCode: String!, $password: String!) {
|
|
71
|
+
resetManagedIdentityPassword(
|
|
72
|
+
resetManagedIdentityPasswordInput: {
|
|
73
|
+
password: $password
|
|
74
|
+
oobCode: $oobCode
|
|
75
|
+
}
|
|
76
|
+
) {
|
|
77
|
+
token
|
|
78
|
+
email
|
|
79
|
+
emailVerified
|
|
80
|
+
sessionData
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
`;function Qr(){const[t,{loading:n,data:e,errors:r}]=Ur(Wr);return[async n=>{const e=await t(n);if(!(e instanceof Error)&&e.resetManagedIdentityPassword){const t=e.resetManagedIdentityPassword.token,{user:n}=Fn(t);ut({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.resetManagedIdentityPassword.email,emailVerified:e.resetManagedIdentityPassword.emailVerified,sessionData:e.resetManagedIdentityPassword.sessionData}})}return e},{loading:n,data:e,errors:r}]}var Yr=Sr`
|
|
84
|
+
mutation VerifyPasswordResetCode($oobCode: String!) {
|
|
85
|
+
verifyManagedIdentityPasswordResetCode(
|
|
86
|
+
verifyManagedIdentityPasswordResetCodeInput: { oobCode: $oobCode }
|
|
87
|
+
) {
|
|
88
|
+
success
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
`;function zr(){return Ur(Yr)}var Xr="sq:refresh";function Kr(){const t=rr();return{refresh:dt((()=>{t.dispatchEvent(new CustomEvent(Xr,{bubbles:!0,composed:!0,cancelable:!0,detail:{}}))}),[t])}}function Zr({skip:t=!1,update:n,variables:r}){f((()=>{const e=()=>{!t&&n(r,!0)};return document.addEventListener(Xr,e),()=>document.removeEventListener(Xr,e)}),function(t){const n=h(t),r=h(0);return g(t,n.current)||(n.current=t,r.current+=1),e((()=>n.current),[r.current])}([r,n,t]))}var ti={loading:!1,data:void 0,errors:void 0},ni=Symbol();function ei(t){const[n,e]=qr(t,ti),r=h(ni);Zr({skip:r.current===ni,update:e,variables:r.current});const i=dt((t=>(r.current=t,e(t))),[e]);return[e,ze(Ye({},n),{refetch:i})]}var ri=Sr`
|
|
92
|
+
query ManagedIdentitySession {
|
|
93
|
+
managedIdentitySession {
|
|
94
|
+
email
|
|
95
|
+
emailVerified
|
|
96
|
+
sessionData
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`;function ii(){const t=ur(),[n,{loading:e,data:r,errors:i,refetch:o}]=ei(ri),s=n=>{n instanceof Error||!n.managedIdentitySession||ut(ze(Ye({},t),{managedIdentity:n.managedIdentitySession}))};return[async()=>{const t=await n({});return s(t),t},{loading:e,data:r,errors:i,refetch:async()=>{const t=await o();return s(t),t}}]}var oi=Sr`
|
|
100
|
+
mutation VerifyEmail($oobCode: String!) {
|
|
101
|
+
verifyManagedIdentityEmail(
|
|
102
|
+
verifyManagedIdentityEmailInput: { oobCode: $oobCode }
|
|
103
|
+
) {
|
|
104
|
+
success
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`;function si(){const[t]=ii(),[n,{loading:e,data:r,errors:i}]=Ur(oi);return[async e=>{const r=await n(e);return r instanceof Error||!r.verifyManagedIdentityEmail.success||await t(),r},{loading:e,data:r,errors:i}]}var ai=Sr`
|
|
108
|
+
mutation RequestPasswordResetEmail(
|
|
109
|
+
$email: String!
|
|
110
|
+
$urlParams: RSJsonNode
|
|
111
|
+
$redirectPath: String
|
|
112
|
+
) {
|
|
113
|
+
requestManagedIdentityPasswordResetEmail(
|
|
114
|
+
requestManagedIdentityPasswordResetEmailInput: {
|
|
115
|
+
email: $email
|
|
116
|
+
urlParams: $urlParams
|
|
117
|
+
redirectPath: $redirectPath
|
|
118
|
+
}
|
|
119
|
+
) {
|
|
120
|
+
success
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`;function ui(){return Ur(ai)}var ci=Sr`
|
|
124
|
+
mutation RequestVerificationEmail(
|
|
125
|
+
$email: String!
|
|
126
|
+
$urlParams: RSJsonNode
|
|
127
|
+
$redirectPath: String
|
|
128
|
+
) {
|
|
129
|
+
requestManagedIdentityVerificationEmail(
|
|
130
|
+
requestManagedIdentityVerificationEmailInput: {
|
|
131
|
+
email: $email
|
|
132
|
+
urlParams: $urlParams
|
|
133
|
+
redirectPath: $redirectPath
|
|
134
|
+
}
|
|
135
|
+
) {
|
|
136
|
+
success
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
`;function fi(){return Ur(ci)}var li=Sr`
|
|
140
|
+
mutation authenticateManagedIdentityWithInstantAccess(
|
|
141
|
+
$email: String!
|
|
142
|
+
$firstName: String
|
|
143
|
+
$lastName: String
|
|
144
|
+
$locale: RSLocale
|
|
145
|
+
$countryCode: RSCountryCode
|
|
146
|
+
$cookies: String
|
|
147
|
+
) {
|
|
148
|
+
authenticateManagedIdentityWithInstantAccess(
|
|
149
|
+
authenticateManagedIdentityWithInstantAccessInput: {
|
|
150
|
+
email: $email
|
|
151
|
+
firstName: $firstName
|
|
152
|
+
lastName: $lastName
|
|
153
|
+
locale: $locale
|
|
154
|
+
countryCode: $countryCode
|
|
155
|
+
cookies: $cookies
|
|
156
|
+
}
|
|
157
|
+
) {
|
|
158
|
+
email
|
|
159
|
+
emailVerified
|
|
160
|
+
sessionData
|
|
161
|
+
token
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
`;function hi(){const t=sr(),n=M(),[e,{loading:r,data:i,errors:o}]=Ur(li);return[async r=>{const i=await e(r);if(!(i instanceof Error)&&i.authenticateManagedIdentityWithInstantAccess){const e=await async function(t,n){var e;try{const r=await fetch(`${J()}/api/v1/${L()}/graphql`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({query:"\n query checkReferralFraudStatus($programId: ID) {\n viewer {\n ... on User {\n id\n instantAccessRewards(filter: { programId_eq: $programId }) {\n data {\n id\n pendingReasons\n cancelledReason\n }\n }\n }\n }\n }\n",variables:{programId:t}})});if(!r.ok)throw new Error("Failed to fetch locale");const i=await r.json();if(i.errors)throw new Error(JSON.stringify(i.errors,null,2));const o=(null==(e=i.data.viewer.instantAccessRewards)?void 0:e.data)||[];return o.some((t=>"SUSPECTED_FRAUD"===t.cancelledReason))?"DENIED":o.some((t=>{var n;return null==(n=t.pendingReasons)?void 0:n.includes("SUSPECTED_FRAUD")}))?"PENDING_REVIEW":"APPROVED"}catch(t){return void console.error(t)}}(t,i.authenticateManagedIdentityWithInstantAccess.token);if("APPROVED"!==e)throw{name:"fraud_error",message:"Referral flagged as fraud."};{const t=i.authenticateManagedIdentityWithInstantAccess.email;if(ut({jwt:i.authenticateManagedIdentityWithInstantAccess.token,id:t,accountId:t}),"SquatchJS2"===n){const n=new CustomEvent("sq:user-registration",{bubbles:!0,detail:{userId:t,accountId:t}});document.dispatchEvent(n)}}}return i},{loading:r,data:i,errors:o}]}var di=re.gql`
|
|
165
|
+
mutation authenticateManagedIdentityWithGoogle($idToken: String!) {
|
|
166
|
+
authenticateManagedIdentityWithGoogle(
|
|
167
|
+
authenticateManagedIdentityWithGoogleInput: { idToken: $idToken }
|
|
168
|
+
) {
|
|
169
|
+
token
|
|
170
|
+
email
|
|
171
|
+
emailVerified
|
|
172
|
+
sessionData
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
`;function vi(){const[t,{loading:n,data:e,errors:r}]=Ur(di);return[async n=>{const e=await t(n);if(!(e instanceof Error)&&e.authenticateManagedIdentityWithGoogle){const t=e.authenticateManagedIdentityWithGoogle.token,{user:n}=Fn(t);ut({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.authenticateManagedIdentityWithGoogle.email,emailVerified:e.authenticateManagedIdentityWithGoogle.emailVerified,sessionData:e.authenticateManagedIdentityWithGoogle.sessionData}})}return e},{loading:n,data:e,errors:r}]}function pi(){return c((t=>t+1),0)}function mi(t){const n=Object.getOwnPropertyNames(t);for(const e of n){const n=t[e];n&&"object"==typeof n&&mi(n)}return Object.freeze(t)}var yi={loading:!0,data:void 0,errors:void 0};function bi(t,n,e,r){const[i,o]=qr(t,yi,Ye({batch:!0},r||{})),[s,a]=pi();return function(t,r){const i=h();i.current&&g(r,i.current.key)||(i.current={key:r,value:void(!e&&o(n))})}(0,[t,n,o,s,e]),Zr({skip:e,update:o,variables:n}),mi(ze(Ye({},i),{refetch:a}))}function wi(t){const n=rr(),[e,r]=a(n,Oi(t.namespace),t.initialValue);return a(n,Ii(t.namespace),[e,r]),[e,r]}function gi(t){const n=u(Ii(t)),e=u(Oi(t));return n?[e,n[1]]:[void 0,void 0]}function Ei(t){const n=u(Ii(t));if(n)return n[1]}function Si(t){return u(Oi(t))}function Oi(t){return t+"-value"}function Ii(t){return t+"-state"}function Ti(t){const n=rr(),e=bi(t.query,t.variables||{},t.skip,Ye({batch:!0},t.options||{})),[r,i]=a(n,Oi(t.namespace),e);return f((()=>{Re.deepEqual(e,r)||i(e)}),[e,r]),e}function ji(t){return u(Oi(t))||{data:null,loading:!0,refetch:()=>console.warn("component still loading")}}function Ni(){const[,t]=pi();return f((()=>z.listen((()=>{t()}))),[]),z.location}var Ci=z;function Fi(t,n,e,r={},i=!1){var o;const{limit:s,offset:a,setLimit:u,setCurrentPage:c,calculatePagination:f}=function(t){const[n,e]=l({limit:t.limit,offset:t.offset}),{offset:r,limit:i}=n,o=(t,n)=>t*n,s=(t,n)=>Math.ceil(t/n)||0;return{limit:i,setLimit:t=>{const i=s(r,t),a=o(t,i);e(ze(Ye({},n),{limit:t,offset:a}))},offset:r,setCurrentPage:t=>{let n=o(t,i);e((t=>ze(Ye({},t),{offset:n})))},calculatePagination:function(t,n){const e=s(r,i),o=((t,n)=>Math.ceil(t/n)||0)(n,i),a=0===t?"0":t>1?`${r+1}-${r+t}`:`${r+1}`;return{currentPage:e,pageCount:o,rangeOnPage:a,pageProgress:`${a} of ${n}`}}}}(e),h=Ye({limit:s,offset:a},r),{loading:d,errors:v,data:p,refetch:m}=bi(t,h,i),y=n(p),{currentPage:b,pageCount:w,pageProgress:g}=f((null==(o=null==y?void 0:y.data)?void 0:o.length)||0,(null==y?void 0:y.totalCount)||0);return{envelope:y,states:{errors:v,loading:d,limit:s,currentPage:b,pageCount:w,pageProgress:g},callbacks:{refetch:m,setLimit:u,setCurrentPage:c}}}re.gql`
|
|
176
|
+
mutation ($eventMeta: UserAnalyticsEvent!) {
|
|
177
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
178
|
+
}
|
|
179
|
+
`,(0,Ke(nr()).default)("sq:load-event"),re.gql`
|
|
180
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
181
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
182
|
+
}
|
|
183
|
+
`,(0,Ke(nr()).default)("sq:useForm"),re.gql`
|
|
184
|
+
query ($key: String!) {
|
|
185
|
+
form(key: $key) {
|
|
186
|
+
schema
|
|
187
|
+
initialData {
|
|
188
|
+
initialData
|
|
189
|
+
isEnabled
|
|
190
|
+
isEnabledErrorMessage
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
`,re.gql`
|
|
195
|
+
mutation ($formSubmissionInput: FormSubmissionInput!) {
|
|
196
|
+
submitForm(formSubmissionInput: $formSubmissionInput) {
|
|
197
|
+
success
|
|
198
|
+
results {
|
|
199
|
+
... on FormHandlerSubmissionResult {
|
|
200
|
+
formHandler {
|
|
201
|
+
name
|
|
202
|
+
endpointUrl
|
|
203
|
+
integration {
|
|
204
|
+
name
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
result
|
|
208
|
+
}
|
|
209
|
+
... on FormHandlerError {
|
|
210
|
+
formHandler {
|
|
211
|
+
name
|
|
212
|
+
endpointUrl
|
|
213
|
+
integration {
|
|
214
|
+
name
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
errorType
|
|
218
|
+
error
|
|
219
|
+
errorCode
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
`,re.gql`
|
|
225
|
+
query ($formValidationInput: FormValidationInput!) {
|
|
226
|
+
validateForm(formValidationInput: $formValidationInput) {
|
|
227
|
+
valid
|
|
228
|
+
results {
|
|
229
|
+
... on FormHandlerValidationResult {
|
|
230
|
+
formHandler {
|
|
231
|
+
name
|
|
232
|
+
endpointUrl
|
|
233
|
+
integration {
|
|
234
|
+
name
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
result
|
|
238
|
+
}
|
|
239
|
+
... on FormHandlerError {
|
|
240
|
+
formHandler {
|
|
241
|
+
name
|
|
242
|
+
endpointUrl
|
|
243
|
+
integration {
|
|
244
|
+
name
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
errorType
|
|
248
|
+
error
|
|
249
|
+
errorCode
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
`;export{cr as A,kr as B,hi as C,Ni as D,fi as E,ii as F,xr as G,zr as H,Qr as I,ht as J,ei as K,Hr as L,Oi as M,Ti as N,Ei as O,gi as P,ji as Q,sr as a,ur as b,lr as c,re as d,bi as e,Ur as f,V as g,Kr as h,$ as i,Fi as j,wi as k,ui as l,Vr as m,Ci as n,vi as o,Lr as p,dt as q,si as r,ir as s,ut as t,Si as u,or as v,Jr as w,rr as x,pi as y,ar as z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,c as s,r as n}from"./p-834cd992.js";import{u as a,j as o,n as r}from"./p-056845fb.js";import{g as e}from"./p-9ec99ced.js";import{x as l}from"./p-3f9d4025.js";import{u as p}from"./p-be38ae67.js";import{u as c}from"./p-bd1a14ba.js";const i=({content:n,placement:a,textColor:o="var(--sqm-text)"})=>t(s,null,t("style",{type:"text/css"},`\n sl-tab-panel::part(base) {\n padding: ${a&&"top"!==a&&"bottom"!==a?"0 var(--sl-spacing-xx-large);":"var(--sl-spacing-x-large) 0;"};\n }\n\n sl-tab::part(base) {\n color: ${o};\n font-family: var(--sqm-primary-font);\n }\n\n\n\n sl-tab-group::part(tabs) {\n border-bottom: 2px solid var(--sqm-border-color);\n font-family: var(--sqm-primary-font);\n }\n `),t("sl-tab-group",{placement:a},n.tabs.map((s=>{const n=s.getAttribute("slot");return"RAISINS-PLOP-TARGET"===s.tagName?t("sl-tab",{slot:"nav"},t("div",{style:{marginTop:"10px"}},t("slot",{name:n}))):[t("sl-tab",{slot:"nav",panel:n,part:"tab",id:s.getAttribute("id")||n},s.getAttribute("header")),t("sl-tab-panel",{name:n},t("slot",{name:n}))]}))),t("div",{style:{display:"none"}},t("slot",null))),m="sq:reveal",b=class{constructor(t){n(this,t),this.placement=void 0,this.textColor=void 0,r(this)}disconnectedCallback(){}render(){const{content:s}=function(){const t=c(),s=l(),n=p(),r=a((()=>t.filter((t=>"SQM-TAB"===t.tagName||"RAISINS-PLOP-TARGET"===t.tagName)).map(((t,s)=>{if("RAISINS-PLOP-TARGET"===t.tagName){const s=t;s.style.position="absolute",s.style.left="6px";const n=t.firstElementChild.childNodes[1];n.innerHTML="+",n.style.lineHeight="20px"}return t.setAttribute("slot","tab-"+s),t.setAttribute("id","tab-"+s),t}))),[t,n]);return o((()=>{const t=t=>{const n=t.target;if(t.stopPropagation(),!n)return;const a=n.closest("sqm-tabs");if(!s.contains(n)||!a)return;const o=n.closest("sqm-tab"),r=a.shadowRoot.querySelector("sl-tab-group");null==r||r.show(o.id)};return s.addEventListener(m,t),()=>{s.removeEventListener(m,t)}}),[]),{content:{tabs:r}}}(),{placement:n,textColor:r}=e(this);return t(i,{placement:n,content:s,textColor:r},t("slot",null))}};export{b as sqm_tabs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-8740794e.system.js","./p-643a756b.system.js","./p-6cdde5e8.system.js","./p-11028f98.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.n},function(t){i=t.a},function(){}],execute:function(){var u=t("sqm_rewards_table_customer_note_column",function(){function t(t){e(this,t);this.columnTitle="Note";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o;return __generator(this,(function(i){o=t;return[2,n("sqm-rewards-table-customer-note-cell",{note:(r=o===null||o===void 0?void 0:o.meta)===null||r===void 0?void 0:r.message,locale:e===null||e===void 0?void 0:e.locale})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnTitle]}))}))};t.prototype.render=function(){i([this.columnTitle]);return n(r,{style:{display:"none"}})};return t}())}}}));
|