@saasquatch/mint-components 1.4.0 → 1.5.0-0
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/CHANGELOG.md +24 -48
- package/dist/cjs/{ShadowViewAddon-e9bacad0.js → ShadowViewAddon-a85b8c8d.js} +3 -3
- package/dist/cjs/{global-0c01d88f.js → global-6223fe8f.js} +283 -71
- package/dist/cjs/{index.module-2925fe3b.js → index.module-7dd4b981.js} +18 -16
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-b1ad512d.js → re-render-6111d4bd.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-divided-layout_26.cjs.entry.js → sqm-divided-layout_30.cjs.entry.js} +9444 -3383
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-leaderboard-rank-view-48245b30.js → sqm-leaderboard-rank-view-7dd44d62.js} +2 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
- package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-1bad646a.js → sqm-navigation-sidebar-item-view-6c7f78e6.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-68b16f27.js → sqm-portal-email-verification-view-08d1848c.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -13
- package/dist/cjs/{sqm-portal-footer-view-edeeebab.js → sqm-portal-footer-view-69c73802.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -18
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-2b48529e.js → sqm-portal-profile-view-14b41436.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -14
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -15
- package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-share-code.cjs.entry.js +3 -3
- package/dist/cjs/{useDemoBigStat-d7a60992.js → useDemoBigStat-2786227e.js} +121 -24
- package/dist/collection/collection-manifest.json +7 -3
- package/dist/collection/{stories → components/sqm-asset-card}/AssetCard.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-big-stat}/BigStat.stories.js +10 -3
- package/dist/collection/{stories → components/sqm-big-stat}/UseBigStat.stories.js +7 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -21
- package/dist/collection/components/sqm-big-stat/useBigStat.js +117 -21
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +1 -0
- package/dist/collection/{stories → components/sqm-divided-layout}/DividedLayout.stories.js +4 -4
- package/dist/collection/{stories → components/sqm-edit-profile}/EditProfileForm.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-edit-profile}/UseEditProfile.stories.js +1 -1
- package/dist/collection/{stories → components/sqm-form-message}/FormMessage.stories.js +1 -1
- package/dist/collection/{stories → components/sqm-hero}/Hero.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-leaderboard}/Leaderboard.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-leaderboard}/UseLeaderboard.stories.js +3 -3
- package/dist/collection/{stories → components/sqm-leaderboard-rank}/LeaderboardRank.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-name-fields}/NameFields.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-navigation-sidebar}/NavigationSidebar.stories.js +3 -3
- package/dist/collection/{stories → components/sqm-navigation-sidebar-item}/SidebarItem.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-password-field}/PasswordField.stories.js +1 -1
- package/dist/collection/{stories → components/sqm-portal-change-password}/ChangePassword.stories.js +3 -3
- package/dist/collection/{stories → components/sqm-portal-email-verification}/PortalEmailVerification.stories.js +3 -3
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +0 -27
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +1 -2
- package/dist/collection/{stories → components/sqm-portal-footer}/PortalFooter.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-portal-forgot-password}/PortalForgotPassword.stories.js +3 -7
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -55
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -4
- package/dist/collection/{stories → components/sqm-portal-frame}/PortalFrame.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-portal-login}/PortalLogin.stories.js +2 -8
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +4 -59
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +2 -4
- package/dist/collection/{stories → components/sqm-portal-profile}/PortalProfile.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-portal-register}/PortalRegister.stories.js +2 -7
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +2 -55
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +0 -3
- package/dist/collection/{stories → components/sqm-portal-reset-password}/PortalResetPassword.stories.js +3 -3
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +1 -30
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +1 -1
- package/dist/collection/{stories → components/sqm-portal-verify-email}/PortalVerifyEmail.stories.js +3 -3
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -30
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +2 -2
- package/dist/collection/{stories → components/sqm-program-menu}/ProgramMenu.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-referral-iframe}/ReferralIframe.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-referral-table}/ReferralTable.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-referral-table}/ReferralTableCell.stories.js +1 -1
- package/dist/collection/{stories → components/sqm-referral-table}/ReferralTableRewardsCell.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +2 -2
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +20 -0
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +228 -0
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +24 -0
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +143 -0
- package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-icon.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/assets/placeholder.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +64 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +467 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +144 -0
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +174 -0
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +53 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-column.js +120 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +222 -0
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +190 -0
- package/dist/collection/{stories → components/sqm-router}/Router.stories.js +1 -1
- package/dist/collection/{stories → components/sqm-share-button}/ShareButton.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-share-button}/UseShareButton.stories.js +2 -2
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/{stories → components/sqm-share-link}/ShareLink.stories.js +2 -2
- package/dist/collection/{stories → components/sqm-share-link}/UseShareLink.stories.js +3 -3
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +26 -0
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +3 -1
- package/dist/collection/components/sqm-stencilbook/Matrix.js +66 -0
- package/dist/collection/components/sqm-stencilbook/Resizer.js +26 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +38 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +87 -38
- package/dist/collection/components/sqm-task-card/SVGs.js +14 -0
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +416 -0
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +41 -0
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +8 -0
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +333 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +238 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +444 -0
- package/dist/collection/{stories → components/sqm-user-name}/UserName.stories.js +3 -3
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +1 -1
- package/dist/collection/global/styles.js +281 -69
- package/dist/collection/global/styles.ts +281 -69
- package/dist/collection/stories/NewPortal.stories.js +15 -15
- package/dist/collection/tables/GenericTableView.js +51 -0
- package/dist/collection/tables/TableSlots.js +22 -0
- package/dist/collection/{components/sqm-referral-table → tables}/re-render.js +0 -0
- package/dist/collection/{components/sqm-referral-table → tables}/sqm-table-cell.js +0 -0
- package/dist/collection/{components/sqm-referral-table → tables}/sqm-table-row.js +0 -0
- package/dist/collection/{components/sqm-referral-table → tables}/useChildElements.js +0 -0
- package/dist/esm/{ShadowViewAddon-5f66de48.js → ShadowViewAddon-a3f510db.js} +3 -3
- package/dist/esm/{global-0fcfbedf.js → global-90da933f.js} +283 -71
- package/dist/esm/{index.module-1e92a7a3.js → index.module-90d2c3ad.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-b8468637.js → re-render-e06f2f7f.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat.entry.js +2 -2
- package/dist/esm/{sqm-divided-layout_26.entry.js → sqm-divided-layout_30.entry.js} +9442 -3385
- package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
- package/dist/esm/{sqm-leaderboard-rank-view-fd7d7f42.js → sqm-leaderboard-rank-view-47844836.js} +2 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-leaderboard.entry.js +2 -2
- package/dist/esm/sqm-name-fields.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-a48bca9b.js → sqm-navigation-sidebar-item-view-f2304ad9.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-6cc56c87.js → sqm-portal-email-verification-view-8cefe480.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -13
- package/dist/esm/{sqm-portal-footer-view-8a1128d5.js → sqm-portal-footer-view-d9fe0bf8.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -18
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-4acf74a5.js → sqm-portal-profile-view-b67467b4.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -16
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -15
- package/dist/esm/sqm-referral-table-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
- package/dist/esm/sqm-share-code.entry.js +3 -3
- package/dist/esm/{useDemoBigStat-5557504e.js → useDemoBigStat-c3b955b7.js} +121 -24
- package/dist/esm-es5/ShadowViewAddon-a3f510db.js +1 -0
- package/dist/esm-es5/{global-0fcfbedf.js → global-90da933f.js} +2 -2
- package/dist/esm-es5/{index.module-1e92a7a3.js → index.module-90d2c3ad.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-b8468637.js → re-render-e06f2f7f.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-divided-layout_30.entry.js +58 -0
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-fd7d7f42.js → sqm-leaderboard-rank-view-47844836.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f2304ad9.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-6cc56c87.js → sqm-portal-email-verification-view-8cefe480.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-8a1128d5.js → sqm-portal-footer-view-d9fe0bf8.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-4acf74a5.js → sqm-portal-profile-view-b67467b4.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/esm-es5/useDemoBigStat-c3b955b7.js +1 -0
- package/dist/mint-components/assets/Reward-icon.png +0 -0
- package/dist/mint-components/assets/placeholder.png +0 -0
- package/dist/mint-components/global/styles.ts +281 -69
- package/dist/mint-components/mint-components.css +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-602180a2.system.js → p-07c924fa.system.js} +1 -1
- package/dist/mint-components/{p-51cfdd14.js → p-0eb3e89c.js} +1 -1
- package/dist/mint-components/p-160bd62f.entry.js +1 -0
- package/dist/mint-components/p-16f5a7cb.system.js +1 -0
- package/dist/mint-components/{p-6156a7ac.system.entry.js → p-1a09e4e1.system.entry.js} +1 -1
- package/dist/mint-components/p-1c8b0290.entry.js +1 -0
- package/dist/mint-components/p-1dcdca58.system.entry.js +1 -0
- package/dist/mint-components/p-20d41ab1.entry.js +1 -0
- package/dist/mint-components/{p-965e34ab.entry.js → p-221a4097.entry.js} +1 -1
- package/dist/mint-components/{p-9a3a0db5.system.entry.js → p-223b42bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-af1f8bd3.js → p-224504ad.js} +1 -1
- package/dist/mint-components/{p-3772bae2.system.entry.js → p-24b3c6f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3880833.system.entry.js → p-24c9a599.system.entry.js} +1 -1
- package/dist/mint-components/{p-6cb81b77.entry.js → p-29fab29b.entry.js} +1 -1
- package/dist/mint-components/{p-8bfebd45.system.entry.js → p-304e6c82.system.entry.js} +1 -1
- package/dist/mint-components/{p-05a2640d.entry.js → p-3397167c.entry.js} +1 -1
- package/dist/mint-components/p-33c5ffb7.entry.js +1 -0
- package/dist/mint-components/{p-f16bae7a.system.entry.js → p-396bf448.system.entry.js} +1 -1
- package/dist/mint-components/p-3b97aed8.system.js +1 -0
- package/dist/mint-components/{p-3e3dad7a.system.js → p-3ce2fb83.system.js} +1 -1
- package/dist/mint-components/{p-10a98629.entry.js → p-3d856985.entry.js} +1 -1
- package/dist/mint-components/{p-2f333f89.system.entry.js → p-4052b948.system.entry.js} +1 -1
- package/dist/mint-components/{p-70ca623f.system.entry.js → p-412a9226.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ff0425e.system.entry.js → p-44d0fc80.system.entry.js} +1 -1
- package/dist/mint-components/{p-528aecd1.entry.js → p-45c752a0.entry.js} +1 -1
- package/dist/mint-components/{p-d0cad85c.js → p-46a4269a.js} +2 -2
- package/dist/mint-components/{p-d55abc13.entry.js → p-52802c88.entry.js} +2 -2
- package/dist/mint-components/{p-86b66e5c.entry.js → p-5480e4ee.entry.js} +1 -1
- package/dist/mint-components/p-55508395.system.entry.js +1 -0
- package/dist/mint-components/{p-eddcf481.js → p-563253e8.js} +1 -1
- package/dist/mint-components/p-60855d33.system.js +1 -0
- package/dist/mint-components/{p-036c5a7e.system.entry.js → p-67ae18d1.system.entry.js} +1 -1
- package/dist/mint-components/{p-7d996b49.js → p-6882070c.js} +1 -1
- package/dist/mint-components/{p-09afaaac.system.entry.js → p-69bcf4fa.system.entry.js} +1 -1
- package/dist/mint-components/p-6bf0a4d9.system.entry.js +1 -0
- package/dist/mint-components/{p-624c5352.system.entry.js → p-6e245fa3.system.entry.js} +1 -1
- package/dist/mint-components/{p-05a86906.entry.js → p-723ebe45.entry.js} +2 -2
- package/dist/mint-components/{p-9ff118a2.system.entry.js → p-73148868.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3cddcca.entry.js → p-8435a22d.entry.js} +1 -1
- package/dist/mint-components/p-883a32e7.entry.js +1 -0
- package/dist/mint-components/p-925ccb31.system.entry.js +58 -0
- package/dist/mint-components/p-9c554ca0.system.js +1 -0
- package/dist/mint-components/{p-743882c6.entry.js → p-9d6dbb2d.entry.js} +1 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +1 -0
- package/dist/mint-components/p-a2c3cff3.js +1 -0
- package/dist/mint-components/p-a4c2c7ed.entry.js +1 -0
- package/dist/mint-components/{p-3452bdae.system.js → p-a6094ff9.system.js} +1 -1
- package/dist/mint-components/p-ade44a4e.entry.js +1 -0
- package/dist/mint-components/{p-e50839df.entry.js → p-b1bb07db.entry.js} +1 -1
- package/dist/mint-components/{p-18aa175f.system.js → p-b608f7a4.system.js} +2 -2
- package/dist/mint-components/p-b8bd2607.entry.js +1 -0
- package/dist/mint-components/{p-337a3d6b.system.entry.js → p-be2738b0.system.entry.js} +1 -1
- package/dist/mint-components/{p-27e23808.system.js → p-c6114bfe.system.js} +1 -1
- package/dist/mint-components/{p-4068e47c.system.entry.js → p-c79c608d.system.entry.js} +1 -1
- package/dist/mint-components/p-cca9026f.system.entry.js +1 -0
- package/dist/mint-components/p-cd410a05.entry.js +9 -0
- package/dist/mint-components/{p-55210498.system.js → p-cdeae699.system.js} +1 -1
- package/dist/mint-components/p-d174d0bc.system.entry.js +1 -0
- package/dist/mint-components/{p-c84a5b33.js → p-d21e0dbd.js} +1 -1
- package/dist/mint-components/{p-af2d886e.js → p-d35b0366.js} +1 -1
- package/dist/mint-components/{p-d513229d.js → p-db2e4c42.js} +1 -1
- package/dist/mint-components/{p-991bd182.system.entry.js → p-dc603d08.system.entry.js} +1 -1
- package/dist/mint-components/{p-64759dda.system.js → p-e7f633b9.system.js} +1 -1
- package/dist/mint-components/{p-13605359.entry.js → p-f17050de.entry.js} +1 -1
- package/dist/mint-components/p-f90486ca.js +235 -0
- package/dist/mint-components/{p-cffc23c0.entry.js → p-fce1dbf6.entry.js} +1 -1
- package/dist/mint-components/p-fdb484a0.entry.js +392 -0
- package/dist/types/{stories → components/sqm-asset-card}/AssetCard.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-big-stat}/BigStat.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-big-stat}/UseBigStat.stories.d.ts +6 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -6
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +4 -1
- package/dist/types/{stories → components/sqm-divided-layout}/DividedLayout.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-edit-profile}/EditProfileForm.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-edit-profile}/UseEditProfile.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-form-message}/FormMessage.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-hero}/Hero.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-leaderboard}/Leaderboard.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-leaderboard}/UseLeaderboard.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-leaderboard-rank}/LeaderboardRank.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-name-fields}/NameFields.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-navigation-sidebar}/NavigationSidebar.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-navigation-sidebar-item}/SidebarItem.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-password-field}/PasswordField.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-portal-change-password}/ChangePassword.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-portal-email-verification}/PortalEmailVerification.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +0 -6
- package/dist/types/{stories → components/sqm-portal-footer}/PortalFooter.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-portal-forgot-password}/PortalForgotPassword.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +0 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -10
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +1 -3
- package/dist/types/{stories → components/sqm-portal-frame}/PortalFrame.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-portal-login}/PortalLogin.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -8
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +3 -3
- package/dist/types/{stories → components/sqm-portal-profile}/PortalProfile.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-portal-register}/PortalRegister.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +0 -1
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +0 -10
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +0 -1
- package/dist/types/{stories → components/sqm-portal-reset-password}/PortalResetPassword.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +0 -8
- package/dist/types/{stories → components/sqm-portal-verify-email}/PortalVerifyEmail.stories.d.ts +0 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +0 -8
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +1 -2
- package/dist/types/{stories → components/sqm-program-menu}/ProgramMenu.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-referral-iframe}/ReferralIframe.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-referral-table}/ReferralTable.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-referral-table}/ReferralTableCell.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-referral-table}/ReferralTableRewardsCell.stories.d.ts +0 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +13 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +234 -0
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +4 -0
- package/dist/types/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.d.ts +28 -0
- package/dist/types/components/sqm-reward-exchange-list/progressBar.d.ts +4 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +25 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +24 -0
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +43 -0
- package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +16 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-column.d.ts +20 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +32 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +38 -0
- package/dist/types/{stories → components/sqm-router}/Router.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-share-button}/ShareButton.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-share-button}/UseShareButton.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-share-link}/ShareLink.stories.d.ts +0 -0
- package/dist/types/{stories → components/sqm-share-link}/UseShareLink.stories.d.ts +0 -0
- package/dist/types/components/sqm-stencilbook/AutoColor.d.ts +1 -0
- package/dist/types/components/sqm-stencilbook/Matrix.d.ts +11 -0
- package/dist/types/components/sqm-stencilbook/Resizer.d.ts +3 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +16 -0
- package/dist/types/components/sqm-task-card/SVGs.d.ts +3 -0
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +19 -0
- package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +10 -0
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +12 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +18 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +80 -0
- package/dist/types/components/sqm-user-name/UserName.stories.d.ts +6 -0
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +1 -1
- package/dist/types/components.d.ts +297 -96
- package/dist/types/global/styles.d.ts +1 -1
- package/dist/types/tables/GenericTableView.d.ts +29 -0
- package/dist/types/tables/TableSlots.d.ts +8 -0
- package/dist/types/{components/sqm-referral-table → tables}/re-render.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → tables}/sqm-table-cell.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → tables}/sqm-table-row.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → tables}/useChildElements.d.ts +0 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -2
- package/dist/esm-es5/ShadowViewAddon-5f66de48.js +0 -1
- package/dist/esm-es5/sqm-divided-layout_26.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-a48bca9b.js +0 -1
- package/dist/esm-es5/useDemoBigStat-5557504e.js +0 -1
- package/dist/mint-components/p-112d42ab.system.entry.js +0 -1
- package/dist/mint-components/p-192539d2.entry.js +0 -1
- package/dist/mint-components/p-4b6c316d.entry.js +0 -1
- package/dist/mint-components/p-54707082.system.js +0 -1
- package/dist/mint-components/p-5c89c2ec.entry.js +0 -230
- package/dist/mint-components/p-5fcd8687.entry.js +0 -1
- package/dist/mint-components/p-606506d6.system.entry.js +0 -1
- package/dist/mint-components/p-6305419f.entry.js +0 -1
- package/dist/mint-components/p-6815e7ba.entry.js +0 -1
- package/dist/mint-components/p-6ad110d3.js +0 -1
- package/dist/mint-components/p-756a5e6f.system.js +0 -1
- package/dist/mint-components/p-768b9014.system.entry.js +0 -1
- package/dist/mint-components/p-7cf335a0.entry.js +0 -1
- package/dist/mint-components/p-942723ad.entry.js +0 -1
- package/dist/mint-components/p-a646db48.system.entry.js +0 -1
- package/dist/mint-components/p-b63744fe.js +0 -227
- package/dist/mint-components/p-c47b83c3.entry.js +0 -1
- package/dist/mint-components/p-c5c029b8.system.js +0 -1
- package/dist/mint-components/p-c90978f4.system.entry.js +0 -1
- package/dist/mint-components/p-ced568fc.system.entry.js +0 -1
- package/dist/mint-components/p-d1cea1b1.system.js +0 -1
- package/dist/mint-components/p-d3171b36.system.entry.js +0 -1
- package/dist/mint-components/p-de3311bf.entry.js +0 -9
- package/dist/types/stories/UserName.stories.d.ts +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-64c3217a.js";import{n as a,m as r}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-
|
|
1
|
+
import{r as s,h as t}from"./p-64c3217a.js";import{n as a,m as r}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-a2c3cff3.js";import"./p-db5a1e78.js";import{c as i}from"./p-c1086930.js";import"./p-26f627aa.js";import{N as o}from"./p-282ed862.js";const m=class{constructor(t){s(this,t),this.ignored=!0,this.firstNameLabel="First Name",this.lastNameLabel="Last Name",r(this)}disconnectedCallback(){}render(){const{states:s}=e()?i({states:{validationErrors:[],content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},this.demoData||{},{arrayMerge:(s,t)=>t}):function(s){const t=a("sq:validation-state");return{states:{validationErrors:null==t?void 0:t.validationErrors,content:{lastNameLabel:s.lastNameLabel,firstNameLabel:s.firstNameLabel}}}}(this);return t(o,{states:s})}};export{m as sqm_name_fields}
|
|
@@ -1 +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 s(t){try{a(r.next(t))}catch(t){i(t)}}function u(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?n(t.value):o(t.value).then(s,u)}a((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,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return a([t,e])}}function a(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
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 s(t){try{a(r.next(t))}catch(t){i(t)}}function u(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?n(t.value):o(t.value).then(s,u)}a((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,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return a([t,e])}}function a(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-3ce2fb83.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.m},function(){},function(){},function(t){i=t.a}],execute:function(){var s=t("sqm_referral_table_status_column",function(){function t(t){e(this,t);this.columnTitle="Status";this.convertedStatusText="Converted";this.inProgressStatusText="In Progress";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){e=t.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,n("sqm-referral-table-status-cell",{"status-text":e,converted:t.dateConverted?true:false})]}))}))};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}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e}from"./p-44578b22.js";import{
|
|
1
|
+
import{e}from"./p-44578b22.js";import{P as r,Z as s}from"./p-a2c3cff3.js";function t(s){const t=r();e((()=>{t.dispatchEvent(new CustomEvent("sqm:request-rerender",{detail:!0,bubbles:!0,composed:!0}))}),s)}function n(){const t=r(),[n,o]=s();return e((()=>{const e=e=>{e.stopPropagation(),o()};return t.addEventListener("sqm:request-rerender",e),()=>{t.removeEventListener("sqm:request-rerender",e)}}),[]),n}export{t as a,n as u}
|
|
@@ -1 +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(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
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(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-3ce2fb83.system.js"],(function(t){"use strict";var e,n,r,o,i,u;return{setters:[function(t){e=t.r;n=t.h;r=t.g;o=t.c},function(t){i=t.m},function(){},function(){},function(t){u=t.a}],execute:function(){var a=t("sqm_referral_table_column",function(){function t(t){e(this,t);i(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,n("sqm-referral-table-cell",{"inner-template":r(this).innerHTML})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.columnTitle)]}))}))};t.prototype.render=function(){u([this.columnTitle]);return n(o,{style:{display:"none"}},n("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function u(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,u)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function u(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,u)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-3ce2fb83.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.h;r=e.c},function(e){i=e.m},function(){},function(){},function(e){o=e.a}],execute:function(){var s=e("sqm_referral_table_user_column",function(){function e(e){t(this,e);this.columnTitle="Customer";this.anonymousUser="Anonymous User";this.deletedUser="Deleted User";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,i,o,s;return __generator(this,(function(u){if(!(e===null||e===void 0?void 0:e.referredUser)){s=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referredUser)===null||t===void 0?void 0:t.firstName)&&!((r=e===null||e===void 0?void 0:e.referredUser)===null||r===void 0?void 0:r.lastName)){s=this.anonymousUser}else{s=((i=e===null||e===void 0?void 0:e.referredUser)===null||i===void 0?void 0:i.firstName)+" "+((o=e===null||e===void 0?void 0:e.referredUser)===null||o===void 0?void 0:o.lastName)}return[2,n("sqm-referral-table-user-cell",{name:s})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.render=function(){o([this.deletedUser,this.anonymousUser,this.columnTitle]);return n(r,{style:{display:"none"}})};return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,c as l}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-
|
|
1
|
+
import{r as s,h as r,c as l}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-a2c3cff3.js";import{a as i}from"./p-224504ad.js";const o=class{constructor(r){s(this,r),this.columnTitle="Customer",this.anonymousUser="Anonymous User",this.deletedUser="Deleted User",e(this)}disconnectedCallback(){}async renderCell(s){var l,e,i,o;let t;return t=(null==s?void 0:s.referredUser)?(null===(l=null==s?void 0:s.referredUser)||void 0===l?void 0:l.firstName)||(null===(e=null==s?void 0:s.referredUser)||void 0===e?void 0:e.lastName)?`${null===(i=null==s?void 0:s.referredUser)||void 0===i?void 0:i.firstName} ${null===(o=null==s?void 0:s.referredUser)||void 0===o?void 0:o.lastName}`:this.anonymousUser:this.deletedUser,r("sqm-referral-table-user-cell",{name:t})}async renderLabel(){return this.columnTitle}render(){return i([this.deletedUser,this.anonymousUser,this.columnTitle]),r(l,{style:{display:"none"}})}};export{o as sqm_referral_table_user_column}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-1b7d89a7.system.js","./p-4bd679a7.system.js","./p-60ae1ec5.system.js"],(function(t){"use strict";var e,n,s,r,a,i;return{setters:[function(t){e=t.r;n=t.h},function(t){s=t.m},function(){},function(t){r=t.j},function(){},function(t){a=t.c},function(t){i=t.A}],execute:function(){var c=function(t){return{text:{titleText:"Marketing Banner"},imgUrl:null,callbacks:{}}};var u=t("sqm_asset_card",function(){function t(t){e(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r()?o(this):c();return n(i,Object.assign({},t))};Object.defineProperty(t,"assetsDirs",{get:function(){return["../../assets"]},enumerable:false,configurable:true});return t}());function o(t){return a({text:{titleText:"Marketing Banner"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as t}from"./p-64c3217a.js";import{m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-
|
|
1
|
+
import{r as a,h as t}from"./p-64c3217a.js";import{m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-a2c3cff3.js";import{c as i}from"./p-c1086930.js";import{w as r,u as l,L as n}from"./p-563253e8.js";const o=class{constructor(t){a(this,t),this.ignored=!0,s(this),r(this)}disconnectedCallback(){}render(){const a={empty:t("slot",{name:"empty"}),loadingstate:t("slot",{name:"loading"}),usersheading:this.usersheading,statsheading:this.statsheading,rankType:this.rankType,leaderboardType:this.leaderboardType,interval:this.interval},s={...a,demoData:this.demoData},r=e()?function(a){return i({states:{loading:!1,hasLeaders:!0,styles:{usersheading:a.usersheading?a.usersheading:"TOP REFERRERS",statsheading:a.statsheading?a.statsheading:"NEW TITANS"}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1},{firstName:"MF",lastInitial:"D",value:73,rank:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5}]},elements:{empty:a.empty?a.empty:t("div",null,"Empty"),loadingstate:a.loadingstate?a.loadingstate:t("div",null,"Loading")}},a.demoProps||{},{arrayMerge:(a,t)=>t})}(s):l(a);return t(n,Object.assign({},r))}};o.style=":host{display:block}:host([hidden]){display:none}table{width:100%}th{font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-semibold);text-align:left}td{font-size:var(--sl-font-size-medium);font-weight:var(--sl-font-weight-normal)}td,th{color:var(--sl-color-gray-800);padding:var(--sl-spacing-x-small) var(--sl-spacing-small)}.User{width:100%}.Score{width:auto;white-space:nowrap}";export{o as sqm_leaderboard}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-64c3217a.js";import{j as i,e as t,m as s}from"./p-44578b22.js";import"./p-46a4269a.js";import"./p-ba505a8c.js";import{B as o,T as r,j as l}from"./p-a2c3cff3.js";import"./p-db5a1e78.js";import{c as n}from"./p-c1086930.js";import"./p-26f627aa.js";import"./p-9b4f2af6.js";import{P as c}from"./p-0eb3e89c.js";const m=class{constructor(a){e(this,a),this.ignored=!0,this.emailVerificationHeader="Verify your email",this.resendEmailButtonText="Re-send Email",this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal.",s(this)}disconnectedCallback(){}render(){const{states:e,callbacks:s,content:m}=l()?n({states:{error:"",loading:!1,success:!1},callbacks:{submit:async()=>{}},content:{email:"test@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},this.demoData||{},{arrayMerge:(e,a)=>a}):function(e){var a,s,l,n,c;const[m,{loading:d,data:u,errors:v}]=o(),p=r(),f=null===(a=null==p?void 0:p.managedIdentity)||void 0===a?void 0:a.email,[y,b]=i(!1),[h,j]=i(""),g=new URLSearchParams(window.location.search).get("nextPage");return t((()=>{var e;(null===(e=null==u?void 0:u.requestManagedIdentityVerificationEmail)||void 0===e?void 0:e.success)&&b(!0)}),[null===(s=null==u?void 0:u.requestManagedIdentityVerificationEmail)||void 0===s?void 0:s.success]),t((()=>{(null==v?void 0:v.message)&&j("Network request failed.")}),[v]),{states:{loading:d,error:(null===(c=null===(n=null===(l=null==v?void 0:v.response)||void 0===l?void 0:l.errors)||void 0===n?void 0:n[0])||void 0===c?void 0:c.message)||h,success:y},callbacks:{submit:async()=>{if(!f)return;j("");const e={email:f,urlParams:g?{nextPage:g}:null};await m(e)}},content:{email:f,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText}}}(this);return a(c,{states:e,callbacks:s,content:m})}};export{m as sqm_portal_email_verification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-4bd679a7.system.js","./p-126bcba1.system.js","./p-c6114bfe.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(t){a=t.c;i=t.j},function(){},function(t){c=t.g},function(t){o=t.c},function(){},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?b(c(this)):u(c(this));return e(r,Object.assign({},t))};return t}());function b(t){return o({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};System.register(["./p-015b683f.system.js","./p-1e182e88.system.js"],(function(e){"use strict";var t,n,r,i,a,o,s,u,c,l,f;return{setters:[function(e){t=e.c;n=e.a;r=e.d;i=e._;a=e.u;o=e.e;s=e.h;u=e.f;c=e.i;l=e.j},function(e){f=e.u}],execute:function(){e({$:Zr,A:zn,B:vi,D:Qr,E:$r,L:lr,M:Yn,N:ii,P:Jn,Q:fr,R:tr,S:Gn,T:dr,Z:mi,a:Ii,b:Ur,c:Oi,e:Ei,f:Qn,i:ti,j:Wn,k:Xn,l:li,p:He,q:Hr,x:er,z:pi});function d(e){this.message=e}d.prototype=new Error,d.prototype.name="InvalidCharacterError";var p="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new d("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,o="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function h(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(p(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return p(t)}}function v(e){this.message=e}function y(e,t){if("string"!=typeof e)throw new v("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(h(e.split(".")[n]))}catch(e){throw new v("Invalid token specified: "+e.message)}}v.prototype=new Error,v.prototype.name="InvalidTokenError";var m=Object.prototype,b=m.toString,g=m.hasOwnProperty;var E=Function.prototype.toString;var w=new Map;function _(e,t){try{return T(e,t)}finally{w.clear()}}function T(e,t){if(e===t){return true}var n=b.call(e);var r=b.call(t);if(n!==r){return false}switch(n){case"[object Array]":if(e.length!==t.length)return false;case"[object Object]":{if(A(e,t))return true;var i=O(e);var a=O(t);var o=i.length;if(o!==a.length)return false;for(var s=0;s<o;++s){if(!g.call(t,i[s])){return false}}for(var s=0;s<o;++s){var u=i[s];if(!T(e[u],t[u])){return false}}return true}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return false;if(A(e,t))return true;var c=e.entries();var l=n==="[object Map]";while(true){var f=c.next();if(f.done)break;var d=f.value,p=d[0],h=d[1];if(!t.has(p)){return false}if(l&&!T(h,t.get(p))){return false}}return true}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var v=E.call(e);if(v!==E.call(t)){return false}return!x(v,I)}}return false}function O(e){return Object.keys(e).filter(S,e)}function S(e){return this[e]!==void 0}var I="{ [native code] }";function x(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function A(e,t){var n=w.get(e);if(n){if(n.has(t))return true}else{w.set(e,n=new Set)}n.add(t);return false}function N(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){N=function e(t){return typeof t}}else{N=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return N(e)}function D(e){return N(e)=="object"&&e!==null}var C=typeof Symbol==="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function k(e,t){var n=/\r\n|[\n\r]/g;var r=1;var i=t+1;var a;while((a=n.exec(e.body))&&a.index<t){r+=1;i=t+1-(a.index+a[0].length)}return{line:r,column:i}}function F(e){return P(e.source,k(e.source,e.start))}function P(e,t){var n=e.locationOffset.column-1;var r=R(n)+e.body;var i=t.line-1;var a=e.locationOffset.line-1;var o=t.line+a;var s=t.line===1?n:0;var u=t.column+s;var c="".concat(e.name,":").concat(o,":").concat(u,"\n");var l=r.split(/\r\n|[\n\r]/g);var f=l[i];if(f.length>120){var d=Math.floor(u/80);var p=u%80;var h=[];for(var v=0;v<f.length;v+=80){h.push(f.slice(v,v+80))}return c+j([["".concat(o),h[0]]].concat(h.slice(1,d+1).map((function(e){return["",e]})),[[" ",R(p-1)+"^"],["",h[d+1]]]))}return c+j([["".concat(o-1),l[i-1]],["".concat(o),f],["",R(u-1)+"^"],["".concat(o+1),l[i+1]]])}function j(e){var t=e.filter((function(e){var t=e[1];return t!==undefined}));var n=Math.max.apply(Math,t.map((function(e){var t=e[0];return t.length})));return t.map((function(e){var t=e[0],r=e[1];return M(n,t)+(r?" | "+r:" |")})).join("\n")}function R(e){return Array(e+1).join(" ")}function M(e,t){return R(e-t.length)+t}function L(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){L=function e(t){return typeof t}}else{L=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return L(e)}function V(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function U(e,t,n){if(t)B(e.prototype,t);if(n)B(e,n);return e}function q(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)Q(e,t)}function K(e){var t=Y();return function n(){var r=W(e),i;if(t){var a=W(this).constructor;i=Reflect.construct(r,arguments,a)}else{i=r.apply(this,arguments)}return H(this,i)}}function H(e,t){if(t&&(L(t)==="object"||typeof t==="function")){return t}return J(e)}function J(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function G(e){var t=typeof Map==="function"?new Map:undefined;G=function e(n){if(n===null||!z(n))return n;if(typeof n!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return $(n,arguments,W(this).constructor)}r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:false,writable:true,configurable:true}});return Q(r,n)};return G(e)}function $(e,t,n){if(Y()){$=Reflect.construct}else{$=function e(t,n,r){var i=[null];i.push.apply(i,n);var a=Function.bind.apply(t,i);var o=new a;if(r)Q(o,r.prototype);return o}}return $.apply(null,arguments)}function Y(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],(function(){})));return true}catch(e){return false}}function z(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Q(e,t){Q=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return Q(e,t)}function W(e){W=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return W(e)}var X=function(e){q(n,e);var t=K(n);function n(e,r,i,a,o,s,u){var c,l,f,d;var p;V(this,n);p=t.call(this,e);var h=Array.isArray(r)?r.length!==0?r:undefined:r?[r]:undefined;var v=i;if(!v&&h){var y;v=(y=h[0].loc)===null||y===void 0?void 0:y.source}var m=a;if(!m&&h){m=h.reduce((function(e,t){if(t.loc){e.push(t.loc.start)}return e}),[])}if(m&&m.length===0){m=undefined}var b;if(a&&i){b=a.map((function(e){return k(i,e)}))}else if(h){b=h.reduce((function(e,t){if(t.loc){e.push(k(t.loc.source,t.loc.start))}return e}),[])}var g=u;if(g==null&&s!=null){var E=s.extensions;if(D(E)){g=E}}Object.defineProperties(J(p),{name:{value:"GraphQLError"},message:{value:e,enumerable:true,writable:true},locations:{value:(c=b)!==null&&c!==void 0?c:undefined,enumerable:b!=null},path:{value:o!==null&&o!==void 0?o:undefined,enumerable:o!=null},nodes:{value:h!==null&&h!==void 0?h:undefined},source:{value:(l=v)!==null&&l!==void 0?l:undefined},positions:{value:(f=m)!==null&&f!==void 0?f:undefined},originalError:{value:s},extensions:{value:(d=g)!==null&&d!==void 0?d:undefined,enumerable:g!=null}});if(s!==null&&s!==void 0&&s.stack){Object.defineProperty(J(p),"stack",{value:s.stack,writable:true,configurable:true});return H(p)}if(Error.captureStackTrace){Error.captureStackTrace(J(p),n)}else{Object.defineProperty(J(p),"stack",{value:Error().stack,writable:true,configurable:true})}return p}U(n,[{key:"toString",value:function e(){return Z(this)}},{key:C,get:function e(){return"Object"}}]);return n}(G(Error));function Z(e){var t=e.message;if(e.nodes){for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];if(i.loc){t+="\n\n"+F(i.loc)}}}else if(e.source&&e.locations){for(var a=0,o=e.locations;a<o.length;a++){var s=o[a];t+="\n\n"+P(e.source,s)}}return t}function ee(e,t,n){return new X("Syntax Error: ".concat(n),undefined,e,[t])}var te=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"});function ne(e,t){var n=Boolean(e);if(!n){throw new Error(t!=null?t:"Unexpected invariant triggered.")}}var re=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):undefined;function ie(e){var t=e.prototype.toJSON;typeof t==="function"||ne(0);e.prototype.inspect=t;if(re){e.prototype[re]=t}}var ae=function(){function e(e,t,n){this.start=e.start;this.end=t.end;this.startToken=e;this.endToken=t;this.source=n}var t=e.prototype;t.toJSON=function e(){return{start:this.start,end:this.end}};return e}();ie(ae);var oe=function(){function e(e,t,n,r,i,a,o){this.kind=e;this.start=t;this.end=n;this.line=r;this.column=i;this.value=o;this.prev=a;this.next=null}var t=e.prototype;t.toJSON=function e(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}};return e}();ie(oe);function se(e){return e!=null&&typeof e.kind==="string"}var ue=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 ce(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){ce=function e(t){return typeof t}}else{ce=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return ce(e)}var le=10;var fe=2;function de(e){return pe(e,[])}function pe(e,t){switch(ce(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e===null){return"null"}return he(e,t);default:return String(e)}}function he(e,t){if(t.indexOf(e)!==-1){return"[Circular]"}var n=[].concat(t,[e]);var r=me(e);if(r!==undefined){var i=r.call(e);if(i!==e){return typeof i==="string"?i:pe(i,n)}}else if(Array.isArray(e)){return ye(e,n)}return ve(e,n)}function ve(e,t){var n=Object.keys(e);if(n.length===0){return"{}"}if(t.length>fe){return"["+be(e)+"]"}var r=n.map((function(n){var r=pe(e[n],t);return n+": "+r}));return"{ "+r.join(", ")+" }"}function ye(e,t){if(e.length===0){return"[]"}if(t.length>fe){return"[Array]"}var n=Math.min(le,e.length);var r=e.length-n;var i=[];for(var a=0;a<n;++a){i.push(pe(e[a],t))}if(r===1){i.push("... 1 more item")}else if(r>1){i.push("... ".concat(r," more items"))}return"["+i.join(", ")+"]"}function me(e){var t=e[String(re)];if(typeof t==="function"){return t}if(typeof e.inspect==="function"){return e.inspect}}function be(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor==="function"){var n=e.constructor.name;if(typeof n==="string"&&n!==""){return n}}return t}function ge(e,t){var n=Boolean(e);if(!n){throw new Error(t)}}var Ee=function e(t,n){return t instanceof n};function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function _e(e,t,n){if(t)we(e.prototype,t);if(n)we(e,n);return e}var Te=function(){function e(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"GraphQL request";var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{line:1,column:1};typeof e==="string"||ge(0,"Body must be a string. Received: ".concat(de(e),"."));this.body=e;this.name=t;this.locationOffset=n;this.locationOffset.line>0||ge(0,"line in locationOffset is 1-indexed and must be positive.");this.locationOffset.column>0||ge(0,"column in locationOffset is 1-indexed and must be positive.")}_e(e,[{key:C,get:function e(){return"Source"}}]);return e}();function Oe(e){return Ee(e,Te)}var Se=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 Ie(e){var t=e.split(/\r\n|[\n\r]/g);var n=Ae(e);if(n!==0){for(var r=1;r<t.length;r++){t[r]=t[r].slice(n)}}var i=0;while(i<t.length&&xe(t[i])){++i}var a=t.length;while(a>i&&xe(t[a-1])){--a}return t.slice(i,a).join("\n")}function xe(e){for(var t=0;t<e.length;++t){if(e[t]!==" "&&e[t]!=="\t"){return false}}return true}function Ae(e){var t;var n=true;var r=true;var i=0;var a=null;for(var o=0;o<e.length;++o){switch(e.charCodeAt(o)){case 13:if(e.charCodeAt(o+1)===10){++o}case 10:n=false;r=true;i=0;break;case 9:case 32:++i;break;default:if(r&&!n&&(a===null||i<a)){a=i}r=false}}return(t=a)!==null&&t!==void 0?t:0}function Ne(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=e.indexOf("\n")===-1;var i=e[0]===" "||e[0]==="\t";var a=e[e.length-1]==='"';var o=e[e.length-1]==="\\";var s=!r||a||o||n;var u="";if(s&&!(r&&i)){u+="\n"+t}u+=t?e.replace(/\n/g,"\n"+t):e;if(s){u+="\n"}return'"""'+u.replace(/"""/g,'\\"""')+'"""'}var De=function(){function e(e){var t=new oe(ue.SOF,0,0,0,0,null);this.source=e;this.lastToken=t;this.token=t;this.line=1;this.lineStart=0}var t=e.prototype;t.advance=function e(){this.lastToken=this.token;var t=this.token=this.lookahead();return t};t.lookahead=function e(){var t=this.token;if(t.kind!==ue.EOF){do{var n;t=(n=t.next)!==null&&n!==void 0?n:t.next=Fe(this,t)}while(t.kind===ue.COMMENT)}return t};return e}();function Ce(e){return e===ue.BANG||e===ue.DOLLAR||e===ue.AMP||e===ue.PAREN_L||e===ue.PAREN_R||e===ue.SPREAD||e===ue.COLON||e===ue.EQUALS||e===ue.AT||e===ue.BRACKET_L||e===ue.BRACKET_R||e===ue.BRACE_L||e===ue.PIPE||e===ue.BRACE_R}function ke(e){return isNaN(e)?ue.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Fe(e,t){var n=e.source;var r=n.body;var i=r.length;var a=t.end;while(a<i){var o=r.charCodeAt(a);var s=e.line;var u=1+a-e.lineStart;switch(o){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a;++e.line;e.lineStart=a;continue;case 13:if(r.charCodeAt(a+1)===10){a+=2}else{++a}++e.line;e.lineStart=a;continue;case 33:return new oe(ue.BANG,a,a+1,s,u,t);case 35:return je(n,a,s,u,t);case 36:return new oe(ue.DOLLAR,a,a+1,s,u,t);case 38:return new oe(ue.AMP,a,a+1,s,u,t);case 40:return new oe(ue.PAREN_L,a,a+1,s,u,t);case 41:return new oe(ue.PAREN_R,a,a+1,s,u,t);case 46:if(r.charCodeAt(a+1)===46&&r.charCodeAt(a+2)===46){return new oe(ue.SPREAD,a,a+3,s,u,t)}break;case 58:return new oe(ue.COLON,a,a+1,s,u,t);case 61:return new oe(ue.EQUALS,a,a+1,s,u,t);case 64:return new oe(ue.AT,a,a+1,s,u,t);case 91:return new oe(ue.BRACKET_L,a,a+1,s,u,t);case 93:return new oe(ue.BRACKET_R,a,a+1,s,u,t);case 123:return new oe(ue.BRACE_L,a,a+1,s,u,t);case 124:return new oe(ue.PIPE,a,a+1,s,u,t);case 125:return new oe(ue.BRACE_R,a,a+1,s,u,t);case 34:if(r.charCodeAt(a+1)===34&&r.charCodeAt(a+2)===34){return Ve(n,a,s,u,t,e)}return Le(n,a,s,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Re(n,a,o,s,u,t);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 qe(n,a,s,u,t)}throw ee(n,a,Pe(o))}var c=e.line;var l=1+a-e.lineStart;return new oe(ue.EOF,i,i,c,l,t)}function Pe(e){if(e<32&&e!==9&&e!==10&&e!==13){return"Cannot contain the invalid character ".concat(ke(e),".")}if(e===39){return"Unexpected single quote character ('), did you mean to use a double quote (\")?"}return"Cannot parse the unexpected character ".concat(ke(e),".")}function je(e,t,n,r,i){var a=e.body;var o;var s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||o===9));return new oe(ue.COMMENT,t,s,n,r,i,a.slice(t+1,s))}function Re(e,t,n,r,i,a){var o=e.body;var s=n;var u=t;var c=false;if(s===45){s=o.charCodeAt(++u)}if(s===48){s=o.charCodeAt(++u);if(s>=48&&s<=57){throw ee(e,u,"Invalid number, unexpected digit after 0: ".concat(ke(s),"."))}}else{u=Me(e,u,s);s=o.charCodeAt(u)}if(s===46){c=true;s=o.charCodeAt(++u);u=Me(e,u,s);s=o.charCodeAt(u)}if(s===69||s===101){c=true;s=o.charCodeAt(++u);if(s===43||s===45){s=o.charCodeAt(++u)}u=Me(e,u,s);s=o.charCodeAt(u)}if(s===46||Ke(s)){throw ee(e,u,"Invalid number, expected digit but got: ".concat(ke(s),"."))}return new oe(c?ue.FLOAT:ue.INT,t,u,r,i,a,o.slice(t,u))}function Me(e,t,n){var r=e.body;var i=t;var a=n;if(a>=48&&a<=57){do{a=r.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw ee(e,i,"Invalid number, expected digit but got: ".concat(ke(a),"."))}function Le(e,t,n,r,i){var a=e.body;var o=t+1;var s=o;var u=0;var c="";while(o<a.length&&!isNaN(u=a.charCodeAt(o))&&u!==10&&u!==13){if(u===34){c+=a.slice(s,o);return new oe(ue.STRING,t,o+1,n,r,i,c)}if(u<32&&u!==9){throw ee(e,o,"Invalid character within String: ".concat(ke(u),"."))}++o;if(u===92){c+=a.slice(s,o-1);u=a.charCodeAt(o);switch(u){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 l=Be(a.charCodeAt(o+1),a.charCodeAt(o+2),a.charCodeAt(o+3),a.charCodeAt(o+4));if(l<0){var f=a.slice(o+1,o+5);throw ee(e,o,"Invalid character escape sequence: \\u".concat(f,"."))}c+=String.fromCharCode(l);o+=4;break}default:throw ee(e,o,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}++o;s=o}}throw ee(e,o,"Unterminated string.")}function Ve(e,t,n,r,i,a){var o=e.body;var s=t+3;var u=s;var c=0;var l="";while(s<o.length&&!isNaN(c=o.charCodeAt(s))){if(c===34&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34){l+=o.slice(u,s);return new oe(ue.BLOCK_STRING,t,s+3,n,r,i,Ie(l))}if(c<32&&c!==9&&c!==10&&c!==13){throw ee(e,s,"Invalid character within String: ".concat(ke(c),"."))}if(c===10){++s;++a.line;a.lineStart=s}else if(c===13){if(o.charCodeAt(s+1)===10){s+=2}else{++s}++a.line;a.lineStart=s}else if(c===92&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34&&o.charCodeAt(s+3)===34){l+=o.slice(u,s)+'"""';s+=4;u=s}else{++s}}throw ee(e,s,"Unterminated string.")}function Be(e,t,n,r){return Ue(e)<<12|Ue(t)<<8|Ue(n)<<4|Ue(r)}function Ue(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function qe(e,t,n,r,i){var a=e.body;var o=a.length;var s=t+1;var u=0;while(s!==o&&!isNaN(u=a.charCodeAt(s))&&(u===95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122)){++s}return new oe(ue.NAME,t,s,n,r,i,a.slice(t,s))}function Ke(e){return e===95||e>=65&&e<=90||e>=97&&e<=122}function He(e,t){var n=new Je(e,t);return n.parseDocument()}var Je=function(){function e(e,t){var n=Oe(e)?e:new Te(e);this._lexer=new De(n);this._options=t}var t=e.prototype;t.parseName=function e(){var t=this.expectToken(ue.NAME);return{kind:te.NAME,value:t.value,loc:this.loc(t)}};t.parseDocument=function e(){var t=this._lexer.token;return{kind:te.DOCUMENT,definitions:this.many(ue.SOF,this.parseDefinition,ue.EOF),loc:this.loc(t)}};t.parseDefinition=function e(){if(this.peek(ue.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(ue.BRACE_L)){return this.parseOperationDefinition()}else if(this.peekDescription()){return this.parseTypeSystemDefinition()}throw this.unexpected()};t.parseOperationDefinition=function e(){var t=this._lexer.token;if(this.peek(ue.BRACE_L)){return{kind:te.OPERATION_DEFINITION,operation:"query",name:undefined,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)}}var n=this.parseOperationType();var r;if(this.peek(ue.NAME)){r=this.parseName()}return{kind:te.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}};t.parseOperationType=function e(){var t=this.expectToken(ue.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)};t.parseVariableDefinitions=function e(){return this.optionalMany(ue.PAREN_L,this.parseVariableDefinition,ue.PAREN_R)};t.parseVariableDefinition=function e(){var t=this._lexer.token;return{kind:te.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ue.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ue.EQUALS)?this.parseValueLiteral(true):undefined,directives:this.parseDirectives(true),loc:this.loc(t)}};t.parseVariable=function e(){var t=this._lexer.token;this.expectToken(ue.DOLLAR);return{kind:te.VARIABLE,name:this.parseName(),loc:this.loc(t)}};t.parseSelectionSet=function e(){var t=this._lexer.token;return{kind:te.SELECTION_SET,selections:this.many(ue.BRACE_L,this.parseSelection,ue.BRACE_R),loc:this.loc(t)}};t.parseSelection=function e(){return this.peek(ue.SPREAD)?this.parseFragment():this.parseField()};t.parseField=function e(){var t=this._lexer.token;var n=this.parseName();var r;var i;if(this.expectOptionalToken(ue.COLON)){r=n;i=this.parseName()}else{i=n}return{kind:te.FIELD,alias:r,name:i,arguments:this.parseArguments(false),directives:this.parseDirectives(false),selectionSet:this.peek(ue.BRACE_L)?this.parseSelectionSet():undefined,loc:this.loc(t)}};t.parseArguments=function e(t){var n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(ue.PAREN_L,n,ue.PAREN_R)};t.parseArgument=function e(){var t=this._lexer.token;var n=this.parseName();this.expectToken(ue.COLON);return{kind:te.ARGUMENT,name:n,value:this.parseValueLiteral(false),loc:this.loc(t)}};t.parseConstArgument=function e(){var t=this._lexer.token;return{kind:te.ARGUMENT,name:this.parseName(),value:(this.expectToken(ue.COLON),this.parseValueLiteral(true)),loc:this.loc(t)}};t.parseFragment=function e(){var t=this._lexer.token;this.expectToken(ue.SPREAD);var n=this.expectOptionalKeyword("on");if(!n&&this.peek(ue.NAME)){return{kind:te.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(false),loc:this.loc(t)}}return{kind:te.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():undefined,directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}};t.parseFragmentDefinition=function e(){var t;var n=this._lexer.token;this.expectKeyword("fragment");if(((t=this._options)===null||t===void 0?void 0:t.experimentalFragmentVariables)===true){return{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}}return{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}};t.parseFragmentName=function e(){if(this._lexer.token.value==="on"){throw this.unexpected()}return this.parseName()};t.parseValueLiteral=function e(t){var n=this._lexer.token;switch(n.kind){case ue.BRACKET_L:return this.parseList(t);case ue.BRACE_L:return this.parseObject(t);case ue.INT:this._lexer.advance();return{kind:te.INT,value:n.value,loc:this.loc(n)};case ue.FLOAT:this._lexer.advance();return{kind:te.FLOAT,value:n.value,loc:this.loc(n)};case ue.STRING:case ue.BLOCK_STRING:return this.parseStringLiteral();case ue.NAME:this._lexer.advance();switch(n.value){case"true":return{kind:te.BOOLEAN,value:true,loc:this.loc(n)};case"false":return{kind:te.BOOLEAN,value:false,loc:this.loc(n)};case"null":return{kind:te.NULL,loc:this.loc(n)};default:return{kind:te.ENUM,value:n.value,loc:this.loc(n)}}case ue.DOLLAR:if(!t){return this.parseVariable()}break}throw this.unexpected()};t.parseStringLiteral=function e(){var t=this._lexer.token;this._lexer.advance();return{kind:te.STRING,value:t.value,block:t.kind===ue.BLOCK_STRING,loc:this.loc(t)}};t.parseList=function e(t){var n=this;var r=this._lexer.token;var i=function e(){return n.parseValueLiteral(t)};return{kind:te.LIST,values:this.any(ue.BRACKET_L,i,ue.BRACKET_R),loc:this.loc(r)}};t.parseObject=function e(t){var n=this;var r=this._lexer.token;var i=function e(){return n.parseObjectField(t)};return{kind:te.OBJECT,fields:this.any(ue.BRACE_L,i,ue.BRACE_R),loc:this.loc(r)}};t.parseObjectField=function e(t){var n=this._lexer.token;var r=this.parseName();this.expectToken(ue.COLON);return{kind:te.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t),loc:this.loc(n)}};t.parseDirectives=function e(t){var n=[];while(this.peek(ue.AT)){n.push(this.parseDirective(t))}return n};t.parseDirective=function e(t){var n=this._lexer.token;this.expectToken(ue.AT);return{kind:te.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(n)}};t.parseTypeReference=function e(){var t=this._lexer.token;var n;if(this.expectOptionalToken(ue.BRACKET_L)){n=this.parseTypeReference();this.expectToken(ue.BRACKET_R);n={kind:te.LIST_TYPE,type:n,loc:this.loc(t)}}else{n=this.parseNamedType()}if(this.expectOptionalToken(ue.BANG)){return{kind:te.NON_NULL_TYPE,type:n,loc:this.loc(t)}}return n};t.parseNamedType=function e(){var t=this._lexer.token;return{kind:te.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}};t.parseTypeSystemDefinition=function e(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===ue.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)};t.peekDescription=function e(){return this.peek(ue.STRING)||this.peek(ue.BLOCK_STRING)};t.parseDescription=function e(){if(this.peekDescription()){return this.parseStringLiteral()}};t.parseSchemaDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(true);var i=this.many(ue.BRACE_L,this.parseOperationTypeDefinition,ue.BRACE_R);return{kind:te.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i,loc:this.loc(t)}};t.parseOperationTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseOperationType();this.expectToken(ue.COLON);var r=this.parseNamedType();return{kind:te.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:this.loc(t)}};t.parseScalarTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName();var i=this.parseDirectives(true);return{kind:te.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:this.loc(t)}};t.parseObjectTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("type");var r=this.parseName();var i=this.parseImplementsInterfaces();var a=this.parseDirectives(true);var o=this.parseFieldsDefinition();return{kind:te.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:a,fields:o,loc:this.loc(t)}};t.parseImplementsInterfaces=function e(){var t;if(!this.expectOptionalKeyword("implements")){return[]}if(((t=this._options)===null||t===void 0?void 0:t.allowLegacySDLImplementsInterfaces)===true){var n=[];this.expectOptionalToken(ue.AMP);do{n.push(this.parseNamedType())}while(this.expectOptionalToken(ue.AMP)||this.peek(ue.NAME));return n}return this.delimitedMany(ue.AMP,this.parseNamedType)};t.parseFieldsDefinition=function e(){var t;if(((t=this._options)===null||t===void 0?void 0:t.allowLegacySDLEmptyFields)===true&&this.peek(ue.BRACE_L)&&this._lexer.lookahead().kind===ue.BRACE_R){this._lexer.advance();this._lexer.advance();return[]}return this.optionalMany(ue.BRACE_L,this.parseFieldDefinition,ue.BRACE_R)};t.parseFieldDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();var r=this.parseName();var i=this.parseArgumentDefs();this.expectToken(ue.COLON);var a=this.parseTypeReference();var o=this.parseDirectives(true);return{kind:te.FIELD_DEFINITION,description:n,name:r,arguments:i,type:a,directives:o,loc:this.loc(t)}};t.parseArgumentDefs=function e(){return this.optionalMany(ue.PAREN_L,this.parseInputValueDef,ue.PAREN_R)};t.parseInputValueDef=function e(){var t=this._lexer.token;var n=this.parseDescription();var r=this.parseName();this.expectToken(ue.COLON);var i=this.parseTypeReference();var a;if(this.expectOptionalToken(ue.EQUALS)){a=this.parseValueLiteral(true)}var o=this.parseDirectives(true);return{kind:te.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:a,directives:o,loc:this.loc(t)}};t.parseInterfaceTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("interface");var r=this.parseName();var i=this.parseImplementsInterfaces();var a=this.parseDirectives(true);var o=this.parseFieldsDefinition();return{kind:te.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:a,fields:o,loc:this.loc(t)}};t.parseUnionTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("union");var r=this.parseName();var i=this.parseDirectives(true);var a=this.parseUnionMemberTypes();return{kind:te.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:a,loc:this.loc(t)}};t.parseUnionMemberTypes=function e(){return this.expectOptionalToken(ue.EQUALS)?this.delimitedMany(ue.PIPE,this.parseNamedType):[]};t.parseEnumTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("enum");var r=this.parseName();var i=this.parseDirectives(true);var a=this.parseEnumValuesDefinition();return{kind:te.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:a,loc:this.loc(t)}};t.parseEnumValuesDefinition=function e(){return this.optionalMany(ue.BRACE_L,this.parseEnumValueDefinition,ue.BRACE_R)};t.parseEnumValueDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();var r=this.parseName();var i=this.parseDirectives(true);return{kind:te.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:this.loc(t)}};t.parseInputObjectTypeDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("input");var r=this.parseName();var i=this.parseDirectives(true);var a=this.parseInputFieldsDefinition();return{kind:te.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:a,loc:this.loc(t)}};t.parseInputFieldsDefinition=function e(){return this.optionalMany(ue.BRACE_L,this.parseInputValueDef,ue.BRACE_R)};t.parseTypeSystemExtension=function e(){var t=this._lexer.lookahead();if(t.kind===ue.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)};t.parseSchemaExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("schema");var n=this.parseDirectives(true);var r=this.optionalMany(ue.BRACE_L,this.parseOperationTypeDefinition,ue.BRACE_R);if(n.length===0&&r.length===0){throw this.unexpected()}return{kind:te.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:this.loc(t)}};t.parseScalarTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("scalar");var n=this.parseName();var r=this.parseDirectives(true);if(r.length===0){throw this.unexpected()}return{kind:te.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:this.loc(t)}};t.parseObjectTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("type");var n=this.parseName();var r=this.parseImplementsInterfaces();var i=this.parseDirectives(true);var a=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&a.length===0){throw this.unexpected()}return{kind:te.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(t)}};t.parseInterfaceTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("interface");var n=this.parseName();var r=this.parseImplementsInterfaces();var i=this.parseDirectives(true);var a=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&a.length===0){throw this.unexpected()}return{kind:te.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(t)}};t.parseUnionTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("union");var n=this.parseName();var r=this.parseDirectives(true);var i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0){throw this.unexpected()}return{kind:te.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:this.loc(t)}};t.parseEnumTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("enum");var n=this.parseName();var r=this.parseDirectives(true);var i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0){throw this.unexpected()}return{kind:te.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:this.loc(t)}};t.parseInputObjectTypeExtension=function e(){var t=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("input");var n=this.parseName();var r=this.parseDirectives(true);var i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0){throw this.unexpected()}return{kind:te.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:this.loc(t)}};t.parseDirectiveDefinition=function e(){var t=this._lexer.token;var n=this.parseDescription();this.expectKeyword("directive");this.expectToken(ue.AT);var r=this.parseName();var i=this.parseArgumentDefs();var a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:te.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:a,locations:o,loc:this.loc(t)}};t.parseDirectiveLocations=function e(){return this.delimitedMany(ue.PIPE,this.parseDirectiveLocation)};t.parseDirectiveLocation=function e(){var t=this._lexer.token;var n=this.parseName();if(Se[n.value]!==undefined){return n}throw this.unexpected(t)};t.loc=function e(t){var n;if(((n=this._options)===null||n===void 0?void 0:n.noLocation)!==true){return new ae(t,this._lexer.lastToken,this._lexer.source)}};t.peek=function e(t){return this._lexer.token.kind===t};t.expectToken=function e(t){var n=this._lexer.token;if(n.kind===t){this._lexer.advance();return n}throw ee(this._lexer.source,n.start,"Expected ".concat($e(t),", found ").concat(Ge(n),"."))};t.expectOptionalToken=function e(t){var n=this._lexer.token;if(n.kind===t){this._lexer.advance();return n}return undefined};t.expectKeyword=function e(t){var n=this._lexer.token;if(n.kind===ue.NAME&&n.value===t){this._lexer.advance()}else{throw ee(this._lexer.source,n.start,'Expected "'.concat(t,'", found ').concat(Ge(n),"."))}};t.expectOptionalKeyword=function e(t){var n=this._lexer.token;if(n.kind===ue.NAME&&n.value===t){this._lexer.advance();return true}return false};t.unexpected=function e(t){var n=t!==null&&t!==void 0?t:this._lexer.token;return ee(this._lexer.source,n.start,"Unexpected ".concat(Ge(n),"."))};t.any=function e(t,n,r){this.expectToken(t);var i=[];while(!this.expectOptionalToken(r)){i.push(n.call(this))}return i};t.optionalMany=function e(t,n,r){if(this.expectOptionalToken(t)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(r));return i}return[]};t.many=function e(t,n,r){this.expectToken(t);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(r));return i};t.delimitedMany=function e(t,n){this.expectOptionalToken(t);var r=[];do{r.push(n.call(this))}while(this.expectOptionalToken(t));return r};return e}();function Ge(e){var t=e.value;return $e(e.kind)+(t!=null?' "'.concat(t,'"'):"")}function $e(e){return Ce(e)?'"'.concat(e,'"'):e}var Ye={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"]};var ze=Object.freeze({});function Qe(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:Ye;var r=undefined;var i=Array.isArray(e);var a=[e];var o=-1;var s=[];var u=undefined;var c=undefined;var l=undefined;var f=[];var d=[];var p=e;do{o++;var h=o===a.length;var v=h&&s.length!==0;if(h){c=d.length===0?undefined:f[f.length-1];u=l;l=d.pop();if(v){if(i){u=u.slice()}else{var y={};for(var m=0,b=Object.keys(u);m<b.length;m++){var g=b[m];y[g]=u[g]}u=y}var E=0;for(var w=0;w<s.length;w++){var _=s[w][0];var T=s[w][1];if(i){_-=E}if(i&&T===null){u.splice(_,1);E++}else{u[_]=T}}}o=r.index;a=r.keys;s=r.edits;i=r.inArray;r=r.prev}else{c=l?i?o:a[o]:undefined;u=l?l[c]:p;if(u===null||u===undefined){continue}if(l){f.push(c)}}var O=void 0;if(!Array.isArray(u)){if(!se(u)){throw new Error("Invalid AST Node: ".concat(de(u),"."))}var S=We(t,u.kind,h);if(S){O=S.call(t,u,c,l,f,d);if(O===ze){break}if(O===false){if(!h){f.pop();continue}}else if(O!==undefined){s.push([c,O]);if(!h){if(se(O)){u=O}else{f.pop();continue}}}}}if(O===undefined&&v){s.push([c,u])}if(h){f.pop()}else{var I;r={inArray:i,index:o,keys:a,edits:s,prev:r};i=Array.isArray(u);a=i?u:(I=n[u.kind])!==null&&I!==void 0?I:[];o=-1;s=[];if(l){d.push(l)}l=u}}while(r!==undefined);if(s.length!==0){p=s[s.length-1][1]}return p}function We(e,t,n){var r=e[t];if(r){if(!n&&typeof r==="function"){return r}var i=n?r.leave:r.enter;if(typeof i==="function"){return i}}else{var a=n?e.leave:e.enter;if(a){if(typeof a==="function"){return a}var o=a[t];if(typeof o==="function"){return o}}}}function Xe(e){return Qe(e,{leave:et})}var Ze=80;var et={Name:function e(t){return t.value},Variable:function e(t){return"$"+t.name},Document:function e(t){return nt(t.definitions,"\n\n")+"\n"},OperationDefinition:function e(t){var n=t.operation;var r=t.name;var i=it("(",nt(t.variableDefinitions,", "),")");var a=nt(t.directives," ");var o=t.selectionSet;return!r&&!a&&!i&&n==="query"?o:nt([n,nt([r,i]),a,o]," ")},VariableDefinition:function e(t){var n=t.variable,r=t.type,i=t.defaultValue,a=t.directives;return n+": "+r+it(" = ",i)+it(" ",nt(a," "))},SelectionSet:function e(t){var n=t.selections;return rt(n)},Field:function e(t){var n=t.alias,r=t.name,i=t.arguments,a=t.directives,o=t.selectionSet;var s=it("",n,": ")+r;var u=s+it("(",nt(i,", "),")");if(u.length>Ze){u=s+it("(\n",at(nt(i,"\n")),"\n)")}return nt([u,nt(a," "),o]," ")},Argument:function e(t){var n=t.name,r=t.value;return n+": "+r},FragmentSpread:function e(t){var n=t.name,r=t.directives;return"..."+n+it(" ",nt(r," "))},InlineFragment:function e(t){var n=t.typeCondition,r=t.directives,i=t.selectionSet;return nt(["...",it("on ",n),nt(r," "),i]," ")},FragmentDefinition:function e(t){var n=t.name,r=t.typeCondition,i=t.variableDefinitions,a=t.directives,o=t.selectionSet;return"fragment ".concat(n).concat(it("(",nt(i,", "),")")," ")+"on ".concat(r," ").concat(it("",nt(a," ")," "))+o},IntValue:function e(t){var n=t.value;return n},FloatValue:function e(t){var n=t.value;return n},StringValue:function e(t,n){var r=t.value,i=t.block;return i?Ne(r,n==="description"?"":" "):JSON.stringify(r)},BooleanValue:function e(t){var n=t.value;return n?"true":"false"},NullValue:function e(){return"null"},EnumValue:function e(t){var n=t.value;return n},ListValue:function e(t){var n=t.values;return"["+nt(n,", ")+"]"},ObjectValue:function e(t){var n=t.fields;return"{"+nt(n,", ")+"}"},ObjectField:function e(t){var n=t.name,r=t.value;return n+": "+r},Directive:function e(t){var n=t.name,r=t.arguments;return"@"+n+it("(",nt(r,", "),")")},NamedType:function e(t){var n=t.name;return n},ListType:function e(t){var n=t.type;return"["+n+"]"},NonNullType:function e(t){var n=t.type;return n+"!"},SchemaDefinition:tt((function(e){var t=e.directives,n=e.operationTypes;return nt(["schema",nt(t," "),rt(n)]," ")})),OperationTypeDefinition:function e(t){var n=t.operation,r=t.type;return n+": "+r},ScalarTypeDefinition:tt((function(e){var t=e.name,n=e.directives;return nt(["scalar",t,nt(n," ")]," ")})),ObjectTypeDefinition:tt((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return nt(["type",t,it("implements ",nt(n," & ")),nt(r," "),rt(i)]," ")})),FieldDefinition:tt((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(st(n)?it("(\n",at(nt(n,"\n")),"\n)"):it("(",nt(n,", "),")"))+": "+r+it(" ",nt(i," "))})),InputValueDefinition:tt((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return nt([t+": "+n,it("= ",r),nt(i," ")]," ")})),InterfaceTypeDefinition:tt((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return nt(["interface",t,it("implements ",nt(n," & ")),nt(r," "),rt(i)]," ")})),UnionTypeDefinition:tt((function(e){var t=e.name,n=e.directives,r=e.types;return nt(["union",t,nt(n," "),r&&r.length!==0?"= "+nt(r," | "):""]," ")})),EnumTypeDefinition:tt((function(e){var t=e.name,n=e.directives,r=e.values;return nt(["enum",t,nt(n," "),rt(r)]," ")})),EnumValueDefinition:tt((function(e){var t=e.name,n=e.directives;return nt([t,nt(n," ")]," ")})),InputObjectTypeDefinition:tt((function(e){var t=e.name,n=e.directives,r=e.fields;return nt(["input",t,nt(n," "),rt(r)]," ")})),DirectiveDefinition:tt((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(st(n)?it("(\n",at(nt(n,"\n")),"\n)"):it("(",nt(n,", "),")"))+(r?" repeatable":"")+" on "+nt(i," | ")})),SchemaExtension:function e(t){var n=t.directives,r=t.operationTypes;return nt(["extend schema",nt(n," "),rt(r)]," ")},ScalarTypeExtension:function e(t){var n=t.name,r=t.directives;return nt(["extend scalar",n,nt(r," ")]," ")},ObjectTypeExtension:function e(t){var n=t.name,r=t.interfaces,i=t.directives,a=t.fields;return nt(["extend type",n,it("implements ",nt(r," & ")),nt(i," "),rt(a)]," ")},InterfaceTypeExtension:function e(t){var n=t.name,r=t.interfaces,i=t.directives,a=t.fields;return nt(["extend interface",n,it("implements ",nt(r," & ")),nt(i," "),rt(a)]," ")},UnionTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.types;return nt(["extend union",n,nt(r," "),i&&i.length!==0?"= "+nt(i," | "):""]," ")},EnumTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.values;return nt(["extend enum",n,nt(r," "),rt(i)]," ")},InputObjectTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.fields;return nt(["extend input",n,nt(r," "),rt(i)]," ")}};function tt(e){return function(t){return nt([t.description,e(t)],"\n")}}function nt(e){var t;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";return(t=e===null||e===void 0?void 0:e.filter((function(e){return e})).join(n))!==null&&t!==void 0?t:""}function rt(e){return it("{\n",at(nt(e,"\n")),"\n}")}function it(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";return t!=null&&t!==""?e+t+n:""}function at(e){return it(" ",e.replace(/\n/g,"\n "))}function ot(e){return e.indexOf("\n")!==-1}function st(e){return e!=null&&e.some(ot)}function ut(e,t){var n=t&&t.cache?t.cache:bt;var r=t&&t.serializer?t.serializer:yt;var i=t&&t.strategy?t.strategy:pt;return i(e,{cache:n,serializer:r})}function ct(e){return e==null||typeof e==="number"||typeof e==="boolean"}function lt(e,t,n,r){var i=ct(r)?r:n(r);var a=t.get(i);if(typeof a==="undefined"){a=e.call(this,r);t.set(i,a)}return a}function ft(e,t,n){var r=Array.prototype.slice.call(arguments,3);var i=n(r);var a=t.get(i);if(typeof a==="undefined"){a=e.apply(this,r);t.set(i,a)}return a}function dt(e,t,n,r,i){return n.bind(t,e,r,i)}function pt(e,t){var n=e.length===1?lt:ft;return dt(e,this,n,t.cache.create(),t.serializer)}function ht(e,t){var n=ft;return dt(e,this,n,t.cache.create(),t.serializer)}function vt(e,t){var n=lt;return dt(e,this,n,t.cache.create(),t.serializer)}function yt(){return JSON.stringify(arguments)}function mt(){this.cache=Object.create(null)}mt.prototype.has=function(e){return e in this.cache};mt.prototype.get=function(e){return this.cache[e]};mt.prototype.set=function(e,t){this.cache[e]=t};var bt={create:function e(){return new mt}};var gt=e("s",ut);var Et={variadic:ht,monadic:vt};gt.strategies=Et;var wt=Object.freeze(Object.assign(Object.create(null),gt,{default:gt,strategies:Et}));e("m",wt);function _t(e){return typeof e==="function"}var Tt=false;var Ot={Promise:undefined,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else if(Tt){console.log("RxJS: Back to a better error behavior. Thank you. <3")}Tt=e},get useDeprecatedSynchronousErrorHandling(){return Tt}};function St(e){setTimeout((function(){throw e}),0)}var It={closed:true,next:function(e){},error:function(e){if(Ot.useDeprecatedSynchronousErrorHandling){throw e}else{St(e)}},complete:function(){}};var xt=function(){return Array.isArray||function(e){return e&&typeof e.length==="number"}}();function At(e){return e!==null&&typeof e==="object"}var Nt=function(){function e(e){Error.call(this);this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=e;return this}e.prototype=Object.create(Error.prototype);return e}();var Dt=Nt;var Ct=function(){function e(e){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(e){this._ctorUnsubscribe=true;this._unsubscribe=e}}e.prototype.unsubscribe=function(){var t;if(this.closed){return}var n=this,r=n._parentOrParents,i=n._ctorUnsubscribe,a=n._unsubscribe,o=n._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(r instanceof e){r.remove(this)}else if(r!==null){for(var s=0;s<r.length;++s){var u=r[s];u.remove(this)}}if(_t(a)){if(i){this._unsubscribe=undefined}try{a.call(this)}catch(e){t=e instanceof Dt?kt(e.errors):[e]}}if(xt(o)){var s=-1;var c=o.length;while(++s<c){var l=o[s];if(At(l)){try{l.unsubscribe()}catch(e){t=t||[];if(e instanceof Dt){t=t.concat(kt(e.errors))}else{t.push(e)}}}}}if(t){throw new Dt(t)}};e.prototype.add=function(t){var n=t;if(!t){return e.EMPTY}switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||typeof n.unsubscribe!=="function"){return n}else if(this.closed){n.unsubscribe();return n}else if(!(n instanceof e)){var r=n;n=new e;n._subscriptions=[r]}break;default:{throw new Error("unrecognized teardown "+t+" added to Subscription.")}}var i=n._parentOrParents;if(i===null){n._parentOrParents=this}else if(i instanceof e){if(i===this){return n}n._parentOrParents=[i,this]}else if(i.indexOf(this)===-1){i.push(this)}else{return n}var a=this._subscriptions;if(a===null){this._subscriptions=[n]}else{a.push(n)}return n};e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);if(n!==-1){t.splice(n,1)}}};return e}();Ct.EMPTY=function(e){e.closed=true;return e}(new Ct);function kt(e){return e.reduce((function(e,t){return e.concat(t instanceof Dt?t.errors:t)}),[])}var Ft=function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();var Pt=function(e){__extends(t,e);function t(n,r,i){var a=e.call(this)||this;a.syncErrorValue=null;a.syncErrorThrown=false;a.syncErrorThrowable=false;a.isStopped=false;switch(arguments.length){case 0:a.destination=It;break;case 1:if(!n){a.destination=It;break}if(typeof n==="object"){if(n instanceof t){a.syncErrorThrowable=n.syncErrorThrowable;a.destination=n;n.add(a)}else{a.syncErrorThrowable=true;a.destination=new jt(a,n)}break}default:a.syncErrorThrowable=true;a.destination=new jt(a,n,r,i);break}return a}t.prototype[Ft]=function(){return this};t.create=function(e,n,r){var i=new t(e,n,r);i.syncErrorThrowable=false;return i};t.prototype.next=function(e){if(!this.isStopped){this._next(e)}};t.prototype.error=function(e){if(!this.isStopped){this.isStopped=true;this._error(e)}};t.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};t.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;e.prototype.unsubscribe.call(this)};t.prototype._next=function(e){this.destination.next(e)};t.prototype._error=function(e){this.destination.error(e);this.unsubscribe()};t.prototype._complete=function(){this.destination.complete();this.unsubscribe()};t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=e;return this};return t}(Ct);var jt=function(e){__extends(t,e);function t(t,n,r,i){var a=e.call(this)||this;a._parentSubscriber=t;var o;var s=a;if(_t(n)){o=n}else if(n){o=n.next;r=n.error;i=n.complete;if(n!==It){s=Object.create(n);if(_t(s.unsubscribe)){a.add(s.unsubscribe.bind(s))}s.unsubscribe=a.unsubscribe.bind(a)}}a._context=s;a._next=o;a._error=r;a._complete=i;return a}t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;if(!Ot.useDeprecatedSynchronousErrorHandling||!t.syncErrorThrowable){this.__tryOrUnsub(this._next,e)}else if(this.__tryOrSetError(t,this._next,e)){this.unsubscribe()}}};t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;var n=Ot.useDeprecatedSynchronousErrorHandling;if(this._error){if(!n||!t.syncErrorThrowable){this.__tryOrUnsub(this._error,e);this.unsubscribe()}else{this.__tryOrSetError(t,this._error,e);this.unsubscribe()}}else if(!t.syncErrorThrowable){this.unsubscribe();if(n){throw e}St(e)}else{if(n){t.syncErrorValue=e;t.syncErrorThrown=true}else{St(e)}this.unsubscribe()}}};t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};if(!Ot.useDeprecatedSynchronousErrorHandling||!t.syncErrorThrowable){this.__tryOrUnsub(n);this.unsubscribe()}else{this.__tryOrSetError(t,n);this.unsubscribe()}}else{this.unsubscribe()}}};t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){this.unsubscribe();if(Ot.useDeprecatedSynchronousErrorHandling){throw e}else{St(e)}}};t.prototype.__tryOrSetError=function(e,t,n){if(!Ot.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{t.call(this._context,n)}catch(t){if(Ot.useDeprecatedSynchronousErrorHandling){e.syncErrorValue=t;e.syncErrorThrown=true;return true}else{St(t);return true}}return false};t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null;this._parentSubscriber=null;e.unsubscribe()};return t}(Pt);function Rt(e){while(e){var t=e.closed,n=e.destination,r=e.isStopped;if(t||r){return false}else if(n&&n instanceof Pt){e=n}else{e=null}}return true}function Mt(e,t,n){if(e){if(e instanceof Pt){return e}if(e[Ft]){return e[Ft]()}}if(!e&&!t&&!n){return new Pt(It)}return new Pt(e,t,n)}var Lt=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}();function Vt(e){return e}function Bt(e){if(e.length===0){return Vt}if(e.length===1){return e[0]}return function t(n){return e.reduce((function(e,t){return t(e)}),n)}}var Ut=function(){function e(e){this._isScalar=false;if(e){this._subscribe=e}}e.prototype.lift=function(t){var n=new e;n.source=this;n.operator=t;return n};e.prototype.subscribe=function(e,t,n){var r=this.operator;var i=Mt(e,t,n);if(r){i.add(r.call(i,this.source))}else{i.add(this.source||Ot.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i))}if(Ot.useDeprecatedSynchronousErrorHandling){if(i.syncErrorThrowable){i.syncErrorThrowable=false;if(i.syncErrorThrown){throw i.syncErrorValue}}}return i};e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){if(Ot.useDeprecatedSynchronousErrorHandling){e.syncErrorThrown=true;e.syncErrorValue=t}if(Rt(e)){e.error(t)}else{console.warn(t)}}};e.prototype.forEach=function(e,t){var n=this;t=qt(t);return new t((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(e){r(e);if(i){i.unsubscribe()}}}),r,t)}))};e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)};e.prototype[Lt]=function(){return this};e.prototype.pipe=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e.length===0){return this}return Bt(e)(this)};e.prototype.toPromise=function(e){var t=this;e=qt(e);return new e((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))};return e}();Ut.create=function(e){return new Ut(e)};function qt(e){if(!e){e=Promise}if(!e){throw new Error("no Promise impl found")}return e}var Kt=function(){function e(){Error.call(this);this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}e.prototype=Object.create(Error.prototype);return e}();var Ht=Kt;var Jt=function(e){__extends(t,e);function t(t,n){var r=e.call(this)||this;r.subject=t;r.subscriber=n;r.closed=false;return r}t.prototype.unsubscribe=function(){if(this.closed){return}this.closed=true;var e=this.subject;var t=e.observers;this.subject=null;if(!t||t.length===0||e.isStopped||e.closed){return}var n=t.indexOf(this.subscriber);if(n!==-1){t.splice(n,1)}};return t}(Ct);var Gt=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;n.destination=t;return n}return t}(Pt);var $t=function(e){__extends(t,e);function t(){var t=e.call(this)||this;t.observers=[];t.closed=false;t.isStopped=false;t.hasError=false;t.thrownError=null;return t}t.prototype[Ft]=function(){return new Gt(this)};t.prototype.lift=function(e){var t=new Yt(this,this);t.operator=e;return t};t.prototype.next=function(e){if(this.closed){throw new Ht}if(!this.isStopped){var t=this.observers;var n=t.length;var r=t.slice();for(var i=0;i<n;i++){r[i].next(e)}}};t.prototype.error=function(e){if(this.closed){throw new Ht}this.hasError=true;this.thrownError=e;this.isStopped=true;var t=this.observers;var n=t.length;var r=t.slice();for(var i=0;i<n;i++){r[i].error(e)}this.observers.length=0};t.prototype.complete=function(){if(this.closed){throw new Ht}this.isStopped=true;var e=this.observers;var t=e.length;var n=e.slice();for(var r=0;r<t;r++){n[r].complete()}this.observers.length=0};t.prototype.unsubscribe=function(){this.isStopped=true;this.closed=true;this.observers=null};t.prototype._trySubscribe=function(t){if(this.closed){throw new Ht}else{return e.prototype._trySubscribe.call(this,t)}};t.prototype._subscribe=function(e){if(this.closed){throw new Ht}else if(this.hasError){e.error(this.thrownError);return Ct.EMPTY}else if(this.isStopped){e.complete();return Ct.EMPTY}else{this.observers.push(e);return new Jt(this,e)}};t.prototype.asObservable=function(){var e=new Ut;e.source=this;return e};return t}(Ut);$t.create=function(e,t){return new Yt(e,t)};var Yt=function(e){__extends(t,e);function t(t,n){var r=e.call(this)||this;r.destination=t;r.source=n;return r}t.prototype.next=function(e){var t=this.destination;if(t&&t.next){t.next(e)}};t.prototype.error=function(e){var t=this.destination;if(t&&t.error){this.destination.error(e)}};t.prototype.complete=function(){var e=this.destination;if(e&&e.complete){this.destination.complete()}};t.prototype._subscribe=function(e){var t=this.source;if(t){return this.source.subscribe(e)}else{return Ct.EMPTY}};return t}($t);var zt=function(e){__extends(t,e);function t(t,n){return e.call(this)||this}t.prototype.schedule=function(e,t){if(t===void 0){t=0}return this};return t}(Ct);var Qt=function(e){__extends(t,e);function t(t,n){var r=e.call(this,t,n)||this;r.scheduler=t;r.work=n;r.pending=false;return r}t.prototype.schedule=function(e,t){if(t===void 0){t=0}if(this.closed){return this}this.state=e;var n=this.id;var r=this.scheduler;if(n!=null){this.id=this.recycleAsyncId(r,n,t)}this.pending=true;this.delay=t;this.id=this.id||this.requestAsyncId(r,this.id,t);return this};t.prototype.requestAsyncId=function(e,t,n){if(n===void 0){n=0}return setInterval(e.flush.bind(e,this),n)};t.prototype.recycleAsyncId=function(e,t,n){if(n===void 0){n=0}if(n!==null&&this.delay===n&&this.pending===false){return t}clearInterval(t);return undefined};t.prototype.execute=function(e,t){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var n=this._execute(e,t);if(n){return n}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};t.prototype._execute=function(e,t){var n=false;var r=undefined;try{this.work(e)}catch(e){n=true;r=!!e&&e||new Error(e)}if(n){this.unsubscribe();return r}};t.prototype._unsubscribe=function(){var e=this.id;var t=this.scheduler;var n=t.actions;var r=n.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(r!==-1){n.splice(r,1)}if(e!=null){this.id=this.recycleAsyncId(t,e,null)}this.delay=null};return t}(zt);var Wt=function(){function e(t,n){if(n===void 0){n=e.now}this.SchedulerAction=t;this.now=n}e.prototype.schedule=function(e,t,n){if(t===void 0){t=0}return new this.SchedulerAction(this,e).schedule(n,t)};return e}();Wt.now=function(){return Date.now()};var Xt=function(e){__extends(t,e);function t(n,r){if(r===void 0){r=Wt.now}var i=e.call(this,n,(function(){if(t.delegate&&t.delegate!==i){return t.delegate.now()}else{return r()}}))||this;i.actions=[];i.active=false;i.scheduled=undefined;return i}t.prototype.schedule=function(n,r,i){if(r===void 0){r=0}if(t.delegate&&t.delegate!==this){return t.delegate.schedule(n,r,i)}else{return e.prototype.schedule.call(this,n,r,i)}};t.prototype.flush=function(e){var t=this.actions;if(this.active){t.push(e);return}var n;this.active=true;do{if(n=e.execute(e.state,e.delay)){break}}while(e=t.shift());this.active=false;if(n){while(e=t.shift()){e.unsubscribe()}throw n}};return t}(Wt);function Zt(e){return e&&typeof e.schedule==="function"}var en=new Xt(Qt);var tn=en;function nn(e){var t=arguments.length;var n=tn;if(Zt(arguments[arguments.length-1])){n=arguments[arguments.length-1];t--}var r=null;if(t>=2){r=arguments[1]}var i=Number.POSITIVE_INFINITY;if(t>=3){i=arguments[2]}return function t(a){return a.lift(new rn(e,r,i,n))}}var rn=function(){function e(e,t,n,r){this.bufferTimeSpan=e;this.bufferCreationInterval=t;this.maxBufferSize=n;this.scheduler=r}e.prototype.call=function(e,t){return t.subscribe(new on(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))};return e}();var an=function(){function e(){this.buffer=[]}return e}();var on=function(e){__extends(t,e);function t(t,n,r,i,a){var o=e.call(this,t)||this;o.bufferTimeSpan=n;o.bufferCreationInterval=r;o.maxBufferSize=i;o.scheduler=a;o.contexts=[];var s=o.openContext();o.timespanOnly=r==null||r<0;if(o.timespanOnly){var u={subscriber:o,context:s,bufferTimeSpan:n};o.add(s.closeAction=a.schedule(sn,n,u))}else{var c={subscriber:o,context:s};var l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:o,scheduler:a};o.add(s.closeAction=a.schedule(cn,n,c));o.add(a.schedule(un,r,l))}return o}t.prototype._next=function(e){var t=this.contexts;var n=t.length;var r;for(var i=0;i<n;i++){var a=t[i];var o=a.buffer;o.push(e);if(o.length==this.maxBufferSize){r=a}}if(r){this.onBufferFull(r)}};t.prototype._error=function(t){this.contexts.length=0;e.prototype._error.call(this,t)};t.prototype._complete=function(){var t=this,n=t.contexts,r=t.destination;while(n.length>0){var i=n.shift();r.next(i.buffer)}e.prototype._complete.call(this)};t.prototype._unsubscribe=function(){this.contexts=null};t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;t.unsubscribe();this.remove(t);if(!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan;var r={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(sn,n,r))}};t.prototype.openContext=function(){var e=new an;this.contexts.push(e);return e};t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;var n=t?t.indexOf(e):-1;if(n>=0){t.splice(t.indexOf(e),1)}};return t}(Pt);function sn(e){var t=e.subscriber;var n=e.context;if(n){t.closeContext(n)}if(!t.closed){e.context=t.openContext();e.context.closeAction=this.schedule(e,e.bufferTimeSpan)}}function un(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,r=e.subscriber,i=e.scheduler;var a=r.openContext();var o=this;if(!r.closed){r.add(a.closeAction=i.schedule(cn,n,{subscriber:r,context:a}));o.schedule(e,t)}}function cn(e){var t=e.subscriber,n=e.context;t.closeContext(n)}var ln=function(e){if(e===void 0){e=21}var t="";var n=crypto.getRandomValues(new Uint8Array(e));while(e--){var r=n[e]&63;if(r<36){t+=r.toString(36)}else if(r<62){t+=(r-26).toString(36).toUpperCase()}else if(r<63){t+="_"}else{t+="-"}}return t};var fn=t((function(e,t){var r=n&&n.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:true});t.ClientError=void 0;var i=function(e){r(t,e);function t(n,r){var i=this;var a=t.extractMessage(n)+": "+JSON.stringify({response:n,request:r});i=e.call(this,a)||this;Object.setPrototypeOf(i,t.prototype);i.response=n;i.request=r;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(i,t)}return i}t.extractMessage=function(e){try{return e.errors[0].message}catch(t){return"GraphQL Error (Code: "+e.status+")"}};return t}(Error);t.ClientError=i}));var dn=t((function(e,t){var r=typeof self!=="undefined"?self:n;var i=function(){function e(){this.fetch=false;this.DOMException=r.DOMException}e.prototype=r;return new e}();(function(e){var t=function(t){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function r(e){return e&&DataView.prototype.isPrototypeOf(e)}if(n.arrayBuffer){var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"];var a=ArrayBuffer.isView||function(e){return e&&i.indexOf(Object.prototype.toString.call(e))>-1}}function o(e){if(typeof e!=="string"){e=String(e)}if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e)){throw new TypeError("Invalid character in header field name")}return e.toLowerCase()}function s(e){if(typeof e!=="string"){e=String(e)}return e}function u(e){var t={next:function(){var t=e.shift();return{done:t===undefined,value:t}}};if(n.iterable){t[Symbol.iterator]=function(){return t}}return t}function c(e){this.map={};if(e instanceof c){e.forEach((function(e,t){this.append(t,e)}),this)}else if(Array.isArray(e)){e.forEach((function(e){this.append(e[0],e[1])}),this)}else if(e){Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}}c.prototype.append=function(e,t){e=o(e);t=s(t);var n=this.map[e];this.map[e]=n?n+", "+t:t};c.prototype["delete"]=function(e){delete this.map[o(e)]};c.prototype.get=function(e){e=o(e);return this.has(e)?this.map[e]:null};c.prototype.has=function(e){return this.map.hasOwnProperty(o(e))};c.prototype.set=function(e,t){this.map[o(e)]=s(t)};c.prototype.forEach=function(e,t){for(var n in this.map){if(this.map.hasOwnProperty(n)){e.call(t,this.map[n],n,this)}}};c.prototype.keys=function(){var e=[];this.forEach((function(t,n){e.push(n)}));return u(e)};c.prototype.values=function(){var e=[];this.forEach((function(t){e.push(t)}));return u(e)};c.prototype.entries=function(){var e=[];this.forEach((function(t,n){e.push([n,t])}));return u(e)};if(n.iterable){c.prototype[Symbol.iterator]=c.prototype.entries}function l(e){if(e.bodyUsed){return Promise.reject(new TypeError("Already read"))}e.bodyUsed=true}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)};e.onerror=function(){n(e.error)}}))}function d(e){var t=new FileReader;var n=f(t);t.readAsArrayBuffer(e);return n}function p(e){var t=new FileReader;var n=f(t);t.readAsText(e);return n}function h(e){var t=new Uint8Array(e);var n=new Array(t.length);for(var r=0;r<t.length;r++){n[r]=String.fromCharCode(t[r])}return n.join("")}function v(e){if(e.slice){return e.slice(0)}else{var t=new Uint8Array(e.byteLength);t.set(new Uint8Array(e));return t.buffer}}function y(){this.bodyUsed=false;this._initBody=function(e){this._bodyInit=e;if(!e){this._bodyText=""}else if(typeof e==="string"){this._bodyText=e}else if(n.blob&&Blob.prototype.isPrototypeOf(e)){this._bodyBlob=e}else if(n.formData&&FormData.prototype.isPrototypeOf(e)){this._bodyFormData=e}else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this._bodyText=e.toString()}else if(n.arrayBuffer&&n.blob&&r(e)){this._bodyArrayBuffer=v(e.buffer);this._bodyInit=new Blob([this._bodyArrayBuffer])}else if(n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))){this._bodyArrayBuffer=v(e)}else{this._bodyText=e=Object.prototype.toString.call(e)}if(!this.headers.get("content-type")){if(typeof e==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)){this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}}};if(n.blob){this.blob=function(){var e=l(this);if(e){return e}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(new Blob([this._bodyArrayBuffer]))}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){if(this._bodyArrayBuffer){return l(this)||Promise.resolve(this._bodyArrayBuffer)}else{return this.blob().then(d)}}}this.text=function(){var e=l(this);if(e){return e}if(this._bodyBlob){return p(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(h(this._bodyArrayBuffer))}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}};if(n.formData){this.formData=function(){return this.text().then(E)}}this.json=function(){return this.text().then(JSON.parse)};return this}var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e){var t=e.toUpperCase();return m.indexOf(t)>-1?t:e}function g(e,t){t=t||{};var n=t.body;if(e instanceof g){if(e.bodyUsed){throw new TypeError("Already read")}this.url=e.url;this.credentials=e.credentials;if(!t.headers){this.headers=new c(e.headers)}this.method=e.method;this.mode=e.mode;this.signal=e.signal;if(!n&&e._bodyInit!=null){n=e._bodyInit;e.bodyUsed=true}}else{this.url=String(e)}this.credentials=t.credentials||this.credentials||"same-origin";if(t.headers||!this.headers){this.headers=new c(t.headers)}this.method=b(t.method||this.method||"GET");this.mode=t.mode||this.mode||null;this.signal=t.signal||this.signal;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&n){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(n)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})};function E(e){var t=new FormData;e.trim().split("&").forEach((function(e){if(e){var n=e.split("=");var r=n.shift().replace(/\+/g," ");var i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}));return t}function w(e){var t=new c;var n=e.replace(/\r?\n[\t ]+/g," ");n.split(/\r?\n/).forEach((function(e){var n=e.split(":");var r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}));return t}y.call(g.prototype);function _(e,t){if(!t){t={}}this.type="default";this.status=t.status===undefined?200:t.status;this.ok=this.status>=200&&this.status<300;this.statusText="statusText"in t?t.statusText:"OK";this.headers=new c(t.headers);this.url=t.url||"";this._initBody(e)}y.call(_.prototype);_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})};_.error=function(){var e=new _(null,{status:0,statusText:""});e.type="error";return e};var T=[301,302,303,307,308];_.redirect=function(e,t){if(T.indexOf(t)===-1){throw new RangeError("Invalid status code")}return new _(null,{status:t,headers:{location:e}})};t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e;this.name=t;var n=Error(e);this.stack=n.stack};t.DOMException.prototype=Object.create(Error.prototype);t.DOMException.prototype.constructor=t.DOMException}function O(e,r){return new Promise((function(i,a){var o=new g(e,r);if(o.signal&&o.signal.aborted){return a(new t.DOMException("Aborted","AbortError"))}var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:w(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;i(new _(t,e))};s.onerror=function(){a(new TypeError("Network request failed"))};s.ontimeout=function(){a(new TypeError("Network request failed"))};s.onabort=function(){a(new t.DOMException("Aborted","AbortError"))};s.open(o.method,o.url,true);if(o.credentials==="include"){s.withCredentials=true}else if(o.credentials==="omit"){s.withCredentials=false}if("responseType"in s&&n.blob){s.responseType="blob"}o.headers.forEach((function(e,t){s.setRequestHeader(t,e)}));if(o.signal){o.signal.addEventListener("abort",u);s.onreadystatechange=function(){if(s.readyState===4){o.signal.removeEventListener("abort",u)}}}s.send(typeof o._bodyInit==="undefined"?null:o._bodyInit)}))}O.polyfill=true;if(!e.fetch){e.fetch=O;e.Headers=c;e.Request=g;e.Response=_}t.Headers=c;t.Request=g;t.Response=_;t.fetch=O;Object.defineProperty(t,"__esModule",{value:true});return t}({})})(i);i.fetch.ponyfill=true;delete i.fetch.polyfill;var a=i;t=a.fetch;t.default=a.fetch;t.fetch=a.fetch;t.Headers=a.Headers;t.Request=a.Request;t.Response=a.Response;e.exports=t}));var pn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):undefined;var r=n;t.default=r}));var hn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.default=s;var n=r(pn);function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){i=function e(t){return typeof t}}else{i=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return i(e)}var a=10;var o=2;function s(e){return u(e,[])}function u(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e===null){return"null"}return c(e,t);default:return String(e)}}function c(e,t){if(t.indexOf(e)!==-1){return"[Circular]"}var n=[].concat(t,[e]);var r=d(e);if(r!==undefined){var i=r.call(e);if(i!==e){return typeof i==="string"?i:u(i,n)}}else if(Array.isArray(e)){return f(e,n)}return l(e,n)}function l(e,t){var n=Object.keys(e);if(n.length===0){return"{}"}if(t.length>o){return"["+p(e)+"]"}var r=n.map((function(n){var r=u(e[n],t);return n+": "+r}));return"{ "+r.join(", ")+" }"}function f(e,t){if(e.length===0){return"[]"}if(t.length>o){return"[Array]"}var n=Math.min(a,e.length);var r=e.length-n;var i=[];for(var s=0;s<n;++s){i.push(u(e[s],t))}if(r===1){i.push("... 1 more item")}else if(r>1){i.push("... ".concat(r," more items"))}return"["+i.join(", ")+"]"}function d(e){var t=e[String(n.default)];if(typeof t==="function"){return t}if(typeof e.inspect==="function"){return e.inspect}}function p(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor==="function"){var n=e.constructor.name;if(typeof n==="string"&&n!==""){return n}}return t}}));var vn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.default=n;function n(e,t){var n=Boolean(e);if(!n){throw new Error(t!=null?t:"Unexpected invariant triggered.")}}}));var yn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.default=a;var n=i(vn);var r=i(pn);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.prototype.toJSON;typeof t==="function"||(0,n.default)(0);e.prototype.inspect=t;if(r.default){e.prototype[r.default]=t}}}));var mn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.isNode=o;t.Token=t.Location=void 0;var n=r(yn);function r(e){return e&&e.__esModule?e:{default:e}}var i=function(){function e(e,t,n){this.start=e.start;this.end=t.end;this.startToken=e;this.endToken=t;this.source=n}var t=e.prototype;t.toJSON=function e(){return{start:this.start,end:this.end}};return e}();t.Location=i;(0,n.default)(i);var a=function(){function e(e,t,n,r,i,a,o){this.kind=e;this.start=t;this.end=n;this.line=r;this.column=i;this.value=o;this.prev=a;this.next=null}var t=e.prototype;t.toJSON=function e(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}};return e}();t.Token=a;(0,n.default)(a);function o(e){return e!=null&&typeof e.kind==="string"}}));var bn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.visit=o;t.visitInParallel=s;t.getVisitFn=u;t.BREAK=t.QueryDocumentKeys=void 0;var n=r(hn);function r(e){return e&&e.__esModule?e:{default:e}}var 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"]};t.QueryDocumentKeys=i;var a=Object.freeze({});t.BREAK=a;function o(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:i;var o=undefined;var s=Array.isArray(e);var c=[e];var l=-1;var f=[];var d=undefined;var p=undefined;var h=undefined;var v=[];var y=[];var m=e;do{l++;var b=l===c.length;var g=b&&f.length!==0;if(b){p=y.length===0?undefined:v[v.length-1];d=h;h=y.pop();if(g){if(s){d=d.slice()}else{var E={};for(var w=0,_=Object.keys(d);w<_.length;w++){var T=_[w];E[T]=d[T]}d=E}var O=0;for(var S=0;S<f.length;S++){var I=f[S][0];var x=f[S][1];if(s){I-=O}if(s&&x===null){d.splice(I,1);O++}else{d[I]=x}}}l=o.index;c=o.keys;f=o.edits;s=o.inArray;o=o.prev}else{p=h?s?l:c[l]:undefined;d=h?h[p]:m;if(d===null||d===undefined){continue}if(h){v.push(p)}}var A=void 0;if(!Array.isArray(d)){if(!(0,mn.isNode)(d)){throw new Error("Invalid AST Node: ".concat((0,n.default)(d),"."))}var N=u(t,d.kind,b);if(N){A=N.call(t,d,p,h,v,y);if(A===a){break}if(A===false){if(!b){v.pop();continue}}else if(A!==undefined){f.push([p,A]);if(!b){if((0,mn.isNode)(A)){d=A}else{v.pop();continue}}}}}if(A===undefined&&g){f.push([p,d])}if(b){v.pop()}else{var D;o={inArray:s,index:l,keys:c,edits:f,prev:o};s=Array.isArray(d);c=s?d:(D=r[d.kind])!==null&&D!==void 0?D:[];l=-1;f=[];if(h){y.push(h)}h=d}}while(o!==undefined);if(f.length!==0){m=f[f.length-1][1]}return m}function s(e){var t=new Array(e.length);return{enter:function n(r){for(var i=0;i<e.length;i++){if(t[i]==null){var o=u(e[i],r.kind,false);if(o){var s=o.apply(e[i],arguments);if(s===false){t[i]=r}else if(s===a){t[i]=a}else if(s!==undefined){return s}}}}},leave:function n(r){for(var i=0;i<e.length;i++){if(t[i]==null){var o=u(e[i],r.kind,true);if(o){var s=o.apply(e[i],arguments);if(s===a){t[i]=a}else if(s!==undefined&&s!==false){return s}}}else if(t[i]===r){t[i]=null}}}}}function u(e,t,n){var r=e[t];if(r){if(!n&&typeof r==="function"){return r}var i=n?r.leave:r.enter;if(typeof i==="function"){return i}}else{var a=n?e.leave:e.enter;if(a){if(typeof a==="function"){return a}var o=a[t];if(typeof o==="function"){return o}}}}}));var gn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.dedentBlockStringValue=n;t.getBlockStringIndentation=i;t.printBlockString=a;function n(e){var t=e.split(/\r\n|[\n\r]/g);var n=i(e);if(n!==0){for(var a=1;a<t.length;a++){t[a]=t[a].slice(n)}}var o=0;while(o<t.length&&r(t[o])){++o}var s=t.length;while(s>o&&r(t[s-1])){--s}return t.slice(o,s).join("\n")}function r(e){for(var t=0;t<e.length;++t){if(e[t]!==" "&&e[t]!=="\t"){return false}}return true}function i(e){var t;var n=true;var r=true;var i=0;var a=null;for(var o=0;o<e.length;++o){switch(e.charCodeAt(o)){case 13:if(e.charCodeAt(o+1)===10){++o}case 10:n=false;r=true;i=0;break;case 9:case 32:++i;break;default:if(r&&!n&&(a===null||i<a)){a=i}r=false}}return(t=a)!==null&&t!==void 0?t:0}function a(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=e.indexOf("\n")===-1;var i=e[0]===" "||e[0]==="\t";var a=e[e.length-1]==='"';var o=e[e.length-1]==="\\";var s=!r||a||o||n;var u="";if(s&&!(r&&i)){u+="\n"+t}u+=t?e.replace(/\n/g,"\n"+t):e;if(s){u+="\n"}return'"""'+u.replace(/"""/g,'\\"""')+'"""'}}));var En=t((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.print=n;function n(e){return(0,bn.visit)(e,{leave:i})}var r=80;var i={Name:function e(t){return t.value},Variable:function e(t){return"$"+t.name},Document:function e(t){return o(t.definitions,"\n\n")+"\n"},OperationDefinition:function e(t){var n=t.operation;var r=t.name;var i=u("(",o(t.variableDefinitions,", "),")");var a=o(t.directives," ");var s=t.selectionSet;return!r&&!a&&!i&&n==="query"?s:o([n,o([r,i]),a,s]," ")},VariableDefinition:function e(t){var n=t.variable,r=t.type,i=t.defaultValue,a=t.directives;return n+": "+r+u(" = ",i)+u(" ",o(a," "))},SelectionSet:function e(t){var n=t.selections;return s(n)},Field:function e(t){var n=t.alias,i=t.name,a=t.arguments,s=t.directives,l=t.selectionSet;var f=u("",n,": ")+i;var d=f+u("(",o(a,", "),")");if(d.length>r){d=f+u("(\n",c(o(a,"\n")),"\n)")}return o([d,o(s," "),l]," ")},Argument:function e(t){var n=t.name,r=t.value;return n+": "+r},FragmentSpread:function e(t){var n=t.name,r=t.directives;return"..."+n+u(" ",o(r," "))},InlineFragment:function e(t){var n=t.typeCondition,r=t.directives,i=t.selectionSet;return o(["...",u("on ",n),o(r," "),i]," ")},FragmentDefinition:function e(t){var n=t.name,r=t.typeCondition,i=t.variableDefinitions,a=t.directives,s=t.selectionSet;return"fragment ".concat(n).concat(u("(",o(i,", "),")")," ")+"on ".concat(r," ").concat(u("",o(a," ")," "))+s},IntValue:function e(t){var n=t.value;return n},FloatValue:function e(t){var n=t.value;return n},StringValue:function e(t,n){var r=t.value,i=t.block;return i?(0,gn.printBlockString)(r,n==="description"?"":" "):JSON.stringify(r)},BooleanValue:function e(t){var n=t.value;return n?"true":"false"},NullValue:function e(){return"null"},EnumValue:function e(t){var n=t.value;return n},ListValue:function e(t){var n=t.values;return"["+o(n,", ")+"]"},ObjectValue:function e(t){var n=t.fields;return"{"+o(n,", ")+"}"},ObjectField:function e(t){var n=t.name,r=t.value;return n+": "+r},Directive:function e(t){var n=t.name,r=t.arguments;return"@"+n+u("(",o(r,", "),")")},NamedType:function e(t){var n=t.name;return n},ListType:function e(t){var n=t.type;return"["+n+"]"},NonNullType:function e(t){var n=t.type;return n+"!"},SchemaDefinition:a((function(e){var t=e.directives,n=e.operationTypes;return o(["schema",o(t," "),s(n)]," ")})),OperationTypeDefinition:function e(t){var n=t.operation,r=t.type;return n+": "+r},ScalarTypeDefinition:a((function(e){var t=e.name,n=e.directives;return o(["scalar",t,o(n," ")]," ")})),ObjectTypeDefinition:a((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["type",t,u("implements ",o(n," & ")),o(r," "),s(i)]," ")})),FieldDefinition:a((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(f(n)?u("(\n",c(o(n,"\n")),"\n)"):u("(",o(n,", "),")"))+": "+r+u(" ",o(i," "))})),InputValueDefinition:a((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return o([t+": "+n,u("= ",r),o(i," ")]," ")})),InterfaceTypeDefinition:a((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["interface",t,u("implements ",o(n," & ")),o(r," "),s(i)]," ")})),UnionTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.types;return o(["union",t,o(n," "),r&&r.length!==0?"= "+o(r," | "):""]," ")})),EnumTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.values;return o(["enum",t,o(n," "),s(r)]," ")})),EnumValueDefinition:a((function(e){var t=e.name,n=e.directives;return o([t,o(n," ")]," ")})),InputObjectTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.fields;return o(["input",t,o(n," "),s(r)]," ")})),DirectiveDefinition:a((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(f(n)?u("(\n",c(o(n,"\n")),"\n)"):u("(",o(n,", "),")"))+(r?" repeatable":"")+" on "+o(i," | ")})),SchemaExtension:function e(t){var n=t.directives,r=t.operationTypes;return o(["extend schema",o(n," "),s(r)]," ")},ScalarTypeExtension:function e(t){var n=t.name,r=t.directives;return o(["extend scalar",n,o(r," ")]," ")},ObjectTypeExtension:function e(t){var n=t.name,r=t.interfaces,i=t.directives,a=t.fields;return o(["extend type",n,u("implements ",o(r," & ")),o(i," "),s(a)]," ")},InterfaceTypeExtension:function e(t){var n=t.name,r=t.interfaces,i=t.directives,a=t.fields;return o(["extend interface",n,u("implements ",o(r," & ")),o(i," "),s(a)]," ")},UnionTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.types;return o(["extend union",n,o(r," "),i&&i.length!==0?"= "+o(i," | "):""]," ")},EnumTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.values;return o(["extend enum",n,o(r," "),s(i)]," ")},InputObjectTypeExtension:function e(t){var n=t.name,r=t.directives,i=t.fields;return o(["extend input",n,o(r," "),s(i)]," ")}};function a(e){return function(t){return o([t.description,e(t)],"\n")}}function o(e){var t;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";return(t=e===null||e===void 0?void 0:e.filter((function(e){return e})).join(n))!==null&&t!==void 0?t:""}function s(e){return u("{\n",c(o(e,"\n")),"\n}")}function u(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";return t!=null&&t!==""?e+t+n:""}function c(e){return u(" ",e.replace(/\n/g,"\n "))}function l(e){return e.indexOf("\n")!==-1}function f(e){return e!=null&&e.some(l)}}));var wn=function e(t){var n=t.uri,r=t.name,i=t.type;this.uri=n;this.name=r;this.type=i};var _n=function e(t){return typeof File!=="undefined"&&t instanceof File||typeof Blob!=="undefined"&&t instanceof Blob||t instanceof wn};var Tn=function e(t,n,r){if(n===void 0){n=""}if(r===void 0){r=_n}var i;var a=new Map;function o(e,t){var n=a.get(t);if(n)n.push.apply(n,e);else a.set(t,e)}if(r(t)){i=null;o([n],t)}else{var s=n?n+".":"";if(typeof FileList!=="undefined"&&t instanceof FileList)i=Array.prototype.map.call(t,(function(e,t){o([""+s+t],e);return null}));else if(Array.isArray(t))i=t.map((function(t,n){var i=e(t,""+s+n,r);i.files.forEach(o);return i.clone}));else if(t&&t.constructor===Object){i={};for(var u in t){var c=e(t[u],""+s+u,r);c.files.forEach(o);i[u]=c.clone}}else i=t}return{clone:i,files:a}};var On=wn;var Sn=Tn;var In=_n;var xn={ReactNativeFile:On,extractFiles:Sn,isExtractableFile:In};var An=typeof self=="object"?self.FormData:window.FormData;var Nn=t((function(e,t){var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var i=r(An);var a=function(e){return xn.isExtractableFile(e)||e!==null&&typeof e==="object"&&typeof e.pipe==="function"};function o(e,t){var n=xn.extractFiles({query:e,variables:t},"",a),r=n.clone,o=n.files;if(o.size===0){return JSON.stringify(r)}var s=typeof FormData==="undefined"?i.default:FormData;var u=new s;u.append("operations",JSON.stringify(r));var c={};var l=0;o.forEach((function(e){c[++l]=e}));u.append("map",JSON.stringify(c));l=0;o.forEach((function(e,t){u.append(""+ ++l,t)}));return u}t.default=o}));var Dn=e("d",t((function(e,t){var r=n&&n.__assign||function(){r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return r.apply(this,arguments)};var i=n&&n.__createBinding||(Object.create?function(e,t,n,r){if(r===undefined)r=n;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,r){if(r===undefined)r=n;e[r]=t[n]});var a=n&&n.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=n&&n.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);a(t,e);return t};var s=n&&n.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):i(e.value).then(o,s)}u((r=r.apply(e,t||[])).next())}))};var u=n&&n.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var c=n&&n.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var l=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.gql=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var f=o(dn),d=f;var p=l(Nn);var h=fn;Object.defineProperty(t,"ClientError",{enumerable:true,get:function(){return h.ClientError}});var v=function(e){var t={};if(e){if(typeof Headers!=="undefined"&&e instanceof Headers||e instanceof d.Headers){t=_(e)}else if(Array.isArray(e)){e.forEach((function(e){var n=e[0],r=e[1];t[n]=r}))}else{t=e}}return t};var y=function(){function e(e,t){this.url=e;this.options=t||{}}e.prototype.rawRequest=function(e,t,n){return s(this,void 0,void 0,(function(){var i,a,o,s,l,d,h,y,m,b,E;return u(this,(function(u){switch(u.label){case 0:i=this.options,a=i.headers,o=i.fetch,s=o===void 0?f.default:o,l=c(i,["headers","fetch"]);d=p.default(e,t);return[4,s(this.url,r({method:"POST",headers:r(r(r({},typeof d==="string"?{"Content-Type":"application/json"}:{}),v(a)),v(n)),body:d},l))];case 1:h=u.sent();return[4,g(h)];case 2:y=u.sent();if(h.ok&&!y.errors&&y.data){m=h.headers,b=h.status;return[2,r(r({},y),{headers:m,status:b})]}else{E=typeof y==="string"?{error:y}:y;throw new fn.ClientError(r(r({},E),{status:h.status,headers:h.headers}),{query:e,variables:t})}}}))}))};e.prototype.request=function(e,t,n){return s(this,void 0,void 0,(function(){var i,a,o,s,l,d,h,y,m,b;return u(this,(function(u){switch(u.label){case 0:i=this.options,a=i.headers,o=i.fetch,s=o===void 0?f.default:o,l=c(i,["headers","fetch"]);d=E(e);h=p.default(d,t);return[4,s(this.url,r({method:"POST",headers:r(r(r({},typeof h==="string"?{"Content-Type":"application/json"}:{}),v(a)),v(n)),body:h},l))];case 1:y=u.sent();return[4,g(y)];case 2:m=u.sent();if(y.ok&&!m.errors&&m.data){return[2,m.data]}else{b=typeof m==="string"?{error:m}:m;throw new fn.ClientError(r(r({},b),{status:y.status}),{query:d,variables:t})}}}))}))};e.prototype.setHeaders=function(e){this.options.headers=e;return this};e.prototype.setHeader=function(e,t){var n;var r=this.options.headers;if(r){r[e]=t}else{this.options.headers=(n={},n[e]=t,n)}return this};return e}();t.GraphQLClient=y;function m(e,t,n){return s(this,void 0,void 0,(function(){var r;return u(this,(function(i){r=new y(e);return[2,r.rawRequest(t,n)]}))}))}t.rawRequest=m;function b(e,t,n){return s(this,void 0,void 0,(function(){var r;return u(this,(function(i){r=new y(e);return[2,r.request(t,n)]}))}))}t.request=b;t.default=b;function g(e){var t=e.headers.get("Content-Type");if(t&&t.startsWith("application/json")){return e.json()}else{return e.text()}}function E(e){if(typeof e==="string")return e;return En.print(e)}function w(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return e.reduce((function(e,n,r){return""+e+n+(r in t?t[r]:"")}),"")}t.gql=w;function _(e){var t={};e.forEach((function(e,n){t[n]=e}));return t}})));var Cn=t((function(e,t){var r=n&&n.__assign||function(){r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return r.apply(this,arguments)};var i=n&&n.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};Object.defineProperty(t,"__esModule",{value:true});t.renameVariables=t.renameVariablesAndTopLevelFields=t.renameVariablesAndTopLevelFieldsOnOpDef=t.renameSelectionSetArguments=t.renameVariableDefinition=t.renameDirectiveArguments=t.renameArgument=t.renameValue=t.defaultRenameFn=void 0;t.defaultRenameFn=function(e,t){return e+"_"+t};function a(e,t){if(e.kind==="Variable"){return r(r({},e),{name:r(r({},e.name),{value:t(e.name.value)})})}else if(e.kind==="ObjectValue"){return r(r({},e),{fields:e.fields.map((function(e){return r(r({},e),{value:a(e.value,t)})}))})}else if(e.kind==="ListValue"){return r(r({},e),{values:e.values.map((function(e){return a(e,t)}))})}return e}t.renameValue=a;function o(e,t){return r(r({},e),{value:a(e.value,t)})}t.renameArgument=o;function s(e,t){var n;return r(r({},e),{arguments:(n=e.arguments)===null||n===void 0?void 0:n.map((function(e){return o(e,t)}))})}t.renameDirectiveArguments=s;function u(e,t){var n;return r(r({},e),{variable:r(r({},e.variable),{name:r(r({},e.variable.name),{value:t(e.variable.name.value)})}),directives:(n=e.directives)===null||n===void 0?void 0:n.map((function(e){return s(e,t)}))})}t.renameVariableDefinition=u;function c(e,t){return r(r({},e),{selections:e.selections.map((function(e){var n,i,a;switch(e.kind){case"Field":return r(r({},e),{arguments:(n=e.arguments)===null||n===void 0?void 0:n.map((function(e){return o(e,t)})),selectionSet:e.selectionSet?c(e.selectionSet,t):undefined});case"FragmentSpread":return r(r({},e),{directives:(i=e.directives)===null||i===void 0?void 0:i.map((function(e){return s(e,t)}))});case"InlineFragment":return r(r({},e),{directives:(a=e.directives)===null||a===void 0?void 0:a.map((function(e){return s(e,t)})),selectionSet:c(e.selectionSet,t)})}}))})}t.renameSelectionSetArguments=c;function l(e,t,n){var i,a;return r(r({},e),{variableDefinitions:(i=e.variableDefinitions)===null||i===void 0?void 0:i.map((function(e){return u(e,t)})),directives:(a=e.directives)===null||a===void 0?void 0:a.map((function(e){return s(e,t)})),selectionSet:c(r(r({},e.selectionSet),{selections:e.selectionSet.selections.map((function(e){var t,i;switch(e.kind){case"Field":return r(r({},e),{alias:r(r({},e.name),{value:n((i=(t=e.alias)===null||t===void 0?void 0:t.value)!==null&&i!==void 0?i:e.name.value)})});default:return e}}))}),t)})}t.renameVariablesAndTopLevelFieldsOnOpDef=l;function f(e,t,n){return r(r({},e),{definitions:i(e.definitions.filter((function(e){return e.kind!=="OperationDefinition"})),e.definitions.filter((function(e){return e.kind==="OperationDefinition"})).map((function(e){return l(e,t,n)})))})}t.renameVariablesAndTopLevelFields=f;function d(e,t){return Object.keys(e).reduce((function(n,i){var a;return r(r({},n),(a={},a[t(i)]=e[i],a))}),{})}t.renameVariables=d}));var kn=t((function(e,t){var r=n&&n.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(t.hasOwnProperty(n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var i=n&&n.__assign||function(){i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return i.apply(this,arguments)};var a=n&&n.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};Object.defineProperty(t,"__esModule",{value:true});var o={kind:"Document",definitions:[]};var s=function(e){r(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);var u=function(){function e(e,t,n){this.operationName=e;this.document=t;this.variables=n}e.prototype.add=function(t,n){var r=this;var o=this.document.definitions.concat(t.definitions).filter((function(e){return e.kind==="OperationDefinition"}));if(!o.length){throw new s("Expected at least one OperationDefinition, but found none.")}o.forEach((function(e){var t,n;var r=o.filter((function(t){return t!==e}));r.forEach((function(t){var n,r;if(t.operation!==e.operation){throw new s("expected all operations to be of the smae type, but "+((n=t.name)===null||n===void 0?void 0:n.value)+" is "+t.operation+" and "+((r=e.name)===null||r===void 0?void 0:r.value)+" is "+e.operation)}}));(t=e.selectionSet.selections)===null||t===void 0?void 0:t.filter((function(e){return e.kind==="Field"})).forEach((function(t){r.forEach((function(n){var r;return(r=n.selectionSet.selections)===null||r===void 0?void 0:r.filter((function(e){return e.kind==="Field"})).forEach((function(r){var i,a,o,u;if((((i=t.alias)===null||i===void 0?void 0:i.value)||t.name.value)===(((a=r.alias)===null||a===void 0?void 0:a.value)||r.name.value)){throw new s("duplicate field definition "+r.name.value+" for oprations "+((o=e.name)===null||o===void 0?void 0:o.value)+" and "+((u=n.name)===null||u===void 0?void 0:u.value))}}))}))}));(n=e.variableDefinitions)===null||n===void 0?void 0:n.forEach((function(t){r.forEach((function(n){var r;return(r=n.variableDefinitions)===null||r===void 0?void 0:r.forEach((function(r){var i,a;if(t.variable.name.value===r.variable.name.value){throw new s("duplicate variable definition "+r.variable.name.value+" for oprations "+((i=e.name)===null||i===void 0?void 0:i.value)+" and "+((a=n.name)===null||a===void 0?void 0:a.value))}}))}))}))}));var u=function(){if(r.variables&&n){return i(i({},r.variables),n)}return n||r.variables}();var c=[{kind:"OperationDefinition",directives:o.flatMap((function(e){return e.directives||[]})),name:{kind:"Name",value:this.operationName},operation:o[0].operation,selectionSet:{kind:"SelectionSet",selections:o.flatMap((function(e){return e.selectionSet.selections}))},variableDefinitions:o.flatMap((function(e){return e.variableDefinitions||[]}))}];var l=new Set;var f=this.document.definitions.concat(t.definitions);for(var d=0,p=f;d<p.length;d++){var h=p[d];if(h.kind==="OperationDefinition"){continue}if(h.kind==="FragmentDefinition"){if(l.has(h.name.value)){continue}l.add(h.name.value)}c=a([h],c)}var v={kind:"Document",definitions:c};return new e(this.operationName,v,u)};e.prototype.addN=function(e,t,n,r){if(n===void 0){n=Cn.defaultRenameFn}if(r===void 0){r=Cn.defaultRenameFn}if(!t.length){return this}return t.reduce((function(t,i,a){var o=Cn.renameVariablesAndTopLevelFields(e,(function(e){return n(e,a)}),(function(e){return r(e,a)}));var s=Cn.renameVariables(i,(function(e){return n(e,a)}));return t.add(o,s)}),this)};return e}();function c(e){return{operationName:e,add:function(e,t){return new u(this.operationName,e,t)},addN:function(e,t,n,r){return new u(this.operationName,o).addN(e,t,n,r)}}}t.default=c}));var Fn=r(kn);var Pn,jn=Pn||(Pn={});jn.Pop="POP";jn.Push="PUSH";jn.Replace="REPLACE";var Rn=function(e){return e};function Mn(e){e.preventDefault();e.returnValue=""}function Ln(){var e=[];return{get length(){return e.length},push:function(t){e.push(t);return function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Vn(){return Math.random().toString(36).substr(2,8)}function Bn(e){var t=e.pathname,n=e.search;e=e.hash;return(void 0===t?"/":t)+(void 0===n?"":n)+(void 0===e?"":e)}function Un(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n));n=e.indexOf("?");0<=n&&(t.search=e.substr(n),e=e.substr(0,n));e&&(t.pathname=e)}return t}function qn(e){function t(){var e=c.location,t=l.state||{};return[t.idx,Rn({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"===typeof e?e:Bn(e)}function r(e,t){void 0===t&&(t=null);return Rn(i({pathname:h.pathname,hash:"",search:""},"string"===typeof e?Un(e):e,{state:t,key:Vn()}))}function a(e){d=e;e=t();p=e[0];h=e[1];v.call({action:d,location:h})}function o(e,t){function i(){o(e,t)}var s=Pn.Push,u=r(e,t);if(!y.length||(y.call({action:s,location:u,retry:i}),!1)){var f=[{usr:u.state,key:u.key,idx:p+1},n(u)];u=f[0];f=f[1];try{l.pushState(u,"",f)}catch(e){c.location.assign(f)}a(s)}}function s(e,t){function i(){s(e,t)}var o=Pn.Replace,u=r(e,t);y.length&&(y.call({action:o,location:u,retry:i}),1)||(u=[{usr:u.state,key:u.key,idx:p},n(u)],l.replaceState(u[0],"",u[1]),a(o))}function u(e){l.go(e)}void 0===e&&(e={});e=e.window;var c=void 0===e?document.defaultView:e,l=c.history,f=null;c.addEventListener("popstate",(function(){if(f)y.call(f),f=null;else{var e=Pn.Pop,n=t(),r=n[0];n=n[1];if(y.length)if(null!=r){var i=p-r;i&&(f={action:e,location:n,retry:function(){u(-1*i)}},u(i))}else;else a(e)}}));var d=Pn.Pop;e=t();var p=e[0],h=e[1],v=Ln(),y=Ln();null==p&&(p=0,l.replaceState(i({},l.state,{idx:p}),""));return{get action(){return d},get location(){return h},createHref:n,push:o,replace:s,go:u,back:function(){u(-1)},forward:function(){u(1)},listen:function(e){return v.push(e)},block:function(e){var t=y.push(e);1===y.length&&c.addEventListener("beforeunload",Mn);return function(){t();y.length||c.removeEventListener("beforeunload",Mn)}}}}function Kn(e){function t(e,t){void 0===t&&(t=null);return Rn(i({pathname:d.pathname,search:"",hash:""},"string"===typeof e?Un(e):e,{state:t,key:Vn()}))}function n(e,t,n){return!h.length||(h.call({action:e,location:t,retry:n}),!1)}function r(e,t){f=e;d=t;p.call({action:f,location:d})}function a(e,i){var o=Pn.Push,s=t(e,i);n(o,s,(function(){a(e,i)}))&&(l+=1,c.splice(l,c.length,s),r(o,s))}function o(e,i){var a=Pn.Replace,s=t(e,i);n(a,s,(function(){o(e,i)}))&&(c[l]=s,r(a,s))}function s(e){var t=Math.min(Math.max(l+e,0),c.length-1),i=Pn.Pop,a=c[t];n(i,a,(function(){s(e)}))&&(l=t,r(i,a))}void 0===e&&(e={});var u=e;e=u.initialEntries;u=u.initialIndex;var c=(void 0===e?["/"]:e).map((function(e){var t=Rn(i({pathname:"/",search:"",hash:"",state:null,key:Vn()},"string"===typeof e?Un(e):e));return t})),l=Math.min(Math.max(null==u?c.length-1:u,0),c.length-1),f=Pn.Pop,d=c[l],p=Ln(),h=Ln();return{get index(){return l},get action(){return f},get location(){return d},createHref:function(e){return"string"===typeof e?e:Bn(e)},push:a,replace:o,go:s,back:function(){s(-1)},forward:function(){s(1)},listen:function(e){return p.push(e)},block:function(e){return h.push(e)}}}var Hn={current:void 0};function Jn(){if(void 0===Hn.current)throw new Error("no implementation of useHost provided");return Hn.current()}function Gn(e){if(!e)throw new Error("Must supply an implementation");if("function"!=typeof e)throw new Error("implementation must be a function");Hn.current=e}function $n(){var e;window.squatchProgramId||(window.squatchProgramId=new c({element:document.documentElement,initialState:(null==(e=window.widgetIdent)?void 0:e.programId)||void 0,contextName:"sq:program-id"}).start())}function Yn(){$n();var e=Jn();return s(e,"sq:program-id")}function zn(e){$n(),window.squatchProgramId.context=e}function Qn(){var e,t;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&&"demo"!==(null==(e=window.widgetIdent)?void 0:e.env)?{type:"SquatchJS2",api:null==(t=window.frameElement)?void 0:t.squatchJsApi,widgetIdent:window.widgetIdent}:{type:"None"}}function Wn(){var e=Qn();return"None"===e.type||"SquatchAdmin"===e.type}function Xn(){var e=Qn();switch(e.type){case"SquatchAndroid":case"SquatchJS2":return e.widgetIdent.tenantAlias;case"SquatchAdmin":case"None":return"demo";case"SquatchPortal":return e.env.tenantAlias}}function Zn(){var e,t=Qn();switch(t.type){case"SquatchAndroid":case"SquatchJS2":return t.widgetIdent.appDomain;case"SquatchPortal":return(null==(e=t.env)?void 0:e.appDomain)||"https://app.referralsaasquatch.com";case"SquatchAdmin":case"None":return"https://app.referralsaasquatch.com"}}function er(){var e=Qn();switch(e.type){case"SquatchJS2":return e.widgetIdent.engagementMedium||"EMBED";case"SquatchAndroid":case"SquatchPortal":case"SquatchAdmin":case"None":return"EMBED"}}function tr(){return(t=null==(e=navigator.language)?void 0:e.split("-"))&&1!==t.length?t[0]+"_"+t[1].toUpperCase():e;var e,t}function nr(){return(nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function rr(e,t){return(rr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ir(e,t){return t||(t=e.slice(0)),e.raw=t,e}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function or(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ar(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function sr(){window.squatchUserIdentity||(window.squatchUserIdentity=new c({element:document.documentElement,initialState:cr(),contextName:"sq:user-identity"}).start())}function ur(e){if(e)try{var t,n,r=y(e),i=r.exp;if(function(e){return e.sub&&/.*:.*@.*:users/.test(e.sub)}(r)){var a=r.sub.match(/(.*):(.*)@(.*):users/);n=atob(a[1]),t=atob(a[2])}else(function(e){return e.user&&e.user.id&&e.user.accountId})(r)&&(n=r.user.accountId,t=r.user.id);if(!t||!n)return;if(i&&Date.now()>=1e3*i)return;return{id:t,accountId:n,jwt:e}}catch(e){return}}function cr(){var e=Qn();switch(e.type){case"SquatchAndroid":case"SquatchJS2":return{id:e.widgetIdent.userId,accountId:e.widgetIdent.accountId,jwt:e.widgetIdent.token};case"SquatchPortal":var t=new URLSearchParams(document.location.search);if(t.has("jwt"))return ur(t.get("jwt"));var n=localStorage.getItem("sq:user-identity");if(!n)return;try{var r=JSON.parse(n),i=ur(r.jwt);return i?nr({},r,i):void 0}catch(e){return}case"SquatchAdmin":case"None":return}}function lr(e){sr();var t=window.squatchUserIdentity;_(t.context,e)||(t.context=e),e&&"SquatchPortal"===Qn().type?localStorage.setItem("sq:user-identity",JSON.stringify(e)):localStorage.removeItem("sq:user-identity")}function fr(){var e;return null==(e=dr())?void 0:e.jwt}function dr(){sr();var e=Jn(),t=s(e,"sq:user-identity");if(ur(null==t?void 0:t.jwt))return t;lr(void 0)}var pr=function(){return(pr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},hr=new Map,vr=new Map,yr=!0,mr=!1;function br(e){return e.replace(/[\s,]+/g," ").trim()}function gr(e){var t,n,r,i=br(e);if(!hr.has(i)){var a=He(e,{experimentalFragmentVariables:mr});if(!a||"Document"!==a.kind)throw new Error("Not a valid GraphQL document.");hr.set(i,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}((t=a,n=new Set,r=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,i=br((o=e.loc).source.body.substring(o.start,o.end)),a=vr.get(t);a&&!a.has(i)?yr&&console.warn("Warning: fragment with name "+t+" 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"):a||vr.set(t,a=new Set),a.add(i),n.has(i)||(n.add(i),r.push(e))}else r.push(e);var o})),pr(pr({},t),{definitions:r}))))}return hr.get(i)}function Er(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){r+=t&&"Document"===t.kind?t.loc.source.body:t,r+=e[n+1]})),gr(r)}var wr,_r=Er;(wr=Er||(Er={})).gql=_r,wr.resetCaches=function(){hr.clear(),vr.clear()},wr.disableFragmentWarnings=function(){yr=!1},wr.enableExperimentalFragmentVariables=function(){mr=!0},wr.disableExperimentalFragmentVariables=function(){mr=!1},Er.default=Er;var Tr=Er;function Or(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}var Sr=function(e){var t,n;function r(t,n){var r;(r=e.call(this,t,n)||this).subject=new $t;var i=new $t;return r.subject.pipe(nn(200,void 0,10)).subscribe((function(e){try{if(!e.length)return Promise.resolve();for(var t,n=Nr(e),a=n.mergedQuery,o=n.mergedVariables,s=n.mergedQueryAddedEvents,u=or(n.unmergedQueryAddedEvents);!(t=u()).done;)i.next(t.value);return s.length?Promise.resolve(Or((function(){return Promise.resolve(r.superRequest(a,o)).then((function(e){kr(e,s)}))}),(function(e){if(e instanceof fn.ClientError){var t=function(){var t=e.response,n=t.data,r=t.errors;if(!n)return{v:Pr(s,e)};for(var i,a=Object.keys(n),o=[].concat(s),u=function(){var t=i.value,n=void 0;t.path.find((function(r,i,s){if(a.includes(r)){var u=Ar(r),c=o.findIndex((function(e){return e.id===u}));if(-1===c)return!1;a.splice(i,1),n=o.splice(c,1)[0];var l=Dr(e.response.data,n);s[i]=xr(s[i],u);var f=n.query,d=n.variables,p=nr({},e.response,{errors:[t],data:l,path:s}),h=new fn.ClientError(p,{query:"string"!=typeof f?Xe(f):f,variables:d});return Fr(n,h),!0}return!1}))},c=or(r);!(i=c()).done;)u();kr(n,o)}();if("object"==typeof t)return t.v}else Pr(s,e)}))):Promise.resolve()}catch(e){return Promise.reject(e)}})),i.subscribe((function(e){try{var t=Or((function(){return Promise.resolve(r.superRequest(e.query,e.variables)).then((function(t){Cr(t,e)}))}),(function(t){Fr(e,t)}));return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,rr(t,n);var i=r.prototype;return i.superRequest=function(t,n){return e.prototype.request.call(this,t,n)},i.request=function(e,t){var n=this;return new Promise((function(r,i){var a={query:e,variables:t,id:Ir(),resolve:r,reject:i};n.subject.next(a)}))},r}(Dn.GraphQLClient),Ir=function(){return ln().replace(/[-_]/g,"")},xr=function(e,t){return e.replace("_"+t,"")},Ar=function(e){var t=e.split("_");return t[t.length-1]},Nr=function(e){var t=[],n=[],r=e.reduce((function(e,r){var i=r.query,a=r.variables,o=r.id;try{var s="string"==typeof i?He(i):i,u=s.definitions.find((function(e){return"FragmentDefinition"===e.kind})),c="string"==typeof i?i:Xe(i),l=/@/.test(c);if(u||l)return n.push(r),e;var f=function(e){return function(e,t){return e+"_"+t}(e,o)};return e=e.addN(s,[a],f,f),t.push(r),e}catch(t){return n.push(r),e}}),Fn("BatchedQuery")),i=r.document,a=r.variables;return{mergedQuery:i&&Xe(i),mergedVariables:a,mergedQueryAddedEvents:t,unmergedQueryAddedEvents:n}},Dr=function(e,t){if(!e)return e;var n=Object.keys(e),r=t.id;return n.reduce((function(t,n){var i;return n.endsWith(r)&&(t=nr({},t,((i={})[xr(n,r)]=e[n],i))),t}),{})},Cr=function(e,t){(0,t.resolve)(e)},kr=function(e,t){for(var n,r=or(t);!(n=r()).done;){var i=n.value,a=Dr(e,i);i.resolve(a)}},Fr=function(e,t){(0,e.reject)(t)},Pr=function(e,t){for(var n,r=or(e);!(n=r()).done;)(0,n.value.reject)(t)},jr=e("h","sq:graphql-client"),Rr=e("g",gt((function(e,t,n){return new Sr(e+"/api/v1/"+t+"/graphql",{headers:{Authorization:"Bearer "+(n||"")}})})));function Mr(e,t){switch(t.type){case"loading":return{data:void 0,errors:void 0,loading:!0};case"data":return{data:t.payload,errors:void 0,loading:!1};case"errors":return{data:void 0,errors:t.payload,loading:!1}}}function Lr(e,t){var n,r,i,o,u,c,l=(n=fr(),r=Zn(),i=Xn(),o=Rr(r,i,n),u=Jn(),null!=(c=s(u,"sq:graphql-client",{attempts:0}))?c:o),d=a(Mr,t),p=d[1];return[d[0],f((function(t){try{if(!l)return p({type:"errors",payload:new Error("No GraphQL client found")}),Promise.resolve();var n=function(n,r){try{var i=(p({type:"loading"}),Promise.resolve(l.request(e,t)).then((function(e){p({type:"data",payload:e})})))}catch(e){return r(e)}return i&&i.then?i.then(void 0,r):i}(0,(function(e){p({type:"errors",payload:e})}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(t){return Promise.reject(t)}}),[l,e,p])]}var Vr,Br={loading:!1,data:void 0,errors:void 0};function Ur(e){var t=Lr(e,Br);return[t[1],t[0]]}var qr,Kr=Tr(Vr||(Vr=ir(["\n mutation AuthenticateWithEmailAndPassword(\n $email: String!\n $password: String!\n ) {\n authenticateManagedIdentityWithEmailAndPassword(\n authenticateManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function Hr(){var e=Ur(Kr),t=e[0],n=e[1],r=n.loading,i=n.data,a=n.errors;return o((function(){if(null!=i&&i.authenticateManagedIdentityWithEmailAndPassword){var e=i.authenticateManagedIdentityWithEmailAndPassword,t=e.token,n=y(t).user;lr({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}})}}),[null==i?void 0:i.authenticateManagedIdentityWithEmailAndPassword]),[t,{loading:r,data:i,errors:a}]}var Jr,Gr=Tr(qr||(qr=ir(["\n mutation RegisterWithEmailAndPassword(\n $email: String!\n $password: String!\n $formData: RSJsonNode\n ) {\n registerManagedIdentityWithEmailAndPassword(\n registerManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n formData: $formData\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function $r(){var e=Ur(Gr),t=e[0],n=e[1],r=n.loading,i=n.data,a=n.errors;return o((function(){if(null!=i&&i.registerManagedIdentityWithEmailAndPassword){var e=i.registerManagedIdentityWithEmailAndPassword,t=e.token,n=y(t).user;lr({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}})}}),[null==i?void 0:i.registerManagedIdentityWithEmailAndPassword]),[t,{loading:r,data:i,errors:a}]}var Yr,zr=Tr(Jr||(Jr=ir(["\n mutation ChangePassword($password: String!) {\n changeManagedIdentityPassword(\n changeManagedIdentityPasswordInput: { password: $password }\n ) {\n success\n }\n }\n"])));function Qr(){var e=Ur(zr),t=e[1];return[e[0],{loading:t.loading,data:t.data,errors:t.errors}]}var Wr,Xr=Tr(Yr||(Yr=ir(["\n mutation ResetPassword($oobCode: String!, $password: String!) {\n resetManagedIdentityPassword(\n resetManagedIdentityPasswordInput: {\n password: $password\n oobCode: $oobCode\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function Zr(){var e=Ur(Xr),t=e[0],n=e[1],r=n.loading,i=n.data,a=n.errors;return o((function(){if(null!=i&&i.resetManagedIdentityPassword){var e=i.resetManagedIdentityPassword,t=e.token,n=y(t).user;lr({jwt:t,id:n.id,accountId:n.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}})}}),[null==i?void 0:i.resetManagedIdentityPassword]),[t,{loading:r,data:i,errors:a}]}var ei=Tr(Wr||(Wr=ir(["\n mutation VerifyPasswordResetCode($oobCode: String!) {\n verifyManagedIdentityPasswordResetCode(\n verifyManagedIdentityPasswordResetCodeInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function ti(){return Ur(ei)}var ni,ri={loading:!1,data:void 0,errors:void 0};function ii(e){var t=Lr(e,ri),n=t[1];return[n,nr({},t[0],{refetch:function(e){return n(e)}})]}var ai,oi=Tr(ni||(ni=ir(["\n query ManagedIdentity {\n managedIdentity {\n email\n emailVerified\n sessionData\n }\n }\n"])));function si(){var e=dr(),t=ii(oi),n=t[0],r=t[1],i=r.loading,a=r.data,s=r.errors,u=r.refetch;return o((function(){null!=a&&a.managedIdentity&&lr(nr({},e,{managedIdentity:a.managedIdentity}))}),[null==a?void 0:a.managedIdentity]),[f((function(){return n({})}),[n]),{loading:i,data:a,errors:s,refetch:u}]}var ui,ci=Tr(ai||(ai=ir(["\n mutation VerifyEmail($oobCode: String!) {\n verifyManagedIdentityEmail(\n verifyManagedIdentityEmailInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function li(){var e,t=si()[0],n=Ur(ci),r=n[0],i=n[1],a=i.loading,s=i.data,u=i.errors;return o((function(){var e;null!=s&&null!=(e=s.verifyManagedIdentityEmail)&&e.success&&t()}),[null==s||null==(e=s.verifyManagedIdentityEmail)?void 0:e.success]),[r,{loading:a,data:s,errors:u}]}var fi,di=Tr(ui||(ui=ir(["\n mutation RequestPasswordResetEmail($email: String!, $urlParams: RSJsonNode) {\n requestManagedIdentityPasswordResetEmail(\n requestManagedIdentityPasswordResetEmailInput: {\n email: $email\n urlParams: $urlParams\n }\n ) {\n success\n }\n }\n"])));function pi(){return Ur(di)}var hi=Tr(fi||(fi=ir(["\n mutation RequestVerificationEmail($email: String!, $urlParams: RSJsonNode) {\n requestManagedIdentityVerificationEmail(\n requestManagedIdentityVerificationEmailInput: {\n email: $email\n urlParams: $urlParams\n }\n ) {\n success\n }\n }\n"])));function vi(){return Ur(hi)}function yi(e,t){var n=u();return n.current&&_(t,n.current.key)||(n.current={key:t,value:e()}),n.current.value}function mi(){return a((function(e){return e+1}),0)}function bi(e){for(var t,n=or(Object.getOwnPropertyNames(e));!(t=n()).done;){var r=e[t.value];r&&"object"==typeof r&&bi(r)}return Object.freeze(e)}var gi={loading:!0,data:void 0,errors:void 0};function Ei(e,t,n){var r=Lr(e,gi),i=r[0],a=r[1],o=mi(),s=o[1];return yi((function(){!n&&a(t)}),[e,t,a,o[0],n]),bi(nr({},i,{refetch:s}))}function wi(){return window.squatchHistory=window.squatchHistory||function(){switch(Qn().type){case"SquatchPortal":return qn();default:return Kn()}}(),window.squatchHistory}var _i,Ti=e("r",{createHref:function(){var e;return(e=wi()).createHref.apply(e,[].slice.call(arguments))},push:function(){var e;return(e=wi()).push.apply(e,[].slice.call(arguments))},replace:function(){var e;return(e=wi()).replace.apply(e,[].slice.call(arguments))},go:function(){var e;return(e=wi()).go.apply(e,[].slice.call(arguments))},back:function(){return wi().back()},forward:function(){var e;return(e=wi()).forward.apply(e,[].slice.call(arguments))}});function Oi(){var e=mi()[1];return o((function(){return wi().listen((function(){e()}))}),[]),wi().location}function Si(e){var t=l({limit:e.limit,offset:e.offset}),n=t[0],r=t[1],i=n.offset,a=n.limit,o=function(e,t){return e*t},s=function(e,t){return Math.ceil(e/t)||0};return{limit:a,setLimit:function(e){var t=s(i,e),a=o(e,t);r(nr({},n,{limit:e,offset:a}))},offset:i,setCurrentPage:function(e){var t=o(e,a);r((function(e){return nr({},e,{offset:t})}))},calculatePagination:function(e,t){var n=s(i,a),r=function(e,t){return Math.ceil(e/t)||0}(t,a),o=0===e?"0":e>1?i+1+"-"+(i+e):""+(i+1);return{currentPage:n,pageCount:r,rangeOnPage:o,pageProgress:o+" of "+t}}}}function Ii(e,t,n,r,i){var a;void 0===r&&(r={}),void 0===i&&(i=!1);var o=Si(n),s=o.limit,u=o.setLimit,c=o.setCurrentPage,l=o.calculatePagination,f=Ei(e,nr({limit:s,offset:o.offset},r),i),d=f.loading,p=f.errors,h=f.refetch,v=t(f.data),y=l((null==v||null==(a=v.data)?void 0:a.length)||0,(null==v?void 0:v.totalCount)||0);return{envelope:v,states:{errors:p,loading:d,limit:s,currentPage:y.currentPage,pageCount:y.pageCount,pageProgress:y.pageProgress},callbacks:{refetch:h,setLimit:u,setCurrentPage:c}}}var xi=Dn.gql(_i||(_i=ir(["\n mutation ($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"])));var Ai=1e3,Ni=60*Ai,Di=60*Ni,Ci=24*Di,ki=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*Ci;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Di;case"minutes":case"minute":case"mins":case"min":case"m":return n*Ni;case"seconds":case"second":case"secs":case"sec":case"s":return n*Ai;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=Ci?Fi(e,t,Ci,"day"):t>=Di?Fi(e,t,Di,"hour"):t>=Ni?Fi(e,t,Ni,"minute"):t>=Ai?Fi(e,t,Ai,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=Ci?Math.round(e/Ci)+"d":t>=Di?Math.round(e/Di)+"h":t>=Ni?Math.round(e/Ni)+"m":t>=Ai?Math.round(e/Ai)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Fi(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}var Pi,ji,Ri,Mi,Li=(function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=function(){var e=!1;return function(){e||(e=!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||function(){},e.exports=function(e){function t(e){var r,i=null;function a(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}if(!a.enabled)return;var i=a,o=Number(new Date);i.diff=o-(r||o),i.prev=r,i.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return"%";s++;var a=t.formatters[r];return"function"==typeof a&&(n=a.call(i,e[s]),e.splice(s,1),s--),n})),t.formatArgs.call(i,e),(i.log||t.log).apply(i,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:function(){return null===i?t.enabled(e):i},set:function(e){i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){var r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){var e=__spreadArrays(t.names.map(r),t.skips.map(r).map((function(e){return"-"+e}))).join(",");return t.enable(""),e},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=ki,t.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(e).forEach((function(n){t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){var n=0;for(var r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}(t);var n=e.exports.formatters;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Pi={exports:{}},Pi.exports),Pi.exports)("sq:useForm"),Vi=Dn.gql(ji||(ji=ir(["\n query ($key: String!) {\n form(key: $key) {\n schema\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]))),Bi=Dn.gql(Ri||(Ri=ir(["\n mutation ($formSubmissionInput: FormSubmissionInput!) {\n submitForm(formSubmissionInput: $formSubmissionInput) {\n success\n results {\n ... on FormHandlerSubmissionResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"]))),Ui=Dn.gql(Mi||(Mi=ir(["\n query ($formValidationInput: FormValidationInput!) {\n validateForm(formValidationInput: $formValidationInput) {\n valid\n results {\n ... on FormHandlerValidationResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"])))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-015b683f.system.js","./p-
|
|
1
|
+
System.register(["./p-015b683f.system.js","./p-3b97aed8.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.e},function(e){n=e.P;r=e.Z}],execute:function(){e({a:s,u:i});var u="sqm:request-rerender";function s(e){var r=n();t((function(){r.dispatchEvent(new CustomEvent(u,{detail:true,bubbles:true,composed:true}))}),e)}function i(){var e=n();var s=r(),i=s[0],o=s[1];t((function(){var t=function(e){e.stopPropagation();o()};e.addEventListener(u,t);return function(){e.removeEventListener(u,t)}}),[]);return i}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t,c as r}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-
|
|
1
|
+
import{r as s,h as t,c as r}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-a2c3cff3.js";import{a}from"./p-224504ad.js";const n=class{constructor(t){s(this,t),this.columnTitle="Status",this.convertedStatusText="Converted",this.inProgressStatusText="In Progress",e(this)}disconnectedCallback(){}async renderCell(s){return t("sqm-referral-table-status-cell",{"status-text":s.dateConverted?this.convertedStatusText:this.inProgressStatusText,converted:!!s.dateConverted})}async renderLabel(){return this.columnTitle}render(){return a([this.columnTitle]),t(r,{style:{display:"none"}})}};export{n as sqm_referral_table_status_column}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.e;a=e.m},function(){},function(e){o=e.T;s=e.c;c=e.r;u=e.j}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var a;var u=o();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(a=u===null||u===void 0?void 0:u.managedIdentity)===null||a===void 0?void 0:a.emailVerified;var l=s(),p=l.pathname,v=l.search;var h=new URLSearchParams;h.append("nextPage",""+p+v);n((function(){if(!f){return c.push({pathname:r,search:"?"+h.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+h.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,a=1,s=arguments.length;a<s;a++){e=arguments[a];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-4bd679a7.system.js","./p-cdeae699.system.js"],(function(t){"use strict";var e,a,s,n,i,r,o,l;return{setters:[function(t){e=t.r;a=t.h},function(t){s=t.m},function(){},function(t){n=t.j},function(t){i=t.c},function(t){r=t.w;o=t.u;l=t.L}],execute:function(){var d=":host{display:block}:host([hidden]){display:none}table{width:100%}th{font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-semibold);text-align:left}td{font-size:var(--sl-font-size-medium);font-weight:var(--sl-font-weight-normal)}td,th{color:var(--sl-color-gray-800);padding:var(--sl-spacing-x-small) var(--sl-spacing-small)}.User{width:100%}.Score{width:auto;white-space:nowrap}";var u=t("sqm_leaderboard",function(){function t(t){e(this,t);this.ignored=true;s(this);r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t={empty:a("slot",{name:"empty"}),loadingstate:a("slot",{name:"loading"}),usersheading:this.usersheading,statsheading:this.statsheading,rankType:this.rankType,leaderboardType:this.leaderboardType,interval:this.interval};var e=__assign(__assign({},t),{demoData:this.demoData});var s=n()?h(e):o(t);return a(l,Object.assign({},s))};return t}());function h(t){return i({states:{loading:false,hasLeaders:true,styles:{usersheading:t.usersheading?t.usersheading:"TOP REFERRERS",statsheading:t.statsheading?t.statsheading:"NEW TITANS"}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1},{firstName:"MF",lastInitial:"D",value:73,rank:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5}]},elements:{empty:t.empty?t.empty:a("div",null,"Empty"),loadingstate:t.loadingstate?t.loadingstate:a("div",null,"Loading")}},t.demoProps||{},{arrayMerge:function(t,e){return e}})}u.style=d}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-b608f7a4.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-e7f633b9.system.js"],(function(t){"use strict";var e,s,n,i,r;return{setters:[function(t){e=t.r;s=t.h},function(t){n=t.m},function(){},function(){},function(){},function(){},function(t){i=t.g},function(t){r=t.a}],execute:function(){var o=t("sqm_portal_footer",function(){function t(t){e(this,t);this.ignored=true;this.supportEmail="support@example.com";this.supportText="For program support, contact {email}";this.showPoweredBy=true;this.poweredByLink="https://saasquatch.com";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return s(r,Object.assign({},i(this)))};Object.defineProperty(t,"assetsDirs",{get:function(){return["../../assets"]},enumerable:false,configurable:true});return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,c as e}from"./p-64c3217a.js";import{m as a}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-
|
|
1
|
+
import{r,h as s,c as e}from"./p-64c3217a.js";import{m as a}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-a2c3cff3.js";import{a as t}from"./p-224504ad.js";const c=class{constructor(s){r(this,s),this.columnTitle="Rewards",this.hideDetails=!1,a(this)}disconnectedCallback(){}async renderCell(r){return s("sqm-referral-table-rewards-cell",{rewards:r.rewards,hideDetails:this.hideDetails})}async renderLabel(){return this.columnTitle}render(){return t([this.columnTitle]),s(e,{style:{display:"none"}})}};export{c as sqm_referral_table_rewards_column}
|