@saasquatch/mint-components 2.1.9-1 → 2.1.9-11

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 (298) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/parseStates-d1effc19.js +16 -0
  4. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +1 -1
  5. package/dist/cjs/{sqm-big-stat_45.cjs.entry.js → sqm-big-stat_46.cjs.entry.js} +369 -5
  6. package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -4
  7. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +25 -5
  8. package/dist/cjs/{sqm-partner-info-modal-view-e3faede9.js → sqm-partner-info-modal-view-98e2975d.js} +24 -18
  9. package/dist/cjs/sqm-stencilbook.cjs.entry.js +28 -2
  10. package/dist/cjs/{sqm-user-info-form-view-efa08934.js → sqm-user-info-form-view-923ff8d9.js} +3 -11
  11. package/dist/cjs/sqm-widget-verification.cjs.entry.js +160 -22
  12. package/dist/collection/collection-manifest.json +1 -1
  13. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +23 -18
  14. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +77 -6
  15. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +5 -2
  16. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  17. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
  18. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
  19. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
  20. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +474 -13
  21. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +14 -4
  22. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +3 -11
  23. package/dist/esm/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +5 -5
  24. package/dist/esm/{data-a6752028.js → data-2b0feb3f.js} +2 -2
  25. package/dist/esm/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
  26. package/dist/esm/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
  27. package/dist/esm/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  28. package/dist/esm/loader.js +3 -3
  29. package/dist/esm/mint-components.js +3 -3
  30. package/dist/esm/parseStates-ed75e224.js +14 -0
  31. package/dist/esm/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
  32. package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
  33. package/dist/esm/{sqm-big-stat_45.entry.js → sqm-big-stat_46.entry.js} +378 -15
  34. package/dist/esm/sqm-close-button.entry.js +1 -1
  35. package/dist/esm/sqm-code-verification.entry.js +7 -8
  36. package/dist/esm/sqm-context-router.entry.js +1 -1
  37. package/dist/esm/sqm-email-verification_2.entry.js +29 -9
  38. package/dist/esm/sqm-empty_4.entry.js +2 -2
  39. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  40. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  41. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  42. package/dist/esm/{sqm-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  43. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  44. package/dist/esm/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  45. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  46. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  47. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  48. package/dist/esm/{sqm-navigation-sidebar-item-view-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  49. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  50. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  51. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  52. package/dist/esm/{sqm-partner-info-modal-view-77c231af.js → sqm-partner-info-modal-view-74328f70.js} +24 -19
  53. package/dist/esm/sqm-password-field.entry.js +2 -2
  54. package/dist/esm/sqm-popup-container.entry.js +1 -1
  55. package/dist/esm/{sqm-portal-email-verification-view-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
  56. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  57. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  58. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  59. package/dist/esm/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.js} +1 -1
  60. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  61. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  62. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  63. package/dist/esm/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
  64. package/dist/esm/sqm-qr-code.entry.js +2 -2
  65. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  66. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  67. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  68. package/dist/esm/sqm-stencilbook.entry.js +41 -15
  69. package/dist/esm/sqm-tab.entry.js +2 -2
  70. package/dist/esm/sqm-tabs.entry.js +3 -3
  71. package/dist/esm/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-f9026468.js} +5 -13
  72. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  73. package/dist/esm/sqm-widget-verification.entry.js +160 -22
  74. package/dist/esm/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
  75. package/dist/esm/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +2 -2
  76. package/dist/esm/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +2 -2
  77. package/dist/esm/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
  78. package/dist/esm/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +2 -2
  79. package/dist/esm/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
  80. package/dist/esm/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +3 -3
  81. package/dist/esm/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
  82. package/dist/esm/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
  83. package/dist/esm/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
  84. package/dist/esm-es5/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +1 -1
  85. package/dist/esm-es5/{data-a6752028.js → data-2b0feb3f.js} +1 -1
  86. package/dist/esm-es5/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
  87. package/dist/esm-es5/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
  88. package/dist/esm-es5/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  89. package/dist/esm-es5/loader.js +1 -1
  90. package/dist/esm-es5/mint-components.js +1 -1
  91. package/dist/esm-es5/parseStates-ed75e224.js +1 -0
  92. package/dist/esm-es5/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
  93. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  94. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -0
  95. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  96. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  97. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  98. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
  99. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  100. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  101. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  102. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  103. package/dist/esm-es5/{sqm-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  104. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  105. package/dist/esm-es5/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  106. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  107. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  108. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  109. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  110. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  111. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  112. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  113. package/dist/esm-es5/sqm-partner-info-modal-view-74328f70.js +1 -0
  114. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  115. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-portal-email-verification-view-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
  117. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  120. package/dist/esm-es5/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.js} +1 -1
  121. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  122. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  123. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  124. package/dist/esm-es5/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
  125. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  126. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  127. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  128. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  129. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  130. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  131. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  132. package/dist/esm-es5/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-f9026468.js} +1 -1
  133. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  134. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  135. package/dist/esm-es5/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
  136. package/dist/esm-es5/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +1 -1
  137. package/dist/esm-es5/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +1 -1
  138. package/dist/esm-es5/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
  139. package/dist/esm-es5/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +1 -1
  140. package/dist/esm-es5/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
  141. package/dist/esm-es5/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +1 -1
  142. package/dist/esm-es5/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
  143. package/dist/esm-es5/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
  144. package/dist/esm-es5/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
  145. package/dist/mint-components/mint-components.esm.js +1 -1
  146. package/dist/mint-components/mint-components.js +1 -1
  147. package/dist/mint-components/{p-9f21ea69.js → p-014977d7.js} +1 -1
  148. package/dist/mint-components/{p-30967f75.js → p-092db51a.js} +1 -1
  149. package/dist/mint-components/{p-bd804f4c.js → p-095b7128.js} +1 -1
  150. package/dist/mint-components/{p-bae7d6b5.system.entry.js → p-098d134a.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-6596f0de.entry.js → p-0a1669f8.entry.js} +2 -2
  152. package/dist/mint-components/{p-2085bb01.system.entry.js → p-0a60980a.system.entry.js} +1 -1
  153. package/dist/mint-components/{p-504ed1f2.entry.js → p-0c43b6ff.entry.js} +1 -1
  154. package/dist/mint-components/{p-ab678644.js → p-0d75a207.js} +1 -1
  155. package/dist/mint-components/p-115dfc03.system.js +1 -0
  156. package/dist/mint-components/p-13f3a647.js +1 -0
  157. package/dist/mint-components/{p-473562fc.system.js → p-140e6a15.system.js} +1 -1
  158. package/dist/mint-components/{p-fa32d8eb.system.entry.js → p-15a703c7.system.entry.js} +1 -1
  159. package/dist/mint-components/{p-b9652150.entry.js → p-160828b4.entry.js} +1 -1
  160. package/dist/mint-components/{p-878bb2cf.system.entry.js → p-16deb1a9.system.entry.js} +1 -1
  161. package/dist/mint-components/{p-1435edd4.entry.js → p-1b0cbbae.entry.js} +1 -1
  162. package/dist/mint-components/{p-aa0b0cd6.entry.js → p-1b2fcd7f.entry.js} +1 -1
  163. package/dist/mint-components/p-1c413a06.system.js +1 -0
  164. package/dist/mint-components/{p-2774c704.system.entry.js → p-21e7079a.system.entry.js} +1 -1
  165. package/dist/mint-components/p-278897bd.system.entry.js +1 -0
  166. package/dist/mint-components/{p-695ec086.system.js → p-28e0062c.system.js} +1 -1
  167. package/dist/mint-components/{p-c8060ef5.system.entry.js → p-2f4d8ab8.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-dfb50245.entry.js → p-3181e54a.entry.js} +1 -1
  169. package/dist/mint-components/{p-5d79c8a0.system.js → p-31dde9fc.system.js} +1 -1
  170. package/dist/mint-components/{p-d863acaa.js → p-32d078a3.js} +1 -1
  171. package/dist/mint-components/{p-7528770e.entry.js → p-3461a8cb.entry.js} +1 -1
  172. package/dist/mint-components/{p-6e816a17.system.entry.js → p-357040e6.system.entry.js} +1 -1
  173. package/dist/mint-components/{p-452f644f.system.js → p-36395228.system.js} +1 -1
  174. package/dist/mint-components/{p-5245e4ce.system.entry.js → p-3756d0d1.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-5f6d617a.entry.js → p-37658fec.entry.js} +1 -1
  176. package/dist/mint-components/p-39840341.js +1 -0
  177. package/dist/mint-components/{p-5126508b.js → p-3c333076.js} +1 -1
  178. package/dist/mint-components/{p-6684e9ad.js → p-3c555674.js} +1 -1
  179. package/dist/mint-components/{p-21851092.js → p-3c88d2ed.js} +2 -2
  180. package/dist/mint-components/{p-e7a9ce16.js → p-438f6702.js} +1 -1
  181. package/dist/mint-components/{p-fe0eceba.system.entry.js → p-45475cf9.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-f7948b16.system.entry.js → p-52748a87.system.entry.js} +1 -1
  183. package/dist/mint-components/p-53f22cc0.system.entry.js +1 -0
  184. package/dist/mint-components/{p-614630a8.system.js → p-54bf015a.system.js} +1 -1
  185. package/dist/mint-components/{p-96cbca52.system.entry.js → p-5c9d030a.system.entry.js} +1 -1
  186. package/dist/mint-components/{p-1b7b65ef.entry.js → p-5dc9e95b.entry.js} +2 -2
  187. package/dist/mint-components/{p-82be3d10.system.entry.js → p-60085f20.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-cc0fe4a3.entry.js → p-608da224.entry.js} +1 -1
  189. package/dist/mint-components/{p-5825aee6.system.entry.js → p-6194855b.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-b8766db9.entry.js → p-62212b9a.entry.js} +1 -1
  191. package/dist/mint-components/{p-f3ddbe2f.system.entry.js → p-62e1c8b2.system.entry.js} +1 -1
  192. package/dist/mint-components/p-63c299f1.system.js +1 -0
  193. package/dist/mint-components/{p-9be145c6.system.entry.js → p-64b56141.system.entry.js} +1 -1
  194. package/dist/mint-components/{p-1b9705fd.system.js → p-64f56cc9.system.js} +1 -1
  195. package/dist/mint-components/{p-f95952a0.system.entry.js → p-66c0100c.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-2ad9470d.system.entry.js → p-6a4496b3.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-1775cb0c.system.js → p-70e34ae1.system.js} +2 -2
  198. package/dist/mint-components/{p-20280398.system.entry.js → p-71545bfd.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-6d444f3f.system.js → p-74aac245.system.js} +1 -1
  200. package/dist/mint-components/{p-59644ef8.system.js → p-7547180f.system.js} +1 -1
  201. package/dist/mint-components/{p-f84605ec.system.js → p-77117f6c.system.js} +1 -1
  202. package/dist/mint-components/{p-a03189bd.js → p-7e36a1ff.js} +1 -1
  203. package/dist/mint-components/{p-5450693e.entry.js → p-8139fdec.entry.js} +1 -1
  204. package/dist/mint-components/{p-320b306b.js → p-8474aa63.js} +1 -1
  205. package/dist/mint-components/{p-33a6ab09.js → p-857a2d77.js} +1 -1
  206. package/dist/mint-components/{p-b179621d.system.js → p-86381dc7.system.js} +1 -1
  207. package/dist/mint-components/{p-e502fd80.entry.js → p-86a70151.entry.js} +1 -1
  208. package/dist/mint-components/{p-a30f0ffd.entry.js → p-886fb141.entry.js} +1 -1
  209. package/dist/mint-components/{p-b6fc53c9.entry.js → p-88c9cc1b.entry.js} +1 -1
  210. package/dist/mint-components/{p-97b8c481.js → p-896390f9.js} +1 -1
  211. package/dist/mint-components/p-8d5db0d5.entry.js +105 -0
  212. package/dist/mint-components/{p-fca34d77.js → p-8f9c1387.js} +1 -1
  213. package/dist/mint-components/{p-44afc747.entry.js → p-93c5c8ec.entry.js} +1 -1
  214. package/dist/mint-components/{p-9c381424.system.entry.js → p-95aaf35a.system.entry.js} +1 -1
  215. package/dist/mint-components/{p-f6fc7569.entry.js → p-96e4e6a4.entry.js} +1 -1
  216. package/dist/mint-components/{p-ed17e1b8.entry.js → p-991f60fc.entry.js} +1 -1
  217. package/dist/mint-components/{p-353ab6db.entry.js → p-996eb820.entry.js} +1 -1
  218. package/dist/mint-components/{p-b8288385.system.entry.js → p-998c989a.system.entry.js} +1 -1
  219. package/dist/mint-components/p-99b17bca.system.js +1 -0
  220. package/dist/mint-components/{p-82905fda.system.js → p-9b33e2a7.system.js} +1 -1
  221. package/dist/mint-components/{p-7767314d.system.entry.js → p-9bd53e4d.system.entry.js} +1 -1
  222. package/dist/mint-components/{p-89f8ab67.entry.js → p-9c1b0c8b.entry.js} +1 -1
  223. package/dist/mint-components/{p-07f3b868.entry.js → p-9e43f1eb.entry.js} +1 -1
  224. package/dist/mint-components/{p-9fa6606e.js → p-a5912b2f.js} +1 -1
  225. package/dist/mint-components/{p-7a7ebf08.js → p-a7ee6531.js} +1 -1
  226. package/dist/mint-components/{p-83277c69.system.js → p-a86ce218.system.js} +1 -1
  227. package/dist/mint-components/{p-d6c1e876.system.js → p-a8ecdc44.system.js} +1 -1
  228. package/dist/mint-components/{p-f3b21df2.system.js → p-b1b8e629.system.js} +1 -1
  229. package/dist/mint-components/{p-93cb9438.system.entry.js → p-b297016f.system.entry.js} +1 -1
  230. package/dist/mint-components/p-b2a99637.system.js +1 -0
  231. package/dist/mint-components/p-b2bde2f5.entry.js +1 -0
  232. package/dist/mint-components/{p-d2448c85.system.entry.js → p-b451970a.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-4da8028d.system.entry.js → p-b5c0bad5.system.entry.js} +1 -1
  234. package/dist/mint-components/{p-ad017a39.js → p-b5f57914.js} +1 -1
  235. package/dist/mint-components/{p-80174c14.entry.js → p-b5fed7c6.entry.js} +1 -1
  236. package/dist/mint-components/{p-c2c01ab5.entry.js → p-ba953c21.entry.js} +1 -1
  237. package/dist/mint-components/{p-47f594c3.entry.js → p-bba694e4.entry.js} +1 -1
  238. package/dist/mint-components/{p-d5375baf.js → p-bcadd021.js} +1 -1
  239. package/dist/mint-components/{p-79854479.system.js → p-be63f29b.system.js} +1 -1
  240. package/dist/mint-components/p-bfbfde38.entry.js +33 -0
  241. package/dist/mint-components/p-c68c2331.js +1 -0
  242. package/dist/mint-components/{p-07da0ddd.system.entry.js → p-c7535e70.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-d42aba0e.system.js → p-c84a2512.system.js} +1 -1
  244. package/dist/mint-components/{p-55b1be64.system.entry.js → p-c8e45671.system.entry.js} +1 -1
  245. package/dist/mint-components/{p-e5e8e13e.js → p-ce11858c.js} +1 -1
  246. package/dist/mint-components/{p-1d450b85.js → p-d20188db.js} +1 -1
  247. package/dist/mint-components/{p-e4d3b7a9.system.js → p-d355336b.system.js} +1 -1
  248. package/dist/mint-components/{p-5822a43f.system.entry.js → p-d5a1c979.system.entry.js} +1 -1
  249. package/dist/mint-components/p-d6714617.entry.js +1 -0
  250. package/dist/mint-components/{p-5e106c95.system.js → p-d798004f.system.js} +1 -1
  251. package/dist/mint-components/p-dac1f2cb.system.entry.js +1 -0
  252. package/dist/mint-components/{p-7333d103.system.entry.js → p-dbdb2a46.system.entry.js} +1 -1
  253. package/dist/mint-components/{p-c756bc32.system.js → p-e4dbca9a.system.js} +1 -1
  254. package/dist/mint-components/{p-7c0255ad.entry.js → p-e5ee6cf5.entry.js} +2 -2
  255. package/dist/mint-components/{p-8f5b316e.js → p-e95402dc.js} +1 -1
  256. package/dist/mint-components/{p-0a900fb1.system.entry.js → p-e9e05970.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-3dc1e209.system.js → p-eaf5d0af.system.js} +1 -1
  258. package/dist/mint-components/{p-84866680.entry.js → p-f11d29fd.entry.js} +1 -1
  259. package/dist/mint-components/{p-dece706f.js → p-f18a6658.js} +1 -1
  260. package/dist/mint-components/{p-06ca4346.entry.js → p-f4a57aed.entry.js} +1 -1
  261. package/dist/mint-components/{p-2e2c5ec4.entry.js → p-f972e5c9.entry.js} +1 -1
  262. package/dist/mint-components/p-fa3d7e53.entry.js +291 -0
  263. package/dist/mint-components/{p-91c4b8d5.system.entry.js → p-fb4ab5ba.system.entry.js} +1 -1
  264. package/dist/mint-components/sqm-widget-verification.entry.js +356 -0
  265. package/dist/mint-components/sqm-widget-verification.system.entry.js +1 -0
  266. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +1 -0
  267. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +15 -2
  268. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +1 -0
  269. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
  270. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +73 -0
  271. package/dist/types/components.d.ts +173 -3
  272. package/docs/docs.docx +0 -0
  273. package/docs/raisins.json +1 -1
  274. package/grapesjs/grapesjs.js +1 -1
  275. package/package.json +1 -1
  276. package/dist/cjs/extractProps-e9c55ba8.js +0 -35
  277. package/dist/esm/extractProps-54064fb0.js +0 -32
  278. package/dist/esm-es5/extractProps-54064fb0.js +0 -1
  279. package/dist/esm-es5/sqm-big-stat_45.entry.js +0 -1
  280. package/dist/esm-es5/sqm-partner-info-modal-view-77c231af.js +0 -1
  281. package/dist/mint-components/p-0797a946.js +0 -1
  282. package/dist/mint-components/p-1b0d7020.js +0 -1
  283. package/dist/mint-components/p-2c0bb139.entry.js +0 -33
  284. package/dist/mint-components/p-35724e1c.entry.js +0 -1
  285. package/dist/mint-components/p-38c7775a.js +0 -1
  286. package/dist/mint-components/p-470f7c0f.system.entry.js +0 -1
  287. package/dist/mint-components/p-4afbeea5.entry.js +0 -16
  288. package/dist/mint-components/p-4b365f1f.system.js +0 -1
  289. package/dist/mint-components/p-57dd28bd.system.js +0 -1
  290. package/dist/mint-components/p-66c070e2.entry.js +0 -105
  291. package/dist/mint-components/p-6e6f19ea.system.entry.js +0 -1
  292. package/dist/mint-components/p-71c585b7.entry.js +0 -1
  293. package/dist/mint-components/p-78909fc0.system.js +0 -1
  294. package/dist/mint-components/p-a9855b29.system.entry.js +0 -1
  295. package/dist/mint-components/p-e44c816e.system.js +0 -1
  296. package/dist/mint-components/p-e55aafe9.system.js +0 -1
  297. package/dist/mint-components/p-e6924adb.entry.js +0 -273
  298. package/dist/mint-components/p-e9a596d6.system.entry.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-641f968d.system.js","./p-1b9705fd.system.js","./p-1a673057.system.js","./p-7b909aa5.system.js"],(function(e){"use strict";var t,s,a,i;return{setters:[function(e){t=e.h},function(e){s=e.i},function(e){a=e.c},function(e){i=e.T}],execute:function(){e("P",l);function l(e){var l,r,n,o,d;var u=e.states,m=e.callbacks;var p=u.text,c=u.formState;var v=c.errors,b=c.error;var x={Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}};var f=a(x);var g=f.toString();var y=((l=u.user)===null||l===void 0?void 0:l.countryCode)?s.formatDisplayName((r=u.user)===null||r===void 0?void 0:r.countryCode,{type:"region"}):"";return t("div",{class:f.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},g),t(i,Object.assign({},{type:"h1"}),p.editProfileHeader),t(i,Object.assign({},{type:"h2"}),p.editProfileSubHeader),t("form",{class:f.classes.FormStyle,onSubmit:m.onSubmit},u.success&&t("sqm-form-message",{class:f.classes.Success,exportparts:"success-icon"},t("div",{part:"successalert-text"},p.submissionSuccessText)),b&&t("sqm-form-message",{class:f.classes.Error,type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},b)),t("div",{class:f.classes.NameInputContainer},t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(n=u.user)===null||n===void 0?void 0:n.firstName,onInput:m.onChange,label:p.firstnametext,disabled:u.loading},(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?v===null||v===void 0?void 0:v.firstName.message:undefined})),t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(o=u.user)===null||o===void 0?void 0:o.lastName,onInput:m.onChange,label:p.lastnametext,disabled:u.loading,id:"lastName",name:"lastName"},(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{error:(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?v===null||v===void 0?void 0:v.lastName.message:undefined}))),t("sl-input",{label:p.emailtext,value:(d=u.user)===null||d===void 0?void 0:d.email,exportparts:"label: input-label, base: input-base",disabled:true}),u.showCountry&&t("sl-input",{label:p.countrytext,value:y,exportparts:"label: input-label, base: input-base",disabled:true}),t("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:u.loading,disabled:u.submitDisabled,onClick:function(e){m.onSubmit(e)},submit:true},p.submitChangeButtonText)))}}}}));
