@saasquatch/mint-components 1.11.1-1 → 1.12.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/dist/cjs/{ShadowViewAddon-2c6026c3.js → ShadowViewAddon-88821c64.js} +229 -154
  2. package/dist/cjs/{global-02e50f09.js → global-c3637175.js} +2 -2
  3. package/dist/cjs/{index.module-df530553.js → index.module-b8d9d0ba.js} +55 -18
  4. package/dist/cjs/keys-cff24974.js +11 -0
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/mint-components.cjs.js +3 -3
  7. package/dist/cjs/{re-render-1976e05e.js → re-render-5bde3d2e.js} +4 -4
  8. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +211 -105
  10. package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +278 -178
  11. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +137 -0
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
  18. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-ce9a34ac.js} +20 -1
  19. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  20. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +5 -5
  21. package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-a2135064.js} +3 -3
  22. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  23. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  25. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  26. package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-050dbe0f.js} +2 -2
  27. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
  28. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  30. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  31. package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
  32. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  33. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
  34. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
  35. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -9
  36. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
  37. package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
  38. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +13 -13
  40. package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
  41. package/dist/cjs/sqm-stencilbook.cjs.entry.js +225 -272
  42. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  44. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +33 -0
  45. package/dist/cjs/sqm-widget-verification.cjs.entry.js +127 -0
  46. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-410d2435.js} +2 -2
  47. package/dist/cjs/useEmailVerification-30a1c7f6.js +75 -0
  48. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  49. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-824ac152.js} +9 -9
  50. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-f9ce55be.js} +2 -2
  51. package/dist/cjs/{utilities-cec9dd36.js → utilities-f7de6c04.js} +1 -1
  52. package/dist/collection/collection-manifest.json +6 -10
  53. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  54. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  55. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +9 -0
  56. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +22 -0
  57. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +105 -0
  58. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +44 -0
  59. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
  60. package/dist/collection/components/sqm-share-button/useShareButton.js +16 -15
  61. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  62. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  63. package/dist/collection/components/sqm-share-link/useShareLink.js +3 -5
  64. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -6
  65. package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
  66. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +29 -0
  67. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +118 -0
  68. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +330 -0
  69. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +144 -0
  70. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -0
  71. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +78 -0
  72. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +172 -0
  73. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +70 -0
  74. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +27 -0
  75. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +132 -0
  76. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +3 -0
  77. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +1 -0
  78. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +18 -0
  79. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +4 -1
  80. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +94 -38
  81. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +16 -2
  82. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +12 -0
  83. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +72 -0
  84. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +217 -0
  85. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +50 -0
  86. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
  87. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +16 -0
  88. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +80 -1
  89. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
  90. package/dist/collection/components/views/copy-text-view.js +2 -16
  91. package/dist/esm/{ShadowViewAddon-5bb2b69a.js → ShadowViewAddon-65c8679e.js} +227 -153
  92. package/dist/esm/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
  93. package/dist/esm/{index.module-f122af7b.js → index.module-6c840c4e.js} +40 -3
  94. package/dist/esm/keys-a1496e39.js +6 -0
  95. package/dist/esm/loader.js +3 -3
  96. package/dist/esm/mint-components.js +3 -3
  97. package/dist/esm/{re-render-c64289f3.js → re-render-1bcfd0de.js} +4 -4
  98. package/dist/esm/sqm-asset-card.entry.js +2 -2
  99. package/dist/esm/sqm-banking-info-form_16.entry.js +211 -105
  100. package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +275 -176
  101. package/dist/esm/sqm-close-button.entry.js +3 -3
  102. package/dist/esm/sqm-code-verification.entry.js +348 -0
  103. package/dist/esm/sqm-context-router.entry.js +2 -2
  104. package/dist/esm/sqm-email-verification.entry.js +133 -0
  105. package/dist/esm/sqm-empty_4.entry.js +3 -3
  106. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  107. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  108. package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-08c03ba7.js} +20 -1
  109. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  110. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  111. package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.js} +3 -3
  112. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
  113. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  114. package/dist/esm/sqm-password-field.entry.js +4 -4
  115. package/dist/esm/sqm-popup-container.entry.js +4 -4
  116. package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +2 -2
  117. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  118. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  119. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  120. package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  121. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  122. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  123. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  124. package/dist/esm/sqm-portal-reset-password.entry.js +9 -9
  125. package/dist/esm/sqm-portal-verify-email.entry.js +9 -9
  126. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  127. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  128. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  129. package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
  130. package/dist/esm/sqm-scroll.entry.js +105 -0
  131. package/dist/esm/sqm-stencilbook.entry.js +212 -259
  132. package/dist/esm/sqm-tab.entry.js +2 -2
  133. package/dist/esm/sqm-tabs.entry.js +4 -4
  134. package/dist/esm/sqm-widget-verification-internal.entry.js +29 -0
  135. package/dist/esm/sqm-widget-verification.entry.js +123 -0
  136. package/dist/esm/stencil-hooks.module-ac12ca1c.js +1 -1
  137. package/dist/esm/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +2 -2
  138. package/dist/esm/useEmailVerification-7135732c.js +72 -0
  139. package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  140. package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +9 -9
  141. package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-849e27f7.js} +2 -2
  142. package/dist/esm/{utilities-18d10876.js → utilities-443732be.js} +1 -1
  143. package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
  144. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +1 -0
  145. package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
  146. package/dist/esm-es5/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
  147. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  148. package/dist/esm-es5/keys-a1496e39.js +1 -0
  149. package/dist/esm-es5/loader.js +1 -1
  150. package/dist/esm-es5/mint-components.js +1 -1
  151. package/dist/esm-es5/{re-render-c64289f3.js → re-render-1bcfd0de.js} +1 -1
  152. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  153. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  154. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
  155. package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  156. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  157. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  158. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  159. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  160. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  161. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  162. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  163. package/dist/esm-es5/sqm-invoice-table-view-08c03ba7.js +1 -0
  164. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  165. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  166. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  167. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  168. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  169. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  170. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  171. package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  172. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  173. package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  174. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  175. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  176. package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  177. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  178. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  179. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  180. package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  181. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
  183. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  184. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  185. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  186. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  187. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  188. package/dist/esm-es5/sqm-scroll.entry.js +1 -0
  189. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  190. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  191. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  192. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -0
  193. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  194. package/dist/esm-es5/stencil-hooks.module-ac12ca1c.js +1 -1
  195. package/dist/esm-es5/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +1 -1
  196. package/dist/esm-es5/useEmailVerification-7135732c.js +1 -0
  197. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +1 -0
  198. package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +1 -1
  199. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  200. package/dist/esm-es5/{utilities-18d10876.js → utilities-443732be.js} +1 -1
  201. package/dist/mint-components/mint-components.esm.js +1 -1
  202. package/dist/mint-components/mint-components.js +1 -1
  203. package/dist/mint-components/p-0121e044.js +1 -0
  204. package/dist/mint-components/{p-12c56ba6.entry.js → p-012daf3c.entry.js} +1 -1
  205. package/dist/mint-components/{p-1b1d10e5.entry.js → p-03dbe2ce.entry.js} +1 -1
  206. package/dist/mint-components/{p-8077e9c6.js → p-04348a9b.js} +1 -1
  207. package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-04ced592.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-7962ab58.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  209. package/dist/mint-components/{p-01434e4a.entry.js → p-0893073b.entry.js} +1 -1
  210. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  211. package/dist/mint-components/p-117b4705.system.js +1 -0
  212. package/dist/mint-components/p-11d1b212.js +1 -0
  213. package/dist/mint-components/{p-dc41ff27.entry.js → p-1b861be5.entry.js} +1 -1
  214. package/dist/mint-components/{p-32cf8417.js → p-1b9e6fc6.js} +1 -1
  215. package/dist/mint-components/p-1bd0cda8.system.entry.js +1 -0
  216. package/dist/mint-components/{p-991c9787.js → p-1d27da33.js} +2 -2
  217. package/dist/mint-components/p-1ee62d9f.system.entry.js +1 -0
  218. package/dist/mint-components/{p-de2a8fae.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  219. package/dist/mint-components/p-1f9a9b70.system.entry.js +1 -0
  220. package/dist/mint-components/{p-5c845bc2.system.entry.js → p-22425c71.system.entry.js} +1 -1
  221. package/dist/mint-components/p-23fdd44e.entry.js +1 -0
  222. package/dist/mint-components/{p-3373d84e.js → p-2816bf6a.js} +1 -1
  223. package/dist/mint-components/p-2868f475.entry.js +1 -0
  224. package/dist/mint-components/p-2a414b2e.system.js +2 -2
  225. package/dist/mint-components/{p-a474b0ec.system.entry.js → p-36e9296e.system.entry.js} +1 -1
  226. package/dist/mint-components/p-36f7caec.system.entry.js +1 -0
  227. package/dist/mint-components/{p-b334bde8.entry.js → p-3925bcd6.entry.js} +2 -2
  228. package/dist/mint-components/p-39397731.entry.js +1 -0
  229. package/dist/mint-components/p-39af4acd.entry.js +240 -0
  230. package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-59c141a2.system.js → p-3ed71bef.system.js} +1 -1
  232. package/dist/mint-components/{p-bf834367.system.js → p-43621f12.system.js} +1 -1
  233. package/dist/mint-components/{p-110dddfe.entry.js → p-4671e644.entry.js} +1 -1
  234. package/dist/mint-components/{p-0f028514.system.js → p-4babe350.system.js} +1 -1
  235. package/dist/mint-components/p-4c9b6fbe.system.js +1 -0
  236. package/dist/mint-components/p-4e373c3d.system.js +1 -0
  237. package/dist/mint-components/{p-03a647c2.system.js → p-4e48267b.system.js} +1 -1
  238. package/dist/mint-components/{p-9deac406.system.js → p-4eae91a9.system.js} +1 -1
  239. package/dist/mint-components/{p-0806343b.js → p-509e29e6.js} +1 -1
  240. package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-51d53165.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-246a2827.entry.js → p-5291891c.entry.js} +2 -2
  242. package/dist/mint-components/{p-c1ba2ad0.system.entry.js → p-59818690.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-55588b46.system.js → p-5becb2ff.system.js} +1 -1
  244. package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  245. package/dist/mint-components/{p-22de9f73.system.entry.js → p-64491210.system.entry.js} +1 -1
  246. package/dist/mint-components/p-65e2c043.system.js +1 -0
  247. package/dist/mint-components/p-663303b7.entry.js +8 -0
  248. package/dist/mint-components/p-66a04cca.system.entry.js +1 -0
  249. package/dist/mint-components/{p-1df19ea2.js → p-68747d88.js} +1 -1
  250. package/dist/mint-components/{p-96cb9c17.entry.js → p-6c928c7d.entry.js} +1 -1
  251. package/dist/mint-components/p-6cae44d7.js +1 -0
  252. package/dist/mint-components/{p-b0ce005d.entry.js → p-721a89c6.entry.js} +2 -2
  253. package/dist/mint-components/{p-6e62f207.entry.js → p-76392386.entry.js} +1 -1
  254. package/dist/mint-components/{p-bb6f6681.system.js → p-7d5e0645.system.js} +1 -1
  255. package/dist/mint-components/{p-daba8cd2.system.entry.js → p-7dd1ff31.system.entry.js} +1 -1
  256. package/dist/mint-components/p-7f5c7bf7.system.entry.js +1 -0
  257. package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-d3d281ff.entry.js → p-84b25a46.entry.js} +1 -1
  259. package/dist/mint-components/{p-82e09b8d.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  260. package/dist/mint-components/p-8a337864.js +7 -0
  261. package/dist/mint-components/{p-73decce7.system.js → p-8d554a89.system.js} +1 -1
  262. package/dist/mint-components/p-93576222.system.js +1 -0
  263. package/dist/mint-components/p-94454880.entry.js +1 -0
  264. package/dist/mint-components/p-947fe79b.entry.js +1 -0
  265. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  266. package/dist/mint-components/{p-9288cca6.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  267. package/dist/mint-components/p-9d34f4f0.entry.js +33 -0
  268. package/dist/mint-components/p-9e0230c3.entry.js +1 -0
  269. package/dist/mint-components/{p-476182e7.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
  270. package/dist/mint-components/p-a02afa72.system.js +1 -0
  271. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  272. package/dist/mint-components/{p-798ed3a2.entry.js → p-a45b03d2.entry.js} +1 -1
  273. package/dist/mint-components/{p-523ed056.system.js → p-a51533cb.system.js} +1 -1
  274. package/dist/mint-components/p-a5a9aa07.entry.js +189 -0
  275. package/dist/mint-components/p-a85f57bb.entry.js +1 -0
  276. package/dist/mint-components/{p-21d4f6ce.system.js → p-ac51940e.system.js} +1 -1
  277. package/dist/mint-components/p-b1e8a802.entry.js +1 -0
  278. package/dist/mint-components/{p-fec0ac31.js → p-b651706a.js} +24 -24
  279. package/dist/mint-components/{p-14dac608.system.entry.js → p-bc826117.system.entry.js} +1 -1
  280. package/dist/mint-components/p-bdd6bb13.js +1 -0
  281. package/dist/mint-components/{p-67846dce.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  282. package/dist/mint-components/{p-3cc5474d.entry.js → p-bee1e573.entry.js} +1 -1
  283. package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  284. package/dist/mint-components/p-c3b37bbf.js +1 -0
  285. package/dist/mint-components/{p-ff41c804.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-18a19cb5.system.js → p-c5577dd7.system.js} +1 -1
  287. package/dist/mint-components/{p-02f6cda4.js → p-c5d2e4ba.js} +1 -1
  288. package/dist/mint-components/p-c763c0b2.js +1 -0
  289. package/dist/mint-components/{p-ed161025.js → p-c8610d0c.js} +1 -1
  290. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  291. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  292. package/dist/mint-components/p-ca809fdd.system.js +1 -0
  293. package/dist/mint-components/{p-f52c3aec.system.entry.js → p-cb433855.system.entry.js} +1 -1
  294. package/dist/mint-components/{p-f44d88fa.system.js → p-cd44de66.system.js} +1 -1
  295. package/dist/mint-components/p-d35d8c06.entry.js +11 -0
  296. package/dist/mint-components/{p-cfbe2f86.entry.js → p-d468925f.entry.js} +1 -1
  297. package/dist/mint-components/{p-15dee492.js → p-d49e2f7a.js} +1 -1
  298. package/dist/mint-components/{p-9c3d78e9.js → p-d83b0cf3.js} +1 -1
  299. package/dist/mint-components/{p-6e7e8af6.system.js → p-def516b8.system.js} +1 -1
  300. package/dist/mint-components/{p-e41cb11f.js → p-e0e7635a.js} +1 -1
  301. package/dist/mint-components/{p-a1150633.system.entry.js → p-e12d3414.system.entry.js} +1 -1
  302. package/dist/mint-components/{p-ce746af8.system.js → p-e8dde8f4.system.js} +1 -1
  303. package/dist/mint-components/p-e93e5740.entry.js +1 -0
  304. package/dist/mint-components/p-e9ca48fc.system.entry.js +1 -0
  305. package/dist/mint-components/p-ead27698.system.entry.js +1 -0
  306. package/dist/mint-components/{p-1c6e4a5f.entry.js → p-f36e33ff.entry.js} +2 -2
  307. package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-f450654b.system.entry.js} +1 -1
  308. package/dist/mint-components/{p-1c710e16.entry.js → p-f4cbbe47.entry.js} +1 -1
  309. package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-f531a5c9.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-acc93caa.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  311. package/dist/mint-components/p-f655a7df.js +1 -0
  312. package/dist/mint-components/{p-855ae1b5.js → p-fb93c962.js} +1 -1
  313. package/dist/mint-components/{p-46ca288c.system.js → p-fc422446.system.js} +1 -1
  314. package/dist/mint-components/{p-fae82751.entry.js → p-fd21ae8f.entry.js} +1 -1
  315. package/dist/mint-components/p-fd2c5407.js +2 -2
  316. package/dist/types/components/{sqm-pagination/Pagination.stories.d.ts → sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts} +1 -0
  317. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
  318. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +19 -0
  319. package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
  320. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
  321. package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
  322. package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
  323. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +8 -0
  324. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
  325. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +60 -0
  326. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +23 -0
  327. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +7 -0
  328. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +16 -0
  329. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +32 -0
  330. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +9 -0
  331. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +5 -0
  332. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +8 -0
  333. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +1 -0
  334. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  335. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
  336. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
  337. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +8 -0
  338. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
  339. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +21 -0
  340. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -0
  341. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +5 -0
  342. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +16 -0
  343. package/dist/types/components/views/copy-text-view.d.ts +0 -2
  344. package/dist/types/components.d.ts +296 -170
  345. package/dist/types/global/android.d.ts +7 -0
  346. package/dist/types/global/demo.d.ts +2 -0
  347. package/dist/types/stories/features.d.ts +4 -0
  348. package/dist/types/stories/templates.d.ts +4 -0
  349. package/docs/docs.docx +0 -0
  350. package/docs/raisins.json +1 -1
  351. package/grapesjs/grapesjs.js +1 -1
  352. package/package.json +2 -2
  353. package/dist/cjs/copy-text-view-a22ad7e7.js +0 -173
  354. package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -316
  355. package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
  356. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
  357. package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -85
  358. package/dist/collection/components/sqm-pagination/usePagination.js +0 -8
  359. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
  360. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -315
  361. package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -51
  362. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -35
  363. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -59
  364. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -99
  365. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -75
  366. package/dist/esm/copy-text-view-bf55abeb.js +0 -168
  367. package/dist/esm/sqm-pagination_3.entry.js +0 -310
  368. package/dist/esm-es5/ShadowViewAddon-5bb2b69a.js +0 -1
  369. package/dist/esm-es5/copy-text-view-bf55abeb.js +0 -1
  370. package/dist/esm-es5/index.module-f122af7b.js +0 -1
  371. package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
  372. package/dist/esm-es5/sqm-invoice-table-view-09cc28d6.js +0 -1
  373. package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
  374. package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
  375. package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
  376. package/dist/mint-components/p-00be5090.js +0 -1
  377. package/dist/mint-components/p-0161f5da.entry.js +0 -13
  378. package/dist/mint-components/p-1099290c.system.js +0 -1
  379. package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
  380. package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
  381. package/dist/mint-components/p-2e16db11.entry.js +0 -1
  382. package/dist/mint-components/p-41499327.entry.js +0 -1
  383. package/dist/mint-components/p-43a990b6.system.js +0 -1
  384. package/dist/mint-components/p-4856b234.system.entry.js +0 -1
  385. package/dist/mint-components/p-48b7d703.entry.js +0 -174
  386. package/dist/mint-components/p-494e407e.entry.js +0 -1
  387. package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
  388. package/dist/mint-components/p-5d37482d.entry.js +0 -1
  389. package/dist/mint-components/p-5fc8d87c.system.js +0 -1
  390. package/dist/mint-components/p-646d302a.system.js +0 -1
  391. package/dist/mint-components/p-6628bc0e.system.js +0 -1
  392. package/dist/mint-components/p-6b0e6a6c.js +0 -1
  393. package/dist/mint-components/p-73c6b26d.entry.js +0 -223
  394. package/dist/mint-components/p-89a760ea.js +0 -1
  395. package/dist/mint-components/p-942d1c22.entry.js +0 -33
  396. package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
  397. package/dist/mint-components/p-b5176703.entry.js +0 -1
  398. package/dist/mint-components/p-b71c0e2d.system.entry.js +0 -1
  399. package/dist/mint-components/p-bd4e9c2b.js +0 -1
  400. package/dist/mint-components/p-c37137cd.js +0 -2
  401. package/dist/mint-components/p-c7ce2c1e.system.js +0 -1
  402. package/dist/mint-components/p-ca17d998.entry.js +0 -1
  403. package/dist/mint-components/p-d666b326.js +0 -1
  404. package/dist/mint-components/p-ea88142c.js +0 -1
  405. package/dist/mint-components/p-eb4e9efb.system.entry.js +0 -1
  406. package/dist/mint-components/p-ecefeaa9.system.entry.js +0 -1
  407. package/dist/mint-components/p-f1ec1180.entry.js +0 -1
  408. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -7
  409. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -17
  410. package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
  411. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
  412. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
  413. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
  414. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -9
  415. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -10
  416. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -21
  417. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -59
  418. package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-80d7642e.js} +1 -1
  419. package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-248652bb.js} +1 -1
  420. package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-fd6e8f60.js} +1 -1
  421. package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
  422. package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
  423. package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-7ffcc0d4.js} +1 -1
  424. package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
  425. package/dist/esm/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
  426. package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  427. package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  428. package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  429. package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
