@saasquatch/mint-components 1.7.4-0 → 1.7.4-2

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 (234) hide show
  1. package/dist/cjs/{ShadowViewAddon-25025125.js → ShadowViewAddon-43f35e24.js} +18 -18
  2. package/dist/cjs/{global-be9af765.js → global-6785de71.js} +2 -2
  3. package/dist/cjs/{index.module-8562f350.js → index.module-02576958.js} +23 -23
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-9a91bde6.js → re-render-c484d9ab.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +58 -58
  9. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  11. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  13. package/dist/cjs/{sqm-logout-current-user-view-555c7729.js → sqm-logout-current-user-view-c9f18d96.js} +12 -5
  14. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +27 -5
  15. package/dist/cjs/{sqm-navigation-sidebar-item-view-28578dce.js → sqm-navigation-sidebar-item-view-21dcca39.js} +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  18. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  20. package/dist/cjs/{sqm-portal-email-verification-view-077c12f7.js → sqm-portal-email-verification-view-d6e14e8d.js} +1 -1
  21. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
  22. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  23. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  24. package/dist/cjs/{sqm-portal-profile-view-b3d1e0f7.js → sqm-portal-profile-view-13a1229f.js} +1 -1
  25. package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
  26. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  27. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
  28. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  30. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  33. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +9 -9
  34. package/dist/cjs/sqm-stencilbook.cjs.entry.js +46 -44
  35. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  37. package/dist/cjs/{useChildElements-be4e0841.js → useChildElements-74eb05b6.js} +2 -2
  38. package/dist/cjs/{useInstantAccessRegistration-27a20410.js → useInstantAccessRegistration-11ff69f8.js} +3 -3
  39. package/dist/cjs/{useReferralTable-ca564dcb.js → useReferralTable-6ca43436.js} +8 -8
  40. package/dist/cjs/{useRegistrationFormState-7b557a04.js → useRegistrationFormState-01d63bda.js} +2 -2
  41. package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +2 -0
  42. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +12 -5
  43. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +32 -0
  44. package/dist/collection/components/sqm-logout-current-user/useLogoutCurrentUser.js +18 -3
  45. package/dist/esm/{ShadowViewAddon-53810b62.js → ShadowViewAddon-a5b397ce.js} +18 -18
  46. package/dist/esm/{global-179b13db.js → global-91edfca0.js} +2 -2
  47. package/dist/esm/{index.module-9469b28f.js → index.module-99d8522e.js} +3 -3
  48. package/dist/esm/loader.js +3 -3
  49. package/dist/esm/mint-components.js +3 -3
  50. package/dist/esm/{re-render-1048d024.js → re-render-096db0eb.js} +4 -4
  51. package/dist/esm/sqm-asset-card.entry.js +1 -1
  52. package/dist/esm/sqm-big-stat_39.entry.js +58 -58
  53. package/dist/esm/sqm-close-button.entry.js +1 -1
  54. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  55. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  56. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  57. package/dist/esm/{sqm-logout-current-user-view-2d740794.js → sqm-logout-current-user-view-2c6122cd.js} +12 -5
  58. package/dist/esm/sqm-logout-current-user.entry.js +27 -5
  59. package/dist/esm/{sqm-navigation-sidebar-item-view-d2e0fdb1.js → sqm-navigation-sidebar-item-view-eb765b9c.js} +2 -2
  60. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  61. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  62. package/dist/esm/sqm-password-field.entry.js +2 -2
  63. package/dist/esm/sqm-popup-container.entry.js +4 -4
  64. package/dist/esm/{sqm-portal-email-verification-view-79ef6c2f.js → sqm-portal-email-verification-view-408af676.js} +1 -1
  65. package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
  66. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  67. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  68. package/dist/esm/{sqm-portal-profile-view-6068a0f8.js → sqm-portal-profile-view-efa44888.js} +1 -1
  69. package/dist/esm/sqm-portal-profile.entry.js +6 -6
  70. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  71. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  72. package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
  73. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  74. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  75. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  76. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  77. package/dist/esm/sqm-rewards-table_9.entry.js +9 -9
  78. package/dist/esm/sqm-stencilbook.entry.js +46 -44
  79. package/dist/esm/sqm-tab.entry.js +2 -2
  80. package/dist/esm/sqm-tabs.entry.js +4 -4
  81. package/dist/esm/{useChildElements-1338b131.js → useChildElements-b945a965.js} +2 -2
  82. package/dist/esm/{useInstantAccessRegistration-53c43a63.js → useInstantAccessRegistration-7f9f4360.js} +3 -3
  83. package/dist/esm/{useReferralTable-ada01642.js → useReferralTable-e425f29d.js} +8 -8
  84. package/dist/esm/{useRegistrationFormState-49dfc8e0.js → useRegistrationFormState-c9d54ef3.js} +2 -2
  85. package/dist/esm-es5/{ShadowViewAddon-53810b62.js → ShadowViewAddon-a5b397ce.js} +1 -1
  86. package/dist/esm-es5/{global-179b13db.js → global-91edfca0.js} +2 -2
  87. package/dist/esm-es5/{index.module-9469b28f.js → index.module-99d8522e.js} +1 -1
  88. package/dist/esm-es5/loader.js +1 -1
  89. package/dist/esm-es5/mint-components.js +1 -1
  90. package/dist/esm-es5/{re-render-1048d024.js → re-render-096db0eb.js} +1 -1
  91. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  92. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  93. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  94. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  95. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  96. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  97. package/dist/esm-es5/sqm-logout-current-user-view-2c6122cd.js +1 -0
  98. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  99. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-d2e0fdb1.js → sqm-navigation-sidebar-item-view-eb765b9c.js} +1 -1
  100. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  101. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  102. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  103. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  104. package/dist/esm-es5/{sqm-portal-email-verification-view-79ef6c2f.js → sqm-portal-email-verification-view-408af676.js} +1 -1
  105. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  106. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  107. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  108. package/dist/esm-es5/{sqm-portal-profile-view-6068a0f8.js → sqm-portal-profile-view-efa44888.js} +1 -1
  109. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  110. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  112. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  113. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  114. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  115. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  116. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  117. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  118. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  119. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  120. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  121. package/dist/esm-es5/{useChildElements-1338b131.js → useChildElements-b945a965.js} +1 -1
  122. package/dist/esm-es5/{useInstantAccessRegistration-53c43a63.js → useInstantAccessRegistration-7f9f4360.js} +1 -1
  123. package/dist/esm-es5/{useReferralTable-ada01642.js → useReferralTable-e425f29d.js} +1 -1
  124. package/dist/esm-es5/useRegistrationFormState-c9d54ef3.js +1 -0
  125. package/dist/mint-components/mint-components.esm.js +1 -1
  126. package/dist/mint-components/mint-components.js +1 -1
  127. package/dist/mint-components/p-05f069ce.entry.js +13 -0
  128. package/dist/mint-components/p-0943b547.system.js +1 -0
  129. package/dist/mint-components/{p-8ff83f3b.system.entry.js → p-0a892e0f.system.entry.js} +1 -1
  130. package/dist/mint-components/p-0ad6459e.entry.js +1 -0
  131. package/dist/mint-components/p-0b8f38a8.entry.js +1 -0
  132. package/dist/mint-components/p-0de80de6.js +1 -0
  133. package/dist/mint-components/{p-934aa6ca.entry.js → p-10bf0b3a.entry.js} +2 -2
  134. package/dist/mint-components/{p-ba42b92c.system.entry.js → p-13570402.system.entry.js} +1 -1
  135. package/dist/mint-components/{p-82180848.js → p-1ce682cf.js} +1 -1
  136. package/dist/mint-components/{p-509af914.system.entry.js → p-1e884e97.system.entry.js} +1 -1
  137. package/dist/mint-components/p-1fa097d3.entry.js +1 -0
  138. package/dist/mint-components/{p-e43cc4ad.system.entry.js → p-20b4e20b.system.entry.js} +1 -1
  139. package/dist/mint-components/p-22d1e92e.system.js +1 -0
  140. package/dist/mint-components/{p-2d39cf50.system.entry.js → p-25ad41bd.system.entry.js} +1 -1
  141. package/dist/mint-components/{p-8827fabe.system.entry.js → p-2bba85ac.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-21a1d705.js → p-2e9a5714.js} +1 -1
  143. package/dist/mint-components/{p-f9bfbfa2.entry.js → p-3e0bb7f9.entry.js} +1 -1
  144. package/dist/mint-components/{p-bf0719b7.system.js → p-41c62fef.system.js} +1 -1
  145. package/dist/mint-components/{p-f6456854.js → p-42844992.js} +3 -3
  146. package/dist/mint-components/p-57a89487.entry.js +1 -0
  147. package/dist/mint-components/p-59318941.system.js +1 -0
  148. package/dist/mint-components/{p-a38baa99.system.entry.js → p-66e3cb0c.system.entry.js} +1 -1
  149. package/dist/mint-components/p-6d1a2821.system.entry.js +1 -0
  150. package/dist/mint-components/{p-9551f888.system.entry.js → p-6e793d76.system.entry.js} +1 -1
  151. package/dist/mint-components/p-6fed24de.entry.js +1 -0
  152. package/dist/mint-components/{p-39341b0c.entry.js → p-74e8a90c.entry.js} +5 -5
  153. package/dist/mint-components/{p-f7b7d395.system.js → p-7b490a03.system.js} +1 -1
  154. package/dist/mint-components/{p-58196113.system.entry.js → p-7d5ee633.system.entry.js} +1 -1
  155. package/dist/mint-components/{p-d9787e31.system.entry.js → p-821004e9.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-6034522a.js → p-831d1332.js} +1 -1
  157. package/dist/mint-components/{p-8d593b5e.system.entry.js → p-84ee5462.system.entry.js} +1 -1
  158. package/dist/mint-components/p-878daf52.js +1 -0
  159. package/dist/mint-components/p-89e86134.entry.js +1 -0
  160. package/dist/mint-components/p-8b28c511.js +1 -0
  161. package/dist/mint-components/{p-6dac42fc.system.js → p-8b2b5d37.system.js} +1 -1
  162. package/dist/mint-components/{p-a8f6d72c.system.entry.js → p-8f1974f8.system.entry.js} +1 -1
  163. package/dist/mint-components/{p-657659e8.entry.js → p-9a74f167.entry.js} +2 -2
  164. package/dist/mint-components/{p-68e5a4a6.system.entry.js → p-9b2e0735.system.entry.js} +1 -1
  165. package/dist/mint-components/p-9dcfa187.system.js +1 -0
  166. package/dist/mint-components/{p-9ecfc085.system.js → p-9f3a0252.system.js} +1 -1
  167. package/dist/mint-components/{p-7fc020f4.entry.js → p-a23a2a86.entry.js} +1 -1
  168. package/dist/mint-components/{p-9aa1bd46.system.js → p-a372d9cf.system.js} +1 -1
  169. package/dist/mint-components/{p-540a24e6.system.entry.js → p-a65e2e14.system.entry.js} +1 -1
  170. package/dist/mint-components/{p-ee457000.system.js → p-a79208b8.system.js} +1 -1
  171. package/dist/mint-components/{p-d3de337c.system.entry.js → p-abfb3897.system.entry.js} +1 -1
  172. package/dist/mint-components/{p-5ddfa30d.entry.js → p-b0ef4f17.entry.js} +1 -1
  173. package/dist/mint-components/{p-0714bae2.entry.js → p-b0f3c6c5.entry.js} +2 -2
  174. package/dist/mint-components/{p-71a4e272.entry.js → p-b4fddf49.entry.js} +1 -1
  175. package/dist/mint-components/{p-fe721800.system.entry.js → p-b5b9aaba.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-f2260971.system.js → p-b6dafb9b.system.js} +1 -1
  177. package/dist/mint-components/{p-571f6923.entry.js → p-b9c7b7ef.entry.js} +1 -1
  178. package/dist/mint-components/{p-a87d66ac.system.entry.js → p-ba295930.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-97e758fd.system.entry.js → p-be8f19ba.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-583b1a0e.entry.js → p-c24d34d8.entry.js} +1 -1
  181. package/dist/mint-components/{p-9e9dcd9c.entry.js → p-c2bd46e2.entry.js} +1 -1
  182. package/dist/mint-components/p-ce748fab.js +1 -0
  183. package/dist/mint-components/{p-e8f720b9.entry.js → p-d5e83056.entry.js} +1 -1
  184. package/dist/mint-components/{p-c24079c2.js → p-d65bf9dc.js} +1 -1
  185. package/dist/mint-components/p-d65de81a.entry.js +9 -0
  186. package/dist/mint-components/p-db9652e7.system.entry.js +1 -0
  187. package/dist/mint-components/p-dd0b4da7.system.entry.js +1 -0
  188. package/dist/mint-components/{p-19e46b11.entry.js → p-e058ba88.entry.js} +1 -1
  189. package/dist/mint-components/{p-d3f6b6b4.entry.js → p-e3de804b.entry.js} +1 -1
  190. package/dist/mint-components/p-e3e16c36.js +1 -0
  191. package/dist/mint-components/{p-747912c5.system.entry.js → p-e49392c3.system.entry.js} +1 -1
  192. package/dist/mint-components/p-e9197aac.entry.js +1 -0
  193. package/dist/mint-components/{p-ae191f8c.js → p-eab33344.js} +1 -1
  194. package/dist/mint-components/{p-2d592364.system.entry.js → p-ed9374ef.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-76cfebb1.system.js → p-ee7bc1c7.system.js} +1 -1
  196. package/dist/mint-components/{p-5ae4911c.entry.js → p-ef6a3ff3.entry.js} +2 -2
  197. package/dist/mint-components/{p-961998b6.system.entry.js → p-f04ce58d.system.entry.js} +1 -1
  198. package/dist/mint-components/{p-a223a8dc.entry.js → p-f064bf28.entry.js} +1 -1
  199. package/dist/mint-components/p-f21aa0bd.entry.js +1 -0
  200. package/dist/mint-components/{p-c3be93c7.system.entry.js → p-f60d9f3e.system.entry.js} +1 -1
  201. package/dist/mint-components/{p-76d4eb55.system.js → p-f63961b4.system.js} +1 -1
  202. package/dist/mint-components/{p-2aca0eae.js → p-f71cfd64.js} +1 -1
  203. package/dist/mint-components/{p-3409e9a0.system.entry.js → p-f7b5c0ac.system.entry.js} +1 -1
  204. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +2 -0
  205. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +5 -0
  206. package/dist/types/components.d.ts +10 -0
  207. package/docs/docs.docx +0 -0
  208. package/docs/raisins.json +1 -1
  209. package/grapesjs/grapesjs.js +1 -1
  210. package/package.json +2 -2
  211. package/dist/esm-es5/sqm-logout-current-user-view-2d740794.js +0 -1
  212. package/dist/esm-es5/useRegistrationFormState-49dfc8e0.js +0 -1
  213. package/dist/mint-components/p-1912f988.entry.js +0 -1
  214. package/dist/mint-components/p-228163a1.system.js +0 -1
  215. package/dist/mint-components/p-29edd49c.system.js +0 -1
  216. package/dist/mint-components/p-330314f9.entry.js +0 -1
  217. package/dist/mint-components/p-3b7c1be8.entry.js +0 -1
  218. package/dist/mint-components/p-3e8aac5b.entry.js +0 -1
  219. package/dist/mint-components/p-519bb212.js +0 -1
  220. package/dist/mint-components/p-55eb6616.system.js +0 -1
  221. package/dist/mint-components/p-5b9195d7.system.entry.js +0 -1
  222. package/dist/mint-components/p-68db543e.system.entry.js +0 -1
  223. package/dist/mint-components/p-718cf151.js +0 -1
  224. package/dist/mint-components/p-78066f92.entry.js +0 -13
  225. package/dist/mint-components/p-7862ab7d.entry.js +0 -1
  226. package/dist/mint-components/p-7ced669d.entry.js +0 -1
  227. package/dist/mint-components/p-8d767d9d.js +0 -1
  228. package/dist/mint-components/p-97b03f80.entry.js +0 -1
  229. package/dist/mint-components/p-9907bc8a.js +0 -1
  230. package/dist/mint-components/p-af24b899.entry.js +0 -1
  231. package/dist/mint-components/p-c5b61ade.system.js +0 -1
  232. package/dist/mint-components/p-cc391fac.js +0 -1
  233. package/dist/mint-components/p-dbac5d13.system.entry.js +0 -1
  234. package/dist/mint-components/p-fe13762b.entry.js +0 -1
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h, f as useEffect, j as useState, o as d, k as useRef, b as browser, i as useReducer } from './stencil-hooks.module-14b87f98.js';
3
- import { i as intl } from './global-179b13db.js';
4
- import { i as isDemo, x, d as dist, U, N, E as Ee, v as vn, J, W, l as ln, p as pn, o as Oe, M as Me, A as Ae, u as useCallback, q as Le, f as gn } from './index.module-9469b28f.js';
3
+ import { i as intl } from './global-91edfca0.js';
4
+ import { i as isDemo, V, d as dist, H, W, F as Fe, b as mn, T, O, a as dn, h as hn, l as xe, S as Se, n as ke, f as useCallback, p as Ue, v as vn } from './index.module-99d8522e.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { a as useRequestRerender } from './re-render-1048d024.js';
10
- import { u as useChildElements } from './useChildElements-1338b131.js';
9
+ import { a as useRequestRerender } from './re-render-096db0eb.js';
10
+ import { u as useChildElements } from './useChildElements-b945a965.js';
11
11
  import './luxon-f01e85fe.js';
