@saasquatch/mint-components 1.15.0-14 → 1.15.0-141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
- package/dist/cjs/IndirectTaxDetailsView-eb39e4e0.js +646 -0
- package/dist/cjs/{ShadowViewAddon-d2ed86e8.js → ShadowViewAddon-8c344799.js} +1606 -1408
- package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-fdc30546.js} +23 -12
- package/dist/cjs/data-d4339c2e.js +137 -0
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
- package/dist/cjs/{global-19fe8600.js → global-271f7a23.js} +11953 -11717
- package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
- package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +886 -2423
- package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
- package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_44.cjs.entry.js} +1197 -245
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
- package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
- package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
- package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
- package/dist/cjs/sqm-empty_4.cjs.entry.js +9 -15
- package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar-item-view-4e88f774.js +56 -0
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +28 -18
- package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
- package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-9f7b86a9.js → sqm-portal-email-verification-view-b2cc45a4.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-e77710f0.js → sqm-portal-profile-view-ebf2e814.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
- package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +21 -67
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13719 -12490
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
- package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +25 -13
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
- package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
- package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/cjs/utils-c8a94902.js +105 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +169 -4
- package/dist/collection/components/sqm-big-stat/useBigStat.js +127 -8
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +14 -5
- package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +2 -2
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +61 -4
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +5 -5
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +16 -8
- package/dist/collection/components/sqm-hero/sqm-hero.js +39 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +5 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +3 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +9 -5
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +5 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +5 -5
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +6 -4
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +7 -13
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +4 -4
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +32 -6
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +45 -49
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +81 -35
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +22 -101
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +12 -24
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +5 -5
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +13 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +6 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +80 -100
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +23 -26
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
- package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -7
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +45 -8
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +58 -62
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +60 -63
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +284 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -93
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +50 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -54
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +21 -10
- package/dist/collection/components/views/email-registration-view.js +3 -1
- package/dist/collection/global/global.js +27 -12
- package/dist/collection/global/mixins.js +6 -6
- package/dist/collection/global/styles.js +322 -133
- package/dist/collection/global/styles.ts +425 -134
- package/dist/collection/insertfont.js +18 -0
- package/dist/collection/stories/PortalTemplates.stories.js +22 -30
- package/dist/collection/tables/GenericTableView.js +4 -4
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
- package/dist/esm/IndirectTaxDetailsView-ef887dae.js +639 -0
- package/dist/esm/{ShadowViewAddon-3651cb42.js → ShadowViewAddon-5f084b5a.js} +1603 -1405
- package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-47cbf0e4.js} +23 -12
- package/dist/esm/data-dea73d4d.js +121 -0
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
- package/dist/esm/{global-9d6f3bbe.js → global-03bc4bb2.js} +11864 -11629
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-c9811a48.js} +154 -154
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-7e22fb0d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +734 -2264
- package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
- package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_44.entry.js} +1108 -159
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-code-verification.entry.js +348 -0
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +145 -21
- package/dist/esm/sqm-empty_4.entry.js +6 -12
- package/dist/esm/sqm-form-message.entry.js +7 -7
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar-item-view-5a452423.js +54 -0
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
- package/dist/esm/sqm-pagination_3.entry.js +22 -12
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-14f1c22c.js → sqm-portal-email-verification-view-2698d50e.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-0c3c35c6.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
- package/dist/esm/sqm-qr-code.entry.js +6 -7
- package/dist/esm/sqm-referral-table_11.entry.js +122 -33
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +20 -66
- package/dist/esm/sqm-stencilbook.entry.js +10918 -9689
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +24 -10
- package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
- package/dist/esm/sqm-widget-verification.entry.js +22 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-3d872cef.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-e95df3c3.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-c2e809cf.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-909ccb28.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-24d594ea.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-55e0e98f.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-72c07b09.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-f37fadf4.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-ef887dae.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-5f084b5a.js +1 -0
- package/dist/esm-es5/copy-text-view-47cbf0e4.js +1 -0
- package/dist/esm-es5/data-dea73d4d.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
- package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
- package/dist/esm-es5/{global-9d6f3bbe.js → global-03bc4bb2.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-c9811a48.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-7e22fb0d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_44.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-5a452423.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-14f1c22c.js → sqm-portal-email-verification-view-2698d50e.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-0c3c35c6.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-3d872cef.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-dda1f52b.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +2 -2
- package/dist/esm-es5/usePortalLogin-e95df3c3.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-1eb3cd72.js +1 -0
- package/dist/esm-es5/useReferralCodes-c2e809cf.js +1 -0
- package/dist/esm-es5/useReferralTable-909ccb28.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-24d594ea.js +1 -0
- package/dist/esm-es5/useVerificationEmail-55e0e98f.js +1 -0
- package/dist/esm-es5/utilities-72c07b09.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-f37fadf4.js +1 -0
- package/dist/mint-components/global/styles.ts +425 -134
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-0087ad39.system.js +1 -0
- package/dist/mint-components/p-0467e099.entry.js +1 -0
- package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
- package/dist/mint-components/p-08b7ea6d.system.js +1 -0
- package/dist/mint-components/p-0935f9b7.system.js +1 -0
- package/dist/mint-components/p-0c5345e8.system.js +1 -0
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/p-0ec54f97.js +1 -0
- package/dist/mint-components/p-10c63703.entry.js +1 -0
- package/dist/mint-components/{p-642b0650.system.js → p-114fa6b4.system.js} +21 -21
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-14128c84.system.entry.js +1 -0
- package/dist/mint-components/{p-a81b507f.entry.js → p-155f7d25.entry.js} +2 -2
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-171310d9.system.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-20916402.entry.js} +2 -2
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/p-26b1971c.entry.js +1 -0
- package/dist/mint-components/{p-0559d880.entry.js → p-27a7f6a6.entry.js} +1 -1
- package/dist/mint-components/p-29398c98.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-293e3b25.js} +2 -2
- package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
- package/dist/mint-components/{p-4d91a1d6.system.js → p-2c28a178.system.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-355079f4.system.entry.js} +1 -1
- package/dist/mint-components/{p-44891949.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/p-3921d86d.system.entry.js +1 -0
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-345fd28e.system.entry.js → p-43d9c1c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/p-48ce5a11.system.entry.js +1 -0
- package/dist/mint-components/{p-c0f19490.js → p-49400aab.js} +2 -2
- package/dist/mint-components/p-49ad34b9.entry.js +258 -0
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-4f5a3dad.system.entry.js} +1 -1
- package/dist/mint-components/p-513f5d80.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-3c96533f.js → p-53f64def.js} +1 -1
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-54abb144.system.entry.js} +1 -1
- package/dist/mint-components/p-552a6d1b.js +103 -0
- package/dist/mint-components/p-57fc4ed1.js +448 -0
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-58e0eccc.system.entry.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-5b29d833.system.entry.js} +1 -1
- package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-5e8d6f3a.system.entry.js} +1 -1
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-610cf4d6.entry.js +1 -0
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.js +1 -0
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/p-67ad2252.system.js +1 -0
- package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-692bacf3.js +1 -0
- package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/{p-8175e85f.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/p-6fbfa37b.entry.js +33 -0
- package/dist/mint-components/p-71271fbd.system.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/{p-05f29f64.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/{p-cc7af682.system.js → p-71daeed9.system.js} +2 -2
- package/dist/mint-components/p-72d7d6d6.system.entry.js +1 -0
- package/dist/mint-components/p-747a6ed4.entry.js +13 -0
- package/dist/mint-components/p-755c8c16.js +1233 -0
- package/dist/mint-components/p-75b8fd75.entry.js +1 -0
- package/dist/mint-components/p-7602eb6a.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/p-7d338f5e.entry.js +1 -0
- package/dist/mint-components/p-7e2b2d03.js +1 -0
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-7eb0573c.entry.js} +1 -1
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/p-89e8db56.entry.js +13 -0
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/p-8cee88ec.system.entry.js +1 -0
- package/dist/mint-components/{p-45bb63c7.system.entry.js → p-8cfddbb3.system.entry.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-916a2045.system.entry.js +1 -0
- package/dist/mint-components/p-92a54b0c.entry.js +1 -0
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-965c1768.system.entry.js +1 -0
- package/dist/mint-components/p-96df553d.system.entry.js +1 -0
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/p-978b150a.entry.js +9 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/{p-284e4ed5.entry.js → p-9943f53e.entry.js} +1 -1
- package/dist/mint-components/p-99b85ec9.entry.js +25 -0
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-9ab8a0fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-3f7b81b8.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9eba8408.js +1 -0
- package/dist/mint-components/p-a1b89894.system.entry.js +1 -0
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a4e8eb33.entry.js +1 -0
- package/dist/mint-components/{p-87c21535.entry.js → p-a52df294.entry.js} +1 -1
- package/dist/mint-components/p-a597b136.entry.js +1 -0
- package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
- package/dist/mint-components/p-a7aef62d.system.entry.js +1 -0
- package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
- package/dist/mint-components/p-a8c86cd8.system.entry.js +1 -0
- package/dist/mint-components/p-aa00d694.js +1 -0
- package/dist/mint-components/{p-4e526a94.js → p-aa596749.js} +1 -1
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-b2fdb0b1.entry.js} +1 -1
- package/dist/mint-components/p-b4a922e1.system.entry.js +1 -0
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b7f8d388.entry.js +93 -0
- package/dist/mint-components/{p-28b011a0.js → p-b8dc1bbb.js} +1 -1
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/p-bc2cce30.js +1 -0
- package/dist/mint-components/p-bcac83f0.system.js +1 -0
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/{p-d6831af5.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/{p-605c2904.system.entry.js → p-cc8ca3ff.system.entry.js} +1 -1
- package/dist/mint-components/p-cdf41697.system.entry.js +1 -0
- package/dist/mint-components/{p-aaff68dc.entry.js → p-d08bcd88.entry.js} +1 -1
- package/dist/mint-components/{p-a71b9154.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/p-d14f3149.system.js +1 -0
- package/dist/mint-components/p-d399b343.system.entry.js +1 -0
- package/dist/mint-components/p-d848957e.system.entry.js +1 -0
- package/dist/mint-components/{p-1b7e6ee9.entry.js → p-d9ba31b9.entry.js} +1 -1
- package/dist/mint-components/{p-4027c743.system.entry.js → p-da0cb9a9.system.entry.js} +1 -1
- package/dist/mint-components/p-da29d42d.system.js +1 -0
- package/dist/mint-components/p-dcc50d90.entry.js +1 -0
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-2d52e2d7.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/p-e316e43f.entry.js +11 -0
- package/dist/mint-components/p-e5254112.system.entry.js +1 -0
- package/dist/mint-components/p-e7626eed.system.js +1 -0
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-ea063d99.entry.js} +1 -1
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/{p-b385c9f0.system.entry.js → p-edb6a540.system.entry.js} +1 -1
- package/dist/mint-components/{p-17da19a2.system.js → p-ee0239c8.system.js} +1 -1
- package/dist/mint-components/p-ee92a728.system.entry.js +1 -0
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/p-efc42205.system.entry.js +1 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-f3392945.system.js} +1 -1
- package/dist/mint-components/p-f4202a64.system.entry.js +1 -0
- package/dist/mint-components/{p-4e451f75.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f764e51f.entry.js +16 -0
- package/dist/mint-components/p-f7bd2414.entry.js +144 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-f9295990.entry.js} +1 -1
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/p-f9e466b8.system.js +1 -0
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-ff0e1564.system.js} +1 -1
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +45 -1
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +14 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +9 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -5
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +3 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +6 -5
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +8 -1
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -8
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
- package/dist/types/components/sqm-text/sqm-text.d.ts +1 -1
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -2
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +47 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +718 -120
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +10 -2
- package/dist/types/insertfont.d.ts +1 -0
- package/dist/types/saasquatch.d.ts +142 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/ErrorView-b2fcf954.js +0 -35
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/cjs/sqm-invoice-table-view-55066ec6.js +0 -2038
- package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
- package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password-view-b986086e.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +0 -127
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
- package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
- package/dist/esm/ErrorView-48e2b969.js +0 -33
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
- package/dist/esm/sqm-asset-card.entry.js +0 -41
- package/dist/esm/sqm-invoice-table-view-fda573e4.js +0 -2022
- package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
- package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
- package/dist/esm/sqm-portal-forgot-password-view-50444a7c.js +0 -43
- package/dist/esm/sqm-portal-forgot-password.entry.js +0 -123
- package/dist/esm/sqm-referred-registration.entry.js +0 -174
- package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
- package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
- package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-3651cb42.js +0 -1
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +0 -1
- package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
- package/dist/esm-es5/index.module-89a79f66.js +0 -1
- package/dist/esm-es5/luxon-8d51c92b.js +0 -1
- package/dist/esm-es5/mixins-83f90fa1.js +0 -1
- package/dist/esm-es5/re-render-cc945f38.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-fda573e4.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
- package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
- package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
- package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
- package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
- package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
- package/dist/esm-es5/utilities-5b0ca040.js +0 -1
- package/dist/esm-es5/utils-334c1e34.js +0 -1
- package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-12536a1f.system.entry.js +0 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-1513309d.entry.js +0 -1
- package/dist/mint-components/p-16dba1eb.system.js +0 -1
- package/dist/mint-components/p-18425f38.system.entry.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1ae6c418.entry.js +0 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
- package/dist/mint-components/p-217514ac.system.js +0 -1
- package/dist/mint-components/p-229f797b.js +0 -1
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-275b4767.entry.js +0 -1
- package/dist/mint-components/p-2bbff88f.entry.js +0 -1
- package/dist/mint-components/p-2c7ebd5b.js +0 -1
- package/dist/mint-components/p-2dca9e1a.system.js +0 -1
- package/dist/mint-components/p-2e110002.system.js +0 -1
- package/dist/mint-components/p-2e3acbb8.system.entry.js +0 -1
- package/dist/mint-components/p-320d3c31.entry.js +0 -205
- package/dist/mint-components/p-32dbde60.system.js +0 -1
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-38de17fa.system.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-38fc919b.entry.js +0 -1
- package/dist/mint-components/p-3a62a7e2.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-42187319.system.entry.js +0 -1
- package/dist/mint-components/p-4428294b.entry.js +0 -1
- package/dist/mint-components/p-48135f99.system.js +0 -53
- package/dist/mint-components/p-49206a9c.entry.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-52858682.system.js +0 -1
- package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-60e72631.entry.js +0 -9
- package/dist/mint-components/p-6333265f.system.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
- package/dist/mint-components/p-6d8f7c71.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-70c8fea5.system.entry.js +0 -1
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-776260e8.js +0 -1248
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
- package/dist/mint-components/p-7e3a84bc.js +0 -1
- package/dist/mint-components/p-7e3d84a3.entry.js +0 -13
- package/dist/mint-components/p-802b9f7e.entry.js +0 -1
- package/dist/mint-components/p-8053366e.system.entry.js +0 -1
- package/dist/mint-components/p-8119a65e.system.entry.js +0 -1
- package/dist/mint-components/p-82d04fd3.entry.js +0 -25
- package/dist/mint-components/p-868daffd.system.entry.js +0 -1
- package/dist/mint-components/p-893d7ab4.js +0 -1
- package/dist/mint-components/p-8ab87bd4.entry.js +0 -144
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-8c494bf1.js +0 -1
- package/dist/mint-components/p-8d9328dd.entry.js +0 -33
- package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-91521e9d.js +0 -1
- package/dist/mint-components/p-92816d1f.js +0 -1
- package/dist/mint-components/p-94a876b9.js +0 -1
- package/dist/mint-components/p-97d4d651.system.js +0 -1
- package/dist/mint-components/p-98698131.js +0 -1
- package/dist/mint-components/p-9abb9ab0.entry.js +0 -13
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-a6ca754f.js +0 -394
- package/dist/mint-components/p-afbb3f73.entry.js +0 -1
- package/dist/mint-components/p-b12e132b.system.entry.js +0 -1
- package/dist/mint-components/p-b7d1469d.system.entry.js +0 -1
- package/dist/mint-components/p-bd2a2546.system.js +0 -1
- package/dist/mint-components/p-be4b9c0e.entry.js +0 -258
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-ccb5699b.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-da7708a7.entry.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-dce51a2e.system.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-eab1c9f3.js +0 -1
- package/dist/mint-components/p-ee06426a.system.js +0 -1
- package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/mint-components/p-f9da2c34.system.entry.js +0 -1
- package/dist/mint-components/p-fd0a013f.entry.js +0 -1
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as n,f as t}from"./p-cd651f81.js";import{d as o,J as e,$ as r,g as i,w as u}from"./p-94a876b9.js";const c="sqm:tax-form-updated";var a=function(n){for(var t=Array(n.length),o=0;o<n.length;++o)t[o]=n[o];return t},d=function(n){return Array.isArray(n)?n:[n]},f=function(n,t){var o=n.tabIndex-t.tabIndex;if(o){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return o||n.index-t.index},s=function(n,t,o){return a(n).map((function(n,t){return{node:n,index:t,tabIndex:o&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(f)};const l=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var m=l.join(","),v=m+", [data-focus-guard]",p=function(n,t){return n.reduce((function(n,o){return n.concat(a(o.querySelectorAll(t?v:m)),o.parentNode?a(o.parentNode.querySelectorAll(l.join(","))).filter((function(n){return n===o})):[])}),[])},E=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((o=window.getComputedStyle(t,null))&&o.getPropertyValue&&("none"===o.getPropertyValue("display")||"hidden"===o.getPropertyValue("visibility")))&&n(t.parentNode);var o},h=function n(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o.push(t),t.parentNode&&n(t.parentNode,o),o},w=function(n,t){for(var o=h(n),e=h(t),r=0;r<o.length;r+=1){var i=o[r];if(e.indexOf(i)>=0)return i}return!1},I=function(n){return a(n).filter((function(n){return E(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},b=function(n,t){return s(I(p(n,t)),!0,t)},g=function(n){return"INPUT"===n.tagName&&"radio"===n.type},y=function(n,t){return t.filter(g).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},R=function(n,t){return n.length>1&&g(n[t])&&n[t].name?n.indexOf(y(n[t],n)):t},F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_=function n(t){for(var o=t.length,e=0;e<o;e+=1)for(var r=function(o){if(e!==o&&t[e].contains(t[o]))return{v:n(t.filter((function(n){return n!==t[o]})))}},i=0;i<o;i+=1){var u=r(i);if("object"===(void 0===u?"undefined":F(u)))return u.v}return t},D=function n(t){return t.parentNode?n(t.parentNode):t},A=function(n){return d(n).filter(Boolean).reduce((function(n,t){var o=t.getAttribute("data-focus-lock");return n.push.apply(n,o?_(a(D(t).querySelectorAll('[data-focus-lock="'+o+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},T=function(n){return n&&n.dataset&&n.dataset.focusGuard},S=function(n){return!T(n)},V=function(n,t){var o=document&&document.activeElement,e=A(n).filter(S),r=function(n,t,o){var e=d(n),r=d(t),i=e[0],u=null;return r.filter(Boolean).forEach((function(n){u=w(u||n,n)||u,o.filter(Boolean).forEach((function(n){var t=w(i,n);t&&(u=!u||t.contains(u)?t:w(t,u))}))})),u}(o||n,n,e),i=b(e).filter((function(n){return S(n.node)}));if(i[0]||(i=(u=e,s(I(p(u)),!1)).filter((function(n){return S(n.node)})))[0]){var u,c,f,l,m,v=b([r]).map((function(n){return n.node})),E=(c=v,f=i,l=new Map,f.forEach((function(n){return l.set(n.node,n)})),c.map((function(n){return l.get(n)})).filter(Boolean)),h=E.map((function(n){return n.node})),F=function(n,t,o,e,r){var i,u=n.length,c=n[0],a=n[u-1],d=T(o);if(!(n.indexOf(o)>=0)){var f=t.indexOf(o),s=t.indexOf(e||f),l=n.indexOf(e),m=f-s,v=t.indexOf(c),p=t.indexOf(a),E=R(n,0),h=R(n,u-1);return-1===f||-1===l?n.indexOf((i=r&&r.length?r:n)[0]&&i.length>1&&g(i[0])&&i[0].name?y(i[0],i):i[0]):!m&&l>=0?l:f<=v&&d&&Math.abs(m)>1?h:f>=v&&d&&Math.abs(m)>1?E:m&&Math.abs(m)>1?l:f<=v?h:f>p?E:m?Math.abs(m)>1?l:(u+l+m)%u:void 0}}(h,v,o,t,h.filter((m=function(n){return n.reduce((function(n,t){return n.concat(function(n){return I((t=n.querySelectorAll("[data-autofocus-inside]"),a(t).map((function(n){return p([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(e),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||m.indexOf(n)>=0})));return void 0===F?F:E[F]}},N=function(n){return n===document.activeElement},C=0,O=!1,x=0,U=null,L=function(){var n,t,o=!1;if(x){var e=x;document&&document.activeElement===document.body||document&&a(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(e&&(n=e,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&A(n).reduce((function(n,o){return n||o.contains(t)||function(n){return t=a(n.querySelectorAll("iframe")),o=N,!!t.filter((function(n){return n===o}))[0];var t,o}(o)}),!1)))&&(o=function(n){var t,o=V(n,U);if(!O&&o){if(C>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),O=!0,void setTimeout((function(){O=!1}),1);C++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),C--}}(e)),U=document.activeElement)}return o},k=[],M=function(n){return t=k.filter((function(n){return n})).slice(-1)[0],x=t,!!void(t&&L())&&(n&&n.preventDefault(),!0);var t},H=function(n){0===k.length&&document.addEventListener("focusin",M),k.indexOf(n)<0&&(k.push(n),M())},B=function(){return"undefined"==typeof window},P=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},q=0,j=0,K=0,Q=null,$=!1,z=[],W=function(n){if(B())return!1;if(!n)throw new Error("options must be provided");var t=!1,o={get passive(){t=!0}},e=function(){},r="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(r,e,o),window.removeEventListener(r,e,o);var i=n.capture;return t?n:void 0!==i&&i}({passive:!1}),G=!B()&&"scrollBehavior"in document.documentElement.style,J=function(n){n.cancelable&&n.preventDefault()},X=function(n){var t,o,e,r,i;B()||(P().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===z.indexOf(n)&&(n.ontouchstart=function(n){j=n.targetTouches[0].clientY,K=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var o=t.scrollTop,e=t.scrollLeft,r=t.scrollWidth,i=t.scrollHeight,u=t.clientWidth,c=t.clientHeight,a=n.targetTouches[0].clientX-K,d=n.targetTouches[0].clientY-j,f=Math.abs(d)>Math.abs(a);if(f&&(d>0&&0===o||d<0&&o+c+1>=i)||!f&&(a>0&&0===e||a<0&&e+u+1>=r))return J(n)}n.stopPropagation()}(t,n)},z.push(n))})),$||(document.addEventListener("touchmove",J,W),$=!0)):q<=0&&(Q=P().android?(t=document.documentElement,o=document.body,e=t.scrollTop||o.scrollTop,r=Object.assign({},t.style),i=Object.assign({},o.style),t.style.height="100%",t.style.overflow="hidden",o.style.top="-".concat(e,"px"),o.style.width="100%",o.style.height="auto",o.style.position="fixed",o.style.overflow="hidden",function(){t.style.height=r.height||"",t.style.overflow=r.overflow||"",["top","width","height","overflow","position"].forEach((function(n){o.style[n]=i[n]||""})),G?window.scrollTo({top:e,behavior:"instant"}):window.scrollTo(0,e)}):function(){var n=document.body,t=Object.assign({},n.style),o=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(o,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(o){n.style[o]=t[o]||""}))}}()),q+=1)},Y=function(n){B()||(q-=1)>0||(P().ios||"function"!=typeof Q?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=z.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,z.splice(t,1))})),$&&(document.removeEventListener("touchmove",J,W),$=!1)):Q())};const Z="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",nn="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let tn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),on=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function en(n){let{url:t,lang:o,onEvent:e=(()=>{}),embedded:r=!1,embeddedOptions:i,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const c=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(r);function a(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,k=k.filter((function(n){return n!==t})),M(),0===k.length&&document.removeEventListener("focusin",M),Y(n);let o=n.parentNode.parentNode,e=n.parentNode;r&&!c&&(o=n.parentNode,e=n),o&&o.removeChild(e)}else Y();var t;window.removeEventListener("message",d)}function d(n){const t=document.getElementById("veriffFrame");n.data===tn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:tn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:c,embeddedConfigured:r,embedded:!c&&r}),n.data===tn.VERIFF_STARTED&&e(on.STARTED),n.data===tn.VERIFF_CANCELED&&(a(),e(on.CANCELED)),n.data===tn.VERIFF_SUBMITTED&&e(on.SUBMITTED),n.data===tn.VERIFF_FINISHED&&(a(),e(on.FINISHED)),n.data===tn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===tn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),e(on.RELOAD_REQUEST))}return function(n,t,o,e){const r=document.createElement("iframe");if(r.src=n,r.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",r.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:e}=t;if(o){n.style.cssText=nn;const t=document.createElement("div");t.style.cssText=Z,t.appendChild(n),document.body.appendChild(t),H(n),X(n)}else{if(!e)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(e))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(e).appendChild(n)}}(r,o,e);else{r.style.cssText=nn;const n=function(){const n=document.createElement("div");return n.style.cssText=Z,n}();n.appendChild(r),document.body.appendChild(n),H(r),X(r)}}(o&&o.length>0?function(n,t,o){if(o){const t=new URL(n),e=t.searchParams;return e.set("lang",o),t.search=e.toString(),t.toString()}return n}(t,0,o):t,r,i,c),window.addEventListener("message",d),{close:a}}const rn=o.gql`
|
|
1
|
+
import{k as n,f as t}from"./p-63e29387.js";import{d as o,J as e,$ as r,g as i,w as u}from"./p-0ec54f97.js";const c="sqm:tax-form-updated";var a=function(n){for(var t=Array(n.length),o=0;o<n.length;++o)t[o]=n[o];return t},d=function(n){return Array.isArray(n)?n:[n]},f=function(n,t){var o=n.tabIndex-t.tabIndex;if(o){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return o||n.index-t.index},s=function(n,t,o){return a(n).map((function(n,t){return{node:n,index:t,tabIndex:o&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(f)};const l=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var m=l.join(","),v=m+", [data-focus-guard]",p=function(n,t){return n.reduce((function(n,o){return n.concat(a(o.querySelectorAll(t?v:m)),o.parentNode?a(o.parentNode.querySelectorAll(l.join(","))).filter((function(n){return n===o})):[])}),[])},E=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((o=window.getComputedStyle(t,null))&&o.getPropertyValue&&("none"===o.getPropertyValue("display")||"hidden"===o.getPropertyValue("visibility")))&&n(t.parentNode);var o},h=function n(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o.push(t),t.parentNode&&n(t.parentNode,o),o},w=function(n,t){for(var o=h(n),e=h(t),r=0;r<o.length;r+=1){var i=o[r];if(e.indexOf(i)>=0)return i}return!1},I=function(n){return a(n).filter((function(n){return E(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},b=function(n,t){return s(I(p(n,t)),!0,t)},g=function(n){return"INPUT"===n.tagName&&"radio"===n.type},y=function(n,t){return t.filter(g).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},R=function(n,t){return n.length>1&&g(n[t])&&n[t].name?n.indexOf(y(n[t],n)):t},F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_=function n(t){for(var o=t.length,e=0;e<o;e+=1)for(var r=function(o){if(e!==o&&t[e].contains(t[o]))return{v:n(t.filter((function(n){return n!==t[o]})))}},i=0;i<o;i+=1){var u=r(i);if("object"===(void 0===u?"undefined":F(u)))return u.v}return t},D=function n(t){return t.parentNode?n(t.parentNode):t},A=function(n){return d(n).filter(Boolean).reduce((function(n,t){var o=t.getAttribute("data-focus-lock");return n.push.apply(n,o?_(a(D(t).querySelectorAll('[data-focus-lock="'+o+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},T=function(n){return n&&n.dataset&&n.dataset.focusGuard},N=function(n){return!T(n)},V=function(n,t){var o=document&&document.activeElement,e=A(n).filter(N),r=function(n,t,o){var e=d(n),r=d(t),i=e[0],u=null;return r.filter(Boolean).forEach((function(n){u=w(u||n,n)||u,o.filter(Boolean).forEach((function(n){var t=w(i,n);t&&(u=!u||t.contains(u)?t:w(t,u))}))})),u}(o||n,n,e),i=b(e).filter((function(n){return N(n.node)}));if(i[0]||(i=(u=e,s(I(p(u)),!1)).filter((function(n){return N(n.node)})))[0]){var u,c,f,l,m,v=b([r]).map((function(n){return n.node})),E=(c=v,f=i,l=new Map,f.forEach((function(n){return l.set(n.node,n)})),c.map((function(n){return l.get(n)})).filter(Boolean)),h=E.map((function(n){return n.node})),F=function(n,t,o,e,r){var i,u=n.length,c=n[0],a=n[u-1],d=T(o);if(!(n.indexOf(o)>=0)){var f=t.indexOf(o),s=t.indexOf(e||f),l=n.indexOf(e),m=f-s,v=t.indexOf(c),p=t.indexOf(a),E=R(n,0),h=R(n,u-1);return-1===f||-1===l?n.indexOf((i=r&&r.length?r:n)[0]&&i.length>1&&g(i[0])&&i[0].name?y(i[0],i):i[0]):!m&&l>=0?l:f<=v&&d&&Math.abs(m)>1?h:f>=v&&d&&Math.abs(m)>1?E:m&&Math.abs(m)>1?l:f<=v?h:f>p?E:m?Math.abs(m)>1?l:(u+l+m)%u:void 0}}(h,v,o,t,h.filter((m=function(n){return n.reduce((function(n,t){return n.concat(function(n){return I((t=n.querySelectorAll("[data-autofocus-inside]"),a(t).map((function(n){return p([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(e),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||m.indexOf(n)>=0})));return void 0===F?F:E[F]}},S=function(n){return n===document.activeElement},O=0,C=!1,x=0,U=null,L=function(){var n,t,o=!1;if(x){var e=x;document&&document.activeElement===document.body||document&&a(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(e&&(n=e,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&A(n).reduce((function(n,o){return n||o.contains(t)||function(n){return t=a(n.querySelectorAll("iframe")),o=S,!!t.filter((function(n){return n===o}))[0];var t,o}(o)}),!1)))&&(o=function(n){var t,o=V(n,U);if(!C&&o){if(O>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),C=!0,void setTimeout((function(){C=!1}),1);O++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),O--}}(e)),U=document.activeElement)}return o},k=[],M=function(n){return t=k.filter((function(n){return n})).slice(-1)[0],x=t,!!void(t&&L())&&(n&&n.preventDefault(),!0);var t},H=function(n){0===k.length&&document.addEventListener("focusin",M),k.indexOf(n)<0&&(k.push(n),M())},P=function(){return"undefined"==typeof window},B=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},q=0,j=0,K=0,Q=null,$=!1,W=[],z=function(n){if(P())return!1;if(!n)throw new Error("options must be provided");var t=!1,o={get passive(){t=!0}},e=function(){},r="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(r,e,o),window.removeEventListener(r,e,o);var i=n.capture;return t?n:void 0!==i&&i}({passive:!1}),Y=!P()&&"scrollBehavior"in document.documentElement.style,G=function(n){n.cancelable&&n.preventDefault()},J=function(n){var t,o,e,r,i;P()||(B().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===W.indexOf(n)&&(n.ontouchstart=function(n){j=n.targetTouches[0].clientY,K=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var o=t.scrollTop,e=t.scrollLeft,r=t.scrollWidth,i=t.scrollHeight,u=t.clientWidth,c=t.clientHeight,a=n.targetTouches[0].clientX-K,d=n.targetTouches[0].clientY-j,f=Math.abs(d)>Math.abs(a);if(f&&(d>0&&0===o||d<0&&o+c+1>=i)||!f&&(a>0&&0===e||a<0&&e+u+1>=r))return G(n)}n.stopPropagation()}(t,n)},W.push(n))})),$||(document.addEventListener("touchmove",G,z),$=!0)):q<=0&&(Q=B().android?(t=document.documentElement,o=document.body,e=t.scrollTop||o.scrollTop,r=Object.assign({},t.style),i=Object.assign({},o.style),t.style.height="100%",t.style.overflow="hidden",o.style.top="-".concat(e,"px"),o.style.width="100%",o.style.height="auto",o.style.position="fixed",o.style.overflow="hidden",function(){t.style.height=r.height||"",t.style.overflow=r.overflow||"",["top","width","height","overflow","position"].forEach((function(n){o.style[n]=i[n]||""})),Y?window.scrollTo({top:e,behavior:"instant"}):window.scrollTo(0,e)}):function(){var n=document.body,t=Object.assign({},n.style),o=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(o,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(o){n.style[o]=t[o]||""}))}}()),q+=1)},X=function(n){P()||(q-=1)>0||(B().ios||"function"!=typeof Q?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=W.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,W.splice(t,1))})),$&&(document.removeEventListener("touchmove",G,z),$=!1)):Q())};const Z="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",nn="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let tn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),on=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function en(n){let{url:t,lang:o,onEvent:e=(()=>{}),embedded:r=!1,embeddedOptions:i,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const c=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(r);function a(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,k=k.filter((function(n){return n!==t})),M(),0===k.length&&document.removeEventListener("focusin",M),X(n);let o=n.parentNode.parentNode,e=n.parentNode;r&&!c&&(o=n.parentNode,e=n),o&&o.removeChild(e)}else X();var t;window.removeEventListener("message",d)}function d(n){const t=document.getElementById("veriffFrame");n.data===tn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:tn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:c,embeddedConfigured:r,embedded:!c&&r}),n.data===tn.VERIFF_STARTED&&e(on.STARTED),n.data===tn.VERIFF_CANCELED&&(a(),e(on.CANCELED)),n.data===tn.VERIFF_SUBMITTED&&e(on.SUBMITTED),n.data===tn.VERIFF_FINISHED&&(a(),e(on.FINISHED)),n.data===tn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===tn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),e(on.RELOAD_REQUEST))}return function(n,t,o,e){const r=document.createElement("iframe");if(r.src=n,r.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",r.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:e}=t;if(o){n.style.cssText=nn;const t=document.createElement("div");t.style.cssText=Z,t.appendChild(n),document.body.appendChild(t),H(n),J(n)}else{if(!e)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(e))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(e).appendChild(n)}}(r,o,e);else{r.style.cssText=nn;const n=function(){const n=document.createElement("div");return n.style.cssText=Z,n}();n.appendChild(r),document.body.appendChild(n),H(r),J(r)}}(o&&o.length>0?function(n,t,o){if(o){const t=new URL(n),e=t.searchParams;return e.set("lang",o),t.search=e.toString(),t.toString()}return n}(t,0,o):t,r,i,c),window.addEventListener("message",d),{close:a}}const rn=o.gql`
|
|
2
2
|
mutation createImpactVerificationSession($user: UserIdInput!) {
|
|
3
3
|
createImpactPublisherIdentityVerificationSession(user: $user) {
|
|
4
4
|
sessionUrl
|
|
@@ -28,4 +28,4 @@ import{k as n,f as t}from"./p-cd651f81.js";import{d as o,J as e,$ as r,g as i,w
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
`;function fn(n){var t,o,e,r,i,u,c,a;const
|
|
31
|
+
`;function fn(n){var t,o,e,r,i,u,c,a,d,f;const s=null===(o=null===(t=n.user.impactConnection)||void 0===t?void 0:t.publisher)||void 0===o?void 0:o.payoutsAccount;return(null===(r=null===(e=n.user)||void 0===e?void 0:e.impactConnection)||void 0===r?void 0:r.connected)&&s?1===(null===(i=s.holdReasons)||void 0===i?void 0:i.length)&&(null===(u=s.holdReasons)||void 0===u?void 0:u.includes("NEW_PAYEE_REVIEW"))?"DONE":(null===(c=s.holdReasons)||void 0===c?void 0:c.includes("IDV_CHECK_REQUIRED"))?"VERIFICATION:REQUIRED":(null===(a=s.holdReasons)||void 0===a?void 0:a.includes("IDV_CHECK_REQUIRED_INTERNAL"))?"VERIFICATION:INTERNAL":(null===(d=s.holdReasons)||void 0===d?void 0:d.includes("IDV_CHECK_REVIEW_INTERNAL"))?"VERIFICATION:REVIEW":(null===(f=s.holdReasons)||void 0===f?void 0:f.includes("IDV_CHECK_FAILED_INTERNAL"))?"VERIFICATION:FAILED":s.hold?"HOLD":"DONE":"INFORMATION_REQUIRED"}function sn(o){const{type:e}=i(),{loading:r,data:c,errors:a,refetch:d}=u(dn,{}),{render:f,loading:s}=an(),[l,m]=n(void 0);return t((()=>{if(!c)return;const n=fn(c);m(n)}),[c]),t((()=>{const n=()=>d();return window.addEventListener("sqm:tax-form-updated",n),window.addEventListener("sqm:veriff-updated",n),()=>{window.removeEventListener("sqm:tax-form-updated",n),window.removeEventListener("sqm:veriff-updated",n)}}),[]),{states:{loading:r,veriffLoading:s,status:l,error:!!a},data:{type:e},text:o.getTextProps(),callbacks:{onTermsClick:()=>window.open(o.cashPayoutsPageUrl,"_blank").focus(),onClick:f}}}export{c as T,cn as V,an as a,fn as g,sn as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o}from"./p-c7c11325.js";import{n as t}from"./p-63e29387.js";import{g as r}from"./p-0ec54f97.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{C as c}from"./p-a45680fe.js";const i=class{constructor(o){s(this,o),this.color="#000000",t(this)}disconnectedCallback(){}render(){var s;const t=r();return"SquatchJS2"!==t.type||"POPUP"!==(null===(s=t.widgetIdent)||void 0===s?void 0:s.engagementMedium)?o("div",{style:{display:"none"}}):o(c,{onClick:()=>{var s,o;"SquatchJS2"===t.type&&(null===(o=(s=t.api).close)||void 0===o||o.call(s))},color:this.color})}};export{i as sqm_close_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-114fa6b4.system.js","./p-1a673057.system.js","./p-67ad2252.system.js"],(function(e){"use strict";var t,s,a,i;return{setters:[function(e){t=e.h},function(e){s=e.i},function(e){a=e.c},function(e){i=e.T}],execute:function(){e("P",l);function l(e){var l,r,n,o,d;var u=e.states,m=e.callbacks;var p=u.text,c=u.formState;var v=c.errors,b=c.error;var x={Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}};var f=a(x);var g=f.toString();var y=((l=u.user)===null||l===void 0?void 0:l.countryCode)?s.formatDisplayName((r=u.user)===null||r===void 0?void 0:r.countryCode,{type:"region"}):"";return t("div",{class:f.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},g),t(i,Object.assign({},{type:"h1"}),p.editProfileHeader),t(i,Object.assign({},{type:"h2"}),p.editProfileSubHeader),t("form",{class:f.classes.FormStyle,onSubmit:m.onSubmit},u.success&&t("sqm-form-message",{class:f.classes.Success,exportparts:"success-icon"},t("div",{part:"successalert-text"},p.submissionSuccessText)),b&&t("sqm-form-message",{class:f.classes.Error,type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},b)),t("div",{class:f.classes.NameInputContainer},t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(n=u.user)===null||n===void 0?void 0:n.firstName,onInput:m.onChange,label:p.firstnametext,disabled:u.loading},(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?v===null||v===void 0?void 0:v.firstName.message:undefined})),t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(o=u.user)===null||o===void 0?void 0:o.lastName,onInput:m.onChange,label:p.lastnametext,disabled:u.loading,id:"lastName",name:"lastName"},(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{error:(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?v===null||v===void 0?void 0:v.lastName.message:undefined}))),t("sl-input",{label:p.emailtext,value:(d=u.user)===null||d===void 0?void 0:d.email,exportparts:"label: input-label, base: input-base",disabled:true}),u.showCountry&&t("sl-input",{label:p.countrytext,value:y,exportparts:"label: input-label, base: input-base",disabled:true}),t("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:u.loading,disabled:u.submitDisabled,onClick:function(e){m.onSubmit(e)},submit:true},p.submitChangeButtonText)))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-2403c6e1.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.J;a=e.w;o=e.b;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,e,h as o,g as n}from"./p-
|
|
1
|
+
import{r as t,e,h as o,g as n}from"./p-c7c11325.js";import{k as s,f as i,n as c}from"./p-63e29387.js";import{g as l,i as r}from"./p-0ec54f97.js";const u=class{constructor(o){t(this,o),this.initComplete=e(this,"initComplete",7),this.googleButtonDiv=null,c(this)}disconnectedCallback(){}connectedCallback(){if(!document.head.querySelector('script[src="https://accounts.google.com/gsi/client"]')){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,document.head.appendChild(t)}}render(){const{setGoogleButtonDiv:t}=r()?function(t){const[e,o]=s(!1),[n,c]=s(null);return i((()=>{const t=()=>{window.onGoogleLibraryLoad=null,o(!0)};window.google&&t(),window.onGoogleLibraryLoad=t}),[]),i((()=>{if(!n||!e)return;google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:()=>{}}),google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,click_listener:()=>{t.initComplete.emit({credential:null})}})}),[n,e]),{setGoogleButtonDiv:c}}(this):function(t){const[e,o]=s(!1),[n,c]=s(null),[r,u]=s(400);let g=null;const a=()=>{n&&u(n.clientWidth)};return i((()=>{if(!n)return;const t=new ResizeObserver((()=>{g&&clearTimeout(g),g=setTimeout((()=>{a()}),50)}));return t.observe(n),a(),()=>t.disconnect()}),[n]),i((()=>{const e=()=>{window.onGoogleLibraryLoad=null;const e=l();"SquatchPortal"===e.type&&(google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:e=>{t.initComplete.emit(e)}}),o(!0))};window.google&&e(),window.onGoogleLibraryLoad=e}),[]),i((()=>{n&&e&&google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,height:40,width:r})}),[n,e,r]),{setGoogleButtonDiv:c}}(this);return o("div",{ref:t,style:{width:"100%"}})}get el(){return n(this)}};export{u as sqm_google_sign_in}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<r;t++)for(var n=arguments[t],o=0,s=n.length;o<s;o++,a++)i[a]=n[o];return i};System.register(["./p-59b028db.system.js","./p-114fa6b4.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-0c5345e8.system.js","./p-115dfc03.system.js","./p-d14f3149.system.js","./p-a8645c1b.system.js"],(function(e){"use strict";var t,r,i,a,n,o,s,d,u,c,l,h,p,m,f,y,b,v,_,g,x,T,S,C,I,P,k,A,w,L,N,B;return{setters:[function(e){t=e.r;r=e.h},function(){},function(e){i=e.u;a=e.f;n=e.n},function(e){o=e.M;s=e._;d=e.J;u=e.L;c=e.I;l=e.S;h=e.i},function(e){p=e.c},function(e){m=e.g},function(){},function(e){f=e.g;y=e.L},function(e){b=e.p},function(e){v=e.T;_=e.a;g=e.U;x=e.C;T=e.b;S=e.S;C=e.c;I=e.G;P=e.d;k=e.e;A=e.F;w=e.f;L=e.g;N=e.h},function(e){B=e.e}],execute:function(){function E(e){var t,r;if(!((t=e.impactConnection)===null||t===void 0?void 0:t.connected)||!((r=e.impactConnection)===null||r===void 0?void 0:r.publisher)){return"/1"}var i=e.impactConnection.publisher,a=i.requiredTaxDocumentType,n=i.currentTaxDocument,o=i.withdrawalSettings,s=i.brandedSignup;if(a&&!n)return"/3";if(!o&&s)return"/4";return"/dashboard"}function D(){var e,t,r,n,h;var p=s();var m=d();var y=u();var b=c({namespace:v,initialValue:"/loading"}),B=b[0],D=b[1];var F=c({namespace:_,initialValue:{}}),R=F[0],q=F[1];var H=c({namespace:g,initialValue:{firstName:undefined,lastName:undefined,email:undefined,countryCode:undefined,currency:undefined}}),V=H[0],j=H[1];var O=c({namespace:x,initialValue:[]}),G=O[0],M=O[1];var U=c({namespace:T,initialValue:[]}),W=U[0],Y=U[1];var Q=c({namespace:S,initialValue:[]}),Z=Q[0],z=Q[1];var J=l({namespace:C,query:I,skip:!m,options:{batch:false}}),K=J.data,X=J.errors;var $=((r=(t=(e=K===null||K===void 0?void 0:K.user)===null||e===void 0?void 0:e.impactConnection)===null||t===void 0?void 0:t.publisher)===null||r===void 0?void 0:r.countryCode)||V.countryCode;l({namespace:P,query:k,skip:!m});var ee=l({namespace:A,query:w,skip:!m,variables:{filter:le()}}),te=ee.data,re=ee.refetch;var ie=l({namespace:L,query:N,skip:!m,variables:{locale:y}}).data;var ae=i((function(){var e,t;var r=(t=(e=te===null||te===void 0?void 0:te.impactFinanceNetworkSettings)===null||e===void 0?void 0:e.data)===null||t===void 0?void 0:t.reduce((function(e,t){var r,i;var a=(i=(r=ie===null||ie===void 0?void 0:ie.currencies)===null||r===void 0?void 0:r.data)===null||i===void 0?void 0:i.find((function(e){return e.currencyCode===t.currency}));if(!a)return e;if(e.find((function(e){return e.currencyCode===t.currency})))return e;if(V.countryCode&&t.countryCode!==$)return e;return __spreadArrays(e,[a])}),[]);return r}),[te,$]);var ne=(y===null||y===void 0?void 0:y.replace("_","-"))||"en";var oe=function(e,t){return e.displayName<t.displayName?-1:1};var se=(n=te===null||te===void 0?void 0:te.impactFinanceNetworkSettings)===null||n===void 0?void 0:n.data;var de=i((function(){return new Set(se===null||se===void 0?void 0:se.map((function(e){return e.countryCode})).filter((function(e){return e})))}),[se]);var ue=["CA","GB","US"];var ce=i((function(){return Array.from(de).map((function(e){return f({countryCode:e,locale:ne})})).sort(oe).reduce((function(e,t){if(ue.includes(t.countryCode))return __spreadArrays([t],e);return __spreadArrays(e,[t])}),[])}),[de]);a((function(){if(ce)z(ce)}),[ce]);a((function(){if(ae)M(ae)}),[ae]);a((function(){if(X){D("/error");return}if(!p||!m)return;if(K){var e=K===null||K===void 0?void 0:K.user;if(!e||B!=="/loading")return;var t=E(e);D(t)}}),[p,m,(h=K===null||K===void 0?void 0:K.user)===null||h===void 0?void 0:h.email,X]);function le(){var e,t,r;if(B==="/1")return{};if(B==="/4")return{currency_eq:(r=(t=(e=K===null||K===void 0?void 0:K.user)===null||e===void 0?void 0:e.impactConnection)===null||t===void 0?void 0:t.publisher)===null||r===void 0?void 0:r.currency};if($)return{countryCode_eq:$};return{}}return{step:B,setStep:D,context:R,namespace:o(v),loading:B==="/loading"}}var F=e("sqm_tax_and_cash",function(){function e(e){t(this,e);this.step1_firstName="First name";this.step1_lastName="Last name";this.step1_email="Email";this.step1_country="Country";this.step1_phoneNumber="Phone number";this.step1_address="Address";this.step1_city="City";this.step1_state="State";this.step1_province="Province";this.step1_region="Region";this.step1_postalCode="Postal code";this.step1_currency="Currency";this.step1_currencyHelpText="Choose your preferred payout currency";this.step1_allowBankingCollection="I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";this.step1_personalInformation="Personal Information";this.step1_termsAndConditionsLabel="terms and conditions";this.step1_termsAndConditionsLink="https://terms.advocate.impact.com/PayoutTermsAndConditions.html";this.step1_searchForCurrencyText="Search for currency..";this.step2_indirectTax="Indirect Tax";this.step2_indirectTaxDescription="Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";this.step2_indirectTaxDetails="Indirect tax details";this.step2_otherRegion="Registered for indirect tax";this.step2_otherRegionSubtext="If you’ve registered with your tax authority, add your information to stay tax compliant.";this.step2_notRegistered="Not registered for indirect tax";this.step2_notRegisteredSubtext="If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";this.step2_selectedRegion="Country / region of indirect tax";this.step2_indirectTaxNumber="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";this.step2_province="Province";this.step2_indirectTaxNumberError="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";this.step2_qstNumber="QST number";this.step2_isRegisteredQST="I am registered for QST Tax";this.step2_isRegisteredSubRegionIncomeTax="I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";this.step2_subRegion="Sub-region";this.step2_subRegionTaxNumberLabel="Income Tax Number";this.step2_cannotChangeInfoAlert="Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";this.step3_taxForm="Tax form";this.step3_taxFormLabel="{documentType} Tax Form";this.step3_participantType="Participant type";this.step3_businessEntity="I represent a business";this.step3_individualParticipant="I am an individual participant";this.step3_taxFormDescription="Participants based in the US need to submit a {documentType} form.";this.step3_taxFormDescriptionIndividualParticipant="Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";this.step3_taxFormDescriptionBusinessEntity="Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";this.step3_docusignExpired="For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";this.step3_refreshButton="Refresh Page";this.step3_exitButton="Exit";this.step3_modalTitle="Important Note";this.step3_modalDescription="Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";this.step3_modalButtonText="I understand";this.step4_taxAndPayouts="Payouts";this.step4_directlyToBankAccount="Directly to my bank account";this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})";this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold";this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month";this.step4_paymentDaySelectLabel="Payment Day";this.step4_paymentThresholdSelectLabel="Payment threshold";this.step4_paymentDayFirstOfMonthLabelText="1st of the month";this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month";this.step4_paymentMethod="Payment method";this.step4_paymentSchedule="Payment schedule";this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.";this.step4_payPalInputLabel="PayPal email";this.step4_bankLocationLabel="Bank country location";this.step4_beneficiaryAccountNameLabel="Account holder name";this.step4_beneficiaryAccountNameDescription="The beneficiary name of your bank account. Ensure this matches the name on your tax form.";this.step4_bankAccountTypeLabel="Bank account type";this.step4_checkingSelectItemLabel="Checking";this.step4_savingsSelectItemLabel="Savings";this.step4_bankAccountNumberLabel="Bank account number";this.step4_ibanLabel="IBAN";this.step4_swiftCodeLabel="SWIFT code";this.step4_routingCodeLabel="{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";this.step4_bankNameLabel="Bank name";this.step4_classificationEntityLabel="Classification entity";this.step4_businessSelectItemLabel="Business";this.step4_individualSelectItemLabel="Individual";this.step4_foreignSelectItemLabel="Foreign";this.step4_classificationCPFLabel="Classification CPF";this.step4_patronymicNameLabel="Patronymic name";this.step4_voCodeLabel="VO code";this.step4_agencyCodeLabel="Agency code";this.step4_branchCodeLabel="Branch code";this.step4_classificationLabel="Classification";this.step4_taxPayerIdLabel="Beneficiary INN";this.step4_bankAddressLabel="Bank address";this.step4_bankCityLabel="Bank city";this.step4_bankStateLabel="Bank Province / State";this.step4_bankPostalCodeLabel="Bank postal code";this.step4_eftWithdrawalLabel="EFT Withdrawal (free)";this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)";this.step4_verifyEmailHeaderText="Verify your email";this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";this.step4_modalTitle="Important Note";this.step4_modalDescription="Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";this.step4_modalButtonText="I understand, update my information";this.dashboard_statusTextActive="Active";this.dashboard_statusTextNotActive="Invalid Tax Form";this.dashboard_statusTextNotVerified="Not Verified";this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.";this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.";this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.";this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile";this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid";this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.";this.dashboard_taxAlertNotActiveMessageW8="Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";this.dashboard_invalidForm="Make sure your information is correct and submit new form.";this.dashboard_bankingInformationSectionHeader="Payout Information";this.dashboard_taxDocumentSectionHeader="Tax documents";this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form";this.dashboard_noFormNeededSubtext="Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";this.dashboard_indirectTaxInfoSectionHeader="Indirect tax";this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}";this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}";this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}";this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.";this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}";this.dashboard_newFormButton="Submit new form";this.dashboard_editPaymentInformationButton="Edit Payout Information";this.dashboard_notRegisteredForTax="Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";this.dashboard_qstNumber="QST number: {qstNumber}";this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}";this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}";this.dashboard_accountText="Account";this.dashboard_invoiceColumnTitle="Invoice";this.dashboard_dateColumnTitle="Date";this.dashboard_earningsColumnTitle="Earnings";this.dashboard_indirectTaxColumnTitle="Indirect tax";this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax";this.dashboard_payoutHoldAlertHeader="Your payout is on hold";this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.";this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.";this.dashboard_invoicePrevLabel="Prev";this.dashboard_invoiceMoreLabel="Next";this.dashboard_invoiceHeader="Invoices";this.dashboard_invoiceEmptyStateHeader="View your invoice details";this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned";this.dashboard_replaceTaxFormModalHeader="Replace existing tax form";this.dashboard_replaceTaxFormModalBodyText="Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";this.dashboard_verificationRequiredHeader="Verify your identity";this.dashboard_verificationRequiredDescription="Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress";this.dashboard_verificationRequiredInternalDescription="Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review";this.dashboard_verificationReviewInternalDescription="Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful";this.dashboard_verificationFailedInternalDescription="Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationRequiredButtonText="Start Verification";this.formStep="Step {step} of {count}";this.generalErrorTitle="There was a problem submitting your information";this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.";this.fieldRequiredError="{fieldName} is required";this.invalidCharacterError="{fieldName} includes characters that aren't supported.";this.fieldInvalidError="{fieldName} is invalid";this.continueButton="Continue";this.backButton="Back";this.cancelButton="Cancel";this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com";this.isPartnerAlertDescription="If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";this.searchForCountryText="Search for country..";this.loadingErrorAlertHeader="There was a problem loading your form";this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.";this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.";this.supportLink="support team";this.stateController="{}";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getGeneralStepTextProps=function(e){var t=m(this);return __assign(__assign({},B(t,e)),{generalErrorTitle:t.generalErrorTitle,generalErrorDescription:t.generalErrorDescription,fieldRequiredError:t.fieldRequiredError,invalidCharacterError:t.invalidCharacterError,fieldInvalidError:t.fieldInvalidError,continueButton:t.continueButton,backButton:t.backButton,cancelButton:t.cancelButton,isPartnerAlertHeader:t.isPartnerAlertHeader,isPartnerAlertDescription:t.isPartnerAlertDescription,loadingErrorAlertHeader:t.loadingErrorAlertHeader,loadingErrorAlertDescription:t.loadingErrorAlertDescription,taxAndPayoutsDescription:t.taxAndPayoutsDescription,searchForCountryText:t.searchForCountryText,formStep:t.formStep,supportLink:t.supportLink})};e.prototype.render=function(){var e=this;var t,i;var a=h()?R(this):D();if((t=this.demoData)===null||t===void 0?void 0:t.showTextProps){var n=m(this);return r("div",null,(i=Object.keys(n))===null||i===void 0?void 0:i.map((function(t){if(t==="demoData")return;return r("div",null,r("b",null,t,":")," ",e[t],r("hr",null))})))}var o=function(){switch(a.step){case"/1":return r("sqm-user-info-form",Object.assign({},e.getGeneralStepTextProps("step1_"),B(a,"sqm-user-info-form_")));case"/2":return r("sqm-indirect-tax-form",Object.assign({},e.getGeneralStepTextProps("step2_"),B(a,"sqm-indirect-tax-form_")));case"/3":return r("sqm-docusign-form",Object.assign({},e.getGeneralStepTextProps("step3_"),B(a,"sqm-docusign-form_")));case"/4":return r("sqm-banking-info-form",Object.assign({},e.getGeneralStepTextProps("step4_"),B(a,"sqm-banking-info-form_")));case"/dashboard":return r("sqm-tax-and-cash-dashboard",Object.assign({},e.getGeneralStepTextProps("dashboard_"),B(a,"sqm-tax-and-cash-dashboard_"),{stateController:b(e.stateController)["sqm-tax-and-cash-dashboard"]}));case"/error":return r("sqm-form-message",{type:"error"},r("p",{part:"alert-title"},e.loadingErrorAlertHeader),r("p",{part:"alert-description"},e.loadingErrorAlertDescription))}};return o()||r(y,null)};return e}());function R(e){var t=c({namespace:v,initialValue:"/1"}),r=t[0],i=t[1];var a=b(e.stateController);var n=Object.keys(a).reduce((function(e,t){var r;return t==="sqm-tax-and-cash"?__assign(__assign({},e),a[t]):__assign(__assign({},e),(r={},r[t+"_stateController"]=a[t],r))}),{});return p({step:r,setStep:i},e.demoData||n||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-c7c11325.js";import{c as s}from"./p-cef45012.js";import{A as r,a as e}from"./p-49b20dae.js";import{T as a}from"./p-204861a6.js";const o=s({Wrapper:r,Column:e,ContinueButton:{width:"100%"}}),p=o.toString();function n(s){const{states:r,data:e,callbacks:n,content:i}=s;if(!r.loading)return r.success?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{exportparts:"success-icon"},t("div",{part:"successalert-text"},i.verifySuccessText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):r.error||!e.oobCode?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},i.verifyInvalidText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.failed,disabled:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):void 0}export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,c as r,r as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";import"./p-0ec54f97.js";import{a as c}from"./p-f5fff87e.js";const a=({},t)=>s(r,null,t),l=class{constructor(s){t(this,s),o(this)}disconnectedCallback(){}render(){return c([this.header]),s(a,null,s("slot",null))}};export{l as sqm_tab}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js"],(function(e){"use strict";var t,r;return{setters:[function(e){t=e.h},function(e){r=e.c}],execute:function(){e("Q",o);var n=function(e){return t("sqm-form-message",{type:"error"},t("p",{part:"alert-title"},e.loadingErrorAlertHeader),t("p",{part:"alert-description"},e.loadingErrorAlertDescription))};var i={DialogContainer:{maxWidth:"390px !important"},Container:{width:"100%",display:"flex",flexDirection:"row",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",gap:"var(--sl-spacing-medium)",flexDirection:"column",alignItems:"center"},ButtonContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},FooterContainer:{textAlign:"left",display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)"},CodeContainer:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center"},Code:{width:"100%",height:"100%",maxWidth:"335px"},LoadingSkeleton:{"&::part(indicator)":{borderRadius:"0px !important"}}};var a=r(i);var s=a.toString();var l="\n :host{\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n :host{\n display: block;\n }\n\n }";function o(e){var r=e.error,i=e.qrLink,o=e.titleText,d=e.downloadCodeText,p=e.printCodeText,c=e.errorHeaderText,m=e.errorDescriptionText,u=e.createDownloadable,x=e.createPrintable,g=e.hideTitle,f=e.alignment,h=e.loading;var y=f==="left"?"flex-start":f==="right"?"flex-end":"center";var v=function(e,r,i){if(e){return t(n,{loadingErrorAlertDescription:c,loadingErrorAlertHeader:m})}else if(i){return t("sl-skeleton",{className:a.classes.LoadingSkeleton,effect:"sheen",style:{width:"100px",height:"100px",borderRadius:"0px !important"}})}else if(r){return t("svg",{width:"100",height:"100"},t("image",{href:r,width:"100",height:"100"}))}return null};var C=v(r,i,h);return t("div",{class:a.classes.Container,style:{justifyContent:y},part:"sqm-base"},t("style",null,l),t("style",null,s),t("div",{class:a.classes.TextContainer,style:{alignItems:y}},!g&&t("span",{part:"sqm-title"},o),C,t("div",{class:a.classes.ButtonContainer},t("sl-button",{size:"small",exportparts:"base: primarybutton-base",type:"primary",onClick:u},d),t("sl-button",{size:"small",exportparts:"base: secondarybutton-base",type:"text",onClick:x},p))))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-bb5d153f.system.js"],(function(t){"use strict";var n,e,s,r,u;return{setters:[function(t){n=t.h;e=t.c;s=t.r},function(t){r=t.n},function(){},function(t){u=t.a}],execute:function(){var c=function(t,s){return n(e,null,s)};var i=t("sqm_tab",function(){function t(t){s(this,t);r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){u([this.header]);return n(c,null,n("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as n,c as s}from"./p-
|
|
1
|
+
import{r,h as n,c as s}from"./p-c7c11325.js";const e=class{constructor(n){r(this,n)}async renderCell(){return n("span",null)}async renderLabel(r){return n("slot",{name:`column-${r}`})}render(){return n(s,null)}};export{e as raisins_plop_target}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,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?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={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(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)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:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}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-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,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?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={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(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)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:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}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-59b028db.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.c}],execute:function(){var o=t("raisins_plop_target",function(){function t(t){n(this,t)}t.prototype.renderCell=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,e("span",null)]}))}))};t.prototype.renderLabel=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,e("slot",{name:"column-"+t})]}))}))};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-6c82d60c.system.js","./p-be88596c.system.js","./p-b6911812.system.js","./p-9d362d44.system.js","./p-537a3894.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,d,f,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){d=e.B},function(e){f=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(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 new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var d=n({mode:"base"}),f=d[0],h=d[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:f,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(d,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(f,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./p-
|
|
1
|
+
import{l as e}from"./p-08700497.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):r(t.value).then(i,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,r,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return l([t,e])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(o=i[0]&2?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;if(r=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];r=0}finally{a=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-114fa6b4.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-17a0f310.system.js","./p-8a6494c7.system.js","./p-f9e466b8.system.js"],(function(t){"use strict";var e,n,a,r,o,i,s,l,u,c,d,p,f,v,g,y,h,m,b,x,C,T;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.i},function(t){o=t.n;i=t.k},function(t){s=t.F;l=t.i;u=t.d;c=t.H;d=t.J;p=t.B;f=t.w;v=t.$},function(t){g=t.c},function(t){y=t.g},function(t){h=t.c},function(t){m=t.R;b=t.a;x=t.S;C=t.u},function(){},function(t){T=t.C}],execute:function(){var _={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=h(_);var P=w.toString();function S(t){var a=t.states,r=t.callbacks,o=t.text,i=t.buttonType;var s=r.onNext,l=r.onPrev;var u=a.currentPage,c=a.totalPages,d=a.loading;if(c===1)return e(n,null);return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},P),!d&&e(n,null,e("sl-button",{exportparts:"base: "+i+"button-base",onClick:l,part:"sqm-pagination-button",circle:true,disabled:u===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),e("div",{class:w.classes.TextContainer},o.paginationText)),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:s,part:"sqm-pagination-button",circle:true,disabled:u===c},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function j(t){var e;var n=s(m);var a=n.states.currentPage+1;var o=(e=n.states)===null||e===void 0?void 0:e.pageCount;return{states:{currentPage:a,totalPages:o,loading:n.states.loading},callbacks:{onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:a,totalPages:o})}}}var k=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";this.buttonType="secondary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=l()?I(y(this)):j(y(this));return e(S,Object.assign({},t))};return t}());function I(t){var e=i(1),n=e[0],a=e[1];return g({states:{currentPage:n,totalPages:5,loading:false},buttonType:t.buttonType,callbacks:{onNext:function(){return a(n+1)},onPrev:function(){return a(n-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:n,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=u.gql(__makeTemplateObject(["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=u.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function q(t){var e,n;var a=t.programId,r=a===void 0?c():a;var o=d();var l=p();var u=s(b);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(u===null||u===void 0?void 0:u.referralCode)!==undefined).data;var y=v(M)[0];var h=v(x)[0];var m=(n=(u===null||u===void 0?void 0:u.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var C=i(false),T=C[0],_=C[1];function w(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!u)return[3,2];return[4,h({referralCode:u.referralCode})];case 1:e.sent();u.refresh();e.label=2;case 2:navigator.clipboard.writeText(m);_(true);setTimeout((function(){return _(false)}),t.tooltiplifespan);y({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:w,open:T,copyString:m,isCopied:u===null||u===void 0?void 0:u.isCopied,showNotificationText:t.showNotificationText&&!!(u===null||u===void 0?void 0:u.singleUse)})}var R=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";this.buttonType="primary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?A(t):q(t);return e(T,Object.assign({},n))};return t}());function A(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return g({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}function O(t){var n=t.slots,a=t.titleText,r=t.states,o=t.textColor,i=o===void 0?"var(--sqm-text-subdued)":o;var s={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:i},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}};var l="\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ";var u=h(s);var c=u.toString();var d=function(t){if(t.noCodes){return n.empty}if(t.loading){return n.loading}return e("div",{class:u.classes.Wrapper},e("div",{class:u.classes.ShareCodeContainer},n.shareCodes),e("div",{class:u.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:u.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},l,c),e("div",{class:u.classes.HeaderContainer},e("h2",{class:u.classes.TitleText},a),!r.noCodes&&!r.loading&&n.pagination),d(r))}var U=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";this.emptyStateHeaderText="Your new codes and links aren’t ready yet";this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.";this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?$(t):C(t);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(D,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:e(N,null)};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e(O,Object.assign({},r))};return t}());function D(t){var n=t.headerText,a=t.descriptionText,r=t.imageUrl;return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:n,emptyStateText:a,emptyStateImage:r}))}function N(){return e("slot",{name:"loading"},e(B,null),e(B,null),e(B,null),e(B,null))}function B(){return e("sl-skeleton",{style:{width:"100%"}})}function $(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e}from"./p-
|
|
1
|
+
import{h as e}from"./p-c7c11325.js";import{b as a,j as r,f as t}from"./p-63e29387.js";import{d,J as l,H as o,L as n,w as s,R as i}from"./p-0ec54f97.js";import{u}from"./p-f5fff87e.js";import{u as c}from"./p-976ee669.js";const m=a("sq:useReferralTable"),f=d.gql`
|
|
2
2
|
query getReferrals(
|
|
3
3
|
$programId: ID
|
|
4
4
|
$rewardFilter: RewardFilterInput
|
|
@@ -230,4 +230,4 @@ import{h as e}from"./p-f708da7b.js";import{b as a,j as r,f as t}from"./p-cd651f8
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
`;function v(a,d,m){var v,w,R,h;const C=l(),
|
|
233
|
+
`;function v(a,d,m){var v,w,R,h;const C=l(),I=o(),F=null!==(v=a.programId)&&void 0!==v?v:I,b=F?"classic"===F?{programId_exists:!1}:{programId_eq:F}:{},T={userId_eq:null==C?void 0:C.id,accountId_eq:null==C?void 0:C.accountId},[$,S]=r(((e,a)=>({...e,...a})),{columns:[],rows:[],loading:!1,page:0}),k=n(),{data:x,loading:M}=s(f,{programId:"classic"===F?null:F,rewardFilter:T,locale:k},!a.showReferrer||!(null==C?void 0:C.jwt)),E=null===(w=null==x?void 0:x.viewer)||void 0===w?void 0:w.referredByReferral,P=a.showReferrer&&!!(null==E?void 0:E.dateReferralStarted),{data:q,loading:U}=s(g,{},!(null==C?void 0:C.jwt)),D=null===(R=null==q?void 0:q.viewer)||void 0===R?void 0:R.impactConnection,{envelope:N,states:_,callbacks:j}=i(p,(e=>{var a;return null===(a=null==e?void 0:e.viewer)||void 0===a?void 0:a.referrals}),{limit:a.perPage,offset:0},{referralFilter:b,rewardFilter:T,locale:k},a.showReferrer&&M&&!x||!(null==C?void 0:C.jwt));t((()=>{0===_.currentPage&&P&&j.setLimit(a.perPage-1)}),[P]),t((()=>{a.showReferrer&&P?(j.setLimit(a.perPage-1),j.setCurrentPage(0)):(j.setLimit(a.perPage),j.setCurrentPage(0))}),[a.showReferrer]);const K=u(),L=null==N?void 0:N.data,V=c();t((()=>{S({loading:!0}),N&&async function(a){const r=a.filter((e=>"loading"!==e.slot&&"empty"!==e.slot)),t=null==r?void 0:r.map((async e=>y(e,(()=>e.renderLabel()))));let d;if(P&&0===_.currentPage){const a=null==r?void 0:r.map((async a=>y(a,(()=>a.renderReferrerCell(E,k,e)))));d=await Promise.all(a)}const l=null==L?void 0:L.map((async a=>{const t=null==r?void 0:r.map((async r=>y(r,(()=>r.renderCell(a,{locale:k,taxConnection:D},e)))));return await Promise.all(t)})),o=l&&[d,...await Promise.all(l)].filter((e=>e));S({rows:o});const n=t&&await Promise.all(t);S({columns:n,loading:!1,page:_.currentPage})}(V)}),[N,V,K]);const B=!(null===(h=null==$?void 0:$.rows)||void 0===h?void 0:h.length)&&!(null==L?void 0:L.length);return{states:{hasNext:_.currentPage<_.pageCount-1,hasPrev:_.currentPage>0,show:_.loading||$.loading||U?"loading":B?"empty":"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!a.hideLabels,prevLabel:a.prevLabel,moreLabel:a.moreLabel},hiddenColumns:a.hiddenColumns,smBreakpoint:a.smBreakpoint,mdBreakpoint:a.mdBreakpoint},elements:{columns:$.columns,rows:$.rows,emptyElement:d,loadingElement:m},callbacks:{nextPage:()=>{0===_.currentPage&&P&&j.setLimit(a.perPage),j.setCurrentPage(_.currentPage+1)},prevPage:()=>{1===_.currentPage&&P&&j.setLimit(a.perPage-1),j.setCurrentPage(_.currentPage-1)}}}}function w(e){try{return JSON.stringify(e)}catch(e){return"An unknown error"}}async function y(a,r){const t=a.tagName.toLowerCase();let d;await customElements.whenDefined(t);try{d=r()}catch(a){return"renderReferrerCell"===r.name?m("column does not have a renderReferrerCell method."):m("label promise failed",a),m("label promise failed",a),e("span",null)}try{return await d}catch(a){m("Error rendering label",a);const r=w(a);return e("details",null,e("summary",null,"Error"),r)}}export{w as g,y as t,v as u}
|