@saasquatch/mint-components 2.1.9-20 → 2.1.9-22

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 (444) hide show
  1. package/dist/cjs/{ShadowViewAddon-2b3f51be.js → ShadowViewAddon-cd349587.js} +410 -24
  2. package/dist/cjs/{data-6b5095f8.js → data-8c8a08f6.js} +91 -2
  3. package/dist/cjs/extractProps-e9c55ba8.js +35 -0
  4. package/dist/cjs/{global-0f8b1267.js → global-b7b1b8fe.js} +3126 -3177
  5. package/dist/cjs/{index.module-42d413d9.js → index.module-f8c8495f.js} +149 -154
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{re-render-69bde9ee.js → re-render-72a0ef45.js} +1 -1
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +99 -484
  10. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +230 -426
  11. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +8 -7
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  19. package/dist/cjs/{sqm-lead-checkbox-field-view-d90f8941.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
  20. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  21. package/dist/cjs/{sqm-lead-input-field-view-818d9e9a.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
  22. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  23. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  25. package/dist/cjs/{sqm-navigation-sidebar-item-view-20693e59.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
  26. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  29. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  31. package/dist/cjs/{sqm-portal-email-verification-view-60f8e0a7.js → sqm-portal-email-verification-view-abb773a7.js} +2 -2
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  33. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +8 -8
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  35. package/dist/cjs/{sqm-portal-profile-view-2bfd7afd.js → sqm-portal-profile-view-3515e1e5.js} +2 -2
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  38. package/dist/cjs/{sqm-portal-registration-form-view-fd48f1d3.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
  39. package/dist/cjs/{sqm-portal-reset-password-view-d90d77f9.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
  40. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  41. package/dist/cjs/{sqm-portal-verify-email-view-b31638f8.js → sqm-portal-verify-email-view-717d0633.js} +2 -2
  42. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +6 -6
  44. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  45. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  47. package/dist/cjs/sqm-stencilbook.cjs.entry.js +208 -251
  48. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  49. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  50. package/dist/cjs/{sqm-text-span-view-8a32dd8c.js → sqm-text-span-view-b9e10f5d.js} +1 -1
  51. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  52. package/dist/cjs/{sqm-user-info-form-view-db47a968.js → sqm-user-info-form-view-53306f6e.js} +34 -32
  53. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  54. package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
  55. package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
  56. package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
  57. package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
  58. package/dist/cjs/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
  59. package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
  60. package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
  61. package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
  62. package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
  63. package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
  64. package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
  65. package/dist/collection/collection-manifest.json +0 -1
  66. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
  67. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  68. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  69. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
  70. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
  71. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
  72. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  73. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +132 -11
  74. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  75. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  76. package/dist/collection/components/sqm-share-link/sqm-share-link.js +685 -27
  77. package/dist/collection/components/sqm-share-link/useShareLink.js +210 -14
  78. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
  79. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  80. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
  81. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
  82. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +11 -510
  83. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
  84. package/dist/collection/components/tax-and-cash/data.js +0 -1
  85. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +37 -75
  86. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +13 -688
  87. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
  88. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
  89. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +11 -49
  90. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
  91. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  92. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +0 -4
  93. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
  94. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -7
  95. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -34
  96. package/dist/esm/{ShadowViewAddon-78b791d2.js → ShadowViewAddon-ec5f917e.js} +411 -26
  97. package/dist/esm/{data-33c16dff.js → data-12e6aae1.js} +85 -3
  98. package/dist/esm/extractProps-54064fb0.js +32 -0
  99. package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
  100. package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
  101. package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  102. package/dist/esm/loader.js +3 -3
  103. package/dist/esm/mint-components.js +3 -3
  104. package/dist/esm/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  105. package/dist/esm/sqm-banking-info-form_10.entry.js +89 -474
  106. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +225 -420
  107. package/dist/esm/sqm-close-button.entry.js +1 -1
  108. package/dist/esm/sqm-code-verification.entry.js +9 -8
  109. package/dist/esm/sqm-context-router.entry.js +1 -1
  110. package/dist/esm/sqm-email-verification.entry.js +414 -0
  111. package/dist/esm/sqm-empty_4.entry.js +2 -2
  112. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  113. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  114. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  115. package/dist/esm/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  116. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  117. package/dist/esm/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  118. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  119. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  120. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  121. package/dist/esm/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  122. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  123. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  124. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  125. package/dist/esm/sqm-password-field.entry.js +2 -2
  126. package/dist/esm/sqm-popup-container.entry.js +1 -1
  127. package/dist/esm/{sqm-portal-email-verification-view-33f5c108.js → sqm-portal-email-verification-view-04528277.js} +2 -2
  128. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  129. package/dist/esm/sqm-portal-forgot-password_6.entry.js +8 -8
  130. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  131. package/dist/esm/{sqm-portal-profile-view-88fd6a93.js → sqm-portal-profile-view-b5ea620f.js} +2 -2
  132. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  133. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  134. package/dist/esm/{sqm-portal-registration-form-view-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  135. package/dist/esm/{sqm-portal-reset-password-view-f8d1689c.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  136. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  137. package/dist/esm/{sqm-portal-verify-email-view-0b70c1b1.js → sqm-portal-verify-email-view-c61536b7.js} +2 -2
  138. package/dist/esm/sqm-qr-code.entry.js +2 -2
  139. package/dist/esm/sqm-referral-table_11.entry.js +6 -6
  140. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  141. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  142. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  143. package/dist/esm/sqm-stencilbook.entry.js +174 -217
  144. package/dist/esm/sqm-tab.entry.js +2 -2
  145. package/dist/esm/sqm-tabs.entry.js +3 -3
  146. package/dist/esm/{sqm-text-span-view-4db9e33f.js → sqm-text-span-view-72f43dff.js} +1 -1
  147. package/dist/esm/sqm-text-span.entry.js +1 -1
  148. package/dist/esm/{sqm-user-info-form-view-712cd51b.js → sqm-user-info-form-view-19d81a2b.js} +12 -10
  149. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  150. package/dist/esm/sqm-widget-verification.entry.js +210 -0
  151. package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  152. package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
  153. package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
  154. package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
  155. package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
  156. package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  157. package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
  158. package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  159. package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  160. package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  161. package/dist/esm-es5/ShadowViewAddon-ec5f917e.js +1 -0
  162. package/dist/esm-es5/data-12e6aae1.js +1 -0
  163. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  164. package/dist/esm-es5/global-96c14d63.js +271 -0
  165. package/dist/esm-es5/index.module-b23fdad8.js +1 -0
  166. package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  167. package/dist/esm-es5/loader.js +1 -1
  168. package/dist/esm-es5/mint-components.js +1 -1
  169. package/dist/esm-es5/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  170. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  171. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
  172. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  173. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  174. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  175. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  176. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  177. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  178. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  179. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  180. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  181. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  183. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  184. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  185. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  187. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  188. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  189. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  190. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  191. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  192. package/dist/esm-es5/{sqm-portal-email-verification-view-33f5c108.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  193. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  194. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  195. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  196. package/dist/esm-es5/{sqm-portal-profile-view-88fd6a93.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  197. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  198. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  199. package/dist/esm-es5/{sqm-portal-registration-form-view-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  200. package/dist/esm-es5/{sqm-portal-reset-password-view-f8d1689c.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  201. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  202. package/dist/esm-es5/{sqm-portal-verify-email-view-0b70c1b1.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  203. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  204. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  205. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  206. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  207. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  208. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  209. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  210. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  211. package/dist/esm-es5/{sqm-text-span-view-4db9e33f.js → sqm-text-span-view-72f43dff.js} +1 -1
  212. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  213. package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +1 -0
  214. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  215. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  216. package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  217. package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
  218. package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
  219. package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
  220. package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
  221. package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  222. package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
  223. package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  224. package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  225. package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  226. package/dist/mint-components/mint-components.esm.js +1 -1
  227. package/dist/mint-components/mint-components.js +1 -1
  228. package/dist/mint-components/{p-d01949f7.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
  230. package/dist/mint-components/p-02499e08.entry.js +1 -0
  231. package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
  232. package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
  233. package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
  234. package/dist/mint-components/p-0382993f.system.entry.js +1 -0
  235. package/dist/mint-components/{p-886fb141.entry.js → p-058aefe1.entry.js} +1 -1
  236. package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
  237. package/dist/mint-components/p-0797a946.js +1 -0
  238. package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
  239. package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
  240. package/dist/mint-components/{p-8ecc8875.js → p-0c0d4065.js} +5 -6
  241. package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
  242. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  243. package/dist/mint-components/{p-2d3a12f2.entry.js → p-13292317.entry.js} +2 -2
  244. package/dist/mint-components/{p-731c4d33.entry.js → p-13d1b10d.entry.js} +1 -1
  245. package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
  246. package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
  247. package/dist/mint-components/{p-1d49dddc.entry.js → p-1d92c169.entry.js} +1 -1
  248. package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
  249. package/dist/mint-components/{p-4723526d.js → p-2668335b.js} +1 -1
  250. package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
  251. package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
  252. package/dist/mint-components/p-30c1ef36.system.js +1 -0
  253. package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
  254. package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
  255. package/dist/mint-components/p-38c7775a.js +1 -0
  256. package/dist/mint-components/p-39126430.system.entry.js +1 -0
  257. package/dist/mint-components/p-3adbfd0b.system.js +6 -0
  258. package/dist/mint-components/p-3af3e2c1.entry.js +25 -0
  259. package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
  260. package/dist/mint-components/{p-9d6984e7.entry.js → p-40bad95a.entry.js} +2 -2
  261. package/dist/mint-components/{p-00463c83.system.js → p-43c31fd5.system.js} +1 -1
  262. package/dist/mint-components/p-468dd5dd.entry.js +273 -0
  263. package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
  264. package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
  265. package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
  266. package/dist/mint-components/p-57dd28bd.system.js +1 -0
  267. package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
  268. package/dist/mint-components/p-5b66d206.system.js +1 -0
  269. package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
  270. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  271. package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
  272. package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
  273. package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
  274. package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
  275. package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
  276. package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
  277. package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
  278. package/dist/mint-components/{p-f368f04a.system.js → p-686dd5eb.system.js} +1 -1
  279. package/dist/mint-components/p-6c4ad51a.js +1 -0
  280. package/dist/mint-components/p-7265bbcb.system.js +271 -0
  281. package/dist/mint-components/p-738dce27.system.entry.js +1 -0
  282. package/dist/mint-components/{p-379cb9f1.system.js → p-7562cd98.system.js} +1 -1
  283. package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
  284. package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
  285. package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-55627a5c.entry.js → p-7939e4af.entry.js} +1 -1
  287. package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
  288. package/dist/mint-components/p-7efb8782.system.js +1 -0
  289. package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-370e0d75.js → p-832aea99.js} +1 -1
  291. package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
  292. package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
  293. package/dist/mint-components/{p-71561bb2.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  294. package/dist/mint-components/p-892797eb.system.entry.js +1 -0
  295. package/dist/mint-components/{p-567a5ded.js → p-8962e023.js} +1 -1
  296. package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
  297. package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
  298. package/dist/mint-components/p-91a96e98.entry.js +1 -0
  299. package/dist/mint-components/{p-7a08d288.system.entry.js → p-9390586b.system.entry.js} +1 -1
  300. package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
  301. package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
  302. package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
  303. package/dist/mint-components/{p-df88dcaa.system.js → p-a4825ec2.system.js} +1 -1
  304. package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
  305. package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
  306. package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
  308. package/dist/mint-components/p-b395470f.entry.js +16 -0
  309. package/dist/mint-components/{p-45e2a83a.js → p-b3ad957c.js} +1 -1
  310. package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
  311. package/dist/mint-components/{p-691d34f1.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  312. package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
  313. package/dist/mint-components/p-bba16a46.system.entry.js +1 -0
  314. package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
  315. package/dist/mint-components/{p-a7f72a66.js → p-bee4af5d.js} +1 -1
  316. package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
  317. package/dist/mint-components/p-c459bea0.js +499 -0
  318. package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
  319. package/dist/mint-components/{p-50d959bd.js → p-c813ec64.js} +1 -1
  320. package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
  321. package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
  322. package/dist/mint-components/p-ca098be1.system.js +1 -0
  323. package/dist/mint-components/p-ce394b99.entry.js +9 -0
  324. package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
  325. package/dist/mint-components/p-d0993bb9.js +1 -0
  326. package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
  327. package/dist/mint-components/{p-e1292288.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  328. package/dist/mint-components/p-d4f332a7.entry.js +106 -0
  329. package/dist/mint-components/{p-6b1a6b0c.system.js → p-d55c50af.system.js} +1 -1
  330. package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
  331. package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
  332. package/dist/mint-components/p-de0d6fd7.js +49 -0
  333. package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
  334. package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-3218bb1d.entry.js → p-e506bf7f.entry.js} +1 -1
  336. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  337. package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
  338. package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
  339. package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
  340. package/dist/mint-components/p-ea03e50e.system.js +1 -0
  341. package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
  342. package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
  343. package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
  344. package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
  345. package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
  346. package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
  347. package/dist/mint-components/{p-19293c16.entry.js → p-f6528f8a.entry.js} +1 -1
  348. package/dist/mint-components/{p-247cfbdc.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  349. package/dist/mint-components/{p-0fec43e8.system.js → p-f8026ed6.system.js} +1 -1
  350. package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
  351. package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
  352. package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
  353. package/dist/mint-components/p-fe70e20c.entry.js +1 -0
  354. package/dist/mint-components/p-ff118a19.system.js +1 -0
  355. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
  356. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
  357. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  358. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  359. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +37 -0
  360. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +140 -2
  361. package/dist/types/components/sqm-share-link/useShareLink.d.ts +27 -4
  362. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -78
  363. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
  364. package/dist/types/components/tax-and-cash/data.d.ts +0 -1
  365. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -2
  366. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
  367. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -165
  368. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -7
  369. package/dist/types/components.d.ts +261 -584
  370. package/docs/docs.docx +0 -0
  371. package/docs/raisins.json +1 -1
  372. package/docs/stats.json +122783 -0
  373. package/grapesjs/grapesjs.js +1 -1
  374. package/package.json +2 -2
  375. package/dist/cjs/eventKeys-7af4df4d.js +0 -5
  376. package/dist/cjs/parseStates-d1effc19.js +0 -16
  377. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -854
  378. package/dist/cjs/sqm-partner-info-modal-view-d5c997e6.js +0 -117
  379. package/dist/cjs/utils-a8e0bd9b.js +0 -93
  380. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -142
  381. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -111
  382. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -581
  383. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -269
  384. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
  385. package/dist/esm/eventKeys-f76b6a03.js +0 -3
  386. package/dist/esm/parseStates-ed75e224.js +0 -14
  387. package/dist/esm/sqm-email-verification_2.entry.js +0 -849
  388. package/dist/esm/sqm-partner-info-modal-view-08b7c5f6.js +0 -114
  389. package/dist/esm/utils-8267d3d8.js +0 -85
  390. package/dist/esm-es5/ShadowViewAddon-78b791d2.js +0 -1
  391. package/dist/esm-es5/data-33c16dff.js +0 -1
  392. package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
  393. package/dist/esm-es5/global-39f55ec2.js +0 -285
  394. package/dist/esm-es5/index.module-cede12c6.js +0 -1
  395. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  396. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  397. package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
  398. package/dist/esm-es5/sqm-partner-info-modal-view-08b7c5f6.js +0 -1
  399. package/dist/esm-es5/sqm-user-info-form-view-712cd51b.js +0 -1
  400. package/dist/esm-es5/utils-8267d3d8.js +0 -1
  401. package/dist/mint-components/p-037c1a4f.system.entry.js +0 -1
  402. package/dist/mint-components/p-0553e659.js +0 -463
  403. package/dist/mint-components/p-0a126d1b.system.entry.js +0 -1
  404. package/dist/mint-components/p-0dc17c6a.entry.js +0 -9
  405. package/dist/mint-components/p-115dfc03.system.js +0 -1
  406. package/dist/mint-components/p-13f3a647.js +0 -1
  407. package/dist/mint-components/p-1b7dfd6f.system.entry.js +0 -1
  408. package/dist/mint-components/p-1c413a06.system.js +0 -1
  409. package/dist/mint-components/p-28ed2ae9.js +0 -1
  410. package/dist/mint-components/p-28fe7357.system.entry.js +0 -1
  411. package/dist/mint-components/p-38dc2f60.entry.js +0 -1
  412. package/dist/mint-components/p-39840341.js +0 -1
  413. package/dist/mint-components/p-45e72bed.system.entry.js +0 -1
  414. package/dist/mint-components/p-5e26014d.system.js +0 -1
  415. package/dist/mint-components/p-63c299f1.system.js +0 -1
  416. package/dist/mint-components/p-64041ee1.entry.js +0 -291
  417. package/dist/mint-components/p-64f56cc9.system.js +0 -285
  418. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  419. package/dist/mint-components/p-70e34ae1.system.js +0 -6
  420. package/dist/mint-components/p-7d5956ec.system.entry.js +0 -1
  421. package/dist/mint-components/p-842f45b9.js +0 -1
  422. package/dist/mint-components/p-8b258a3e.system.js +0 -1
  423. package/dist/mint-components/p-8e1acd9a.system.js +0 -1
  424. package/dist/mint-components/p-91a00693.entry.js +0 -122
  425. package/dist/mint-components/p-996eb820.entry.js +0 -1
  426. package/dist/mint-components/p-a8891ebd.js +0 -1
  427. package/dist/mint-components/p-a8ecdc44.system.js +0 -1
  428. package/dist/mint-components/p-b077d478.js +0 -1
  429. package/dist/mint-components/p-b2a99637.system.js +0 -1
  430. package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
  431. package/dist/mint-components/p-b451970a.system.entry.js +0 -1
  432. package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
  433. package/dist/mint-components/p-d20188db.js +0 -1
  434. package/dist/mint-components/p-d6714617.entry.js +0 -1
  435. package/dist/mint-components/p-da6c5d98.system.js +0 -1
  436. package/dist/mint-components/p-e95402dc.js +0 -49
  437. package/dist/mint-components/p-ee0f1cf1.system.js +0 -1
  438. package/dist/mint-components/p-fc783749.entry.js +0 -133
  439. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -12
  440. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -44
  441. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -106
  442. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
  443. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
  444. package/shoelace/assets/icons/twitter-x.svg +0 -4
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):r(t.value).then(i,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,r,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return l([t,e])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(o=i[0]&2?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;if(r=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];r=0}finally{a=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-64f56cc9.system.js","./p-b6504987.system.js","./p-a8ecdc44.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-e4dbca9a.system.js","./p-8a6494c7.system.js","./p-97b8073f.system.js"],(function(t){"use strict";var e,n,a,r,o,i,s,l,u,c,d,p,f,v,g,y,h,m,b,x,C,T;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.i},function(t){o=t.n;i=t.k},function(t){s=t.F;l=t.i;u=t.d;c=t.H;d=t.J;p=t.B;f=t.w;v=t.$},function(t){g=t.c},function(t){y=t.g},function(t){h=t.c},function(t){m=t.R;b=t.a;x=t.S;C=t.u},function(){},function(t){T=t.C}],execute:function(){var _={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=h(_);var P=w.toString();function S(t){var a=t.states,r=t.callbacks,o=t.text,i=t.buttonType;var s=r.onNext,l=r.onPrev;var u=a.currentPage,c=a.totalPages,d=a.loading;if(c===1)return e(n,null);return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},P),!d&&e(n,null,e("sl-button",{exportparts:"base: "+i+"button-base",onClick:l,part:"sqm-pagination-button",circle:true,disabled:u===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),e("div",{class:w.classes.TextContainer},o.paginationText)),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:s,part:"sqm-pagination-button",circle:true,disabled:u===c},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function j(t){var e;var n=s(m);var a=n.states.currentPage+1;var o=(e=n.states)===null||e===void 0?void 0:e.pageCount;return{states:{currentPage:a,totalPages:o,loading:n.states.loading},callbacks:{onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:a,totalPages:o})}}}var k=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";this.buttonType="secondary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=l()?I(y(this)):j(y(this));return e(S,Object.assign({},t))};return t}());function I(t){var e=i(1),n=e[0],a=e[1];return g({states:{currentPage:n,totalPages:5,loading:false},buttonType:t.buttonType,callbacks:{onNext:function(){return a(n+1)},onPrev:function(){return a(n-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:n,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=u.gql(__makeTemplateObject(["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=u.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function q(t){var e,n;var a=t.programId,r=a===void 0?c():a;var o=d();var l=p();var u=s(b);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(u===null||u===void 0?void 0:u.referralCode)!==undefined).data;var y=v(M)[0];var h=v(x)[0];var m=(n=(u===null||u===void 0?void 0:u.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var C=i(false),T=C[0],_=C[1];function w(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!u)return[3,2];return[4,h({referralCode:u.referralCode})];case 1:e.sent();u.refresh();e.label=2;case 2:navigator.clipboard.writeText(m);_(true);setTimeout((function(){return _(false)}),t.tooltiplifespan);y({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:w,open:T,copyString:m,isCopied:u===null||u===void 0?void 0:u.isCopied,showNotificationText:t.showNotificationText&&!!(u===null||u===void 0?void 0:u.singleUse)})}var R=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";this.buttonType="primary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?A(t):q(t);return e(T,Object.assign({},n))};return t}());function A(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return g({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}function O(t){var n=t.slots,a=t.titleText,r=t.states,o=t.textColor,i=o===void 0?"var(--sqm-text-subdued)":o;var s={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:i},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}};var l="\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ";var u=h(s);var c=u.toString();var d=function(t){if(t.noCodes){return n.empty}if(t.loading){return n.loading}return e("div",{class:u.classes.Wrapper},e("div",{class:u.classes.ShareCodeContainer},n.shareCodes),e("div",{class:u.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:u.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},l,c),e("div",{class:u.classes.HeaderContainer},e("h2",{class:u.classes.TitleText},a),!r.noCodes&&!r.loading&&n.pagination),d(r))}var U=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";this.emptyStateHeaderText="Your new codes and links aren’t ready yet";this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.";this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?$(t):C(t);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(D,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:e(N,null)};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e(O,Object.assign({},r))};return t}());function D(t){var n=t.headerText,a=t.descriptionText,r=t.imageUrl;return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:n,emptyStateText:a,emptyStateImage:r}))}function N(){return e("slot",{name:"loading"},e(B,null),e(B,null),e(B,null),e(B,null))}function B(){return e("sqm-skeleton",null)}function $(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):r(t.value).then(i,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,r,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return l([t,e])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(o=i[0]&2?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;if(r=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];r=0}finally{a=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-7265bbcb.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-036a2617.system.js","./p-8a6494c7.system.js","./p-97b8073f.system.js"],(function(t){"use strict";var e,n,a,r,o,i,s,l,u,c,d,p,f,v,g,y,h,m,b,x,C,T;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.i},function(t){o=t.n;i=t.k},function(t){s=t.F;l=t.i;u=t.d;c=t.H;d=t.J;p=t.B;f=t.w;v=t.$},function(t){g=t.c},function(t){y=t.g},function(t){h=t.c},function(t){m=t.R;b=t.a;x=t.S;C=t.u},function(){},function(t){T=t.C}],execute:function(){var _={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=h(_);var P=w.toString();function S(t){var a=t.states,r=t.callbacks,o=t.text,i=t.buttonType;var s=r.onNext,l=r.onPrev;var u=a.currentPage,c=a.totalPages,d=a.loading;if(c===1)return e(n,null);return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},P),!d&&e(n,null,e("sl-button",{exportparts:"base: "+i+"button-base",onClick:l,part:"sqm-pagination-button",circle:true,disabled:u===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),e("div",{class:w.classes.TextContainer},o.paginationText)),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:s,part:"sqm-pagination-button",circle:true,disabled:u===c},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function j(t){var e;var n=s(m);var a=n.states.currentPage+1;var o=(e=n.states)===null||e===void 0?void 0:e.pageCount;return{states:{currentPage:a,totalPages:o,loading:n.states.loading},callbacks:{onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:a,totalPages:o})}}}var k=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";this.buttonType="secondary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=l()?I(y(this)):j(y(this));return e(S,Object.assign({},t))};return t}());function I(t){var e=i(1),n=e[0],a=e[1];return g({states:{currentPage:n,totalPages:5,loading:false},buttonType:t.buttonType,callbacks:{onNext:function(){return a(n+1)},onPrev:function(){return a(n-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:n,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=u.gql(__makeTemplateObject(["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=u.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function q(t){var e,n;var a=t.programId,r=a===void 0?c():a;var o=d();var l=p();var u=s(b);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(u===null||u===void 0?void 0:u.referralCode)!==undefined).data;var y=v(M)[0];var h=v(x)[0];var m=(n=(u===null||u===void 0?void 0:u.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var C=i(false),T=C[0],_=C[1];function w(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!u)return[3,2];return[4,h({referralCode:u.referralCode})];case 1:e.sent();u.refresh();e.label=2;case 2:navigator.clipboard.writeText(m);_(true);setTimeout((function(){return _(false)}),t.tooltiplifespan);y({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:w,open:T,copyString:m,isCopied:u===null||u===void 0?void 0:u.isCopied,showNotificationText:t.showNotificationText&&!!(u===null||u===void 0?void 0:u.singleUse)})}var R=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";this.buttonType="primary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?A(t):q(t);return e(T,Object.assign({},n))};return t}());function A(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return g({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}function O(t){var n=t.slots,a=t.titleText,r=t.states,o=t.textColor,i=o===void 0?"var(--sqm-text-subdued)":o;var s={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:i},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}};var l="\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ";var u=h(s);var c=u.toString();var d=function(t){if(t.noCodes){return n.empty}if(t.loading){return n.loading}return e("div",{class:u.classes.Wrapper},e("div",{class:u.classes.ShareCodeContainer},n.shareCodes),e("div",{class:u.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:u.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},l,c),e("div",{class:u.classes.HeaderContainer},e("h2",{class:u.classes.TitleText},a),!r.noCodes&&!r.loading&&n.pagination),d(r))}var U=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";this.emptyStateHeaderText="Your new codes and links aren’t ready yet";this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.";this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=y(this);var n=l()?$(t):C(t);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(D,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:e(N,null)};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e(O,Object.assign({},r))};return t}());function D(t){var n=t.headerText,a=t.descriptionText,r=t.imageUrl;return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:n,emptyStateText:a,emptyStateImage:r}))}function N(){return e("slot",{name:"loading"},e(B,null),e(B,null),e(B,null),e(B,null))}function B(){return e("sqm-skeleton",null)}function $(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
@@ -1 +1 @@
1
- import{r as t,h as s}from"./p-083180bf.js";import{n as o}from"./p-a7fc1e02.js";import"./p-cef45012.js";import{T as r}from"./p-50d959bd.js";const i=class{constructor(s){t(this,s),this.ignored=!0,o(this)}disconnectedCallback(){}componentWillLoad(){}render(){return s(r,{type:this.type,fontSize:this.fontSize,textColor:this.textColor},this.text)}};export{i as sqm_text_span}
1
+ import{r as t,h as s}from"./p-083180bf.js";import{n as o}from"./p-a7fc1e02.js";import"./p-cef45012.js";import{T as r}from"./p-c813ec64.js";const e=class{constructor(s){t(this,s),this.ignored=!0,o(this)}disconnectedCallback(){}componentWillLoad(){}render(){return s(r,{type:this.type,fontSize:this.fontSize,textColor:this.textColor},this.text)}};export{e as sqm_text_span}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++){r=arguments[n];for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))t[i]=r[i]}return t};return __assign.apply(this,arguments)};System.register([],(function(t){"use strict";return{execute:function(){t({e:n,p:r});function r(t){if(typeof t==="string"){try{return JSON.parse(t)}catch(t){return undefined}}if(typeof t==="object")return t}function n(t,r){var n=Object.keys(t).filter((function(t){return t.startsWith(r)}));var e=n.reduce((function(n,e){var i;var s=e.replace(r,"");return __assign(__assign({},n),(i={},i[s]=t[e],i))}),{});return e}}}}));
@@ -1,4 +1,4 @@
1
- import{h as t,F as e,r as a}from"./p-083180bf.js";import{i as n}from"./p-438f6702.js";import{n as o,k as s}from"./p-a7fc1e02.js";import{F as r,i,d as l,H as c,J as d,B as u,w as p,$ as m}from"./p-d20188db.js";import{c as g}from"./p-c1086930.js";import{g as f}from"./p-9ec99ced.js";import{c as h}from"./p-cef45012.js";import{R as v,a as x,S as y,u as b}from"./p-3c88d2ed.js";import"./p-49b20dae.js";import{C}from"./p-d276468c.js";const T=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),P=T.toString();function j(a){const{states:n,callbacks:o,text:s,buttonType:r}=a,{onNext:i,onPrev:l}=o,{currentPage:c,totalPages:d,loading:u}=n;return 1===d?t(e,null):t("span",{class:T.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},P),!u&&t(e,null,t("sl-button",{exportparts:`base: ${r}button-base`,onClick:l,part:"sqm-pagination-button",circle:!0,disabled:1===c},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:T.classes.TextContainer},s.paginationText)),t("sl-button",{exportparts:`base: ${r}button-base`,onClick:i,part:"sqm-pagination-button",circle:!0,disabled:c===d},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const k=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",this.buttonType="secondary",o(this)}disconnectedCallback(){}render(){const e=i()?function(t){const[e,a]=s(1);return g({states:{currentPage:e,totalPages:5,loading:!1},buttonType:t.buttonType,callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=r(v),o=a.states.currentPage+1,s=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:o,totalPages:s,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:o,totalPages:s})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
1
+ import{h as t,F as e,r as a}from"./p-083180bf.js";import{i as n}from"./p-f8a09b0f.js";import{n as o,k as s}from"./p-a7fc1e02.js";import{F as r,i,d as l,H as c,J as d,B as u,w as p,$ as m}from"./p-d0993bb9.js";import{c as g}from"./p-c1086930.js";import{g as f}from"./p-9ec99ced.js";import{c as h}from"./p-cef45012.js";import{R as v,a as x,S as b,u as y}from"./p-bab4929e.js";import"./p-49b20dae.js";import{C}from"./p-d276468c.js";const T=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),P=T.toString();function j(a){const{states:n,callbacks:o,text:s,buttonType:r}=a,{onNext:i,onPrev:l}=o,{currentPage:c,totalPages:d,loading:u}=n;return 1===d?t(e,null):t("span",{class:T.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},P),!u&&t(e,null,t("sl-button",{exportparts:`base: ${r}button-base`,onClick:l,part:"sqm-pagination-button",circle:!0,disabled:1===c},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:T.classes.TextContainer},s.paginationText)),t("sl-button",{exportparts:`base: ${r}button-base`,onClick:i,part:"sqm-pagination-button",circle:!0,disabled:c===d},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const k=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",this.buttonType="secondary",o(this)}disconnectedCallback(){}render(){const e=i()?function(t){const[e,a]=s(1);return g({states:{currentPage:e,totalPages:5,loading:!1},buttonType:t.buttonType,callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=r(v),o=a.states.currentPage+1,s=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:o,totalPages:s,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:o,totalPages:s})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
2
2
  query getReferralCode($programId: ID) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -10,4 +10,4 @@ import{h as t,F as e,r as a}from"./p-083180bf.js";import{i as n}from"./p-438f670
10
10
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
11
11
  createUserAnalyticsEvent(eventMeta: $eventMeta)
12
12
  }