12
12
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
13
13
  import './sqm-text-span-view-8d140661.js';
14
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-49dfc8e0.js';
14
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-c9d54ef3.js';
15
15
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
16
- import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-53810b62.js';
16
+ import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-a5b397ce.js';
17
17
  import './sqm-portal-container-view-ab89c6cc.js';
18
18
 
19
19
  const BigStat = class {
@@ -33,7 +33,7 @@ const BigStat = class {
33
33
  render() {
34
34
  var _a;
35
35
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
36
- const host = x();
36
+ const host = V();
37
37
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
38
38
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
39
39
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -154,7 +154,7 @@ const styleString = sheet.toString();
154
154
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
155
155
  if (!missingProps)
156
156
  return false;
157
- const host = x();
157
+ const host = V();
158
158
  const [detailsOpen, setDetailsOpen] = useState(false);
159
159
  return (h$1("sl-alert", { type: "danger", open: true },
160
160
  h$1("style", { type: "text/css" }, styleString),
@@ -296,11 +296,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
296
296
  `;
297
297
  function useCouponCode(props) {
298
298
  var _a, _b, _c;
299
- const user = U();
300
- const programId = N();
301
- const engagementMedium = J();
302
- const [sendLoadEvent] = Ee(WIDGET_ENGAGEMENT_EVENT);
303
- const { data, loading, refetch, errors } = vn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
299
+ const user = H();
300
+ const programId = W();
301
+ const engagementMedium = T();
302
+ const [sendLoadEvent] = Fe(WIDGET_ENGAGEMENT_EVENT);
303
+ const { data, loading, refetch, errors } = mn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
304
304
  const getStatus = (reward) => {
305
305
  if (!reward || !reward.statuses)
306
306
  return "ERROR";
@@ -681,13 +681,13 @@ const defaultFormState = {
681
681
  error: "",
682
682
  };
683
683
  function useEditProfile(props) {
684
- const userIdent = U();
684
+ const userIdent = H();
685
685
  const [showEdit, setShowEdit] = useState(false);
686
686
  const [error, setError] = useState("");
687
687
  const [userData, setUserData] = useState(undefined);
688
688
  const [formState, setFormState] = useState(defaultFormState);
689
- const userDataResponse = vn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
690
- const [upsertUser, upsertUserResponse] = Ee(UPSERT_USER);
689
+ const userDataResponse = mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
690
+ const [upsertUser, upsertUserResponse] = Fe(UPSERT_USER);
691
691
  useEffect(() => {
692
692
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
693
693
  return;
@@ -1227,11 +1227,11 @@ const GET_RANK = dist.gql `
1227
1227
  `;
1228
1228
  function useLeaderboard(props) {
1229
1229
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1230
- const programIdContext = N();
1230
+ const programIdContext = W();
1231
1231
  // Default to context, overriden by props
1232
1232
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1233
- const user = U();
1234
- const locale = W();
1233
+ const user = H();
1234
+ const locale = O();
1235
1235
  const variables = programId
1236
1236
  ? {
1237
1237
  type: props.leaderboardType,
@@ -1250,8 +1250,8 @@ function useLeaderboard(props) {
1250
1250
  if (props.maxRows > 0) {
1251
1251
  variables["limit"] = props.maxRows;
1252
1252
  }
1253
- const { data: leaderboardData, loading: loadingLeaderboard } = vn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1254
- const { data: rankData } = vn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1253
+ const { data: leaderboardData, loading: loadingLeaderboard } = mn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1254
+ const { data: rankData } = mn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1255
1255
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1256
1256
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1257
1257
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1525,12 +1525,12 @@ function NavigationMenuView(props) {
1525
1525
  }
1526
1526
 
1527
1527
  function handleMenu(e) {
1528
- pn.push(e.detail.item.value);
1528
+ hn.push(e.detail.item.value);
1529
1529
  }
1530
1530
  function useNavigationMenu(props) {
1531
1531
  const ref = useRef();
1532
- const [, rerender] = ln();
1533
- const user = U();
1532
+ const [, rerender] = dn();
1533
+ const user = H();
1534
1534
  useEffect(() => {
1535
1535
  var _a;
1536
1536
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1584,11 +1584,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
1584
1584
 
1585
1585
  function usePortalChangePassword(props) {
1586
1586
  var _a, _b, _c, _d, _e, _f, _g;
1587
- const [request, { loading, errors, data }] = Oe();
1587
+ const [request, { loading, errors, data }] = xe();
1588
1588
  const [open, setOpen] = useState(false);
1589
1589
  const [error, setError] = useState("");
1590
1590
  const [success, setSuccess] = useState(false);
1591
- const user = U();
1591
+ const user = H();
1592
1592
  const submit = async (event) => {
1593
1593
  var _a, _b;
1594
1594
  setSuccess(false);
@@ -1784,7 +1784,7 @@ const PortalFooter = class {
1784
1784
  };
1785
1785
 
1786
1786
  function usePortalFrame(footerContent, headerContent) {
1787
- const [, rerender] = ln();
1787
+ const [, rerender] = dn();
1788
1788
  return {
1789
1789
  data: {
1790
1790
  footer: footerContent,
@@ -1834,9 +1834,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1834
1834
 
1835
1835
  function usePortalLogin(props) {
1836
1836
  var _a, _b, _c, _d, _e, _f, _g;
1837
- const [request, { loading, errors, data }] = Me();
1837
+ const [request, { loading, errors, data }] = Se();
1838
1838
  const [error, setError] = useState("");
1839
- const urlParams = new URLSearchParams(pn.location.search);
1839
+ const urlParams = new URLSearchParams(hn.location.search);
1840
1840
  const nextPageOverride = urlParams.get("nextPage");
1841
1841
  const submit = async (event) => {
1842
1842
  var _a, _b;
@@ -1855,7 +1855,7 @@ function usePortalLogin(props) {
1855
1855
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
1856
1856
  urlParams.delete("nextPage");
1857
1857
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
1858
- pn.push(url.href);
1858
+ hn.push(url.href);
1859
1859
  }
1860
1860
  };
1861
1861
  const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
@@ -1929,8 +1929,8 @@ const PortalLogin = class {
1929
1929
  ? useLoginDemo(this)
1930
1930
  : usePortalLogin(this);
1931
1931
  const content = {
1932
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => pn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1933
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.registerPath) }, this.registerLabel))),
1932
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => hn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1933
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => hn.push(states.registerPath) }, this.registerLabel))),
1934
1934
  emailLabel: this.emailLabel,
1935
1935
  passwordLabel: this.passwordLabel,
1936
1936
  submitLabel: this.submitLabel,
@@ -1959,7 +1959,7 @@ function usePortalRegister(props) {
1959
1959
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1960
1960
  const formRef = useRef(null);
1961
1961
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
1962
- const [request, { loading, errors, data }] = Ae();
1962
+ const [request, { loading, errors, data }] = ke();
1963
1963
  useEffect(() => {
1964
1964
  if (!formRef.current)
1965
1965
  return;
@@ -2032,7 +2032,7 @@ function usePortalRegister(props) {
2032
2032
  validationErrors: {},
2033
2033
  });
2034
2034
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
2035
- pn.push(props.nextPage);
2035
+ hn.push(props.nextPage);
2036
2036
  }
2037
2037
  }
2038
2038
  catch (error) {
@@ -2182,7 +2182,7 @@ const PortalRegister = class {
2182
2182
  : usePortalRegister(this);
2183
2183
  const content = {
2184
2184
  formData: h$1("slot", { name: "formData" }),
2185
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, this.loginLabel))),
2185
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => hn.push(states.loginPath) }, this.loginLabel))),
2186
2186
  terms: h$1("slot", { name: "terms" }),
2187
2187
  emailLabel: this.emailLabel,
2188
2188
  passwordLabel: this.passwordLabel,
@@ -2347,11 +2347,11 @@ const ProgramExplainerStep = class {
2347
2347
  const debug = browser("sq:useProgramMenu");
2348
2348
  const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
2349
2349
  function useProgramMenu(props) {
2350
- const programId = N();
2351
- const host = x();
2350
+ const programId = W();
2351
+ const host = V();
2352
2352
  debug({ programId, props });
2353
2353
  const ref = useRef();
2354
- const [, rerender] = ln();
2354
+ const [, rerender] = dn();
2355
2355
  useEffect(() => {
2356
2356
  var _a;
2357
2357
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
@@ -2529,9 +2529,9 @@ const GET_USER_DETAILS = dist.gql `
2529
2529
  `;
2530
2530
  function useReferralIframe(props) {
2531
2531
  var _a;
2532
- const programId = N();
2533
- const user = U();
2534
- const { data } = vn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2532
+ const programId = W();
2533
+ const user = H();
2534
+ const { data } = mn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2535
2535
  return {
2536
2536
  states: {
2537
2537
  content: props,
@@ -3256,9 +3256,9 @@ function useRewardExchangeList(props) {
3256
3256
  });
3257
3257
  const [open, setOpen] = useState(false);
3258
3258
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3259
- const user = U();
3260
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Ee(EXCHANGE);
3261
- const { data, loading, refetch, errors: queryError, } = vn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3259
+ const user = H();
3260
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Fe(EXCHANGE);
3261
+ const { data, loading, refetch, errors: queryError, } = mn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3262
3262
  useEffect(() => {
3263
3263
  var _a, _b;
3264
3264
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -3277,7 +3277,7 @@ function useRewardExchangeList(props) {
3277
3277
  canvas.confetti || confetti.create(canvas, { resize: true });
3278
3278
  canvas.confetti();
3279
3279
  }, [canvasRef.current]);
3280
- const { refresh } = Le();
3280
+ const { refresh } = Ue();
3281
3281
  async function exchangeReward() {
3282
3282
  if (!selectedItem)
3283
3283
  return;
@@ -3585,8 +3585,8 @@ function matchPath(pattern, page) {
3585
3585
  return regexp.exec(page);
3586
3586
  }
3587
3587
  function useRouter() {
3588
- const location = gn();
3589
- const host = x();
3588
+ const location = vn();
3589
+ const host = V();
3590
3590
  const [slot, setSlot] = useState(undefined);
3591
3591
  const [container, setContainer] = useState(undefined);
3592
3592
  const page = location.pathname;
@@ -3837,11 +3837,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
3837
3837
  `;
3838
3838
  function useShareCode(props) {
3839
3839
  var _a, _b;
3840
- const { programId = N() } = props;
3841
- const user = U();
3842
- const engagementMedium = J();
3843
- const { data } = vn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3844
- const [sendLoadEvent] = Ee(WIDGET_ENGAGEMENT_EVENT$1);
3840
+ const { programId = W() } = props;
3841
+ const user = H();
3842
+ const engagementMedium = T();
3843
+ const { data } = mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3844
+ const [sendLoadEvent] = Fe(WIDGET_ENGAGEMENT_EVENT$1);
3845
3845
  const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
3846
3846
  // Shown during loading
3847
3847
  "...";
@@ -4066,10 +4066,10 @@ const SEND_EVENT = dist.gql `
4066
4066
  }
4067
4067
  `;
4068
4068
  function useTaskCard(props) {
4069
- const user = U();
4070
- const locale = W();
4071
- const [sendUserEvent, { data, loading: loadingEvent }] = Ee(SEND_EVENT);
4072
- const { refresh } = Le();
4069
+ const user = H();
4070
+ const locale = O();
4071
+ const [sendUserEvent, { data, loading: loadingEvent }] = Fe(SEND_EVENT);
4072
+ const { refresh } = Ue();
4073
4073
  useEffect(() => {
4074
4074
  if (data) {
4075
4075
  refresh();
@@ -4390,8 +4390,8 @@ const GET_USER_NAME = dist.gql `
4390
4390
  `;
4391
4391
  function useUserName(props) {
4392
4392
  var _a, _b, _c, _d, _e, _f, _g, _h;
4393
- const user = U();
4394
- const res = vn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4393
+ const user = H();
4394
+ const res = mn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4395
4395
  const loading = res.loading;
4396
4396
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
4397
4397
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { g as getEnvironmentSDK } from './index.module-9469b28f.js';
3
+ import { g as getEnvironmentSDK } from './index.module-99d8522e.js';
4
4
  import './mixins-f60a614c.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as m, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { H, b as be, L, a as Ce } from './index.module-9469b28f.js';
3
+ import { _, C as Ce, U, c as ye } from './index.module-99d8522e.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
- const token = H();
6
+ const token = _();
7
7
  const appDomain = domain;
8
- const tenantAlias = L();
8
+ const tenantAlias = U();
9
9
  // Memoization is shared. One client per domain, tenant and token (or null)
10
- const managedIdentityClient = be(appDomain, tenantAlias, token);
11
- const [, setGraphQLClient] = m(Ce, managedIdentityClient);
10
+ const managedIdentityClient = Ce(appDomain, tenantAlias, token);
11
+ const [, setGraphQLClient] = m(ye, managedIdentityClient);
12
12
  useEffect(() => {
13
13
  setGraphQLClient(managedIdentityClient);
14
14
  }, [managedIdentityClient]);
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { i as isDemo, c as setUserIdentity } from './index.module-9469b28f.js';
3
+ import { i as isDemo, e as setUserIdentity } from './index.module-99d8522e.js';
4
4
  import './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.js';
9
- import './useRegistrationFormState-49dfc8e0.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-53c43a63.js';
9
+ import './useRegistrationFormState-c9d54ef3.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-7f9f4360.js';
11
11
 
12
12
  const InstantAccessRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { i as intl } from './global-179b13db.js';
4
- import { d as dist, N, U, v as vn, i as isDemo } from './index.module-9469b28f.js';
3
+ import { i as intl } from './global-91edfca0.js';
4
+ import { d as dist, W, H, b as mn, i as isDemo } from './index.module-99d8522e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
7
7
 
@@ -20,10 +20,10 @@ const GET_RANK = dist.gql `
20
20
  `;
21
21
  function useLeaderboardRank(props) {
22
22
  var _a, _b, _c, _d;
23
- const programIdContext = N();
23
+ const programIdContext = W();
24
24
  // Default to context, overriden by props
25
25
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
26
- const user = U();
26
+ const user = H();
27
27
  const rankVariables = programId
28
28
  ? {
29
29
  type: props.leaderboardType,
@@ -36,7 +36,7 @@ function useLeaderboardRank(props) {
36
36
  if (props.interval) {
37
37
  rankVariables.filter["interval"] = props.interval;
38
38
  }
39
- const { data: rankData } = vn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
39
+ const { data: rankData } = mn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
40
40
  const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
41
41
  rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
42
42
  })
@@ -2,7 +2,13 @@ import { h } from './index-17b4da69.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  const style = {
5
- Container: { color: "var(--sl-color-neutral-600)" },
5
+ Container: { display: "flex", color: "var(--sl-color-neutral-600)" },
6
+ Text: {
7
+ maxWidth: "400px",
8
+ display: "inline-block",
9
+ overflow: "hidden",
10
+ textOverflow: "ellipsis",
11
+ },
6
12
  Link: {
7
13
  textDecoration: "none",
8
14
  color: "var(--sl-color-primary-700)",
@@ -21,14 +27,15 @@ const vanillaStyle = `
21
27
  const sheet = createStyleSheet(style);
22
28
  const styleString = sheet.toString();
23
29
  function LogoutCurrentUserView(props) {
24
- const { filledInEmailText, onSwitchClick, switchUserText } = props;
30
+ const { loading, filledInEmailText, onSwitchClick, switchUserText, emailErrorText, } = props;
25
31
  return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
26
32
  h("style", { type: "text/css" },
27
33
  styleString,
28
34
  vanillaStyle),
29
- filledInEmailText,
30
- " (",
31
- h("a", { class: sheet.classes.Link, onClick: onSwitchClick, part: "sqm-link" }, switchUserText),
35
+ h("span", { class: sheet.classes.Text }, loading ? "..." : filledInEmailText || emailErrorText),
36
+ " ",
37
+ "(",
38
+ h("span", { class: sheet.classes.Link, onClick: onSwitchClick, part: "sqm-link" }, switchUserText),
32
39
  ")"));
33
40
  }
34
41
 
@@ -1,19 +1,33 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { U, c as setUserIdentity, i as isDemo } from './index.module-9469b28f.js';
3
+ import { d as dist, H, b as mn, e as setUserIdentity, i as isDemo } from './index.module-99d8522e.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
- import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2d740794.js';
7
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
8
8
 
9
+ const GET_USER_DETAILS = dist.gql `
10
+ query getUserDetails($id: String!, $accountId: String!) {
11
+ user(id: $id, accountId: $accountId) {
12
+ id
13
+ accountId
14
+ email
15
+ }
16
+ }
17
+ `;
9
18
  function useLogoutCurrentUser(props) {
10
- var _a;
11
- const user = U();
19
+ var _a, _b;
20
+ const user = H();
21
+ const { loading, data } = mn(GET_USER_DETAILS, {
22
+ id: user === null || user === void 0 ? void 0 : user.id,
23
+ accountId: user === null || user === void 0 ? void 0 : user.accountId,
24
+ }, !user);
12
25
  const onSwitchClick = () => {
13
26
  setUserIdentity(undefined);
14
27
  };
15
- const filledInEmailText = (_a = props.userIdentificationText) === null || _a === void 0 ? void 0 : _a.replace("{email}", (user === null || user === void 0 ? void 0 : user.id) || "Error fetching email");
28
+ const filledInEmailText = (_a = props.userIdentificationText) === null || _a === void 0 ? void 0 : _a.replace("{email}", (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.email);
16
29
  return {
30
+ loading,
17
31
  onSwitchClick,
18
32
  filledInEmailText,
19
33
  ...props,
@@ -33,6 +47,11 @@ const LogoutCurrentUser = class {
33
47
  * @uiName Switch user button label
34
48
  */
35
49
  this.switchUserText = "not you?";
50
+ /**
51
+ * @required
52
+ * @uiName Error text
53
+ */
54
+ this.emailErrorText = "Error fetching email";
36
55
  h(this);
37
56
  }
38
57
  disconnectedCallback() { }
@@ -43,6 +62,7 @@ const LogoutCurrentUser = class {
43
62
  const content = {
44
63
  userIdentificationText: this.userIdentificationText,
45
64
  switchUserText: this.switchUserText,
65
+ emailErrorText: this.emailErrorText,
46
66
  };
47
67
  return h$1(LogoutCurrentUserView, Object.assign({}, props, content));
48
68
  }
@@ -52,6 +72,8 @@ function useDemoLogoutCurrentUser(props) {
52
72
  onSwitchClick: () => setUserIdentity(undefined),
53
73
  filledInEmailText: "john@example.com",
54
74
  switchUserText: props.switchUserText,
75
+ emailErrorText: props.emailErrorText,
76
+ loading: false,
55
77
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
56
78
  }
57
79
 
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { p as pn } from './index.module-9469b28f.js';
2
+ import { h as hn } from './index.module-99d8522e.js';
3
3
  import { g as gap } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
33
33
  const styleString = sheet.toString();
34
34
  return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
35
35
  e.preventDefault();
36
- pn.push(data.path);
36
+ hn.push(data.path);
37
37
  }, class: sheet.classes.ItemContainer },
38
38
  h("style", { type: "text/css" }, styleString),
39
39
  h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { f as gn, i as isDemo } from './index.module-9469b28f.js';
3
+ import { v as vn, i as isDemo } from './index.module-99d8522e.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './mixins-f60a614c.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-d2e0fdb1.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-eb765b9c.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
- const currentPage = gn();
11
+ const currentPage = vn();
12
12
  return {
13
13
  states: {
14
14
  active: currentPage.pathname === props.path,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h, j as useState, f as useEffect } from './stencil-hooks.module-14b87f98.js';
3
- import { f as gn, N } from './index.module-9469b28f.js';
3
+ import { v as vn, W } from './index.module-99d8522e.js';
4
4
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
5
5
 
6
6
  const NavigationSidebar = class {
@@ -16,8 +16,8 @@ const NavigationSidebar = class {
16
16
  }
17
17
  };
18
18
  function useNavigationSidebar() {
19
- const location = gn();
20
- const programId = N();
19
+ const location = vn();
20
+ const programId = W();
21
21
  const [checked, setChecked] = useState(false);
22
22
  // Close hamburger menu after navigation
23
23
  useEffect(() => {
@@ -1,10 +1,10 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { o as d, j as useState, m as h$1 } from './stencil-hooks.module-14b87f98.js';
3
- import { i as isDemo } from './index.module-9469b28f.js';
3
+ import { i as isDemo } from './index.module-99d8522e.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { E as ErrorStyles } from './mixins-f60a614c.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-49dfc8e0.js';
7
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-c9d54ef3.js';
8
8
 
9
9
  var constants = {
10
10
  error: {
@@ -1,6 +1,6 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h$1 } from './stencil-hooks.module-14b87f98.js';
3
- import { J } from './index.module-9469b28f.js';
3
+ import { T } from './index.module-99d8522e.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -14,10 +14,10 @@ const PopupContainerView = (props) => {
14
14
  };
15
15
 
16
16
  function usePopupContainer(props) {
17
- const engagementMedium = J();
17
+ const engagementMedium = T();
18
18
  function closePopup() {
19
19
  var _a;
20
- if (J() === "POPUP") {
20
+ if (T() === "POPUP") {
21
21
  (_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
22
22
  }
23
23
  }
@@ -31,7 +31,7 @@ function usePopupContainer(props) {
31
31
  ? "0"
32
32
  : `var(--sl-spacing-${props.embedPadding})`
33
33
  : "0";
34
- const padding = J() === "POPUP" ? popupPadding : embedPadding;
34
+ const padding = T() === "POPUP" ? popupPadding : embedPadding;
35
35
  return {
36
36
  states: {
37
37
  showCloseButton: props.closeButton && engagementMedium === "POPUP",
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-179b13db.js';
2
+ import { i as intl } from './global-91edfca0.js';
3
3
  import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, k as useRef, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import './global-179b13db.js';
4
- import { h as sn, Z as Ze, U, p as pn, u as useCallback, i as isDemo } from './index.module-9469b28f.js';
3
+ import './global-91edfca0.js';
4
+ import { o as on, K as Ke, H, h as hn, f as useCallback, i as isDemo } from './index.module-99d8522e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-79ef6c2f.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-408af676.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13
- const [request, { loading, data, errors }] = sn();
14
- const [getVerificationStatus, { data: user, loading: loadingVerification }] = Ze();
15
- const userIdent = U();
13
+ const [request, { loading, data, errors }] = on();
14
+ const [getVerificationStatus, { data: user, loading: loadingVerification }] = Ke();
15
+ const userIdent = H();
16
16
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
17
- const urlParams = new URLSearchParams(pn.location.search);
17
+ const urlParams = new URLSearchParams(hn.location.search);
18
18
  const nextPage = urlParams.get("nextPage");
19
19
  const [success, setSuccess] = useState(false);
20
20
  const [error, setError] = useState("");
@@ -44,7 +44,7 @@ function usePortalEmailVerification(props) {
44
44
  const data = (await getVerificationStatus());
45
45
  if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
46
46
  clearInterval(timerRef.current);
47
- return pn.push({
47
+ return hn.push({
48
48
  pathname: props.redirectPath,
49
49
  search: urlParams.toString() && "?" + urlParams.toString(),
50
50
  });