@saasquatch/mint-components 1.12.0-2 → 1.12.0-20

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 (463) hide show
  1. package/dist/cjs/{ShadowViewAddon-13173901.js → ShadowViewAddon-040cffad.js} +38 -36
  2. package/dist/cjs/extractProps-fd93ba62.js +21 -0
  3. package/dist/cjs/{global-e4ebdbcc.js → global-c3637175.js} +10 -161
  4. package/dist/cjs/{index.module-236d0403.js → index.module-b8d9d0ba.js} +228 -1392
  5. package/dist/cjs/loader.cjs.js +4 -4
  6. package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +4 -4
  8. package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
  9. package/dist/cjs/{re-render-5de6631a.js → re-render-5bde3d2e.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1175 -548
  12. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +247 -127
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  15. package/dist/cjs/sqm-email-verification.cjs.entry.js +150 -20
  16. package/dist/cjs/sqm-empty_4.cjs.entry.js +7 -7
  17. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  19. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  21. package/dist/cjs/{sqm-invoice-table-view-dbba9bb4.js → sqm-invoice-table-view-4fcf021f.js} +155 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -8
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-fc865ecf.js → sqm-navigation-sidebar-item-view-a2135064.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  27. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  28. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  29. package/dist/cjs/{sqm-portal-email-verification-view-4bc2760b.js → sqm-portal-email-verification-view-050dbe0f.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  33. package/dist/cjs/{sqm-portal-profile-view-cbab7c80.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -12
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -7
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
  40. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -62
  44. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-stencilbook.cjs.entry.js +117 -48
  46. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  47. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  48. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  49. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
  50. package/dist/cjs/sqm-widget-verification.cjs.entry.js +168 -107
  51. package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
  52. package/dist/cjs/{useChildElements-23beb180.js → useChildElements-410d2435.js} +2 -2
  53. package/dist/cjs/{useInstantAccessRegistration-7c125c00.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  54. package/dist/cjs/usePayoutStatus-8f924372.js +1045 -0
  55. package/dist/cjs/{useReferralTable-54d0ba70.js → useReferralTable-824ac152.js} +13 -14
  56. package/dist/cjs/{useRegistrationFormState-e7e820d0.js → useRegistrationFormState-f9ce55be.js} +2 -2
  57. package/dist/cjs/useVerificationEmail-2eb28c2a.js +173 -0
  58. package/dist/cjs/{utilities-ac5b5f2c.js → utilities-f7de6c04.js} +2 -2
  59. package/dist/collection/collection-manifest.json +2 -2
  60. package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
  61. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
  62. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
  63. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
  64. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
  65. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
  66. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
  67. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
  68. package/dist/collection/components/sqm-text/sqm-text.js +1 -1
  69. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +7 -0
  70. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -2
  71. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +30 -7
  72. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +32 -26
  73. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
  74. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
  75. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +37 -10
  76. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +21 -44
  77. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
  78. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +513 -118
  79. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
  80. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +19 -0
  81. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +149 -3
  82. package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
  83. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  84. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +128 -14
  85. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +15 -1
  86. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +0 -1
  87. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  88. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  89. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
  90. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  91. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  92. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
  93. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
  94. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
  95. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
  96. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +7 -1
  97. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +92 -9
  98. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +269 -6
  99. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +44 -18
  100. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +6 -0
  101. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +55 -22
  102. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
  103. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +138 -9
  104. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +283 -17
  105. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +17 -2
  106. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +19 -9
  107. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
  108. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -11
  109. package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
  110. package/dist/esm/{ShadowViewAddon-72e231a5.js → ShadowViewAddon-69b61037.js} +12 -10
  111. package/dist/esm/extractProps-ae1afbb3.js +19 -0
  112. package/dist/esm/{global-adae7650.js → global-6306a9b8.js} +10 -161
  113. package/dist/esm/{index.module-c0eb7dc2.js → index.module-6c840c4e.js} +222 -1389
  114. package/dist/esm/{keys-a1496e39.js → keys-406491dc.js} +1 -1
  115. package/dist/esm/loader.js +4 -4
  116. package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  117. package/dist/esm/mint-components.js +4 -4
  118. package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  119. package/dist/esm/{re-render-5882a144.js → re-render-1bcfd0de.js} +2 -2
  120. package/dist/esm/sqm-asset-card.entry.js +2 -2
  121. package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +835 -209
  122. package/dist/esm/sqm-big-stat_39.entry.js +192 -72
  123. package/dist/esm/sqm-close-button.entry.js +2 -2
  124. package/dist/esm/sqm-context-router.entry.js +2 -2
  125. package/dist/esm/sqm-email-verification.entry.js +148 -18
  126. package/dist/esm/sqm-empty_4.entry.js +4 -4
  127. package/dist/esm/sqm-form-message.entry.js +1 -1
  128. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  129. package/dist/esm/sqm-header-logo.entry.js +1 -1
  130. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  131. package/dist/esm/{sqm-invoice-table-view-663674f2.js → sqm-invoice-table-view-b3127605.js} +155 -4
  132. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -4
  133. package/dist/esm/sqm-logout-current-user.entry.js +2 -3
  134. package/dist/esm/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  135. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  136. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  137. package/dist/esm/sqm-password-field.entry.js +3 -3
  138. package/dist/esm/sqm-popup-container.entry.js +2 -2
  139. package/dist/esm/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  140. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  141. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  142. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  143. package/dist/esm/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  144. package/dist/esm/sqm-portal-profile.entry.js +5 -6
  145. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  146. package/dist/esm/sqm-portal-registration-form.entry.js +4 -5
  147. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  148. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  149. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  150. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  151. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  152. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  153. package/dist/esm/sqm-rewards-table_9.entry.js +8 -9
  154. package/dist/esm/sqm-scroll.entry.js +1 -1
  155. package/dist/esm/sqm-stencilbook.entry.js +115 -46
  156. package/dist/esm/sqm-tab.entry.js +3 -3
  157. package/dist/esm/sqm-tabs.entry.js +4 -4
  158. package/dist/esm/sqm-text-span.entry.js +1 -1
  159. package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
  160. package/dist/esm/sqm-widget-verification.entry.js +169 -108
  161. package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  162. package/dist/esm/{useChildElements-fe94b660.js → useChildElements-fc84e640.js} +2 -2
  163. package/dist/esm/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  164. package/dist/esm/usePayoutStatus-0bc0380f.js +1039 -0
  165. package/dist/esm/{useReferralTable-52008143.js → useReferralTable-f6ffa103.js} +4 -5
  166. package/dist/esm/{useRegistrationFormState-4cfd1a8d.js → useRegistrationFormState-849e27f7.js} +2 -2
  167. package/dist/esm/useVerificationEmail-2a21d0e3.js +171 -0
  168. package/dist/esm/{utilities-98445452.js → utilities-443732be.js} +2 -2
  169. package/dist/esm-es5/ShadowViewAddon-69b61037.js +1 -0
  170. package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
  171. package/dist/esm-es5/global-6306a9b8.js +285 -0
  172. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  173. package/dist/esm-es5/{keys-a1496e39.js → keys-406491dc.js} +1 -1
  174. package/dist/esm-es5/loader.js +1 -1
  175. package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  176. package/dist/esm-es5/mint-components.js +1 -1
  177. package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  178. package/dist/esm-es5/{re-render-5882a144.js → re-render-1bcfd0de.js} +1 -1
  179. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  180. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  181. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  182. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  183. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  184. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  185. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  186. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  187. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  188. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  189. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  190. package/dist/esm-es5/sqm-invoice-table-view-b3127605.js +1 -0
  191. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  192. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  193. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  194. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  195. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  196. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  197. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  199. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  200. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  201. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  202. package/dist/esm-es5/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  203. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  204. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  205. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  206. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  207. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  208. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  209. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  210. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  211. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  212. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  213. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  214. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  215. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  216. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  217. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  218. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
  219. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  220. package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  221. package/dist/esm-es5/useChildElements-fc84e640.js +1 -0
  222. package/dist/esm-es5/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +1 -1
  223. package/dist/esm-es5/usePayoutStatus-0bc0380f.js +6 -0
  224. package/dist/esm-es5/useReferralTable-f6ffa103.js +1 -0
  225. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  226. package/dist/esm-es5/useVerificationEmail-2a21d0e3.js +1 -0
  227. package/dist/esm-es5/{utilities-98445452.js → utilities-443732be.js} +1 -1
  228. package/dist/mint-components/mint-components.esm.js +1 -1
  229. package/dist/mint-components/mint-components.js +1 -1
  230. package/dist/mint-components/{p-0ecb3019.js → p-0121e044.js} +1 -1
  231. package/dist/mint-components/p-012daf3c.entry.js +1 -0
  232. package/dist/mint-components/p-021ccc29.entry.js +25 -0
  233. package/dist/mint-components/{p-1e40967f.entry.js → p-03dbe2ce.entry.js} +1 -1
  234. package/dist/mint-components/{p-65a449de.js → p-04348a9b.js} +1 -1
  235. package/dist/mint-components/{p-14488d1c.system.entry.js → p-04ced592.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-78a831e0.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  237. package/dist/mint-components/p-0893073b.entry.js +1 -0
  238. package/dist/mint-components/p-0a94fe9f.system.entry.js +1 -0
  239. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  240. package/dist/mint-components/p-11d1b212.js +1 -0
  241. package/dist/mint-components/p-156e37c2.system.entry.js +1 -0
  242. package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
  243. package/dist/mint-components/{p-ee328054.entry.js → p-1b861be5.entry.js} +1 -1
  244. package/dist/mint-components/{p-4209cd94.js → p-1d27da33.js} +4 -4
  245. package/dist/mint-components/{p-5a2fd8e0.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-f0fba496.system.entry.js → p-22425c71.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
  248. package/dist/mint-components/p-26468242.js +1 -0
  249. package/dist/mint-components/{p-1602bf01.js → p-2816bf6a.js} +1 -1
  250. package/dist/mint-components/p-2868f475.entry.js +1 -0
  251. package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
  252. package/dist/mint-components/p-2c342de3.system.entry.js +1 -0
  253. package/dist/mint-components/p-3007fb7d.system.entry.js +1 -0
  254. package/dist/mint-components/p-36e9296e.system.entry.js +1 -0
  255. package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
  256. package/dist/mint-components/p-38c7775a.js +1 -0
  257. package/dist/mint-components/p-3925bcd6.entry.js +13 -0
  258. package/dist/mint-components/{p-45d0b48a.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  259. package/dist/mint-components/{p-423821b9.system.js → p-43621f12.system.js} +1 -1
  260. package/dist/mint-components/p-478a3755.entry.js +9 -0
  261. package/dist/mint-components/p-47b47e3b.js +31 -0
  262. package/dist/mint-components/{p-f338ef55.system.js → p-4babe350.system.js} +1 -1
  263. package/dist/mint-components/{p-34a87e67.system.js → p-4e373c3d.system.js} +1 -1
  264. package/dist/mint-components/{p-ab89b44a.system.js → p-4eae91a9.system.js} +1 -1
  265. package/dist/mint-components/{p-ab7322f0.system.entry.js → p-51d53165.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-4c0b7768.entry.js → p-5291891c.entry.js} +3 -3
  267. package/dist/mint-components/{p-4c9b6fbe.system.js → p-57dd28bd.system.js} +1 -1
  268. package/dist/mint-components/{p-34dab223.system.entry.js → p-59818690.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-00ec17d4.system.js → p-5becb2ff.system.js} +1 -1
  270. package/dist/mint-components/{p-a1f0d8ba.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  271. package/dist/mint-components/p-64491210.system.entry.js +1 -0
  272. package/dist/mint-components/{p-def70672.js → p-68747d88.js} +1 -1
  273. package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-cafebf8a.entry.js → p-6c928c7d.entry.js} +1 -1
  275. package/dist/mint-components/{p-70886c65.system.entry.js → p-70af9ba2.system.entry.js} +1 -1
  276. package/dist/mint-components/{p-657b290b.entry.js → p-76392386.entry.js} +1 -1
  277. package/dist/mint-components/p-7dd1ff31.system.entry.js +1 -0
  278. package/dist/mint-components/{p-d0c4f3bf.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  279. package/dist/mint-components/{p-cdcd825e.entry.js → p-84b25a46.entry.js} +1 -1
  280. package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-45d6cde6.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  282. package/dist/mint-components/p-8d554a89.system.js +1 -0
  283. package/dist/mint-components/p-93576222.system.js +1 -0
  284. package/dist/mint-components/p-9379ee08.js +48 -0
  285. package/dist/mint-components/{p-d2a925d5.entry.js → p-94454880.entry.js} +1 -1
  286. package/dist/mint-components/{p-3ba349a3.entry.js → p-947fe79b.entry.js} +1 -1
  287. package/dist/mint-components/p-97c92e75.entry.js +16 -0
  288. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  289. package/dist/mint-components/p-9bd417fd.entry.js +1 -0
  290. package/dist/mint-components/{p-c293f586.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  291. package/dist/mint-components/{p-56b37aeb.entry.js → p-9d34f4f0.entry.js} +3 -3
  292. package/dist/mint-components/{p-64acc813.entry.js → p-9e0230c3.entry.js} +1 -1
  293. package/dist/mint-components/{p-8ccb4267.js → p-9eae245f.js} +30 -27
  294. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  295. package/dist/mint-components/{p-a2e1af83.entry.js → p-a45b03d2.entry.js} +1 -1
  296. package/dist/mint-components/{p-15e01e7a.entry.js → p-a85f57bb.entry.js} +1 -1
  297. package/dist/mint-components/p-a8645c1b.system.js +1 -0
  298. package/dist/mint-components/p-a8c28561.system.js +1 -0
  299. package/dist/mint-components/p-a954c299.entry.js +205 -0
  300. package/dist/mint-components/{p-dce3d296.system.js → p-ac51940e.system.js} +1 -1
  301. package/dist/mint-components/{p-d39da925.entry.js → p-b1e8a802.entry.js} +1 -1
  302. package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
  303. package/dist/mint-components/{p-3da2b3cf.system.entry.js → p-bc826117.system.entry.js} +1 -1
  304. package/dist/mint-components/p-bd1372d2.system.js +6 -0
  305. package/dist/mint-components/p-bdd6bb13.js +1 -0
  306. package/dist/mint-components/{p-3c46b3de.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-cadb8dba.entry.js → p-bee1e573.entry.js} +1 -1
  308. package/dist/mint-components/{p-18cd88c4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  309. package/dist/mint-components/p-c1fa5e04.system.js +1 -0
  310. package/dist/mint-components/{p-7507d72b.js → p-c3b37bbf.js} +1 -1
  311. package/dist/mint-components/{p-ac69b460.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  312. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  313. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  314. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  315. package/dist/mint-components/p-ca809fdd.system.js +1 -0
  316. package/dist/mint-components/p-cb433855.system.entry.js +1 -0
  317. package/dist/mint-components/p-cb55d3c4.system.entry.js +1 -0
  318. package/dist/mint-components/{p-6a70d2d6.entry.js → p-cd200c95.entry.js} +1 -1
  319. package/dist/mint-components/{p-06c561ea.system.js → p-cd44de66.system.js} +1 -1
  320. package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
  321. package/dist/mint-components/p-d35d8c06.entry.js +11 -0
  322. package/dist/mint-components/p-d468925f.entry.js +1 -0
  323. package/dist/mint-components/p-d4877a65.system.entry.js +1 -0
  324. package/dist/mint-components/{p-0db003f7.js → p-d83b0cf3.js} +153 -153
  325. package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
  326. package/dist/mint-components/p-def516b8.system.js +1 -0
  327. package/dist/mint-components/p-e01ac27c.system.js +1 -0
  328. package/dist/mint-components/{p-611a30f0.js → p-e0e7635a.js} +1 -1
  329. package/dist/mint-components/p-e12d3414.system.entry.js +1 -0
  330. package/dist/mint-components/{p-816fb64f.system.entry.js → p-ead27698.system.entry.js} +1 -1
  331. package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
  332. package/dist/mint-components/p-f1184442.js +1 -0
  333. package/dist/mint-components/p-f196d71a.entry.js +241 -0
  334. package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
  335. package/dist/mint-components/p-f36e33ff.entry.js +13 -0
  336. package/dist/mint-components/p-f450654b.system.entry.js +1 -0
  337. package/dist/mint-components/p-f4cbbe47.entry.js +1 -0
  338. package/dist/mint-components/p-f531a5c9.system.entry.js +1 -0
  339. package/dist/mint-components/{p-b14a77e8.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  340. package/dist/mint-components/p-f655a7df.js +1 -0
  341. package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
  342. package/dist/mint-components/{p-fda3d0ca.system.js → p-fc422446.system.js} +22 -22
  343. package/dist/mint-components/p-fd21ae8f.entry.js +1 -0
  344. package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
  345. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
  346. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  347. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  348. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +1 -0
  349. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +1 -0
  350. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +4 -0
  351. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +2 -1
  352. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
  353. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
  354. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
  355. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -6
  356. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
  357. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +79 -1
  358. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -0
  359. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  360. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +5 -0
  361. package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
  362. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +7 -0
  363. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
  364. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  365. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  366. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  367. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  368. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
  369. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
  370. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
  371. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +4 -0
  372. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
  373. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +46 -0
  374. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +12 -1
  375. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +6 -0
  376. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
  377. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +15 -3
  378. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +17 -2
  379. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +47 -2
  380. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  381. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  382. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
  383. package/dist/types/components.d.ts +461 -83
  384. package/docs/docs.docx +0 -0
  385. package/docs/raisins.json +1 -1
  386. package/grapesjs/grapesjs.js +1 -1
  387. package/package.json +2 -1
  388. package/dist/cjs/index-56d1fa5b.js +0 -2227
  389. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -356
  390. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -33
  391. package/dist/cjs/useEmailVerification-33465f36.js +0 -155
  392. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -27
  393. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +0 -3
  394. package/dist/esm/index-0c7b14c5.js +0 -2225
  395. package/dist/esm/sqm-code-verification.entry.js +0 -352
  396. package/dist/esm/sqm-widget-verification-internal.entry.js +0 -29
  397. package/dist/esm/useEmailVerification-8f2dc2bd.js +0 -152
  398. package/dist/esm-es5/ShadowViewAddon-72e231a5.js +0 -1
  399. package/dist/esm-es5/global-adae7650.js +0 -285
  400. package/dist/esm-es5/index-0c7b14c5.js +0 -1
  401. package/dist/esm-es5/index.module-c0eb7dc2.js +0 -53
  402. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
  403. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  404. package/dist/esm-es5/sqm-invoice-table-view-663674f2.js +0 -1
  405. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
  406. package/dist/esm-es5/useChildElements-fe94b660.js +0 -1
  407. package/dist/esm-es5/useEmailVerification-8f2dc2bd.js +0 -1
  408. package/dist/esm-es5/useReferralTable-52008143.js +0 -1
  409. package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +0 -1
  410. package/dist/mint-components/p-0078bc76.system.js +0 -53
  411. package/dist/mint-components/p-18399da0.system.entry.js +0 -1
  412. package/dist/mint-components/p-1f02e20b.entry.js +0 -1
  413. package/dist/mint-components/p-253c87e1.system.entry.js +0 -1
  414. package/dist/mint-components/p-25a70095.system.entry.js +0 -1
  415. package/dist/mint-components/p-2632464d.entry.js +0 -1
  416. package/dist/mint-components/p-286190c4.system.entry.js +0 -1
  417. package/dist/mint-components/p-414b3b6c.system.entry.js +0 -1
  418. package/dist/mint-components/p-4185f6f5.system.entry.js +0 -1
  419. package/dist/mint-components/p-4d060f15.js +0 -1
  420. package/dist/mint-components/p-52241ba9.system.js +0 -1
  421. package/dist/mint-components/p-556753b2.js +0 -42
  422. package/dist/mint-components/p-55dcb6ff.system.js +0 -1
  423. package/dist/mint-components/p-65de8fb2.js +0 -1
  424. package/dist/mint-components/p-6cae44d7.js +0 -1
  425. package/dist/mint-components/p-6eede6e5.system.entry.js +0 -1
  426. package/dist/mint-components/p-6fbfd683.js +0 -1
  427. package/dist/mint-components/p-78c1bd77.system.js +0 -1
  428. package/dist/mint-components/p-7c4c727c.system.entry.js +0 -1
  429. package/dist/mint-components/p-7e5f0292.system.entry.js +0 -1
  430. package/dist/mint-components/p-832eba3a.entry.js +0 -1
  431. package/dist/mint-components/p-858a87ce.entry.js +0 -1
  432. package/dist/mint-components/p-89669879.system.js +0 -1
  433. package/dist/mint-components/p-8b7d2f44.entry.js +0 -1
  434. package/dist/mint-components/p-8d696fc9.entry.js +0 -189
  435. package/dist/mint-components/p-8da20810.entry.js +0 -240
  436. package/dist/mint-components/p-8defb972.system.entry.js +0 -1
  437. package/dist/mint-components/p-99a09fab.entry.js +0 -9
  438. package/dist/mint-components/p-9cdaa099.entry.js +0 -1
  439. package/dist/mint-components/p-a80c8f5c.system.js +0 -1
  440. package/dist/mint-components/p-a9487844.system.entry.js +0 -1
  441. package/dist/mint-components/p-b28df069.js +0 -1
  442. package/dist/mint-components/p-b4771476.entry.js +0 -1
  443. package/dist/mint-components/p-c9ca8473.system.entry.js +0 -1
  444. package/dist/mint-components/p-cac64545.system.entry.js +0 -1
  445. package/dist/mint-components/p-d3293ac3.entry.js +0 -11
  446. package/dist/mint-components/p-d4138847.system.entry.js +0 -1
  447. package/dist/mint-components/p-d70bfe30.entry.js +0 -8
  448. package/dist/mint-components/p-d7b701a7.entry.js +0 -1
  449. package/dist/mint-components/p-d90ef1da.system.entry.js +0 -1
  450. package/dist/mint-components/p-e05ff098.system.js +0 -1
  451. package/dist/mint-components/p-e4c3817a.system.entry.js +0 -1
  452. package/dist/mint-components/p-e7797040.entry.js +0 -1
  453. package/dist/mint-components/p-e810da97.entry.js +0 -1
  454. package/dist/mint-components/p-e82eec3c.entry.js +0 -13
  455. package/dist/mint-components/p-e8bfd924.system.entry.js +0 -1
  456. package/dist/mint-components/p-e8fcaaa2.entry.js +0 -13
  457. package/dist/mint-components/p-ef49d744.entry.js +0 -1
  458. package/dist/mint-components/p-f5f0fc0e.entry.js +0 -1
  459. package/dist/mint-components/p-faf019cf.system.js +0 -1
  460. package/dist/mint-components/p-fcb224ab.js +0 -25
  461. package/dist/mint-components/p-fe8e1071.entry.js +0 -1
  462. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -5
  463. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -1
@@ -0,0 +1 @@
1
+ import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-bdd6bb13.js";import{c as l}from"./p-c1086930.js";import{E as a}from"./p-02be1a88.js";import{c as o}from"./p-cef45012.js";import{g as u}from"./p-9ec99ced.js";import{R as c}from"./p-f655a7df.js";var d="(\\d.*)",h="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,d,t)},letters:function(t){return m.call(this,h,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:a}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,d;const{states:h,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:h.content.fieldLabel||"Password",required:!0,disabled:(null===(i=h.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=h.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=h.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=h.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=h.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(d=null===(c=h.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===d?void 0:d.password)||"Cannot be empty"}:[],{onInput:t=>h.enableValidation&&p.onInput(t)})),h.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,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",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,d]=n(""),[h,p]=n("");if(t.demoData&&h!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);d(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);d(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(u(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(u(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -39,4 +39,4 @@ import{g as t,a as e,f as n}from"./p-64c3217a.js";var r="undefined"!=typeof glob
39
39
  * subject to an additional IP rights grant found at
40
40
  * http://polymer.github.io/PATENTS.txt
41
41
  */
42
- "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");let u=0;function a(t){c=t}function f(){c=null,u=0}const h=Symbol("haunted.hook"),C=Symbol("haunted.effects"),d=Symbol("haunted.layoutEffects");class l{update;host;virtual;[h];[C];[d];constructor(t,e){this.update=t,this.host=e,this[h]=new Map,this[C]=[],this[d]=[]}run(t){a(this);let e=t();return f(),e}_runEffects(t){let e=this[t];a(this);for(let t of e)t.call(this);f()}runEffects(){this._runEffects(C)}runLayoutEffects(){this._runEffects(d)}teardown(){this[h].forEach((t=>{"function"==typeof t.teardown&&t.teardown()}))}}Promise.resolve().then.bind(Promise.resolve());class F{id;state;constructor(t,e){this.id=t,this.state=e}}function v(t,...e){let n=u++,r=c[h],i=r.get(n);return i||(i=new t(n,c,...e),r.set(n,i)),i.update(...e)}function m(t){return v.bind(null,t)}function p(t){return m(class extends F{callback;lastValues;values;_teardown;constructor(e,n,r,i){super(e,n),t(n,this)}update(t,e){this.callback=t,this.values=e}call(){this.values&&!this.hasChanged()||this.run(),this.lastValues=this.values}run(){this.teardown(),this._teardown=this.callback.call(this.state)}teardown(){"function"==typeof this._teardown&&this._teardown()}hasChanged(){return!this.lastValues||this.values.some(((t,e)=>this.lastValues[e]!==t))}})}function w(t,e){t[C].push(e)}const g=p(w),y=(m(class extends F{Context;value;_ranEffect;_unsubscribe;constructor(t,e,n){super(t,e),this._updater=this._updater.bind(this),this._ranEffect=!1,this._unsubscribe=null,w(e,this)}update(t){if(this.state.virtual)throw new Error("can't be used with virtual components");return this.Context!==t&&(this._subscribe(t),this.Context=t),this.value}call(){this._ranEffect||(this._ranEffect=!0,this._unsubscribe&&this._unsubscribe(),this._subscribe(this.Context),this.state.update())}_updater(t){this.value=t,this.state.update()}_subscribe(t){const e={Context:t,callback:this._updater};this.state.host.dispatchEvent(new CustomEvent("haunted.context",{detail:e,bubbles:!0,cancelable:!0,composed:!0}));const{unsubscribe:n=null,value:r}=e;this.value=n?r:t.defaultValue,this._unsubscribe=n}teardown(){this._unsubscribe&&this._unsubscribe()}}),m(class extends F{value;values;constructor(t,e,n,r){super(t,e),this.value=n(),this.values=r}update(t,e){return this.hasChanged(e)&&(this.values=e,this.value=t()),this.value}hasChanged(t=[]){return t.some(((t,e)=>this.values[e]!==t))}}));p((function(t,e){t[d].push(e)}));const b=m(class extends F{args;constructor(t,e,n){super(t,e),this.updater=this.updater.bind(this),"function"==typeof n&&(n=n()),this.makeArgs(n)}update(){return this.args}updater(t){if("function"==typeof t){const e=t,[n]=this.args;t=e(n)}this.makeArgs(t),this.state.update()}makeArgs(t){this.args=Object.freeze([t,this.updater])}}),x=m(class extends F{reducer;currentState;constructor(t,e,n,r,i){super(t,e),this.dispatch=this.dispatch.bind(this),this.currentState=void 0!==i?i(r):r}update(t){return this.reducer=t,[this.currentState,this.dispatch]}dispatch(t){this.currentState=this.reducer(this.currentState,t),this.state.update()}}),E=t=>y((()=>({current:t})),[]);var O=1e3,j=60*O,k=60*j,M=24*k,S=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*M;case"hours":case"hour":case"hrs":case"hr":case"h":return n*k;case"minutes":case"minute":case"mins":case"min":case"m":return n*j;case"seconds":case"second":case"secs":case"sec":case"s":return n*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);return e>=M?I(t,e,M,"day"):e>=k?I(t,e,k,"hour"):e>=j?I(t,e,j,"minute"):e>=O?I(t,e,O,"second"):t+" ms"}(t):function(t){var e=Math.abs(t);return e>=M?Math.round(t/M)+"d":e>=k?Math.round(t/k)+"h":e>=j?Math.round(t/j)+"m":e>=O?Math.round(t/O)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function I(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}var P=s((function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=function(t){function e(t){let r,i,s,o=null;function c(...t){if(!c.enabled)return;const n=c,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=e.formatters[i];return"function"==typeof o&&(r=o.call(n,t[s]),t.splice(s,1),s--),r})),e.formatArgs.call(n,t),(n.log||e.log).apply(n,t)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=n,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==e.namespaces&&(i=e.namespaces,s=e.enabled(t)),s),set:t=>{o=t}}),"function"==typeof e.init&&e.init(c),c}function n(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names.map(r),...e.skips.map(r).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=S,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}));function N(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e,n){return e&&N(t.prototype,e),n&&N(t,n),t}var _=function(){function t(t){var e=this,n=this;this._status="Initial",this.onChange=function(t,e){n.options.onChange&&n.options.onChange(t,e)},this.onConnect=function(t){try{return e.status="Connected",e.options.onChange&&e.options.onChange(t,t),Promise.resolve(new Promise((function(t){e.resolvePromise=t})))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){n.status="Connecting",n.start()},this.options=t}var e=t.prototype;return e.start=function(){var t=this,e=0;this.status="Connecting";var n=function(){return t.status},r=J(this.options.attempts)||10,i=function(){if("Connected"!==n()){var i=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});J(t.options.element).dispatchEvent(i),"Connected"!==n()?++e>=r&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===n()&&t._interval&&clearInterval(t._interval)}};return(J(this.options.pollingMs)||100)>0&&r>1&&(this._interval=setInterval(i,J(this.options.pollingMs)||100)),i(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},$(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t)},get:function(){return this._status}}]),t}(),z=function(){function t(t){var e=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),e.__listeners=[].concat(e.__listeners,[t.detail]);var n=function(n,r){try{var i=Promise.resolve(t.detail.onConnect(e.__current)).then((function(){}))}catch(t){return r(!0,t)}return i&&i.then?i.then(r.bind(null,!1),r.bind(null,!0)):r(!1,i)}(0,(function(n,r){var i,s;if(e.__listeners=(s=(i=e.__listeners).indexOf(t.detail),i.slice(0,s).concat(i.slice(s+1,i.length))),n)throw r;return r}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=J(t.initialState)}var e=t.prototype;return e.start=function(){return J(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return J(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map((function(t){t.onDisconnect()})),this.__listeners=[],this},$(t,[{key:"context",set:function(t){var e=this.__current;this.__current=t,this.__listeners.forEach((function(n){return n.onChange(t,e)}))},get:function(){return J(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function J(t){return"function"==typeof typeof t?t():t}function L(){return(L=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var R=1e3,T=60*R,A=60*T,D=24*A,Z=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*D;case"hours":case"hour":case"hrs":case"hr":case"h":return n*A;case"minutes":case"minute":case"mins":case"min":case"m":return n*T;case"seconds":case"second":case"secs":case"sec":case"s":return n*R;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);return e>=D?q(t,e,D,"day"):e>=A?q(t,e,A,"hour"):e>=T?q(t,e,T,"minute"):e>=R?q(t,e,R,"second"):t+" ms"}(t):function(t){var e=Math.abs(t);return e>=D?Math.round(t/D)+"d":e>=A?Math.round(t/A)+"h":e>=T?Math.round(t/T)+"m":e>=R?Math.round(t/R)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function q(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}var U,H=(function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=function(t){function e(t){let r,i=null;function s(...t){if(!s.enabled)return;const n=s,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";o++;const s=e.formatters[i];return"function"==typeof s&&(r=s.call(n,t[o]),t.splice(o,1),o--),r})),e.formatArgs.call(n,t),(n.log||e.log).apply(n,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=n,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===i?e.enabled(t):i,set:t=>{i=t}}),"function"==typeof e.init&&e.init(s),s}function n(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names.map(r),...e.skips.map(r).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=Z,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(U={exports:{}},U.exports),U.exports)("useDomContext");function Q(t,e,n){var r=y((function(){var r=new z({contextName:e,element:t,initialState:n});return r.start(),H("Provider initialized",r),r}),[e,t]);g((function(){return H("Provider starting (or restarting)",r),r.start(),function(){H("Provider stopping (or re-stopping)",r),r.stop()}}),[r,t.isConnected]);var i=x((function(t,e){var n;return H("New context value",e),n="function"==typeof e?e(r.context):e,r.context=n,r.context}),r.context);return[i[0],i[1],r]}function V(){var n=e();return t(n)}function B(t,e){return void 0===e&&(e={}),function(t,e,n){void 0===n&&(n={});var r=E(void 0),i=b(void 0),s=i[0],o=i[1],c=y((function(){var i;try{(i=new _(L({contextName:e,element:t,onChange:function(t){r&&(r.current=t),o(t)}},n))).start()}catch(t){H("Listener failed to start",t)}return H("Listener initialized",i),{listener:i}}),[e,r]).listener;return g((function(){return H("Listener starting (or restarting)",c),c.start(),function(){H("Listener stopping (or restopping)",c),c.stop()}}),[c,t.isConnected]),s||(null==r?void 0:r.current)}(V(),t,e)}function G(t,e){return Q(V(),t,e)}var K=P("stencil-hook");function W(e){var r,i=t(e),s=(r=!1,new l((function(){K("Queue update on element",i),r||(r=!0,Promise.resolve().then((function(){K("Forced update on element",i),r=!1,n(i)})))}),i)),o=e.disconnectedCallback;if(!o)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");e.disconnectedCallback=function(){s.teardown(),X(o)};var c=e.connectedCallback;e.connectedCallback=function(){s.update(),X(c)};var u=e.render.bind(e);e.render=function(){var t=s.run(u);return s.runEffects(),t}}function X(t){"function"==typeof t&&t()}export{r as a,P as b,s as c,g as d,E as e,b as f,o as g,x as h,i,W as j,B as k,V as l,G as m,y as u,Q as y}
42
+ "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");let u=0;function a(t){c=t}function f(){c=null,u=0}const h=Symbol("haunted.hook"),C=Symbol("haunted.effects"),d=Symbol("haunted.layoutEffects");class l{update;host;virtual;[h];[C];[d];constructor(t,e){this.update=t,this.host=e,this[h]=new Map,this[C]=[],this[d]=[]}run(t){a(this);let e=t();return f(),e}_runEffects(t){let e=this[t];a(this);for(let t of e)t.call(this);f()}runEffects(){this._runEffects(C)}runLayoutEffects(){this._runEffects(d)}teardown(){this[h].forEach((t=>{"function"==typeof t.teardown&&t.teardown()}))}}Promise.resolve().then.bind(Promise.resolve());class F{id;state;constructor(t,e){this.id=t,this.state=e}}function v(t,...e){let n=u++,r=c[h],i=r.get(n);return i||(i=new t(n,c,...e),r.set(n,i)),i.update(...e)}function m(t){return v.bind(null,t)}function p(t){return m(class extends F{callback;lastValues;values;_teardown;constructor(e,n,r,i){super(e,n),t(n,this)}update(t,e){this.callback=t,this.values=e}call(){this.values&&!this.hasChanged()||this.run(),this.lastValues=this.values}run(){this.teardown(),this._teardown=this.callback.call(this.state)}teardown(){"function"==typeof this._teardown&&this._teardown()}hasChanged(){return!this.lastValues||this.values.some(((t,e)=>this.lastValues[e]!==t))}})}function w(t,e){t[C].push(e)}const g=p(w),y=(m(class extends F{Context;value;_ranEffect;_unsubscribe;constructor(t,e,n){super(t,e),this._updater=this._updater.bind(this),this._ranEffect=!1,this._unsubscribe=null,w(e,this)}update(t){if(this.state.virtual)throw new Error("can't be used with virtual components");return this.Context!==t&&(this._subscribe(t),this.Context=t),this.value}call(){this._ranEffect||(this._ranEffect=!0,this._unsubscribe&&this._unsubscribe(),this._subscribe(this.Context),this.state.update())}_updater(t){this.value=t,this.state.update()}_subscribe(t){const e={Context:t,callback:this._updater};this.state.host.dispatchEvent(new CustomEvent("haunted.context",{detail:e,bubbles:!0,cancelable:!0,composed:!0}));const{unsubscribe:n=null,value:r}=e;this.value=n?r:t.defaultValue,this._unsubscribe=n}teardown(){this._unsubscribe&&this._unsubscribe()}}),m(class extends F{value;values;constructor(t,e,n,r){super(t,e),this.value=n(),this.values=r}update(t,e){return this.hasChanged(e)&&(this.values=e,this.value=t()),this.value}hasChanged(t=[]){return t.some(((t,e)=>this.values[e]!==t))}}));p((function(t,e){t[d].push(e)}));const b=m(class extends F{args;constructor(t,e,n){super(t,e),this.updater=this.updater.bind(this),"function"==typeof n&&(n=n()),this.makeArgs(n)}update(){return this.args}updater(t){if("function"==typeof t){const e=t,[n]=this.args;t=e(n)}this.makeArgs(t),this.state.update()}makeArgs(t){this.args=Object.freeze([t,this.updater])}}),x=m(class extends F{reducer;currentState;constructor(t,e,n,r,i){super(t,e),this.dispatch=this.dispatch.bind(this),this.currentState=void 0!==i?i(r):r}update(t){return this.reducer=t,[this.currentState,this.dispatch]}dispatch(t){this.currentState=this.reducer(this.currentState,t),this.state.update()}}),E=t=>y((()=>({current:t})),[]);var O=1e3,j=60*O,k=60*j,M=24*k,S=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*M;case"hours":case"hour":case"hrs":case"hr":case"h":return n*k;case"minutes":case"minute":case"mins":case"min":case"m":return n*j;case"seconds":case"second":case"secs":case"sec":case"s":return n*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);return e>=M?I(t,e,M,"day"):e>=k?I(t,e,k,"hour"):e>=j?I(t,e,j,"minute"):e>=O?I(t,e,O,"second"):t+" ms"}(t):function(t){var e=Math.abs(t);return e>=M?Math.round(t/M)+"d":e>=k?Math.round(t/k)+"h":e>=j?Math.round(t/j)+"m":e>=O?Math.round(t/O)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function I(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}var P=s((function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=function(t){function e(t){let r,i,s,o=null;function c(...t){if(!c.enabled)return;const n=c,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=e.formatters[i];return"function"==typeof o&&(r=o.call(n,t[s]),t.splice(s,1),s--),r})),e.formatArgs.call(n,t),(n.log||e.log).apply(n,t)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=n,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==e.namespaces&&(i=e.namespaces,s=e.enabled(t)),s),set:t=>{o=t}}),"function"==typeof e.init&&e.init(c),c}function n(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names.map(r),...e.skips.map(r).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=S,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}));function N(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e,n){return e&&N(t.prototype,e),n&&N(t,n),t}var _=function(){function t(t){var e=this,n=this;this._status="Initial",this.onChange=function(t,e){n.options.onChange&&n.options.onChange(t,e)},this.onConnect=function(t){try{return e.status="Connected",e.options.onChange&&e.options.onChange(t,t),Promise.resolve(new Promise((function(t){e.resolvePromise=t})))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){n.status="Connecting",n.start()},this.options=t}var e=t.prototype;return e.start=function(){var t=this,e=0;this.status="Connecting";var n=function(){return t.status},r=J(this.options.attempts)||10,i=function(){if("Connected"!==n()){var i=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});J(t.options.element).dispatchEvent(i),"Connected"!==n()?++e>=r&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===n()&&t._interval&&clearInterval(t._interval)}};return(J(this.options.pollingMs)||100)>0&&r>1&&(this._interval=setInterval(i,J(this.options.pollingMs)||100)),i(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},$(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t)},get:function(){return this._status}}]),t}(),z=function(){function t(t){var e=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),e.__listeners=[].concat(e.__listeners,[t.detail]);var n=function(n,r){try{var i=Promise.resolve(t.detail.onConnect(e.__current)).then((function(){}))}catch(t){return r(!0,t)}return i&&i.then?i.then(r.bind(null,!1),r.bind(null,!0)):r(!1,i)}(0,(function(n,r){var i,s;if(e.__listeners=(s=(i=e.__listeners).indexOf(t.detail),i.slice(0,s).concat(i.slice(s+1,i.length))),n)throw r;return r}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=J(t.initialState)}var e=t.prototype;return e.start=function(){return J(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return J(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map((function(t){t.onDisconnect()})),this.__listeners=[],this},$(t,[{key:"context",set:function(t){var e=this.__current;this.__current=t,this.__listeners.forEach((function(n){return n.onChange(t,e)}))},get:function(){return J(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function J(t){return"function"==typeof typeof t?t():t}function L(){return(L=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var R=1e3,T=60*R,A=60*T,D=24*A,Z=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*D;case"hours":case"hour":case"hrs":case"hr":case"h":return n*A;case"minutes":case"minute":case"mins":case"min":case"m":return n*T;case"seconds":case"second":case"secs":case"sec":case"s":return n*R;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);return e>=D?q(t,e,D,"day"):e>=A?q(t,e,A,"hour"):e>=T?q(t,e,T,"minute"):e>=R?q(t,e,R,"second"):t+" ms"}(t):function(t){var e=Math.abs(t);return e>=D?Math.round(t/D)+"d":e>=A?Math.round(t/A)+"h":e>=T?Math.round(t/T)+"m":e>=R?Math.round(t/R)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function q(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}var U,H=(function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=function(t){function e(t){let r,i=null;function s(...t){if(!s.enabled)return;const n=s,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";o++;const s=e.formatters[i];return"function"==typeof s&&(r=s.call(n,t[o]),t.splice(o,1),o--),r})),e.formatArgs.call(n,t),(n.log||e.log).apply(n,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=n,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===i?e.enabled(t):i,set:t=>{i=t}}),"function"==typeof e.init&&e.init(s),s}function n(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names.map(r),...e.skips.map(r).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=Z,e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(U={exports:{}},U.exports),U.exports)("useDomContext");function Q(t,e,n){void 0===n&&(n={});var r=E(void 0),i=b(void 0),s=i[0],o=i[1],c=y((function(){var i;try{(i=new _(L({contextName:e,element:t,onChange:function(t){r&&(r.current=t),o(t)}},n))).start()}catch(t){H("Listener failed to start",t)}return H("Listener initialized",i),{listener:i}}),[e,r]).listener;return g((function(){return H("Listener starting (or restarting)",c),c.start(),function(){H("Listener stopping (or restopping)",c),c.stop()}}),[c,t.isConnected]),s||(null==r?void 0:r.current)}function V(t,e,n){var r=y((function(){var r=new z({contextName:e,element:t,initialState:n});return r.start(),H("Provider initialized",r),r}),[e,t]);g((function(){return H("Provider starting (or restarting)",r),r.start(),function(){H("Provider stopping (or re-stopping)",r),r.stop()}}),[r,t.isConnected]);var i=x((function(t,e){var n;return H("New context value",e),n="function"==typeof e?e(r.context):e,r.context=n,r.context}),r.context);return[i[0],i[1],r]}function B(){var n=e();return t(n)}function G(t,e){return void 0===e&&(e={}),Q(B(),t,e)}function K(t,e){return V(B(),t,e)}var W=P("stencil-hook");function X(e){var r,i=t(e),s=(r=!1,new l((function(){W("Queue update on element",i),r||(r=!0,Promise.resolve().then((function(){W("Forced update on element",i),r=!1,n(i)})))}),i)),o=e.disconnectedCallback;if(!o)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");e.disconnectedCallback=function(){s.teardown(),Y(o)};var c=e.connectedCallback;e.connectedCallback=function(){s.update(),Y(c)};var u=e.render.bind(e);e.render=function(){var t=s.run(u);return s.runEffects(),t}}function Y(t){"function"==typeof t&&t()}export{r as a,P as b,s as c,z as d,i as e,g as f,o as g,Q as h,G as i,x as j,b as k,B as l,E as m,X as n,K as o,_ as s,y as u,V as y}
@@ -3,3 +3,4 @@ declare const _default: {
3
3
  };
4
4
  export default _default;
5
5
  export declare const CompletedTaxForm: () => any;
6
+ export declare const CompletedTaxFormWithStatsContainer: () => any;
@@ -17,6 +17,7 @@ export declare const Cancelled: () => any;
17
17
  export declare const Expired: () => any;
18
18
  export declare const Denied: () => any;
19
19
  export declare const PayoutFailed: () => any;
20
+ export declare const PayoutDenied: () => any;
20
21
  export declare const PayoutCancelled: () => any;
21
22
  export declare const PendingReview: () => any;
22
23
  export declare const PendingTaxReview: () => any;
@@ -37,6 +37,7 @@ export declare const StatusCellPendingTaxSubmission: () => any;
37
37
  export declare const StatusCellPendingPartnerCreation: () => any;
38
38
  export declare const StatusCellPayoutSent: () => any;
39
39
  export declare const StatusCellPayoutFailed: () => any;
40
+ export declare const StatusCellPayoutCancelled: () => any;
40
41
  export declare const StatusCellPendingWithLongText: () => any;
41
42
  export declare const StatusCellPendingUsTax: () => any;
42
43
  export declare const StatusCellPendingScheduled: () => any;
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  };
4
4
  export default _default;
5
5
  export declare const Default: () => any;
6
+ export declare const InitialLoading: () => any;
6
7
  export declare const Loading: () => any;
7
8
  export declare const CodeResent: () => any;
8
9
  export declare const VerificationFailed: () => any;
@@ -1,5 +1,6 @@
1
1
  export interface WidgetCodeVerificationViewProps {
2
2
  states: {
3
+ initialiseLoading: boolean;
3
4
  loading: boolean;
4
5
  email: string;
5
6
  verifyFailed?: boolean;
@@ -43,6 +43,10 @@ export declare class WidgetCodeVerification {
43
43
  * @uiType object
44
44
  */
45
45
  demoData?: DemoData<WidgetCodeVerificationViewProps>;
46
+ /**
47
+ * @undocumented
48
+ */
49
+ onVerification?: (token: string) => any;
46
50
  constructor();
47
51
  disconnectedCallback(): void;
48
52
  getTextProps(): this;
@@ -12,7 +12,8 @@ export declare function useWidgetCodeVerification(props: WidgetCodeVerification)
12
12
  states: {
13
13
  email: string;
14
14
  emailResent: boolean;
15
- resendError: boolean;
15
+ resendError: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
16
+ initialiseLoading: boolean;
16
17
  loading: boolean;
17
18
  verifyFailed: boolean;
18
19
  };
@@ -6,5 +6,6 @@ export declare const Default: () => any;
6
6
  export declare const EmailIsPrefilled: () => any;
7
7
  export declare const Loading: () => any;
8
8
  export declare const SaveLoading: () => any;
9
+ export declare const WithHeader: () => any;
9
10
  export declare const InvalidEmail: () => any;
10
11
  export declare const SendCodeError: () => any;
@@ -16,6 +16,7 @@ export interface WidgetEmailVerificationViewProps {
16
16
  sendCodeErrorHeader: string;
17
17
  sendCodeErrorDescription: string;
18
18
  emailValidationErrorText: string;
19
+ supportLink: string;
19
20
  };
20
21
  }
21
22
  export declare function WidgetEmailVerificationView(props: WidgetEmailVerificationViewProps): any;
@@ -12,6 +12,10 @@ export declare class WidgetEmailVerification {
12
12
  * @uiName Send code to email alert header
13
13
  */
14
14
  sendCodeErrorHeader: string;
15
+ /**
16
+ * @uiName Support link text
17
+ */
18
+ supportLink: string;
15
19
  /**
16
20
  * @uiName Send code to email alert description
17
21
  */
@@ -1,13 +1,7 @@
1
1
  import { WidgetEmailVerification } from "./sqm-email-verification";
2
2
  import { WidgetEmailVerificationViewProps } from "./sqm-email-verification-view";
3
- export declare const VerificationEmailMutation: string;
4
3
  export declare const UpsertUserEmailMutation: string;
5
4
  export declare const UserLookupQuery: string;
6
- export declare function useVerificationEmailMutation(): readonly [() => Promise<any>, {
7
- readonly loading: boolean;
8
- readonly data: any;
9
- readonly errors: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
10
- }];
11
5
  export declare function useUpsertUserEmail(): readonly [(email: string) => Promise<any>, {
12
6
  readonly loading: boolean;
13
7
  readonly data: any;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @uiName Widget Verification Controller
3
+ * @slots [{"name":"not-verified","title":"Not Verified template"},{"name":"verified","title":"Verified template"}]
4
+ * @canvasRenderer always-replace
5
+ * @exampleGroup Widget Verification
6
+ * @example Widget Verification Controller - <sqm-widget-verification-controller><template slot="not-verified"><sqm-widget-verification></sqm-widget-verification></template><template slot="verified"><sqm-tax-and-cash></sqm-tax-and-cash></template></sqm-widget-verification-controller>
7
+ */
8
+ export declare class WidgetVerificationController {
9
+ constructor();
10
+ disconnectedCallback(): void;
11
+ render(): any;
12
+ }
@@ -1,8 +1,86 @@
1
1
  /**
2
- * @uiName Widget Verification Gate
2
+ * @uiName Widget Verification Flow
3
+ * @exampleGroup Widget Verification
4
+ * @example Widget Verification Flow - <sqm-widget-verification></sqm-widget-verification>
3
5
  */
4
6
  export declare class WidgetVerification {
7
+ /**
8
+ * @uiName Verify email widget header text
9
+ * @uiGroup Email Verification Step
10
+ */
11
+ emailStep_verifyEmailHeaderText: string;
12
+ /**
13
+ * @uiName Send code to email alert header
14
+ * @uiGroup Email Verification Step
15
+ */
16
+ emailStep_sendCodeErrorHeader: string;
17
+ /**
18
+ * @uiName Send code to email alert description
19
+ * @uiGroup Email Verification Step
20
+ */
21
+ emailStep_sendCodeErrorDescription: string;
22
+ /**
23
+ * @uiName Email input label
24
+ * @uiGroup Email Verification Step
25
+ */
26
+ emailStep_emailLabel: string;
27
+ /**
28
+ * @uiName Send code button text
29
+ * @uiGroup Email Verification Step
30
+ */
31
+ emailStep_sendCodeText: string;
32
+ /**
33
+ * @uiName Send code button text
34
+ * @uiGroup Email Verification Step
35
+ */
36
+ emailStep_emailValidationErrorText: string;
37
+ /**
38
+ * @uiName Verify code widget header text
39
+ * @uiGroup Code Verification Step
40
+ */
41
+ codeStep_verifyCodeHeaderText: string;
42
+ /**
43
+ * @uiName Reverify code widget header text
44
+ * @uiGroup Code Verification Step
45
+ */
46
+ codeStep_reverifyCodeHeaderText: string;
47
+ /**
48
+ * Text displayed under verify button
49
+ * @uiName Resend code text
50
+ * @uiGroup Code Verification Step
51
+ */
52
+ codeStep_resendCodeText: string;
53
+ /**
54
+ * The link that appears in the resend code link
55
+ * @uiName Resend code label
56
+ * @uiGroup Code Verification Step
57
+ */
58
+ codeStep_resendCodeLabel: string;
59
+ /**
60
+ * Link text displayed under verify button
61
+ * @uiName Resend code text
62
+ * @uiGroup Code Verification Step
63
+ */
64
+ codeStep_codeResentSuccessfullyText: string;
65
+ /**
66
+ * Error text displayed under verification input
67
+ * @uiName Invalid code text
68
+ * @uiGroup Code Verification Step
69
+ */
70
+ codeStep_invalidCodeText: string;
71
+ /**
72
+ * @uiName Verify code button text
73
+ * @uiGroup Code Verification Step
74
+ */
75
+ codeStep_verifyText: string;
76
+ /**
77
+ * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
78
+ * @uiName Network error message
79
+ * @uiGroup Code Verification Step
80
+ */
81
+ codeStep_networkErrorMessage: string;
5
82
  constructor();
6
83
  disconnectedCallback(): void;
84
+ getStepTextProps<T extends string>(prefix: T): { [K in keyof this as K extends `${T}${infer Suffix}` ? `${Suffix}` : never]: this[K]; };
7
85
  render(): any;
8
86
  }
@@ -0,0 +1,15 @@
1
+ export declare function useVerificationEmail(): {
2
+ initialized: boolean;
3
+ verificationEmail: string;
4
+ send: readonly [() => Promise<any>, {
5
+ readonly loading: boolean;
6
+ readonly errors: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
7
+ }];
8
+ verify: readonly [(code: string) => Promise<{
9
+ success: boolean;
10
+ accessKey: string | undefined;
11
+ }>, {
12
+ readonly loading: boolean;
13
+ readonly errors: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
14
+ }];
15
+ };
@@ -24,3 +24,4 @@ export declare const BankingInfoFormWithBalanceThresholdPaymentScheduleLoading:
24
24
  export declare const BankingInfoFormWithFixedDayPaymentSchedule: () => any;
25
25
  export declare const BankingInfoFormWithFixedDayPaymentScheduleWithError: () => any;
26
26
  export declare const BankingInfoFormWithFixedDayPaymentScheduleLoading: () => any;
27
+ export declare const BankingInfoFormVerififyIdentityModal: () => any;
@@ -42,6 +42,7 @@ export declare const StepFourDefault: () => any;
42
42
  export declare const StepFourIsPartner: () => any;
43
43
  export declare const StepFourDirectToBankChecked: () => any;
44
44
  export declare const StepFourToPaypalChecked: () => any;
45
+ export declare const StepFourReVerifyEmail: () => any;
45
46
  export declare const TaxAndCashDashboardActiveW9Form: () => any;
46
47
  export declare const TaxAndCashDashboardActiveW8BENForm: () => any;
47
48
  export declare const TaxAndCashDashboardActiveW8BENEForm: () => any;
@@ -56,7 +57,11 @@ export declare const TaxAndCashDashboardIndirectTaxCanadaQuebec: () => any;
56
57
  export declare const TaxAndCashDashboardIndirectTaxSpain: () => any;
57
58
  export declare const TaxAndCashDashboardIndirectTaxNotRegistered: () => any;
58
59
  export declare const TaxAndCashDashboardIdentityVerifcationRequired: () => any;
60
+ export declare const TaxAndCashDashboardIdentityVerifcationRequiredInternal: () => any;
61
+ export declare const TaxAndCashDashboardIdentityVerifcationReviewInternal: () => any;
62
+ export declare const TaxAndCashDashboardIdentityVerifcationFailedInternal: () => any;
59
63
  export declare const TaxAndCashDashboardNewTaxForm: () => any;
64
+ export declare const TaxAndCashDashboardPayoutsOnHold: () => any;
60
65
  export declare const TaxAndCashDashboardLoading: () => any;
61
66
  export declare const TaxAndCashDashboardWithLoadingError: () => any;
62
67
  export declare const TaxAndCashDashboardWithGeneralError: () => any;
@@ -0,0 +1 @@
1
+ export declare const TAX_FORM_UPDATED_EVENT_KEY = "sqm:tax-form-updated";
@@ -47,8 +47,10 @@ export interface BankingInfoFormViewProps {
47
47
  showInputs?: boolean;
48
48
  bankCountry?: string;
49
49
  countrySearch?: string;
50
+ email?: string;
50
51
  };
51
52
  slots?: {
53
+ verificationDialogSlot?: VNode;
52
54
  formInputsSlot?: VNode[];
53
55
  countryInputSlot?: VNode;
54
56
  paymentMethodSlot?: VNode;
@@ -57,6 +59,7 @@ export interface BankingInfoFormViewProps {
57
59
  paypalInputSlot?: VNode;
58
60
  };
59
61
  callbacks: {
62
+ onVerificationHide: () => void;
60
63
  setPaymentMethodChecked: (paymentMethodChecked: "toBankAccount" | "toPayPalAccount") => void;
61
64
  setPaymentScheduleChecked: (paymentMethodChecked: "BALANCE_THRESHOLD" | "FIXED_DAY") => void;
62
65
  onSubmit: (props: any) => Promise<void>;
@@ -64,6 +67,7 @@ export interface BankingInfoFormViewProps {
64
67
  setBankCountry?: (country: string) => void;
65
68
  setCurrency?: (currency: string) => void;
66
69
  setCountrySearch: (c: any) => void;
70
+ onVerification: (token: string) => void;
67
71
  };
68
72
  text: {
69
73
  formStep: string;
@@ -86,6 +90,9 @@ export interface BankingInfoFormViewProps {
86
90
  paymentDayFifteenthOfMonthLabelText: string;
87
91
  isPartnerAlertHeader: string;
88
92
  isPartnerAlertDescription: string;
93
+ supportLink: string;
94
+ verifyEmailHeaderText: string;
95
+ verifyEmailDescriptionText: string;
89
96
  error: {
90
97
  generalTitle: string;
91
98
  generalDescription: string;
@@ -203,6 +203,15 @@ export declare class BankingInfoForm {
203
203
  * @uiWidget textArea
204
204
  */
205
205
  isPartnerAlertDescription: string;
206
+ /**
207
+ * Text for verify email dialog
208
+ * @uiName Verify email header
209
+ */
210
+ verifyEmailHeaderText: string;
211
+ /**
212
+ * @uiName Verify code widget header text
213
+ */
214
+ verifyEmailDescriptionText: string;
206
215
  /**
207
216
  * Part of the alert displayed at the top of the page.
208
217
  * @uiName Form submission error message title
@@ -225,6 +234,10 @@ export declare class BankingInfoForm {
225
234
  * @uiName Form field error message
226
235
  */
227
236
  fieldInvalidError: string;
237
+ /**
238
+ * @uiName Support link text
239
+ */
240
+ supportLink: string;
228
241
  /**
229
242
  * @uiName Continue button label
230
243
  */
@@ -44,6 +44,7 @@ export interface DocusignFormViewProps {
44
44
  individualParticipant: string;
45
45
  participantType: string;
46
46
  taxAndPayoutsDescription: string;
47
+ supportLink: string;
47
48
  error: {
48
49
  generalTitle: string;
49
50
  generalDescription: string;
@@ -27,6 +27,10 @@ export declare class DocusignForm {
27
27
  * @uiWidget textArea
28
28
  */
29
29
  taxFormDescription: string;
30
+ /**
31
+ * @uiName Support link text
32
+ */
33
+ supportLink: string;
30
34
  /**
31
35
  * Displayed at the top of the page to individuals joining a US program who reside outside the country.
32
36
  * @uiName W-8 BEN tax form description
@@ -38,6 +38,7 @@ export interface IndirectTaxFormViewProps {
38
38
  continueButton: string;
39
39
  backButton: string;
40
40
  taxAndPayoutsDescription: string;
41
+ supportLink: string;
41
42
  error: {
42
43
  generalTitle: string;
43
44
  generalDescription: string;
@@ -121,6 +121,10 @@ export declare class IndirectTaxForm {
121
121
  * @uiName Continue button label
122
122
  */
123
123
  continueButton: string;
124
+ /**
125
+ * @uiName Support link text
126
+ */
127
+ supportLink: string;
124
128
  /**
125
129
  * Part of the alert displayed at the top of the page.
126
130
  * @uiName Form submission error message title
@@ -3,7 +3,6 @@ declare const _default: {
3
3
  };
4
4
  export default _default;
5
5
  export declare const Loading: () => any;
6
- export declare const Error: () => any;
7
6
  export declare const NextPayout: () => any;
8
7
  export declare const PayoutToday: () => any;
9
8
  export declare const ThresholdPayout: () => any;
@@ -18,10 +18,6 @@ export interface PayoutDetailsCardViewProps {
18
18
  statusBadgeText: string;
19
19
  accountText: string;
20
20
  payoutMissingInformationText: string;
21
- error: {
22
- errorTitleText: string;
23
- errorDescriptionText: string;
24
- };
25
21
  };
26
22
  }
27
23
  export declare function PayoutDetailsCardView(props: PayoutDetailsCardViewProps): any;
@@ -19,16 +19,6 @@ export declare class PayoutDetailsCard {
19
19
  * @uiName Bank account field label
20
20
  */
21
21
  accountText: string;
22
- /**
23
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
24
- * @uiName Payout error message title
25
- */
26
- errorTitleText: string;
27
- /**
28
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
29
- * @uiName Payout error message description
30
- */
31
- errorDescriptionText: string;
32
22
  /**
33
23
  * Text displayed for existing publishers that do not have saved banking information.
34
24
  * @uiName Payout missing information subtext
@@ -40,11 +30,6 @@ export declare class PayoutDetailsCard {
40
30
  demoData?: DemoData<any>;
41
31
  constructor();
42
32
  disconnectedCallback(): void;
43
- getTextProps(): this & {
44
- error: {
45
- errorTitleText: string;
46
- errorDescriptionText: string;
47
- };
48
- };
33
+ getTextProps(): this;
49
34
  render(): any;
50
35
  }
@@ -4,5 +4,9 @@ declare const _default: {
4
4
  export default _default;
5
5
  export declare const InformationRequired: () => any;
6
6
  export declare const VerifyIdentity: () => any;
7
+ export declare const VerifyIdentityRequiredInternal: () => any;
8
+ export declare const VerifyIdentityReviewInternal: () => any;
9
+ export declare const VerifyIdentityFailedInternal: () => any;
7
10
  export declare const Hold: () => any;
8
11
  export declare const Loading: () => any;
12
+ export declare const Error: () => any;
@@ -1,8 +1,17 @@
1
1
  import { PayoutStatus } from "./usePayoutStatus";
2
2
  export interface PayoutStatusAlertViewProps {
3
3
  states: {
4
+ error: boolean;
4
5
  loading: boolean;
5
6
  status: PayoutStatus;
7
+ veriffLoading: boolean;
8
+ };
9
+ data: {
10
+ type: "SquatchJS2" | "SquatchAndroid" | "SquatchIOS" | "SquatchPortal" | "SquatchAdmin" | "None";
11
+ };
12
+ callbacks: {
13
+ onClick: () => void;
14
+ onTermsClick: () => void;
6
15
  };
7
16
  text: {
8
17
  informationRequiredHeader: string;
@@ -11,8 +20,17 @@ export interface PayoutStatusAlertViewProps {
11
20
  verificationRequiredHeader: string;
12
21
  verificationRequiredDescription: string;
13
22
  verificationRequiredButtonText: string;
23
+ verificationRequiredInternalHeader: string;
24
+ verificationRequiredInternalDescription: string;
25
+ verificationReviewInternalHeader: string;
26
+ verificationReviewInternalDescription: string;
27
+ verificationFailedInternalHeader: string;
28
+ verificationFailedInternalDescription: string;
14
29
  holdHeader: string;
15
30
  holdDescription: string;
31
+ supportLink: string;
32
+ errorHeader: string;
33
+ errorDescription: string;
16
34
  };
17
35
  }
18
36
  export declare function PayoutStatusAlertView(props: PayoutStatusAlertViewProps): any;