13
- `,w=class{constructor(t){a(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",this.buttonType="primary",o(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){const[e,a]=s(!1),n="REFERRALCODE001";return g({copyString:n,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(n),a(!0),setTimeout((()=>a(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,a;const{programId:n=c()}=t,o=d(),i=u(),l=r(x),{data:g}=p(E,{programId:n},!(null==o?void 0:o.jwt)||void 0!==(null==l?void 0:l.referralCode)),[f]=m(I),[h]=m(y),v=null!==(a=(null==l?void 0:l.referralCode)||(null===(e=null==g?void 0:g.user)||void 0===e?void 0:e.referralCode))&&void 0!==a?a:"...",[b,C]=s(!1);return{...t,onClick:async function(){l&&(await h({referralCode:l.referralCode}),l.refresh()),navigator.clipboard.writeText(v),C(!0),setTimeout((()=>C(!1)),t.tooltiplifespan),f({eventMeta:{programId:n,id:null==o?void 0:o.id,accountId:null==o?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:i,shareMedium:"DIRECT"}}})},open:b,copyString:v,isCopied:null==l?void 0:l.isCopied,showNotificationText:t.showNotificationText&&!!(null==l?void 0:l.singleUse)}}(e);return t(C,Object.assign({},a))}};function q(e){const{slots:a,titleText:n,states:o,textColor:s="var(--sqm-text-subdued)"}=e,r=h({Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:s},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}}),i=r.toString();return t("div",{class:r.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ",i),t("div",{class:r.classes.HeaderContainer},t("h2",{class:r.classes.TitleText},n),!o.noCodes&&!o.loading&&a.pagination),(e=>e.noCodes?a.empty:e.loading?a.loading:t("div",{class:r.classes.Wrapper},t("div",{class:r.classes.ShareCodeContainer},a.shareCodes),t("div",{class:r.classes.ShareButtonContainer},a.shareButtons)))(o))}const M=class{constructor(t){a(this,t),this.titleText="Start sharing",this.emptyStateHeaderText="Your new codes and links aren’t ready yet",this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.",this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",o(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:!1,loading:!1}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):b(e),n={slots:{shareButtons:t("slot",{name:"shareButtons"}),shareCodes:t("slot",{name:"shareCodes"}),pagination:t("slot",{name:"pagination"}),empty:t(R,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:t(S,null)},...a,loading:a.states.loading,noCodes:a.states.noCodes};return t(q,Object.assign({},n))}};function R({headerText:e,descriptionText:a,imageUrl:n}){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateHeader:e,emptyStateText:a,emptyStateImage:n}))}function S(){return t("slot",{name:"loading"},t(A,null),t(A,null),t(A,null),t(A,null))}function A(){return t("sqm-skeleton",null)}export{k as sqm_pagination,w as sqm_referral_code,M as sqm_referral_codes}
13
+ `,w=class{constructor(t){a(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",this.buttonType="primary",o(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){const[e,a]=s(!1),n="REFERRALCODE001";return g({copyString:n,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(n),a(!0),setTimeout((()=>a(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,a;const{programId:n=c()}=t,o=d(),i=u(),l=r(x),{data:g}=p(E,{programId:n},!(null==o?void 0:o.jwt)||void 0!==(null==l?void 0:l.referralCode)),[f]=m(I),[h]=m(b),v=null!==(a=(null==l?void 0:l.referralCode)||(null===(e=null==g?void 0:g.user)||void 0===e?void 0:e.referralCode))&&void 0!==a?a:"...",[y,C]=s(!1);return{...t,onClick:async function(){l&&(await h({referralCode:l.referralCode}),l.refresh()),navigator.clipboard.writeText(v),C(!0),setTimeout((()=>C(!1)),t.tooltiplifespan),f({eventMeta:{programId:n,id:null==o?void 0:o.id,accountId:null==o?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:i,shareMedium:"DIRECT"}}})},open:y,copyString:v,isCopied:null==l?void 0:l.isCopied,showNotificationText:t.showNotificationText&&!!(null==l?void 0:l.singleUse)}}(e);return t(C,Object.assign({},a))}};function q(e){const{slots:a,titleText:n,states:o,textColor:s="var(--sqm-text-subdued)"}=e,r=h({Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:s},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}}),i=r.toString();return t("div",{class:r.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ",i),t("div",{class:r.classes.HeaderContainer},t("h2",{class:r.classes.TitleText},n),!o.noCodes&&!o.loading&&a.pagination),(e=>e.noCodes?a.empty:e.loading?a.loading:t("div",{class:r.classes.Wrapper},t("div",{class:r.classes.ShareCodeContainer},a.shareCodes),t("div",{class:r.classes.ShareButtonContainer},a.shareButtons)))(o))}const M=class{constructor(t){a(this,t),this.titleText="Start sharing",this.emptyStateHeaderText="Your new codes and links aren’t ready yet",this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.",this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",o(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:!1,loading:!1}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):y(e),n={slots:{shareButtons:t("slot",{name:"shareButtons"}),shareCodes:t("slot",{name:"shareCodes"}),pagination:t("slot",{name:"pagination"}),empty:t(R,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:t(S,null)},...a,loading:a.states.loading,noCodes:a.states.noCodes};return t(q,Object.assign({},n))}};function R({headerText:e,descriptionText:a,imageUrl:n}){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateHeader:e,emptyStateText:a,emptyStateImage:n}))}function S(){return t("slot",{name:"loading"},t(A,null),t(A,null),t(A,null),t(A,null))}function A(){return t("sqm-skeleton",null)}export{k as sqm_pagination,w as sqm_referral_code,M as sqm_referral_codes}
@@ -1 +1 @@
1
- import{h as e}from"./p-083180bf.js";import{i}from"./p-438f6702.js";import{j as l,a}from"./p-cef45012.js";import{E as o}from"./p-49b20dae.js";const t={ErrorStyle:o,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};l.setup(a());const s=l.createStyleSheet(t),r=s.toString();function n(l){var a,o,t,n,d,p;const{states:u,content:v}=l;return e("div",{class:s.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n",r),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:`/${v.fieldName}`,type:v.fieldType,label:`${v.fieldLabel}${v.fieldOptional?` ${v.optionalLabel}`:""}`},v.fieldOptional?[]:{required:!0},{disabled:(null===(a=u.leadFormState)||void 0===a?void 0:a.loading)||(null===(o=u.leadFormState)||void 0===o?void 0:o.disabled),validationError:({value:e})=>{if(!e&&!v.fieldOptional)return(({fieldLabel:e})=>i.formatMessage({id:`requiredFieldErrorMessage-${e}`,defaultMessage:v.requiredFieldErrorMessage},{fieldLabel:e}))({fieldLabel:v.fieldLabel})}},(null===(n=null===(t=u.leadFormState)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n[v.fieldName])?{class:s.classes.ErrorStyle,helpText:(null===(p=null===(d=u.leadFormState)||void 0===d?void 0:d.validationErrors)||void 0===p?void 0:p[v.fieldName])||v.requiredFieldErrorMessage}:[])))}export{n as L}
1
+ import{h as e}from"./p-083180bf.js";import{i}from"./p-f8a09b0f.js";import{j as l,a}from"./p-cef45012.js";import{E as o}from"./p-49b20dae.js";const t={ErrorStyle:o,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};l.setup(a());const s=l.createStyleSheet(t),r=s.toString();function n(l){var a,o,t,n,d,p;const{states:u,content:v}=l;return e("div",{class:s.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n",r),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:`/${v.fieldName}`,type:v.fieldType,label:`${v.fieldLabel}${v.fieldOptional?` ${v.optionalLabel}`:""}`},v.fieldOptional?[]:{required:!0},{disabled:(null===(a=u.leadFormState)||void 0===a?void 0:a.loading)||(null===(o=u.leadFormState)||void 0===o?void 0:o.disabled),validationError:({value:e})=>{if(!e&&!v.fieldOptional)return(({fieldLabel:e})=>i.formatMessage({id:`requiredFieldErrorMessage-${e}`,defaultMessage:v.requiredFieldErrorMessage},{fieldLabel:e}))({fieldLabel:v.fieldLabel})}},(null===(n=null===(t=u.leadFormState)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n[v.fieldName])?{class:s.classes.ErrorStyle,helpText:(null===(p=null===(d=u.leadFormState)||void 0===d?void 0:d.validationErrors)||void 0===p?void 0:p[v.fieldName])||v.requiredFieldErrorMessage}:[])))}export{n as L}