1
+ System.register(["./p-641f968d.system.js","./p-64f56cc9.system.js","./p-1a673057.system.js","./p-7b909aa5.system.js"],(function(e){"use strict";var t,s,a,i;return{setters:[function(e){t=e.h},function(e){s=e.i},function(e){a=e.c},function(e){i=e.T}],execute:function(){e("P",l);function l(e){var l,r,n,o,d;var u=e.states,m=e.callbacks;var p=u.text,c=u.formState;var v=c.errors,b=c.error;var x={Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}};var f=a(x);var g=f.toString();var y=((l=u.user)===null||l===void 0?void 0:l.countryCode)?s.formatDisplayName((r=u.user)===null||r===void 0?void 0:r.countryCode,{type:"region"}):"";return t("div",{class:f.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},g),t(i,Object.assign({},{type:"h1"}),p.editProfileHeader),t(i,Object.assign({},{type:"h2"}),p.editProfileSubHeader),t("form",{class:f.classes.FormStyle,onSubmit:m.onSubmit},u.success&&t("sqm-form-message",{class:f.classes.Success,exportparts:"success-icon"},t("div",{part:"successalert-text"},p.submissionSuccessText)),b&&t("sqm-form-message",{class:f.classes.Error,type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},b)),t("div",{class:f.classes.NameInputContainer},t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(n=u.user)===null||n===void 0?void 0:n.firstName,onInput:m.onChange,label:p.firstnametext,disabled:u.loading},(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?v===null||v===void 0?void 0:v.firstName.message:undefined})),t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(o=u.user)===null||o===void 0?void 0:o.lastName,onInput:m.onChange,label:p.lastnametext,disabled:u.loading,id:"lastName",name:"lastName"},(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{error:(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?v===null||v===void 0?void 0:v.lastName.message:undefined}))),t("sl-input",{label:p.emailtext,value:(d=u.user)===null||d===void 0?void 0:d.email,exportparts:"label: input-label, base: input-base",disabled:true}),u.showCountry&&t("sl-input",{label:p.countrytext,value:y,exportparts:"label: input-label, base: input-base",disabled:true}),t("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:u.loading,disabled:u.submitDisabled,onClick:function(e){m.onSubmit(e)},submit:true},p.submitChangeButtonText)))}}}}));
@@ -1,4 +1,4 @@
1
- import{h as e}from"./p-083180bf.js";import{b as a,j as r,f as t}from"./p-a7fc1e02.js";import{d,J as l,H as o,L as n,w as s,R as i}from"./p-1d450b85.js";import{u}from"./p-30967f75.js";import{u as c}from"./p-a03189bd.js";const m=a("sq:useReferralTable"),f=d.gql`
1
+ import{h as e}from"./p-083180bf.js";import{b as a,j as r,f as t}from"./p-a7fc1e02.js";import{d,J as l,H as o,L as n,w as s,R as i}from"./p-d20188db.js";import{u}from"./p-092db51a.js";import{u as c}from"./p-7e36a1ff.js";const m=a("sq:useReferralTable"),f=d.gql`
2
2
  query getReferrals(
3
3
  $programId: ID
4
4
  $rewardFilter: RewardFilterInput
@@ -1,4 +1,4 @@
1
- import{r as i,h as t}from"./p-083180bf.js";import{n as r}from"./p-a7fc1e02.js";import{d as e,J as o,w as s,e as a,i as n}from"./p-1d450b85.js";import{c}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{L as m}from"./p-1a3a57c0.js";const d=e.gql`
1
+ import{r as i,h as t}from"./p-083180bf.js";import{n as r}from"./p-a7fc1e02.js";import{d as e,J as o,w as s,e as a,i as n}from"./p-d20188db.js";import{c}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{L as m}from"./p-1a3a57c0.js";const d=e.gql`
2
2
  query getUserDetails {
3
3
  viewer {
4
4
  ... on User {
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,s=arguments.length;e<s;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-d6c1e876.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-82905fda.system.js"],(function(t){"use strict";var i,e,s,r,n,a,o,l,u,c,d;return{setters:[function(t){i=t.h;e=t.r},function(t){s=t.i;r=t.k;n=t.n},function(t){a=t.i},function(t){o=t.c},function(t){l=t.g},function(t){u=t.c},function(t){c=t.E},function(t){d=t.R}],execute:function(){var p={error:{length:"Length should be a valid positive number",password:"Password should be a valid string"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}};var v=p.regex;function h(t,i){if(i&&i>1){var e=parseInt(i,10);return new RegExp(t+"{"+e+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function t(i){this.positive=false;if(i){return h.call(this,i)}return true},has:function t(i){this.positive=true;if(i){return h.call(this,i)}return true},is:function t(){this.positive=true;return true},min:function t(i){return this.password.length>=i},max:function t(i){return this.password.length<=i},digits:function t(i){return h.call(this,v.digits,i)},letters:function t(i){return h.call(this,v.letters,i)},uppercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toLowerCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toUpperCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function t(i){return h.call(this,v.symbols,i)},spaces:function t(i){return h.call(this,v.spaces,i)},oneOf:function t(i){return i.indexOf(this.password)>=0===this.positive}};var m=p.error;function g(t){var i=Number(t);if(isNaN(i)||!Number.isInteger(i)||i<1){throw new Error(m.length)}}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,i){this.properties.push({method:t,arguments:i});return this}var b=function(){function t(){this.properties=[]}t.prototype.validate=function(t,i){var e=this;this.list=Boolean(i&&i.list);this.password=String(t);this.positive=true;if(this.list){return this.properties.reduce((function(t,i){if(!w.call(e,i)){return t.concat(i.method)}return t}),[])}return this.properties.every(w.bind(this))};t.prototype.letters=function(t){t&&g(t);return y.call(this,"letters",arguments)};t.prototype.digits=function(t){t&&g(t);return y.call(this,"digits",arguments)};t.prototype.symbols=function(t){t&&g(t);return y.call(this,"symbols",arguments)};t.prototype.min=function(t){g(t);return y.call(this,"min",arguments)};t.prototype.max=function(t){g(t);return y.call(this,"max",arguments)};t.prototype.lowercase=function(t){t&&g(t);return y.call(this,"lowercase",arguments)};t.prototype.uppercase=function(t){t&&g(t);return y.call(this,"uppercase",arguments)};t.prototype.spaces=function(t){t&&g(t);return y.call(this,"spaces",arguments)};t.prototype.has=function(){return y.call(this,"has",arguments)};t.prototype.not=function(){return y.call(this,"not",arguments)};t.prototype.is=function(){return y.call(this,"is",arguments)};t.prototype.oneOf=function(){return y.call(this,"oneOf",arguments)};return t}();var x=b;var L=(new x).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/);var V=function(t,i){var e=L.validate(t,{list:true});var s=j(e,t,i);return s};var C=function(){return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},i("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"}))};var _=function(){return i("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"}))};var E={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}};var S={Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:__assign(__assign({},E),{color:"var(--sl-color-success-600)"}),ValidationItemInvalid:__assign({},E)};var I=u(S);var T=I.toString();var j=function(t,e,s){var r={min:s.minErrorText,uppercase:s.uppercaseErrorText,lowercase:s.lowercaseErrorText,has:s.hasErrorText};if(!t.length&&e)return i("div",{class:I.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},i("style",{type:"text/css"},T),i(C,null)," ",i("span",null,s.meetsRequirementsText));return i("div",{class:I.classes.Base},i("style",{type:"text/css"},T),s.doesNotMeetRequirementsText,i("ul",{class:I.classes.ValidationList},Object.keys(r).map((function(e){return t.includes(e)?i("li",{class:I.classes.ValidationItemInvalid},i(_,null)," ",i("span",null,r[e])):i("li",{class:I.classes.ValidationItemValid},i(C,null)," ",i("span",null,r[e]))}))))};var k={InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:c};var q="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=u(k);var F=D.toString();function O(t){var e,s,r,n,a,o,l,u,c,d;var p=t.states,v=t.callbacks;return i("div",{class:D.classes.InputContainer,part:"sqm-base"},i("style",{type:"text/css"},q,F),i("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:p.content.fieldLabel||"Password",required:true,disabled:((e=p.registrationFormState)===null||e===void 0?void 0:e.loading)||((s=p.registrationFormState)===null||s===void 0?void 0:s.disabled),validationError:function(t){var i=t.value;if(!i){return"Cannot be empty"}}},((n=(r=p.registrationFormState)===null||r===void 0?void 0:r.initialData)===null||n===void 0?void 0:n.password)?{value:(o=(a=p.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.password}:{},((u=(l=p.registrationFormState)===null||l===void 0?void 0:l.validationErrors)===null||u===void 0?void 0:u.password)?{class:D.classes.ErrorStyle,helpText:((d=(c=p.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||d===void 0?void 0:d.password)||"Cannot be empty"}:[],{onInput:function(t){return p.enableValidation&&v.onInput(t)}})),p.dynamicValidation)}function M(t){var i=s(d);var e=r(""),n=e[0],a=e[1];function o(i){var e=V(i.target.value,t);a(e)}return{states:{enableValidation:!t.disableValidation,dynamicValidation:n,registrationFormState:i,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:o}}}var R=t("sqm_password_field",function(){function t(t){e(this,t);this.ignored=true;this.fieldLabel="Password";this.disableValidation=false;this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=a()?B(l(this)):M(l(this)),e=t.states,s=t.callbacks;return i(O,{states:e,callbacks:s})};return t}());function B(t){var i,e,s,n,a,l,u;var c=r(""),d=c[0],p=c[1];var v=r(""),h=v[0],f=v[1];if(t.demoData&&h!=((i=t===null||t===void 0?void 0:t.demoData)===null||i===void 0?void 0:i.initValue)){var m=V(((e=t===null||t===void 0?void 0:t.demoData)===null||e===void 0?void 0:e.initValue)||"",t);p(((s=t===null||t===void 0?void 0:t.demoData)===null||s===void 0?void 0:s.initValue)===""?"":m);f((n=t===null||t===void 0?void 0:t.demoData)===null||n===void 0?void 0:n.initValue)}function g(i){var e=V(i.target.value,t);p(e)}return o({states:{enableValidation:!t.disableValidation,dynamicValidation:d,registrationFormState:((l=(a=t===null||t===void 0?void 0:t.demoData)===null||a===void 0?void 0:a.states)===null||l===void 0?void 0:l.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:g}},((u=t===null||t===void 0?void 0:t.demoData)===null||u===void 0?void 0:u.states)||{},{arrayMerge:function(t,i){return i}})}}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++){e=arguments[i];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-a8ecdc44.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-9b33e2a7.system.js"],(function(t){"use strict";var e,i,s,r,n,a,o,l,u,c,d;return{setters:[function(t){e=t.h;i=t.r},function(t){s=t.i;r=t.k;n=t.n},function(t){a=t.i},function(t){o=t.c},function(t){l=t.g},function(t){u=t.c},function(t){c=t.E},function(t){d=t.R}],execute:function(){var p={error:{length:"Length should be a valid positive number",password:"Password should be a valid string"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}};var v=p.regex;function h(t,e){if(e&&e>1){var i=parseInt(e,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function t(e){this.positive=false;if(e){return h.call(this,e)}return true},has:function t(e){this.positive=true;if(e){return h.call(this,e)}return true},is:function t(){this.positive=true;return true},min:function t(e){return this.password.length>=e},max:function t(e){return this.password.length<=e},digits:function t(e){return h.call(this,v.digits,e)},letters:function t(e){return h.call(this,v.letters,e)},uppercase:function t(e){if(e&&e>1){var i=0;var s=0;while(s<e&&i<this.password.length){var r=this.password.charAt(i);if(r!==r.toLowerCase()){s++}i++}return s===e===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function t(e){if(e&&e>1){var i=0;var s=0;while(s<e&&i<this.password.length){var r=this.password.charAt(i);if(r!==r.toUpperCase()){s++}i++}return s===e===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function t(e){return h.call(this,v.symbols,e)},spaces:function t(e){return h.call(this,v.spaces,e)},oneOf:function t(e){return e.indexOf(this.password)>=0===this.positive}};var m=p.error;function g(t){var e=Number(t);if(isNaN(e)||!Number.isInteger(e)||e<1){throw new Error(m.length)}}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,e){this.properties.push({method:t,arguments:e});return this}var b=function(){function t(){this.properties=[]}t.prototype.validate=function(t,e){var i=this;this.list=Boolean(e&&e.list);this.password=String(t);this.positive=true;if(this.list){return this.properties.reduce((function(t,e){if(!w.call(i,e)){return t.concat(e.method)}return t}),[])}return this.properties.every(w.bind(this))};t.prototype.letters=function(t){t&&g(t);return y.call(this,"letters",arguments)};t.prototype.digits=function(t){t&&g(t);return y.call(this,"digits",arguments)};t.prototype.symbols=function(t){t&&g(t);return y.call(this,"symbols",arguments)};t.prototype.min=function(t){g(t);return y.call(this,"min",arguments)};t.prototype.max=function(t){g(t);return y.call(this,"max",arguments)};t.prototype.lowercase=function(t){t&&g(t);return y.call(this,"lowercase",arguments)};t.prototype.uppercase=function(t){t&&g(t);return y.call(this,"uppercase",arguments)};t.prototype.spaces=function(t){t&&g(t);return y.call(this,"spaces",arguments)};t.prototype.has=function(){return y.call(this,"has",arguments)};t.prototype.not=function(){return y.call(this,"not",arguments)};t.prototype.is=function(){return y.call(this,"is",arguments)};t.prototype.oneOf=function(){return y.call(this,"oneOf",arguments)};return t}();var x=b;var L=(new x).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/);var V=function(t,e){var i=L.validate(t,{list:true});var s=j(i,t,e);return s};var C=function(){return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"}))};var _=function(){return e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"}))};var E={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}};var S={Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:__assign(__assign({},E),{color:"var(--sl-color-success-600)"}),ValidationItemInvalid:__assign({},E)};var I=u(S);var T=I.toString();var j=function(t,i,s){var r={min:s.minErrorText,uppercase:s.uppercaseErrorText,lowercase:s.lowercaseErrorText,has:s.hasErrorText};if(!t.length&&i)return e("div",{class:I.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},e("style",{type:"text/css"},T),e(C,null)," ",e("span",null,s.meetsRequirementsText));return e("div",{class:I.classes.Base},e("style",{type:"text/css"},T),s.doesNotMeetRequirementsText,e("ul",{class:I.classes.ValidationList},Object.keys(r).map((function(i){return t.includes(i)?e("li",{class:I.classes.ValidationItemInvalid},e(_,null)," ",e("span",null,r[i])):e("li",{class:I.classes.ValidationItemValid},e(C,null)," ",e("span",null,r[i]))}))))};var k={InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:c};var q="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=u(k);var F=D.toString();function O(t){var i,s,r,n,a,o,l,u,c,d;var p=t.states,v=t.callbacks;return e("div",{class:D.classes.InputContainer,part:"sqm-base"},e("style",{type:"text/css"},q,F),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:p.content.fieldLabel||"Password",required:true,disabled:((i=p.registrationFormState)===null||i===void 0?void 0:i.loading)||((s=p.registrationFormState)===null||s===void 0?void 0:s.disabled),validationError:function(t){var e=t.value;if(!e){return"Cannot be empty"}}},((n=(r=p.registrationFormState)===null||r===void 0?void 0:r.initialData)===null||n===void 0?void 0:n.password)?{value:(o=(a=p.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.password}:{},((u=(l=p.registrationFormState)===null||l===void 0?void 0:l.validationErrors)===null||u===void 0?void 0:u.password)?{class:D.classes.ErrorStyle,helpText:((d=(c=p.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||d===void 0?void 0:d.password)||"Cannot be empty"}:[],{onInput:function(t){return p.enableValidation&&v.onInput(t)}})),p.dynamicValidation)}function M(t){var e=s(d);var i=r(""),n=i[0],a=i[1];function o(e){var i=V(e.target.value,t);a(i)}return{states:{enableValidation:!t.disableValidation,dynamicValidation:n,registrationFormState:e,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:o}}}var R=t("sqm_password_field",function(){function t(t){i(this,t);this.ignored=true;this.fieldLabel="Password";this.disableValidation=false;this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=a()?B(l(this)):M(l(this)),i=t.states,s=t.callbacks;return e(O,{states:i,callbacks:s})};return t}());function B(t){var e,i,s,n,a,l,u;var c=r(""),d=c[0],p=c[1];var v=r(""),h=v[0],f=v[1];if(t.demoData&&h!=((e=t===null||t===void 0?void 0:t.demoData)===null||e===void 0?void 0:e.initValue)){var m=V(((i=t===null||t===void 0?void 0:t.demoData)===null||i===void 0?void 0:i.initValue)||"",t);p(((s=t===null||t===void 0?void 0:t.demoData)===null||s===void 0?void 0:s.initValue)===""?"":m);f((n=t===null||t===void 0?void 0:t.demoData)===null||n===void 0?void 0:n.initValue)}function g(e){var i=V(e.target.value,t);p(i)}return o({states:{enableValidation:!t.disableValidation,dynamicValidation:d,registrationFormState:((l=(a=t===null||t===void 0?void 0:t.demoData)===null||a===void 0?void 0:a.states)===null||l===void 0?void 0:l.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:g}},((u=t===null||t===void 0?void 0:t.demoData)===null||u===void 0?void 0:u.states)||{},{arrayMerge:function(t,e){return e}})}}}}));
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,s=1,t=arguments.length;s<t;s++){a=arguments[s];for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o))r[o]=a[o]}return r};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-d6c1e876.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(r){"use strict";var a,s,t,o;return{setters:[function(r){a=r.h},function(r){s=r.j},function(r){t=r.c},function(r){o=r.g}],execute:function(){r("N",e);function e(r){var e=r.states,n=r.data,i=r.padding,c=i===void 0?"x-small":i;var l=r.backgroundColor||"var(--sqm-portal-background)";var u=r.backgroundHoverColor||"var(--sqm-primary-button-background-hover)";var v=r.backgroundFocusedColor||"var(--sqm-primary-button-background)";var d=r.textFocusedColor||"var(--sqm-primary-button-color)";var p={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?v:l),borderRadius:r.borderRadius?r.borderRadius+"px":"var(--sqm-border-radius-normal)",padding:"var(--sl-spacing-"+c+")","text-decoration":"none",color:e.active?d:r.textColor||"var(--sqm-text)","align-items":"center"},o({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?v:u,color:e.active?d:r.textHoverColor||"var(--sqm-primary-button-color-hover)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var m=t(p);var g=m.toString();return a("a",{part:"sqm-link",href:n.path,onClick:function(r){r.preventDefault();s.push(n.path)},class:m.classes.ItemContainer},a("style",{type:"text/css"},g),a("sl-icon",{class:m.classes.Icon,name:n.icon}),a("p",{class:m.classes.Label,part:"sqm-label"},n.label))}}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,s=1,t=arguments.length;s<t;s++){a=arguments[s];for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o))r[o]=a[o]}return r};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-a8ecdc44.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(r){"use strict";var a,s,t,o;return{setters:[function(r){a=r.h},function(r){s=r.j},function(r){t=r.c},function(r){o=r.g}],execute:function(){r("N",e);function e(r){var e=r.states,n=r.data,i=r.padding,c=i===void 0?"x-small":i;var l=r.backgroundColor||"var(--sqm-portal-background)";var u=r.backgroundHoverColor||"var(--sqm-primary-button-background-hover)";var v=r.backgroundFocusedColor||"var(--sqm-primary-button-background)";var d=r.textFocusedColor||"var(--sqm-primary-button-color)";var p={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?v:l),borderRadius:r.borderRadius?r.borderRadius+"px":"var(--sqm-border-radius-normal)",padding:"var(--sl-spacing-"+c+")","text-decoration":"none",color:e.active?d:r.textColor||"var(--sqm-text)","align-items":"center"},o({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?v:u,color:e.active?d:r.textHoverColor||"var(--sqm-primary-button-color-hover)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var m=t(p);var g=m.toString();return a("a",{part:"sqm-link",href:n.path,onClick:function(r){r.preventDefault();s.push(n.path)},class:m.classes.ItemContainer},a("style",{type:"text/css"},g),a("sl-icon",{class:m.classes.Icon,name:n.icon}),a("p",{class:m.classes.Label,part:"sqm-label"},n.label))}}}}));
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-d6c1e876.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-d267f4bb.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.J;a=e.w;o=e.e;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-a8ecdc44.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-d267f4bb.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.J;a=e.w;o=e.e;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- import{r as t,h as i}from"./p-083180bf.js";import{n as s}from"./p-a7fc1e02.js";import{i as e,e as a}from"./p-1d450b85.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-49b20dae.js";import"./p-e5e8e13e.js";import{E as o}from"./p-7010498f.js";import{u as l}from"./p-bd804f4c.js";const m=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="var(--sqm-portal-background)",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:m})}};export{m as sqm_instant_access_registration}
1
+ import{r as t,h as i}from"./p-083180bf.js";import{n as s}from"./p-a7fc1e02.js";import{i as e,e as a}from"./p-d20188db.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-49b20dae.js";import"./p-ce11858c.js";import{E as o}from"./p-7010498f.js";import{u as l}from"./p-095b7128.js";const m=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="var(--sqm-portal-background)",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:m})}};export{m as sqm_instant_access_registration}
@@ -0,0 +1 @@
1
+ const i="sq:code-verification",e="sq:verification-email",a="sq:verification-context",s="sq:code-verified";export{i as S,a as V,e as a,s as b}
@@ -1 +1 @@
1
- import{h as r}from"./p-083180bf.js";import{j as a}from"./p-1d450b85.js";import{c as o}from"./p-cef45012.js";import{g as s}from"./p-49b20dae.js";function t(t){const{states:n,data:e,padding:i="x-small"}=t,m=t.backgroundHoverColor||"var(--sqm-primary-button-background-hover)",l=t.backgroundFocusedColor||"var(--sqm-primary-button-background)",c=t.textFocusedColor||"var(--sqm-primary-button-color)",p={ItemContainer:{display:"flex","background-color":`${n.active?l:t.backgroundColor||"var(--sqm-portal-background)"}`,borderRadius:t.borderRadius?`${t.borderRadius}px`:"var(--sqm-border-radius-normal)",padding:`var(--sl-spacing-${i})`,"text-decoration":"none",color:n.active?c:t.textColor||"var(--sqm-text)","align-items":"center",...s({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:n.active?l:m,color:n.active?c:t.textHoverColor||"var(--sqm-primary-button-color-hover)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},d=o(p),b=d.toString();return r("a",{part:"sqm-link",href:e.path,onClick:r=>{r.preventDefault(),a.push(e.path)},class:d.classes.ItemContainer},r("style",{type:"text/css"},b),r("sl-icon",{class:d.classes.Icon,name:e.icon}),r("p",{class:d.classes.Label,part:"sqm-label"},e.label))}export{t as N}
1
+ import{h as r}from"./p-083180bf.js";import{j as a}from"./p-d20188db.js";import{c as o}from"./p-cef45012.js";import{g as s}from"./p-49b20dae.js";function t(t){const{states:n,data:e,padding:i="x-small"}=t,m=t.backgroundHoverColor||"var(--sqm-primary-button-background-hover)",l=t.backgroundFocusedColor||"var(--sqm-primary-button-background)",c=t.textFocusedColor||"var(--sqm-primary-button-color)",p={ItemContainer:{display:"flex","background-color":`${n.active?l:t.backgroundColor||"var(--sqm-portal-background)"}`,borderRadius:t.borderRadius?`${t.borderRadius}px`:"var(--sqm-border-radius-normal)",padding:`var(--sl-spacing-${i})`,"text-decoration":"none",color:n.active?c:t.textColor||"var(--sqm-text)","align-items":"center",...s({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:n.active?l:m,color:n.active?c:t.textHoverColor||"var(--sqm-primary-button-color-hover)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},d=o(p),b=d.toString();return r("a",{part:"sqm-link",href:e.path,onClick:r=>{r.preventDefault(),a.push(e.path)},class:d.classes.ItemContainer},r("style",{type:"text/css"},b),r("sl-icon",{class:d.classes.Icon,name:e.icon}),r("p",{class:d.classes.Label,part:"sqm-label"},e.label))}export{t as N}
@@ -1 +1 @@
1
- import{h as e}from"./p-083180bf.js";import{i as s}from"./p-e7a9ce16.js";import{k as t,y as a}from"./p-a7fc1e02.js";import{_ as i}from"./p-1d450b85.js";import{c as o}from"./p-cef45012.js";const l=o({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),r=l.toString();function n({missingProps:a,heading:o="There was a problem loading this section",subheading:n="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:c="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},d){if(!a)return!1;const p=i(),[m,u]=t(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},r),e("div",{slot:"icon",class:l.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:l.classes.DivStyle},e("h2",{class:l.classes.Heading},s.formatMessage({id:"error-heading",defaultMessage:o})),e("p",null,s.formatMessage({id:"error-subheading",defaultMessage:n}))),e("details",{class:l.classes.Details},e("summary",{onClick:()=>u(!m)},m?"Less":"More"," details"),e("p",null,s.formatMessage({id:"error-description",defaultMessage:c},{tagName:p.tagName.toLowerCase()})),e("ul",null,a.map((s=>e("li",null,e("strong",null,s.attribute)))))),e("div",{class:l.classes.Children},d))}const c="sq:lead-form-state";function d(e){const s=i(),[t,o]=a(s,"sq:lead-form-state",e);return a(s,"sq:lead-form-state-internal",[t,o]),{leadFormState:t,setLeadFormState:o}}export{c as L,n as R,d as u}
1
+ import{h as e}from"./p-083180bf.js";import{i as s}from"./p-438f6702.js";import{k as t,y as a}from"./p-a7fc1e02.js";import{_ as i}from"./p-d20188db.js";import{c as o}from"./p-cef45012.js";const l=o({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),r=l.toString();function n({missingProps:a,heading:o="There was a problem loading this section",subheading:n="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:d="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},c){if(!a)return!1;const p=i(),[m,f]=t(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},r),e("div",{slot:"icon",class:l.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:l.classes.DivStyle},e("h2",{class:l.classes.Heading},s.formatMessage({id:"error-heading",defaultMessage:o})),e("p",null,s.formatMessage({id:"error-subheading",defaultMessage:n}))),e("details",{class:l.classes.Details},e("summary",{onClick:()=>f(!m)},m?"Less":"More"," details"),e("p",null,s.formatMessage({id:"error-description",defaultMessage:d},{tagName:p.tagName.toLowerCase()})),e("ul",null,a.map((s=>e("li",null,e("strong",null,s.attribute)))))),e("div",{class:l.classes.Children},c))}const d="sq:lead-form-state";function c(e){const s=i(),[t,o]=a(s,"sq:lead-form-state",e);return a(s,"sq:lead-form-state-internal",[t,o]),{leadFormState:t,setLeadFormState:o}}export{d as L,n as R,c as u}
@@ -1,4 +1,4 @@
1
- import{f as e}from"./p-a7fc1e02.js";import{d as i,J as a,B as s,H as l,Q as d,R as r,I as o}from"./p-1d450b85.js";const n=i.gql`
1
+ import{f as e}from"./p-a7fc1e02.js";import{d as i,J as a,B as s,H as d,Q as l,R as r,I as o}from"./p-d20188db.js";const n=i.gql`
2
2
  query getCodes(
3
3
  $engagementMedium: UserEngagementMedium!
4
4
  $limit: Int!
@@ -49,4 +49,4 @@ import{f as e}from"./p-a7fc1e02.js";import{d as i,J as a,B as s,H as l,Q as d,R
49
49
  }
50
50
  }
51
51
  }
52
- `;function v(i){const t=a(),m=s(),u=i.programId||l(),{refresh:v}=d(),{envelope:f,states:g,callbacks:p}=r(n,(e=>{var i;return null===(i=null==e?void 0:e.viewer)||void 0===i?void 0:i.referralCodeList}),{limit:1,offset:0},{engagementMedium:m,programId:u,filter:{fuelTank_eq:!0,programId_eq:u,dateUsed_exists:!1}},!(null==t?void 0:t.jwt)),[C,c]=o({namespace:"sq:referral-codes-pagination",initialValue:{states:g,callbacks:p}}),[h,k]=o({namespace:"sq:referral-codes",initialValue:{refresh:v,loading:!0,referralCode:"",shareLink:"",isCopied:!1,isUsed:!1,singleUse:!1,email:{messageLink:""},fbmessenger:{messageLink:"",shareLink:""},whatsapp:{messageLink:""}}});return e((()=>{var e,i,a,s,l,d,r,o,n,t,m,u,C,h,M,L;if(null===(e=null==f?void 0:f.data)||void 0===e?void 0:e.length){const e=f.data[0];k({refresh:v,referralCode:e.code,isCopied:!!e.dateCopied,isUsed:!!e.dateUsed,singleUse:!!e.singleUse,shareLink:null===(s=null===(a=null===(i=e.shareLinkCodes)||void 0===i?void 0:i.data)||void 0===a?void 0:a[0])||void 0===s?void 0:s.direct,email:{messageLink:null===(r=null===(d=null===(l=e.shareLinkCodes)||void 0===l?void 0:l.data)||void 0===d?void 0:d[0])||void 0===r?void 0:r.email},fbmessenger:{messageLink:null===(t=null===(n=null===(o=e.shareLinkCodes)||void 0===o?void 0:o.data)||void 0===n?void 0:n[0])||void 0===t?void 0:t.fbMessenger,shareLink:null===(C=null===(u=null===(m=e.shareLinkCodes)||void 0===m?void 0:m.data)||void 0===u?void 0:u[0])||void 0===C?void 0:C.fbMessenger},whatsapp:{messageLink:null===(L=null===(M=null===(h=e.shareLinkCodes)||void 0===h?void 0:h.data)||void 0===M?void 0:M[0])||void 0===L?void 0:L.whatsApp}}),c({states:g,callbacks:p})}}),[f]),{states:{...g,noCodes:0===(null==f?void 0:f.totalCount)},data:h,callbacks:{}}}export{m as R,u as S,t as a,v as u}
52
+ `;function v(i){const t=a(),m=s(),u=i.programId||d(),{refresh:v}=l(),{envelope:f,states:g,callbacks:p}=r(n,(e=>{var i;return null===(i=null==e?void 0:e.viewer)||void 0===i?void 0:i.referralCodeList}),{limit:1,offset:0},{engagementMedium:m,programId:u,filter:{fuelTank_eq:!0,programId_eq:u,dateUsed_exists:!1}},!(null==t?void 0:t.jwt)),[C,c]=o({namespace:"sq:referral-codes-pagination",initialValue:{states:g,callbacks:p}}),[h,k]=o({namespace:"sq:referral-codes",initialValue:{refresh:v,loading:!0,referralCode:"",shareLink:"",isCopied:!1,isUsed:!1,singleUse:!1,email:{messageLink:""},fbmessenger:{messageLink:"",shareLink:""},whatsapp:{messageLink:""}}});return e((()=>{var e,i,a,s,d,l,r,o,n,t,m,u,C,h,M,L;if(null===(e=null==f?void 0:f.data)||void 0===e?void 0:e.length){const e=f.data[0];k({refresh:v,referralCode:e.code,isCopied:!!e.dateCopied,isUsed:!!e.dateUsed,singleUse:!!e.singleUse,shareLink:null===(s=null===(a=null===(i=e.shareLinkCodes)||void 0===i?void 0:i.data)||void 0===a?void 0:a[0])||void 0===s?void 0:s.direct,email:{messageLink:null===(r=null===(l=null===(d=e.shareLinkCodes)||void 0===d?void 0:d.data)||void 0===l?void 0:l[0])||void 0===r?void 0:r.email},fbmessenger:{messageLink:null===(t=null===(n=null===(o=e.shareLinkCodes)||void 0===o?void 0:o.data)||void 0===n?void 0:n[0])||void 0===t?void 0:t.fbMessenger,shareLink:null===(C=null===(u=null===(m=e.shareLinkCodes)||void 0===m?void 0:m.data)||void 0===u?void 0:u[0])||void 0===C?void 0:C.fbMessenger},whatsapp:{messageLink:null===(L=null===(M=null===(h=e.shareLinkCodes)||void 0===h?void 0:h.data)||void 0===M?void 0:M[0])||void 0===L?void 0:L.whatsApp}}),c({states:g,callbacks:p})}}),[f]),{states:{...g,noCodes:0===(null==f?void 0:f.totalCount)},data:h,callbacks:{}}}export{m as R,u as S,t as a,v as u}