@saasquatch/mint-components 2.1.7-1 → 2.1.7

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 (310) hide show
  1. package/dist/cjs/{ShadowViewAddon-72c43888.js → ShadowViewAddon-1d15cdf7.js} +5 -5
  2. package/dist/cjs/{data-ee577cc1.js → data-8c8a08f6.js} +2 -2
  3. package/dist/cjs/{global-ab5fc787.js → global-b7b1b8fe.js} +3126 -3177
  4. package/dist/cjs/{index.module-9d33658c.js → index.module-f8c8495f.js} +146 -153
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/{re-render-2ebec4aa.js → re-render-72a0ef45.js} +1 -1
  8. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +8 -8
  9. package/dist/cjs/sqm-big-stat_45.cjs.entry.js +13 -13
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-email-verification.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-lead-checkbox-field-view-e5306128.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
  19. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  20. package/dist/cjs/{sqm-lead-input-field-view-a4a9b883.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
  21. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-5cf03a1f.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  30. package/dist/cjs/{sqm-portal-email-verification-view-43a20d6f.js → sqm-portal-email-verification-view-c81fe7f1.js} +1 -1
  31. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -6
  33. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  34. package/dist/cjs/{sqm-portal-profile-view-31b1a9d9.js → sqm-portal-profile-view-639337e3.js} +1 -1
  35. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  36. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  38. package/dist/cjs/{sqm-portal-verify-email-view-c8d9a614.js → sqm-portal-verify-email-view-424e406a.js} +1 -1
  39. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  40. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  41. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  43. package/dist/cjs/sqm-stencilbook.cjs.entry.js +14 -14
  44. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  46. package/dist/cjs/{sqm-user-info-form-view-96f0351e.js → sqm-user-info-form-view-53306f6e.js} +2 -2
  47. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  48. package/dist/cjs/sqm-widget-verification.cjs.entry.js +1 -1
  49. package/dist/cjs/{useChildElements-6b1f61c5.js → useChildElements-041127d7.js} +1 -1
  50. package/dist/cjs/{useInstantAccessRegistration-1ba143b1.js → useInstantAccessRegistration-2398df36.js} +2 -2
  51. package/dist/cjs/{useLeadFormState-eace28b3.js → useLeadFormState-b4c2ab5b.js} +2 -2
  52. package/dist/cjs/{usePayoutStatus-c812303d.js → usePayoutStatus-0192fccd.js} +1 -1
  53. package/dist/cjs/{usePortalRegistrationForm-ae89c992.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
  54. package/dist/cjs/{useReferralCodes-d78c563e.js → useReferralCodes-0f7948af.js} +1 -1
  55. package/dist/cjs/{useReferralTable-b8414623.js → useReferralTable-6e9de0d5.js} +3 -3
  56. package/dist/cjs/{useRegistrationFormState-1a8a6507.js → useRegistrationFormState-4fe5b770.js} +1 -1
  57. package/dist/cjs/{useVerificationEmail-c6363436.js → useVerificationEmail-5d19aa99.js} +1 -1
  58. package/dist/cjs/{utilities-15548f3e.js → utilities-fcdb9504.js} +1 -1
  59. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +1 -2
  60. package/dist/esm/{ShadowViewAddon-cb1ee90e.js → ShadowViewAddon-53b9090b.js} +5 -5
  61. package/dist/esm/{data-32eff0f9.js → data-12e6aae1.js} +2 -2
  62. package/dist/esm/{global-52a25cf2.js → global-96c14d63.js} +3126 -3177
  63. package/dist/esm/{index.module-8ba90d99.js → index.module-b23fdad8.js} +147 -152
  64. package/dist/esm/loader.js +2 -2
  65. package/dist/esm/mint-components.js +2 -2
  66. package/dist/esm/{re-render-6d98f869.js → re-render-f30aeb6b.js} +1 -1
  67. package/dist/esm/sqm-banking-info-form_10.entry.js +8 -8
  68. package/dist/esm/sqm-big-stat_45.entry.js +13 -13
  69. package/dist/esm/sqm-close-button.entry.js +1 -1
  70. package/dist/esm/sqm-code-verification.entry.js +3 -3
  71. package/dist/esm/sqm-context-router.entry.js +1 -1
  72. package/dist/esm/sqm-email-verification.entry.js +3 -3
  73. package/dist/esm/sqm-empty_4.entry.js +2 -2
  74. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  75. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  76. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  77. package/dist/esm/{sqm-lead-checkbox-field-view-a38ea688.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  78. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  79. package/dist/esm/{sqm-lead-input-field-view-e94e861c.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  80. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  81. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  82. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  83. package/dist/esm/{sqm-navigation-sidebar-item-view-8e354314.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  84. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  85. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  86. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  87. package/dist/esm/sqm-password-field.entry.js +2 -2
  88. package/dist/esm/sqm-popup-container.entry.js +1 -1
  89. package/dist/esm/{sqm-portal-email-verification-view-b2637296.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
  90. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  91. package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -6
  92. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  93. package/dist/esm/{sqm-portal-profile-view-0f1eec15.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
  94. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  95. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  96. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  97. package/dist/esm/{sqm-portal-verify-email-view-42f7bb1e.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
  98. package/dist/esm/sqm-qr-code.entry.js +2 -2
  99. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  100. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  101. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  102. package/dist/esm/sqm-stencilbook.entry.js +14 -14
  103. package/dist/esm/sqm-tab.entry.js +2 -2
  104. package/dist/esm/sqm-tabs.entry.js +3 -3
  105. package/dist/esm/{sqm-user-info-form-view-1703b56b.js → sqm-user-info-form-view-19d81a2b.js} +2 -2
  106. package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
  107. package/dist/esm/sqm-widget-verification.entry.js +1 -1
  108. package/dist/esm/{useChildElements-6d7c412e.js → useChildElements-9bccfb72.js} +1 -1
  109. package/dist/esm/{useInstantAccessRegistration-e27f5083.js → useInstantAccessRegistration-69fefed0.js} +2 -2
  110. package/dist/esm/{useLeadFormState-5a52a0ba.js → useLeadFormState-dd4e8b08.js} +2 -2
  111. package/dist/esm/{usePayoutStatus-2d5683d8.js → usePayoutStatus-46c0c289.js} +1 -1
  112. package/dist/esm/{usePortalRegistrationForm-0f11909c.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
  113. package/dist/esm/{useReferralCodes-2415f732.js → useReferralCodes-52ca720f.js} +1 -1
  114. package/dist/esm/{useReferralTable-30b590ba.js → useReferralTable-92af4133.js} +3 -3
  115. package/dist/esm/{useRegistrationFormState-0666533e.js → useRegistrationFormState-2c090c38.js} +1 -1
  116. package/dist/esm/{useVerificationEmail-11a52af0.js → useVerificationEmail-c13c3b51.js} +1 -1
  117. package/dist/esm/{utilities-e613f25f.js → utilities-77b1e0cc.js} +1 -1
  118. package/dist/esm-es5/{ShadowViewAddon-cb1ee90e.js → ShadowViewAddon-53b9090b.js} +1 -1
  119. package/dist/esm-es5/{data-32eff0f9.js → data-12e6aae1.js} +1 -1
  120. package/dist/esm-es5/global-96c14d63.js +271 -0
  121. package/dist/esm-es5/index.module-b23fdad8.js +1 -0
  122. package/dist/esm-es5/loader.js +1 -1
  123. package/dist/esm-es5/mint-components.js +1 -1
  124. package/dist/esm-es5/{re-render-6d98f869.js → re-render-f30aeb6b.js} +1 -1
  125. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  126. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
  127. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  128. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  129. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  130. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  131. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  132. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  133. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  134. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  135. package/dist/esm-es5/{sqm-lead-checkbox-field-view-a38ea688.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  136. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  137. package/dist/esm-es5/{sqm-lead-input-field-view-e94e861c.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  138. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  139. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  140. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  141. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8e354314.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  142. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  143. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  144. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  145. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  146. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  147. package/dist/esm-es5/{sqm-portal-email-verification-view-b2637296.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
  148. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  149. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  150. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  151. package/dist/esm-es5/{sqm-portal-profile-view-0f1eec15.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
  152. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  153. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  154. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  155. package/dist/esm-es5/{sqm-portal-verify-email-view-42f7bb1e.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
  156. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  157. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  158. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  159. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  160. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  161. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  162. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  163. package/dist/esm-es5/{sqm-user-info-form-view-1703b56b.js → sqm-user-info-form-view-19d81a2b.js} +1 -1
  164. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  165. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  166. package/dist/esm-es5/{useChildElements-6d7c412e.js → useChildElements-9bccfb72.js} +1 -1
  167. package/dist/esm-es5/{useInstantAccessRegistration-e27f5083.js → useInstantAccessRegistration-69fefed0.js} +1 -1
  168. package/dist/esm-es5/{useLeadFormState-5a52a0ba.js → useLeadFormState-dd4e8b08.js} +1 -1
  169. package/dist/esm-es5/{usePayoutStatus-2d5683d8.js → usePayoutStatus-46c0c289.js} +1 -1
  170. package/dist/esm-es5/{usePortalRegistrationForm-0f11909c.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
  171. package/dist/esm-es5/{useReferralCodes-2415f732.js → useReferralCodes-52ca720f.js} +1 -1
  172. package/dist/esm-es5/{useReferralTable-30b590ba.js → useReferralTable-92af4133.js} +1 -1
  173. package/dist/esm-es5/{useRegistrationFormState-0666533e.js → useRegistrationFormState-2c090c38.js} +1 -1
  174. package/dist/esm-es5/{useVerificationEmail-11a52af0.js → useVerificationEmail-c13c3b51.js} +1 -1
  175. package/dist/esm-es5/{utilities-e613f25f.js → utilities-77b1e0cc.js} +1 -1
  176. package/dist/mint-components/mint-components.esm.js +1 -1
  177. package/dist/mint-components/mint-components.js +1 -1
  178. package/dist/mint-components/{p-fb98cee0.entry.js → p-013564b3.entry.js} +1 -1
  179. package/dist/mint-components/p-02499e08.entry.js +1 -0
  180. package/dist/mint-components/{p-31b28c8f.system.entry.js → p-027fc3be.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-86c73bdf.js → p-035d9b65.js} +1 -1
  182. package/dist/mint-components/{p-cfe751eb.system.js → p-036a2617.system.js} +1 -1
  183. package/dist/mint-components/{p-f2226e5b.entry.js → p-058aefe1.entry.js} +1 -1
  184. package/dist/mint-components/{p-f051702e.system.entry.js → p-0706cf9e.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-b713513d.entry.js → p-09348341.entry.js} +1 -1
  186. package/dist/mint-components/{p-86c36896.entry.js → p-09f7aacd.entry.js} +2 -2
  187. package/dist/mint-components/{p-c9829d6e.js → p-0c0d4065.js} +3 -3
  188. package/dist/mint-components/p-0d83907e.js +1 -0
  189. package/dist/mint-components/{p-a0af6347.entry.js → p-0e6c90b1.entry.js} +1 -1
  190. package/dist/mint-components/{p-234b171f.system.js → p-172675ca.system.js} +1 -1
  191. package/dist/mint-components/{p-e02e6d8e.system.js → p-19c441b2.system.js} +1 -1
  192. package/dist/mint-components/{p-9733d6c5.system.js → p-205cfdcd.system.js} +1 -1
  193. package/dist/mint-components/{p-90032cd8.entry.js → p-25558a33.entry.js} +2 -2
  194. package/dist/mint-components/{p-49ccf070.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-473ba636.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
  196. package/dist/mint-components/p-30c1ef36.system.js +1 -0
  197. package/dist/mint-components/{p-ec94b3a7.js → p-3286ef38.js} +1 -1
  198. package/dist/mint-components/{p-1a7c8d21.js → p-3366b81e.js} +2 -2
  199. package/dist/mint-components/{p-aebd34d3.system.js → p-3adbfd0b.system.js} +2 -2
  200. package/dist/mint-components/p-3bc62ca6.entry.js +1 -0
  201. package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
  202. package/dist/mint-components/{p-9d03498c.system.entry.js → p-5141769d.system.entry.js} +1 -1
  203. package/dist/mint-components/{p-7e3ef4dd.entry.js → p-52674798.entry.js} +1 -1
  204. package/dist/mint-components/{p-d9652c39.system.entry.js → p-54ea8b9b.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-ce4d14cb.entry.js → p-55676213.entry.js} +1 -1
  206. package/dist/mint-components/p-5b1d2866.system.js +1 -0
  207. package/dist/mint-components/{p-0d4888ab.system.entry.js → p-5b871e38.system.entry.js} +1 -1
  208. package/dist/mint-components/p-5c4ba8a0.entry.js +1 -0
  209. package/dist/mint-components/{p-4a6584bd.system.entry.js → p-5ce78407.system.entry.js} +1 -1
  210. package/dist/mint-components/{p-e6d2da4a.entry.js → p-5ff7b000.entry.js} +1 -1
  211. package/dist/mint-components/{p-b39f5ac8.entry.js → p-61897e72.entry.js} +1 -1
  212. package/dist/mint-components/{p-2b500e23.system.entry.js → p-626b31cb.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-356e21e5.js → p-642f2c89.js} +1 -1
  214. package/dist/mint-components/{p-bd37467f.entry.js → p-653db72e.entry.js} +1 -1
  215. package/dist/mint-components/{p-4180348b.entry.js → p-6668f9f0.entry.js} +1 -1
  216. package/dist/mint-components/{p-2b4344cb.system.js → p-692e14c5.system.js} +1 -1
  217. package/dist/mint-components/{p-fdfef4b0.js → p-6c4ad51a.js} +1 -1
  218. package/dist/mint-components/{p-d798a676.entry.js → p-6e512063.entry.js} +1 -1
  219. package/dist/mint-components/{p-07a23d1e.system.entry.js → p-70570e4d.system.entry.js} +1 -1
  220. package/dist/mint-components/{p-6143cba9.js → p-7161e1a6.js} +1 -1
  221. package/dist/mint-components/p-7265bbcb.system.js +271 -0
  222. package/dist/mint-components/{p-974ec817.system.entry.js → p-738dce27.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-ffb58369.system.js → p-77b9cde8.system.js} +1 -1
  224. package/dist/mint-components/{p-95f684b0.entry.js → p-77fa2383.entry.js} +1 -1
  225. package/dist/mint-components/{p-f5491692.system.entry.js → p-782af7ae.system.entry.js} +1 -1
  226. package/dist/mint-components/{p-73d58f8c.system.js → p-7b59e13c.system.js} +1 -1
  227. package/dist/mint-components/p-7efb8782.system.js +1 -0
  228. package/dist/mint-components/{p-3bb8129c.system.js → p-807ed3bf.system.js} +1 -1
  229. package/dist/mint-components/{p-4513c967.system.entry.js → p-80e116ec.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-95d2832e.system.js → p-85721089.system.js} +1 -1
  231. package/dist/mint-components/{p-1dc2531d.system.js → p-8583ce0c.system.js} +1 -1
  232. package/dist/mint-components/{p-c0d3046c.entry.js → p-8f2d03c7.entry.js} +2 -2
  233. package/dist/mint-components/{p-ab5c9c50.system.entry.js → p-90833864.system.entry.js} +1 -1
  234. package/dist/mint-components/p-91a96e98.entry.js +1 -0
  235. package/dist/mint-components/{p-43d7e25b.entry.js → p-95510f27.entry.js} +1 -1
  236. package/dist/mint-components/{p-2a1e5cea.entry.js → p-982d1f6f.entry.js} +2 -2
  237. package/dist/mint-components/{p-0e216006.system.js → p-a0c5631b.system.js} +1 -1
  238. package/dist/mint-components/{p-57885487.js → p-a4f8abad.js} +1 -1
  239. package/dist/mint-components/{p-cd0fe00d.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-266ab4eb.system.entry.js → p-ab0ea688.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-adcc3c9a.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-75f9bd55.entry.js → p-b2b85238.entry.js} +1 -1
  243. package/dist/mint-components/{p-6607998b.entry.js → p-b395470f.entry.js} +1 -1
  244. package/dist/mint-components/{p-979aef8a.entry.js → p-b66f45d1.entry.js} +1 -1
  245. package/dist/mint-components/{p-28d44f6b.js → p-bab4929e.js} +2 -2
  246. package/dist/mint-components/{p-f08e25e6.js → p-bc386a7b.js} +1 -1
  247. package/dist/mint-components/{p-94e91de7.system.entry.js → p-c30d0049.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-c406455b.system.entry.js → p-c45a929a.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-e7a04b2c.system.entry.js → p-c67f8558.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-e0ad48c6.entry.js → p-c8a8d231.entry.js} +2 -2
  251. package/dist/mint-components/{p-8f27f0a3.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-f395bf09.system.js → p-ca098be1.system.js} +1 -1
  253. package/dist/mint-components/{p-4fdb677d.system.entry.js → p-cacb897d.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-e3240742.entry.js → p-cb0a5990.entry.js} +1 -1
  255. package/dist/mint-components/{p-94330c2a.system.entry.js → p-d005df28.system.entry.js} +1 -1
  256. package/dist/mint-components/p-d0993bb9.js +1 -0
  257. package/dist/mint-components/p-d18dedd4.js +1 -0
  258. package/dist/mint-components/{p-0c044117.entry.js → p-d4570314.entry.js} +1 -1
  259. package/dist/mint-components/p-d6193876.system.js +1 -0
  260. package/dist/mint-components/{p-28001794.js → p-d997001a.js} +1 -1
  261. package/dist/mint-components/{p-366caa9f.entry.js → p-db0a2afd.entry.js} +1 -1
  262. package/dist/mint-components/{p-35e8f965.system.entry.js → p-dd368927.system.entry.js} +1 -1
  263. package/dist/mint-components/{p-a3f545d5.js → p-de0d6fd7.js} +3 -3
  264. package/dist/mint-components/{p-00319fef.entry.js → p-de7bb373.entry.js} +1 -1
  265. package/dist/mint-components/{p-53d64ee3.js → p-e00ec007.js} +1 -1
  266. package/dist/mint-components/{p-4e30fa14.system.entry.js → p-e12754f5.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-a921a709.system.entry.js → p-e3497e0e.system.entry.js} +1 -1
  268. package/dist/mint-components/p-e4f17c21.system.js +1 -0
  269. package/dist/mint-components/{p-7fe4b989.entry.js → p-e5ea43b1.entry.js} +2 -2
  270. package/dist/mint-components/{p-44f5d470.js → p-e6240c72.js} +1 -1
  271. package/dist/mint-components/{p-6c903a59.js → p-e6ace3ab.js} +1 -1
  272. package/dist/mint-components/{p-c82c7a24.js → p-e84b874c.js} +1 -1
  273. package/dist/mint-components/{p-8007fadd.system.entry.js → p-e9258d20.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-f583e90c.js → p-e980472a.js} +1 -1
  275. package/dist/mint-components/{p-b63ed655.system.js → p-ea03e50e.system.js} +1 -1
  276. package/dist/mint-components/{p-566b2e16.entry.js → p-ec0b649a.entry.js} +1 -1
  277. package/dist/mint-components/{p-56cc925f.entry.js → p-f0baeed0.entry.js} +1 -1
  278. package/dist/mint-components/{p-6e1fb6c5.system.entry.js → p-f1374258.system.entry.js} +1 -1
  279. package/dist/mint-components/{p-da549c7e.system.js → p-f35d856a.system.js} +1 -1
  280. package/dist/mint-components/{p-452b38fd.system.entry.js → p-f39cf252.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-fc0de1ba.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
  282. package/dist/mint-components/{p-150b29bd.system.js → p-f55ecf35.system.js} +1 -1
  283. package/dist/mint-components/p-f581aac7.js +1 -0
  284. package/dist/mint-components/{p-16fdec57.js → p-f8a09b0f.js} +152 -152
  285. package/dist/mint-components/{p-05671529.system.entry.js → p-fbe00c97.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-251061ac.system.entry.js → p-fc284f91.system.entry.js} +1 -1
  287. package/dist/mint-components/{p-be3aba12.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
  288. package/dist/mint-components/p-fe70e20c.entry.js +1 -0
  289. package/dist/mint-components/{p-cdf37d29.system.js → p-ff118a19.system.js} +1 -1
  290. package/dist/mint-components/{p-dde4a162.entry.js → p-ff378015.entry.js} +1 -1
  291. package/docs/docs.docx +0 -0
  292. package/package.json +1 -1
  293. package/dist/esm-es5/global-52a25cf2.js +0 -285
  294. package/dist/esm-es5/index.module-8ba90d99.js +0 -1
  295. package/dist/mint-components/p-0815a612.entry.js +0 -1
  296. package/dist/mint-components/p-09cb5c1c.js +0 -1
  297. package/dist/mint-components/p-1289b9f2.system.js +0 -1
  298. package/dist/mint-components/p-30b7d2ee.entry.js +0 -1
  299. package/dist/mint-components/p-399a9cff.entry.js +0 -1
  300. package/dist/mint-components/p-3d6f55c5.system.js +0 -1
  301. package/dist/mint-components/p-48421440.js +0 -1
  302. package/dist/mint-components/p-53f78339.system.entry.js +0 -1
  303. package/dist/mint-components/p-645074fb.entry.js +0 -1
  304. package/dist/mint-components/p-8c490639.js +0 -1
  305. package/dist/mint-components/p-99c505b3.system.js +0 -1
  306. package/dist/mint-components/p-ab2f1ee7.entry.js +0 -1
  307. package/dist/mint-components/p-c49108fb.system.js +0 -1
  308. package/dist/mint-components/p-d1faf170.system.js +0 -1
  309. package/dist/mint-components/p-d7751b2c.js +0 -1
  310. package/dist/mint-components/p-ebceb45c.system.js +0 -285
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(s.next(e))}catch(e){a(e)}}function i(e){try{d(s["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return d([e,t])}}function d(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-d1faf170.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b909aa5.system.js","./p-3c46b4dd.system.js"],(function(e){"use strict";var t,r,s,o,a,n,i,d,c,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;a=e.n},function(e){n=e.o;i=e.T;d=e.j;c=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,a,c,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=n(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(d.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(a){switch(a.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=a.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);d.push(t.href)};var I=function(){d.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(c=(a=(r=C.errors)===null||r===void 0?void 0:r.response)===null||a===void 0?void 0:a.errors)===null||c===void 0?void 0:c[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{d(s.next(e))}catch(e){n(e)}}function i(e){try{d(s["throw"](e))}catch(e){n(e)}}function d(e){e.done?r(e.value):o(e.value).then(a,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,o,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return d([e,t])}}function d(a){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b909aa5.system.js","./p-3c46b4dd.system.js"],(function(e){"use strict";var t,r,s,o,n,a,i,d,c,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;n=e.n},function(e){a=e.f;i=e.T;d=e.j;c=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,n,c,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=a(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(d.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(n){switch(n.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=n.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);d.push(t.href)};var I=function(){d.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(c=(n=(r=C.errors)===null||r===void 0?void 0:r.response)===null||n===void 0?void 0:n.errors)===null||c===void 0?void 0:c[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1,4 +1,4 @@
1
- import{k as n,f as t}from"./p-a7fc1e02.js";import{d as o,J as e,$ as r,g as i,w as u}from"./p-09cb5c1c.js";const d="sqm:tax-form-updated";var c=function(n){for(var t=Array(n.length),o=0;o<n.length;++o)t[o]=n[o];return t},a=function(n){return Array.isArray(n)?n:[n]},f=function(n,t){var o=n.tabIndex-t.tabIndex;if(o){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return o||n.index-t.index},s=function(n,t,o){return c(n).map((function(n,t){return{node:n,index:t,tabIndex:o&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(f)};const l=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var v=l.join(","),E=v+", [data-focus-guard]",m=function(n,t){return n.reduce((function(n,o){return n.concat(c(o.querySelectorAll(t?E:v)),o.parentNode?c(o.parentNode.querySelectorAll(l.join(","))).filter((function(n){return n===o})):[])}),[])},I=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((o=window.getComputedStyle(t,null))&&o.getPropertyValue&&("none"===o.getPropertyValue("display")||"hidden"===o.getPropertyValue("visibility")))&&n(t.parentNode);var o},p=function n(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o.push(t),t.parentNode&&n(t.parentNode,o),o},_=function(n,t){for(var o=p(n),e=p(t),r=0;r<o.length;r+=1){var i=o[r];if(e.indexOf(i)>=0)return i}return!1},w=function(n){return c(n).filter((function(n){return I(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},R=function(n,t){return s(w(m(n,t)),!0,t)},h=function(n){return"INPUT"===n.tagName&&"radio"===n.type},A=function(n,t){return t.filter(h).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},N=function(n,t){return n.length>1&&h(n[t])&&n[t].name?n.indexOf(A(n[t],n)):t},T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b=function n(t){for(var o=t.length,e=0;e<o;e+=1)for(var r=function(o){if(e!==o&&t[e].contains(t[o]))return{v:n(t.filter((function(n){return n!==t[o]})))}},i=0;i<o;i+=1){var u=r(i);if("object"===(void 0===u?"undefined":T(u)))return u.v}return t},g=function n(t){return t.parentNode?n(t.parentNode):t},D=function(n){return a(n).filter(Boolean).reduce((function(n,t){var o=t.getAttribute("data-focus-lock");return n.push.apply(n,o?b(c(g(t).querySelectorAll('[data-focus-lock="'+o+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},y=function(n){return n&&n.dataset&&n.dataset.focusGuard},F=function(n){return!y(n)},S=function(n,t){var o=document&&document.activeElement,e=D(n).filter(F),r=function(n,t,o){var e=a(n),r=a(t),i=e[0],u=null;return r.filter(Boolean).forEach((function(n){u=_(u||n,n)||u,o.filter(Boolean).forEach((function(n){var t=_(i,n);t&&(u=!u||t.contains(u)?t:_(t,u))}))})),u}(o||n,n,e),i=R(e).filter((function(n){return F(n.node)}));if(i[0]||(i=(u=e,s(w(m(u)),!1)).filter((function(n){return F(n.node)})))[0]){var u,d,f,l,v,E=R([r]).map((function(n){return n.node})),I=(d=E,f=i,l=new Map,f.forEach((function(n){return l.set(n.node,n)})),d.map((function(n){return l.get(n)})).filter(Boolean)),p=I.map((function(n){return n.node})),T=function(n,t,o,e,r){var i,u=n.length,d=n[0],c=n[u-1],a=y(o);if(!(n.indexOf(o)>=0)){var f=t.indexOf(o),s=t.indexOf(e||f),l=n.indexOf(e),v=f-s,E=t.indexOf(d),m=t.indexOf(c),I=N(n,0),p=N(n,u-1);return-1===f||-1===l?n.indexOf((i=r&&r.length?r:n)[0]&&i.length>1&&h(i[0])&&i[0].name?A(i[0],i):i[0]):!v&&l>=0?l:f<=E&&a&&Math.abs(v)>1?p:f>=E&&a&&Math.abs(v)>1?I:v&&Math.abs(v)>1?l:f<=E?p:f>m?I:v?Math.abs(v)>1?l:(u+l+v)%u:void 0}}(p,E,o,t,p.filter((v=function(n){return n.reduce((function(n,t){return n.concat(function(n){return w((t=n.querySelectorAll("[data-autofocus-inside]"),c(t).map((function(n){return m([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(e),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||v.indexOf(n)>=0})));return void 0===T?T:I[T]}},C=function(n){return n===document.activeElement},O=0,V=!1,M=0,L=null,H=function(){var n,t,o=!1;if(M){var e=M;document&&document.activeElement===document.body||document&&c(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(e&&(n=e,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&D(n).reduce((function(n,o){return n||o.contains(t)||function(n){return t=c(n.querySelectorAll("iframe")),o=C,!!t.filter((function(n){return n===o}))[0];var t,o}(o)}),!1)))&&(o=function(n){var t,o=S(n,L);if(!V&&o){if(O>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),V=!0,void setTimeout((function(){V=!1}),1);O++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),O--}}(e)),L=document.activeElement)}return o},U=[],x=function(n){return t=U.filter((function(n){return n})).slice(-1)[0],M=t,!!void(t&&H())&&(n&&n.preventDefault(),!0);var t},k=function(n){0===U.length&&document.addEventListener("focusin",x),U.indexOf(n)<0&&(U.push(n),x())},P=function(){return"undefined"==typeof window},W=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},B=0,Y=0,q=0,K=null,j=!1,Q=[],$=function(n){if(P())return!1;if(!n)throw new Error("options must be provided");var t=!1,o={get passive(){t=!0}},e=function(){},r="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(r,e,o),window.removeEventListener(r,e,o);var i=n.capture;return t?n:void 0!==i&&i}({passive:!1}),G=!P()&&"scrollBehavior"in document.documentElement.style,z=function(n){n.cancelable&&n.preventDefault()},X=function(n){var t,o,e,r,i;P()||(W().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===Q.indexOf(n)&&(n.ontouchstart=function(n){Y=n.targetTouches[0].clientY,q=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var o=t.scrollTop,e=t.scrollLeft,r=t.scrollWidth,i=t.scrollHeight,u=t.clientWidth,d=t.clientHeight,c=n.targetTouches[0].clientX-q,a=n.targetTouches[0].clientY-Y,f=Math.abs(a)>Math.abs(c);if(f&&(a>0&&0===o||a<0&&o+d+1>=i)||!f&&(c>0&&0===e||c<0&&e+u+1>=r))return z(n)}n.stopPropagation()}(t,n)},Q.push(n))})),j||(document.addEventListener("touchmove",z,$),j=!0)):B<=0&&(K=W().android?(t=document.documentElement,o=document.body,e=t.scrollTop||o.scrollTop,r=Object.assign({},t.style),i=Object.assign({},o.style),t.style.height="100%",t.style.overflow="hidden",o.style.top="-".concat(e,"px"),o.style.width="100%",o.style.height="auto",o.style.position="fixed",o.style.overflow="hidden",function(){t.style.height=r.height||"",t.style.overflow=r.overflow||"",["top","width","height","overflow","position"].forEach((function(n){o.style[n]=i[n]||""})),G?window.scrollTo({top:e,behavior:"instant"}):window.scrollTo(0,e)}):function(){var n=document.body,t=Object.assign({},n.style),o=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(o,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(o){n.style[o]=t[o]||""}))}}()),B+=1)},J=function(n){P()||(B-=1)>0||(W().ios||"function"!=typeof K?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=Q.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,Q.splice(t,1))})),j&&(document.removeEventListener("touchmove",z,$),j=!1)):K())};const Z="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",nn="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let tn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),on=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function en(n){let{url:t,lang:o,onEvent:e=(()=>{}),embedded:r=!1,embeddedOptions:i,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const d=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(r);function c(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,U=U.filter((function(n){return n!==t})),x(),0===U.length&&document.removeEventListener("focusin",x),J(n);let o=n.parentNode.parentNode,e=n.parentNode;r&&!d&&(o=n.parentNode,e=n),o&&o.removeChild(e)}else J();var t;window.removeEventListener("message",a)}function a(n){const t=document.getElementById("veriffFrame");n.data===tn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:tn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:d,embeddedConfigured:r,embedded:!d&&r}),n.data===tn.VERIFF_STARTED&&e(on.STARTED),n.data===tn.VERIFF_CANCELED&&(c(),e(on.CANCELED)),n.data===tn.VERIFF_SUBMITTED&&e(on.SUBMITTED),n.data===tn.VERIFF_FINISHED&&(c(),e(on.FINISHED)),n.data===tn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===tn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),e(on.RELOAD_REQUEST))}return function(n,t,o,e){const r=document.createElement("iframe");if(r.src=n,r.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",r.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:e}=t;if(o){n.style.cssText=nn;const t=document.createElement("div");t.style.cssText=Z,t.appendChild(n),document.body.appendChild(t),k(n),X(n)}else{if(!e)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(e))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(e).appendChild(n)}}(r,o,e);else{r.style.cssText=nn;const n=function(){const n=document.createElement("div");return n.style.cssText=Z,n}();n.appendChild(r),document.body.appendChild(n),k(r),X(r)}}(o&&o.length>0?function(n,t,o){if(o){const t=new URL(n),e=t.searchParams;return e.set("lang",o),t.search=e.toString(),t.toString()}return n}(t,0,o):t,r,i,d),window.addEventListener("message",a),{close:c}}const rn=o.gql`
1
+ import{k as n,f as t}from"./p-a7fc1e02.js";import{d as o,J as e,$ as r,g as i,w as u}from"./p-d0993bb9.js";const d="sqm:tax-form-updated";var a=function(n){for(var t=Array(n.length),o=0;o<n.length;++o)t[o]=n[o];return t},c=function(n){return Array.isArray(n)?n:[n]},f=function(n,t){var o=n.tabIndex-t.tabIndex;if(o){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return o||n.index-t.index},s=function(n,t,o){return a(n).map((function(n,t){return{node:n,index:t,tabIndex:o&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(f)};const l=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var v=l.join(","),E=v+", [data-focus-guard]",m=function(n,t){return n.reduce((function(n,o){return n.concat(a(o.querySelectorAll(t?E:v)),o.parentNode?a(o.parentNode.querySelectorAll(l.join(","))).filter((function(n){return n===o})):[])}),[])},I=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((o=window.getComputedStyle(t,null))&&o.getPropertyValue&&("none"===o.getPropertyValue("display")||"hidden"===o.getPropertyValue("visibility")))&&n(t.parentNode);var o},p=function n(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o.push(t),t.parentNode&&n(t.parentNode,o),o},_=function(n,t){for(var o=p(n),e=p(t),r=0;r<o.length;r+=1){var i=o[r];if(e.indexOf(i)>=0)return i}return!1},w=function(n){return a(n).filter((function(n){return I(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},R=function(n,t){return s(w(m(n,t)),!0,t)},h=function(n){return"INPUT"===n.tagName&&"radio"===n.type},A=function(n,t){return t.filter(h).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},N=function(n,t){return n.length>1&&h(n[t])&&n[t].name?n.indexOf(A(n[t],n)):t},T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b=function n(t){for(var o=t.length,e=0;e<o;e+=1)for(var r=function(o){if(e!==o&&t[e].contains(t[o]))return{v:n(t.filter((function(n){return n!==t[o]})))}},i=0;i<o;i+=1){var u=r(i);if("object"===(void 0===u?"undefined":T(u)))return u.v}return t},g=function n(t){return t.parentNode?n(t.parentNode):t},D=function(n){return c(n).filter(Boolean).reduce((function(n,t){var o=t.getAttribute("data-focus-lock");return n.push.apply(n,o?b(a(g(t).querySelectorAll('[data-focus-lock="'+o+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},y=function(n){return n&&n.dataset&&n.dataset.focusGuard},F=function(n){return!y(n)},S=function(n,t){var o=document&&document.activeElement,e=D(n).filter(F),r=function(n,t,o){var e=c(n),r=c(t),i=e[0],u=null;return r.filter(Boolean).forEach((function(n){u=_(u||n,n)||u,o.filter(Boolean).forEach((function(n){var t=_(i,n);t&&(u=!u||t.contains(u)?t:_(t,u))}))})),u}(o||n,n,e),i=R(e).filter((function(n){return F(n.node)}));if(i[0]||(i=(u=e,s(w(m(u)),!1)).filter((function(n){return F(n.node)})))[0]){var u,d,f,l,v,E=R([r]).map((function(n){return n.node})),I=(d=E,f=i,l=new Map,f.forEach((function(n){return l.set(n.node,n)})),d.map((function(n){return l.get(n)})).filter(Boolean)),p=I.map((function(n){return n.node})),T=function(n,t,o,e,r){var i,u=n.length,d=n[0],a=n[u-1],c=y(o);if(!(n.indexOf(o)>=0)){var f=t.indexOf(o),s=t.indexOf(e||f),l=n.indexOf(e),v=f-s,E=t.indexOf(d),m=t.indexOf(a),I=N(n,0),p=N(n,u-1);return-1===f||-1===l?n.indexOf((i=r&&r.length?r:n)[0]&&i.length>1&&h(i[0])&&i[0].name?A(i[0],i):i[0]):!v&&l>=0?l:f<=E&&c&&Math.abs(v)>1?p:f>=E&&c&&Math.abs(v)>1?I:v&&Math.abs(v)>1?l:f<=E?p:f>m?I:v?Math.abs(v)>1?l:(u+l+v)%u:void 0}}(p,E,o,t,p.filter((v=function(n){return n.reduce((function(n,t){return n.concat(function(n){return w((t=n.querySelectorAll("[data-autofocus-inside]"),a(t).map((function(n){return m([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(e),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||v.indexOf(n)>=0})));return void 0===T?T:I[T]}},C=function(n){return n===document.activeElement},O=0,V=!1,M=0,L=null,H=function(){var n,t,o=!1;if(M){var e=M;document&&document.activeElement===document.body||document&&a(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(e&&(n=e,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&D(n).reduce((function(n,o){return n||o.contains(t)||function(n){return t=a(n.querySelectorAll("iframe")),o=C,!!t.filter((function(n){return n===o}))[0];var t,o}(o)}),!1)))&&(o=function(n){var t,o=S(n,L);if(!V&&o){if(O>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),V=!0,void setTimeout((function(){V=!1}),1);O++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),O--}}(e)),L=document.activeElement)}return o},U=[],x=function(n){return t=U.filter((function(n){return n})).slice(-1)[0],M=t,!!void(t&&H())&&(n&&n.preventDefault(),!0);var t},k=function(n){0===U.length&&document.addEventListener("focusin",x),U.indexOf(n)<0&&(U.push(n),x())},P=function(){return"undefined"==typeof window},W=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},B=0,Y=0,q=0,K=null,j=!1,Q=[],$=function(n){if(P())return!1;if(!n)throw new Error("options must be provided");var t=!1,o={get passive(){t=!0}},e=function(){},r="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(r,e,o),window.removeEventListener(r,e,o);var i=n.capture;return t?n:void 0!==i&&i}({passive:!1}),G=!P()&&"scrollBehavior"in document.documentElement.style,z=function(n){n.cancelable&&n.preventDefault()},X=function(n){var t,o,e,r,i;P()||(W().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===Q.indexOf(n)&&(n.ontouchstart=function(n){Y=n.targetTouches[0].clientY,q=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var o=t.scrollTop,e=t.scrollLeft,r=t.scrollWidth,i=t.scrollHeight,u=t.clientWidth,d=t.clientHeight,a=n.targetTouches[0].clientX-q,c=n.targetTouches[0].clientY-Y,f=Math.abs(c)>Math.abs(a);if(f&&(c>0&&0===o||c<0&&o+d+1>=i)||!f&&(a>0&&0===e||a<0&&e+u+1>=r))return z(n)}n.stopPropagation()}(t,n)},Q.push(n))})),j||(document.addEventListener("touchmove",z,$),j=!0)):B<=0&&(K=W().android?(t=document.documentElement,o=document.body,e=t.scrollTop||o.scrollTop,r=Object.assign({},t.style),i=Object.assign({},o.style),t.style.height="100%",t.style.overflow="hidden",o.style.top="-".concat(e,"px"),o.style.width="100%",o.style.height="auto",o.style.position="fixed",o.style.overflow="hidden",function(){t.style.height=r.height||"",t.style.overflow=r.overflow||"",["top","width","height","overflow","position"].forEach((function(n){o.style[n]=i[n]||""})),G?window.scrollTo({top:e,behavior:"instant"}):window.scrollTo(0,e)}):function(){var n=document.body,t=Object.assign({},n.style),o=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(o,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(o){n.style[o]=t[o]||""}))}}()),B+=1)},J=function(n){P()||(B-=1)>0||(W().ios||"function"!=typeof K?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=Q.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,Q.splice(t,1))})),j&&(document.removeEventListener("touchmove",z,$),j=!1)):K())};const Z="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",nn="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let tn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),on=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function en(n){let{url:t,lang:o,onEvent:e=(()=>{}),embedded:r=!1,embeddedOptions:i,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const d=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(r);function a(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,U=U.filter((function(n){return n!==t})),x(),0===U.length&&document.removeEventListener("focusin",x),J(n);let o=n.parentNode.parentNode,e=n.parentNode;r&&!d&&(o=n.parentNode,e=n),o&&o.removeChild(e)}else J();var t;window.removeEventListener("message",c)}function c(n){const t=document.getElementById("veriffFrame");n.data===tn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:tn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:d,embeddedConfigured:r,embedded:!d&&r}),n.data===tn.VERIFF_STARTED&&e(on.STARTED),n.data===tn.VERIFF_CANCELED&&(a(),e(on.CANCELED)),n.data===tn.VERIFF_SUBMITTED&&e(on.SUBMITTED),n.data===tn.VERIFF_FINISHED&&(a(),e(on.FINISHED)),n.data===tn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===tn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),e(on.RELOAD_REQUEST))}return function(n,t,o,e){const r=document.createElement("iframe");if(r.src=n,r.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",r.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:e}=t;if(o){n.style.cssText=nn;const t=document.createElement("div");t.style.cssText=Z,t.appendChild(n),document.body.appendChild(t),k(n),X(n)}else{if(!e)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(e))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(e).appendChild(n)}}(r,o,e);else{r.style.cssText=nn;const n=function(){const n=document.createElement("div");return n.style.cssText=Z,n}();n.appendChild(r),document.body.appendChild(n),k(r),X(r)}}(o&&o.length>0?function(n,t,o){if(o){const t=new URL(n),e=t.searchParams;return e.set("lang",o),t.search=e.toString(),t.toString()}return n}(t,0,o):t,r,i,d),window.addEventListener("message",c),{close:a}}const rn=o.gql`
2
2
  mutation createImpactVerificationSession($user: UserIdInput!) {
3
3
  createImpactPublisherIdentityVerificationSession(user: $user) {
4
4
  sessionUrl
@@ -10,7 +10,7 @@ import{k as n,f as t}from"./p-a7fc1e02.js";import{d as o,J as e,$ as r,g as i,w
10
10
  id
11
11
  }
12
12
  }
13
- `,dn="sqm:veriff-updated";function cn(){const{id:n,accountId:t}=e(),[o,{loading:i,errors:u}]=r(rn),[d,{loading:c,errors:a}]=r(un);return{render:async()=>{try{const e=await o({user:{id:n,accountId:t}});if(!e||e.message)throw new Error;en({url:e.createImpactPublisherIdentityVerificationSession.sessionUrl,onEvent:o=>{switch(o){case on.FINISHED:case on.CANCELED:(async()=>{try{const o=await d({user:{id:n,accountId:t}});if(!o||o.message)throw new Error;window.dispatchEvent(new Event("sqm:veriff-updated"))}catch(n){console.error("Failed to initialise Veriff:",n)}})()}}})}catch(n){console.error("Failed to initialise Veriff:",n)}},loading:i||c,errors:u||a}}const an=o.gql`
13
+ `,dn="sqm:veriff-updated";function an(){const{id:n,accountId:t}=e(),[o,{loading:i,errors:u}]=r(rn),[d,{loading:a,errors:c}]=r(un);return{render:async()=>{try{const e=await o({user:{id:n,accountId:t}});if(!e||e.message)throw new Error;en({url:e.createImpactPublisherIdentityVerificationSession.sessionUrl,onEvent:o=>{switch(o){case on.FINISHED:case on.CANCELED:(async()=>{try{const o=await d({user:{id:n,accountId:t}});if(!o||o.message)throw new Error;window.dispatchEvent(new Event("sqm:veriff-updated"))}catch(n){console.error("Failed to initialise Veriff:",n)}})()}}})}catch(n){console.error("Failed to initialise Veriff:",n)}},loading:i||a,errors:u||c}}const cn=o.gql`
14
14
  query getUserStatus {
15
15
  user: viewer {
16
16
  ... on User {
@@ -46,4 +46,4 @@ import{k as n,f as t}from"./p-a7fc1e02.js";import{d as o,J as e,$ as r,g as i,w
46
46
  enforceUsTaxCompliance
47
47
  }
48
48
  }
49
- `;function sn(n){var t,o,e,r,i,u,d,c,a,f,s,l,v,E,m,I,p,_,w,R,h,A;const N=null===(o=null===(t=n.user.impactConnection)||void 0===t?void 0:t.publisher)||void 0===o?void 0:o.payoutsAccount,T=null===(i=null===(r=null===(e=null==n?void 0:n.user)||void 0===e?void 0:e.rewards)||void 0===r?void 0:r.data)||void 0===i?void 0:i.find((n=>{var t;return n.statuses.includes("REDEEMED")&&"TRANSFERRED"===(null===(t=n.partnerFundsTransfer)||void 0===t?void 0:t.status)}));if(!(null===(d=null===(u=n.user)||void 0===u?void 0:u.impactConnection)||void 0===d?void 0:d.connected)||!N)return"INFORMATION_REQUIRED";const b=null===(a=null===(c=n.user.impactConnection)||void 0===c?void 0:c.publisher)||void 0===a?void 0:a.currentTaxDocument;return(null===(f=N.holdReasons)||void 0===f?void 0:f.includes("NO_W9_DOCUMENT"))&&!b?"OVER_W9_THRESHOLD":(null===(s=N.holdReasons)||void 0===s?void 0:s.includes("IDV_CHECK_REQUIRED"))?"VERIFICATION:REQUIRED":(null===(l=N.holdReasons)||void 0===l?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))?"VERIFICATION:INTERNAL":(null===(v=N.holdReasons)||void 0===v?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))?"VERIFICATION:REVIEW":(null===(E=N.holdReasons)||void 0===E?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))?"VERIFICATION:FAILED":(null===(m=N.holdReasons)||void 0===m?void 0:m.includes("NEW_PAYEE_REVIEW"))&&T?"NEW_PAYEE_REVIEW":(null===(I=N.holdReasons)||void 0===I?void 0:I.includes("NEW_PAYEE_REVIEW"))?"DONE":(null===(p=N.holdReasons)||void 0===p?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))?"PAYMENT_HOLD_ON_CHANGE":(null===(_=N.holdReasons)||void 0===_?void 0:_.includes("BENEFICIARY_NAME_INVALID"))?"BENEFICIARY_NAME_INVALID":(null===(w=N.holdReasons)||void 0===w?void 0:w.includes("BENEFICIARY_NAME_MISMATCH"))?"BENEFICIARY_NAME_MISMATCH":(null===(R=N.holdReasons)||void 0===R?void 0:R.includes("BANK_TAX_NAME_MISMATCH"))?"BANK_TAX_NAME_MISMATCH":(null===(h=N.holdReasons)||void 0===h?void 0:h.includes("WITHDRAWAL_SETTINGS_INVALID"))?"WITHDRAWAL_SETTINGS_INVALID":(null===(A=N.holdReasons)||void 0===A?void 0:A.includes("PAYMENT_RETURNED"))?"PAYMENT_RETURNED":N.hold?"HOLD":"DONE"}function ln(o){var e;const{type:r}=i(),{loading:d,data:c,errors:a,refetch:f}=u(an,{}),{data:s}=u(fn,{}),{render:l,loading:v}=cn(),[E,m]=n(void 0),I=null===(e=null==s?void 0:s.tenantSettings)||void 0===e?void 0:e.enforceUsTaxCompliance;return t((()=>{if(!c)return;const n=sn(c);m(n)}),[c]),t((()=>{const n=()=>f();return window.addEventListener("sqm:tax-form-updated",n),window.addEventListener("sqm:veriff-updated",n),()=>{window.removeEventListener("sqm:tax-form-updated",n),window.removeEventListener("sqm:veriff-updated",n)}}),[]),{states:{loading:d,veriffLoading:v,status:E,error:!!a,enforceUsTaxComplianceOption:I},data:{type:r},text:o.getTextProps(),callbacks:{onTermsClick:()=>{let n=o.cashPayoutsPageUrl;n.includes("#")&&(n=n.split("#")[0]),"INFORMATION_REQUIRED"===E?n+="#1":"OVER_W9_THRESHOLD"===E&&"CASH_ONLY_DEFER_W9"===I&&(n+="#3"),window.history.pushState(null,"",n)},onClick:l,onPaymentInfoClick:()=>{let n=o.cashPayoutsPageUrl;n+="#4",window.history.pushState(null,"",n)},onNewFormClick:()=>{let n=o.cashPayoutsPageUrl;n+="#3",window.history.pushState(null,"",n)}}}}export{d as T,dn as V,cn as a,sn as g,ln as u}
49
+ `;function sn(n){var t,o,e,r,i,u,d,a,c,f,s,l,v,E,m,I,p,_,w,R,h,A;const N=null===(o=null===(t=n.user.impactConnection)||void 0===t?void 0:t.publisher)||void 0===o?void 0:o.payoutsAccount,T=null===(i=null===(r=null===(e=null==n?void 0:n.user)||void 0===e?void 0:e.rewards)||void 0===r?void 0:r.data)||void 0===i?void 0:i.find((n=>{var t;return n.statuses.includes("REDEEMED")&&"TRANSFERRED"===(null===(t=n.partnerFundsTransfer)||void 0===t?void 0:t.status)}));if(!(null===(d=null===(u=n.user)||void 0===u?void 0:u.impactConnection)||void 0===d?void 0:d.connected)||!N)return"INFORMATION_REQUIRED";const b=null===(c=null===(a=n.user.impactConnection)||void 0===a?void 0:a.publisher)||void 0===c?void 0:c.currentTaxDocument;return(null===(f=N.holdReasons)||void 0===f?void 0:f.includes("NO_W9_DOCUMENT"))&&!b?"OVER_W9_THRESHOLD":(null===(s=N.holdReasons)||void 0===s?void 0:s.includes("IDV_CHECK_REQUIRED"))?"VERIFICATION:REQUIRED":(null===(l=N.holdReasons)||void 0===l?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))?"VERIFICATION:INTERNAL":(null===(v=N.holdReasons)||void 0===v?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))?"VERIFICATION:REVIEW":(null===(E=N.holdReasons)||void 0===E?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))?"VERIFICATION:FAILED":(null===(m=N.holdReasons)||void 0===m?void 0:m.includes("NEW_PAYEE_REVIEW"))&&T?"NEW_PAYEE_REVIEW":(null===(I=N.holdReasons)||void 0===I?void 0:I.includes("NEW_PAYEE_REVIEW"))?"DONE":(null===(p=N.holdReasons)||void 0===p?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))?"PAYMENT_HOLD_ON_CHANGE":(null===(_=N.holdReasons)||void 0===_?void 0:_.includes("BENEFICIARY_NAME_INVALID"))?"BENEFICIARY_NAME_INVALID":(null===(w=N.holdReasons)||void 0===w?void 0:w.includes("BENEFICIARY_NAME_MISMATCH"))?"BENEFICIARY_NAME_MISMATCH":(null===(R=N.holdReasons)||void 0===R?void 0:R.includes("BANK_TAX_NAME_MISMATCH"))?"BANK_TAX_NAME_MISMATCH":(null===(h=N.holdReasons)||void 0===h?void 0:h.includes("WITHDRAWAL_SETTINGS_INVALID"))?"WITHDRAWAL_SETTINGS_INVALID":(null===(A=N.holdReasons)||void 0===A?void 0:A.includes("PAYMENT_RETURNED"))?"PAYMENT_RETURNED":N.hold?"HOLD":"DONE"}function ln(o){var e;const{type:r}=i(),{loading:d,data:a,errors:c,refetch:f}=u(cn,{}),{data:s}=u(fn,{}),{render:l,loading:v}=an(),[E,m]=n(void 0),I=null===(e=null==s?void 0:s.tenantSettings)||void 0===e?void 0:e.enforceUsTaxCompliance;return t((()=>{if(!a)return;const n=sn(a);m(n)}),[a]),t((()=>{const n=()=>f();return window.addEventListener("sqm:tax-form-updated",n),window.addEventListener("sqm:veriff-updated",n),()=>{window.removeEventListener("sqm:tax-form-updated",n),window.removeEventListener("sqm:veriff-updated",n)}}),[]),{states:{loading:d,veriffLoading:v,status:E,error:!!c,enforceUsTaxComplianceOption:I},data:{type:r},text:o.getTextProps(),callbacks:{onTermsClick:()=>{let n=o.cashPayoutsPageUrl;n.includes("#")&&(n=n.split("#")[0]),"INFORMATION_REQUIRED"===E?n+="#1":"OVER_W9_THRESHOLD"===E&&"CASH_ONLY_DEFER_W9"===I&&(n+="#3"),window.history.pushState(null,"",n)},onClick:l,onPaymentInfoClick:()=>{let n=o.cashPayoutsPageUrl;n+="#4",window.history.pushState(null,"",n)},onNewFormClick:()=>{let n=o.cashPayoutsPageUrl;n+="#3",window.history.pushState(null,"",n)}}}}export{d as T,dn as V,an as a,sn as g,ln as u}