@saasquatch/mint-components 1.15.0-5 → 1.15.0-50

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.
Files changed (854) hide show
  1. package/dist/cjs/{ErrorView-b2fcf954.js → ErrorView-5504c2b6.js} +1 -1
  2. package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-107ade89.js} +6 -6
  3. package/dist/cjs/IndirectTaxDetailsView-6e117dd3.js +646 -0
  4. package/dist/cjs/{ShadowViewAddon-3f11bc68.js → ShadowViewAddon-e1bcffe2.js} +1475 -1435
  5. package/dist/cjs/copy-text-view-95cf4875.js +122 -0
  6. package/dist/cjs/data-68a42a7b.js +137 -0
  7. package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-996fb438.js} +3 -3
  8. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  9. package/dist/cjs/{global-261393c6.js → global-6d0d196d.js} +293 -127
  10. package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
  11. package/dist/cjs/{index.module-ee84433d.js → index.module-39955732.js} +1 -1
  12. package/dist/cjs/loader.cjs.js +5 -5
  13. package/dist/cjs/{luxon-2926d85f.js → luxon-3b809948.js} +1 -1
  14. package/dist/cjs/mint-components.cjs.js +5 -5
  15. package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
  16. package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-baa02051.js} +2 -2
  17. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  18. package/dist/cjs/{re-render-b324deab.js → re-render-28fed959.js} +2 -2
  19. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +801 -2188
  20. package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
  21. package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_42.cjs.entry.js} +892 -138
  22. package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
  23. package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
  24. package/dist/cjs/sqm-code-verification.cjs.entry.js +342 -0
  25. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
  27. package/dist/cjs/sqm-empty_4.cjs.entry.js +53 -59
  28. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
  30. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  31. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +8 -8
  33. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  34. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
  35. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  36. package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
  37. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
  38. package/dist/cjs/sqm-navigation-sidebar-item-view-188bfc41.js +56 -0
  39. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +29 -6
  40. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-50ee8796.js} +17 -7
  41. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +22 -6
  42. package/dist/cjs/sqm-pagination_3.cjs.entry.js +90 -63
  43. package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
  44. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  45. package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
  46. package/dist/cjs/{sqm-portal-email-verification-view-8d5b23f3.js → sqm-portal-email-verification-view-14ea3a91.js} +4 -4
  47. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
  48. package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-7519a332.js} +24 -16
  49. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +36 -7
  50. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +7 -7
  51. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +9 -9
  52. package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
  53. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  54. package/dist/cjs/{sqm-portal-profile-view-fcb3ea3f.js → sqm-portal-profile-view-570d2ae3.js} +4 -4
  55. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  56. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  57. package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
  58. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
  59. package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
  60. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  61. package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
  62. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  63. package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-2cca145e.js} +3 -3
  64. package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
  65. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +121 -32
  66. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  67. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  68. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  69. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +69 -22
  70. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  71. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  72. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13552 -12252
  73. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  74. package/dist/cjs/sqm-tabs.cjs.entry.js +21 -9
  75. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1255 -0
  76. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
  77. package/dist/cjs/sqm-text-span.cjs.entry.js +6 -6
  78. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +14 -6
  79. package/dist/cjs/sqm-widget-verification.cjs.entry.js +20 -10
  80. package/dist/cjs/{stencil-hooks.module-3a336b0f.js → stencil-hooks.module-62264802.js} +1 -1
  81. package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-e5fa605c.js} +2 -2
  82. package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-86b7164c.js} +3 -3
  83. package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3cca69e5.js} +10 -7
  84. package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-e246988e.js} +2 -2
  85. package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-d28621de.js} +3 -3
  86. package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-a47dcbc2.js} +2 -2
  87. package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-19e7523a.js} +5 -5
  88. package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-5f44ca80.js} +2 -2
  89. package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-1496b993.js} +2 -2
  90. package/dist/cjs/{utilities-78f5e169.js → utilities-be3ce1f8.js} +2 -2
  91. package/dist/cjs/utils-0b09e2cb.js +105 -0
  92. package/dist/collection/collection-manifest.json +1 -1
  93. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  94. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
  95. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
  96. package/dist/collection/components/sqm-big-stat/useBigStat.js +15 -5
  97. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
  98. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
  99. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
  100. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  101. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
  102. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  103. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  104. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +58 -1
  105. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  106. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
  107. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
  108. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +2 -2
  109. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  110. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
  111. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
  112. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
  113. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  114. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +4 -3
  115. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  116. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
  117. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +197 -56
  118. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  119. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  120. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
  121. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
  122. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
  123. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
  124. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
  125. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  126. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  127. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  128. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -0
  129. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  130. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
  131. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  132. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  133. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
  134. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  135. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  136. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
  137. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
  138. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
  139. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +103 -2
  140. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
  141. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
  142. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  143. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  144. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  145. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
  146. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  147. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +9 -3
  148. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
  149. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
  150. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
  151. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +77 -9
  152. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  153. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
  154. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  155. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  156. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
  157. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  158. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
  159. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
  160. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
  161. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
  162. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
  163. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
  164. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
  165. package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
  166. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -1
  167. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  168. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
  169. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  170. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +39 -42
  171. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -2
  172. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
  173. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
  174. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
  175. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
  176. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -1
  177. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -1
  178. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -1
  179. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -1
  180. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +4 -2
  181. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
  182. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
  183. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  184. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  185. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  186. package/dist/collection/components/sqm-share-button/sqm-share-button.js +53 -7
  187. package/dist/collection/components/sqm-share-code/sqm-share-code.js +169 -1
  188. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
  189. package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
  190. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
  191. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
  192. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
  193. package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
  194. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
  195. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  196. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +14 -2
  197. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  198. package/dist/collection/components/sqm-task-card/DetailsView.js +8 -2
  199. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  200. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +139 -157
  201. package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
  202. package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
  203. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  204. package/dist/collection/components/sqm-text/sqm-text.js +100 -49
  205. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
  206. package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
  207. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  208. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  209. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  210. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  211. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  212. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -6
  213. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  214. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +28 -8
  215. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
  216. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +60 -35
  217. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
  218. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
  219. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
  220. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +53 -27
  221. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
  222. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
  223. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +57 -13
  224. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  225. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  226. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +31 -14
  227. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  228. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  229. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  230. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +282 -30
  231. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  232. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +18 -18
  233. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  234. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  235. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  236. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +164 -18
  237. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  238. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  239. package/dist/collection/components/views/copy-text-view.js +64 -38
  240. package/dist/collection/components/views/email-registration-view.js +1 -1
  241. package/dist/collection/global/mixins.js +6 -6
  242. package/dist/collection/global/styles.js +291 -125
  243. package/dist/collection/global/styles.ts +391 -120
  244. package/dist/collection/stories/PortalTemplates.stories.js +22 -30
  245. package/dist/collection/tables/GenericTableView.js +4 -4
  246. package/dist/collection/utils/parseStates.js +12 -0
  247. package/dist/esm/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
  248. package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-dd9be3ea.js} +6 -6
  249. package/dist/esm/IndirectTaxDetailsView-2eff2cc8.js +639 -0
  250. package/dist/esm/{ShadowViewAddon-f5791215.js → ShadowViewAddon-dc890af9.js} +1476 -1435
  251. package/dist/esm/copy-text-view-6dec9902.js +120 -0
  252. package/dist/esm/data-ce8ed0ae.js +121 -0
  253. package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-db81655f.js} +3 -3
  254. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  255. package/dist/esm/{global-7b65dcb8.js → global-64286824.js} +293 -127
  256. package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
  257. package/dist/esm/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
  258. package/dist/esm/loader.js +5 -5
  259. package/dist/esm/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
  260. package/dist/esm/mint-components.js +5 -5
  261. package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
  262. package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-3d8fe7b0.js} +2 -2
  263. package/dist/esm/raisins-plop-target.entry.js +1 -1
  264. package/dist/esm/{re-render-cc945f38.js → re-render-789f9123.js} +2 -2
  265. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +723 -2103
  266. package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
  267. package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_42.entry.js} +895 -142
  268. package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
  269. package/dist/esm/sqm-close-button.entry.js +5 -5
  270. package/dist/esm/sqm-code-verification.entry.js +338 -0
  271. package/dist/esm/sqm-context-router.entry.js +3 -3
  272. package/dist/esm/sqm-email-verification.entry.js +6 -6
  273. package/dist/esm/sqm-empty_4.entry.js +53 -59
  274. package/dist/esm/sqm-form-message.entry.js +2 -2
  275. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  276. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  277. package/dist/esm/sqm-header-logo.entry.js +2 -2
  278. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  279. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  280. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
  281. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  282. package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  283. package/dist/esm/sqm-logout-current-user.entry.js +4 -4
  284. package/dist/esm/sqm-navigation-sidebar-item-view-30c52ccd.js +54 -0
  285. package/dist/esm/sqm-navigation-sidebar-item.entry.js +29 -6
  286. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-6c13798c.js} +17 -7
  287. package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
  288. package/dist/esm/sqm-pagination_3.entry.js +90 -63
  289. package/dist/esm/sqm-password-field.entry.js +5 -5
  290. package/dist/esm/sqm-popup-container.entry.js +3 -3
  291. package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
  292. package/dist/esm/{sqm-portal-email-verification-view-3bd4f1d9.js → sqm-portal-email-verification-view-86d50913.js} +4 -4
  293. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  294. package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-dc6b4f26.js} +24 -16
  295. package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
  296. package/dist/esm/sqm-portal-google-login.entry.js +7 -7
  297. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  298. package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
  299. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  300. package/dist/esm/{sqm-portal-profile-view-3a751a15.js → sqm-portal-profile-view-c2b82f77.js} +4 -4
  301. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  302. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  303. package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
  304. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  305. package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
  306. package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
  307. package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
  308. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  309. package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-11121d3c.js} +3 -3
  310. package/dist/esm/sqm-qr-code.entry.js +6 -6
  311. package/dist/esm/sqm-referral-table_11.entry.js +121 -32
  312. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  313. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  314. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  315. package/dist/esm/sqm-rewards-table_9.entry.js +69 -22
  316. package/dist/esm/sqm-route.entry.js +1 -1
  317. package/dist/esm/sqm-scroll.entry.js +2 -2
  318. package/dist/esm/sqm-stencilbook.entry.js +13550 -12250
  319. package/dist/esm/sqm-tab.entry.js +4 -4
  320. package/dist/esm/sqm-tabs.entry.js +21 -9
  321. package/dist/esm/sqm-tax-and-cash.entry.js +1251 -0
  322. package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
  323. package/dist/esm/sqm-text-span.entry.js +6 -6
  324. package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
  325. package/dist/esm/sqm-widget-verification.entry.js +20 -10
  326. package/dist/esm/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
  327. package/dist/esm/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +2 -2
  328. package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +3 -3
  329. package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-e92a6e43.js} +10 -7
  330. package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-6b1951c6.js} +2 -2
  331. package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +3 -3
  332. package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +2 -2
  333. package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +5 -5
  334. package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +2 -2
  335. package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +2 -2
  336. package/dist/esm/{utilities-5b0ca040.js → utilities-6341d9fd.js} +2 -2
  337. package/dist/esm/utils-517e9b20.js +97 -0
  338. package/dist/esm-es5/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
  339. package/dist/esm-es5/GenericTableView-dd9be3ea.js +1 -0
  340. package/dist/esm-es5/IndirectTaxDetailsView-2eff2cc8.js +1 -0
  341. package/dist/esm-es5/ShadowViewAddon-dc890af9.js +1 -0
  342. package/dist/esm-es5/copy-text-view-6dec9902.js +1 -0
  343. package/dist/esm-es5/data-ce8ed0ae.js +1 -0
  344. package/dist/esm-es5/email-registration-view-db81655f.js +1 -0
  345. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  346. package/dist/esm-es5/{global-7b65dcb8.js → global-64286824.js} +5 -5
  347. package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
  348. package/dist/esm-es5/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
  349. package/dist/esm-es5/loader.js +1 -1
  350. package/dist/esm-es5/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
  351. package/dist/esm-es5/mint-components.js +1 -1
  352. package/dist/esm-es5/mixins-f750863a.js +1 -0
  353. package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-3d8fe7b0.js} +1 -1
  354. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  355. package/dist/esm-es5/{re-render-cc945f38.js → re-render-789f9123.js} +1 -1
  356. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  357. package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
  358. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -0
  359. package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
  360. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  361. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  362. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  363. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  364. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  365. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  366. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  367. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  368. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  369. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  370. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  371. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
  372. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  373. package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  374. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  375. package/dist/esm-es5/sqm-navigation-sidebar-item-view-30c52ccd.js +1 -0
  376. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  377. package/dist/esm-es5/sqm-navigation-sidebar-view-6c13798c.js +1 -0
  378. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  379. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  380. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  381. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  382. package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
  383. package/dist/esm-es5/{sqm-portal-email-verification-view-3bd4f1d9.js → sqm-portal-email-verification-view-86d50913.js} +1 -1
  384. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  385. package/dist/esm-es5/sqm-portal-forgot-password-view-dc6b4f26.js +1 -0
  386. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  387. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  388. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  389. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
  390. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  391. package/dist/esm-es5/{sqm-portal-profile-view-3a751a15.js → sqm-portal-profile-view-c2b82f77.js} +1 -1
  392. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  393. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  394. package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
  395. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  396. package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
  397. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  398. package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
  399. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  400. package/dist/esm-es5/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-11121d3c.js} +1 -1
  401. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  402. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  403. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  404. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  405. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  406. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  407. package/dist/esm-es5/sqm-route.entry.js +1 -1
  408. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  409. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  410. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  411. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  412. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  413. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
  414. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  415. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  416. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  417. package/dist/esm-es5/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
  418. package/dist/esm-es5/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +1 -1
  419. package/dist/esm-es5/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +1 -1
  420. package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-e92a6e43.js} +2 -2
  421. package/dist/esm-es5/{usePortalLogin-ef647a50.js → usePortalLogin-6b1951c6.js} +1 -1
  422. package/dist/esm-es5/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +1 -1
  423. package/dist/esm-es5/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +1 -1
  424. package/dist/esm-es5/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +1 -1
  425. package/dist/esm-es5/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +1 -1
  426. package/dist/esm-es5/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +1 -1
  427. package/dist/esm-es5/{utilities-5b0ca040.js → utilities-6341d9fd.js} +1 -1
  428. package/dist/esm-es5/utils-517e9b20.js +1 -0
  429. package/dist/mint-components/global/styles.ts +391 -120
  430. package/dist/mint-components/mint-components.esm.js +1 -1
  431. package/dist/mint-components/mint-components.js +1 -1
  432. package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
  433. package/dist/mint-components/p-0126962c.entry.js +1 -0
  434. package/dist/mint-components/p-01c508cc.js +1 -0
  435. package/dist/mint-components/p-01dd6b18.system.js +1 -0
  436. package/dist/mint-components/{p-6d9e52c7.system.js → p-02c92db1.system.js} +1 -1
  437. package/dist/mint-components/{p-6d2f5a1d.js → p-037da77e.js} +2 -2
  438. package/dist/mint-components/{p-8175e85f.system.js → p-04007292.system.js} +1 -1
  439. package/dist/mint-components/{p-1fa9ed0d.system.entry.js → p-055e6ebd.system.entry.js} +1 -1
  440. package/dist/mint-components/{p-605c2904.system.entry.js → p-0714554e.system.entry.js} +1 -1
  441. package/dist/mint-components/p-0797a946.js +1 -0
  442. package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
  443. package/dist/mint-components/p-08cf4237.system.entry.js +1 -0
  444. package/dist/mint-components/p-0c327ec3.entry.js +1 -0
  445. package/dist/mint-components/p-0e532b53.entry.js +1 -0
  446. package/dist/mint-components/p-106e808d.entry.js +11 -0
  447. package/dist/mint-components/p-10c2a48c.system.js +1 -0
  448. package/dist/mint-components/{p-3a62a7e2.system.js → p-12fd7ee9.system.js} +1 -1
  449. package/dist/mint-components/{p-7c2b9fe4.system.js → p-167be4b9.system.js} +1 -1
  450. package/dist/mint-components/{p-c0b52238.entry.js → p-191c1dbf.entry.js} +2 -2
  451. package/dist/mint-components/p-1bdc4f94.system.entry.js +1 -0
  452. package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
  453. package/dist/mint-components/{p-b7d1469d.system.entry.js → p-1d46f8fa.system.entry.js} +1 -1
  454. package/dist/mint-components/p-1e79befd.entry.js +1 -0
  455. package/dist/mint-components/{p-164a9103.system.entry.js → p-1f82181b.system.entry.js} +1 -1
  456. package/dist/mint-components/p-1fb297f9.entry.js +93 -0
  457. package/dist/mint-components/p-204861a6.js +1 -0
  458. package/dist/mint-components/{p-c0f19490.js → p-20b2f691.js} +1 -1
  459. package/dist/mint-components/p-22405668.entry.js +1 -0
  460. package/dist/mint-components/p-2378a0dd.entry.js +16 -0
  461. package/dist/mint-components/{p-ccf8c9aa.entry.js → p-238fcec6.entry.js} +1 -1
  462. package/dist/mint-components/p-2403c6e1.system.js +1 -0
  463. package/dist/mint-components/p-240bec23.js +1 -0
  464. package/dist/mint-components/p-24af584d.js +1 -0
  465. package/dist/mint-components/{p-00ed4c2e.entry.js → p-27903fca.entry.js} +1 -1
  466. package/dist/mint-components/{p-da7708a7.entry.js → p-27bb9d05.entry.js} +1 -1
  467. package/dist/mint-components/{p-a71b9154.system.js → p-2f2bced4.system.js} +1 -1
  468. package/dist/mint-components/p-305cbc9b.entry.js +1 -0
  469. package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-30826d8f.system.entry.js} +1 -1
  470. package/dist/mint-components/p-3168fa90.js +1 -0
  471. package/dist/mint-components/p-3174c756.entry.js +1 -0
  472. package/dist/mint-components/p-3206d0a4.js +103 -0
  473. package/dist/mint-components/{p-aaff68dc.entry.js → p-322c1e5e.entry.js} +1 -1
  474. package/dist/mint-components/{p-2b462e4f.system.entry.js → p-33b13e55.system.entry.js} +1 -1
  475. package/dist/mint-components/{p-cd651f81.js → p-35b2fde0.js} +1 -1
  476. package/dist/mint-components/p-36bbd4de.entry.js +1 -0
  477. package/dist/mint-components/{p-3af1ec4c.entry.js → p-37c4ae42.entry.js} +1 -1
  478. package/dist/mint-components/p-37e58170.system.entry.js +1 -0
  479. package/dist/mint-components/{p-8f603753.system.entry.js → p-3ca0adb2.system.entry.js} +1 -1
  480. package/dist/mint-components/p-3cb1d066.js +1 -0
  481. package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
  482. package/dist/mint-components/{p-22f374db.entry.js → p-3f35ded4.entry.js} +1 -1
  483. package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-4115e328.system.entry.js} +1 -1
  484. package/dist/mint-components/{p-38de17fa.system.js → p-4196d37a.system.js} +1 -1
  485. package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
  486. package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
  487. package/dist/mint-components/{p-faba3198.entry.js → p-43ce09f0.entry.js} +1 -1
  488. package/dist/mint-components/p-470c9c64.system.js +1 -0
  489. package/dist/mint-components/p-4904d54f.system.js +1 -0
  490. package/dist/mint-components/p-49b20dae.js +1 -0
  491. package/dist/mint-components/{p-4e451f75.js → p-4b12067f.js} +1 -1
  492. package/dist/mint-components/{p-7dabdca6.system.entry.js → p-4d8e3766.system.entry.js} +1 -1
  493. package/dist/mint-components/{p-f4a72903.system.entry.js → p-4e5dff09.system.entry.js} +1 -1
  494. package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-4edcf988.system.entry.js} +1 -1
  495. package/dist/mint-components/{p-32d5cbc1.js → p-50ee4d5e.js} +1 -1
  496. package/dist/mint-components/p-51810653.system.entry.js +1 -0
  497. package/dist/mint-components/p-54212ad6.system.js +1 -0
  498. package/dist/mint-components/p-5856f946.system.js +1 -0
  499. package/dist/mint-components/p-59270c5f.system.entry.js +1 -0
  500. package/dist/mint-components/p-59b028db.system.js +1 -0
  501. package/dist/mint-components/p-5a44e1d2.system.entry.js +1 -0
  502. package/dist/mint-components/p-5c362093.system.js +1 -0
  503. package/dist/mint-components/{p-345fd28e.system.entry.js → p-5fbbc259.system.entry.js} +1 -1
  504. package/dist/mint-components/p-620e625b.system.entry.js +1 -0
  505. package/dist/mint-components/p-6491939b.entry.js +258 -0
  506. package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
  507. package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
  508. package/dist/mint-components/{p-94a876b9.js → p-66ac6bed.js} +1 -1
  509. package/dist/mint-components/p-676ca2c0.system.js +1 -0
  510. package/dist/mint-components/p-67ad2252.system.js +1 -0
  511. package/dist/mint-components/{p-36ffebd8.system.entry.js → p-67ca8443.system.entry.js} +1 -1
  512. package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
  513. package/dist/mint-components/{p-dbc0e4f8.system.js → p-6c0c466f.system.js} +1 -1
  514. package/dist/mint-components/p-71271fbd.system.js +1 -0
  515. package/dist/mint-components/{p-0559d880.entry.js → p-71a0adcf.entry.js} +1 -1
  516. package/dist/mint-components/{p-fbfbbbd2.system.js → p-71bc7f52.system.js} +21 -21
  517. package/dist/mint-components/p-7371218f.system.entry.js +1 -0
  518. package/dist/mint-components/{p-fa630b25.system.entry.js → p-73a761b4.system.entry.js} +1 -1
  519. package/dist/mint-components/{p-d6831af5.js → p-73feb66f.js} +2 -2
  520. package/dist/mint-components/{p-3f7b81b8.js → p-74eaa3c0.js} +2 -2
  521. package/dist/mint-components/p-799d62fe.entry.js +1 -0
  522. package/dist/mint-components/p-79a50a65.entry.js +1 -0
  523. package/dist/mint-components/p-7b4f0dbc.js +1 -0
  524. package/dist/mint-components/{p-8362cb4c.system.entry.js → p-7d456d0a.system.entry.js} +1 -1
  525. package/dist/mint-components/p-7dc10820.system.js +1 -0
  526. package/dist/mint-components/p-7e0c12e3.entry.js +1 -0
  527. package/dist/mint-components/{p-13ed8586.system.js → p-7f499d2f.system.js} +1 -1
  528. package/dist/mint-components/{p-44891949.entry.js → p-8278225e.entry.js} +1 -1
  529. package/dist/mint-components/{p-2ae0e06a.entry.js → p-84079726.entry.js} +1 -1
  530. package/dist/mint-components/{p-1a6b7d2a.entry.js → p-8408b84b.entry.js} +1 -1
  531. package/dist/mint-components/{p-48135f99.system.js → p-88e32c4a.system.js} +1 -1
  532. package/dist/mint-components/p-8a6494c7.system.js +1 -0
  533. package/dist/mint-components/p-8c126ccb.system.entry.js +1 -0
  534. package/dist/mint-components/p-8caef004.js +1 -0
  535. package/dist/mint-components/{p-42187319.system.entry.js → p-8f6e124b.system.entry.js} +1 -1
  536. package/dist/mint-components/p-9199ab6d.system.entry.js +1 -0
  537. package/dist/mint-components/{p-87c21535.entry.js → p-92d706e7.entry.js} +1 -1
  538. package/dist/mint-components/p-951ded9b.js +1 -0
  539. package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
  540. package/dist/mint-components/{p-7e8bf5cb.system.entry.js → p-9697bb3f.system.entry.js} +1 -1
  541. package/dist/mint-components/{p-2bbff88f.entry.js → p-9713e9a9.entry.js} +1 -1
  542. package/dist/mint-components/{p-8413ade9.system.js → p-9841c478.system.js} +1 -1
  543. package/dist/mint-components/{p-a81b507f.entry.js → p-992ff197.entry.js} +2 -2
  544. package/dist/mint-components/p-99a82e5a.system.entry.js +1 -0
  545. package/dist/mint-components/p-99fb2a50.js +1 -0
  546. package/dist/mint-components/p-9b52645f.entry.js +9 -0
  547. package/dist/mint-components/p-9b7745db.js +394 -0
  548. package/dist/mint-components/p-9c73e84d.entry.js +144 -0
  549. package/dist/mint-components/{p-284e4ed5.entry.js → p-9cc40be1.entry.js} +1 -1
  550. package/dist/mint-components/{p-726a9924.js → p-a11426b2.js} +1 -1
  551. package/dist/mint-components/{p-10ed0483.system.entry.js → p-a2e377aa.system.entry.js} +1 -1
  552. package/dist/mint-components/{p-480e08e9.js → p-a341ce23.js} +2 -2
  553. package/dist/mint-components/p-a39c3535.system.entry.js +1 -0
  554. package/dist/mint-components/{p-cc7af682.system.js → p-a44b7a52.system.js} +2 -2
  555. package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
  556. package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
  557. package/dist/mint-components/{p-1b3ab15a.system.entry.js → p-a9be22a6.system.entry.js} +1 -1
  558. package/dist/mint-components/{p-aa3c81d3.system.js → p-aadb1a8a.system.js} +1 -1
  559. package/dist/mint-components/p-ac71b501.js +1 -0
  560. package/dist/mint-components/p-b0362941.js +1 -0
  561. package/dist/mint-components/{p-cde752fa.js → p-b12bd1e1.js} +1 -1
  562. package/dist/mint-components/{p-ac9f4085.system.entry.js → p-b143d532.system.entry.js} +1 -1
  563. package/dist/mint-components/p-b1ddc706.js +1 -0
  564. package/dist/mint-components/{p-05255c61.system.js → p-b3f6377c.system.js} +1 -1
  565. package/dist/mint-components/p-b4638167.entry.js +1 -0
  566. package/dist/mint-components/p-b4eca678.js +1 -0
  567. package/dist/mint-components/p-b6083f58.system.entry.js +1 -0
  568. package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
  569. package/dist/mint-components/p-b6bdf89e.entry.js +1 -0
  570. package/dist/mint-components/p-bcee8002.entry.js +13 -0
  571. package/dist/mint-components/{p-527216de.system.js → p-bd11230d.system.js} +1 -1
  572. package/dist/mint-components/{p-fa37513e.system.entry.js → p-bdb9e05a.system.entry.js} +1 -1
  573. package/dist/mint-components/p-be88596c.system.js +1 -0
  574. package/dist/mint-components/p-c1821c6d.entry.js +1 -0
  575. package/dist/mint-components/{p-4b626c19.entry.js → p-c2b880ef.entry.js} +2 -2
  576. package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
  577. package/dist/mint-components/p-c7c11325.js +1 -0
  578. package/dist/mint-components/p-cbc93735.system.entry.js +1 -0
  579. package/dist/mint-components/p-cfce2cfa.system.js +1 -0
  580. package/dist/mint-components/p-d54fa68e.entry.js +1 -0
  581. package/dist/mint-components/p-d5b01068.system.entry.js +1 -0
  582. package/dist/mint-components/p-d6c151e3.system.js +1 -0
  583. package/dist/mint-components/p-d7cbca3c.system.entry.js +1 -0
  584. package/dist/mint-components/p-dbf52a1f.js +1 -0
  585. package/dist/mint-components/{p-18425f38.system.entry.js → p-dccfe305.system.entry.js} +1 -1
  586. package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
  587. package/dist/mint-components/{p-5bedb58c.js → p-de3ef27e.js} +1 -1
  588. package/dist/mint-components/{p-7cbec088.system.entry.js → p-deca5ec3.system.entry.js} +1 -1
  589. package/dist/mint-components/{p-c2fdd608.system.entry.js → p-df34f189.system.entry.js} +1 -1
  590. package/dist/mint-components/p-e05d092a.entry.js +1 -0
  591. package/dist/mint-components/{p-ae473175.js → p-e078e746.js} +85 -85
  592. package/dist/mint-components/p-e13ed54a.entry.js +1 -0
  593. package/dist/mint-components/p-e523b22e.entry.js +11 -0
  594. package/dist/mint-components/p-e524056f.entry.js +1 -0
  595. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  596. package/dist/mint-components/p-e59eba75.entry.js +13 -0
  597. package/dist/mint-components/{p-59274a91.system.js → p-e7aa4f3b.system.js} +1 -1
  598. package/dist/mint-components/{p-98698131.js → p-ea1eed5d.js} +1 -1
  599. package/dist/mint-components/p-ecf91505.system.js +1 -0
  600. package/dist/mint-components/p-edf6bf2e.system.entry.js +1 -0
  601. package/dist/mint-components/p-edfa670f.system.entry.js +1 -0
  602. package/dist/mint-components/{p-9b6a0152.system.entry.js → p-efd2b6ec.system.entry.js} +1 -1
  603. package/dist/mint-components/p-f0368b8b.system.js +1 -0
  604. package/dist/mint-components/p-f03bd6ad.system.js +1 -0
  605. package/dist/mint-components/p-f2ebbbe3.system.entry.js +1 -0
  606. package/dist/mint-components/p-f6baa0c9.system.js +1 -0
  607. package/dist/mint-components/p-f826665a.entry.js +1 -0
  608. package/dist/mint-components/{p-4e526a94.js → p-fa420231.js} +1 -1
  609. package/dist/mint-components/{p-6cd4f2b1.system.js → p-fca47a45.system.js} +1 -1
  610. package/dist/mint-components/p-ff3c651c.js +1 -0
  611. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  612. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  613. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
  614. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
  615. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
  616. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
  617. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  618. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  619. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
  620. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  621. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
  622. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  623. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
  624. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
  625. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  626. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  627. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +1 -0
  628. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  629. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
  630. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +48 -12
  631. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  632. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  633. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
  634. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  635. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  636. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  637. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -0
  638. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  639. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
  640. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
  641. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
  642. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
  643. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
  644. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  645. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
  646. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
  647. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
  648. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  649. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +21 -1
  650. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  651. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
  652. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  653. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  654. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
  655. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  656. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
  657. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  658. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
  659. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
  660. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
  661. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
  662. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
  663. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
  664. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
  665. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
  666. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
  667. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +2 -1
  668. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  669. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -0
  670. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -0
  671. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -0
  672. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -0
  673. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -0
  674. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  675. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  676. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  677. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  678. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  679. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  680. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +15 -3
  681. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +42 -0
  682. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
  683. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
  684. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  685. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
  686. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
  687. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  688. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  689. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  690. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  691. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  692. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
  693. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
  694. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
  695. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  696. package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
  697. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
  698. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
  699. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  700. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  701. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  702. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  703. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -0
  704. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  705. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
  706. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  707. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
  708. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
  709. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  710. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
  711. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  712. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  713. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +45 -4
  714. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  715. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  716. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  717. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  718. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  719. package/dist/types/components/views/copy-text-view.d.ts +5 -0
  720. package/dist/types/components.d.ts +1293 -63
  721. package/dist/types/global/mixins.d.ts +12 -12
  722. package/dist/types/global/styles.d.ts +7 -1
  723. package/dist/types/saasquatch.d.ts +142 -0
  724. package/dist/types/utils/parseStates.d.ts +1 -0
  725. package/docs/docs.docx +0 -0
  726. package/docs/raisins.json +1 -1
  727. package/grapesjs/grapesjs.js +1 -1
  728. package/package.json +3 -2
  729. package/dist/cjs/copy-text-view-c85acaaa.js +0 -96
  730. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
  731. package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
  732. package/dist/cjs/sqm-invoice-table-view-8b950046.js +0 -2038
  733. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
  734. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
  735. package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
  736. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
  737. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
  738. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
  739. package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
  740. package/dist/esm/copy-text-view-782137ba.js +0 -94
  741. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
  742. package/dist/esm/sqm-asset-card.entry.js +0 -41
  743. package/dist/esm/sqm-invoice-table-view-0f0a7386.js +0 -2022
  744. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
  745. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
  746. package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
  747. package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
  748. package/dist/esm-es5/ShadowViewAddon-f5791215.js +0 -1
  749. package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
  750. package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
  751. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  752. package/dist/esm-es5/mixins-83f90fa1.js +0 -1
  753. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
  754. package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
  755. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  756. package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
  757. package/dist/esm-es5/sqm-invoice-table-view-0f0a7386.js +0 -1
  758. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  759. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  760. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  761. package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
  762. package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
  763. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
  764. package/dist/mint-components/p-04a6e457.entry.js +0 -1
  765. package/dist/mint-components/p-05f29f64.js +0 -1
  766. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  767. package/dist/mint-components/p-14a65f29.system.js +0 -1
  768. package/dist/mint-components/p-1513309d.entry.js +0 -1
  769. package/dist/mint-components/p-15d20bf9.entry.js +0 -258
  770. package/dist/mint-components/p-19ccb4ce.js +0 -1
  771. package/dist/mint-components/p-217514ac.system.js +0 -1
  772. package/dist/mint-components/p-229f797b.js +0 -1
  773. package/dist/mint-components/p-24db5c70.js +0 -1
  774. package/dist/mint-components/p-26468242.js +0 -1
  775. package/dist/mint-components/p-275b4767.entry.js +0 -1
  776. package/dist/mint-components/p-2d52e2d7.system.js +0 -1
  777. package/dist/mint-components/p-2dca9e1a.system.js +0 -1
  778. package/dist/mint-components/p-2e110002.system.js +0 -1
  779. package/dist/mint-components/p-2e4129e0.system.entry.js +0 -1
  780. package/dist/mint-components/p-301ddcaa.system.entry.js +0 -1
  781. package/dist/mint-components/p-31015791.js +0 -1
  782. package/dist/mint-components/p-33c96e14.entry.js +0 -16
  783. package/dist/mint-components/p-3708a40b.system.js +0 -1
  784. package/dist/mint-components/p-383d8c5a.system.entry.js +0 -1
  785. package/dist/mint-components/p-38e5c429.system.js +0 -1
  786. package/dist/mint-components/p-38fc919b.entry.js +0 -1
  787. package/dist/mint-components/p-3b90e01b.system.js +0 -1
  788. package/dist/mint-components/p-3db34d68.js +0 -1
  789. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  790. package/dist/mint-components/p-4428294b.entry.js +0 -1
  791. package/dist/mint-components/p-49206a9c.entry.js +0 -1
  792. package/dist/mint-components/p-4ae5ac59.entry.js +0 -13
  793. package/dist/mint-components/p-4e5af50c.js +0 -1
  794. package/dist/mint-components/p-5488fdd9.system.js +0 -1
  795. package/dist/mint-components/p-5c0576c0.system.entry.js +0 -1
  796. package/dist/mint-components/p-5c2d9a52.entry.js +0 -205
  797. package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
  798. package/dist/mint-components/p-6055eb4c.system.js +0 -1
  799. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  800. package/dist/mint-components/p-6427e963.entry.js +0 -1
  801. package/dist/mint-components/p-646cfbd5.system.js +0 -1
  802. package/dist/mint-components/p-65ba9e94.entry.js +0 -1
  803. package/dist/mint-components/p-6b7a595f.system.js +0 -1
  804. package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
  805. package/dist/mint-components/p-7127a230.js +0 -1
  806. package/dist/mint-components/p-775f3ded.entry.js +0 -1
  807. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  808. package/dist/mint-components/p-7e3a84bc.js +0 -1
  809. package/dist/mint-components/p-802b9f7e.entry.js +0 -1
  810. package/dist/mint-components/p-8053366e.system.entry.js +0 -1
  811. package/dist/mint-components/p-893d7ab4.js +0 -1
  812. package/dist/mint-components/p-8abfeff8.entry.js +0 -1
  813. package/dist/mint-components/p-8c23d1b8.js +0 -1
  814. package/dist/mint-components/p-8c494bf1.js +0 -1
  815. package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
  816. package/dist/mint-components/p-91521e9d.js +0 -1
  817. package/dist/mint-components/p-92816d1f.js +0 -1
  818. package/dist/mint-components/p-97ccee03.system.entry.js +0 -1
  819. package/dist/mint-components/p-97d4d651.system.js +0 -1
  820. package/dist/mint-components/p-9acb5038.js +0 -1
  821. package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
  822. package/dist/mint-components/p-9dd8c93b.system.js +0 -1
  823. package/dist/mint-components/p-a4eb4b81.entry.js +0 -144
  824. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  825. package/dist/mint-components/p-acf93efa.js +0 -394
  826. package/dist/mint-components/p-bd2a2546.system.js +0 -1
  827. package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
  828. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  829. package/dist/mint-components/p-c07551c4.system.entry.js +0 -1
  830. package/dist/mint-components/p-c2ab40ae.system.entry.js +0 -1
  831. package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
  832. package/dist/mint-components/p-c53b8fe7.entry.js +0 -13
  833. package/dist/mint-components/p-ccb5699b.js +0 -1
  834. package/dist/mint-components/p-cd1d497f.system.js +0 -1
  835. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  836. package/dist/mint-components/p-df89186f.system.js +0 -1
  837. package/dist/mint-components/p-e4fd9966.entry.js +0 -9
  838. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  839. package/dist/mint-components/p-e8ffcc68.entry.js +0 -11
  840. package/dist/mint-components/p-eab1c9f3.js +0 -1
  841. package/dist/mint-components/p-ebdf906a.entry.js +0 -1
  842. package/dist/mint-components/p-ec7d2a85.entry.js +0 -1
  843. package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
  844. package/dist/mint-components/p-f25f3d2a.system.entry.js +0 -1
  845. package/dist/mint-components/p-f26aedcd.system.js +0 -1
  846. package/dist/mint-components/p-f2d8d3d3.system.entry.js +0 -1
  847. package/dist/mint-components/p-f708da7b.js +0 -1
  848. package/dist/mint-components/p-fd0a013f.entry.js +0 -1
  849. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
  850. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
  851. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
  852. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
  853. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  854. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function o(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-fca47a45.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-676ca2c0.system.js","./p-04007292.system.js","./p-167be4b9.system.js"],(function(e){"use strict";var t,i,r,a,n,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.n},function(e){a=e.i;n=e.b},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(){},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="var(--sqm-portal-background)";this.includeCookies=false;r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=a()?u(this):l(this),t=e.states,r=e.callbacks;var n={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:n})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){n({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-fbfbbbd2.system.js","./p-6cd4f2b1.system.js","./p-4bd679a7.system.js","./p-14a65f29.system.js"],(function(e){"use strict";var r,n,t,a,i,o,d,s,l,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.n},function(e){a=e.i},function(e){i=e.d;o=e.H;d=e.J;s=e.w;l=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var v=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function p(e){var r,n,t,i;var l=o();var u=(r=e.programId)!==null&&r!==void 0?r:l;var f=d();var p=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){p.filter["interval"]=e.interval}var c=s(v,p,!(f===null||f===void 0?void 0:f.jwt)).data;var b=((n=c===null||c===void 0?void 0:c.viewer)===null||n===void 0?void 0:n.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(t=c===null||c===void 0?void 0:c.viewer)===null||t===void 0?void 0:t.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:b}}}var c="p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";var b=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?y(this):p(this);return n(f,Object.assign({},e))};return e}());function y(e){var r=a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}b.style=c}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-71bc7f52.system.js","./p-fca47a45.system.js","./p-4bd679a7.system.js","./p-71271fbd.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,d,l,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.n},function(e){a=e.i},function(e){i=e.d;o=e.H;s=e.J;d=e.w;l=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var v=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function c(e){var r,n,t,i;var l=o();var u=(r=e.programId)!==null&&r!==void 0?r:l;var f=s();var c=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){c.filter["interval"]=e.interval}var p=d(v,c,!(f===null||f===void 0?void 0:f.jwt)).data;var y=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(t=p===null||p===void 0?void 0:p.viewer)===null||t===void 0?void 0:t.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:y}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";var y=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?b(this):c(this);return n(f,Object.assign({},e))};return e}());function b(e){var r=a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}y.style=p}}}));
