@saasquatch/mint-components 2.0.0-9 → 2.0.1
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/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-1b38dcfc.js} +12 -8
- package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
- package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
- package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +79 -42
- package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1322 -24
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +38 -19
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
- package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
- package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
- package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +8 -32
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
- package/dist/collection/components/views/copy-text-view.js +2 -8
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +12 -8
- package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
- package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
- package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +72 -35
- package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1320 -23
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-form-message.entry.js +9 -5
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -3
- package/dist/esm/sqm-stencilbook.entry.js +38 -19
- package/dist/esm/sqm-tabs.entry.js +1 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -3
- package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
- package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +1 -1
- package/dist/esm-es5/data-acdb790f.js +6 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.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-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.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-16309b22.js → sqm-portal-container-view-176e92e3.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-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-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_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm-es5/utils-334c1e34.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ab79297a.entry.js → p-010957a1.entry.js} +6 -6
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ffc5bce.js → p-0e1a1b14.js} +4 -4
- package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-14e813a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-9fed62f8.system.entry.js → p-18720462.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
- package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/{p-e110688b.entry.js → p-31bba357.entry.js} +2 -2
- package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
- package/dist/mint-components/p-469a6450.system.js +6 -0
- package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
- package/dist/mint-components/{p-7b8cd420.system.entry.js → p-4ce51b1c.system.entry.js} +1 -1
- package/dist/mint-components/p-51a6a779.js +1 -0
- package/dist/mint-components/{p-cb845a3a.system.entry.js → p-56009bf0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
- package/dist/mint-components/{p-0caad0db.entry.js → p-5d059c95.entry.js} +1 -1
- package/dist/mint-components/{p-f370bddc.entry.js → p-60c14cec.entry.js} +1 -1
- package/dist/mint-components/p-6333265f.system.js +1 -0
- package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-6445e926.system.entry.js} +1 -1
- package/dist/mint-components/p-662ed116.system.entry.js +1 -0
- package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
- package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
- package/dist/mint-components/p-6c006998.entry.js +33 -0
- package/dist/mint-components/{p-b1eafaae.entry.js → p-6d9ce4e5.entry.js} +1 -1
- package/dist/mint-components/{p-b703c89f.system.entry.js → p-717b6730.system.entry.js} +1 -1
- package/dist/mint-components/p-720341b1.entry.js +273 -0
- package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
- package/dist/mint-components/p-80569911.system.js +1 -0
- package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
- package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
- package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf22cf56.entry.js → p-8b5b2acc.entry.js} +1 -1
- package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-95b6e903.entry.js +1 -0
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
- package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-c62b277d.system.js → p-9f8d34d1.system.js} +1 -1
- package/dist/mint-components/{p-4250b06d.entry.js → p-a217cc8d.entry.js} +1 -1
- package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
- package/dist/mint-components/{p-61157c6a.entry.js → p-a5c63310.entry.js} +1 -1
- package/dist/mint-components/p-a6f4fb03.system.js +1 -0
- package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
- package/dist/mint-components/p-ac9138fd.entry.js +1 -0
- package/dist/mint-components/{p-3bf5cd51.entry.js → p-aefaec37.entry.js} +1 -1
- package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
- package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
- package/dist/mint-components/{p-06f13966.system.entry.js → p-bec87ac9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
- package/dist/mint-components/p-d2bb770d.system.entry.js +1 -0
- package/dist/mint-components/{p-d4edce6c.system.entry.js → p-d3120982.system.entry.js} +1 -1
- package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
- package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
- package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
- package/dist/mint-components/p-e1e7d01c.js +157 -0
- package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-0d21194c.entry.js → p-ea0bc627.entry.js} +1 -1
- package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
- package/dist/mint-components/{p-2623b232.system.entry.js → p-f401ef19.system.entry.js} +1 -1
- package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/p-fedb9ab8.system.entry.js +1 -0
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -10
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
- package/dist/types/components.d.ts +40 -32
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/data-88adb95b.js +0 -146
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
- package/dist/esm/data-807686c2.js +0 -130
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
- package/dist/esm-es5/data-807686c2.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
- package/dist/esm-es5/utils-84b4b092.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-26468242.js +0 -1
- package/dist/mint-components/p-38263521.entry.js +0 -273
- package/dist/mint-components/p-3d713973.system.entry.js +0 -1
- package/dist/mint-components/p-3ea29bac.system.entry.js +0 -1
- package/dist/mint-components/p-402984b3.system.entry.js +0 -1
- package/dist/mint-components/p-4306a11d.entry.js +0 -33
- package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
- package/dist/mint-components/p-4b9976cc.system.js +0 -1
- package/dist/mint-components/p-60f1cca2.system.js +0 -1
- package/dist/mint-components/p-69d8b4f2.system.entry.js +0 -1
- package/dist/mint-components/p-7837f69e.js +0 -46
- package/dist/mint-components/p-7b8232f8.system.js +0 -6
- package/dist/mint-components/p-8c3c4e92.js +0 -112
- package/dist/mint-components/p-916a2045.system.entry.js +0 -1
- package/dist/mint-components/p-92bed2ad.system.js +0 -1
- package/dist/mint-components/p-a44a912b.entry.js +0 -1
- package/dist/mint-components/p-a597b136.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-be88596c.system.js +0 -1
- package/dist/mint-components/p-ddf3c05e.js +0 -1
- package/dist/mint-components/p-ea063d99.entry.js +0 -1
- package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
- /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
- /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
- /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(n,e){if(Object.defineProperty){Object.defineProperty(n,"raw",{value:e})}else{n.raw=e}return n};var __awaiter=this&&this.__awaiter||function(n,e,t,r){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,o){function a(n){try{c(r.next(n))}catch(n){o(n)}}function u(n){try{c(r["throw"](n))}catch(n){o(n)}}function c(n){n.done?t(n.value):i(n.value).then(a,u)}c((r=r.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(n){return function(e){return c([n,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=e.call(n,t)}catch(n){a=[6,n];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-4f5329a2.system.js","./p-171310d9.system.js"],(function(n){"use strict";var e,t,r,i,o,a,u;return{setters:[function(n){e=n.k;t=n.f},function(n){r=n.d;i=n.J;o=n.$;a=n.g;u=n.w}],execute:function(){n({a:Gn,g:Xn,u:Jn});var c=n("T","sqm:tax-form-updated");var s=function n(e){var t=Array(e.length);for(var r=0;r<e.length;++r){t[r]=e[r]}return t};var f=function n(e,t){return e.filter((function(n){return n===t}))[0]};var d=function n(e){return Array.isArray(e)?e:[e]};var l=function n(e,t){var r=e.tabIndex-t.tabIndex;var i=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||i};var v=function n(e,t,r){return s(e).map((function(n,e){return{node:n,index:e,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(l)};var E=["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="data-focus-lock";var p="data-focus-lock-disabled";var h="data-no-focus-lock";var y="data-autofocus-inside";var I=E.join(",");var g=I+", [data-focus-guard]";var b=function n(e,t){return e.reduce((function(n,e){return n.concat(s(e.querySelectorAll(t?g:I)),e.parentNode?s(e.parentNode.querySelectorAll(E.join(","))).filter((function(n){return n===e})):[])}),[])};var R=function n(e){var t=e.querySelectorAll("["+y+"]");return s(t).map((function(n){return b([n])})).reduce((function(n,e){return n.concat(e)}),[])};var w=function n(e){if(!e||!e.getPropertyValue){return false}return e.getPropertyValue("display")==="none"||e.getPropertyValue("visibility")==="hidden"};var _=function n(e){return!e||e===document||e.nodeType===Node.DOCUMENT_NODE||!w(window.getComputedStyle(e,null))&&n(e.parentNode)};var T=function n(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))};var F=function n(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];t.push(e);if(e.parentNode){n(e.parentNode,t)}return t};var S=function n(e,t){var r=F(e);var i=F(t);for(var o=0;o<r.length;o+=1){var a=r[o];if(i.indexOf(a)>=0){return a}}return false};var D=function n(e){return s(e).filter((function(n){return _(n)})).filter((function(n){return T(n)}))};var A=function n(e,t){return v(D(b(e,t)),true,t)};var N=function n(e){return v(D(b(e)),false)};var O=function n(e){return D(R(e))};var x=function n(e){return e.tagName==="INPUT"&&e.type==="radio"};var C=function n(e,t){return t.filter(x).filter((function(n){return n.name===e.name})).filter((function(n){return n.checked}))[0]||e};var V=function n(e){if(e[0]&&e.length>1){if(x(e[0])&&e[0].name){return C(e[0],e)}}return e[0]};var L=function n(e,t){if(e.length>1){if(x(e[t])&&e[t].name){return e.indexOf(C(e[t],e))}}return t};var U=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol==="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};var H=function n(e){var t=e.length;for(var r=0;r<t;r+=1){var i=function t(i){if(r!==i){if(e[r].contains(e[i])){return{v:n(e.filter((function(n){return n!==e[i]})))}}}};for(var o=0;o<t;o+=1){var a=i(o);if((typeof a==="undefined"?"undefined":U(a))==="object")return a.v}}return e};var k=function n(e){return e.parentNode?n(e.parentNode):e};var P=function n(e){var t=d(e);return t.filter(Boolean).reduce((function(n,e){var t=e.getAttribute(m);n.push.apply(n,t?H(s(k(e).querySelectorAll("["+m+'="'+t+'"]:not(['+p+'="disabled"])'))):[e]);return n}),[])};var M=function n(e){return function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||e.indexOf(n)>=0}};var j=function n(e){return e&&e.dataset&&e.dataset.focusGuard};var B=function n(e){return!j(e)};var q=function n(e,t,r,i,o){var a=e.length;var u=e[0];var c=e[a-1];var s=j(r);if(e.indexOf(r)>=0){return undefined}var f=t.indexOf(r);var d=t.indexOf(i||f);var l=e.indexOf(i);var v=f-d;var E=t.indexOf(u);var m=t.indexOf(c);var p=L(e,0);var h=L(e,a-1);if(f===-1||l===-1){return e.indexOf(o&&o.length?V(o):V(e))}if(!v&&l>=0){return l}if(f<=E&&s&&Math.abs(v)>1){return h}if(f>=E&&s&&Math.abs(v)>1){return p}if(v&&Math.abs(v)>1){return l}if(f<=E){return h}if(f>m){return p}if(v){if(Math.abs(v)>1){return l}return(a+l+v)%a}return undefined};var W=function n(e,t,r){var i=d(e);var o=d(t);var a=i[0];var u=null;o.filter(Boolean).forEach((function(n){u=S(u||n,n)||u;r.filter(Boolean).forEach((function(n){var e=S(a,n);if(e){if(!u||e.contains(u)){u=e}else{u=S(e,u)}}}))}));return u};var Q=function n(e){return e.reduce((function(n,e){return n.concat(O(e))}),[])};var $=function n(e,t){var r=new Map;t.forEach((function(n){return r.set(n.node,n)}));return e.map((function(n){return r.get(n)})).filter(Boolean)};var K=function n(e,t){var r=document&&document.activeElement;var i=P(e).filter(B);var o=W(r||e,e,i);var a=A(i).filter((function(n){var e=n.node;return B(e)}));if(!a[0]){a=N(i).filter((function(n){var e=n.node;return B(e)}));if(!a[0]){return undefined}}var u=A([o]).map((function(n){var e=n.node;return e}));var c=$(u,a);var s=c.map((function(n){var e=n.node;return e}));var f=q(s,u,r,t,s.filter(M(Q(i))));if(f===undefined){return f}return c[f]};var G=function n(e){return e===document.activeElement};var Y=function n(e){return!!f(s(e.querySelectorAll("iframe")),G)};var z=function n(e){var t=document&&document.activeElement;if(!t||t.dataset&&t.dataset.focusGuard){return false}return P(e).reduce((function(n,e){return n||e.contains(t)||Y(e)}),false)};var X=function n(){return document&&s(document.querySelectorAll("["+h+"]")).some((function(n){return n.contains(document.activeElement)}))};var J=function n(e){e.focus();if(e.contentWindow){e.contentWindow.focus()}};var Z=0;var nn=false;var en=function(n,e){var t=K(n,e);if(nn){return}if(t){if(Z>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. "+"See https://github.com/theKashey/focus-lock/#focus-fighting");nn=true;setTimeout((function(){nn=false}),1);return}Z++;J(t.node);Z--}};var tn=0;var rn=null;var on=function n(){return document&&document.activeElement===document.body};var an=function n(){return on()||X()};var un=function n(){var e=false;if(tn){var t=tn;if(!an()){if(t&&!z(t)){e=en(t,rn)}rn=document.activeElement}}return e};var cn=function n(e){return e.filter((function(n){return n})).slice(-1)[0]};var sn=function n(e){tn=e;if(e){un()}};var fn=[];var dn=function n(e){if(sn(cn(fn))){e&&e.preventDefault();return true}return false};var ln=function n(){document.addEventListener("focusin",dn)};var vn=function n(){document.removeEventListener("focusin",dn)};var En={on:function n(e){if(fn.length===0){ln()}if(fn.indexOf(e)<0){fn.push(e);dn()}},off:function n(e){fn=fn.filter((function(n){return n!==e}));dn();if(fn.length===0){vn()}}};
|
|
2
|
-
/**
|
|
3
|
-
* tua-body-scroll-lock v1.2.1
|
|
4
|
-
* (c) 2021 Evinma, BuptStEve
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/var mn=function n(){return typeof window==="undefined"};var pn=function n(e){e=e||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(e);var r=!t&&/(iPhone\sOS)\s([\d_]+)/.test(e);var i=/(Android);?[\s/]+([\d.]+)?/.test(e);var o=r||t;return{ios:o,android:i}};function hn(n){if(mn())return false;if(!n){throw new Error("options must be provided")}var e=false;var t={get passive(){e=true;return}};var r=function n(){};var i="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(i,r,t);window.removeEventListener(i,r,t);var o=n.capture;return e?n:typeof o!=="undefined"?o:false}var yn=0;var In=0;var gn=0;var bn=null;var Rn=false;var wn=[];var _n=hn({passive:false});var Tn=!mn()&&"scrollBehavior"in document.documentElement.style;var Fn=function n(){var e=document.body;var t=Object.assign({},e.style);var r=window.innerWidth-e.clientWidth;e.style.overflow="hidden";e.style.boxSizing="border-box";e.style.paddingRight="".concat(r,"px");return function(){["overflow","boxSizing","paddingRight"].forEach((function(n){e.style[n]=t[n]||""}))}};var Sn=function n(){var e=document.documentElement;var t=document.body;var r=e.scrollTop||t.scrollTop;var i=Object.assign({},e.style);var o=Object.assign({},t.style);e.style.height="100%";e.style.overflow="hidden";t.style.top="-".concat(r,"px");t.style.width="100%";t.style.height="auto";t.style.position="fixed";t.style.overflow="hidden";return function(){e.style.height=i.height||"";e.style.overflow=i.overflow||"";["top","width","height","overflow","position"].forEach((function(n){t.style[n]=o[n]||""}));Tn?window.scrollTo({top:r,behavior:"instant"}):window.scrollTo(0,r)}};var Dn=function n(e){if(!e.cancelable)return;e.preventDefault()};var An=function n(e,t){if(t){var r=t.scrollTop,i=t.scrollLeft,o=t.scrollWidth,a=t.scrollHeight,u=t.clientWidth,c=t.clientHeight;var s=e.targetTouches[0].clientX-gn;var f=e.targetTouches[0].clientY-In;var d=Math.abs(f)>Math.abs(s);var l=f>0&&r===0;var v=s>0&&i===0;var E=s<0&&i+u+1>=o;var m=f<0&&r+c+1>=a;if(d&&(l||m)||!d&&(v||E)){return Dn(e)}}e.stopPropagation();return true};var Nn=function n(e){if(mn())return;if(pn().ios){if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){if(n&&wn.indexOf(n)===-1){n.ontouchstart=function(n){In=n.targetTouches[0].clientY;gn=n.targetTouches[0].clientX};n.ontouchmove=function(e){if(e.targetTouches.length!==1)return;An(e,n)};wn.push(n)}}))}if(!Rn){document.addEventListener("touchmove",Dn,_n);Rn=true}}else if(yn<=0){bn=pn().android?Sn():Fn()}yn+=1};var On=function n(e){if(mn())return;yn-=1;if(yn>0)return;if(!pn().ios&&typeof bn==="function"){bn();return}if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){var e=wn.indexOf(n);if(e!==-1){n.ontouchmove=null;n.ontouchstart=null;wn.splice(e,1)}}))}if(Rn){document.removeEventListener("touchmove",Dn,_n);Rn=false}};var xn="\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";var Cn="\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";var Vn="\n position: static;\n width: 100%;\n height: 100%;\n";var Ln=function(n){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:true;var r=e.rootElementID;if(t){n.style.cssText=Cn;var i=document.createElement("div");i.style.cssText=xn;i.appendChild(n);document.body.appendChild(i);En.on(n);Nn(n)}else{if(!r){throw new Error("rootElementID must be specified in embedded mode")}if(!document.getElementById(r)){throw new Error("rootElementID must point to an existing DOM element")}n.style.cssText=Vn;document.getElementById(r).appendChild(n)}};var Un=function(n){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";return n}({});var Hn=function(n){n["STARTED"]="STARTED";n["SUBMITTED"]="SUBMITTED";n["FINISHED"]="FINISHED";n["CANCELED"]="CANCELED";n["RELOAD_REQUEST"]="RELOAD";return n}({});var kn="veriffFrame";function Pn(n,e){var t;(t=n.contentWindow)===null||t===void 0?void 0:t.postMessage({name:Un.VERIFF_RENDER,payload:e},"*")}function Mn(n){if(n){try{var e=matchMedia("(max-width: 767px), (hover: none)");return e.matches}catch(n){console.error("Error while checking if iframe is mobile",n);return false}}return false}function jn(n,e,t){if(t){var r=new URL(n);var i=r.searchParams;i.set(e,t);r.search=i.toString();return r.toString()}return n}function Bn(){var n=document.createElement("div");n.style.cssText=xn;return n}function qn(n,e,t,r){var i=document.createElement("iframe");i.src=n;i.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;";i.id=kn;if(e){Ln(i,t,r)}else{i.style.cssText=Cn;var o=Bn();o.appendChild(i);document.body.appendChild(o);En.on(i);Nn(i)}return i}function Wn(n){var e=n.url,t=n.lang,r=n.onEvent,i=r===void 0?function(){return}:r,o=n.embedded,a=o===void 0?false:o,u=n.embeddedOptions,c=n.onReload;if(!e){throw new Error("URL is not provided. Please provide a valid Veriff session url.")}var s=Mn(a);function f(){var n=document.getElementById(kn);if(n&&n.parentNode){En.off(n);On(n);var e=n.parentNode.parentNode;var t=n.parentNode;if(a&&!s){e=n.parentNode;t=n}if(e)e.removeChild(t)}else{On()}window.removeEventListener("message",d)}function d(n){var e=document.getElementById(kn);var t="2.3.1";if(n.data===Un.VERIFF_HANDSHAKE){Pn(e,{version:t,isReloadHandled:typeof c==="function",isVeriffIframeMobile:s,embeddedConfigured:a,embedded:s?false:a})}if(n.data===Un.VERIFF_STARTED){i(Hn.STARTED)}if(n.data===Un.VERIFF_CANCELED){f();i(Hn.CANCELED)}if(n.data===Un.VERIFF_SUBMITTED){i(Hn.SUBMITTED)}if(n.data===Un.VERIFF_FINISHED){f();i(Hn.FINISHED)}if(n.data===Un.VERIFF_FORCE_RELOAD){window.location.reload()}if(n.data===Un.VERIFF_RELOAD_REQUEST){if(typeof c==="function"){c()}i(Hn.RELOAD_REQUEST)}}var l=t&&t.length>0?jn(e,"lang",t):e;qn(l,a,u,s);window.addEventListener("message",d);return{close:f}}var Qn=r.gql(__makeTemplateObject(["\n mutation createImpactVerificationSession($user: UserIdInput!) {\n createImpactPublisherIdentityVerificationSession(user: $user) {\n sessionUrl\n }\n }\n"],["\n mutation createImpactVerificationSession($user: UserIdInput!) {\n createImpactPublisherIdentityVerificationSession(user: $user) {\n sessionUrl\n }\n }\n"]));var $n=r.gql(__makeTemplateObject(["\n mutation refreshImpactPublisherFinanceStatus($user: UserIdInput!) {\n refreshImpactPublisherFinanceStatus(user: $user) {\n id\n }\n }\n"],["\n mutation refreshImpactPublisherFinanceStatus($user: UserIdInput!) {\n refreshImpactPublisherFinanceStatus(user: $user) {\n id\n }\n }\n"]));var Kn=n("V","sqm:veriff-updated");function Gn(){var n=this;var e=i(),t=e.id,r=e.accountId;var a=o(Qn),u=a[0],c=a[1],s=c.loading,f=c.errors;var d=o($n),l=d[0],v=d[1],E=v.loading,m=v.errors;var p=function(){return __awaiter(n,void 0,void 0,(function(){var n,e;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,l({user:{id:t,accountId:r}})];case 1:n=i.sent();if(!n||n.message)throw new Error;window.dispatchEvent(new Event(Kn));return[3,3];case 2:e=i.sent();console.error("Failed to initialise Veriff:",e);return[3,3];case 3:return[2]}}))}))};var h=function(){return __awaiter(n,void 0,void 0,(function(){var n,e,i;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,u({user:{id:t,accountId:r}})];case 1:n=o.sent();if(!n||n.message)throw new Error;e=n.createImpactPublisherIdentityVerificationSession.sessionUrl;Wn({url:e,onEvent:function(n){switch(n){case Hn.FINISHED:case Hn.CANCELED:p()}}});return[3,3];case 2:i=o.sent();console.error("Failed to initialise Veriff:",i);return[3,3];case 3:return[2]}}))}))};return{render:h,loading:s||E,errors:f||m}}var Yn=r.gql(__makeTemplateObject(["\n query getUserStatus {\n user: viewer {\n ... on User {\n id\n impactConnection {\n connected\n publisher {\n id\n payoutsAccount {\n hold\n holdReasons\n }\n }\n }\n rewards(limit: 1000) {\n data {\n statuses\n partnerFundsTransfer {\n id\n status\n }\n }\n }\n }\n }\n }\n"],["\n query getUserStatus {\n user: viewer {\n ... on User {\n id\n impactConnection {\n connected\n publisher {\n id\n payoutsAccount {\n hold\n holdReasons\n }\n }\n }\n rewards(limit: 1000) {\n data {\n statuses\n partnerFundsTransfer {\n id\n status\n }\n }\n }\n }\n }\n }\n"]));var zn=r.gql(__makeTemplateObject(["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"],["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"]));function Xn(n){var e,t,r,i,o,a,u,c,s,f,d,l,v,E,m;var p=(t=(e=n.user.impactConnection)===null||e===void 0?void 0:e.publisher)===null||t===void 0?void 0:t.payoutsAccount;var h=(o=(i=(r=n===null||n===void 0?void 0:n.user)===null||r===void 0?void 0:r.rewards)===null||i===void 0?void 0:i.data)===null||o===void 0?void 0:o.find((function(n){return n.statuses.includes("REDEEMED")&&n.partnerFundsTransfer.status==="TRANSFERRED"}));if(!((u=(a=n.user)===null||a===void 0?void 0:a.impactConnection)===null||u===void 0?void 0:u.connected)||!p)return"INFORMATION_REQUIRED";var y=(s=(c=n.user.impactConnection)===null||c===void 0?void 0:c.publisher)===null||s===void 0?void 0:s.currentTaxDocument;if(((f=p.holdReasons)===null||f===void 0?void 0:f.includes("NO_W9_DOCUMENT"))&&!y)return"OVER_W9_THRESHOLD";if((d=p.holdReasons)===null||d===void 0?void 0:d.includes("IDV_CHECK_REQUIRED"))return"VERIFICATION:REQUIRED";if((l=p.holdReasons)===null||l===void 0?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))return"VERIFICATION:INTERNAL";if((v=p.holdReasons)===null||v===void 0?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))return"VERIFICATION:REVIEW";if((E=p.holdReasons)===null||E===void 0?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))return"VERIFICATION:FAILED";if(((m=p.holdReasons)===null||m===void 0?void 0:m.includes("NEW_PAYEE_REVIEW"))&&h)return"ACCOUNT_REVIEW";if(p.hold)return"HOLD";return"DONE"}function Jn(n){var r;var i=a().type;var o=u(Yn,{}),s=o.loading,f=o.data,d=o.errors,l=o.refetch;var v=u(zn,{}).data;var E=Gn(),m=E.render,p=E.loading,h=E.errors;var y=e(undefined),I=y[0],g=y[1];var b=(r=v===null||v===void 0?void 0:v.tenantSettings)===null||r===void 0?void 0:r.enforceUsTaxCompliance;t((function(){if(!f)return;var n=Xn(f);g(n)}),[f]);t((function(){var n=function(){return l()};window.addEventListener(c,n);window.addEventListener(Kn,n);return function(){window.removeEventListener(c,n);window.removeEventListener(Kn,n)}}),[]);var R=function(){var e=n.cashPayoutsPageUrl;if(e.includes("#"))e=e.split("#")[0];if(I==="INFORMATION_REQUIRED")e+="#1";else if(I==="OVER_W9_THRESHOLD"&&b==="CASH_ONLY_DEFER_W9")e+="#3";window.history.pushState(null,"",e)};return{states:{loading:s,veriffLoading:p,status:I,error:!!d,enforceUsTaxComplianceOption:b},data:{type:i},text:n.getTextProps(),callbacks:{onTermsClick:R,onClick:m}}}}}}));
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./p-0ec54f97.js";const t="sq:tax-and-cash",a="sq:tax-form-context",n="sq:user-info-query",i="sq:user-form-context",r="sq:finance-network-settings",s="sq:countries:list",o="sq:countries:sorted",d="sq:countries:query",c="sq:currencies:list",u="sq:currencies:query",l=e.gql`
|
|
2
|
-
query getUserTaxInfo {
|
|
3
|
-
user: viewer {
|
|
4
|
-
... on User {
|
|
5
|
-
id
|
|
6
|
-
firstName
|
|
7
|
-
lastName
|
|
8
|
-
email
|
|
9
|
-
countryCode
|
|
10
|
-
customFields
|
|
11
|
-
rewards(limit: 1000) {
|
|
12
|
-
data {
|
|
13
|
-
statuses
|
|
14
|
-
partnerFundsTransfer {
|
|
15
|
-
id
|
|
16
|
-
status
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
managedIdentity {
|
|
21
|
-
uid
|
|
22
|
-
email
|
|
23
|
-
emailVerified
|
|
24
|
-
}
|
|
25
|
-
impactConnection {
|
|
26
|
-
connected
|
|
27
|
-
user {
|
|
28
|
-
firstName
|
|
29
|
-
lastName
|
|
30
|
-
}
|
|
31
|
-
publisher {
|
|
32
|
-
id
|
|
33
|
-
brandedSignup
|
|
34
|
-
countryCode
|
|
35
|
-
currency
|
|
36
|
-
billingAddress
|
|
37
|
-
billingCity
|
|
38
|
-
billingState
|
|
39
|
-
billingCountryCode
|
|
40
|
-
billingPostalCode
|
|
41
|
-
phoneNumberCountryCode
|
|
42
|
-
phoneNumber
|
|
43
|
-
taxInformation {
|
|
44
|
-
indirectTaxId
|
|
45
|
-
indirectTaxCountryCode
|
|
46
|
-
indirectTaxRegion
|
|
47
|
-
additionalTaxId
|
|
48
|
-
withholdingTaxId
|
|
49
|
-
withholdingTaxCountryCode
|
|
50
|
-
}
|
|
51
|
-
requiredTaxDocumentType
|
|
52
|
-
currentTaxDocument {
|
|
53
|
-
status
|
|
54
|
-
type
|
|
55
|
-
dateCreated
|
|
56
|
-
}
|
|
57
|
-
withdrawalSettings {
|
|
58
|
-
paymentMethod
|
|
59
|
-
paypalEmailAddress
|
|
60
|
-
bankCountry
|
|
61
|
-
bankAccountNumber
|
|
62
|
-
paymentSchedulingType
|
|
63
|
-
paymentThreshold
|
|
64
|
-
paymentDay
|
|
65
|
-
}
|
|
66
|
-
payoutsAccount {
|
|
67
|
-
hold
|
|
68
|
-
holdReasons
|
|
69
|
-
balance
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
`,m=e.gql`
|
|
77
|
-
query getCountries {
|
|
78
|
-
impactPayoutCountries(limit: 1000) {
|
|
79
|
-
data {
|
|
80
|
-
countryCode
|
|
81
|
-
displayName
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
`,y=e.gql`
|
|
86
|
-
query currencies($locale: RSLocale) {
|
|
87
|
-
currencies(limit: 300) {
|
|
88
|
-
data {
|
|
89
|
-
displayName(locale: $locale)
|
|
90
|
-
currencyCode
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
`,p=e.gql`
|
|
95
|
-
query impactFinanceNetworkSettings(
|
|
96
|
-
$filter: ImpactFinanceNetworkSettingsFilterInput
|
|
97
|
-
) {
|
|
98
|
-
impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
|
|
99
|
-
data {
|
|
100
|
-
countryCode
|
|
101
|
-
currency
|
|
102
|
-
defaultFinancePaymentMethodId
|
|
103
|
-
thresholdOptions
|
|
104
|
-
withdrawalSettingId
|
|
105
|
-
internationalEftFee
|
|
106
|
-
foreignFxFee
|
|
107
|
-
defaultFxFee
|
|
108
|
-
}
|
|
109
|
-
totalCount
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
`,C=4;export{c as C,r as F,l as G,o as S,t as T,i as U,a,s as b,n as c,d,m as e,p as f,u as g,y as h,C as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js"],(function(r){"use strict";var o,e,n;return{setters:[function(r){o=r.r;e=r.h},function(r){n=r.n}],execute:function(){var s="sl-alert::part(base){border:var(--sqm-border-thickness) solid;border-radius:var(--sqm-border-radius-normal);font-family:var(--sqm-primary-font)}.Error::part(base){color:var(--sqm-danger-color-text);background-color:var(--sqm-danger-color-background);border-color:var(--sqm-danger-color-border);font-size:14px}.Error #icon{color:var(--sqm-danger-color-icon);font-size:24px}.Warning::part(base){color:var(--sqm-warning-color-text);background-color:var(--sqm-warning-color-background);border-color:var(--sqm-warning-color-border)}.Warning #icon{color:var(--sqm-warning-color-icon);font-size:24px}.Success::part(base){color:var(--sqm-success-color-text);background-color:var(--sqm-success-color-background);border-color:var(--sqm-success-color-border)}.Success #icon{color:var(--sqm-success-color-icon);font-size:24px}.Info::part(base){color:var(--sqm-informative-color-text);background-color:var(--sqm-informative-color-background);border-color:var(--sqm-informative-color-border)}.Info #icon{color:var(--sqm-informative-color-icon);font-size:24px}::slotted(*){margin:0}::slotted(*[part=alert-title]){font-size:16px;font-weight:bold}::slotted(*[part=alert-description]),::slotted(*[part=erroralert-text]){font-size:14px}";var t=r("sqm_form_message",function(){function r(r){o(this,r);this.ignored=true;n(this)}r.prototype.disconnectedCallback=function(){};r.prototype.render=function(){if(this.type==="error"){return e("sl-alert",{exportparts:"base: erroralert-base, icon:erroralert-icon",class:"Error",type:"danger",open:true},e("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"exclamation-octagon")}),e("slot",null))}else if(this.type==="info"){return e("sl-alert",{id:"icon",exportparts:"base: infoalert-base, icon:infoalert-icon",class:"Info",type:"primary",open:true},e("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"info-circle")}),e("slot",null))}else if(this.type==="warning"){return e("sl-alert",{exportparts:"base: warningalert-base, icon:warningalert-icon",class:"Warning",type:"warning",open:true},e("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"exclamation-triangle")}),e("slot",null))}else{return e("sl-alert",{exportparts:"base: successalert-base, icon:successalert-icon",class:"Success",type:"success",open:true},e("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"check2-circle")}),e("slot",null))}};return r}());t.style=s}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-59b028db.system.js","./p-1a673057.system.js"],(function(n){"use strict";var a,t;return{setters:[function(n){a=n.h},function(n){t=n.c}],execute:function(){n({P:i,a:e});function e(n){var e={LabelContainer:{"margin-bottom":n.labelMargin==="none"?n.labelMargin:"var(--sl-spacing-"+n.labelMargin+")"},SectionContainer:{textAlign:n.textAlign||"left",padding:n.padding==="none"?"0":"var(--sl-spacing-"+n.padding+")"}};var i=t(e);var r=i.toString();return a("div",{class:i.classes.SectionContainer,part:"sqm-base"},a("style",{type:"text/css"},r),a("div",{class:i.classes.LabelContainer,part:"sqm-label"},n.label),n.content)}function i(n,e){var i={Container:{boxSizing:"border-box",display:n.display||"grid",flexWrap:n.flexWrap||"wrap","grid-template-columns":n.direction==="row"?"repeat(auto-fill, minmax("+n.minWidth+", auto))":"100%","grid-gap":"var(--sl-spacing-"+n.gap+")",padding:n.padding==="none"?"0":"var(--sl-spacing-"+n.padding+")",maxWidth:n.maxWidth,margin:n.center&&"auto",justifyContent:n.justifyContent,backgroundColor:n.backgroundColor||"inherit"}};var r="\n :host{\n width: 100%;\n display: block;\n }";var s=t(i);var o=s.toString();return a("div",{class:s.classes.Container,part:"sqm-base"},a("style",{type:"text/css"},r,o),e)}}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-c7c11325.js";import{i}from"./p-db1a0db1.js";import{u as r,f as o,n as a}from"./p-63e29387.js";import{M as s,_ as n,J as u,L as h,I as d,S as c,i as m}from"./p-0ec54f97.js";import{c as l}from"./p-c1086930.js";import{g as p}from"./p-6dc742bc.js";import"./p-cef45012.js";import{E as y}from"./p-a513c1a6.js";import{g as f,L as v}from"./p-7a268047.js";import{p as b}from"./p-13f3a647.js";import{T as g,a as x,U as T,C as S,b as w,S as k,c as I,G as P,d as C,e as A,F as N,f as B,g as E,h as V}from"./p-8c3c4e92.js";import{e as q}from"./p-26468242.js";const j=class{constructor(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 working with a US Brand 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_statusTextRequired="Required",this.dashboard_requiredTaxForm="Your payouts are on hold until you submit a {taxFormType} tax form.",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 W-9 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.dashboard_w9RequiredHeader="Your next payout is on hold",this.dashboard_w9RequiredDescription="You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.",this.dashboard_accountReviewHeader="Your account is under review",this.dashboard_accountReviewDescription="This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.",this.dashboard_termsAndConditions="Terms and Conditions",this.dashboard_w9RequiredButtonText="Submit W-9",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.termsAndConditions="Terms and Conditions",this.stateController="{}",a(this)}disconnectedCallback(){}getGeneralStepTextProps(t){const e=p(this);return{...q(e,t),generalErrorTitle:e.generalErrorTitle,generalErrorDescription:e.generalErrorDescription,fieldRequiredError:e.fieldRequiredError,invalidCharacterError:e.invalidCharacterError,fieldInvalidError:e.fieldInvalidError,continueButton:e.continueButton,backButton:e.backButton,cancelButton:e.cancelButton,isPartnerAlertHeader:e.isPartnerAlertHeader,isPartnerAlertDescription:e.isPartnerAlertDescription,loadingErrorAlertHeader:e.loadingErrorAlertHeader,loadingErrorAlertDescription:e.loadingErrorAlertDescription,taxAndPayoutsDescription:e.taxAndPayoutsDescription,searchForCountryText:e.searchForCountryText,formStep:e.formStep,supportLink:e.supportLink}}render(){var t,a;const q=m()?function(t){const[e,i]=d({namespace:g,initialValue:"/1"}),r=b(t.stateController),o=Object.keys(r).reduce(((t,e)=>"sqm-tax-and-cash"===e?{...t,...r[e]}:{...t,[`${e}_stateController`]:r[e]}),{});return l({step:e,setStep:i},t.demoData||o||{},{arrayMerge:(t,e)=>e})}(this):function(){var t,e,i,a,m;const l=n(),p=u(),y=h(),[v,b]=d({namespace:g,initialValue:"/loading"}),[q,j]=d({namespace:x,initialValue:{}}),[L,R]=d({namespace:T,initialValue:{firstName:void 0,lastName:void 0,email:void 0,countryCode:void 0,currency:void 0}}),[F,U]=d({namespace:S,initialValue:[]}),[_,O]=d({namespace:w,initialValue:[]}),[D,G]=d({namespace:k,initialValue:[]}),{data:Y,errors:H}=c({namespace:I,query:P,skip:!p,options:{batch:!1}}),M=(null===(i=null===(e=null===(t=null==Y?void 0:Y.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.countryCode)||L.countryCode;c({namespace:C,query:A,skip:!p});const{data:W}=c({namespace:N,query:B,skip:!p,variables:{filter:function(){var t,e,i;return"/1"===v?{}:"/4"===v?{currency_eq:null===(i=null===(e=null===(t=null==Y?void 0:Y.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.currency}:M?{countryCode_eq:M}:{}}()}}),{data:Q}=c({namespace:E,query:V,skip:!p,variables:{locale:y}}),Z=r((()=>{var t,e;return null===(e=null===(t=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===t?void 0:t.data)||void 0===e?void 0:e.reduce(((t,e)=>{var i,r;const o=null===(r=null===(i=null==Q?void 0:Q.currencies)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((t=>t.currencyCode===e.currency));return o?t.find((t=>t.currencyCode===e.currency))||L.countryCode&&e.countryCode!==M?t:[...t,o]:t}),[])}),[W,M]),z=(null==y?void 0:y.replace("_","-"))||"en",$=(t,e)=>t.displayName<e.displayName?-1:1,K=null===(a=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===a?void 0:a.data,X=r((()=>new Set(null==K?void 0:K.map((t=>t.countryCode)).filter((t=>t)))),[K]),J=["CA","GB","US"],tt=r((()=>Array.from(X).map((t=>f({countryCode:t,locale:z}))).sort($).reduce(((t,e)=>J.includes(e.countryCode)?[e,...t]:[...t,e]),[])),[X]);return o((()=>{tt&&G(tt)}),[tt]),o((()=>{Z&&U(Z)}),[Z]),o((()=>{if(H)b("/error");else if(l&&p&&Y){const t=null==Y?void 0:Y.user;if(!t||"/loading"!==v)return;const e=function(t){var e,i;if(!(null===(e=t.impactConnection)||void 0===e?void 0:e.connected)||!(null===(i=t.impactConnection)||void 0===i?void 0:i.publisher))return"/1";const{requiredTaxDocumentType:r,currentTaxDocument:o,withdrawalSettings:a,brandedSignup:s,payoutsAccount:n}=t.impactConnection.publisher;return r&&!o?n.hold&&n.holdReasons.includes("NO_W9_DOCUMENT")?"/dashboard":"/3":!a&&s?"/4":"/dashboard"}(t);b(e)}}),[l,p,null===(m=null==Y?void 0:Y.user)||void 0===m?void 0:m.email,H]),{step:v,setStep:b,context:q,namespace:s(g),loading:"/loading"===v}}();if(null===(t=this.demoData)||void 0===t?void 0:t.showTextProps){const t=p(this);return e("div",null,null===(a=Object.keys(t))||void 0===a?void 0:a.map((t=>{if("demoData"!==t)return e("div",null,e("b",null,t,":")," ",this[t],e("hr",null))})))}switch(q.step){case"/1":return e("sqm-user-info-form",Object.assign({},this.getGeneralStepTextProps("step1_")));case"/2":return e("sqm-indirect-tax-form",Object.assign({},this.getGeneralStepTextProps("step2_")));case"/3":return e("sqm-docusign-form",Object.assign({},this.getGeneralStepTextProps("step3_")));case"/4":return e("sqm-banking-info-form",Object.assign({},this.getGeneralStepTextProps("step4_")));case"/dashboard":return e("sqm-tax-and-cash-dashboard",Object.assign({},this.getGeneralStepTextProps("dashboard_")));case"/error":return e(y,{loadingErrorAlertHeader:this.loadingErrorAlertHeader,loadingErrorAlertDescription:i.formatMessage({id:"loadingErrorAlertDescription",defaultMessage:this.loadingErrorAlertDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-support@impact.com"},this.supportLink)})})}return e(v,null)}};export{j as sqm_tax_and_cash}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o}from"./p-c7c11325.js";import{n as s}from"./p-63e29387.js";const a=class{constructor(o){r(this,o),this.ignored=!0,s(this)}disconnectedCallback(){}render(){return"error"===this.type?o("sl-alert",{exportparts:"base: erroralert-base, icon:erroralert-icon",class:"Error",type:"danger",open:!0},o("sl-icon",{id:"icon",slot:"icon",name:`${this.icon?this.icon:"exclamation-octagon"}`}),o("slot",null)):"info"===this.type?o("sl-alert",{id:"icon",exportparts:"base: infoalert-base, icon:infoalert-icon",class:"Info",type:"primary",open:!0},o("sl-icon",{id:"icon",slot:"icon",name:`${this.icon?this.icon:"info-circle"}`}),o("slot",null)):"warning"===this.type?o("sl-alert",{exportparts:"base: warningalert-base, icon:warningalert-icon",class:"Warning",type:"warning",open:!0},o("sl-icon",{id:"icon",slot:"icon",name:`${this.icon?this.icon:"exclamation-triangle"}`}),o("slot",null)):o("sl-alert",{exportparts:"base: successalert-base, icon:successalert-icon",class:"Success",type:"success",open:!0},o("sl-icon",{id:"icon",slot:"icon",name:`${this.icon?this.icon:"check2-circle"}`}),o("slot",null))}};a.style="sl-alert::part(base){border:var(--sqm-border-thickness) solid;border-radius:var(--sqm-border-radius-normal);font-family:var(--sqm-primary-font)}.Error::part(base){color:var(--sqm-danger-color-text);background-color:var(--sqm-danger-color-background);border-color:var(--sqm-danger-color-border);font-size:14px}.Error #icon{color:var(--sqm-danger-color-icon);font-size:24px}.Warning::part(base){color:var(--sqm-warning-color-text);background-color:var(--sqm-warning-color-background);border-color:var(--sqm-warning-color-border)}.Warning #icon{color:var(--sqm-warning-color-icon);font-size:24px}.Success::part(base){color:var(--sqm-success-color-text);background-color:var(--sqm-success-color-background);border-color:var(--sqm-success-color-border)}.Success #icon{color:var(--sqm-success-color-icon);font-size:24px}.Info::part(base){color:var(--sqm-informative-color-text);background-color:var(--sqm-informative-color-background);border-color:var(--sqm-informative-color-border)}.Info #icon{color:var(--sqm-informative-color-icon);font-size:24px}::slotted(*){margin:0}::slotted(*[part=alert-title]){font-size:16px;font-weight:bold}::slotted(*[part=alert-description]),::slotted(*[part=erroralert-text]){font-size:14px}";export{a as sqm_form_message}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++){r=arguments[n];for(var s in r)if(Object.prototype.hasOwnProperty.call(r,s))t[s]=r[s]}return t};return __assign.apply(this,arguments)};System.register([],(function(t){"use strict";return{execute:function(){t("e",r);function r(t,r){var n=Object.keys(t).filter((function(t){return t.startsWith(r)}));var e=n.reduce((function(n,e){var s;var i=e.replace(r,"");return __assign(__assign({},n),(s={},s[i]=t[e],s))}),{});return e}}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,e=1,s=arguments.length;e<s;e++){r=arguments[e];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))t[a]=r[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js"],(function(t){"use strict";var r,e,s,a,n,i,o,l;return{setters:[function(t){r=t.h},function(t){e=t.c},function(t){s=t.A;a=t.a;n=t.H;i=t.b;o=t.E},function(t){l=t.T}],execute:function(){t("B",g);var u={Wrapper:s,Column:a,HostBlock:n,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:__assign(__assign({},i),{gap:"var(--sl-spacing-medium)","& > *":{margin:"0 !important"}}),ErrorStyle:o};var p="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var c=e(u);var m=c.toString();function g(t){var e=t.states,s=t.content,a=t.callbacks;return r("div",{class:c.classes.Wrapper},r("style",{type:"text/css"},p,m),r(l,{type:"h3"},s.pageLabel),r("sl-form",{class:c.classes.Column,"onSl-submit":a.handleEmailSubmit,novalidate:true},e.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},t.states.error)),r("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:s.emailLabel||"Email",required:true,validationError:function(t){var r=t.value;if(!r){return s.requiredFieldErrorMessage}if(!r.includes("@")){return s.invalidEmailErrorMessage}}}),r("div",{class:c.classes.ButtonsContainer},r("sl-button",{submit:true,exportparts:"base: primarybutton-base",type:"primary",style:{margin:"0"}},s.submitLabel||"Register"),r("sl-menu-divider",{style:{margin:"0"}}),s.googleButton,s.secondaryButton)))}}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-c7c11325.js";import{c as a}from"./p-cef45012.js";import{A as r,a as s,H as e,b as n,E as o}from"./p-49b20dae.js";import{T as i}from"./p-204861a6.js";const l=a({Wrapper:r,Column:s,HostBlock:e,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:{...n,gap:"var(--sl-spacing-medium)","& > *":{margin:"0 !important"}},ErrorStyle:o}),p=l.toString();function m(a){const{states:r,content:s,callbacks:e}=a;return t("div",{class:l.classes.Wrapper},t("style",{type:"text/css"},"\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n",p),t(i,{type:"h3"},s.pageLabel),t("sl-form",{class:l.classes.Column,"onSl-submit":e.handleEmailSubmit,novalidate:!0},r.error&&t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},a.states.error)),t("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:s.emailLabel||"Email",required:!0,validationError:({value:t})=>t?t.includes("@")?void 0:s.invalidEmailErrorMessage:s.requiredFieldErrorMessage}),t("div",{class:l.classes.ButtonsContainer},t("sl-button",{submit:!0,exportparts:"base: primarybutton-base",type:"primary",style:{margin:"0"}},s.submitLabel||"Register"),t("sl-menu-divider",{style:{margin:"0"}}),s.googleButton,s.secondaryButton)))}export{m as B}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-c7c11325.js";import{k as s,n as i}from"./p-63e29387.js";import{i as a,j as o}from"./p-0ec54f97.js";import{j as r}from"./p-e7e129ac.js";import{c as n}from"./p-c1086930.js";import{c as l}from"./p-cef45012.js";import"./p-49b20dae.js";import"./p-204861a6.js";import{a as m}from"./p-125a894f.js";import{B as c}from"./p-ddf3c05e.js";import{P as h}from"./p-68043f30.js";import"./p-121cdc60.js";import{u as d}from"./p-97dc6863.js";class u extends Error{}function g(t){const[e,i]=s(null),[a,o]=m(),[n,l]=s({mode:"base"});return{showRegistrationForm:n,emailValidationError:e,handleGoogleInit:t=>{var e;if(null===(e=t.detail)||void 0===e?void 0:e.credential)try{const e=function(t,e){if("string"!=typeof t)throw new u("Invalid token specified: must be a string");e||(e={});const s=!0===e.header?0:1,i=t.split(".")[s];if("string"!=typeof i)throw new u(`Invalid token specified: missing part #${s+1}`);let a;try{a=function(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(t){return decodeURIComponent(atob(t).replace(/(.)/g,((t,e)=>{let s=e.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s})))}(e)}catch(t){return atob(e)}}(i)}catch(t){throw new u(`Invalid token specified: invalid base64 for part #${s+1} (${t.message})`)}try{return JSON.parse(a)}catch(t){throw new u(`Invalid token specified: invalid json for part #${s+1} (${t.message})`)}}(t.detail.credential);o({...a,_googleOAuthIdToken:t.detail.credential,initialData:{email:e.email,firstName:e.given_name,lastName:e.family_name}}),l({mode:"google"})}catch(t){console.error("Failed to decode Google Sign In credential JWT:",t)}},handleEmailSubmit:async e=>{const s=e.target.getFormControls();let n={},m=null;s.forEach((e=>{if(e.name&&"/email"===e.name&&(r.set(n,e.name,e.value),e.required&&!e.value&&(m=t.requiredFieldErrorMessage),"function"==typeof e.validationError)){const t=(0,e.validationError)({control:e,key:"email",value:e.value});t&&(m=t)}})),m?i(m):(o({...a,initialData:{...null==a?void 0:a.initialData,...n}}),l({mode:"manual"}))}}}u.prototype.name="InvalidTokenError";const p=class{constructor(e){t(this,e),this.ignored=!0,this.nextPage="/",this.redirectPath="/verifyEmail",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Register",this.loginLabel="Sign in",this.confirmPasswordLabel="Confirm Password",this.confirmPassword=!1,this.disablePasswordValidation=!1,this.hideInputs=!1,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",i(this)}disconnectedCallback(){}render(){const{states:t,callbacks:i,refs:r}=a()?n({states:{error:"",loading:!1,confirmPassword:this.confirmPassword,hideInputs:this.hideInputs||!1,customPasswordField:!1,loginPath:"/login"},callbacks:{handleGoogleInit:()=>{},setShowRegistrationForm:()=>{},submit:async()=>{console.log("submit")},inputFunction:()=>{}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):d(this);const m=l({LoginButton:{"&::part(label)":{padding:"0"}}}),u=m.toString(),{handleGoogleInit:p,handleEmailSubmit:f,showRegistrationForm:b,emailValidationError:w}=a()?function(t){const[e,i]=s({mode:"base"});return n({emailValidationError:!0,handleEmailSubmit:()=>i({mode:"manual"}),showRegistrationForm:e,handleGoogleInit:()=>i({mode:"google"})},t.demoGoogleData||{},{arrayMerge:(t,e)=>e})}(this):g(this),E={formData:e("slot",{name:"formData"}),googleButton:e("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:p}),secondaryButton:e("slot",{name:"secondaryButton"},e("style",null,u),e("span",null,this.loginCTA," ",e("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:()=>o.push(t.loginPath),className:m.classes.LoginButton},this.loginLabel)," ")),terms:e("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};return"base"===b.mode?e(c,{states:{error:w},callbacks:{handleEmailSubmit:f},content:E}):e(h,{states:{...t,emailDisabled:!0,hidePasswords:"google"===b.mode},callbacks:i,content:{...E},refs:r})}};export{p as sqm_portal_google_registration_form}
|
|
@@ -1 +0,0 @@
|
|
|
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,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):i(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-60f1cca2.system.js","./p-115dfc03.system.js","./p-a8645c1b.system.js","./p-57dd28bd.system.js"],(function(e){"use strict";var t,r,n,i,a,o,s,c,l,u,d,f,p,m,v,h,y,_;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;i=e.f;a=e.n},function(e){o=e.d;s=e.J;c=e.I;l=e.p;u=e.X;d=e.i},function(e){f=e.c},function(e){p=e.g},function(e){m=e.p},function(e){v=e.e},function(e){h=e.S;y=e.V;_=e.a}],execute:function(){var g=o.gql(__makeTemplateObject(["\n query checkUserVerification {\n viewer {\n ... on User {\n id\n accountId\n email\n emailVerified\n managedIdentity {\n email\n emailVerified\n }\n }\n }\n }\n"],["\n query checkUserVerification {\n viewer {\n ... on User {\n id\n accountId\n email\n emailVerified\n managedIdentity {\n email\n emailVerified\n }\n }\n }\n }\n"]));function b(){var e=this;var t=s();var r=c({namespace:h,initialValue:false}),a=r[0],o=r[1];var d=c({namespace:y,initialValue:t===null||t===void 0?void 0:t.email}),f=d[0],p=d[1];var m=l(_);var v=n(true),b=v[0],w=v[1];var S=u(g)[0];i((function(){var t=function(){return __awaiter(e,void 0,void 0,(function(){var e,t,r,n,i;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,3,4]);return[4,S({})];case 1:n=a.sent();if(!n||n instanceof Error)throw new Error;if((e=n===null||n===void 0?void 0:n.viewer)===null||e===void 0?void 0:e.emailVerified)m(true);else if((r=(t=n===null||n===void 0?void 0:n.viewer)===null||t===void 0?void 0:t.managedIdentity)===null||r===void 0?void 0:r.emailVerified)m(true);return[3,4];case 2:i=a.sent();console.error("Could not fetch user information:",i);return[3,4];case 3:w(false);return[7];case 4:return[2]}}))}))};t()}),[]);var x=function(){m(true)};return{showCode:a,onVerification:x,loading:b}}var w=e("sqm_widget_verification",function(){function e(e){t(this,e);this.general_verifyEmailHeader="Verify your email";this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup";this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";this.emailStep_sendCodeErrorHeader="There was an error sending your code.";this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.";this.emailStep_emailLabel="Email";this.emailStep_sendCodeText="Send code";this.emailStep_emailValidationErrorText="Please enter a valid email";this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}";this.codeStep_resendCodeLabel="Resend code";this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}";this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.codeStep_verifyText="Verify";this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";this.stateController="{}";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getStepTextProps=function(e){var t=p(this);return v(t,e)};e.prototype.render=function(){var e=d()?S(this):b();if(e.loading)return r("sl-spinner",null);var t=this.getStepTextProps("general_");return r("div",null,r("h3",{style:{fontSize:"24px",margin:"0"}},t.verifyEmailHeader),r("p",{style:{color:"var(--sl-color-neutral-500)",fontSize:"var(--sl-font-size-medium)",margin:"0"}},t.verifyEmailDescription),e.showCode?r("sqm-code-verification",Object.assign({onVerification:e.onVerification},this.getStepTextProps("codeStep_"),v(e,"sqm-code-verification_"))):r("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),v(e,"sqm-email-verification_"))))};return e}());function S(e){var t=c({namespace:h,initialValue:false}),r=t[0],n=t[1];var i=c({namespace:y,initialValue:undefined}),a=i[0],o=i[1];var s=l(_);var u=m(e.stateController);var d=Object.keys(u).reduce((function(e,t){var r;return t==="sqm-widget-verification"?__assign(__assign({},e),u[t]):__assign(__assign({},e),(r={},r[t+"_stateController"]=u[t],r))}),{});var p=function(){s(true)};return f({showCode:r,onVerification:p,loading:false},d||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M0 2C0 0.895431 0.895431 0 2 0H14C15.1046 0 16 0.895431 16 2V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V2Z" fill="currentColor"/>
|
|
3
|
-
<path d="M8.86754 7.23214L12.5378 3H11.6681L8.48117 6.67471L5.93579 3H3L6.84911 8.55681L3 12.9949H3.86979L7.23525 9.11425L9.92336 12.9949H12.8592L8.86732 7.23214H8.86754ZM7.67624 8.60577L7.28624 8.05244L4.18319 3.64951H5.51914L8.02334 7.20281L8.41333 7.75615L11.6685 12.3749H10.3325L7.67624 8.60598V8.60577Z" fill="white"/>
|
|
4
|
-
</svg>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|