@saasquatch/mint-components 1.7.1-0 → 1.7.2-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/cjs/{ShadowViewAddon-b997bca7.js → ShadowViewAddon-d0a52d38.js} +17 -12
  2. package/dist/cjs/{global-de2bf4f7.js → global-6785de71.js} +1 -1
  3. package/dist/cjs/{index.module-ccd9cbad.js → index.module-02576958.js} +8 -8
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/{re-render-378abee0.js → re-render-c484d9ab.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +37 -37
  9. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  11. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
  13. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
  14. package/dist/cjs/{sqm-navigation-sidebar-item-view-7e751389.js → sqm-navigation-sidebar-item-view-21dcca39.js} +2 -2
  15. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-6f0aea50.js → sqm-portal-email-verification-view-d6e14e8d.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
  21. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  23. package/dist/cjs/{sqm-portal-profile-view-0abcf3b8.js → sqm-portal-profile-view-13a1229f.js} +1 -1
  24. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  25. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  29. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  31. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  33. package/dist/cjs/sqm-stencilbook.cjs.entry.js +48 -48
  34. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  36. package/dist/cjs/{useChildElements-4cfa421a.js → useChildElements-74eb05b6.js} +1 -1
  37. package/dist/cjs/{useInstantAccessRegistration-45026b1f.js → useInstantAccessRegistration-11ff69f8.js} +2 -2
  38. package/dist/cjs/{useReferralTable-f1f85db9.js → useReferralTable-6ca43436.js} +6 -6
  39. package/dist/cjs/{useRegistrationFormState-7e9641c4.js → useRegistrationFormState-01d63bda.js} +1 -1
  40. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +7 -7
  41. package/dist/collection/components/sqm-share-link/useShareLink.js +6 -1
  42. package/dist/esm/{ShadowViewAddon-5508ac9d.js → ShadowViewAddon-2c82b555.js} +17 -12
  43. package/dist/esm/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
  44. package/dist/esm/{index.module-c549b2c8.js → index.module-99d8522e.js} +2 -2
  45. package/dist/esm/loader.js +2 -2
  46. package/dist/esm/mint-components.js +2 -2
  47. package/dist/esm/{re-render-3211b893.js → re-render-096db0eb.js} +1 -1
  48. package/dist/esm/sqm-asset-card.entry.js +1 -1
  49. package/dist/esm/sqm-big-stat_39.entry.js +39 -39
  50. package/dist/esm/sqm-close-button.entry.js +1 -1
  51. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  52. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  53. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
  54. package/dist/esm/sqm-logout-current-user.entry.js +2 -2
  55. package/dist/esm/{sqm-navigation-sidebar-item-view-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.js} +2 -2
  56. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  57. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  58. package/dist/esm/sqm-password-field.entry.js +2 -2
  59. package/dist/esm/sqm-popup-container.entry.js +1 -1
  60. package/dist/esm/{sqm-portal-email-verification-view-87413403.js → sqm-portal-email-verification-view-408af676.js} +1 -1
  61. package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
  62. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  63. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  64. package/dist/esm/{sqm-portal-profile-view-977710a3.js → sqm-portal-profile-view-efa44888.js} +1 -1
  65. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  66. package/dist/esm/sqm-portal-protected-route.entry.js +4 -4
  67. package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
  68. package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
  69. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  70. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  71. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  72. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  73. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  74. package/dist/esm/sqm-stencilbook.entry.js +48 -48
  75. package/dist/esm/sqm-tab.entry.js +2 -2
  76. package/dist/esm/sqm-tabs.entry.js +3 -3
  77. package/dist/esm/{useChildElements-a97f3864.js → useChildElements-b945a965.js} +1 -1
  78. package/dist/esm/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +2 -2
  79. package/dist/esm/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +6 -6
  80. package/dist/esm/{useRegistrationFormState-b1f730bd.js → useRegistrationFormState-c9d54ef3.js} +1 -1
  81. package/dist/esm-es5/ShadowViewAddon-2c82b555.js +1 -0
  82. package/dist/esm-es5/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
  83. package/dist/esm-es5/{index.module-c549b2c8.js → index.module-99d8522e.js} +1 -1
  84. package/dist/esm-es5/loader.js +1 -1
  85. package/dist/esm-es5/mint-components.js +1 -1
  86. package/dist/esm-es5/{re-render-3211b893.js → re-render-096db0eb.js} +1 -1
  87. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  88. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  89. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  90. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  91. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  92. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  93. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  94. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.js} +1 -1
  95. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  96. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  97. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  98. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  99. package/dist/esm-es5/{sqm-portal-email-verification-view-87413403.js → sqm-portal-email-verification-view-408af676.js} +1 -1
  100. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  101. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  102. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  103. package/dist/esm-es5/{sqm-portal-profile-view-977710a3.js → sqm-portal-profile-view-efa44888.js} +1 -1
  104. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  105. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  106. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  107. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  108. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  109. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  110. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  111. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  112. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  113. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  114. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  115. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  116. package/dist/esm-es5/{useChildElements-a97f3864.js → useChildElements-b945a965.js} +1 -1
  117. package/dist/esm-es5/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +1 -1
  118. package/dist/esm-es5/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +1 -1
  119. package/dist/esm-es5/useRegistrationFormState-c9d54ef3.js +1 -0
  120. package/dist/mint-components/mint-components.esm.js +1 -1
  121. package/dist/mint-components/mint-components.js +1 -1
  122. package/dist/mint-components/{p-626dc2ce.entry.js → p-00196b47.entry.js} +5 -5
  123. package/dist/mint-components/{p-b16930c5.entry.js → p-05f069ce.entry.js} +2 -2
  124. package/dist/mint-components/{p-086bc650.system.js → p-0943b547.system.js} +1 -1
  125. package/dist/mint-components/p-09cdd442.system.entry.js +1 -0
  126. package/dist/mint-components/{p-b0008fd2.system.entry.js → p-0a892e0f.system.entry.js} +1 -1
  127. package/dist/mint-components/p-0ad6459e.entry.js +1 -0
  128. package/dist/mint-components/{p-e5883a5f.entry.js → p-0b8f38a8.entry.js} +1 -1
  129. package/dist/mint-components/p-0de80de6.js +1 -0
  130. package/dist/mint-components/{p-c5fe9915.system.entry.js → p-13570402.system.entry.js} +1 -1
  131. package/dist/mint-components/{p-35604900.system.entry.js → p-1e884e97.system.entry.js} +1 -1
  132. package/dist/mint-components/p-1fa097d3.entry.js +1 -0
  133. package/dist/mint-components/p-22d1e92e.system.js +1 -0
  134. package/dist/mint-components/{p-fc7d9d19.system.entry.js → p-25ad41bd.system.entry.js} +1 -1
  135. package/dist/mint-components/{p-f60232ab.entry.js → p-2adb5310.entry.js} +1 -1
  136. package/dist/mint-components/{p-b4f1239f.system.entry.js → p-2bba85ac.system.entry.js} +1 -1
  137. package/dist/mint-components/{p-eaf2b723.js → p-2e9a5714.js} +1 -1
  138. package/dist/mint-components/{p-bb7f5f8b.entry.js → p-3e0bb7f9.entry.js} +1 -1
  139. package/dist/mint-components/{p-a3e28532.system.js → p-41c62fef.system.js} +1 -1
  140. package/dist/mint-components/{p-4f09f749.js → p-42844992.js} +1 -1
  141. package/dist/mint-components/{p-66a30837.system.entry.js → p-53f4f635.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-239f4be8.entry.js → p-57a89487.entry.js} +1 -1
  143. package/dist/mint-components/p-59318941.system.js +1 -0
  144. package/dist/mint-components/{p-6fc0c1a8.system.entry.js → p-66e3cb0c.system.entry.js} +1 -1
  145. package/dist/mint-components/{p-600b792e.system.entry.js → p-6d1a2821.system.entry.js} +1 -1
  146. package/dist/mint-components/p-6e793d76.system.entry.js +1 -0
  147. package/dist/mint-components/p-6fed24de.entry.js +1 -0
  148. package/dist/mint-components/{p-10b03137.system.entry.js → p-7d5ee633.system.entry.js} +1 -1
  149. package/dist/mint-components/{p-f2ec822a.js → p-831d1332.js} +1 -1
  150. package/dist/mint-components/{p-34c90e51.system.entry.js → p-84ee5462.system.entry.js} +1 -1
  151. package/dist/mint-components/p-878daf52.js +1 -0
  152. package/dist/mint-components/p-89e86134.entry.js +1 -0
  153. package/dist/mint-components/{p-cdddccfe.js → p-8b28c511.js} +1 -1
  154. package/dist/mint-components/{p-1d78d8ba.system.js → p-8b2b5d37.system.js} +1 -1
  155. package/dist/mint-components/{p-18ecc54e.system.entry.js → p-8f1974f8.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-2d6f3bbc.entry.js → p-9a74f167.entry.js} +1 -1
  157. package/dist/mint-components/{p-6cb2eff2.system.entry.js → p-9b2e0735.system.entry.js} +1 -1
  158. package/dist/mint-components/{p-46f41615.system.js → p-9f3a0252.system.js} +1 -1
  159. package/dist/mint-components/{p-c9210918.entry.js → p-a23a2a86.entry.js} +1 -1
  160. package/dist/mint-components/{p-cf5b20fc.system.js → p-a372d9cf.system.js} +1 -1
  161. package/dist/mint-components/{p-f6ee8a24.system.entry.js → p-a65e2e14.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-7195cdd7.system.entry.js → p-a6c026bc.system.entry.js} +1 -1
  163. package/dist/mint-components/{p-1f4828ad.system.js → p-a79208b8.system.js} +1 -1
  164. package/dist/mint-components/{p-8b02bfc7.system.entry.js → p-abfb3897.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-4069a5ac.entry.js → p-b0ef4f17.entry.js} +1 -1
  166. package/dist/mint-components/{p-6a578070.entry.js → p-b0f3c6c5.entry.js} +2 -2
  167. package/dist/mint-components/{p-1527ce05.entry.js → p-b4fddf49.entry.js} +1 -1
  168. package/dist/mint-components/{p-125c8c60.system.entry.js → p-b5b9aaba.system.entry.js} +1 -1
  169. package/dist/mint-components/{p-5ef6521c.system.js → p-b6dafb9b.system.js} +1 -1
  170. package/dist/mint-components/p-b9bf7576.system.js +1 -0
  171. package/dist/mint-components/{p-36182652.entry.js → p-b9c7b7ef.entry.js} +1 -1
  172. package/dist/mint-components/{p-8f13044b.system.entry.js → p-ba295930.system.entry.js} +1 -1
  173. package/dist/mint-components/{p-ac453316.system.entry.js → p-be8f19ba.system.entry.js} +1 -1
  174. package/dist/mint-components/{p-d41556bd.entry.js → p-c24d34d8.entry.js} +1 -1
  175. package/dist/mint-components/{p-b43ea640.entry.js → p-c2bd46e2.entry.js} +1 -1
  176. package/dist/mint-components/{p-428256ab.js → p-ce5b03c8.js} +8 -3
  177. package/dist/mint-components/p-ce748fab.js +1 -0
  178. package/dist/mint-components/{p-2ff85968.entry.js → p-d5e83056.entry.js} +1 -1
  179. package/dist/mint-components/{p-bb5ec5c2.js → p-d65bf9dc.js} +1 -1
  180. package/dist/mint-components/{p-706a112f.entry.js → p-d846f34f.entry.js} +2 -2
  181. package/dist/mint-components/p-db9652e7.system.entry.js +1 -0
  182. package/dist/mint-components/{p-b4deff58.entry.js → p-e058ba88.entry.js} +1 -1
  183. package/dist/mint-components/{p-c1962b42.entry.js → p-e3de804b.entry.js} +1 -1
  184. package/dist/mint-components/{p-d9e05949.system.entry.js → p-e49392c3.system.entry.js} +1 -1
  185. package/dist/mint-components/p-e9197aac.entry.js +1 -0
  186. package/dist/mint-components/{p-6ff1de8a.js → p-eab33344.js} +1 -1
  187. package/dist/mint-components/{p-01d691c5.system.entry.js → p-ed9374ef.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-e0604038.system.js → p-ee7bc1c7.system.js} +1 -1
  189. package/dist/mint-components/{p-bb9a9cf3.entry.js → p-ef6a3ff3.entry.js} +2 -2
  190. package/dist/mint-components/{p-25fd6ee0.system.entry.js → p-f04ce58d.system.entry.js} +1 -1
  191. package/dist/mint-components/p-f064bf28.entry.js +1 -0
  192. package/dist/mint-components/p-f21aa0bd.entry.js +1 -0
  193. package/dist/mint-components/{p-01be40a8.system.entry.js → p-f60d9f3e.system.entry.js} +1 -1
  194. package/dist/mint-components/{p-9df46d84.system.js → p-f63961b4.system.js} +1 -1
  195. package/dist/mint-components/{p-b953ae7f.js → p-f71cfd64.js} +1 -1
  196. package/dist/mint-components/{p-e3fc9e65.system.entry.js → p-f7b5c0ac.system.entry.js} +1 -1
  197. package/docs/docs.docx +0 -0
  198. package/package.json +1 -1
  199. package/dist/esm-es5/ShadowViewAddon-5508ac9d.js +0 -1
  200. package/dist/esm-es5/useRegistrationFormState-b1f730bd.js +0 -1
  201. package/dist/mint-components/p-2108937d.js +0 -1
  202. package/dist/mint-components/p-37678b57.entry.js +0 -1
  203. package/dist/mint-components/p-3c02b80b.entry.js +0 -1
  204. package/dist/mint-components/p-5da880d1.js +0 -1
  205. package/dist/mint-components/p-6a15c0c5.system.entry.js +0 -1
  206. package/dist/mint-components/p-79787bf3.system.js +0 -1
  207. package/dist/mint-components/p-844b9513.entry.js +0 -1
  208. package/dist/mint-components/p-87a6bfa4.entry.js +0 -1
  209. package/dist/mint-components/p-99ec46fe.js +0 -1
  210. package/dist/mint-components/p-a984852e.entry.js +0 -1
  211. package/dist/mint-components/p-ad1fb768.entry.js +0 -1
  212. package/dist/mint-components/p-b2f447a6.entry.js +0 -1
  213. package/dist/mint-components/p-c0e7d16e.system.js +0 -1
  214. package/dist/mint-components/p-c32a8733.system.js +0 -1
  215. package/dist/mint-components/p-e61bedb4.system.entry.js +0 -1
  216. package/dist/mint-components/p-fd8addea.system.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { f as useEffect } from './stencil-hooks.module-14b87f98.js';
