@saasquatch/mint-components 2.1.7-2 → 2.1.8-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-72c43888.js → ShadowViewAddon-1d15cdf7.js} +5 -5
- package/dist/cjs/{data-ee577cc1.js → data-8c8a08f6.js} +2 -2
- package/dist/cjs/{global-ab5fc787.js → global-b7b1b8fe.js} +3126 -3177
- package/dist/cjs/{index.module-9d33658c.js → index.module-f8c8495f.js} +146 -153
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-2ebec4aa.js → re-render-72a0ef45.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +399 -58
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +13 -13
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-e5306128.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-a4a9b883.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-5cf03a1f.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-43a20d6f.js → sqm-portal-email-verification-view-c81fe7f1.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-31b1a9d9.js → sqm-portal-profile-view-639337e3.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-c8d9a614.js → sqm-portal-verify-email-view-424e406a.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +14 -14
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-96f0351e.js → sqm-user-info-form-view-53306f6e.js} +2 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +1 -1
- package/dist/cjs/{useChildElements-6b1f61c5.js → useChildElements-041127d7.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-1ba143b1.js → useInstantAccessRegistration-2398df36.js} +2 -2
- package/dist/cjs/{useLeadFormState-eace28b3.js → useLeadFormState-b4c2ab5b.js} +2 -2
- package/dist/cjs/{usePayoutStatus-c812303d.js → usePayoutStatus-0192fccd.js} +1 -1
- package/dist/cjs/{usePortalRegistrationForm-ae89c992.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
- package/dist/cjs/{useReferralCodes-d78c563e.js → useReferralCodes-0f7948af.js} +1 -1
- package/dist/cjs/{useReferralTable-b8414623.js → useReferralTable-6e9de0d5.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-1a8a6507.js → useRegistrationFormState-4fe5b770.js} +1 -1
- package/dist/cjs/{useVerificationEmail-c6363436.js → useVerificationEmail-5d19aa99.js} +1 -1
- package/dist/cjs/{utilities-15548f3e.js → utilities-fcdb9504.js} +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +75 -37
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +688 -13
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +109 -1
- package/dist/esm/{ShadowViewAddon-cb1ee90e.js → ShadowViewAddon-53b9090b.js} +5 -5
- package/dist/esm/{data-32eff0f9.js → data-12e6aae1.js} +2 -2
- package/dist/esm/{global-52a25cf2.js → global-96c14d63.js} +3126 -3177
- package/dist/esm/{index.module-8ba90d99.js → index.module-b23fdad8.js} +147 -152
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-6d98f869.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +399 -58
- package/dist/esm/sqm-big-stat_45.entry.js +13 -13
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-a38ea688.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-e94e861c.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-8e354314.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-b2637296.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-0f1eec15.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-42f7bb1e.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +14 -14
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-1703b56b.js → sqm-user-info-form-view-19d81a2b.js} +2 -2
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/sqm-widget-verification.entry.js +1 -1
- package/dist/esm/{useChildElements-6d7c412e.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-e27f5083.js → useInstantAccessRegistration-69fefed0.js} +2 -2
- package/dist/esm/{useLeadFormState-5a52a0ba.js → useLeadFormState-dd4e8b08.js} +2 -2
- package/dist/esm/{usePayoutStatus-2d5683d8.js → usePayoutStatus-46c0c289.js} +1 -1
- package/dist/esm/{usePortalRegistrationForm-0f11909c.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
- package/dist/esm/{useReferralCodes-2415f732.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm/{useReferralTable-30b590ba.js → useReferralTable-92af4133.js} +3 -3
- package/dist/esm/{useRegistrationFormState-0666533e.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm/{useVerificationEmail-11a52af0.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm/{utilities-e613f25f.js → utilities-77b1e0cc.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-cb1ee90e.js → ShadowViewAddon-53b9090b.js} +1 -1
- package/dist/esm-es5/{data-32eff0f9.js → data-12e6aae1.js} +1 -1
- package/dist/esm-es5/global-96c14d63.js +271 -0
- package/dist/esm-es5/index.module-b23fdad8.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-6d98f869.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-a38ea688.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-e94e861c.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8e354314.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-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-email-verification-view-b2637296.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-0f1eec15.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-42f7bb1e.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-1703b56b.js → sqm-user-info-form-view-19d81a2b.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-6d7c412e.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-e27f5083.js → useInstantAccessRegistration-69fefed0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-5a52a0ba.js → useLeadFormState-dd4e8b08.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-2d5683d8.js → usePayoutStatus-46c0c289.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-0f11909c.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-2415f732.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-30b590ba.js → useReferralTable-92af4133.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-0666533e.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-11a52af0.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm-es5/{utilities-e613f25f.js → utilities-77b1e0cc.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-fb98cee0.entry.js → p-013564b3.entry.js} +1 -1
- package/dist/mint-components/p-02499e08.entry.js +1 -0
- package/dist/mint-components/{p-31b28c8f.system.entry.js → p-027fc3be.system.entry.js} +1 -1
- package/dist/mint-components/{p-86c73bdf.js → p-035d9b65.js} +1 -1
- package/dist/mint-components/{p-cfe751eb.system.js → p-036a2617.system.js} +1 -1
- package/dist/mint-components/{p-f2226e5b.entry.js → p-058aefe1.entry.js} +1 -1
- package/dist/mint-components/{p-f051702e.system.entry.js → p-0706cf9e.system.entry.js} +1 -1
- package/dist/mint-components/{p-b713513d.entry.js → p-09348341.entry.js} +1 -1
- package/dist/mint-components/{p-86c36896.entry.js → p-09f7aacd.entry.js} +2 -2
- package/dist/mint-components/{p-c9829d6e.js → p-0c0d4065.js} +3 -3
- package/dist/mint-components/p-0d83907e.js +1 -0
- package/dist/mint-components/{p-a0af6347.entry.js → p-0e6c90b1.entry.js} +1 -1
- package/dist/mint-components/{p-234b171f.system.js → p-172675ca.system.js} +1 -1
- package/dist/mint-components/p-17b32de7.system.entry.js +1 -0
- package/dist/mint-components/{p-e02e6d8e.system.js → p-19c441b2.system.js} +1 -1
- package/dist/mint-components/{p-9733d6c5.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-90032cd8.entry.js → p-25558a33.entry.js} +2 -2
- package/dist/mint-components/{p-49ccf070.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-473ba636.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
- package/dist/mint-components/p-30c1ef36.system.js +1 -0
- package/dist/mint-components/{p-ec94b3a7.js → p-3286ef38.js} +1 -1
- package/dist/mint-components/{p-1a7c8d21.js → p-3366b81e.js} +2 -2
- package/dist/mint-components/{p-aebd34d3.system.js → p-3adbfd0b.system.js} +2 -2
- package/dist/mint-components/p-3bc62ca6.entry.js +1 -0
- package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
- package/dist/mint-components/{p-9d03498c.system.entry.js → p-5141769d.system.entry.js} +1 -1
- package/dist/mint-components/{p-7e3ef4dd.entry.js → p-52674798.entry.js} +1 -1
- package/dist/mint-components/{p-d9652c39.system.entry.js → p-54ea8b9b.system.entry.js} +1 -1
- package/dist/mint-components/{p-980136ca.entry.js → p-55676213.entry.js} +1 -1
- package/dist/mint-components/p-5b1d2866.system.js +1 -0
- package/dist/mint-components/{p-0d4888ab.system.entry.js → p-5b871e38.system.entry.js} +1 -1
- package/dist/mint-components/p-5c4ba8a0.entry.js +1 -0
- package/dist/mint-components/{p-4a6584bd.system.entry.js → p-5ce78407.system.entry.js} +1 -1
- package/dist/mint-components/{p-e6d2da4a.entry.js → p-5ff7b000.entry.js} +1 -1
- package/dist/mint-components/{p-b39f5ac8.entry.js → p-61897e72.entry.js} +1 -1
- package/dist/mint-components/{p-2b500e23.system.entry.js → p-626b31cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-356e21e5.js → p-642f2c89.js} +1 -1
- package/dist/mint-components/{p-bd37467f.entry.js → p-653db72e.entry.js} +1 -1
- package/dist/mint-components/{p-4180348b.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-2b4344cb.system.js → p-692e14c5.system.js} +1 -1
- package/dist/mint-components/{p-fdfef4b0.js → p-6c4ad51a.js} +1 -1
- package/dist/mint-components/{p-d798a676.entry.js → p-6e512063.entry.js} +1 -1
- package/dist/mint-components/{p-07a23d1e.system.entry.js → p-70570e4d.system.entry.js} +1 -1
- package/dist/mint-components/{p-6143cba9.js → p-7161e1a6.js} +1 -1
- package/dist/mint-components/p-7265bbcb.system.js +271 -0
- package/dist/mint-components/{p-974ec817.system.entry.js → p-738dce27.system.entry.js} +1 -1
- package/dist/mint-components/{p-ffb58369.system.js → p-77b9cde8.system.js} +1 -1
- package/dist/mint-components/{p-95f684b0.entry.js → p-77fa2383.entry.js} +1 -1
- package/dist/mint-components/{p-f5491692.system.entry.js → p-782af7ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-73d58f8c.system.js → p-7b59e13c.system.js} +1 -1
- package/dist/mint-components/p-7d16ee0e.entry.js +108 -0
- package/dist/mint-components/p-7efb8782.system.js +1 -0
- package/dist/mint-components/{p-3bb8129c.system.js → p-807ed3bf.system.js} +1 -1
- package/dist/mint-components/{p-4513c967.system.entry.js → p-80e116ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-95d2832e.system.js → p-85721089.system.js} +1 -1
- package/dist/mint-components/{p-1dc2531d.system.js → p-8583ce0c.system.js} +1 -1
- package/dist/mint-components/{p-c0d3046c.entry.js → p-8f2d03c7.entry.js} +2 -2
- package/dist/mint-components/{p-ab5c9c50.system.entry.js → p-90833864.system.entry.js} +1 -1
- package/dist/mint-components/p-91a96e98.entry.js +1 -0
- package/dist/mint-components/{p-43d7e25b.entry.js → p-95510f27.entry.js} +1 -1
- package/dist/mint-components/{p-2a1e5cea.entry.js → p-982d1f6f.entry.js} +2 -2
- package/dist/mint-components/{p-0e216006.system.js → p-a0c5631b.system.js} +1 -1
- package/dist/mint-components/{p-57885487.js → p-a4f8abad.js} +1 -1
- package/dist/mint-components/{p-cd0fe00d.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
- package/dist/mint-components/{p-266ab4eb.system.entry.js → p-ab0ea688.system.entry.js} +1 -1
- package/dist/mint-components/{p-adcc3c9a.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
- package/dist/mint-components/{p-75f9bd55.entry.js → p-b2b85238.entry.js} +1 -1
- package/dist/mint-components/{p-6607998b.entry.js → p-b395470f.entry.js} +1 -1
- package/dist/mint-components/{p-979aef8a.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-28d44f6b.js → p-bab4929e.js} +2 -2
- package/dist/mint-components/{p-f08e25e6.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/{p-94e91de7.system.entry.js → p-c30d0049.system.entry.js} +1 -1
- package/dist/mint-components/{p-c406455b.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/{p-e7a04b2c.system.entry.js → p-c67f8558.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0ad48c6.entry.js → p-c8a8d231.entry.js} +2 -2
- package/dist/mint-components/{p-8f27f0a3.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -0
- package/dist/mint-components/{p-e3240742.entry.js → p-cb0a5990.entry.js} +1 -1
- package/dist/mint-components/{p-94330c2a.system.entry.js → p-d005df28.system.entry.js} +1 -1
- package/dist/mint-components/p-d0993bb9.js +1 -0
- package/dist/mint-components/p-d18dedd4.js +1 -0
- package/dist/mint-components/{p-0c044117.entry.js → p-d4570314.entry.js} +1 -1
- package/dist/mint-components/p-d6193876.system.js +1 -0
- package/dist/mint-components/{p-28001794.js → p-d997001a.js} +1 -1
- package/dist/mint-components/{p-366caa9f.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/{p-35e8f965.system.entry.js → p-dd368927.system.entry.js} +1 -1
- package/dist/mint-components/{p-a3f545d5.js → p-de0d6fd7.js} +3 -3
- package/dist/mint-components/{p-00319fef.entry.js → p-de7bb373.entry.js} +1 -1
- package/dist/mint-components/{p-53d64ee3.js → p-e00ec007.js} +1 -1
- package/dist/mint-components/{p-4e30fa14.system.entry.js → p-e12754f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2862581.system.entry.js → p-e3497e0e.system.entry.js} +1 -1
- package/dist/mint-components/p-e4f17c21.system.js +1 -0
- package/dist/mint-components/{p-7fe4b989.entry.js → p-e5ea43b1.entry.js} +2 -2
- package/dist/mint-components/{p-44f5d470.js → p-e6240c72.js} +1 -1
- package/dist/mint-components/{p-6c903a59.js → p-e6ace3ab.js} +1 -1
- package/dist/mint-components/{p-c82c7a24.js → p-e84b874c.js} +1 -1
- package/dist/mint-components/{p-8007fadd.system.entry.js → p-e9258d20.system.entry.js} +1 -1
- package/dist/mint-components/{p-f583e90c.js → p-e980472a.js} +1 -1
- package/dist/mint-components/{p-b63ed655.system.js → p-ea03e50e.system.js} +1 -1
- package/dist/mint-components/{p-566b2e16.entry.js → p-ec0b649a.entry.js} +1 -1
- package/dist/mint-components/{p-56cc925f.entry.js → p-f0baeed0.entry.js} +1 -1
- package/dist/mint-components/{p-6e1fb6c5.system.entry.js → p-f1374258.system.entry.js} +1 -1
- package/dist/mint-components/{p-da549c7e.system.js → p-f35d856a.system.js} +1 -1
- package/dist/mint-components/{p-452b38fd.system.entry.js → p-f39cf252.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc0de1ba.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
- package/dist/mint-components/{p-150b29bd.system.js → p-f55ecf35.system.js} +1 -1
- package/dist/mint-components/p-f581aac7.js +1 -0
- package/dist/mint-components/{p-16fdec57.js → p-f8a09b0f.js} +152 -152
- package/dist/mint-components/{p-05671529.system.entry.js → p-fbe00c97.system.entry.js} +1 -1
- package/dist/mint-components/{p-251061ac.system.entry.js → p-fc284f91.system.entry.js} +1 -1
- package/dist/mint-components/{p-be3aba12.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
- package/dist/mint-components/p-fe70e20c.entry.js +1 -0
- package/dist/mint-components/{p-cdf37d29.system.js → p-ff118a19.system.js} +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +165 -0
- package/dist/types/components.d.ts +240 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/global-52a25cf2.js +0 -285
- package/dist/esm-es5/index.module-8ba90d99.js +0 -1
- package/dist/mint-components/p-0815a612.entry.js +0 -1
- package/dist/mint-components/p-09cb5c1c.js +0 -1
- package/dist/mint-components/p-1289b9f2.system.js +0 -1
- package/dist/mint-components/p-30b7d2ee.entry.js +0 -1
- package/dist/mint-components/p-399a9cff.entry.js +0 -1
- package/dist/mint-components/p-3d6f55c5.system.js +0 -1
- package/dist/mint-components/p-48421440.js +0 -1
- package/dist/mint-components/p-4fdb677d.system.entry.js +0 -1
- package/dist/mint-components/p-53f78339.system.entry.js +0 -1
- package/dist/mint-components/p-645074fb.entry.js +0 -1
- package/dist/mint-components/p-8c490639.js +0 -1
- package/dist/mint-components/p-99c505b3.system.js +0 -1
- package/dist/mint-components/p-ab2f1ee7.entry.js +0 -1
- package/dist/mint-components/p-c49108fb.system.js +0 -1
- package/dist/mint-components/p-d1faf170.system.js +0 -1
- package/dist/mint-components/p-d7751b2c.js +0 -1
- package/dist/mint-components/p-dde4a162.entry.js +0 -106
- package/dist/mint-components/p-ebceb45c.system.js +0 -285
- package/dist/mint-components/p-f395bf09.system.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-083180bf.js";import{i as a}from"./p-
|
|
1
|
+
import{h as e}from"./p-083180bf.js";import{i as a}from"./p-f8a09b0f.js";import{j as l,a as o}from"./p-cef45012.js";l.setup(o());const r=l.createStyleSheet({ErrorStyle:{"&::part(control)":{borderColor:"var(--sl-color-danger-500)",outline:"var(--sl-color-danger-500)"},"&:host":{"--focus-ring":"0 0 0 var(--sl-focus-ring-width) red !important"}},ErrorMessageStyle:{margin:0,marginTop:"5px",color:"var(--sl-color-danger-500)",fontSize:"var(--sl-input-help-text-font-size-medium)",fontFamily:"var(--sl-font-sans)",fontWeight:"var(--sl-font-weight-normal)"},FieldContainer:{"margin-bottom":"var(--sl-spacing-large)"}}),n=r.toString();function t(l){var o,t,s,i,c;const{states:d,content:b}=l,p=null===(o=null==d?void 0:d.leadFormState)||void 0===o?void 0:o.validationErrors,v=({checkboxLabel:e})=>a.formatMessage({id:`requiredFieldErrorMessage-${e}`,defaultMessage:b.errorMessage},{checkboxLabel:e});return e("div",{class:r.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\nsl-checkbox::part(label){\n font-size: var(--sl-input-label-font-size-small);\n font-weight: var(--sl-font-weight-normal);\n line-height: 20px;\n}\nsl-checkbox::part(base){\n align-items: start;\n}\n",n),e("sl-checkbox",Object.assign({exportparts:"label: input-label, base: input-base",name:`/${b.checkboxName}`,"onSl-change":e=>{e.target.value=e.target.checked}},b.checkboxOptional?[]:{required:!1},{disabled:(null===(t=d.leadFormState)||void 0===t?void 0:t.loading)||(null===(s=d.leadFormState)||void 0===s?void 0:s.disabled),validationError:({value:e})=>{if(!e&&!b.checkboxOptional)return v({checkboxLabel:b.checkboxLabel})}},(null===(c=null===(i=d.leadFormState)||void 0===i?void 0:i.validationErrors)||void 0===c?void 0:c[b.checkboxName])?{class:r.classes.ErrorStyle}:[]),a.formatMessage({id:b.checkboxName+"-message",defaultMessage:b.checkboxLabel},{labelLink:e("a",{href:b.checkboxLabelLink,target:"_blank"},b.checkboxLabelLinkText||b.checkboxLabelLink)})),(null==p?void 0:p[b.checkboxName])&&e("p",{class:r.classes.ErrorMessageStyle},v({checkboxLabel:b.checkboxLabel})))}export{t as L}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-
|
|
1
|
+
import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-d0993bb9.js";const t=e.gql`
|
|
2
2
|
query userLookup {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -45,4 +45,4 @@ import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}fr
|
|
|
45
45
|
accessKey
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
`;function d(){const e=o(),[d,v]=i(null),[m,f]=i({participant:!1,impact:!1}),[p]=n(t),[E,{loading:I,errors:y}]=s(a),[$,{loading:h,errors:w}]=s(l),U=I||h,
|
|
48
|
+
`;function d(){const e=o(),[d,v]=i(null),[m,f]=i({participant:!1,impact:!1}),[p]=n(t),[E,{loading:I,errors:y}]=s(a),[$,{loading:h,errors:w}]=s(l),U=I||h,b=y||w,[g,{loading:C,errors:q}]=s(u),[A,{loading:F,errors:P}]=s(c),V=C||F,j=q||P,[k,K]=i(!1);return r((()=>{k||(async()=>{var i,r,e,o,n,s,t,a;try{const l=await p({});if(!l||l instanceof Error)throw new Error;f({participant:!!(null===(i=null==l?void 0:l.viewer)||void 0===i?void 0:i.email),impact:!!(null===(o=null===(e=null===(r=null==l?void 0:l.viewer)||void 0===r?void 0:r.impactConnection)||void 0===e?void 0:e.user)||void 0===o?void 0:o.email)}),v((null===(t=null===(s=null===(n=null==l?void 0:l.viewer)||void 0===n?void 0:n.impactConnection)||void 0===s?void 0:s.user)||void 0===t?void 0:t.email)||(null===(a=null==l?void 0:l.viewer)||void 0===a?void 0:a.email)||null),K(!0)}catch(i){console.error("Could not initialise verification",i)}})()}),[]),{initialized:k,verificationEmail:d,send:[async()=>{let i=null;if(!k)return i;if(!m.participant&&!m.impact)return i;try{const r=m.impact?$:E,o=await r({user:{id:e.id,accountId:e.accountId}});if(o instanceof Error||!o)throw new Error;i=m.impact?o.requestImpactPublisherEmail2FA:o.requestUserEmailVerification}catch(i){console.error("Could not send verification email",i)}finally{return i}},{loading:U,errors:b}],verify:[async i=>{var r;let o=null;if(!k)return o;if(!m.participant&&!m.impact)return o;try{const n=m.impact?A:g,s=await n({user:{id:e.id,accountId:e.accountId},code:i});if(s instanceof Error||!s)throw new Error;o={success:!0,accessKey:m.impact?null===(r=s.submitImpactPublisherEmail2FACode)||void 0===r?void 0:r.accessKey:void 0}}catch(i){console.error("Could not verify email",i)}finally{return o}},{loading:V,errors:j}]}}export{d as u}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 o(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,i){function a(n){try{
|
|
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 o(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,i){function a(n){try{c(r.next(n))}catch(n){i(n)}}function u(n){try{c(r["throw"](n))}catch(n){i(n)}}function c(n){n.done?t(n.value):o(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(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,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,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=e.call(n,t)}catch(n){a=[6,n];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(n){"use strict";var e,t,r,o,i,a,u;return{setters:[function(n){e=n.k;t=n.f},function(n){r=n.d;o=n.J;i=n.$;a=n.g;u=n.w}],execute:function(){n({a:$n,g:zn,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 d=function n(e,t){return e.filter((function(n){return n===t}))[0]};var f=function n(e){return Array.isArray(e)?e:[e]};var l=function n(e,t){var r=e.tabIndex-t.tabIndex;var o=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||o};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 h="data-focus-lock";var m="data-focus-lock-disabled";var p="data-no-focus-lock";var I="data-autofocus-inside";var y=E.join(",");var _=y+", [data-focus-guard]";var g=function n(e,t){return e.reduce((function(n,e){return n.concat(s(e.querySelectorAll(t?_:y)),e.parentNode?s(e.parentNode.querySelectorAll(E.join(","))).filter((function(n){return n===e})):[])}),[])};var R=function n(e){var t=e.querySelectorAll("["+I+"]");return s(t).map((function(n){return g([n])})).reduce((function(n,e){return n.concat(e)}),[])};var T=function n(e){if(!e||!e.getPropertyValue){return false}return e.getPropertyValue("display")==="none"||e.getPropertyValue("visibility")==="hidden"};var b=function n(e){return!e||e===document||e.nodeType===Node.DOCUMENT_NODE||!T(window.getComputedStyle(e,null))&&n(e.parentNode)};var w=function n(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))};var A=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 N=function n(e,t){var r=A(e);var o=A(t);for(var i=0;i<r.length;i+=1){var a=r[i];if(o.indexOf(a)>=0){return a}}return false};var S=function n(e){return s(e).filter((function(n){return b(n)})).filter((function(n){return w(n)}))};var F=function n(e,t){return v(S(g(e,t)),true,t)};var D=function n(e){return v(S(g(e)),false)};var O=function n(e){return S(R(e))};var C=function n(e){return e.tagName==="INPUT"&&e.type==="radio"};var V=function n(e,t){return t.filter(C).filter((function(n){return n.name===e.name})).filter((function(n){return n.checked}))[0]||e};var x=function n(e){if(e[0]&&e.length>1){if(C(e[0])&&e[0].name){return V(e[0],e)}}return e[0]};var L=function n(e,t){if(e.length>1){if(C(e[t])&&e[t].name){return e.indexOf(V(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 M=function n(e){var t=e.length;for(var r=0;r<t;r+=1){var o=function t(o){if(r!==o){if(e[r].contains(e[o])){return{v:n(e.filter((function(n){return n!==e[o]})))}}}};for(var i=0;i<t;i+=1){var a=o(i);if((typeof a==="undefined"?"undefined":U(a))==="object")return a.v}}return e};var H=function n(e){return e.parentNode?n(e.parentNode):e};var P=function n(e){var t=f(e);return t.filter(Boolean).reduce((function(n,e){var t=e.getAttribute(h);n.push.apply(n,t?M(s(H(e).querySelectorAll("["+h+'="'+t+'"]:not(['+m+'="disabled"])'))):[e]);return n}),[])};var k=function n(e){return function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||e.indexOf(n)>=0}};var B=function n(e){return e&&e.dataset&&e.dataset.focusGuard};var W=function n(e){return!B(e)};var j=function n(e,t,r,o,i){var a=e.length;var u=e[0];var c=e[a-1];var s=B(r);if(e.indexOf(r)>=0){return undefined}var d=t.indexOf(r);var f=t.indexOf(o||d);var l=e.indexOf(o);var v=d-f;var E=t.indexOf(u);var h=t.indexOf(c);var m=L(e,0);var p=L(e,a-1);if(d===-1||l===-1){return e.indexOf(i&&i.length?x(i):x(e))}if(!v&&l>=0){return l}if(d<=E&&s&&Math.abs(v)>1){return p}if(d>=E&&s&&Math.abs(v)>1){return m}if(v&&Math.abs(v)>1){return l}if(d<=E){return p}if(d>h){return m}if(v){if(Math.abs(v)>1){return l}return(a+l+v)%a}return undefined};var q=function n(e,t,r){var o=f(e);var i=f(t);var a=o[0];var u=null;i.filter(Boolean).forEach((function(n){u=N(u||n,n)||u;r.filter(Boolean).forEach((function(n){var e=N(a,n);if(e){if(!u||e.contains(u)){u=e}else{u=N(e,u)}}}))}));return u};var Y=function n(e){return e.reduce((function(n,e){return n.concat(O(e))}),[])};var K=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 Q=function n(e,t){var r=document&&document.activeElement;var o=P(e).filter(W);var i=q(r||e,e,o);var a=F(o).filter((function(n){var e=n.node;return W(e)}));if(!a[0]){a=D(o).filter((function(n){var e=n.node;return W(e)}));if(!a[0]){return undefined}}var u=F([i]).map((function(n){var e=n.node;return e}));var c=K(u,a);var s=c.map((function(n){var e=n.node;return e}));var d=j(s,u,r,t,s.filter(k(Y(o))));if(d===undefined){return d}return c[d]};var $=function n(e){return e===document.activeElement};var G=function n(e){return!!d(s(e.querySelectorAll("iframe")),$)};var X=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)||G(e)}),false)};var z=function n(){return document&&s(document.querySelectorAll("["+p+"]")).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=Q(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()||z()};var un=function n(){var e=false;if(tn){var t=tn;if(!an()){if(t&&!X(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 dn=[];var fn=function n(e){if(sn(cn(dn))){e&&e.preventDefault();return true}return false};var ln=function n(){document.addEventListener("focusin",fn)};var vn=function n(){document.removeEventListener("focusin",fn)};var En={on:function n(e){if(dn.length===0){ln()}if(dn.indexOf(e)<0){dn.push(e);fn()}},off:function n(e){dn=dn.filter((function(n){return n!==e}));fn();if(dn.length===0){vn()}}};
|
|
2
2
|
/**
|
|
3
3
|
* tua-body-scroll-lock v1.2.1
|
|
4
4
|
* (c) 2021 Evinma, BuptStEve
|
|
5
5
|
* @license MIT
|
|
6
|
-
*/var hn=function n(){return typeof window==="undefined"};var mn=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 o=/(Android);?[\s/]+([\d.]+)?/.test(e);var i=r||t;return{ios:i,android:o}};function pn(n){if(hn())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 o="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(o,r,t);window.removeEventListener(o,r,t);var i=n.capture;return e?n:typeof i!=="undefined"?i:false}var In=0;var yn=0;var _n=0;var gn=null;var Rn=false;var Tn=[];var bn=pn({passive:false});var wn=!hn()&&"scrollBehavior"in document.documentElement.style;var An=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 Nn=function n(){var e=document.documentElement;var t=document.body;var r=e.scrollTop||t.scrollTop;var o=Object.assign({},e.style);var i=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=o.height||"";e.style.overflow=o.overflow||"";["top","width","height","overflow","position"].forEach((function(n){t.style[n]=i[n]||""}));wn?window.scrollTo({top:r,behavior:"instant"}):window.scrollTo(0,r)}};var Sn=function n(e){if(!e.cancelable)return;e.preventDefault()};var Fn=function n(e,t){if(t){var r=t.scrollTop,o=t.scrollLeft,i=t.scrollWidth,a=t.scrollHeight,u=t.clientWidth,s=t.clientHeight;var c=e.targetTouches[0].clientX-_n;var d=e.targetTouches[0].clientY-yn;var f=Math.abs(d)>Math.abs(c);var l=d>0&&r===0;var v=c>0&&o===0;var E=c<0&&o+u+1>=i;var h=d<0&&r+s+1>=a;if(f&&(l||h)||!f&&(v||E)){return Sn(e)}}e.stopPropagation();return true};var Dn=function n(e){if(hn())return;if(mn().ios){if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){if(n&&Tn.indexOf(n)===-1){n.ontouchstart=function(n){yn=n.targetTouches[0].clientY;_n=n.targetTouches[0].clientX};n.ontouchmove=function(e){if(e.targetTouches.length!==1)return;Fn(e,n)};Tn.push(n)}}))}if(!Rn){document.addEventListener("touchmove",Sn,bn);Rn=true}}else if(In<=0){gn=mn().android?Nn():An()}In+=1};var On=function n(e){if(hn())return;In-=1;if(In>0)return;if(!mn().ios&&typeof gn==="function"){gn();return}if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){var e=Tn.indexOf(n);if(e!==-1){n.ontouchmove=null;n.ontouchstart=null;Tn.splice(e,1)}}))}if(Rn){document.removeEventListener("touchmove",Sn,bn);Rn=false}};var Cn="\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 Vn="\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 xn="\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=Vn;var o=document.createElement("div");o.style.cssText=Cn;o.appendChild(n);document.body.appendChild(o);En.on(n);Dn(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=xn;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 Mn=function(n){n["STARTED"]="STARTED";n["SUBMITTED"]="SUBMITTED";n["FINISHED"]="FINISHED";n["CANCELED"]="CANCELED";n["RELOAD_REQUEST"]="RELOAD";return n}({});var Hn="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 kn(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 Bn(n,e,t){if(t){var r=new URL(n);var o=r.searchParams;o.set(e,t);r.search=o.toString();return r.toString()}return n}function Wn(){var n=document.createElement("div");n.style.cssText=Cn;return n}function jn(n,e,t,r){var o=document.createElement("iframe");o.src=n;o.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;";o.id=Hn;if(e){Ln(o,t,r)}else{o.style.cssText=Vn;var i=Wn();i.appendChild(o);document.body.appendChild(i);En.on(o);Dn(o)}return o}function qn(n){var e=n.url,t=n.lang,r=n.onEvent,o=r===void 0?function(){return}:r,i=n.embedded,a=i===void 0?false:i,u=n.embeddedOptions,s=n.onReload;if(!e){throw new Error("URL is not provided. Please provide a valid Veriff session url.")}var c=kn(a);function d(){var n=document.getElementById(Hn);if(n&&n.parentNode){En.off(n);On(n);var e=n.parentNode.parentNode;var t=n.parentNode;if(a&&!c){e=n.parentNode;t=n}if(e)e.removeChild(t)}else{On()}window.removeEventListener("message",f)}function f(n){var e=document.getElementById(Hn);var t="2.3.1";if(n.data===Un.VERIFF_HANDSHAKE){Pn(e,{version:t,isReloadHandled:typeof s==="function",isVeriffIframeMobile:c,embeddedConfigured:a,embedded:c?false:a})}if(n.data===Un.VERIFF_STARTED){o(Mn.STARTED)}if(n.data===Un.VERIFF_CANCELED){d();o(Mn.CANCELED)}if(n.data===Un.VERIFF_SUBMITTED){o(Mn.SUBMITTED)}if(n.data===Un.VERIFF_FINISHED){d();o(Mn.FINISHED)}if(n.data===Un.VERIFF_FORCE_RELOAD){window.location.reload()}if(n.data===Un.VERIFF_RELOAD_REQUEST){if(typeof s==="function"){s()}o(Mn.RELOAD_REQUEST)}}var l=t&&t.length>0?Bn(e,"lang",t):e;jn(l,a,u,c);window.addEventListener("message",f);return{close:d}}var Yn=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 Kn=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 Qn=n("V","sqm:veriff-updated");function $n(){var n=this;var e=o(),t=e.id,r=e.accountId;var a=i(Yn),u=a[0],s=a[1],c=s.loading,d=s.errors;var f=i(Kn),l=f[0],v=f[1],E=v.loading,h=v.errors;var m=function(){return __awaiter(n,void 0,void 0,(function(){var n,e;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,l({user:{id:t,accountId:r}})];case 1:n=o.sent();if(!n||n.message)throw new Error;window.dispatchEvent(new Event(Qn));return[3,3];case 2:e=o.sent();console.error("Failed to initialise Veriff:",e);return[3,3];case 3:return[2]}}))}))};var p=function(){return __awaiter(n,void 0,void 0,(function(){var n,e,o;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,u({user:{id:t,accountId:r}})];case 1:n=i.sent();if(!n||n.message)throw new Error;e=n.createImpactPublisherIdentityVerificationSession.sessionUrl;qn({url:e,onEvent:function(n){switch(n){case Mn.FINISHED:case Mn.CANCELED:m()}}});return[3,3];case 2:o=i.sent();console.error("Failed to initialise Veriff:",o);return[3,3];case 3:return[2]}}))}))};return{render:p,loading:c||E,errors:d||h}}var Gn=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 dateScheduled\n dateCreated\n dateTransferred\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 dateScheduled\n dateCreated\n dateTransferred\n }\n }\n }\n }\n }\n }\n"]));var Xn=r.gql(__makeTemplateObject(["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"],["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"]));function zn(n){var e,t,r,o,i,a,u,s,c,d,f,l,v,E,h,m,p,I,y,_,g,R;var T=(t=(e=n.user.impactConnection)===null||e===void 0?void 0:e.publisher)===null||t===void 0?void 0:t.payoutsAccount;var b=(i=(o=(r=n===null||n===void 0?void 0:n.user)===null||r===void 0?void 0:r.rewards)===null||o===void 0?void 0:o.data)===null||i===void 0?void 0:i.find((function(n){var e;return n.statuses.includes("REDEEMED")&&((e=n.partnerFundsTransfer)===null||e===void 0?void 0:e.status)==="TRANSFERRED"}));if(!((u=(a=n.user)===null||a===void 0?void 0:a.impactConnection)===null||u===void 0?void 0:u.connected)||!T)return"INFORMATION_REQUIRED";var w=(c=(s=n.user.impactConnection)===null||s===void 0?void 0:s.publisher)===null||c===void 0?void 0:c.currentTaxDocument;if(((d=T.holdReasons)===null||d===void 0?void 0:d.includes("NO_W9_DOCUMENT"))&&!w)return"OVER_W9_THRESHOLD";if((f=T.holdReasons)===null||f===void 0?void 0:f.includes("IDV_CHECK_REQUIRED"))return"VERIFICATION:REQUIRED";if((l=T.holdReasons)===null||l===void 0?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))return"VERIFICATION:INTERNAL";if((v=T.holdReasons)===null||v===void 0?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))return"VERIFICATION:REVIEW";if((E=T.holdReasons)===null||E===void 0?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))return"VERIFICATION:FAILED";if(((h=T.holdReasons)===null||h===void 0?void 0:h.includes("NEW_PAYEE_REVIEW"))&&b)return"NEW_PAYEE_REVIEW";if((m=T.holdReasons)===null||m===void 0?void 0:m.includes("NEW_PAYEE_REVIEW"))return"DONE";if((p=T.holdReasons)===null||p===void 0?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))return"PAYMENT_HOLD_ON_CHANGE";if((I=T.holdReasons)===null||I===void 0?void 0:I.includes("BENEFICIARY_NAME_INVALID"))return"BENEFICIARY_NAME_INVALID";if((y=T.holdReasons)===null||y===void 0?void 0:y.includes("BENEFICIARY_NAME_MISMATCH"))return"BENEFICIARY_NAME_MISMATCH";if((_=T.holdReasons)===null||_===void 0?void 0:_.includes("BANK_TAX_NAME_MISMATCH"))return"BANK_TAX_NAME_MISMATCH";if((g=T.holdReasons)===null||g===void 0?void 0:g.includes("WITHDRAWAL_SETTINGS_INVALID"))return"WITHDRAWAL_SETTINGS_INVALID";if((R=T.holdReasons)===null||R===void 0?void 0:R.includes("PAYMENT_RETURNED"))return"PAYMENT_RETURNED";if(T.hold)return"HOLD";return"DONE"}function Jn(n){var r;var o=a().type;var i=u(Gn,{}),c=i.loading,d=i.data,f=i.errors,l=i.refetch;var v=u(Xn,{}).data;var E=$n(),h=E.render,m=E.loading,p=E.errors;var I=e(undefined),y=I[0],_=I[1];var g=(r=v===null||v===void 0?void 0:v.tenantSettings)===null||r===void 0?void 0:r.enforceUsTaxCompliance;t((function(){if(!d)return;var n=zn(d);_(n)}),[d]);t((function(){var n=function(){return l()};window.addEventListener(s,n);window.addEventListener(Qn,n);return function(){window.removeEventListener(s,n);window.removeEventListener(Qn,n)}}),[]);var R=function(){var e=n.cashPayoutsPageUrl;if(e.includes("#"))e=e.split("#")[0];if(y==="INFORMATION_REQUIRED")e+="#1";else if(y==="OVER_W9_THRESHOLD"&&g==="CASH_ONLY_DEFER_W9")e+="#3";window.history.pushState(null,"",e)};var T=function(){var e=n.cashPayoutsPageUrl;e+="#4";window.history.pushState(null,"",e)};var b=function(){var e=n.cashPayoutsPageUrl;e+="#3";window.history.pushState(null,"",e)};return{states:{loading:c,veriffLoading:m,status:y,error:!!f,enforceUsTaxComplianceOption:g},data:{type:o},text:n.getTextProps(),callbacks:{onTermsClick:R,onClick:h,onPaymentInfoClick:T,onNewFormClick:b}}}}}}));
|
|
6
|
+
*/var hn=function n(){return typeof window==="undefined"};var mn=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 o=/(Android);?[\s/]+([\d.]+)?/.test(e);var i=r||t;return{ios:i,android:o}};function pn(n){if(hn())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 o="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(o,r,t);window.removeEventListener(o,r,t);var i=n.capture;return e?n:typeof i!=="undefined"?i:false}var In=0;var yn=0;var _n=0;var gn=null;var Rn=false;var Tn=[];var bn=pn({passive:false});var wn=!hn()&&"scrollBehavior"in document.documentElement.style;var An=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 Nn=function n(){var e=document.documentElement;var t=document.body;var r=e.scrollTop||t.scrollTop;var o=Object.assign({},e.style);var i=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=o.height||"";e.style.overflow=o.overflow||"";["top","width","height","overflow","position"].forEach((function(n){t.style[n]=i[n]||""}));wn?window.scrollTo({top:r,behavior:"instant"}):window.scrollTo(0,r)}};var Sn=function n(e){if(!e.cancelable)return;e.preventDefault()};var Fn=function n(e,t){if(t){var r=t.scrollTop,o=t.scrollLeft,i=t.scrollWidth,a=t.scrollHeight,u=t.clientWidth,c=t.clientHeight;var s=e.targetTouches[0].clientX-_n;var d=e.targetTouches[0].clientY-yn;var f=Math.abs(d)>Math.abs(s);var l=d>0&&r===0;var v=s>0&&o===0;var E=s<0&&o+u+1>=i;var h=d<0&&r+c+1>=a;if(f&&(l||h)||!f&&(v||E)){return Sn(e)}}e.stopPropagation();return true};var Dn=function n(e){if(hn())return;if(mn().ios){if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){if(n&&Tn.indexOf(n)===-1){n.ontouchstart=function(n){yn=n.targetTouches[0].clientY;_n=n.targetTouches[0].clientX};n.ontouchmove=function(e){if(e.targetTouches.length!==1)return;Fn(e,n)};Tn.push(n)}}))}if(!Rn){document.addEventListener("touchmove",Sn,bn);Rn=true}}else if(In<=0){gn=mn().android?Nn():An()}In+=1};var On=function n(e){if(hn())return;In-=1;if(In>0)return;if(!mn().ios&&typeof gn==="function"){gn();return}if(e){var t=Array.isArray(e)?e:[e];t.forEach((function(n){var e=Tn.indexOf(n);if(e!==-1){n.ontouchmove=null;n.ontouchstart=null;Tn.splice(e,1)}}))}if(Rn){document.removeEventListener("touchmove",Sn,bn);Rn=false}};var Cn="\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 Vn="\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 xn="\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=Vn;var o=document.createElement("div");o.style.cssText=Cn;o.appendChild(n);document.body.appendChild(o);En.on(n);Dn(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=xn;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 Mn=function(n){n["STARTED"]="STARTED";n["SUBMITTED"]="SUBMITTED";n["FINISHED"]="FINISHED";n["CANCELED"]="CANCELED";n["RELOAD_REQUEST"]="RELOAD";return n}({});var Hn="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 kn(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 Bn(n,e,t){if(t){var r=new URL(n);var o=r.searchParams;o.set(e,t);r.search=o.toString();return r.toString()}return n}function Wn(){var n=document.createElement("div");n.style.cssText=Cn;return n}function jn(n,e,t,r){var o=document.createElement("iframe");o.src=n;o.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;";o.id=Hn;if(e){Ln(o,t,r)}else{o.style.cssText=Vn;var i=Wn();i.appendChild(o);document.body.appendChild(i);En.on(o);Dn(o)}return o}function qn(n){var e=n.url,t=n.lang,r=n.onEvent,o=r===void 0?function(){return}:r,i=n.embedded,a=i===void 0?false:i,u=n.embeddedOptions,c=n.onReload;if(!e){throw new Error("URL is not provided. Please provide a valid Veriff session url.")}var s=kn(a);function d(){var n=document.getElementById(Hn);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",f)}function f(n){var e=document.getElementById(Hn);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){o(Mn.STARTED)}if(n.data===Un.VERIFF_CANCELED){d();o(Mn.CANCELED)}if(n.data===Un.VERIFF_SUBMITTED){o(Mn.SUBMITTED)}if(n.data===Un.VERIFF_FINISHED){d();o(Mn.FINISHED)}if(n.data===Un.VERIFF_FORCE_RELOAD){window.location.reload()}if(n.data===Un.VERIFF_RELOAD_REQUEST){if(typeof c==="function"){c()}o(Mn.RELOAD_REQUEST)}}var l=t&&t.length>0?Bn(e,"lang",t):e;jn(l,a,u,s);window.addEventListener("message",f);return{close:d}}var Yn=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 Kn=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 Qn=n("V","sqm:veriff-updated");function $n(){var n=this;var e=o(),t=e.id,r=e.accountId;var a=i(Yn),u=a[0],c=a[1],s=c.loading,d=c.errors;var f=i(Kn),l=f[0],v=f[1],E=v.loading,h=v.errors;var m=function(){return __awaiter(n,void 0,void 0,(function(){var n,e;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,l({user:{id:t,accountId:r}})];case 1:n=o.sent();if(!n||n.message)throw new Error;window.dispatchEvent(new Event(Qn));return[3,3];case 2:e=o.sent();console.error("Failed to initialise Veriff:",e);return[3,3];case 3:return[2]}}))}))};var p=function(){return __awaiter(n,void 0,void 0,(function(){var n,e,o;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,u({user:{id:t,accountId:r}})];case 1:n=i.sent();if(!n||n.message)throw new Error;e=n.createImpactPublisherIdentityVerificationSession.sessionUrl;qn({url:e,onEvent:function(n){switch(n){case Mn.FINISHED:case Mn.CANCELED:m()}}});return[3,3];case 2:o=i.sent();console.error("Failed to initialise Veriff:",o);return[3,3];case 3:return[2]}}))}))};return{render:p,loading:s||E,errors:d||h}}var Gn=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 dateScheduled\n dateCreated\n dateTransferred\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 dateScheduled\n dateCreated\n dateTransferred\n }\n }\n }\n }\n }\n }\n"]));var Xn=r.gql(__makeTemplateObject(["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"],["\n query getTenantSettings {\n tenantSettings {\n enforceUsTaxCompliance\n }\n }\n"]));function zn(n){var e,t,r,o,i,a,u,c,s,d,f,l,v,E,h,m,p,I,y,_,g,R;var T=(t=(e=n.user.impactConnection)===null||e===void 0?void 0:e.publisher)===null||t===void 0?void 0:t.payoutsAccount;var b=(i=(o=(r=n===null||n===void 0?void 0:n.user)===null||r===void 0?void 0:r.rewards)===null||o===void 0?void 0:o.data)===null||i===void 0?void 0:i.find((function(n){var e;return n.statuses.includes("REDEEMED")&&((e=n.partnerFundsTransfer)===null||e===void 0?void 0:e.status)==="TRANSFERRED"}));if(!((u=(a=n.user)===null||a===void 0?void 0:a.impactConnection)===null||u===void 0?void 0:u.connected)||!T)return"INFORMATION_REQUIRED";var w=(s=(c=n.user.impactConnection)===null||c===void 0?void 0:c.publisher)===null||s===void 0?void 0:s.currentTaxDocument;if(((d=T.holdReasons)===null||d===void 0?void 0:d.includes("NO_W9_DOCUMENT"))&&!w)return"OVER_W9_THRESHOLD";if((f=T.holdReasons)===null||f===void 0?void 0:f.includes("IDV_CHECK_REQUIRED"))return"VERIFICATION:REQUIRED";if((l=T.holdReasons)===null||l===void 0?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))return"VERIFICATION:INTERNAL";if((v=T.holdReasons)===null||v===void 0?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))return"VERIFICATION:REVIEW";if((E=T.holdReasons)===null||E===void 0?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))return"VERIFICATION:FAILED";if(((h=T.holdReasons)===null||h===void 0?void 0:h.includes("NEW_PAYEE_REVIEW"))&&b)return"NEW_PAYEE_REVIEW";if((m=T.holdReasons)===null||m===void 0?void 0:m.includes("NEW_PAYEE_REVIEW"))return"DONE";if((p=T.holdReasons)===null||p===void 0?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))return"PAYMENT_HOLD_ON_CHANGE";if((I=T.holdReasons)===null||I===void 0?void 0:I.includes("BENEFICIARY_NAME_INVALID"))return"BENEFICIARY_NAME_INVALID";if((y=T.holdReasons)===null||y===void 0?void 0:y.includes("BENEFICIARY_NAME_MISMATCH"))return"BENEFICIARY_NAME_MISMATCH";if((_=T.holdReasons)===null||_===void 0?void 0:_.includes("BANK_TAX_NAME_MISMATCH"))return"BANK_TAX_NAME_MISMATCH";if((g=T.holdReasons)===null||g===void 0?void 0:g.includes("WITHDRAWAL_SETTINGS_INVALID"))return"WITHDRAWAL_SETTINGS_INVALID";if((R=T.holdReasons)===null||R===void 0?void 0:R.includes("PAYMENT_RETURNED"))return"PAYMENT_RETURNED";if(T.hold)return"HOLD";return"DONE"}function Jn(n){var r;var o=a().type;var i=u(Gn,{}),s=i.loading,d=i.data,f=i.errors,l=i.refetch;var v=u(Xn,{}).data;var E=$n(),h=E.render,m=E.loading,p=E.errors;var I=e(undefined),y=I[0],_=I[1];var g=(r=v===null||v===void 0?void 0:v.tenantSettings)===null||r===void 0?void 0:r.enforceUsTaxCompliance;t((function(){if(!d)return;var n=zn(d);_(n)}),[d]);t((function(){var n=function(){return l()};window.addEventListener(c,n);window.addEventListener(Qn,n);return function(){window.removeEventListener(c,n);window.removeEventListener(Qn,n)}}),[]);var R=function(){var e=n.cashPayoutsPageUrl;if(e.includes("#"))e=e.split("#")[0];if(y==="INFORMATION_REQUIRED")e+="#1";else if(y==="OVER_W9_THRESHOLD"&&g==="CASH_ONLY_DEFER_W9")e+="#3";window.history.pushState(null,"",e)};var T=function(){var e=n.cashPayoutsPageUrl;e+="#4";window.history.pushState(null,"",e)};var b=function(){var e=n.cashPayoutsPageUrl;e+="#3";window.history.pushState(null,"",e)};return{states:{loading:s,veriffLoading:m,status:y,error:!!f,enforceUsTaxComplianceOption:g},data:{type:o},text:n.getTextProps(),callbacks:{onTermsClick:R,onClick:h,onPaymentInfoClick:T,onNewFormClick:b}}}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o}from"./p-083180bf.js";import{n as r,k as t,f as n}from"./p-a7fc1e02.js";import{i,k as e,H as a}from"./p-d0993bb9.js";import{c}from"./p-c1086930.js";import{N as m}from"./p-88e16945.js";const f=class{constructor(o){s(this,o),this.ignored=!0,this.mobileMenuColor="var(--sqm-text, #444445)",r(this)}disconnectedCallback(){}render(){const s=i()?function(s){return c({mobileMenuColor:s.mobileMenuColor},s.demoData||{},{arrayMerge:(s,o)=>o})}(this):function(s){const o=e(),r=a(),[i,c]=t(!1);return n((()=>{c(!1)}),[o.pathname,r]),{mobileMenuColor:s.mobileMenuColor,checked:i,onClick:function(s){c(s.target.checked)}}}(this);return o(m,Object.assign({},s),o("slot",null))}};export{f as sqm_navigation_sidebar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(e){"use strict";var t,r,i,n,o,a,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.f;o=e.n},function(e){a=e.J;s=e.k;c=e.j;u=e.i}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var o;var u=a();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(o=u===null||u===void 0?void 0:u.managedIdentity)===null||o===void 0?void 0:o.emailVerified;var l=s(),v=l.pathname,h=l.search;var p=new URLSearchParams;p.append("nextPage",""+v+h);n((function(){if(!f){return c.push({pathname:r,search:"?"+p.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+p.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __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-641f968d.system.js","./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-641f968d.system.js","./p-7265bbcb.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-7b909aa5.system.js","./p-f35d856a.system.js","./p-5b1d2866.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),m=d[0],f=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{f((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;f((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:m,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,c as n}from"./p-083180bf.js";import{b as r,k as e,i as s,f as a,n as i}from"./p-a7fc1e02.js";import{_ as d}from"./p-
|
|
1
|
+
import{r as t,h as o,c as n}from"./p-083180bf.js";import{b as r,k as e,i as s,f as a,n as i}from"./p-a7fc1e02.js";import{_ as d}from"./p-d0993bb9.js";import{g as l}from"./p-9ec99ced.js";import{p as c}from"./p-8d363802.js";const u=r("sq:useRouter");function p(t,o){if(t)return c(t).exec(o)}const v=class{constructor(o){t(this,o),this.ignored=!0,i(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(t){const o=d(),[n,r]=e(void 0),[i,l]=e(void 0),c=s(t.contextName);return a((()=>{const t=o.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const o=document.createElement("template");o.setAttribute("path",t.path),o.innerHTML=t.innerHTML,t.parentNode.appendChild(o),t.parentNode.removeChild(t)}))}),[]),a((()=>{var t,o;if(!i||!n)return void u("DOM not ready for navigation rendering on:",c);const r=n.querySelectorAll("template"),e=Array.from(r).find((t=>{var o,n,r;if(null===(r=p(null===(n=null===(o=t.attributes)||void 0===o?void 0:o.path)||void 0===n?void 0:n.nodeValue,c))||void 0===r?void 0:r.length)return t})),s=null===(o=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.path)||void 0===o?void 0:o.nodeValue;if(u({containerDatasetPage:i.dataset.page,templatePath:s,page:c}),!e)return u("No matching page found for ",c,", so render nothing"),i.innerHTML="",void(i.dataset.page=c);u("Page updated to ",c,e),p(s,i.dataset.page)?u("don't rerender"):e&&(i.innerHTML=e.innerHTML,i.dataset.page=c)}),[n,i,c]),{callbacks:{setSlot:r,setContainer:l}}}(l(this));return o(n,null,o("div",{ref:t.setSlot,style:{display:"none"}},o("slot",null)),o("div",{style:{display:"contents"},ref:t.setContainer}))}};v.style="sqm-router{display:contents}";export{v as sqm_context_router}
|