@@ -1,4 +1,4 @@
1
- import{k as i,f as r}from"./p-cd651f81.js";import{d as e,J as o,X as n,$ as s}from"./p-94a876b9.js";const t=e.gql`
1
+ import{k as i,f as r}from"./p-35b2fde0.js";import{d as e,J as o,X as n,$ as s}from"./p-66ac6bed.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-cd651f81.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,g=y||w,[b,{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:g}],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:b,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}
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,4 +1,4 @@
1
- import{f as e}from"./p-cd651f81.js";import{d as i,J as a,H as s,Q as l,R as d,I as r,B as o}from"./p-94a876b9.js";const n=i.gql`
1
+ import{f as e}from"./p-35b2fde0.js";import{d as i,J as a,H as s,Q as d,R as l,I as r,B as o}from"./p-66ac6bed.js";const n=i.gql`
2
2
  query getCodes(
3
3
  $engagementMedium: UserEngagementMedium!
4
4
  $limit: Int!
@@ -49,4 +49,4 @@ import{f as e}from"./p-cd651f81.js";import{d as i,J as a,H as s,Q as l,R as d,I
49
49
  }
50
50
  }
51
51
  }
52
- `;function v(i){const t=a(),m=o(),u=i.programId||s(),{refresh:v}=l(),{envelope:f,states:g,callbacks:p}=d(n,(e=>{var i;return null===(i=null==e?void 0:e.viewer)||void 0===i?void 0:i.referralCodeList}),{limit:1,offset:0},{engagementMedium:m,programId:u,filter:{fuelTank_eq:!0,programId_eq:u,dateUsed_exists:!1}},!(null==t?void 0:t.jwt)),[C,c]=r({namespace:"sq:referral-codes-pagination",initialValue:{states:g,callbacks:p}}),[h,k]=r({namespace:"sq:referral-codes",initialValue:{refresh:v,loading:!0,referralCode:"",shareLink:"",isCopied:!1,isUsed:!1,singleUse:!1,email:{messageLink:""},fbmessenger:{messageLink:"",shareLink:""},whatsapp:{messageLink:""}}});return e((()=>{var e,i,a,s,l,d,r,o,n,t,m,u,C,h,M,L;if(null===(e=null==f?void 0:f.data)||void 0===e?void 0:e.length){const e=f.data[0];k({refresh:v,referralCode:e.code,isCopied:!!e.dateCopied,isUsed:!!e.dateUsed,singleUse:!!e.singleUse,shareLink:null===(s=null===(a=null===(i=e.shareLinkCodes)||void 0===i?void 0:i.data)||void 0===a?void 0:a[0])||void 0===s?void 0:s.direct,email:{messageLink:null===(r=null===(d=null===(l=e.shareLinkCodes)||void 0===l?void 0:l.data)||void 0===d?void 0:d[0])||void 0===r?void 0:r.email},fbmessenger:{messageLink:null===(t=null===(n=null===(o=e.shareLinkCodes)||void 0===o?void 0:o.data)||void 0===n?void 0:n[0])||void 0===t?void 0:t.fbMessenger,shareLink:null===(C=null===(u=null===(m=e.shareLinkCodes)||void 0===m?void 0:m.data)||void 0===u?void 0:u[0])||void 0===C?void 0:C.fbMessenger},whatsapp:{messageLink:null===(L=null===(M=null===(h=e.shareLinkCodes)||void 0===h?void 0:h.data)||void 0===M?void 0:M[0])||void 0===L?void 0:L.whatsApp}}),c({states:g,callbacks:p})}}),[f]),{states:{...g,noCodes:0===(null==f?void 0:f.totalCount)},data:h,callbacks:{}}}export{m as R,u as S,t as a,v as u}
52
+ `;function v(i){const t=a(),m=o(),u=i.programId||s(),{refresh:v}=d(),{envelope:f,states:g,callbacks:p}=l(n,(e=>{var i;return null===(i=null==e?void 0:e.viewer)||void 0===i?void 0:i.referralCodeList}),{limit:1,offset:0},{engagementMedium:m,programId:u,filter:{fuelTank_eq:!0,programId_eq:u,dateUsed_exists:!1}},!(null==t?void 0:t.jwt)),[C,c]=r({namespace:"sq:referral-codes-pagination",initialValue:{states:g,callbacks:p}}),[h,k]=r({namespace:"sq:referral-codes",initialValue:{refresh:v,loading:!0,referralCode:"",shareLink:"",isCopied:!1,isUsed:!1,singleUse:!1,email:{messageLink:""},fbmessenger:{messageLink:"",shareLink:""},whatsapp:{messageLink:""}}});return e((()=>{var e,i,a,s,d,l,r,o,n,t,m,u,C,h,M,L;if(null===(e=null==f?void 0:f.data)||void 0===e?void 0:e.length){const e=f.data[0];k({refresh:v,referralCode:e.code,isCopied:!!e.dateCopied,isUsed:!!e.dateUsed,singleUse:!!e.singleUse,shareLink:null===(s=null===(a=null===(i=e.shareLinkCodes)||void 0===i?void 0:i.data)||void 0===a?void 0:a[0])||void 0===s?void 0:s.direct,email:{messageLink:null===(r=null===(l=null===(d=e.shareLinkCodes)||void 0===d?void 0:d.data)||void 0===l?void 0:l[0])||void 0===r?void 0:r.email},fbmessenger:{messageLink:null===(t=null===(n=null===(o=e.shareLinkCodes)||void 0===o?void 0:o.data)||void 0===n?void 0:n[0])||void 0===t?void 0:t.fbMessenger,shareLink:null===(C=null===(u=null===(m=e.shareLinkCodes)||void 0===m?void 0:m.data)||void 0===u?void 0:u[0])||void 0===C?void 0:C.fbMessenger},whatsapp:{messageLink:null===(L=null===(M=null===(h=e.shareLinkCodes)||void 0===h?void 0:h.data)||void 0===M?void 0:M[0])||void 0===L?void 0:L.whatsApp}}),c({states:g,callbacks:p})}}),[f]),{states:{...g,noCodes:0===(null==f?void 0:f.totalCount)},data:h,callbacks:{}}}export{m as R,u as S,t as a,v as u}
@@ -0,0 +1 @@
1
+ import{r as t,h as i}from"./p-c7c11325.js";import{n as s}from"./p-35b2fde0.js";import{i as e,b as a}from"./p-66ac6bed.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{E as o}from"./p-7b4f0dbc.js";import"./p-ea1eed5d.js";import{u as l}from"./p-3168fa90.js";const m=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="var(--sqm-portal-background)",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:m})}};export{m as sqm_instant_access_registration}
@@ -0,0 +1 @@
1
+ import{r as t,h as e}from"./p-c7c11325.js";import{u as i,f as r,n as o}from"./p-35b2fde0.js";import"./p-e078e746.js";import{M as a,_ as n,J as s,L as u,I as h,S as d,i as c}from"./p-66ac6bed.js";import{c as m}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{E as p}from"./p-24af584d.js";import{g as y,L as f}from"./p-01c508cc.js";import{e as v,p as b}from"./p-0797a946.js";import{T as g,a as x,U as T,C as S,b as w,S as I,c as k,G as P,d as C,e as A,F as q,f as B,g as N,h as V}from"./p-3206d0a4.js";const E=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 who represent a business entity need to submit a {documentType} form.",this.step3_docusignExpired="For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.",this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.",this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.",this.step3_refreshButton="Refresh Page",this.step3_exitButton="Exit",this.step3_modalTitle="Important Note",this.step3_modalDescription="Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.",this.step3_modalButtonText="I understand",this.step4_taxAndPayouts="Payouts",this.step4_directlyToBankAccount="Directly to my bank account",this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})",this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold",this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month",this.step4_paymentDaySelectLabel="Payment Day",this.step4_paymentThresholdSelectLabel="Payment threshold",this.step4_paymentDayFirstOfMonthLabelText="1st of the month",this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month",this.step4_paymentMethod="Payment method",this.step4_paymentSchedule="Payment schedule",this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.",this.step4_payPalInputLabel="PayPal email",this.step4_bankLocationLabel="Bank country location",this.step4_beneficiaryAccountNameLabel="Account holder name",this.step4_beneficiaryAccountNameDescription="The beneficiary name of your bank account. Ensure this matches the name on your tax form.",this.step4_bankAccountTypeLabel="Bank account type",this.step4_checkingSelectItemLabel="Checking",this.step4_savingsSelectItemLabel="Savings",this.step4_bankAccountNumberLabel="Bank account number",this.step4_ibanLabel="IBAN",this.step4_swiftCodeLabel="SWIFT code",this.step4_routingCodeLabel="{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }",this.step4_bankNameLabel="Bank name",this.step4_classificationEntityLabel="Classification entity",this.step4_businessSelectItemLabel="Business",this.step4_individualSelectItemLabel="Individual",this.step4_foreignSelectItemLabel="Foreign",this.step4_classificationCPFLabel="Classification CPF",this.step4_patronymicNameLabel="Patronymic name",this.step4_voCodeLabel="VO code",this.step4_agencyCodeLabel="Agency code",this.step4_branchCodeLabel="Branch code",this.step4_classificationLabel="Classification",this.step4_taxPayerIdLabel="Beneficiary INN",this.step4_bankAddressLabel="Bank address",this.step4_bankCityLabel="Bank city",this.step4_bankStateLabel="Bank Province / State",this.step4_bankPostalCodeLabel="Bank postal code",this.step4_eftWithdrawalLabel="EFT Withdrawal (free)",this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)",this.step4_verifyEmailHeaderText="Verify your email",this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.",this.step4_modalTitle="Important Note",this.step4_modalDescription="Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.",this.step4_modalButtonText="I understand, update my information",this.dashboard_statusTextActive="Active",this.dashboard_statusTextNotActive="Invalid Tax Form",this.dashboard_statusTextNotVerified="Not Verified",this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.",this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.",this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.",this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile",this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid",this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.",this.dashboard_taxAlertNotActiveMessageW8="Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.",this.dashboard_invalidForm="Make sure your information is correct and submit new form.",this.dashboard_bankingInformationSectionHeader="Payout Information",this.dashboard_taxDocumentSectionHeader="Tax documents",this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form",this.dashboard_noFormNeededSubtext="Tax documents are only required if you are based in the US or joining the referral program of a US based brand.",this.dashboard_indirectTaxInfoSectionHeader="Indirect tax",this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}",this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}",this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}",this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.",this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}",this.dashboard_newFormButton="Submit new form",this.dashboard_editPaymentInformationButton="Edit Payout Information",this.dashboard_notRegisteredForTax="Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.",this.dashboard_qstNumber="QST number: {qstNumber}",this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}",this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }",this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}",this.dashboard_accountText="Account",this.dashboard_invoiceColumnTitle="Invoice",this.dashboard_dateColumnTitle="Date",this.dashboard_earningsColumnTitle="Earnings",this.dashboard_indirectTaxColumnTitle="Indirect tax",this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.",this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax",this.dashboard_payoutHoldAlertHeader="Your payout is on hold",this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.",this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.",this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.",this.dashboard_invoicePrevLabel="Prev",this.dashboard_invoiceMoreLabel="Next",this.dashboard_invoiceHeader="Invoices",this.dashboard_invoiceEmptyStateHeader="View your invoice details",this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned",this.dashboard_replaceTaxFormModalHeader="Replace existing tax form",this.dashboard_replaceTaxFormModalBodyText="Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.",this.dashboard_verificationRequiredHeader="Verify your identity",this.dashboard_verificationRequiredDescription="Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.",this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress",this.dashboard_verificationRequiredInternalDescription="Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review",this.dashboard_verificationReviewInternalDescription="Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful",this.dashboard_verificationFailedInternalDescription="Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationRequiredButtonText="Start Verification",this.formStep="Step {step} of {count}",this.generalErrorTitle="There was a problem submitting your information",this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.",this.fieldRequiredError="{fieldName} is required",this.invalidCharacterError="{fieldName} includes characters that aren't supported.",this.fieldInvalidError="{fieldName} is invalid",this.continueButton="Continue",this.backButton="Back",this.cancelButton="Cancel",this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com",this.isPartnerAlertDescription="If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.",this.searchForCountryText="Search for country..",this.loadingErrorAlertHeader="There was a problem loading your form",this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.",this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.",this.supportLink="support team",this.stateController="{}",o(this)}disconnectedCallback(){}getGeneralStepTextProps(t){const e=l(this);return{...v(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,o;const E=c()?function(t){const[e,i]=h({namespace:g,initialValue:"/1"});console.log("PROPS",t);const 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 m({step:e,setStep:i},t.demoData||o||{},{arrayMerge:(t,e)=>e})}(this):function(){var t,e,o,c,m;const l=n(),p=s(),f=u(),[v,b]=h({namespace:g,initialValue:"/loading"}),[E,j]=h({namespace:x,initialValue:{}}),[L,R]=h({namespace:T,initialValue:{firstName:void 0,lastName:void 0,email:void 0,countryCode:void 0,currency:void 0}}),[_,F]=h({namespace:S,initialValue:[]}),[O,U]=h({namespace:w,initialValue:[]}),[D,G]=h({namespace:I,initialValue:[]}),{data:H,errors:M}=d({namespace:k,query:P,skip:!p,options:{batch:!1}}),Y=(null===(o=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===o?void 0:o.countryCode)||L.countryCode;d({namespace:C,query:A,skip:!p});const{data:W}=d({namespace:q,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==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.currency}:Y?{countryCode_eq:Y}:{}}()}}),{data:Q}=d({namespace:N,query:V,skip:!p,variables:{locale:f}}),Z=i((()=>{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!==Y?t:[...t,o]:t}),[])}),[W,Y]),z=(null==f?void 0:f.replace("_","-"))||"en",K=(t,e)=>t.displayName<e.displayName?-1:1,X=null===(c=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===c?void 0:c.data,$=i((()=>new Set(null==X?void 0:X.map((t=>t.countryCode)).filter((t=>t)))),[X]),J=["CA","GB","US"],tt=i((()=>Array.from($).map((t=>y({countryCode:t,locale:z}))).sort(K).reduce(((t,e)=>J.includes(e.countryCode)?[e,...t]:[...t,e]),[])),[$]);return r((()=>{tt&&G(tt)}),[tt]),r((()=>{Z&&F(Z)}),[Z]),r((()=>{if(M)b("/error");else if(l&&p&&H){const t=null==H?void 0:H.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:n}=t.impactConnection.publisher;return r&&!o?"/3":!a&&n?"/4":"/dashboard"}(t);b(e)}}),[l,p,null===(m=null==H?void 0:H.user)||void 0===m?void 0:m.email,M]),{step:v,setStep:b,context:E,namespace:a(g),loading:"/loading"===v}}();if(null===(t=this.demoData)||void 0===t?void 0:t.showTextProps){const t=l(this);return e("div",null,null===(o=Object.keys(t))||void 0===o?void 0:o.map((t=>{if("demoData"!==t)return e("div",null,e("b",null,t,":")," ",this[t],e("hr",null))})))}return(()=>{switch(E.step){case"/1":return e("sqm-user-info-form",Object.assign({},this.getGeneralStepTextProps("step1_"),v(E,"sqm-user-info-form_")));case"/2":return e("sqm-indirect-tax-form",Object.assign({},this.getGeneralStepTextProps("step2_"),v(E,"sqm-indirect-tax-form_")));case"/3":return e("sqm-docusign-form",Object.assign({},this.getGeneralStepTextProps("step3_"),v(E,"sqm-docusign-form_")));case"/4":return e("sqm-banking-info-form",Object.assign({},this.getGeneralStepTextProps("step4_"),v(E,"sqm-banking-info-form_")));case"/dashboard":return e("sqm-tax-and-cash-dashboard",Object.assign({},this.getGeneralStepTextProps("dashboard_"),v(E,"sqm-tax-and-cash-dashboard_")));case"/error":return e(p,{loadingErrorAlertHeader:this.loadingErrorAlertHeader,loadingErrorAlertDescription:this.loadingErrorAlertDescription})}})()||e(f,null)}};export{E as sqm_tax_and_cash}
@@ -0,0 +1 @@
1
+ import{h as a}from"./p-c7c11325.js";import{c as e}from"./p-cef45012.js";import{A as r,g as s,a as t,b as l,E as o}from"./p-49b20dae.js";const n=e({Wrapper:{...r,...s({direction:"column",size:"var(--sl-spacing-small)"})},Column:t,ForgotButtonContainer:{display:"inline",cursor:"pointer","font-size":"13px","font-weight":"600",color:"#AAAAAA",margin:"0"},ButtonsContainer:l,ErrorStyle:o}),i=n.toString();function p(e){var r,s,t,l;const{states:o,callbacks:p,content:d}=e,m=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return a("div",{part:"sqm-base",class:n.classes.Wrapper,style:{border:d.hideBorder?"none":"1px solid var(--sqm-border-color)",backgroundColor:d.backgroundColor,"padding-top":`var(--sl-spacing-${d.paddingTop})`,"padding-right":`var(--sl-spacing-${d.paddingRight})`,"padding-bottom":`var(--sl-spacing-${d.paddingBottom})`,"padding-left":`var(--sl-spacing-${d.paddingLeft})`}},a("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\na svg {\n margin: 0 auto;\n display: block;\n}\n",i),d.topSlot,a("sl-form",{class:n.classes.Column,"onSl-submit":p.submit},e.states.error&&(c=e.content.fraudErrorMessage,"FRAUD"===(b=e.states.error)?a("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},a("b",null,e.content.fraudErrorMessageTitle),a("div",{part:"erroralert-text"},c)):a("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},a("div",{part:"erroralert-text"},b))),d.includeName&&a("sl-input",{exportparts:"label: input-label, base: input-base",type:"name",name:"/firstName",label:d.firstNameLabel||"First Name",disabled:o.loading}),d.includeName&&a("sl-input",{exportparts:"label: input-label, base: input-base",type:"name",name:"/lastName",label:d.lastNameLabel||"Last Name",disabled:o.loading}),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:d.emailLabel||"Email",disabled:o.loading,required:!0,validationError:({value:a})=>a?a.match(m)?void 0:d.invalidEmailErrorMessage:d.requiredFieldErrorMessage},(null===(s=null===(r=o.registrationFormState)||void 0===r?void 0:r.validationErrors)||void 0===s?void 0:s.email)?{class:n.classes.ErrorStyle,helpText:(null===(l=null===(t=o.registrationFormState)||void 0===t?void 0:t.validationErrors)||void 0===l?void 0:l.email)||d.requiredFieldErrorMessage}:[])),a("div",{class:n.classes.ButtonsContainer,style:{paddingTop:d.includeName?"var(--sl-spacing-medium)":"0"}},a("sl-button",{submit:!0,loading:o.loading,exportparts:"base: primarybutton-base",type:"primary"},d.registerLabel||"Registration"))),d.bottomSlot);var b,c}export{p as E}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-6cd4f2b1.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.o;o=t.f;u=t.n},function(t){a=t.G;c=t.E;s=t.a;l=t.P}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=s();u=c(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-fca47a45.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.o;o=t.f;u=t.n},function(t){a=t.G;c=t.E;s=t.a;l=t.P}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=s();u=c(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
@@ -0,0 +1 @@
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(n,e){if(Object.defineProperty){Object.defineProperty(n,"raw",{value:e})}else{n.raw=e}return n};System.register(["./p-fca47a45.system.js"],(function(n){"use strict";var e;return{setters:[function(n){e=n.d}],execute:function(){var t=n("T","sq:tax-and-cash");var a=n("a","sq:tax-form-context");var i=n("c","sq:user-info-query");var r=n("U","sq:user-form-context");var o=n("F","sq:finance-network-settings");var d=n("b","sq:countries:list");var l=n("S","sq:countries:sorted");var c=n("d","sq:countries:query");var u=n("C","sq:currencies:list");var s=n("g","sq:currencies:query");var m=n("G",e.gql(__makeTemplateObject(["\n query getUserTaxInfo {\n user: viewer {\n ... on User {\n id\n firstName\n lastName\n email\n countryCode\n customFields\n managedIdentity {\n uid\n email\n emailVerified\n }\n impactConnection {\n connected\n user {\n firstName\n lastName\n }\n publisher {\n id\n brandedSignup\n countryCode\n currency\n billingAddress\n billingCity\n billingState\n billingCountryCode\n billingPostalCode\n phoneNumberCountryCode\n phoneNumber\n taxInformation {\n indirectTaxId\n indirectTaxCountryCode\n indirectTaxRegion\n additionalTaxId\n withholdingTaxId\n withholdingTaxCountryCode\n }\n requiredTaxDocumentType\n currentTaxDocument {\n status\n type\n dateCreated\n }\n withdrawalSettings {\n paymentMethod\n paypalEmailAddress\n bankCountry\n bankAccountNumber\n paymentSchedulingType\n paymentThreshold\n paymentDay\n }\n payoutsAccount {\n hold\n holdReasons\n balance\n }\n }\n }\n }\n }\n }\n"],["\n query getUserTaxInfo {\n user: viewer {\n ... on User {\n id\n firstName\n lastName\n email\n countryCode\n customFields\n managedIdentity {\n uid\n email\n emailVerified\n }\n impactConnection {\n connected\n user {\n firstName\n lastName\n }\n publisher {\n id\n brandedSignup\n countryCode\n currency\n billingAddress\n billingCity\n billingState\n billingCountryCode\n billingPostalCode\n phoneNumberCountryCode\n phoneNumber\n taxInformation {\n indirectTaxId\n indirectTaxCountryCode\n indirectTaxRegion\n additionalTaxId\n withholdingTaxId\n withholdingTaxCountryCode\n }\n requiredTaxDocumentType\n currentTaxDocument {\n status\n type\n dateCreated\n }\n withdrawalSettings {\n paymentMethod\n paypalEmailAddress\n bankCountry\n bankAccountNumber\n paymentSchedulingType\n paymentThreshold\n paymentDay\n }\n payoutsAccount {\n hold\n holdReasons\n balance\n }\n }\n }\n }\n }\n }\n"])));var y=n("e",e.gql(__makeTemplateObject(["\n query getCountries {\n impactPayoutCountries(limit: 1000) {\n data {\n countryCode\n displayName\n }\n }\n }\n"],["\n query getCountries {\n impactPayoutCountries(limit: 1000) {\n data {\n countryCode\n displayName\n }\n }\n }\n"])));var p=n("h",e.gql(__makeTemplateObject(["\n query currencies($locale: RSLocale) {\n currencies(limit: 300) {\n data {\n displayName(locale: $locale)\n currencyCode\n }\n }\n }\n"],["\n query currencies($locale: RSLocale) {\n currencies(limit: 300) {\n data {\n displayName(locale: $locale)\n currencyCode\n }\n }\n }\n"])));var g=n("f",e.gql(__makeTemplateObject(["\n query impactFinanceNetworkSettings(\n $filter: ImpactFinanceNetworkSettingsFilterInput\n ) {\n impactFinanceNetworkSettings(filter: $filter, limit: 1000) {\n data {\n countryCode\n currency\n defaultFinancePaymentMethodId\n thresholdOptions\n withdrawalSettingId\n internationalEftFee\n foreignFxFee\n defaultFxFee\n }\n totalCount\n }\n }\n"],["\n query impactFinanceNetworkSettings(\n $filter: ImpactFinanceNetworkSettingsFilterInput\n ) {\n impactFinanceNetworkSettings(filter: $filter, limit: 1000) {\n data {\n countryCode\n currency\n defaultFinancePaymentMethodId\n thresholdOptions\n withdrawalSettingId\n internationalEftFee\n foreignFxFee\n defaultFxFee\n }\n totalCount\n }\n }\n"])));var C=n("i",4)}}}));
@@ -0,0 +1 @@
1
+ import{h as t,r as e,c as s}from"./p-c7c11325.js";import{n}from"./p-35b2fde0.js";import{i as a}from"./p-e078e746.js";import"./p-66ac6bed.js";import{g as i}from"./p-9ec99ced.js";import"./p-cef45012.js";import{P as r,a as o}from"./p-9580aac3.js";function l(e){const{emptyStateHeader:s,emptyStateImage:n,emptyStateText:i,supportText:r,missingFeature:o=""}=e;return t("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},t("img",{style:{height:"100px",margin:"auto"},src:n}),t("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("p",{part:"header-text"},s)),t("sqm-text",{slot:"content"},t("p",{part:"description-text"},a.formatMessage({id:"emptyStateText",defaultMessage:i},{supportText:t("a",{target:"_blank",href:`mailto:saasquatch-support@impact.com?subject=Next steps for ${o} feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the ${o} feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: ${o}%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you`},r)})))))}const m=class{constructor(t){e(this,t),this.emptyStateImage="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png"}render(){return t(s,{slot:"empty"},t(l,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))}},h=class{constructor(t){e(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",this.flexWrap="wrap",n(this)}disconnectedCallback(){}render(){return t(r,Object.assign({},i(this)),t("slot",null))}},c=class{constructor(t){e(this,t),this.ignored=!0,n(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,`\n sqm-text {\n display: block;\n color: ${this.textColor||"var(--sqm-text)"};\n }\n\n sqm-text h1 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xxx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-x-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-large)"};\n font-weight: var(--sl-font-weight-bold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text p {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-medium)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text sub {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-small)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n `),t("slot",null))}},p=class{constructor(t){e(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",n(this)}disconnectedCallback(){}render(){const e=t("slot",{name:"label"},this.label),s=t("slot",{name:"content"});return t(o,Object.assign({},{...i(this),label:e,content:s}))}};export{m as sqm_empty,h as sqm_portal_container,c as sqm_text,p as sqm_titled_section}
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(r,e){if(Object.defineProperty){Object.defineProperty(r,"raw",{value:e})}else{r.raw=e}return r};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))r[o]=e[o]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,i,n){function o(r){return r instanceof i?r:new i((function(e){e(r)}))}return new(i||(i=Promise))((function(i,a){function t(r){try{l(n.next(r))}catch(r){a(r)}}function s(r){try{l(n["throw"](r))}catch(r){a(r)}}function l(r){r.done?i(r.value):o(r.value).then(t,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,t;return t={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function s(r){return function(e){return l([r,e])}}function l(t){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(a=t[0]&2?o["return"]:t[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,t[1])).done)return a;if(o=0,a)t=[t[0]&2,a.value];switch(t[0]){case 0:case 1:a=t;break;case 4:i.label++;return{value:t[1],done:false};case 5:i.label++;o=t[1];t=[0];continue;case 7:t=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(t[0]===6||t[0]===2)){i=0;continue}if(t[0]===3&&(!a||t[1]>a[0]&&t[1]<a[3])){i.label=t[1];break}if(t[0]===6&&i.label<a[1]){i.label=a[1];a=t;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(t);break}if(a[2])i.ops.pop();i.trys.pop();continue}t=e.call(r,i)}catch(r){t=[6,r];o=0}finally{n=a=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:true}}};System.register(["./p-48135f99.system.js","./p-6cd4f2b1.system.js","./p-b2295bc5.system.js","./p-8175e85f.system.js","./p-9d362d44.system.js"],(function(r){"use strict";var e,i,n,o,a,t,s,l,d,u,v;return{setters:[function(r){e=r.m;i=r.f},function(r){n=r.d;o=r.L;a=r.O;t=r.w;s=r.j;l=r.u},function(r){d=r.j},function(r){u=r.u},function(r){v=r.A}],execute:function(){r("u",c);var f=n.gql(__makeTemplateObject(["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"],["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]));function c(r){var n=this;var c,g,m,_,p,h,y,b,w;var E=e(null);var k=o();var P=u({}),j=P.registrationFormState,D=P.setRegistrationFormState;var M=a(),F=M[0],O=M[1],S=O.loading,x=O.errors,T=O.data,q=O.formError;var I=t(f,{key:r.formKey});var L=S||I.loading;i((function(){var e,i,n;var o=(e=I===null||I===void 0?void 0:I.data)===null||e===void 0?void 0:e.form.initialData.initialData;var a=((i=I===null||I===void 0?void 0:I.data)===null||i===void 0?void 0:i.form.initialData.isEnabled)===false;var t=((n=I===null||I===void 0?void 0:I.data)===null||n===void 0?void 0:n.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage;var s={loading:L,disabled:a,disabledMessage:t,initialData:o};D(s)}),[(c=I===null||I===void 0?void 0:I.data)===null||c===void 0?void 0:c.form.initialData]);i((function(){if(!E.current)return;var r=E.current;r.addEventListener("sl-input",$);return function(){r.removeEventListener("sl-input",$)}}),[E.current]);var R=function(e){return __awaiter(n,void 0,void 0,(function(){var i,n,o,a,t,l,u,v,f,c,g,m,_,p,h,y,b,w,E,P,M,O,S,x,T,q,I,L,R;return __generator(this,(function($){switch($.label){case 0:E=e.target.getFormControls();P={};M={};E===null||E===void 0?void 0:E.forEach((function(e){if(!e.name)return;var i=e.name;var n=e.value;d.set(P,i,n);if(e.required&&!n){d.set(M,i,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var o=e.validationError;var a=o({control:e,key:i,value:n});if(a)d.set(M,i,a)}}));if((r.confirmPassword||P.confirmPassword)&&P.password!==P.confirmPassword){M=__assign(__assign({},M),{confirmPassword:r.passwordMismatchErrorMessage})}if(Object.keys(M).length){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:M}));return[2]}D(__assign(__assign({},j),{loading:true,error:"",validationErrors:{}}));O=P.email,S=P.password;delete P.email;delete P.password;delete P.confirmPassword;x=r.redirectPath;T=j._googleOAuthIdToken;q={key:r.formKey,formData:__assign(__assign(__assign({},T?{_googleOAuthIdToken:T}:{}),{locale:k,email:O,password:S,redirectPath:x}),P)};$.label=1;case 1:$.trys.push([1,3,,4]);return[4,F(q)];case 2:I=$.sent();if(I instanceof Error){throw I}D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{}}));L=(i=I.submitForm)===null||i===void 0?void 0:i.results.find((function(r){var e;return((e=r===null||r===void 0?void 0:r.formHandler)===null||e===void 0?void 0:e.namespace)==="identity"}));if(L&&L.result.results.length&&L.result.results[0].success&&L.result.results[0].data.token){s.push(r.nextPage)}else if(((n=I.submitForm)===null||n===void 0?void 0:n.results.length)===1&&((l=(t=(a=(o=I.submitForm)===null||o===void 0?void 0:o.results[0])===null||a===void 0?void 0:a.result)===null||t===void 0?void 0:t.results)===null||l===void 0?void 0:l.length)===1&&((g=(c=(f=(v=(u=I.submitForm)===null||u===void 0?void 0:u.results[0])===null||v===void 0?void 0:v.result)===null||f===void 0?void 0:f.results)===null||c===void 0?void 0:c[0])===null||g===void 0?void 0:g.success)===false&&((b=(y=(h=(p=(_=(m=I.submitForm)===null||m===void 0?void 0:m.results[0])===null||_===void 0?void 0:_.result)===null||p===void 0?void 0:p.results)===null||h===void 0?void 0:h[0])===null||y===void 0?void 0:y.message)===null||b===void 0?void 0:b.startsWith("Blocked email"))){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}return[3,4];case 3:R=$.sent();if((w=R===null||R===void 0?void 0:R.message)===null||w===void 0?void 0:w.includes("is not a valid email address")){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else{D(__assign(__assign({},j),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};var $=l((function(r){var e,i;var n=(i=(e=r.target)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.toLowerCase();if(n!=="tel")return;var o=new v("US");r.target.value=o.input(r.target.value)}),[]);var A="";if(((g=I===null||I===void 0?void 0:I.data)===null||g===void 0?void 0:g.form.initialData.isEnabled)===false){A=((m=I===null||I===void 0?void 0:I.data)===null||m===void 0?void 0:m.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage}else if((_=x===null||x===void 0?void 0:x.response)===null||_===void 0?void 0:_["error"]){A=r.networkErrorMessage}else if((x===null||x===void 0?void 0:x.message)&&!((p=x===null||x===void 0?void 0:x.response)===null||p===void 0?void 0:p.errors.length)){A=r.networkErrorMessage}else{A=q||((w=(b=(y=(h=I===null||I===void 0?void 0:I.errors)===null||h===void 0?void 0:h.response)===null||y===void 0?void 0:y.errors)===null||b===void 0?void 0:b[0])===null||w===void 0?void 0:w.message)||(j===null||j===void 0?void 0:j.error)}return{states:{loading:S||I.loading,error:A,registrationFormState:j,confirmPassword:r.confirmPassword,hideInputs:r.hideInputs,loginPath:r.loginPath,enablePasswordValidation:!r.disablePasswordValidation},callbacks:{submit:R,inputFunction:$},refs:{formRef:E}}}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(r,e){if(Object.defineProperty){Object.defineProperty(r,"raw",{value:e})}else{r.raw=e}return r};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,i,n){function a(r){return r instanceof i?r:new i((function(e){e(r)}))}return new(i||(i=Promise))((function(i,o){function t(r){try{l(n.next(r))}catch(r){o(r)}}function s(r){try{l(n["throw"](r))}catch(r){o(r)}}function l(r){r.done?i(r.value):a(r.value).then(t,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,t;return t={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function s(r){return function(e){return l([r,e])}}function l(t){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=t[0]&2?a["return"]:t[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,t[1])).done)return o;if(a=0,o)t=[t[0]&2,o.value];switch(t[0]){case 0:case 1:o=t;break;case 4:i.label++;return{value:t[1],done:false};case 5:i.label++;a=t[1];t=[0];continue;case 7:t=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(t[0]===6||t[0]===2)){i=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]<o[3])){i.label=t[1];break}if(t[0]===6&&i.label<o[1]){i.label=o[1];o=t;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(t);break}if(o[2])i.ops.pop();i.trys.pop();continue}t=e.call(r,i)}catch(r){t=[6,r];a=0}finally{n=o=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:true}}};System.register(["./p-88e32c4a.system.js","./p-fca47a45.system.js","./p-b2295bc5.system.js","./p-04007292.system.js","./p-9d362d44.system.js"],(function(r){"use strict";var e,i,n,a,o,t,s,l,d,u,v;return{setters:[function(r){e=r.m;i=r.f},function(r){n=r.d;a=r.L;o=r.O;t=r.w;s=r.j;l=r.u},function(r){d=r.j},function(r){u=r.u},function(r){v=r.A}],execute:function(){r("u",c);var f=n.gql(__makeTemplateObject(["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"],["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]));function c(r){var n=this;var c,g,m,_,p,h,y,b,w;var E=e(null);var k=a();var P=u({}),j=P.registrationFormState,D=P.setRegistrationFormState;var M=o(),F=M[0],O=M[1],S=O.loading,x=O.errors,T=O.data,q=O.formError;var I=t(f,{key:r.formKey});var L=S||I.loading;i((function(){var e,i,n;var a=(e=I===null||I===void 0?void 0:I.data)===null||e===void 0?void 0:e.form.initialData.initialData;var o=((i=I===null||I===void 0?void 0:I.data)===null||i===void 0?void 0:i.form.initialData.isEnabled)===false;var t=((n=I===null||I===void 0?void 0:I.data)===null||n===void 0?void 0:n.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage;var s={loading:L,disabled:o,disabledMessage:t,initialData:a};D(s)}),[(c=I===null||I===void 0?void 0:I.data)===null||c===void 0?void 0:c.form.initialData]);i((function(){if(!E.current)return;var r=E.current;r.addEventListener("sl-input",$);return function(){r.removeEventListener("sl-input",$)}}),[E.current]);var R=function(e){return __awaiter(n,void 0,void 0,(function(){var i,n,a,o,t,l,u,v,f,c,g,m,_,p,h,y,b,w,E,P,M,O,S,x,T,q,I,L,R;return __generator(this,(function($){switch($.label){case 0:E=e.target.getFormControls();P={};M={};E===null||E===void 0?void 0:E.forEach((function(e){if(!e.name)return;var i=e.name;var n=e.value;d.set(P,i,n);if(e.required&&!n){d.set(M,i,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var a=e.validationError;var o=a({control:e,key:i,value:n});if(o)d.set(M,i,o)}}));if((r.confirmPassword||P.confirmPassword)&&P.password!==P.confirmPassword){M=__assign(__assign({},M),{confirmPassword:r.passwordMismatchErrorMessage})}if(Object.keys(M).length){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:M}));return[2]}D(__assign(__assign({},j),{loading:true,error:"",validationErrors:{}}));O=P.email,S=P.password;delete P.email;delete P.password;delete P.confirmPassword;x=r.redirectPath;T=j._googleOAuthIdToken;q={key:r.formKey,formData:__assign(__assign(__assign({},T?{_googleOAuthIdToken:T}:{}),{locale:k,email:O,password:S,redirectPath:x}),P)};$.label=1;case 1:$.trys.push([1,3,,4]);return[4,F(q)];case 2:I=$.sent();if(I instanceof Error){throw I}D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{}}));L=(i=I.submitForm)===null||i===void 0?void 0:i.results.find((function(r){var e;return((e=r===null||r===void 0?void 0:r.formHandler)===null||e===void 0?void 0:e.namespace)==="identity"}));if(L&&L.result.results.length&&L.result.results[0].success&&L.result.results[0].data.token){s.push(r.nextPage)}else if(((n=I.submitForm)===null||n===void 0?void 0:n.results.length)===1&&((l=(t=(o=(a=I.submitForm)===null||a===void 0?void 0:a.results[0])===null||o===void 0?void 0:o.result)===null||t===void 0?void 0:t.results)===null||l===void 0?void 0:l.length)===1&&((g=(c=(f=(v=(u=I.submitForm)===null||u===void 0?void 0:u.results[0])===null||v===void 0?void 0:v.result)===null||f===void 0?void 0:f.results)===null||c===void 0?void 0:c[0])===null||g===void 0?void 0:g.success)===false&&((b=(y=(h=(p=(_=(m=I.submitForm)===null||m===void 0?void 0:m.results[0])===null||_===void 0?void 0:_.result)===null||p===void 0?void 0:p.results)===null||h===void 0?void 0:h[0])===null||y===void 0?void 0:y.message)===null||b===void 0?void 0:b.startsWith("Blocked email"))){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}return[3,4];case 3:R=$.sent();if((w=R===null||R===void 0?void 0:R.message)===null||w===void 0?void 0:w.includes("is not a valid email address")){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else{D(__assign(__assign({},j),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};var $=l((function(r){var e,i;var n=(i=(e=r.target)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.toLowerCase();if(n!=="tel")return;var a=new v("US");r.target.value=a.input(r.target.value)}),[]);var A="";if(((g=I===null||I===void 0?void 0:I.data)===null||g===void 0?void 0:g.form.initialData.isEnabled)===false){A=((m=I===null||I===void 0?void 0:I.data)===null||m===void 0?void 0:m.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage}else if((_=x===null||x===void 0?void 0:x.response)===null||_===void 0?void 0:_["error"]){A=r.networkErrorMessage}else if((x===null||x===void 0?void 0:x.message)&&!((p=x===null||x===void 0?void 0:x.response)===null||p===void 0?void 0:p.errors.length)){A=r.networkErrorMessage}else{A=q||((w=(b=(y=(h=I===null||I===void 0?void 0:I.errors)===null||h===void 0?void 0:h.response)===null||y===void 0?void 0:y.errors)===null||b===void 0?void 0:b[0])===null||w===void 0?void 0:w.message)||(j===null||j===void 0?void 0:j.error)}return{states:{loading:S||I.loading,error:A,registrationFormState:j,confirmPassword:r.confirmPassword,hideInputs:r.hideInputs,loginPath:r.loginPath,enablePasswordValidation:!r.disablePasswordValidation},callbacks:{submit:R,inputFunction:$},refs:{formRef:E}}}}}}));
@@ -1 +1 @@
1
- import{r as t,e,h as o,g as n}from"./p-f708da7b.js";import{k as s,f as i,n as l}from"./p-cd651f81.js";import{g as c,i as r}from"./p-94a876b9.js";const u=class{constructor(o){t(this,o),this.initComplete=e(this,"initComplete",7),this.googleButtonDiv=null,l(this)}disconnectedCallback(){}connectedCallback(){if(!document.head.querySelector('script[src="https://accounts.google.com/gsi/client"]')){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,document.head.appendChild(t)}}render(){const{setGoogleButtonDiv:t}=r()?function(t){const[e,o]=s(!1),[n,l]=s(null);return i((()=>{const t=()=>{window.onGoogleLibraryLoad=null,o(!0)};window.google&&t(),window.onGoogleLibraryLoad=t}),[]),i((()=>{if(!n||!e)return;google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:()=>{}}),google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,click_listener:()=>{t.initComplete.emit({credential:null})}})}),[n,e]),{setGoogleButtonDiv:l}}(this):function(t){const[e,o]=s(!1),[n,l]=s(null),[r,u]=s(400);let a=null;const g=()=>{n&&u(n.clientWidth)};return i((()=>{if(!n)return;const t=new ResizeObserver((()=>{a&&clearTimeout(a),a=setTimeout((()=>{g()}),50)}));return t.observe(n),g(),()=>t.disconnect()}),[n]),i((()=>{const e=()=>{window.onGoogleLibraryLoad=null;const e=c();"SquatchPortal"===e.type&&(google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:e=>{t.initComplete.emit(e)}}),o(!0))};window.google&&e(),window.onGoogleLibraryLoad=e}),[]),i((()=>{n&&e&&google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,height:40,width:r})}),[n,e,r]),{setGoogleButtonDiv:l}}(this);return o("div",{ref:t,style:{width:"100%"}})}get el(){return n(this)}};export{u as sqm_google_sign_in}
1
+ import{r as t,e,h as o,g as n}from"./p-c7c11325.js";import{k as s,f as i,n as c}from"./p-35b2fde0.js";import{g as l,i as r}from"./p-66ac6bed.js";const u=class{constructor(o){t(this,o),this.initComplete=e(this,"initComplete",7),this.googleButtonDiv=null,c(this)}disconnectedCallback(){}connectedCallback(){if(!document.head.querySelector('script[src="https://accounts.google.com/gsi/client"]')){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,document.head.appendChild(t)}}render(){const{setGoogleButtonDiv:t}=r()?function(t){const[e,o]=s(!1),[n,c]=s(null);return i((()=>{const t=()=>{window.onGoogleLibraryLoad=null,o(!0)};window.google&&t(),window.onGoogleLibraryLoad=t}),[]),i((()=>{if(!n||!e)return;google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:()=>{}}),google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,click_listener:()=>{t.initComplete.emit({credential:null})}})}),[n,e]),{setGoogleButtonDiv:c}}(this):function(t){const[e,o]=s(!1),[n,c]=s(null),[r,u]=s(400);let a=null;const g=()=>{n&&u(n.clientWidth)};return i((()=>{if(!n)return;const t=new ResizeObserver((()=>{a&&clearTimeout(a),a=setTimeout((()=>{g()}),50)}));return t.observe(n),g(),()=>t.disconnect()}),[n]),i((()=>{const e=()=>{window.onGoogleLibraryLoad=null;const e=l();"SquatchPortal"===e.type&&(google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:e=>{t.initComplete.emit(e)}}),o(!0))};window.google&&e(),window.onGoogleLibraryLoad=e}),[]),i((()=>{n&&e&&google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,height:40,width:r})}),[n,e,r]),{setGoogleButtonDiv:c}}(this);return o("div",{ref:t,style:{width:"100%"}})}get el(){return n(this)}};export{u as sqm_google_sign_in}
@@ -1 +1 @@
1
- import{h as s,c as t,r as a}from"./p-f708da7b.js";import{n as o}from"./p-cd651f81.js";import{B as c}from"./p-94a876b9.js";import{g as e}from"./p-9ec99ced.js";const n=a=>{const{states:o,callbacks:c}=a,{styles:e}=o;return s(t,{class:"squatch-container"},s("div",{style:{padding:a.states.styles.padding},part:"sqm-base"},e.closeButton&&s("span",{part:"sqm-close-button",class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:()=>c.closePopup()},e.closeButtonText),s("slot",null),e.poweredBy?s("a",{class:"sqh-attribution",href:"https://impact.com/advocate/",target:"_blank"},e.poweredByText):""))},r=class{constructor(s){a(this,s),this.poweredByText="Powered By",o(this)}disconnectedCallback(){}render(){const t=e(this);return s(n,Object.assign({},function(s){const t=c(),a=s.popupPadding?"none"===s.popupPadding?"0":`var(--sl-spacing-${s.popupPadding})`:"var(--sl-spacing-medium)",o=s.embedPadding?"none"===s.embedPadding?"0":`var(--sl-spacing-${s.embedPadding})`:"0",e="POPUP"===c()?a:o;return{states:{showCloseButton:s.closeButton&&"POPUP"===t,styles:{...s,padding:e,closeButtonText:s.closeButtonText?s.closeButtonText:"X",poweredByText:s.poweredByText}},data:{},callbacks:{closePopup:function(){var s;"POPUP"===c()&&(null===(s=window.frameElement.squatchJsApi)||void 0===s||s.close())}}}}(t)))}};r.style=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";export{r as sqm_popup_container}
1
+ import{h as s,c as t,r as a}from"./p-c7c11325.js";import{n as o}from"./p-35b2fde0.js";import{B as c}from"./p-66ac6bed.js";import{g as e}from"./p-9ec99ced.js";const n=a=>{const{states:o,callbacks:c}=a,{styles:e}=o;return s(t,{class:"squatch-container"},s("div",{style:{padding:a.states.styles.padding},part:"sqm-base"},e.closeButton&&s("span",{part:"sqm-close-button",class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:()=>c.closePopup()},e.closeButtonText),s("slot",null),e.poweredBy?s("a",{class:"sqh-attribution",href:"https://impact.com/advocate/",target:"_blank"},e.poweredByText):""))},r=class{constructor(s){a(this,s),this.poweredByText="Powered By",o(this)}disconnectedCallback(){}render(){const t=e(this);return s(n,Object.assign({},function(s){const t=c(),a=s.popupPadding?"none"===s.popupPadding?"0":`var(--sl-spacing-${s.popupPadding})`:"var(--sl-spacing-medium)",o=s.embedPadding?"none"===s.embedPadding?"0":`var(--sl-spacing-${s.embedPadding})`:"0",e="POPUP"===c()?a:o;return{states:{showCloseButton:s.closeButton&&"POPUP"===t,styles:{...s,padding:e,closeButtonText:s.closeButtonText?s.closeButtonText:"X",poweredByText:s.poweredByText}},data:{},callbacks:{closePopup:function(){var s;"POPUP"===c()&&(null===(s=window.frameElement.squatchJsApi)||void 0===s||s.close())}}}}(t)))}};r.style=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";export{r as sqm_popup_container}
@@ -1 +1 @@
1
- import{h as t,r as s}from"./p-f708da7b.js";import{i,k as n,n as e}from"./p-cd651f81.js";import{i as r}from"./p-94a876b9.js";import{c as l}from"./p-c1086930.js";import{g as o}from"./p-9ec99ced.js";import{c as a}from"./p-cef45012.js";import{E as u}from"./p-91521e9d.js";import{R as c}from"./p-98698131.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=a({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=a({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,o,a,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(o=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===o?void 0:o.password}:{},(null===(u=null===(a=d.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,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",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,o,a,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(a=null===(o=null==t?void 0:t.demoData)||void 0===o?void 0:o.states)||void 0===a?void 0:a.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(o(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(o(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
1
+ import{h as t,r as s}from"./p-c7c11325.js";import{i,k as n,n as e}from"./p-35b2fde0.js";import{i as r}from"./p-66ac6bed.js";import{c as l}from"./p-c1086930.js";import{g as a}from"./p-9ec99ced.js";import{c as o}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-ea1eed5d.js";var d="(\\d.*)",h="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,d,t)},letters:function(t){return m.call(this,h,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,d;const{states:h,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:h.content.fieldLabel||"Password",required:!0,disabled:(null===(i=h.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=h.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=h.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=h.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=h.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(d=null===(c=h.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===d?void 0:d.password)||"Cannot be empty"}:[],{onInput:t=>h.enableValidation&&p.onInput(t)})),h.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,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",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,d]=n(""),[h,p]=n("");if(t.demoData&&h!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);d(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);d(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(a(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(a(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -1,4 +1,4 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var s=arguments[t],i=0,a=s.length;i<a;i++,o++)r[o]=s[i];return r};System.register(["./p-f26aedcd.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.g;n=e.a;r=e.f}],execute:function(){e({c:i,e:s,g:a,h:ce,i:he,l:de,n:ve,o:pe,y:fe});var o=e("a",typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{});function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function i(e,t,n){return n={path:t,exports:{},require:function(e,t){return u()}},e(n,n.exports),n.exports}function a(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:true});Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:true,get:function(){return e[n]}})}));return t}function u(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
1
+ var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var s=arguments[t],i=0,a=s.length;i<a;i++,o++)r[o]=s[i];return r};System.register(["./p-59b028db.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.g;n=e.a;r=e.f}],execute:function(){e({c:i,e:s,g:a,h:ce,i:he,l:de,n:ve,o:pe,y:fe});var o=e("a",typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{});function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function i(e,t,n){return n={path:t,exports:{},require:function(e,t){return u()}},e(n,n.exports),n.exports}function a(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:true});Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:true,get:function(){return e[n]}})}));return t}function u(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
2
2
  /**
3
3
  * @license
4
4
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,i=1,o=arguments.length;i<o;i++){a=arguments[i];for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t))r[t]=a[t]}return r};return __assign.apply(this,arguments)};System.register([],(function(r){"use strict";return{execute:function(){var a=r("g",(function(r){if(r.direction==="row"){return{"& > :not(:last-child)":{"margin-right":r.size}}}else{return{"& > :not(:last-child)":{"margin-bottom":r.size}}}}));var i=r("H",{":host":{display:"block"},":host([hidden])":{display:"none"}});var o={display:"flex","flex-direction":"column"};var t=r("E",{"&::part(base)":{background:"var(--sl-color-danger-10)",borderColor:"var(--sl-color-danger-500)",outline:"var(--sl-color-danger-500)"},"&:host":{"--something-random":"red","--focus-ring":"0 0 0 var(--sl-focus-ring-width) red !important"},"&::part(input)":{color:"var(--sl-color-danger-500) !important","&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active":{boxShadow:"0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important","-webkit-text-fill-color":"var(--sl-color-danger-500)"}},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}});var s={boxSizing:"border-box",width:"100%",maxWidth:"var(--sqm-content-max-width)",height:"auto",display:"flex",padding:"var(--sl-spacing-xxx-large)",background:"var(--sqm-portal-background)",border:"var(--sqm-border-thickness) solid var(--sqm-border-color)",borderRadius:"var(--sqm-border-radius-normal)"};var n=r("A",__assign(__assign(__assign(__assign({margin:"auto"},s),{maxWidth:"500px"}),o),a({direction:"column",size:"var(--sl-spacing-x-large)"})));var e=r("a",__assign(__assign(__assign({},o),{"& > *:not(style, div, slot)":{display:"block"}}),a({direction:"column",size:"var(--sl-spacing-large)"})));var l=r("b",__assign(__assign({"padding-top":"var(--sl-spacing-medium)",display:"flex","flex-direction":"column",width:"100%","&>*":{width:"100%"}},a({direction:"column",size:"var(--sl-spacing-x-large)"})),{"& > div":{"text-align":"center"}}))}}}));
@@ -0,0 +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,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-88e32c4a.system.js","./p-fca47a45.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-e55aafe9.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.q;u=e.X;d=e.i},function(e){f=e.c},function(e){p=e.g},function(e){m=e.e;v=e.p},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 m(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_"),m(e,"sqm-code-verification_"))):r("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),m(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=v(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}})}}}}));
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-c7c11325.js";function n(n){const{data:o}=n;return t("span",{style:{marginTop:"0px",fontSize:"var(--sl-font-size-small)"}},o.rank)}export{n as L}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function o(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(r)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-6cd4f2b1.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-6055eb4c.system.js","./p-8175e85f.system.js","./p-7c2b9fe4.system.js"],(function(e){"use strict";var t,r,i,a,n,s,o,l;return{setters:[function(e){t=e.r;r=e.h},function(e){i=e.n},function(e){a=e.i;n=e.b},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(){},function(e){l=e.u}],execute:function(){var u=e("sqm_referred_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.fraudErrorMessage="Our team will review this referral. If approved, you and your friend will receive your rewards. Need help? Reach out to our Support team.";this.fraudErrorMessageTitle="Looks like you tried referring yourself";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";this.includeCookies=true;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=a()?c(this):l(this),t=e.states,i=e.callbacks;var n={fraudErrorMessage:this.fraudErrorMessage,fraudErrorMessageTitle:this.fraudErrorMessageTitle,emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:r("slot",{name:"top"}),bottomSlot:r("slot",{name:"bottom"})};return r(o,{states:t,callbacks:i,content:n})};return e}());function c(e){var t=this;var r=function(){n({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})};return s({states:{error:"",loading:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){r();return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function o(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(r)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-fca47a45.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-676ca2c0.system.js","./p-04007292.system.js","./p-167be4b9.system.js"],(function(e){"use strict";var t,r,i,a,n,s,o,l;return{setters:[function(e){t=e.r;r=e.h},function(e){i=e.n},function(e){a=e.i;n=e.b},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(){},function(e){l=e.u}],execute:function(){var u=e("sqm_referred_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.fraudErrorMessage="Our team will review this referral. If approved, you and your friend will receive your rewards. Need help? Reach out to our Support team.";this.fraudErrorMessageTitle="Looks like you tried referring yourself";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";this.includeCookies=true;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=a()?c(this):l(this),t=e.states,i=e.callbacks;var n={fraudErrorMessage:this.fraudErrorMessage,fraudErrorMessageTitle:this.fraudErrorMessageTitle,emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:r("slot",{name:"top"}),bottomSlot:r("slot",{name:"bottom"})};return r(o,{states:t,callbacks:i,content:n})};return e}());function c(e){var t=this;var r=function(){n({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})};return s({states:{error:"",loading:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){r();return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));