2
- import { V, a as dn } from './index.module-c549b2c8.js';
2
+ import { V, a as dn } from './index.module-99d8522e.js';
3
3
 
4
4
  const RENDER_EVENT = "sqm:request-rerender";
5
5
  /**
@@ -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 { i as isDemo } from './index.module-c549b2c8.js';
3
+ import { 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 { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
@@ -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-3cb5aea4.js';
4
- import { i as isDemo, V, d as dist, L, O, I as Ie, b as mn, T, W, a as dn, p as pn, k as xe, S as Se, l as ke, f as useCallback, n as _e, v as vn } from './index.module-c549b2c8.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-3211b893.js';
10
- import { u as useChildElements } from './useChildElements-a97f3864.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-b1f730bd.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-5508ac9d.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-2c82b555.js';
17
17
  import './sqm-portal-container-view-ab89c6cc.js';
18
18
 
19
19
  const BigStat = class {
@@ -296,10 +296,10 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
296
296
  `;
297
297
  function useCouponCode(props) {
298
298
  var _a, _b, _c;
299
- const user = L();
300
- const programId = O();
299
+ const user = H();
300
+ const programId = W();
301
301
  const engagementMedium = T();
302
- const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT);
302
+ const [sendLoadEvent] = Fe(WIDGET_ENGAGEMENT_EVENT);
303
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)
@@ -681,13 +681,13 @@ const defaultFormState = {
681
681
  error: "",
682
682
  };
683
683
  function useEditProfile(props) {
684
- const userIdent = L();
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
689
  const userDataResponse = mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
690
- const [upsertUser, upsertUserResponse] = Ie(UPSERT_USER);
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 = O();
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 = L();
1234
- const locale = W();
1233
+ const user = H();
1234
+ const locale = O();
1235
1235
  const variables = programId
1236
1236
  ? {
1237
1237
  type: props.leaderboardType,
@@ -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
1532
  const [, rerender] = dn();
1533
- const user = L();
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));
@@ -1588,7 +1588,7 @@ function usePortalChangePassword(props) {
1588
1588
  const [open, setOpen] = useState(false);
1589
1589
  const [error, setError] = useState("");
1590
1590
  const [success, setSuccess] = useState(false);
1591
- const user = L();
1591
+ const user = H();
1592
1592
  const submit = async (event) => {
1593
1593
  var _a, _b;
1594
1594
  setSuccess(false);
@@ -1836,7 +1836,7 @@ function usePortalLogin(props) {
1836
1836
  var _a, _b, _c, _d, _e, _f, _g;
1837
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,
@@ -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,7 +2347,7 @@ 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 = O();
2350
+ const programId = W();
2351
2351
  const host = V();
2352
2352
  debug({ programId, props });
2353
2353
  const ref = useRef();
@@ -2529,8 +2529,8 @@ const GET_USER_DETAILS = dist.gql `
2529
2529
  `;
2530
2530
  function useReferralIframe(props) {
2531
2531
  var _a;
2532
- const programId = O();
2533
- const user = L();
2532
+ const programId = W();
2533
+ const user = H();
2534
2534
  const { data } = mn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2535
2535
  return {
2536
2536
  states: {
@@ -3243,7 +3243,7 @@ const EXCHANGE = dist.gql `
3243
3243
  }
3244
3244
  `;
3245
3245
  function useRewardExchangeList(props) {
3246
- var _a, _b, _c, _d, _e$1;
3246
+ var _a, _b, _c, _d, _e;
3247
3247
  const [exchangeState, setExchangeState] = useReducer((state, next) => ({
3248
3248
  ...state,
3249
3249
  ...next,
@@ -3256,8 +3256,8 @@ function useRewardExchangeList(props) {
3256
3256
  });
3257
3257
  const [open, setOpen] = useState(false);
3258
3258
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3259
- const user = L();
3260
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Ie(EXCHANGE);
3259
+ const user = H();
3260
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Fe(EXCHANGE);
3261
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;
@@ -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 } = _e();
3280
+ const { refresh } = Ue();
3281
3281
  async function exchangeReward() {
3282
3282
  if (!selectedItem)
3283
3283
  return;
@@ -3376,7 +3376,7 @@ function useRewardExchangeList(props) {
3376
3376
  },
3377
3377
  data: {
3378
3378
  exchangeList: (_c = (_b = data === null || data === void 0 ? void 0 : data.viewer) === null || _b === void 0 ? void 0 : _b.visibleRewardExchangeItems) === null || _c === void 0 ? void 0 : _c.data,
3379
- fuelTankCode: (_e$1 = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e$1 === void 0 ? void 0 : _e$1.fuelTankCode,
3379
+ fuelTankCode: (_e = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e === void 0 ? void 0 : _e.fuelTankCode,
3380
3380
  },
3381
3381
  callbacks: {
3382
3382
  exchangeReward,
@@ -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 = O() } = props;
3841
- const user = L();
3840
+ const { programId = W() } = props;
3841
+ const user = H();
3842
3842
  const engagementMedium = T();
3843
3843
  const { data } = mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3844
- const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT$1);
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 = L();
4070
- const locale = W();
4071
- const [sendUserEvent, { data, loading: loadingEvent }] = Ie(SEND_EVENT);
4072
- const { refresh } = _e();
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,7 +4390,7 @@ 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 = L();
4393
+ const user = H();
4394
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)
@@ -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-c549b2c8.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,11 +1,11 @@
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, C as Ce, _, c as ye } from './index.module-c549b2c8.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 = _();
8
+ const tenantAlias = U();
9
9
  // Memoization is shared. One client per domain, tenant and token (or null)
10
10
  const managedIdentityClient = Ce(appDomain, tenantAlias, token);
11
11
  const [, setGraphQLClient] = m(ye, 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, e as setUserIdentity } from './index.module-c549b2c8.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-b1f730bd.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-47501f2c.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-3cb5aea4.js';
4
- import { d as dist, O, L, b as mn, i as isDemo } from './index.module-c549b2c8.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 = O();
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 = L();
26
+ const user = H();
27
27
  const rankVariables = programId
28
28
  ? {
29
29
  type: props.leaderboardType,
@@ -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 { L, e as setUserIdentity, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { H, 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';
@@ -8,7 +8,7 @@ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2d740
8
8
 
9
9
  function useLogoutCurrentUser(props) {
10
10
  var _a;
11
- const user = L();
11
+ const user = H();
12
12
  const onSwitchClick = () => {
13
13
  setUserIdentity(undefined);
14
14
  };
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { p as pn } from './index.module-c549b2c8.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,11 +1,11 @@
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 { v as vn, i as isDemo } from './index.module-c549b2c8.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-e9296d4b.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-eb765b9c.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
11
  const currentPage = vn();
@@ -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 { v as vn, O } from './index.module-c549b2c8.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 {
@@ -17,7 +17,7 @@ const NavigationSidebar = class {
17
17
  };
18
18
  function useNavigationSidebar() {
19
19
  const location = vn();
20
- const programId = O();
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-c549b2c8.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-b1f730bd.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 { T } from './index.module-c549b2c8.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) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-3cb5aea4.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-3cb5aea4.js';
4
- import { o as on, K as Ke, L, p as pn, f as useCallback, i as isDemo } from './index.module-c549b2c8.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-87413403.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
13
  const [request, { loading, data, errors }] = on();
14
14
  const [getVerificationStatus, { data: user, loading: loadingVerification }] = Ke();
15
- const userIdent = L();
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
  });
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { t as tn, p as pn, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { r as rn, h as hn, i as isDemo } from './index.module-99d8522e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
@@ -12,8 +12,8 @@ function usePortalForgotPassword(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g;
13
13
  const [success, setSuccess] = useState(false);
14
14
  const [error, setError] = useState("");
15
- const [request, { loading, data, errors }] = tn();
16
- const urlParams = new URLSearchParams(pn.location.search);
15
+ const [request, { loading, data, errors }] = rn();
16
+ const urlParams = new URLSearchParams(hn.location.search);
17
17
  const nextPage = urlParams.get("nextPage");
18
18
  const submit = async (event) => {
19
19
  var _a;
@@ -93,7 +93,7 @@ const PortalForgotPassword = class {
93
93
  ? usePortalForgotPasswordDemo(this)
94
94
  : usePortalForgotPassword(this);
95
95
  const content = {
96
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, "Sign In"))),
96
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => hn.push(states.loginPath) }, "Sign In"))),
97
97
  messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
98
98
  emailLabel: this.emailLabel,
99
99
  submitLabel: this.submitLabel,
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { e as setUserIdentity, p as pn, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { e as setUserIdentity, h as hn, i as isDemo } from './index.module-99d8522e.js';
4
4
 
5
5
  function usePortalLogout({ nextPage }) {
6
6
  setUserIdentity(undefined);
7
- pn.push({ pathname: nextPage, search: "" });
7
+ hn.push({ pathname: nextPage, search: "" });
8
8
  }
9
9
 
10
10
  const PortalLogout = class {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-3cb5aea4.js';
2
+ import { i as intl } from './global-91edfca0.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
5
5
 
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import './global-3cb5aea4.js';
4
- import { d as dist, L, b as mn, I as Ie, i as isDemo } from './index.module-c549b2c8.js';
3
+ import './global-91edfca0.js';
4
+ import { d as dist, H, b as mn, F as Fe, i as isDemo } from './index.module-99d8522e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-977710a3.js';
9
+ import { P as PortalProfileView } from './sqm-portal-profile-view-efa44888.js';
10
10
 
11
11
  const GET_USER = dist.gql `
12
12
  query {
@@ -52,12 +52,12 @@ const defaultFormState = {
52
52
  error: "",
53
53
  };
54
54
  function usePortalProfile(props) {
55
- const userIdent = L();
55
+ const userIdent = H();
56
56
  const [success, setSuccess] = useState(false);
57
57
  const [userData, setUserData] = useState(undefined);
58
58
  const [formState, setFormState] = useState(defaultFormState);
59
59
  const userDataResponse = mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
60
- const [upsertUser, upsertUserResponse] = Ie(UPSERT_USER);
60
+ const [upsertUser, upsertUserResponse] = Fe(UPSERT_USER);
61
61
  useEffect(() => {
62
62
  if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
63
63
  return;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { L, v as vn, p as pn, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { H, v as vn, h as hn, i as isDemo } from './index.module-99d8522e.js';
4
4
 
5
5
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
6
6
  var _a;
7
- const userIdent = L();
7
+ const userIdent = H();
8
8
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
9
9
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
10
10
  const { pathname, search } = vn();
@@ -12,13 +12,13 @@ function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirec
12
12
  nextPageParam.append("nextPage", `${pathname}${search}`);
13
13
  useEffect(() => {
14
14
  if (!authenticated) {
15
- return pn.push({
15
+ return hn.push({
16
16
  pathname: redirectTo,
17
17
  search: "?" + nextPageParam.toString(),
18
18
  });
19
19
  }
20
20
  if (requireEmailVerification && !emailVerified) {
21
- return pn.push({
21
+ return hn.push({
22
22
  pathname: redirectToUnverified || redirectTo,
23
23
  search: "?" + nextPageParam.toString(),
24
24
  });
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { k as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-14b87f98.js';
3
- import { d as dist, q as qe, b as mn, p as pn, f as useCallback, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { d as dist, q as qe, b as mn, h as hn, f as useCallback, i as isDemo } from './index.module-99d8522e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
9
- import { u as useRegistrationFormState } from './useRegistrationFormState-b1f730bd.js';
9
+ import { u as useRegistrationFormState } from './useRegistrationFormState-c9d54ef3.js';
10
10
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
11
 
12
12
  const style = {
@@ -206,7 +206,7 @@ function usePortalRegistrationForm(props) {
206
206
  managedIdentityResponse.result.results.length &&
207
207
  managedIdentityResponse.result.results[0].success &&
208
208
  managedIdentityResponse.result.results[0].data.token) {
209
- pn.push(props.nextPage);
209
+ hn.push(props.nextPage);
210
210
  }
211
211
  else if (
212
212
  // check for blocked email error response
@@ -395,7 +395,7 @@ const PortalRegistrationForm = class {
395
395
  : usePortalRegistrationForm(this);
396
396
  const content = {
397
397
  formData: h("slot", { name: "formData" }),
398
- secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, this.loginLabel))),
398
+ secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => hn.push(states.loginPath) }, this.loginLabel))),
399
399
  terms: h("slot", { name: "terms" }),
400
400
  emailLabel: this.emailLabel,
401
401
  passwordLabel: this.passwordLabel,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
3
- import { h as Le, N as Ne, p as pn, i as isDemo } from './index.module-c549b2c8.js';
3
+ import { j as He, N as Ne, h as hn, i as isDemo } from './index.module-99d8522e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
@@ -13,9 +13,9 @@ function usePortalResetPassword(props) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
14
  const [reset, setReset] = useState(false);
15
15
  const [error, setError] = useState("");
16
- const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Le();
16
+ const [verifyPasswordResetCode, verifyPasswordResetCodeState] = He();
17
17
  const [resetPassword, resetPasswordState] = Ne();
18
- const urlParams = new URLSearchParams(pn.location.search);
18
+ const urlParams = new URLSearchParams(hn.location.search);
19
19
  const oobCode = urlParams.get("oobCode");
20
20
  urlParams.delete("oobCode");
21
21
  const nextPageOverride = urlParams.get("nextPage");
@@ -53,10 +53,10 @@ function usePortalResetPassword(props) {
53
53
  const gotoNextPage = () => {
54
54
  urlParams.delete("nextPage");
55
55
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
56
- pn.push(url.href);
56
+ hn.push(url.href);
57
57
  };
58
58
  const failed = () => {
59
- pn.push({
59
+ hn.push({
60
60
  pathname: props.failedPage,
61
61
  search: urlParams.toString() && "?" + urlParams.toString(),
62
62
  });