@@ -2,18 +2,17 @@
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
4
  const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
5
- const global = require('./global-02e50f09.js');
6
- const index_module = require('./index.module-df530553.js');
7
- const utils = require('./utils-6847bc06.js');
8
- const JSS = require('./JSS-8503a151.js');
9
- const copyTextView = require('./copy-text-view-a22ad7e7.js');
5
+ const global = require('./global-c3637175.js');
6
+ const index_module = require('./index.module-b8d9d0ba.js');
10
7
  const cjs = require('./cjs-1066ec21.js');
11
8
  const mixins = require('./mixins-fe9d4112.js');
12
- const useChildElements = require('./useChildElements-e0d44916.js');
9
+ const JSS = require('./JSS-8503a151.js');
10
+ const useChildElements = require('./useChildElements-410d2435.js');
13
11
  const luxon = require('./luxon-05098e19.js');
12
+ const utils = require('./utils-6847bc06.js');
14
13
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
15
14
  const index$1 = require('./index-8c6255f5.js');
16
- const utilities = require('./utilities-cec9dd36.js');
15
+ const utilities = require('./utilities-f7de6c04.js');
17
16
  const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
18
17
 
19
18
  const medium = {
@@ -219,6 +218,80 @@ function LeaderboardView(props) {
219
218
  index.h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
220
219
  }
221
220
 
221
+ const style$2 = {
222
+ HostBlock: mixins.HostBlock,
223
+ inputStyle: {
224
+ "&::part(input)": { textOverflow: "ellipsis", width: "100%" },
225
+ "&::part(base)": { cursor: "pointer", overflow: "visible" },
226
+ width: "100%",
227
+ },
228
+ inputErrorStyle: {
229
+ "&::part(base)": {
230
+ border: "2px solid red",
231
+ },
232
+ },
233
+ containerStyle: {
234
+ display: "flex",
235
+ alignItems: "center",
236
+ gap: "var(--sl-spacing-x-small)",
237
+ width: "100%",
238
+ },
239
+ errorTextStyle: {
240
+ margin: "0",
241
+ color: "var(--sl-color-danger-500)",
242
+ },
243
+ };
244
+ const vanillaStyle$1 = `
245
+ :host{
246
+ display: block;
247
+ width: 100%;
248
+ }
249
+ `;
250
+ const textAlignStyle = {
251
+ right: `
252
+ sl-input::part(input){
253
+ text-align: right;
254
+ }`,
255
+ center: `
256
+ sl-input::part(input){
257
+ text-align: center;
258
+ }`,
259
+ left: ``,
260
+ };
261
+ const disabledStyles = `
262
+ sl-input::part(input){
263
+ cursor: default;
264
+ }
265
+ `;
266
+ const sheet$2 = JSS.createStyleSheet(style$2);
267
+ const styleString$2 = sheet$2.toString();
268
+ function CopyTextView(props) {
269
+ const { buttonStyle = "icon" } = props;
270
+ const error = !props.loading && props.error;
271
+ const inputText = error ? props.inputPlaceholderText : props.copyString;
272
+ const disabled = error || props.loading || props.disabled;
273
+ const tooltipPlacement = props.buttonStyle === "button-below"
274
+ ? "bottom"
275
+ : props.buttonStyle === "button-outside"
276
+ ? "top"
277
+ : "top-end";
278
+ const copyButton = (index.h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (index.h("sl-icon-button", { exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (index.h("sl-button", { exportparts: "base: copy-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
279
+ return (index.h("div", null,
280
+ index.h("style", { type: "text/css" },
281
+ styleString$2,
282
+ vanillaStyle$1,
283
+ textAlignStyle[props.textAlign],
284
+ disabled && disabledStyles),
285
+ index.h("div", { class: sheet$2.classes.containerStyle, style: {
286
+ flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
287
+ } },
288
+ index.h("sl-input", { class: `${sheet$2.classes.inputStyle} ${error ? sheet$2.classes.inputErrorStyle : ""}`, exportparts: "base: input-base, input: input-label", value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
289
+ buttonStyle === "icon" && copyButton,
290
+ error && (index.h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
291
+ (buttonStyle === "button-outside" || buttonStyle === "button-below") &&
292
+ copyButton)));
293
+ }
294
+
222
295
  function BigStatView(props) {
223
296
  const { statvalue, flexReverse, alignment } = props;
224
297
  // Dependent on props, not feasiable to move out
@@ -254,7 +327,7 @@ function BigStatView(props) {
254
327
  index.h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
255
328
  }
256
329
 
257
- const style$2 = {
330
+ const style$3 = {
258
331
  HostBlock: mixins.HostBlock,
259
332
  Frame: {
260
333
  display: "flex",
@@ -288,17 +361,17 @@ const style$2 = {
288
361
  },
289
362
  },
290
363
  };
291
- const sheet$2 = JSS.createStyleSheet(style$2);
292
- const styleString$2 = sheet$2.toString();
364
+ const sheet$3 = JSS.createStyleSheet(style$3);
365
+ const styleString$3 = sheet$3.toString();
293
366
  function PortalFrameView(props, children) {
294
367
  const { data, notFullScreen } = props;
295
- return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
296
- index.h("style", { type: "text/css" }, styleString$2),
297
- index.h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
368
+ return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$3.classes.Frame, part: "sqm-base" },
369
+ index.h("style", { type: "text/css" }, styleString$3),
370
+ index.h("div", { class: sheet$3.classes.HeaderWrapper, part: "sqm-header" },
298
371
  data.header,
299
372
  index.h("slot", { name: "sqm-navigation-menu" })),
300
373
  children,
301
- index.h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
374
+ index.h("div", { class: sheet$3.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
302
375
  }
303
376
 
304
377
  const EditProfileView = (props) => {
@@ -375,13 +448,12 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
375
448
  `;
376
449
  function useShareLink(props) {
377
450
  var _a, _b;
378
- const { programId = index_module.H() } = props;
379
- const user = index_module.Q();
380
- const engagementMedium = index_module.B();
381
- const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
382
- const { data } = index_module.yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
383
- const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
384
- const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink))) !== null && _b !== void 0 ? _b :
451
+ const { programId = index_module.z() } = props;
452
+ const user = index_module.K();
453
+ const engagementMedium = index_module.ne();
454
+ const { data } = index_module.En(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
455
+ const [sendLoadEvent] = index_module.xe(WIDGET_ENGAGEMENT_EVENT);
456
+ const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
385
457
  // Shown during loading
386
458
  "...";
387
459
  const [open, setOpen] = stencilHooks_module.useState(false);
@@ -444,49 +516,51 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
444
516
  alert(unsupportedPlatformText);
445
517
  }
446
518
  }
447
- function FacebookShare(directLink, messageLink, errorText) {
448
- if (messageLink === "undefined" || directLink === "undefined") {
519
+ function FacebookShare(directLink, res, errorText) {
520
+ var _a, _b;
521
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
522
+ directLink === "undefined") {
449
523
  return alert(errorText);
450
524
  }
451
525
  if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
452
- return SquatchAndroid.shareOnFacebook(directLink, messageLink);
526
+ return SquatchAndroid.shareOnFacebook(directLink, res.data.viewer.messageLink);
453
527
  }
454
528
  else {
455
- return GenericShare(messageLink, errorText);
529
+ return GenericShare(res, errorText);
456
530
  }
457
531
  }
458
- function GenericShare(messageLink, errorText) {
459
- return messageLink ? window.open(messageLink) : alert(errorText);
532
+ function GenericShare(res, errorText) {
533
+ var _a, _b;
534
+ return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) ? window.open(res.data.viewer.messageLink)
535
+ : alert(errorText);
460
536
  }
461
537
  function useShareButton(props) {
462
- var _a, _b, _c;
538
+ var _a, _b;
463
539
  const { sharetitle, sharetext, medium } = props;
464
- const programId = props.programId ? props.programId : index_module.H();
465
- const user = index_module.Q();
540
+ const programId = props.programId ? props.programId : index_module.z();
541
+ const user = index_module.K();
466
542
  const variables = {
467
- engagementMedium: index_module.B(),
543
+ engagementMedium: index_module.ne(),
468
544
  programId: programId,
469
545
  shareMedium: medium.toUpperCase(),
470
546
  };
471
- const data = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
472
547
  // only queries if a programId is available
473
- const res = index_module.yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || (data === null || data === void 0 ? void 0 : data[medium]) !== undefined);
474
- const directLink = ((_a = data === null || data === void 0 ? void 0 : data[medium]) === null || _a === void 0 ? void 0 : _a.shareLink) || ((_c = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.viewer) === null || _c === void 0 ? void 0 : _c.shareLink);
548
+ const res = index_module.En(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
549
+ const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
475
550
  const environment = index_module.getEnvironmentSDK();
476
551
  const hide = (medium.toLocaleUpperCase() === "SMS" &&
477
552
  window.orientation === undefined) ||
478
553
  (medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
479
554
  function onClick() {
480
- var _a, _b, _c, _d, _e, _f;
481
555
  if (medium.toLocaleUpperCase() === "FACEBOOK" &&
482
556
  environment.type === "SquatchAndroid") {
483
- FacebookShare(directLink, ((_a = data === null || data === void 0 ? void 0 : data[medium]) === null || _a === void 0 ? void 0 : _a.messageLink) || ((_c = (_b = res.data) === null || _b === void 0 ? void 0 : _b.viewer) === null || _c === void 0 ? void 0 : _c.messageLink), props.errorText);
557
+ FacebookShare(directLink, res, props.errorText);
484
558
  }
485
559
  else if (medium.toLocaleUpperCase() === "DIRECT") {
486
560
  NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
487
561
  }
488
562
  else {
489
- GenericShare(((_d = data === null || data === void 0 ? void 0 : data[medium]) === null || _d === void 0 ? void 0 : _d.messageLink) || ((_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.messageLink), props.errorText);
563
+ GenericShare(res, props.errorText);
490
564
  }
491
565
  }
492
566
  return { ...props, loading: res.loading, onClick, hide };
@@ -495,7 +569,7 @@ function useShareButton(props) {
495
569
  const debug = stencilHooks_module.browser("sq:useBigStat");
496
570
  const LOADING = "...";
497
571
  const debugQuery = (query, variables, getStat) => {
498
- const res = index_module.yn(query, variables);
572
+ const res = index_module.En(query, variables);
499
573
  if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
500
574
  console.error("issue getting stat:", res);
501
575
  }
@@ -906,7 +980,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
906
980
  locale: $locale
907
981
  formatType: UNIT_FORMATTED
908
982
  )}`;
909
- const result = index_module.yn(query, {
983
+ const result = index_module.En(query, {
910
984
  value: redeemedTotal,
911
985
  unit,
912
986
  locale,
@@ -965,7 +1039,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
965
1039
  locale: $locale
966
1040
  formatType: UNIT_FORMATTED
967
1041
  )}`;
968
- const result = index_module.yn(query, {
1042
+ const result = index_module.En(query, {
969
1043
  value: redeemedTotal,
970
1044
  unit,
971
1045
  locale,
@@ -1361,11 +1435,11 @@ const StatPaths = [
1361
1435
  const StatPatterns = StatPaths.map((pattern) => index$1.pathToRegexp(pattern.route));
1362
1436
  function useBigStat(props) {
1363
1437
  var _a;
1364
- const { statType, flexReverse, alignment, programId = index_module.H(), } = props;
1438
+ const { statType, flexReverse, alignment, programId = index_module.z(), } = props;
1365
1439
  // triggers a re-render if the label is manually changed
1366
1440
  useChildElements.useChildElements();
1367
- const locale = index_module.L();
1368
- const userIdent = index_module.Q();
1441
+ const locale = index_module.Q();
1442
+ const userIdent = index_module.K();
1369
1443
  const re = stencilHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
1370
1444
  if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
1371
1445
  return {
@@ -1562,7 +1636,7 @@ function PortalChangePasswordView(props) {
1562
1636
  index.h("style", { type: "text/css" }, styleString))));
1563
1637
  }
1564
1638
 
1565
- const style$3 = {
1639
+ const style$4 = {
1566
1640
  Wrapper: mixins.AuthWrapper,
1567
1641
  Column: mixins.AuthColumn,
1568
1642
  ForgotButtonContainer: {
@@ -1575,7 +1649,7 @@ const style$3 = {
1575
1649
  },
1576
1650
  ButtonsContainer: mixins.AuthButtonsContainer,
1577
1651
  };
1578
- const vanillaStyle$1 = `
1652
+ const vanillaStyle$2 = `
1579
1653
  :host {
1580
1654
  display: block;
1581
1655
  }
@@ -1583,28 +1657,28 @@ const vanillaStyle$1 = `
1583
1657
  display: none;
1584
1658
  }
1585
1659
  `;
1586
- const sheet$3 = JSS.createStyleSheet(style$3);
1587
- const styleString$3 = sheet$3.toString();
1660
+ const sheet$4 = JSS.createStyleSheet(style$4);
1661
+ const styleString$4 = sheet$4.toString();
1588
1662
  function PortalLoginView(props) {
1589
1663
  const { states, callbacks, content } = props;
1590
- return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
1664
+ return (index.h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
1591
1665
  index.h("style", { type: "text/css" },
1592
- vanillaStyle$1,
1593
- styleString$3),
1666
+ vanillaStyle$2,
1667
+ styleString$4),
1594
1668
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
1595
- index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
1669
+ index.h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit },
1596
1670
  props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1597
1671
  index.h("div", { part: "erroralert-text" }, props.states.error))),
1598
1672
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
1599
1673
  index.h("div", null,
1600
1674
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
1601
- index.h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
1602
- index.h("div", { class: sheet$3.classes.ButtonsContainer },
1675
+ index.h("div", { class: sheet$4.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
1676
+ index.h("div", { class: sheet$4.classes.ButtonsContainer },
1603
1677
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
1604
1678
  content.secondaryButton))));
1605
1679
  }
1606
1680
 
1607
- const style$4 = {
1681
+ const style$5 = {
1608
1682
  Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
1609
1683
  Column: mixins.AuthColumn,
1610
1684
  HostBlock: mixins.HostBlock,
@@ -1615,7 +1689,7 @@ const style$4 = {
1615
1689
  ButtonsContainer: mixins.AuthButtonsContainer,
1616
1690
  ErrorStyle: mixins.ErrorStyles,
1617
1691
  };
1618
- const vanillaStyle$2 = `
1692
+ const vanillaStyle$3 = `
1619
1693
  sqm-portal-register {
1620
1694
  margin: 0 auto;
1621
1695
  width: 100%;
@@ -1630,20 +1704,20 @@ sqm-portal-register {
1630
1704
  display: none;
1631
1705
  }
1632
1706
  `;
1633
- const sheet$4 = JSS.createStyleSheet(style$4);
1634
- const styleString$4 = sheet$4.toString();
1707
+ const sheet$5 = JSS.createStyleSheet(style$5);
1708
+ const styleString$5 = sheet$5.toString();
1635
1709
  function PortalRegisterView(props) {
1636
1710
  var _a, _b, _c, _d, _e, _f, _g, _h;
1637
1711
  const { states, refs, callbacks, content } = props;
1638
1712
  if (states.error) {
1639
1713
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
1640
1714
  }
1641
- return (index.h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
1715
+ return (index.h("div", { class: sheet$5.classes.Wrapper, part: "sqm-base" },
1642
1716
  index.h("style", { type: "text/css" },
1643
- vanillaStyle$2,
1644
- styleString$4),
1717
+ vanillaStyle$3,
1718
+ styleString$5),
1645
1719
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
1646
- index.h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1720
+ index.h("sl-form", { class: sheet$5.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1647
1721
  states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1648
1722
  index.h("div", { part: "erroralert-text" }, props.states.error))),
1649
1723
  content.formData,
@@ -1656,7 +1730,7 @@ function PortalRegisterView(props) {
1656
1730
  return content.invalidEmailErrorMessage;
1657
1731
  }
1658
1732
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
1659
- class: sheet$4.classes.ErrorStyle,
1733
+ class: sheet$5.classes.ErrorStyle,
1660
1734
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
1661
1735
  content.requiredFieldErrorMessage,
1662
1736
  }
@@ -1664,17 +1738,17 @@ function PortalRegisterView(props) {
1664
1738
  !states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
1665
1739
  content.passwordField,
1666
1740
  !states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
1667
- class: sheet$4.classes.ErrorStyle,
1741
+ class: sheet$5.classes.ErrorStyle,
1668
1742
  helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
1669
1743
  }
1670
1744
  : [])))),
1671
1745
  content.terms,
1672
- index.h("div", { class: sheet$4.classes.ButtonsContainer },
1746
+ index.h("div", { class: sheet$5.classes.ButtonsContainer },
1673
1747
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1674
1748
  content.secondaryButton))));
1675
1749
  }
1676
1750
 
1677
- const style$5 = {
1751
+ const style$6 = {
1678
1752
  Description: {
1679
1753
  "& input[type=checkbox]": {
1680
1754
  display: "none",
@@ -1713,13 +1787,13 @@ const style$5 = {
1713
1787
  },
1714
1788
  },
1715
1789
  };
1716
- const sheet$5 = JSS.createStyleSheet(style$5);
1717
- const styleString$5 = sheet$5.toString();
1790
+ const sheet$6 = JSS.createStyleSheet(style$6);
1791
+ const styleString$6 = sheet$6.toString();
1718
1792
  function Details(props) {
1719
1793
  const rid = Math.random().toString(36).slice(2);
1720
1794
  return (index.h("div", { style: { opacity: props.opacity } },
1721
- index.h("style", { type: "text/css" }, styleString$5),
1722
- index.h("span", { class: sheet$5.classes.Description },
1795
+ index.h("style", { type: "text/css" }, styleString$6),
1796
+ index.h("span", { class: sheet$6.classes.Description },
1723
1797
  index.h("input", { type: "checkbox", id: "details-" + rid }),
1724
1798
  index.h("label", { class: "details", htmlFor: "details-" + rid },
1725
1799
  index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1741,7 +1815,7 @@ const GreyGift = () => {
1741
1815
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1742
1816
  };
1743
1817
 
1744
- const style$6 = {
1818
+ const style$7 = {
1745
1819
  ProgressBar: {
1746
1820
  "& .progress-bar": {
1747
1821
  height: "0",
@@ -1853,14 +1927,14 @@ const style$6 = {
1853
1927
  },
1854
1928
  },
1855
1929
  };
1856
- const sheet$6 = JSS.createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1857
- const styleString$6 = sheet$6.toString();
1930
+ const sheet$7 = JSS.createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
1931
+ const styleString$7 = sheet$7.toString();
1858
1932
  function ProgressBarView(props) {
1859
1933
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1860
1934
  let aggregate = buildProgressBar(repeatable, steps, props);
1861
1935
  const { columns, items } = aggregate;
1862
- return (index.h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1863
- index.h("style", { type: "text/css" }, styleString$6),
1936
+ return (index.h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1937
+ index.h("style", { type: "text/css" }, styleString$7),
1864
1938
  index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1865
1939
  (Boolean(finite) && progress > 2 * goal)
1866
1940
  ? "progress-bar repeatable-steps"
@@ -2151,7 +2225,7 @@ const arrow_left_right = () => {
2151
2225
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
2152
2226
  };
2153
2227
 
2154
- const style$7 = {
2228
+ const style$8 = {
2155
2229
  TaskCard: {
2156
2230
  display: "inline-block",
2157
2231
  width: "100%",
@@ -2305,8 +2379,8 @@ const style$7 = {
2305
2379
  },
2306
2380
  },
2307
2381
  };
2308
- const sheet$7 = JSS.createStyleSheet(style$7);
2309
- const styleString$7 = sheet$7.toString();
2382
+ const sheet$8 = JSS.createStyleSheet(style$8);
2383
+ const styleString$8 = sheet$8.toString();
2310
2384
  function TaskCardView(props) {
2311
2385
  var _a, _b;
2312
2386
  const { callbacks, states, content } = props;
@@ -2342,11 +2416,11 @@ function TaskCardView(props) {
2342
2416
  }
2343
2417
 
2344
2418
  `;
2345
- return (index.h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2419
+ return (index.h("div", { class: sheet$8.classes.TaskCard, part: "sqm-base" },
2346
2420
  index.h("style", { type: "text/css" },
2347
- styleString$7,
2421
+ styleString$8,
2348
2422
  vanillaStyle),
2349
- !states.loading && taskNotStarted && (index.h("div", { class: sheet$7.classes.NotStarted },
2423
+ !states.loading && taskNotStarted && (index.h("div", { class: sheet$8.classes.NotStarted },
2350
2424
  index.h("span", { class: "icon" },
2351
2425
  index.h("sl-icon", { name: "info-circle-fill" })),
2352
2426
  global.intl.formatMessage({
@@ -2357,7 +2431,7 @@ function TaskCardView(props) {
2357
2431
  .setLocale(utils.luxonLocale(states.locale))
2358
2432
  .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
2359
2433
  }))),
2360
- !states.loading && taskEnded && (index.h("div", { class: sheet$7.classes.Ended },
2434
+ !states.loading && taskEnded && (index.h("div", { class: sheet$8.classes.Ended },
2361
2435
  index.h("span", { class: "icon" },
2362
2436
  index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2363
2437
  global.intl.formatMessage({
@@ -2377,7 +2451,7 @@ function TaskCardView(props) {
2377
2451
  ? "main complete"
2378
2452
  : "main" },
2379
2453
  index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2380
- index.h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2454
+ index.h("div", { class: sheet$8.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2381
2455
  showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2382
2456
  index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2383
2457
  index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2393,7 +2467,7 @@ function TaskCardView(props) {
2393
2467
  } }, content.cardTitle)),
2394
2468
  states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2395
2469
  content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2396
- index.h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2470
+ index.h("div", { class: sheet$8.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2397
2471
  index.h("span", { class: "text" },
2398
2472
  content.repeatable && (index.h("div", null,
2399
2473
  index.h("span", { class: repetitions > 0
@@ -2464,7 +2538,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2464
2538
  index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
2465
2539
  }
2466
2540
 
2467
- const vanillaStyle$3 = `
2541
+ const vanillaStyle$4 = `
2468
2542
  :host{
2469
2543
  margin: 0 auto;
2470
2544
  width: 100%;
@@ -2520,7 +2594,7 @@ function PortalFooterView(props) {
2520
2594
  const styleString = sheet.toString();
2521
2595
  return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
2522
2596
  index.h("style", { type: "text/css" },
2523
- vanillaStyle$3,
2597
+ vanillaStyle$4,
2524
2598
  styleString),
2525
2599
  index.h("div", { class: sheet.classes.RowContainer },
2526
2600
  props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2692,7 +2766,7 @@ function ReferralIframeView(props) {
2692
2766
  index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2693
2767
  }
2694
2768
 
2695
- const style$8 = {
2769
+ const style$9 = {
2696
2770
  ErrorStyle: mixins.ErrorStyles,
2697
2771
  FieldsContainer: {
2698
2772
  "& sl-input": {
@@ -2700,7 +2774,7 @@ const style$8 = {
2700
2774
  },
2701
2775
  },
2702
2776
  };
2703
- const vanillaStyle$4 = `
2777
+ const vanillaStyle$5 = `
2704
2778
  :host {
2705
2779
  margin: 0 auto;
2706
2780
  width: 100%;
@@ -2712,21 +2786,21 @@ sl-input::part(label){
2712
2786
  font-weight: var(--sl-font-weight-semibold);
2713
2787
  }
2714
2788
  `;
2715
- const sheet$8 = JSS.createStyleSheet(style$8);
2716
- const styleString$8 = sheet$8.toString();
2789
+ const sheet$9 = JSS.createStyleSheet(style$9);
2790
+ const styleString$9 = sheet$9.toString();
2717
2791
  function NameFieldsView(props) {
2718
2792
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2719
2793
  const { states } = props;
2720
2794
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2721
- return (index.h("div", { class: sheet$8.classes.FieldsContainer },
2795
+ return (index.h("div", { class: sheet$9.classes.FieldsContainer },
2722
2796
  index.h("style", { type: "text/css" },
2723
- vanillaStyle$4,
2724
- styleString$8),
2797
+ vanillaStyle$5,
2798
+ styleString$9),
2725
2799
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2726
2800
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2727
2801
  }
2728
2802
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2729
- class: sheet$8.classes.ErrorStyle,
2803
+ class: sheet$9.classes.ErrorStyle,
2730
2804
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2731
2805
  }
2732
2806
  : []))),
@@ -2734,13 +2808,13 @@ function NameFieldsView(props) {
2734
2808
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2735
2809
  }
2736
2810
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2737
- class: sheet$8.classes.ErrorStyle,
2811
+ class: sheet$9.classes.ErrorStyle,
2738
2812
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2739
2813
  }
2740
2814
  : [])))));
2741
2815
  }
2742
2816
 
2743
- const style$9 = {
2817
+ const style$a = {
2744
2818
  ErrorStyle: {
2745
2819
  "&::part(control)": {
2746
2820
  background: "var(--sl-color-danger-10)",
@@ -2763,7 +2837,7 @@ const style$9 = {
2763
2837
  "margin-bottom": "var(--sl-spacing-large)",
2764
2838
  },
2765
2839
  };
2766
- const vanillaStyle$5 = `
2840
+ const vanillaStyle$6 = `
2767
2841
  :host {
2768
2842
  margin: 0 auto;
2769
2843
  width: 100%;
@@ -2779,22 +2853,22 @@ sl-checkbox::part(base){
2779
2853
  }
2780
2854
  `;
2781
2855
  JSS.jss.setup(JSS.create());
2782
- const sheet$9 = JSS.jss.createStyleSheet(style$9);
2783
- const styleString$9 = sheet$9.toString();
2856
+ const sheet$a = JSS.jss.createStyleSheet(style$a);
2857
+ const styleString$a = sheet$a.toString();
2784
2858
  function CheckboxFieldView(props) {
2785
2859
  var _a, _b, _c;
2786
2860
  const { states, content, callbacks } = props;
2787
2861
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2788
- return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2862
+ return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2789
2863
  index.h("style", { type: "text/css" },
2790
- vanillaStyle$5,
2791
- styleString$9),
2864
+ vanillaStyle$6,
2865
+ styleString$a),
2792
2866
  index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
2793
2867
  e.target.value = e.target.checked;
2794
2868
  callbacks.setChecked(e.target.value);
2795
2869
  } }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
2796
2870
  ? {
2797
- class: sheet$9.classes.ErrorStyle,
2871
+ class: sheet$a.classes.ErrorStyle,
2798
2872
  }
2799
2873
  : [])),
2800
2874
  global.intl.formatMessage({
@@ -2803,13 +2877,13 @@ function CheckboxFieldView(props) {
2803
2877
  }, {
2804
2878
  labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
2805
2879
  }),
2806
- !states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
2880
+ !states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
2807
2881
  id: `errorMessage-${content.checkboxName}`,
2808
2882
  defaultMessage: content.errorMessage,
2809
2883
  }))))));
2810
2884
  }
2811
2885
 
2812
- const style$a = {
2886
+ const style$b = {
2813
2887
  ErrorStyle: {
2814
2888
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2815
2889
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2825,7 +2899,7 @@ const style$a = {
2825
2899
  "margin-bottom": "var(--sl-spacing-large)",
2826
2900
  },
2827
2901
  };
2828
- const vanillaStyle$6 = `
2902
+ const vanillaStyle$7 = `
2829
2903
  :host {
2830
2904
  margin: 0 auto;
2831
2905
  width: 100%;
@@ -2837,36 +2911,36 @@ sl-select::part(label){
2837
2911
  }
2838
2912
  `;
2839
2913
  JSS.jss.setup(JSS.create());
2840
- const sheet$a = JSS.jss.createStyleSheet(style$a);
2841
- const styleString$a = sheet$a.toString();
2914
+ const sheet$b = JSS.jss.createStyleSheet(style$b);
2915
+ const styleString$b = sheet$b.toString();
2842
2916
  function DropdownFieldView(props) {
2843
2917
  var _a, _b, _c, _d, _e, _f, _g;
2844
2918
  const { states, content } = props;
2845
2919
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2846
- return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2920
+ return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
2847
2921
  index.h("style", { type: "text/css" },
2848
- vanillaStyle$6,
2849
- styleString$a),
2922
+ vanillaStyle$7,
2923
+ styleString$b),
2850
2924
  index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2851
2925
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2852
2926
  }
2853
2927
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2854
- class: sheet$a.classes.ErrorStyle,
2928
+ class: sheet$b.classes.ErrorStyle,
2855
2929
  }
2856
2930
  : [])), content.selectOptions),
2857
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
2931
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$b.classes.ErrorMessageStyle }, global.intl.formatMessage({
2858
2932
  id: `errorMessage-${content.dropdownName}`,
2859
2933
  defaultMessage: content.errorMessage,
2860
2934
  })))));
2861
2935
  }
2862
2936
 
2863
- const style$b = {
2937
+ const style$c = {
2864
2938
  ErrorStyle: mixins.ErrorStyles,
2865
2939
  FieldContainer: {
2866
2940
  "margin-bottom": "var(--sl-spacing-large)",
2867
2941
  },
2868
2942
  };
2869
- const vanillaStyle$7 = `
2943
+ const vanillaStyle$8 = `
2870
2944
  :host {
2871
2945
  margin: 0 auto;
2872
2946
  width: 100%;
@@ -2874,21 +2948,21 @@ const vanillaStyle$7 = `
2874
2948
  }
2875
2949
  `;
2876
2950
  JSS.jss.setup(JSS.create());
2877
- const sheet$b = JSS.jss.createStyleSheet(style$b);
2878
- const styleString$b = sheet$b.toString();
2951
+ const sheet$c = JSS.jss.createStyleSheet(style$c);
2952
+ const styleString$c = sheet$c.toString();
2879
2953
  function InputFieldView(props) {
2880
2954
  var _a, _b, _c, _d, _e, _f, _g;
2881
2955
  const { states, content } = props;
2882
2956
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2883
- return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
2957
+ return (index.h("div", { class: sheet$c.classes.FieldContainer, part: "sqm-base" },
2884
2958
  index.h("style", { type: "text/css" },
2885
- vanillaStyle$7,
2886
- styleString$b),
2959
+ vanillaStyle$8,
2960
+ styleString$c),
2887
2961
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2888
2962
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2889
2963
  }
2890
2964
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2891
- class: sheet$b.classes.ErrorStyle,
2965
+ class: sheet$c.classes.ErrorStyle,
2892
2966
  helpText: global.intl.formatMessage({
2893
2967
  id: `errorMessage-${content.fieldName}`,
2894
2968
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -2983,7 +3057,7 @@ function ProgressBar({ stageCount, currentStage, }) {
2983
3057
  return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
2984
3058
  }
2985
3059
 
2986
- const style$c = {
3060
+ const style$d = {
2987
3061
  HostBlock: mixins.HostBlock,
2988
3062
  Container: {
2989
3063
  minWidth: "300px",
@@ -3334,8 +3408,8 @@ const style$c = {
3334
3408
  },
3335
3409
  };
3336
3410
  // JSS config
3337
- const sheet$c = JSS.createStyleSheet(style$c);
3338
- const styleString$c = sheet$c.toString();
3411
+ const sheet$d = JSS.createStyleSheet(style$d);
3412
+ const styleString$d = sheet$d.toString();
3339
3413
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3340
3414
  function RewardExchangeView(props) {
3341
3415
  const { states, data, callbacks, refs } = props;
@@ -3358,7 +3432,7 @@ function RewardExchangeView(props) {
3358
3432
  sourceUnit: item.sourceUnit,
3359
3433
  })));
3360
3434
  }
3361
- return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$c.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3435
+ return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$d.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3362
3436
  var _a, _b, _c, _d, _e;
3363
3437
  return callbacks.setExchangeState({
3364
3438
  amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
@@ -3366,7 +3440,7 @@ function RewardExchangeView(props) {
3366
3440
  });
3367
3441
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3368
3442
  var _a, _b;
3369
- return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
3443
+ return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$d.classes.SelectItem },
3370
3444
  step.prettyDestinationValue,
3371
3445
  index.h("br", null),
3372
3446
  index.h("div", { class: "step-cost", slot: "suffix" },
@@ -3385,8 +3459,8 @@ function RewardExchangeView(props) {
3385
3459
  var _a;
3386
3460
  return [
3387
3461
  index.h("div", { part: "choose-reward-container" },
3388
- index.h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
3389
- states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3462
+ index.h("div", { class: sheet$d.classes.Title }, states.content.text.rewardTitle),
3463
+ states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$d.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3390
3464
  var _a, _b, _c, _d, _e;
3391
3465
  const style = {
3392
3466
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3395,7 +3469,7 @@ function RewardExchangeView(props) {
3395
3469
  borderRadius: "4px",
3396
3470
  };
3397
3471
  return (index.h("div", { key: item.key, style: style },
3398
- index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
3472
+ index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$d.classes.Card, style: {
3399
3473
  cursor: item.unavailableReasonCode
3400
3474
  ? "not-allowed"
3401
3475
  : "pointer",
@@ -3412,14 +3486,14 @@ function RewardExchangeView(props) {
3412
3486
  ? "rgba(0, 0, 0, 0.05)"
3413
3487
  : "rgba(0, 0, 0, 0)",
3414
3488
  } },
3415
- index.h("div", { class: sheet$c.classes.Image, style: {
3489
+ index.h("div", { class: sheet$d.classes.Image, style: {
3416
3490
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3417
3491
  } },
3418
3492
  index.h("img", { class: item.unavailableReasonCode
3419
3493
  ? "image subdued"
3420
3494
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3421
3495
  index.getAssetPath("./assets/Reward-image.png") })),
3422
- index.h("div", { class: sheet$c.classes.TextArea, style: {
3496
+ index.h("div", { class: sheet$d.classes.TextArea, style: {
3423
3497
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3424
3498
  } },
3425
3499
  index.h("div", { class: "title", style: {
@@ -3452,7 +3526,7 @@ function RewardExchangeView(props) {
3452
3526
  item.prettySourceMinValue,
3453
3527
  }))))))));
3454
3528
  }))),
3455
- index.h("div", { class: sheet$c.classes.Button },
3529
+ index.h("div", { class: sheet$d.classes.Button },
3456
3530
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3457
3531
  ];
3458
3532
  }
@@ -3463,7 +3537,7 @@ function RewardExchangeView(props) {
3463
3537
  ? false
3464
3538
  : input && !states.amount;
3465
3539
  return (index.h("div", null,
3466
- index.h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
3540
+ index.h("div", { class: sheet$d.classes.ChooseAmount, part: "choose-amount-container" },
3467
3541
  index.h("div", { class: "wrapper" },
3468
3542
  index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3469
3543
  index.getAssetPath("./assets/Reward-image.png") }),
@@ -3472,7 +3546,7 @@ function RewardExchangeView(props) {
3472
3546
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3473
3547
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
3474
3548
  index.h("div", { class: "space" }))),
3475
- index.h("div", { class: sheet$c.classes.Button },
3549
+ index.h("div", { class: sheet$d.classes.Button },
3476
3550
  index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3477
3551
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3478
3552
  }
@@ -3480,8 +3554,8 @@ function RewardExchangeView(props) {
3480
3554
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
3481
3555
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3482
3556
  return (index.h("div", null,
3483
- index.h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
3484
- index.h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
3557
+ index.h("div", { class: sheet$d.classes.Confirmation, part: "confirmation-container" },
3558
+ index.h("div", { class: sheet$d.classes.Title }, states.content.text.redeemTitle),
3485
3559
  index.h("div", { class: "wrapper" },
3486
3560
  index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
3487
3561
  index.h("div", { class: "reward-item-container" },
@@ -3496,13 +3570,13 @@ function RewardExchangeView(props) {
3496
3570
  index.h("div", { class: "wrapper top-border padding" },
3497
3571
  index.h("div", { class: "field" }, states.content.text.costTitle),
3498
3572
  index.h("div", { class: "value" }, cost)),
3499
- index.h("div", { class: sheet$c.classes.Button },
3573
+ index.h("div", { class: sheet$d.classes.Button },
3500
3574
  index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3501
3575
  index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3502
3576
  }
3503
3577
  function success() {
3504
3578
  var _a, _b, _c, _d, _e, _f;
3505
- return (index.h("div", { class: sheet$c.classes.Success, part: "success-container" },
3579
+ return (index.h("div", { class: sheet$d.classes.Success, part: "success-container" },
3506
3580
  index.h(Gift$1, null),
3507
3581
  index.h(Confetti, null),
3508
3582
  index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3516,8 +3590,8 @@ function RewardExchangeView(props) {
3516
3590
  })),
3517
3591
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
3518
3592
  states.content.text.promoCode,
3519
- index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3520
- index.h("div", { class: sheet$c.classes.Button },
3593
+ index.h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3594
+ index.h("div", { class: sheet$d.classes.Button },
3521
3595
  index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3522
3596
  }
3523
3597
  const stages = {
@@ -3529,7 +3603,7 @@ function RewardExchangeView(props) {
3529
3603
  const currentStage = stages[states.redeemStage];
3530
3604
  function stageMap() {
3531
3605
  const stageNumber = stageList.indexOf(states.redeemStage);
3532
- return (index.h("div", { class: sheet$c.classes.ProgressBar },
3606
+ return (index.h("div", { class: sheet$d.classes.ProgressBar },
3533
3607
  index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3534
3608
  if (stageList.indexOf(stage) <= stageNumber) {
3535
3609
  return index.h("span", { class: "text" }, stageProgressList[stage]);
@@ -3541,10 +3615,10 @@ function RewardExchangeView(props) {
3541
3615
  index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3542
3616
  }
3543
3617
  function loading() {
3544
- return (index.h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3618
+ return (index.h("div", { class: sheet$d.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3545
3619
  return (index.h("div", null,
3546
- index.h("sl-card", { class: sheet$c.classes.Card },
3547
- index.h("div", { class: sheet$c.classes.CardLayout },
3620
+ index.h("sl-card", { class: sheet$d.classes.Card },
3621
+ index.h("div", { class: sheet$d.classes.CardLayout },
3548
3622
  index.h("div", null,
3549
3623
  index.h("sl-skeleton", { style: {
3550
3624
  width: "100px",
@@ -3576,12 +3650,12 @@ function RewardExchangeView(props) {
3576
3650
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3577
3651
  return;
3578
3652
  refs.canvasRef.current = canvas;
3579
- }, id: "my-canvas", class: sheet$c.classes.Confetti }));
3653
+ }, id: "my-canvas", class: sheet$d.classes.Confetti }));
3580
3654
  }
3581
3655
  if (states.noExchangeOptions)
3582
3656
  return states.content.text.empty;
3583
- return (index.h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
3584
- index.h("style", { type: "text/css" }, styleString$c),
3657
+ return (index.h("div", { class: sheet$d.classes.Container, part: "sqm-base" },
3658
+ index.h("style", { type: "text/css" }, styleString$d),
3585
3659
  index.h("div", null,
3586
3660
  stageMap(),
3587
3661
  states.exchangeError && errorMessage(),
@@ -3997,7 +4071,7 @@ function CardFeedView(props, children) {
3997
4071
  index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
3998
4072
  }
3999
4073
 
4000
- const style$d = {
4074
+ const style$e = {
4001
4075
  HostBlock: mixins.HostBlock,
4002
4076
  couponCodeLabel: {
4003
4077
  margin: "var(--sl-spacing-x-small) 0",
@@ -4005,23 +4079,23 @@ const style$d = {
4005
4079
  fontSize: "var(--sl-font-size-small)",
4006
4080
  },
4007
4081
  };
4008
- const vanillaStyle$8 = `
4082
+ const vanillaStyle$9 = `
4009
4083
  :host{
4010
4084
  display: block;
4011
4085
  width: 100%;
4012
4086
  }
4013
4087
  `;
4014
- const sheet$d = JSS.createStyleSheet(style$d);
4015
- const styleString$d = sheet$d.toString();
4088
+ const sheet$e = JSS.createStyleSheet(style$e);
4089
+ const styleString$e = sheet$e.toString();
4016
4090
  function CouponCodeView(props) {
4017
4091
  const error = !props.loading && props.error;
4018
4092
  return (index.h("div", null,
4019
4093
  index.h("style", { type: "text/css" },
4020
- styleString$d,
4021
- vanillaStyle$8),
4022
- index.h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4094
+ styleString$e,
4095
+ vanillaStyle$9),
4096
+ index.h("p", { class: sheet$e.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4023
4097
  error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
4024
- index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
4098
+ index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(CopyTextView, Object.assign({}, props)))));
4025
4099
  }
4026
4100
 
4027
4101
  function t(t,n,r){return Math.min(Math.max(t,r),n)}class n extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}}function r(r){if("string"!=typeof r)throw new n(r);if("transparent"===r.trim().toLowerCase())return [0,0,0,0];let e=r.trim();e=u.test(r)?function(t){const r=t.toLowerCase().trim(),e=o[function(t){let n=5381,r=t.length;for(;r;)n=33*n^t.charCodeAt(--r);return (n>>>0)%2341}(r)];if(!e)throw new n(t);return `#${e}`}(r):r;const f=s.exec(e);if(f){const t=Array.from(f).slice(1);return [...t.slice(0,3).map(t=>parseInt(_(t,2),16)),parseInt(_(t[3]||"f",2),16)/255]}const p=i.exec(e);if(p){const t=Array.from(p).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const z=a.exec(e);if(z){const t=Array.from(z).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const h=c.exec(e);if(h){const[e,o,_,s]=Array.from(h).slice(1).map(parseFloat);if(t(0,100,o)!==o)throw new n(r);if(t(0,100,_)!==_)throw new n(r);return [...l(e,o,_),s||1]}throw new n(r)}const e=t=>parseInt(t.replace(/_/g,""),36),o="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,n)=>{const r=e(n.substring(0,3)),o=e(n.substring(3)).toString(16);let _="";for(let t=0;t<6-o.length;t++)_+="0";return t[r]=`${_}${o}`,t},{}),_=(t,n)=>Array.from(Array(n)).map(()=>t).join(""),s=new RegExp(`^#${_("([a-f0-9])",3)}([a-f0-9])?$`,"i"),i=new RegExp(`^#${_("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),a=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${_(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),c=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,u=/^[a-z]+$/i,f=t=>Math.round(255*t),l=(t,n,r)=>{let e=r/100;if(0===n)return [e,e,e].map(f);const o=(t%360+360)%360/60,_=(1-Math.abs(2*e-1))*(n/100),s=_*(1-Math.abs(o%2-1));let i=0,a=0,c=0;o>=0&&o<1?(i=_,a=s):o>=1&&o<2?(i=s,a=_):o>=2&&o<3?(a=_,c=s):o>=3&&o<4?(a=s,c=_):o>=4&&o<5?(i=s,c=_):o>=5&&o<6&&(i=_,c=s);const u=e-_/2;return [i+u,a+u,c+u].map(f)};function p(t){const[n,e,o,_]=r(t).map((t,n)=>3===n?t:t/255),s=Math.max(n,e,o),i=Math.min(n,e,o),a=(s+i)/2;if(s===i)return [0,0,a,_];const c=s-i;return [60*(n===s?(e-o)/c+(e<o?6:0):e===s?(o-n)/c+2:(n-e)/c+4),a>.5?c/(2-s-i):c/(s+i),a,_]}function z(n,r,e,o){return `hsla(${(n%360).toFixed()}, ${t(0,100,100*r).toFixed()}%, ${t(0,100,100*e).toFixed()}%, ${parseFloat(t(0,1,o).toFixed(3))})`}
@@ -4112,6 +4186,7 @@ const ShadowViewAddon = ({ story }, children) => {
4112
4186
  exports.BigStatView = BigStatView;
4113
4187
  exports.CardFeedView = CardFeedView;
4114
4188
  exports.CheckboxFieldView = CheckboxFieldView;
4189
+ exports.CopyTextView = CopyTextView;
4115
4190
  exports.CouponCodeView = CouponCodeView;
4116
4191
  exports.DropdownFieldView = DropdownFieldView;
4117
4192
  exports.EditProfileView = EditProfileView;