@saasquatch/mint-components 1.11.0-3 → 1.11.0-6

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 (317) hide show
  1. package/dist/cjs/{ShadowViewAddon-21aa34f8.js → ShadowViewAddon-ba87315e.js} +48 -47
  2. package/dist/cjs/{global-4a59a374.js → global-0e1b8019.js} +162 -11
  3. package/dist/cjs/index-56d1fa5b.js +2227 -0
  4. package/dist/cjs/{index.module-df530553.js → index.module-2d82a984.js} +1444 -244
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-3c470512.js} +1 -1
  9. package/dist/cjs/{re-render-1976e05e.js → re-render-7744b75a.js} +5 -5
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +457 -456
  12. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +120 -113
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  20. package/dist/cjs/{sqm-invoice-table-view-7739a5b4.js → sqm-invoice-table-view-e75291d8.js} +1 -1
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +12 -11
  22. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +10 -9
  23. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-34d8941e.js} +2 -2
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  25. package/dist/cjs/{sqm-navigation-sidebar-view-c7fb69d4.js → sqm-navigation-sidebar-view-921704fb.js} +0 -6
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
  27. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  28. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  29. package/dist/cjs/{sqm-portal-email-verification-view-07161940.js → sqm-portal-email-verification-view-a056e53e.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  33. package/dist/cjs/{sqm-portal-profile-view-07b99f80.js → sqm-portal-profile-view-c1753d1a.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -14
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +12 -11
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
  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 +67 -66
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +51 -50
  45. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  47. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  48. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-a5a04d8a.js} +1 -4
  49. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-079a23aa.js} +3 -3
  50. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-615a4dec.js} +4 -4
  51. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-034e8eb1.js} +20 -19
  52. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-cabaa291.js} +3 -3
  53. package/dist/cjs/{utilities-cec9dd36.js → utilities-a4072d5b.js} +2 -2
  54. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -0
  55. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +0 -6
  56. package/dist/esm/{ShadowViewAddon-90897c22.js → ShadowViewAddon-cebdd86a.js} +22 -21
  57. package/dist/esm/{global-e7bb0343.js → global-ce667547.js} +162 -11
  58. package/dist/esm/index-0c7b14c5.js +2225 -0
  59. package/dist/esm/{index.module-def4aec5.js → index.module-cfe48b0e.js} +1426 -223
  60. package/dist/esm/loader.js +3 -3
  61. package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  62. package/dist/esm/mint-components.js +3 -3
  63. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  64. package/dist/esm/{re-render-12fd274a.js → re-render-9f58806b.js} +5 -5
  65. package/dist/esm/sqm-asset-card.entry.js +2 -2
  66. package/dist/esm/sqm-banking-info-form_16.entry.js +65 -64
  67. package/dist/esm/sqm-big-stat_38.entry.js +69 -62
  68. package/dist/esm/sqm-close-button.entry.js +2 -2
  69. package/dist/esm/sqm-context-router.entry.js +3 -3
  70. package/dist/esm/sqm-empty_4.entry.js +3 -3
  71. package/dist/esm/sqm-form-message.entry.js +1 -1
  72. package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
  73. package/dist/esm/sqm-header-logo.entry.js +1 -1
  74. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  75. package/dist/esm/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
  76. package/dist/esm/sqm-leaderboard-rank.entry.js +7 -6
  77. package/dist/esm/sqm-logout-current-user.entry.js +5 -4
  78. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +2 -2
  79. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  80. package/dist/esm/{sqm-navigation-sidebar-view-4e8a6a8c.js → sqm-navigation-sidebar-view-0312e073.js} +0 -6
  81. package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
  82. package/dist/esm/sqm-password-field.entry.js +3 -3
  83. package/dist/esm/sqm-popup-container.entry.js +5 -5
  84. package/dist/esm/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
  85. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  86. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  87. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  88. package/dist/esm/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
  89. package/dist/esm/sqm-portal-profile.entry.js +9 -8
  90. package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
  91. package/dist/esm/sqm-portal-registration-form.entry.js +10 -9
  92. package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
  93. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  94. package/dist/esm/sqm-referral-table_11.entry.js +9 -8
  95. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  96. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  97. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  98. package/dist/esm/sqm-rewards-table_9.entry.js +14 -13
  99. package/dist/esm/sqm-stencilbook.entry.js +49 -48
  100. package/dist/esm/sqm-tab.entry.js +3 -3
  101. package/dist/esm/sqm-tabs.entry.js +5 -5
  102. package/dist/esm/sqm-text-span.entry.js +1 -1
  103. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  104. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-55ba77b1.js} +3 -3
  105. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-c8486b92.js} +4 -4
  106. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-1671695f.js} +11 -10
  107. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-554eed2c.js} +3 -3
  108. package/dist/esm/{utilities-3f5bba22.js → utilities-aa00400c.js} +2 -2
  109. package/dist/esm-es5/ShadowViewAddon-cebdd86a.js +1 -0
  110. package/dist/esm-es5/global-ce667547.js +285 -0
  111. package/dist/esm-es5/index-0c7b14c5.js +1 -0
  112. package/dist/esm-es5/index.module-cfe48b0e.js +53 -0
  113. package/dist/esm-es5/loader.js +1 -1
  114. package/dist/esm-es5/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  115. package/dist/esm-es5/mint-components.js +1 -1
  116. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  117. package/dist/esm-es5/{re-render-12fd274a.js → re-render-9f58806b.js} +1 -1
  118. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  119. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  120. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  121. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  122. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  123. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  124. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  125. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  126. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  127. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  128. package/dist/esm-es5/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
  129. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  130. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  131. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +1 -1
  132. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  133. package/dist/esm-es5/sqm-navigation-sidebar-view-0312e073.js +1 -0
  134. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  135. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  136. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  137. package/dist/esm-es5/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
  138. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  139. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  140. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  141. package/dist/esm-es5/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
  142. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  143. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  144. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  145. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  146. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  147. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  148. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  149. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  150. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  151. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  152. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  153. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  154. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  155. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  156. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  157. package/dist/esm-es5/useChildElements-55ba77b1.js +1 -0
  158. package/dist/esm-es5/useInstantAccessRegistration-c8486b92.js +1 -0
  159. package/dist/esm-es5/useReferralTable-1671695f.js +1 -0
  160. package/dist/esm-es5/useRegistrationFormState-554eed2c.js +1 -0
  161. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-aa00400c.js} +1 -1
  162. package/dist/mint-components/mint-components.esm.js +1 -1
  163. package/dist/mint-components/mint-components.js +1 -1
  164. package/dist/mint-components/{p-674a64fe.system.js → p-0034b33b.system.js} +1 -1
  165. package/dist/mint-components/{p-2a414b2e.system.js → p-0979f82e.system.js} +2 -2
  166. package/dist/mint-components/{p-d51eb656.entry.js → p-1128f16d.entry.js} +14 -14
  167. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-14beec1b.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-5956a47e.entry.js → p-155e5795.entry.js} +1 -1
  169. package/dist/mint-components/p-175cf117.system.entry.js +1 -0
  170. package/dist/mint-components/{p-fd2c5407.js → p-1b24bb52.js} +1 -1
  171. package/dist/mint-components/p-1bb39bf3.js +1 -0
  172. package/dist/mint-components/p-1c021084.system.js +1 -0
  173. package/dist/mint-components/p-1cb0c56c.js +1 -0
  174. package/dist/mint-components/p-22082cf5.entry.js +1 -0
  175. package/dist/mint-components/{p-4502ed11.system.entry.js → p-2669e88d.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-0e556260.js → p-2a82e591.js} +1 -1
  177. package/dist/mint-components/p-2c1ec58d.system.entry.js +1 -0
  178. package/dist/mint-components/{p-573fab0f.system.js → p-2c8c2ae9.system.js} +22 -22
  179. package/dist/mint-components/p-2d713a4a.entry.js +1 -0
  180. package/dist/mint-components/{p-58ef25d3.system.entry.js → p-2f75d0c6.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-349315e6.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-64491c96.system.entry.js → p-37518555.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-3223ba7b.entry.js → p-3912f9af.entry.js} +1 -1
  184. package/dist/mint-components/{p-f3053c61.js → p-48704504.js} +1 -1
  185. package/dist/mint-components/{p-ce5afa40.entry.js → p-4baf9ec9.entry.js} +1 -1
  186. package/dist/mint-components/p-4e5ff6d5.system.entry.js +1 -0
  187. package/dist/mint-components/p-4fd5cde2.entry.js +1 -0
  188. package/dist/mint-components/{p-e84a74fe.system.entry.js → p-5464dd3c.system.entry.js} +1 -1
  189. package/dist/mint-components/{p-dd7ee007.system.js → p-553a92e2.system.js} +1 -1
  190. package/dist/mint-components/p-55ba5de4.js +42 -0
  191. package/dist/mint-components/p-569acf5d.entry.js +1 -0
  192. package/dist/mint-components/p-58151230.system.entry.js +1 -0
  193. package/dist/mint-components/p-5a9e6c23.system.js +1 -0
  194. package/dist/mint-components/{p-dd0d79bf.entry.js → p-5c602e84.entry.js} +1 -1
  195. package/dist/mint-components/p-5e346208.system.entry.js +1 -0
  196. package/dist/mint-components/{p-a9050eb0.entry.js → p-5f4a0d5a.entry.js} +1 -1
  197. package/dist/mint-components/p-5f4cf5f4.system.js +53 -0
  198. package/dist/mint-components/p-6361cd09.system.entry.js +1 -0
  199. package/dist/mint-components/p-65976f70.system.entry.js +1 -0
  200. package/dist/mint-components/{p-3d4656bb.system.js → p-69ae3f41.system.js} +1 -1
  201. package/dist/mint-components/p-6fbfd683.js +1 -0
  202. package/dist/mint-components/{p-57e4ef5f.entry.js → p-709c0d6d.entry.js} +1 -1
  203. package/dist/mint-components/{p-86990110.entry.js → p-747e6ce6.entry.js} +1 -1
  204. package/dist/mint-components/{p-8fe21979.system.entry.js → p-74ba2bdd.system.entry.js} +1 -1
  205. package/dist/mint-components/p-77150ca3.entry.js +1 -0
  206. package/dist/mint-components/{p-fbdf0738.entry.js → p-79097c07.entry.js} +1 -1
  207. package/dist/mint-components/{p-ebcec043.entry.js → p-7a1e23b0.entry.js} +1 -1
  208. package/dist/mint-components/{p-f0806232.system.entry.js → p-7ab14d4b.system.entry.js} +1 -1
  209. package/dist/mint-components/p-81ef4d8d.system.entry.js +1 -0
  210. package/dist/mint-components/{p-41a11a7f.js → p-83a759a6.js} +1 -1
  211. package/dist/mint-components/p-84a5feb6.js +1 -0
  212. package/dist/mint-components/p-858a87ce.entry.js +1 -0
  213. package/dist/mint-components/p-89669879.system.js +1 -0
  214. package/dist/mint-components/p-8a82d287.entry.js +1 -0
  215. package/dist/mint-components/{p-7a572b34.entry.js → p-8b37f9fa.entry.js} +3 -3
  216. package/dist/mint-components/{p-d7df3dfd.system.js → p-8c616b35.system.js} +1 -1
  217. package/dist/mint-components/p-8d0312ad.entry.js +13 -0
  218. package/dist/mint-components/{p-66172a05.js → p-8d2d99b5.js} +1 -1
  219. package/dist/mint-components/{p-251e7567.js → p-9223640e.js} +1 -1
  220. package/dist/mint-components/{p-eaada4da.js → p-92990ceb.js} +1 -1
  221. package/dist/mint-components/{p-51721f6b.system.js → p-93c4b92a.system.js} +1 -1
  222. package/dist/mint-components/p-93feb565.system.entry.js +1 -0
  223. package/dist/mint-components/{p-0d8c53ac.system.js → p-94b397d0.system.js} +1 -1
  224. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-95af445c.system.entry.js} +1 -1
  225. package/dist/mint-components/p-97f9ea19.system.js +1 -0
  226. package/dist/mint-components/{p-4edde470.entry.js → p-9a02b093.entry.js} +1 -1
  227. package/dist/mint-components/{p-007383e1.entry.js → p-9c1011db.entry.js} +2 -2
  228. package/dist/mint-components/{p-137ea86e.entry.js → p-a05a21b8.entry.js} +1 -1
  229. package/dist/mint-components/p-a1dddd9c.entry.js +1 -0
  230. package/dist/mint-components/{p-07f675ab.system.entry.js → p-a2189daf.system.entry.js} +1 -1
  231. package/dist/mint-components/p-a230e0f7.entry.js +1 -0
  232. package/dist/mint-components/{p-2ee2ebba.js → p-a2fc8ec6.js} +4 -4
  233. package/dist/mint-components/{p-5f1c4160.system.entry.js → p-a56fbe1f.system.entry.js} +1 -1
  234. package/dist/mint-components/p-a63607fe.js +1 -0
  235. package/dist/mint-components/{p-97198e2c.system.js → p-a6ad8082.system.js} +1 -1
  236. package/dist/mint-components/{p-9774fbc5.js → p-a7e84030.js} +153 -153
  237. package/dist/mint-components/{p-28b6106f.js → p-aa1750ad.js} +1 -1
  238. package/dist/mint-components/p-ac1bf045.js +1 -0
  239. package/dist/mint-components/{p-cf690d55.system.entry.js → p-ad218d0b.system.entry.js} +1 -1
  240. package/dist/mint-components/p-b9e629c4.entry.js +1 -0
  241. package/dist/mint-components/{p-cf158064.entry.js → p-ba9642a9.entry.js} +3 -3
  242. package/dist/mint-components/{p-4864ed8a.system.entry.js → p-bf161aff.system.entry.js} +1 -1
  243. package/dist/mint-components/p-cac64545.system.entry.js +1 -0
  244. package/dist/mint-components/{p-370a1a73.system.js → p-cb45d0a8.system.js} +1 -1
  245. package/dist/mint-components/{p-c7a3fd1b.system.js → p-cc24f7e0.system.js} +1 -1
  246. package/dist/mint-components/p-cc2a5934.entry.js +13 -0
  247. package/dist/mint-components/p-cca80c2e.system.entry.js +1 -0
  248. package/dist/mint-components/{p-178d2d2e.entry.js → p-cdd04337.entry.js} +1 -1
  249. package/dist/mint-components/{p-b12f7281.system.entry.js → p-ce23dbff.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-fe5675b3.entry.js → p-cf8ccbf5.entry.js} +1 -1
  251. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-cfc4a126.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-05948592.js → p-d491eac5.js} +24 -24
  253. package/dist/mint-components/{p-d1d16808.entry.js → p-d5e0b017.entry.js} +2 -2
  254. package/dist/mint-components/{p-6cef104b.entry.js → p-db7b9e12.entry.js} +1 -1
  255. package/dist/mint-components/p-dbb74fc2.system.entry.js +1 -0
  256. package/dist/mint-components/{p-8e907ac7.system.entry.js → p-de9b0bcf.system.entry.js} +1 -1
  257. package/dist/mint-components/p-e3ddb67b.system.entry.js +1 -0
  258. package/dist/mint-components/{p-ce9e7c98.system.js → p-e5299352.system.js} +1 -1
  259. package/dist/mint-components/p-e546347e.system.js +1 -0
  260. package/dist/mint-components/p-eb8cb617.system.js +1 -0
  261. package/dist/mint-components/{p-9dc3f592.entry.js → p-ec2390ee.entry.js} +10 -10
  262. package/dist/mint-components/p-ef4336c4.system.entry.js +1 -0
  263. package/dist/mint-components/{p-afd366ae.system.entry.js → p-f0553edd.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-7731f793.system.entry.js → p-fd8496a0.system.entry.js} +1 -1
  265. package/dist/mint-components/p-fec47694.entry.js +1 -0
  266. package/dist/mint-components/p-ff87ca9c.system.entry.js +1 -0
  267. package/docs/docs.docx +0 -0
  268. package/docs/raisins.json +1 -1
  269. package/package.json +1 -1
  270. package/dist/esm-es5/ShadowViewAddon-90897c22.js +0 -1
  271. package/dist/esm-es5/global-e7bb0343.js +0 -285
  272. package/dist/esm-es5/index.module-def4aec5.js +0 -1
  273. package/dist/esm-es5/sqm-navigation-sidebar-view-4e8a6a8c.js +0 -1
  274. package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
  275. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
  276. package/dist/esm-es5/useReferralTable-f4de0650.js +0 -1
  277. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  278. package/dist/mint-components/p-02424350.system.js +0 -1
  279. package/dist/mint-components/p-0b9fa97f.js +0 -1
  280. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  281. package/dist/mint-components/p-1b485560.system.entry.js +0 -1
  282. package/dist/mint-components/p-1f344065.entry.js +0 -1
  283. package/dist/mint-components/p-2dd67762.entry.js +0 -1
  284. package/dist/mint-components/p-445ffcfd.system.entry.js +0 -1
  285. package/dist/mint-components/p-51f517a2.js +0 -1
  286. package/dist/mint-components/p-55a782cf.system.entry.js +0 -1
  287. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  288. package/dist/mint-components/p-5d485450.entry.js +0 -1
  289. package/dist/mint-components/p-61eab172.js +0 -1
  290. package/dist/mint-components/p-733825fa.system.entry.js +0 -1
  291. package/dist/mint-components/p-770368bc.system.js +0 -1
  292. package/dist/mint-components/p-79191f88.entry.js +0 -1
  293. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  294. package/dist/mint-components/p-91669312.entry.js +0 -1
  295. package/dist/mint-components/p-956ed10a.entry.js +0 -13
  296. package/dist/mint-components/p-973f6501.system.entry.js +0 -1
  297. package/dist/mint-components/p-9873d3c6.js +0 -1
  298. package/dist/mint-components/p-9c310991.system.entry.js +0 -1
  299. package/dist/mint-components/p-a61e6394.system.entry.js +0 -1
  300. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  301. package/dist/mint-components/p-a8f7cb95.js +0 -1
  302. package/dist/mint-components/p-aad11a68.entry.js +0 -1
  303. package/dist/mint-components/p-af062c8f.system.entry.js +0 -1
  304. package/dist/mint-components/p-b370fca8.system.js +0 -1
  305. package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
  306. package/dist/mint-components/p-b5861974.system.entry.js +0 -1
  307. package/dist/mint-components/p-b8dbb809.system.entry.js +0 -1
  308. package/dist/mint-components/p-bcccc284.system.js +0 -1
  309. package/dist/mint-components/p-be38de26.system.js +0 -1
  310. package/dist/mint-components/p-c0de49e7.system.entry.js +0 -1
  311. package/dist/mint-components/p-c84659a3.system.js +0 -1
  312. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  313. package/dist/mint-components/p-dab544d9.entry.js +0 -1
  314. package/dist/mint-components/p-e044bbf1.system.entry.js +0 -1
  315. package/dist/mint-components/p-e5a0c50e.entry.js +0 -13
  316. package/dist/mint-components/p-eba44835.system.entry.js +0 -1
  317. package/dist/mint-components/p-f8f6c99d.system.entry.js +0 -1
@@ -2,21 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
- const global = require('./global-4a59a374.js');
8
- const index_module = require('./index.module-df530553.js');
9
- const jsonpointer = require('./jsonpointer-11327262.js');
5
+ const index$1 = require('./index-b0129cd6.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-a5a04d8a.js');
7
+ const global = require('./global-0e1b8019.js');
8
+ const index_module = require('./index.module-2d82a984.js');
10
9
  const cjs = require('./cjs-1066ec21.js');
11
10
  require('./mixins-fe9d4112.js');
12
11
  const JSS = require('./JSS-8503a151.js');
13
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
14
- const reRender = require('./re-render-1976e05e.js');
15
- const useChildElements = require('./useChildElements-e0d44916.js');
16
- const luxon = require('./luxon-05098e19.js');
17
- const useReferralTable = require('./useReferralTable-a76adb0d.js');
13
+ const reRender = require('./re-render-7744b75a.js');
14
+ const useChildElements = require('./useChildElements-079a23aa.js');
15
+ const luxon = require('./luxon-20eafbd9.js');
16
+ const index = require('./index-56d1fa5b.js');
17
+ const useReferralTable = require('./useReferralTable-034e8eb1.js');
18
18
  const utils = require('./utils-6847bc06.js');
19
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-7739a5b4.js');
19
+ const jsonpointer = require('./jsonpointer-11327262.js');
20
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-e75291d8.js');
20
21
 
21
22
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
22
23
  const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
@@ -28,7 +29,7 @@ const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
28
29
  const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
29
30
  const CURRENCIES_NAMESPACE = "sq:currencies:list";
30
31
  const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
31
- const GET_USER = index_module.dist.gql `
32
+ const GET_USER = index.dist.gql `
32
33
  query getUserTaxInfo {
33
34
  user: viewer {
34
35
  ... on User {
@@ -89,7 +90,7 @@ const GET_USER = index_module.dist.gql `
89
90
  }
90
91
  }
91
92
  `;
92
- const GET_COUNTRIES = index_module.dist.gql `
93
+ const GET_COUNTRIES = index.dist.gql `
93
94
  query getCountries {
94
95
  impactPayoutCountries(limit: 1000) {
95
96
  data {
@@ -99,7 +100,7 @@ const GET_COUNTRIES = index_module.dist.gql `
99
100
  }
100
101
  }
101
102
  `;
102
- const GET_CURRENCIES = index_module.dist.gql `
103
+ const GET_CURRENCIES = index.dist.gql `
103
104
  query currencies($locale: RSLocale) {
104
105
  currencies(limit: 300) {
105
106
  data {
@@ -109,7 +110,7 @@ const GET_CURRENCIES = index_module.dist.gql `
109
110
  }
110
111
  }
111
112
  `;
112
- const GET_FINANCE_NETWORK_SETTINGS = index_module.dist.gql `
113
+ const GET_FINANCE_NETWORK_SETTINGS = index.dist.gql `
113
114
  query impactFinanceNetworkSettings(
114
115
  $filter: ImpactFinanceNetworkSettingsFilterInput
115
116
  ) {
@@ -135,7 +136,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
135
136
  const { errors, ...formState } = props.states.formState;
136
137
  return {
137
138
  0: {
138
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text" }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
139
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text" }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
139
140
  class: "error-input",
140
141
  helpText: getValidationErrorMessage({
141
142
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
@@ -144,18 +145,18 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
144
145
  })))),
145
146
  },
146
147
  1: {
147
- input: (index.h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
148
+ input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
148
149
  class: "error-input",
149
150
  helpText: getValidationErrorMessage({
150
151
  type: (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _e === void 0 ? void 0 : _e.bankAccountType) === null || _f === void 0 ? void 0 : _f.type,
151
152
  label: props.text.bankAccountTypeLabel,
152
153
  }),
153
154
  })),
154
- index.h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
155
- index.h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
155
+ index$1.h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
156
+ index$1.h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
156
157
  },
157
158
  2: {
158
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
159
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
159
160
  class: "error-input",
160
161
  helpText: getValidationErrorMessage({
161
162
  type: (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _h === void 0 ? void 0 : _h.bankAccountNumber) === null || _j === void 0 ? void 0 : _j.type,
@@ -164,7 +165,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
164
165
  })))),
165
166
  },
166
167
  3: {
167
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
168
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
168
169
  class: "error-input",
169
170
  helpText: getValidationErrorMessage({
170
171
  type: (_m = (_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) === null || _m === void 0 ? void 0 : _m.type,
@@ -173,7 +174,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
173
174
  })))),
174
175
  },
175
176
  4: {
176
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
177
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
177
178
  class: "error-input",
178
179
  helpText: getValidationErrorMessage({
179
180
  type: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.swiftCode) === null || _q === void 0 ? void 0 : _q.type,
@@ -182,7 +183,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
182
183
  })))),
183
184
  },
184
185
  5: {
185
- input: (index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
186
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
186
187
  id: "routingCodeText",
187
188
  defaultMessage: props.text.routingCodeLabel,
188
189
  }, {
@@ -201,7 +202,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
201
202
  })))),
202
203
  },
203
204
  6: {
204
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
205
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
205
206
  class: "error-input",
206
207
  helpText: getValidationErrorMessage({
207
208
  type: (_w = (_v = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _v === void 0 ? void 0 : _v.bankName) === null || _w === void 0 ? void 0 : _w.type,
@@ -211,17 +212,17 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
211
212
  },
212
213
  7: {
213
214
  input: [
214
- index.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
215
+ index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
215
216
  class: "error-input",
216
217
  helpText: getValidationErrorMessage({
217
218
  type: (_z = (_y = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _y === void 0 ? void 0 : _y.beneficiaryClassification) === null || _z === void 0 ? void 0 : _z.type,
218
219
  label: props.text.classificationLabel,
219
220
  }),
220
221
  })),
221
- index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
222
- index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
223
- index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
224
- index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
222
+ index$1.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
223
+ index$1.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
224
+ index$1.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
225
+ index$1.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
225
226
  id: "fxWireText",
226
227
  defaultMessage: props.text.taxPayerIdLabel,
227
228
  }, {
@@ -236,18 +237,18 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
236
237
  ],
237
238
  },
238
239
  8: {
239
- input: (index.h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
240
+ input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
240
241
  class: "error-input",
241
242
  helpText: getValidationErrorMessage({
242
243
  type: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.beneficiaryClassification) === null || _5 === void 0 ? void 0 : _5.type,
243
244
  label: props.text.classificationCPFLabel,
244
245
  }),
245
246
  })),
246
- index.h("sl-menu-item", { value: "CPF" }, "CPF"),
247
- index.h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
247
+ index$1.h("sl-menu-item", { value: "CPF" }, "CPF"),
248
+ index$1.h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
248
249
  },
249
250
  9: {
250
- input: (index.h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
251
+ input: (index$1.h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
251
252
  class: "error-input",
252
253
  helpText: getValidationErrorMessage({
253
254
  type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.patronymicName) === null || _8 === void 0 ? void 0 : _8.type,
@@ -256,7 +257,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
256
257
  })))),
257
258
  },
258
259
  10: {
259
- input: (index.h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
260
+ input: (index$1.h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
260
261
  class: "error-input",
261
262
  helpText: getValidationErrorMessage({
262
263
  type: (_11 = (_10 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _10 === void 0 ? void 0 : _10.voCode) === null || _11 === void 0 ? void 0 : _11.type,
@@ -265,7 +266,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
265
266
  })))),
266
267
  },
267
268
  11: {
268
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
269
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
269
270
  class: "error-input",
270
271
  helpText: getValidationErrorMessage({
271
272
  type: (_14 = (_13 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _13 === void 0 ? void 0 : _13.agencyCode) === null || _14 === void 0 ? void 0 : _14.type,
@@ -275,28 +276,28 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
275
276
  },
276
277
  12: {
277
278
  input: [
278
- index.h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
279
+ index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
279
280
  class: "error-input",
280
281
  helpText: getValidationErrorMessage({
281
282
  type: (_17 = (_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.bankAddress) === null || _17 === void 0 ? void 0 : _17.type,
282
283
  label: props.text.bankAddressLabel,
283
284
  }),
284
285
  }))),
285
- index.h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
286
+ index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
286
287
  class: "error-input",
287
288
  helpText: getValidationErrorMessage({
288
289
  type: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.bankCity) === null || _20 === void 0 ? void 0 : _20.type,
289
290
  label: props.text.bankCityLabel,
290
291
  }),
291
292
  }))),
292
- index.h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
293
+ index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
293
294
  class: "error-input",
294
295
  helpText: getValidationErrorMessage({
295
296
  type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.bankState) === null || _23 === void 0 ? void 0 : _23.type,
296
297
  label: props.text.bankStateLabel,
297
298
  }),
298
299
  }))),
299
- index.h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
300
+ index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
300
301
  class: "error-input",
301
302
  helpText: getValidationErrorMessage({
302
303
  type: (_26 = (_25 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _25 === void 0 ? void 0 : _25.bankPostalCode) === null || _26 === void 0 ? void 0 : _26.type,
@@ -306,7 +307,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
306
307
  ],
307
308
  },
308
309
  13: {
309
- input: (index.h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
310
+ input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
310
311
  class: "error-input",
311
312
  helpText: getValidationErrorMessage({
312
313
  type: (_29 = (_28 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _28 === void 0 ? void 0 : _28.branchCode) === null || _29 === void 0 ? void 0 : _29.type,
@@ -315,16 +316,16 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
315
316
  })))),
316
317
  },
317
318
  14: {
318
- input: (index.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
319
+ input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
319
320
  class: "error-input",
320
321
  helpText: getValidationErrorMessage({
321
322
  type: (_32 = (_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.beneficiaryClassification) === null || _32 === void 0 ? void 0 : _32.type,
322
323
  label: props.text.classificationLabel,
323
324
  }),
324
325
  })),
325
- index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
326
- index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
327
- index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
326
+ index$1.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
327
+ index$1.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
328
+ index$1.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
328
329
  },
329
330
  };
330
331
  }
@@ -822,80 +823,80 @@ const BankingInfoFormView = (props) => {
822
823
  gap: "8px",
823
824
  };
824
825
  if (checkedValue === undefined) {
825
- return (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column", gap: "16px" } },
826
- index.h("div", { class: classes.SmallSkeleton }),
827
- index.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
828
- index.h("div", { class: classes.CheckboxSkeleton }),
829
- index.h("div", { class: classes.SmallSkeleton })),
830
- index.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
831
- index.h("div", { class: classes.CheckboxSkeleton }),
832
- index.h("div", { class: classes.SmallSkeleton }))));
826
+ return (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column", gap: "16px" } },
827
+ index$1.h("div", { class: classes.SmallSkeleton }),
828
+ index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
829
+ index$1.h("div", { class: classes.CheckboxSkeleton }),
830
+ index$1.h("div", { class: classes.SmallSkeleton })),
831
+ index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
832
+ index$1.h("div", { class: classes.CheckboxSkeleton }),
833
+ index$1.h("div", { class: classes.SmallSkeleton }))));
833
834
  }
834
835
  if (checkedValue === "toPayPalAccount") {
835
- return (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column" } },
836
- index.h("div", { class: classes.SmallSkeleton }),
837
- index.h("div", { class: classes.LargeSkeleton })));
836
+ return (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column" } },
837
+ index$1.h("div", { class: classes.SmallSkeleton }),
838
+ index$1.h("div", { class: classes.LargeSkeleton })));
838
839
  }
839
- const skeletons = inputNumArray.map((_, idx) => (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column" }, key: idx },
840
- index.h("div", { class: classes.SmallSkeleton }),
841
- index.h("div", { class: classes.LargeSkeleton }))));
840
+ const skeletons = inputNumArray.map((_, idx) => (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column" }, key: idx },
841
+ index$1.h("div", { class: classes.SmallSkeleton }),
842
+ index$1.h("div", { class: classes.LargeSkeleton }))));
842
843
  return skeletons;
843
844
  };
844
- return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
845
- index.h("style", { type: "text/css" },
845
+ return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
846
+ index$1.h("style", { type: "text/css" },
846
847
  styleString,
847
848
  vanillaStyle),
848
- index.h("div", { class: classes.TextContainer },
849
- index.h("div", null,
850
- !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
849
+ index$1.h("div", { class: classes.TextContainer },
850
+ index$1.h("div", null,
851
+ !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
851
852
  id: "formStep",
852
853
  defaultMessage: text.formStep,
853
854
  }, { step: states.step, count: FORM_STEPS }))),
854
- index.h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
855
- index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
856
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
857
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
858
- index.h("strong", null, text.error.generalTitle),
859
- index.h("br", null),
855
+ index$1.h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
856
+ index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
857
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
858
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
859
+ index$1.h("strong", null, text.error.generalTitle),
860
+ index$1.h("br", null),
860
861
  text.error.generalDescription)),
861
- states.isPartner && !states.hideSteps && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
862
- index.h("sl-icon", { slot: "icon", name: "info-circle" }),
863
- index.h("strong", null, text.isPartnerAlertHeader),
864
- index.h("br", null),
862
+ states.isPartner && !states.hideSteps && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
863
+ index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
864
+ index$1.h("strong", null, text.isPartnerAlertHeader),
865
+ index$1.h("br", null),
865
866
  text.isPartnerAlertDescription)),
866
- index.h("div", null,
867
- index.h("h4", null, text.paymentMethod),
868
- index.h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
869
- index.h("div", null,
870
- index.h("div", { class: classes.CheckboxContainer }, states.loading && formState.paymentMethodChecked === undefined ? (getLoadingSkeleton(undefined)) : (index.h("div", { class: classes.RadioContainer },
871
- states.hasPayPal && (index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toBankAccount", onInput: () => callbacks.setPaymentMethodChecked("toBankAccount"), disabled: states.disabled, id: "toBankAccount", name: "/toBankAccount" }, text.directlyToBankAccount)),
872
- formState.paymentMethodChecked === "toBankAccount" && (index.h("div", { class: classes.InputContainer, style: states.hideBanking ? { display: "none" } : {} }, states.loading
867
+ index$1.h("div", null,
868
+ index$1.h("h4", null, text.paymentMethod),
869
+ index$1.h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
870
+ index$1.h("div", null,
871
+ index$1.h("div", { class: classes.CheckboxContainer }, states.loading && formState.paymentMethodChecked === undefined ? (getLoadingSkeleton(undefined)) : (index$1.h("div", { class: classes.RadioContainer },
872
+ states.hasPayPal && (index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toBankAccount", onInput: () => callbacks.setPaymentMethodChecked("toBankAccount"), disabled: states.disabled, id: "toBankAccount", name: "/toBankAccount" }, text.directlyToBankAccount)),
873
+ formState.paymentMethodChecked === "toBankAccount" && (index$1.h("div", { class: classes.InputContainer, style: states.hideBanking ? { display: "none" } : {} }, states.loading
873
874
  ? getLoadingSkeleton("toBankAccount", slots.formInputsSlot.length + 3)
874
875
  : [
875
876
  slots.countryInputSlot,
876
877
  slots.paymentMethodSlot,
877
878
  slots.formInputsSlot,
878
879
  ])),
879
- states.hasPayPal && (index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toPayPalAccount", onInput: () => callbacks.setPaymentMethodChecked("toPayPalAccount"), disabled: states.disabled, id: "toPayPalAccount", name: "/toPayPalAccount" }, global.intl.formatMessage({
880
+ states.hasPayPal && (index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toPayPalAccount", onInput: () => callbacks.setPaymentMethodChecked("toPayPalAccount"), disabled: states.disabled, id: "toPayPalAccount", name: "/toPayPalAccount" }, global.intl.formatMessage({
880
881
  id: "paypal-input-label",
881
882
  defaultMessage: text.toPayPalAccount,
882
883
  }, { feeCap: states.feeCap }))),
883
- formState.paymentMethodChecked === "toPayPalAccount" && (index.h("div", { class: classes.InputContainer, style: states.hidePayPal ? { display: "none" } : {} }, states.loading
884
+ formState.paymentMethodChecked === "toPayPalAccount" && (index$1.h("div", { class: classes.InputContainer, style: states.hidePayPal ? { display: "none" } : {} }, states.loading
884
885
  ? getLoadingSkeleton("toPayPalAccount")
885
886
  : slots.paypalInputSlot)),
886
- index.h("div", { style: { paddingTop: "24px", paddingBottom: "12px" } },
887
- index.h("h4", null, text.paymentSchedule)),
888
- index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "BALANCE_THRESHOLD", onInput: () => callbacks.setPaymentScheduleChecked("BALANCE_THRESHOLD"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "BALANCE_THRESHOLD" }, text.paymentScheduleBalanceThreshold),
889
- formState.paymentScheduleChecked === "BALANCE_THRESHOLD" && (index.h("div", { class: classes.InputContainer, style: states.hideBalanceThreshold ? { display: "none" } : {} }, states.loading
887
+ index$1.h("div", { style: { paddingTop: "24px", paddingBottom: "12px" } },
888
+ index$1.h("h4", null, text.paymentSchedule)),
889
+ index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "BALANCE_THRESHOLD", onInput: () => callbacks.setPaymentScheduleChecked("BALANCE_THRESHOLD"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "BALANCE_THRESHOLD" }, text.paymentScheduleBalanceThreshold),
890
+ formState.paymentScheduleChecked === "BALANCE_THRESHOLD" && (index$1.h("div", { class: classes.InputContainer, style: states.hideBalanceThreshold ? { display: "none" } : {} }, states.loading
890
891
  ? getLoadingSkeleton("toPayPalAccount")
891
892
  : slots.paymentThresholdSelectSlot)),
892
- index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "FIXED_DAY", onInput: () => callbacks.setPaymentScheduleChecked("FIXED_DAY"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "FIXED_DAY" }, text.paymentScheduleFixedDay),
893
- formState.paymentScheduleChecked === "FIXED_DAY" && (index.h("div", { class: classes.InputContainer, style: states.hideFixedDay ? { display: "none" } : {} }, states.loading
893
+ index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "FIXED_DAY", onInput: () => callbacks.setPaymentScheduleChecked("FIXED_DAY"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "FIXED_DAY" }, text.paymentScheduleFixedDay),
894
+ formState.paymentScheduleChecked === "FIXED_DAY" && (index$1.h("div", { class: classes.InputContainer, style: states.hideFixedDay ? { display: "none" } : {} }, states.loading
894
895
  ? getLoadingSkeleton("toPayPalAccount")
895
896
  : slots.paymentFixedDaySelectSlot))))),
896
- index.h("div", { class: classes.BtnContainer },
897
- index.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
898
- !states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
897
+ index$1.h("div", { class: classes.BtnContainer },
898
+ index$1.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
899
+ !states.hideBackButton && (index$1.h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
899
900
  };
900
901
 
901
902
  // Hardcoded in Impact backend
@@ -929,7 +930,7 @@ function getFormInputs({ bitset, formMap }) {
929
930
  }, []);
930
931
  return inputFields;
931
932
  }
932
- const SAVE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
933
+ const SAVE_WITHDRAWAL_SETTINGS = index.dist.gql `
933
934
  mutation setImpactPublisherWithdrawalSettings(
934
935
  $setImpactPublisherWithdrawalSettingsInput: SetImpactPublisherWithdrawalSettingsInput!
935
936
  ) {
@@ -961,15 +962,15 @@ function parseImpactThreshold(threshold) {
961
962
  }
962
963
  function useBankingInfoForm(props) {
963
964
  var _a, _b, _c, _d, _e, _f, _g, _h;
964
- const locale = index_module.L();
965
- const user = index_module.Q();
966
- const [step, setStep] = index_module.bn(TAX_CONTEXT_NAMESPACE);
967
- const context = index_module.In(TAX_FORM_CONTEXT_NAMESPACE);
968
- const countries = index_module.In(SORTED_COUNTRIES_NAMESPACE);
965
+ const locale = index_module.Q();
966
+ const user = index_module.K();
967
+ const [step, setStep] = index_module.Mn(TAX_CONTEXT_NAMESPACE);
968
+ const context = index_module.Dn(TAX_FORM_CONTEXT_NAMESPACE);
969
+ const countries = index_module.Dn(SORTED_COUNTRIES_NAMESPACE);
969
970
  const formRef = stencilHooks_module.useRef(null);
970
- const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.Mn(FINANCE_NETWORK_SETTINGS_NAMESPACE);
971
- const { data: userData, refetch, errors: userError, } = index_module.Mn(USER_QUERY_NAMESPACE);
972
- const [saveWithdrawalSettings] = index_module.$e(SAVE_WITHDRAWAL_SETTINGS);
971
+ const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.qn(FINANCE_NETWORK_SETTINGS_NAMESPACE);
972
+ const { data: userData, refetch, errors: userError, } = index_module.qn(USER_QUERY_NAMESPACE);
973
+ const [saveWithdrawalSettings] = index_module.xe(SAVE_WITHDRAWAL_SETTINGS);
973
974
  const [formState, setFormState] = stencilHooks_module.useState({});
974
975
  const [currentPaymentOption, setCurrentPaymentOption] = stencilHooks_module.useState(null);
975
976
  const [loading, setLoading] = stencilHooks_module.useState(false);
@@ -1191,7 +1192,7 @@ function useBankingInfoForm(props) {
1191
1192
 
1192
1193
  const BankingInfoForm = class {
1193
1194
  constructor(hostRef) {
1194
- index.registerInstance(this, hostRef);
1195
+ index$1.registerInstance(this, hostRef);
1195
1196
  this.ignored = true;
1196
1197
  /**
1197
1198
  * @uiName Setup progress
@@ -1432,7 +1433,7 @@ const BankingInfoForm = class {
1432
1433
  * @uiWidget textArea
1433
1434
  */
1434
1435
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
1435
- stencilHooks_module.h$1(this);
1436
+ stencilHooks_module.h(this);
1436
1437
  }
1437
1438
  disconnectedCallback() { }
1438
1439
  getTextProps() {
@@ -1488,40 +1489,40 @@ const BankingInfoForm = class {
1488
1489
  padding: "var(--sl-spacing-x-small)",
1489
1490
  },
1490
1491
  };
1491
- return (index.h(index.Host, null, index.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1492
+ return (index$1.h(index$1.Host, null, index$1.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1492
1493
  formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
1493
- countryInputSlot: (index.h("sl-select", Object.assign({ label: props.text.bankLocationLabel, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1494
+ countryInputSlot: (index$1.h("sl-select", Object.assign({ label: props.text.bankLocationLabel, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1494
1495
  class: "error-input",
1495
1496
  helpText: getValidationErrorMessage({
1496
1497
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
1497
1498
  label: props.text.bankLocationLabel,
1498
1499
  }),
1499
- })), index.h("sl-input", { class: searchStyle.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1500
+ })), index$1.h("sl-input", { class: searchStyle.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1500
1501
  // Stop shoelace intercepting key presses
1501
1502
  e.stopPropagation();
1502
1503
  }, "onSl-input": (e) => {
1503
1504
  props.callbacks.setCountrySearch(e.target.value);
1504
1505
  } }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
1505
1506
  _d.map((country) => {
1506
- return (index.h("sl-menu-item", { value: country.countryCode }, country.displayName));
1507
+ return (index$1.h("sl-menu-item", { value: country.countryCode }, country.displayName));
1507
1508
  }), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
1508
- _f.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1509
- paymentMethodSlot: (index.h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1510
- paymentThresholdSelectSlot: (index.h("sl-select", Object.assign({ required: true, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
1509
+ _f.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1510
+ paymentMethodSlot: (index$1.h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1511
+ paymentThresholdSelectSlot: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
1511
1512
  class: "error-input",
1512
1513
  helpText: getValidationErrorMessage({
1513
1514
  type: (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.paymentThreshold) === null || _l === void 0 ? void 0 : _l.type,
1514
1515
  label: props.text.paymentThresholdSelectLabel,
1515
1516
  }),
1516
- })), props.states.thresholds.map((t) => (index.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1517
- paymentFixedDaySelectSlot: (index.h("sl-select", Object.assign({ required: true, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
1517
+ })), props.states.thresholds.map((t) => (index$1.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1518
+ paymentFixedDaySelectSlot: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
1518
1519
  class: "error-input",
1519
1520
  helpText: getValidationErrorMessage({
1520
1521
  type: (_r = (_q = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _q === void 0 ? void 0 : _q.paymentDay) === null || _r === void 0 ? void 0 : _r.type,
1521
1522
  label: props.text.paymentDaySelectLabel,
1522
1523
  }),
1523
- })), index.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1524
- paypalInputSlot: (index.h("sl-input", Object.assign({ required: true, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
1524
+ })), index$1.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index$1.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1525
+ paypalInputSlot: (index$1.h("sl-input", Object.assign({ required: true, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
1525
1526
  class: "error-input",
1526
1527
  helpText: getValidationErrorMessage({
1527
1528
  type: (_0 = (_z = (_y = (_x = props.states.formState) === null || _x === void 0 ? void 0 : _x.errors) === null || _y === void 0 ? void 0 : _y.inputErrors) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) === null || _0 === void 0 ? void 0 : _0.type,
@@ -1537,7 +1538,7 @@ function useDemoBankingInfoForm(props) {
1537
1538
  const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
1538
1539
  const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
1539
1540
  const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
1540
- const setStep = index_module.wn(TAX_CONTEXT_NAMESPACE);
1541
+ const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
1541
1542
  const [paymentMethodChecked, setPaymentMethodChecked] = stencilHooks_module.useState(undefined);
1542
1543
  const [paymentScheduleChecked, setPaymentScheduleChecked] = stencilHooks_module.useState(undefined);
1543
1544
  const [currency, setCurrency] = stencilHooks_module.useState(defaultCurrency);
@@ -1628,7 +1629,7 @@ function useDemoBankingInfoForm(props) {
1628
1629
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1629
1630
  }
1630
1631
 
1631
- const GET_TAX_DOCUMENT = index_module.dist.gql `
1632
+ const GET_TAX_DOCUMENT = index.dist.gql `
1632
1633
  mutation createImpactPublisherTaxDocument(
1633
1634
  $vars: CreateImpactPublisherTaxDocumentInput!
1634
1635
  ) {
@@ -1639,7 +1640,7 @@ const GET_TAX_DOCUMENT = index_module.dist.gql `
1639
1640
  }
1640
1641
  }
1641
1642
  `;
1642
- const COMPLETE_TAX_DOCUMENT = index_module.dist.gql `
1643
+ const COMPLETE_TAX_DOCUMENT = index.dist.gql `
1643
1644
  mutation completeImpactPublisherTaxDocument($vars: UserIdInput!) {
1644
1645
  completeImpactPublisherTaxDocument(user: $vars) {
1645
1646
  success
@@ -1655,13 +1656,13 @@ const DOCUSIGN_ERROR_STATES = [
1655
1656
  const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
1656
1657
  function useDocusignForm(props) {
1657
1658
  var _a, _b, _c;
1658
- const user = index_module.Q();
1659
- const context = index_module.In(TAX_FORM_CONTEXT_NAMESPACE);
1660
- const [step, setStep] = index_module.bn(TAX_CONTEXT_NAMESPACE);
1661
- const { data, loading: userLoading, refetch, } = index_module.Mn(USER_QUERY_NAMESPACE);
1659
+ const user = index_module.K();
1660
+ const context = index_module.Dn(TAX_FORM_CONTEXT_NAMESPACE);
1661
+ const [step, setStep] = index_module.Mn(TAX_CONTEXT_NAMESPACE);
1662
+ const { data, loading: userLoading, refetch, } = index_module.qn(USER_QUERY_NAMESPACE);
1662
1663
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
1663
- const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index_module.$e(GET_TAX_DOCUMENT);
1664
- const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index_module.$e(COMPLETE_TAX_DOCUMENT);
1664
+ const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index_module.xe(GET_TAX_DOCUMENT);
1665
+ const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index_module.xe(COMPLETE_TAX_DOCUMENT);
1665
1666
  const [docusignStatus, setDocusignStatus] = stencilHooks_module.useState(undefined);
1666
1667
  const [participantType, setParticipantType] = stencilHooks_module.useState(undefined);
1667
1668
  const [errors, setErrors] = stencilHooks_module.useState({});
@@ -1804,39 +1805,39 @@ const styleString$1 = sheet$1.toString();
1804
1805
  const DocusignExpiredView = (props) => {
1805
1806
  const { classes } = sheet$1;
1806
1807
  const { text } = props;
1807
- return (index.h("div", null,
1808
- index.h("style", { type: "text/css" }, styleString$1),
1809
- index.h("div", { class: classes.DocusignStatusContainer },
1810
- index.h("sl-icon", { style: {
1808
+ return (index$1.h("div", null,
1809
+ index$1.h("style", { type: "text/css" }, styleString$1),
1810
+ index$1.h("div", { class: classes.DocusignStatusContainer },
1811
+ index$1.h("sl-icon", { style: {
1811
1812
  width: "50px",
1812
1813
  height: "50px",
1813
1814
  color: "var(--sl-color-neutral-500)",
1814
1815
  }, name: "clock" }),
1815
- index.h("div", { class: classes.MessageContainer },
1816
- index.h("p", { style: { margin: "0" } }, text.docusignExpired)),
1817
- index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1816
+ index$1.h("div", { class: classes.MessageContainer },
1817
+ index$1.h("p", { style: { margin: "0" } }, text.docusignExpired)),
1818
+ index$1.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1818
1819
  };
1819
1820
  const DocusignErrorView = (props) => {
1820
1821
  const { classes } = sheet$1;
1821
1822
  const { text } = props;
1822
- return (index.h("div", null,
1823
- index.h("style", { type: "text/css" }, styleString$1),
1824
- index.h("div", { class: classes.DocusignStatusContainer },
1825
- index.h("sl-icon", { style: {
1823
+ return (index$1.h("div", null,
1824
+ index$1.h("style", { type: "text/css" }, styleString$1),
1825
+ index$1.h("div", { class: classes.DocusignStatusContainer },
1826
+ index$1.h("sl-icon", { style: {
1826
1827
  width: "50px",
1827
1828
  height: "50px",
1828
1829
  color: "var(--sl-color-gray-500)",
1829
1830
  }, name: "exclamation-octagon" }),
1830
- index.h("div", { class: classes.MessageContainer },
1831
- index.h("p", { style: { margin: "0" } }, text.docusignError)),
1832
- index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1831
+ index$1.h("div", { class: classes.MessageContainer },
1832
+ index$1.h("p", { style: { margin: "0" } }, text.docusignError)),
1833
+ index$1.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1833
1834
  };
1834
1835
  const DocusignLoadingView = () => {
1835
1836
  const { classes } = sheet$1;
1836
- return (index.h("div", null,
1837
- index.h("style", { type: "text/css" }, styleString$1),
1838
- index.h("div", { class: classes.DocusignStatusContainer },
1839
- index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
1837
+ return (index$1.h("div", null,
1838
+ index$1.h("style", { type: "text/css" }, styleString$1),
1839
+ index$1.h("div", { class: classes.DocusignStatusContainer },
1840
+ index$1.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
1840
1841
  };
1841
1842
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
1842
1843
  const [iFrameHeight, setiFrameHeight] = stencilHooks_module.useState("100%");
@@ -1866,13 +1867,13 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1866
1867
  };
1867
1868
  }, []);
1868
1869
  if (states.urlLoading)
1869
- return index.h(DocusignLoadingView, null);
1870
+ return index$1.h(DocusignLoadingView, null);
1870
1871
  if (DOCUSIGN_ERROR_STATES.includes(states.status)) {
1871
- return index.h(DocusignErrorView, { text: text });
1872
+ return index$1.h(DocusignErrorView, { text: text });
1872
1873
  }
1873
1874
  if (DOCUSIGN_EXPIRED_STATES.includes(states.status))
1874
- return index.h(DocusignExpiredView, { text: text });
1875
- return (index.h("iframe", { scrolling: "yes", frameBorder: "0", src: data.documentUrl, width: "100%", height: iFrameHeight }));
1875
+ return index$1.h(DocusignExpiredView, { text: text });
1876
+ return (index$1.h("iframe", { scrolling: "yes", frameBorder: "0", src: data.documentUrl, width: "100%", height: iFrameHeight }));
1876
1877
  };
1877
1878
 
1878
1879
  const style$2 = {
@@ -2016,33 +2017,33 @@ const DocusignFormView = (props) => {
2016
2017
  var _a;
2017
2018
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2018
2019
  const { classes } = sheet$2;
2019
- return (index.h("div", { class: classes.Container },
2020
- index.h("style", { type: "text/css" },
2020
+ return (index$1.h("div", { class: classes.Container },
2021
+ index$1.h("style", { type: "text/css" },
2021
2022
  styleString$2,
2022
2023
  vanillaStyle$1),
2023
- index.h("div", { class: classes.TextContainer },
2024
- index.h("div", null,
2025
- !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
2024
+ index$1.h("div", { class: classes.TextContainer },
2025
+ index$1.h("div", null,
2026
+ !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
2026
2027
  id: "formStep",
2027
2028
  defaultMessage: text.formStep,
2028
2029
  }, { step: states.step, count: FORM_STEPS }))),
2029
- index.h("h3", null, text.taxForm),
2030
- index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2031
- states.loadingError && (index.h("div", null,
2032
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$2.classes.ErrorAlertContainer },
2033
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2034
- index.h("strong", null, text.error.loadingErrorAlertHeader),
2035
- index.h("br", null),
2030
+ index$1.h("h3", null, text.taxForm),
2031
+ index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2032
+ states.loadingError && (index$1.h("div", null,
2033
+ index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$2.classes.ErrorAlertContainer },
2034
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2035
+ index$1.h("strong", null, text.error.loadingErrorAlertHeader),
2036
+ index$1.h("br", null),
2036
2037
  text.error.loadingErrorAlertDescription))),
2037
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$2.classes.ErrorAlertContainer },
2038
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2039
- index.h("strong", null, text.error.generalTitle),
2040
- index.h("br", null),
2038
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$2.classes.ErrorAlertContainer },
2039
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2040
+ index$1.h("strong", null, text.error.generalTitle),
2041
+ index$1.h("br", null),
2041
2042
  text.error.generalDescription)),
2042
- index.h("div", null,
2043
- index.h("div", null,
2044
- index.h("h5", { class: classes.BoldText }, global.intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
2045
- index.h("p", null, global.intl.formatMessage({
2043
+ index$1.h("div", null,
2044
+ index$1.h("div", null,
2045
+ index$1.h("h5", { class: classes.BoldText }, global.intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
2046
+ index$1.h("p", null, global.intl.formatMessage({
2046
2047
  id: "tax-form-description",
2047
2048
  defaultMessage: states.documentType === "W9"
2048
2049
  ? text.taxFormDescription
@@ -2050,12 +2051,12 @@ const DocusignFormView = (props) => {
2050
2051
  ? text.taxFormDescriptionIndividualParticipant
2051
2052
  : text.taxFormDescriptionBusinessEntity,
2052
2053
  }, { documentType: documentTypeString }))),
2053
- index.h("div", null, slots.docusignIframeSlot))));
2054
+ index$1.h("div", null, slots.docusignIframeSlot))));
2054
2055
  };
2055
2056
 
2056
2057
  const DocusignForm = class {
2057
2058
  constructor(hostRef) {
2058
- index.registerInstance(this, hostRef);
2059
+ index$1.registerInstance(this, hostRef);
2059
2060
  this.ignored = true;
2060
2061
  /**
2061
2062
  * @uiName Setup progress
@@ -2153,7 +2154,7 @@ const DocusignForm = class {
2153
2154
  * @uiName Page description
2154
2155
  */
2155
2156
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2156
- stencilHooks_module.h$1(this);
2157
+ stencilHooks_module.h(this);
2157
2158
  }
2158
2159
  disconnectedCallback() { }
2159
2160
  getTextProps() {
@@ -2172,7 +2173,7 @@ const DocusignForm = class {
2172
2173
  render() {
2173
2174
  const _isDemo = index_module.isDemo();
2174
2175
  const props = _isDemo ? useDocusignFormDemo(this) : useDocusignForm(this);
2175
- const docusignIframeSlot = (index.h(DocusignIframe, { states: {
2176
+ const docusignIframeSlot = (index$1.h(DocusignIframe, { states: {
2176
2177
  status: props.states.docusignStatus,
2177
2178
  loading: props.states.loading,
2178
2179
  urlLoading: props.states.urlLoading,
@@ -2182,16 +2183,16 @@ const DocusignForm = class {
2182
2183
  progressStep: props.callbacks.progressStep,
2183
2184
  completeDocument: props.callbacks.completeDocument,
2184
2185
  }, text: props.text }));
2185
- return (index.h(index.Host, null, index.h(DocusignFormView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
2186
+ return (index$1.h(index$1.Host, null, index$1.h(DocusignFormView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
2186
2187
  docusignIframeSlot: _isDemo
2187
2188
  ? DemoDocusignIframe({ callbacks: props.callbacks })
2188
2189
  : docusignIframeSlot,
2189
2190
  } })));
2190
2191
  }
2191
- get el() { return index.getElement(this); }
2192
+ get el() { return index$1.getElement(this); }
2192
2193
  };
2193
2194
  function useDocusignFormDemo(props) {
2194
- const setStep = index_module.wn(TAX_CONTEXT_NAMESPACE);
2195
+ const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
2195
2196
  return cjs.cjs({
2196
2197
  text: props.getTextProps(),
2197
2198
  states: {
@@ -2225,19 +2226,19 @@ function useDocusignFormDemo(props) {
2225
2226
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
2226
2227
  }
2227
2228
  const DemoDocusignIframe = ({ callbacks }) => {
2228
- return (index.h("div", { style: {
2229
+ return (index$1.h("div", { style: {
2229
2230
  width: "100%",
2230
2231
  height: "600px",
2231
2232
  background: "#fafafa",
2232
2233
  display: "flex",
2233
2234
  justifyContent: "center",
2234
2235
  alignItems: "center",
2235
- } }, index.h("div", { style: {
2236
+ } }, index$1.h("div", { style: {
2236
2237
  display: "flex",
2237
2238
  flexDirection: "column",
2238
2239
  gap: "12px",
2239
2240
  alignItems: "center",
2240
- } }, index.h("span", null, "Placeholder for docusign iframe"), index.h("div", { style: { display: "flex", gap: "8px" } }, index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2241
+ } }, index$1.h("span", null, "Placeholder for docusign iframe"), index$1.h("div", { style: { display: "flex", gap: "8px" } }, index$1.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index$1.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2241
2242
  };
2242
2243
 
2243
2244
  const style$3 = {
@@ -2372,61 +2373,61 @@ const IndirectTaxFormView = (props) => {
2372
2373
  var _a;
2373
2374
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2374
2375
  const { classes } = sheet$3;
2375
- return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2376
- index.h("style", { type: "text/css" },
2376
+ return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2377
+ index$1.h("style", { type: "text/css" },
2377
2378
  styleString$3,
2378
2379
  vanillaStyle$2),
2379
- index.h("div", { class: classes.TextContainer },
2380
- index.h("div", null,
2381
- !states.hideSteps && (index.h("p", null,
2380
+ index$1.h("div", { class: classes.TextContainer },
2381
+ index$1.h("div", null,
2382
+ !states.hideSteps && (index$1.h("p", null,
2382
2383
  " ",
2383
2384
  global.intl.formatMessage({
2384
2385
  id: "formStep",
2385
2386
  defaultMessage: text.formStep,
2386
2387
  }, { step: states.step, count: FORM_STEPS }))),
2387
- index.h("h3", null, text.indirectTax),
2388
- index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2389
- index.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2390
- states.loadingError && (index.h("div", null,
2391
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.AlertContainer },
2392
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2393
- index.h("strong", null, text.error.loadingErrorAlertHeader),
2394
- index.h("br", null),
2388
+ index$1.h("h3", null, text.indirectTax),
2389
+ index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2390
+ index$1.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2391
+ states.loadingError && (index$1.h("div", null,
2392
+ index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.AlertContainer },
2393
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2394
+ index$1.h("strong", null, text.error.loadingErrorAlertHeader),
2395
+ index$1.h("br", null),
2395
2396
  text.error.loadingErrorAlertDescription))),
2396
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.AlertContainer },
2397
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2398
- index.h("strong", null, text.error.generalTitle),
2399
- index.h("br", null),
2397
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.AlertContainer },
2398
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2399
+ index$1.h("strong", null, text.error.generalTitle),
2400
+ index$1.h("br", null),
2400
2401
  text.error.generalDescription)),
2401
- states.isPartner && (index.h("sl-alert", { type: "primary", open: true, class: sheet$3.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2402
- index.h("sl-icon", { slot: "icon", name: "info-circle" }),
2403
- index.h("strong", null, text.isPartnerAlertHeader),
2404
- index.h("br", null),
2402
+ states.isPartner && (index$1.h("sl-alert", { type: "primary", open: true, class: sheet$3.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2403
+ index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
2404
+ index$1.h("strong", null, text.isPartnerAlertHeader),
2405
+ index$1.h("br", null),
2405
2406
  text.isPartnerAlertDescription)),
2406
- index.h("div", null,
2407
- index.h("h4", null, text.indirectTaxDetails))),
2408
- states.loading ? (index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (index.h("div", null,
2409
- index.h("div", { class: classes.RadioContainer },
2410
- index.h("div", { class: classes.InnerRadioContainer },
2411
- index.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "notRegistered", id: "notRegistered", checked: formState.checked === "notRegistered", onInput: () => callbacks.onChange("notRegistered"), disabled: states.disabled || states.isPartner },
2412
- index.h("div", { class: classes.RadioContent },
2407
+ index$1.h("div", null,
2408
+ index$1.h("h4", null, text.indirectTaxDetails))),
2409
+ states.loading ? (index$1.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (index$1.h("div", null,
2410
+ index$1.h("div", { class: classes.RadioContainer },
2411
+ index$1.h("div", { class: classes.InnerRadioContainer },
2412
+ index$1.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "notRegistered", id: "notRegistered", checked: formState.checked === "notRegistered", onInput: () => callbacks.onChange("notRegistered"), disabled: states.disabled || states.isPartner },
2413
+ index$1.h("div", { class: classes.RadioContent },
2413
2414
  text.notRegistered,
2414
- index.h("p", { class: classes.DescriptionText }, text.notRegisteredSubtext))),
2415
- index.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "otherRegion", id: "otherRegion", checked: formState.checked === "otherRegion", onInput: () => callbacks.onChange("otherRegion"), disabled: states.disabled || states.isPartner },
2416
- index.h("div", { class: classes.RadioContent },
2415
+ index$1.h("p", { class: classes.DescriptionText }, text.notRegisteredSubtext))),
2416
+ index$1.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "otherRegion", id: "otherRegion", checked: formState.checked === "otherRegion", onInput: () => callbacks.onChange("otherRegion"), disabled: states.disabled || states.isPartner },
2417
+ index$1.h("div", { class: classes.RadioContent },
2417
2418
  text.otherRegion,
2418
- index.h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2419
+ index$1.h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2419
2420
  slots.registeredInDifferentCountryDetailsSlot)),
2420
- index.h("div", { class: classes.CannotChangeAlertContainer },
2421
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
2422
- index.h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
2421
+ index$1.h("div", { class: classes.CannotChangeAlertContainer },
2422
+ index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
2423
+ index$1.h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
2423
2424
  text.cannotChangeInfoAlert)),
2424
- index.h("div", { class: classes.BtnContainer },
2425
- index.h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2426
- index.h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2425
+ index$1.h("div", { class: classes.BtnContainer },
2426
+ index$1.h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2427
+ index$1.h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2427
2428
  };
2428
2429
 
2429
- const CONNECT_PARTNER = index_module.dist.gql `
2430
+ const CONNECT_PARTNER = index.dist.gql `
2430
2431
  mutation createImpactConnection($vars: ImpactConnectionInput!) {
2431
2432
  createImpactConnection(impactConnectionInput: $vars) {
2432
2433
  success
@@ -2464,15 +2465,15 @@ function getOption(countries, countryCode) {
2464
2465
  }
2465
2466
  function useIndirectTaxForm(props) {
2466
2467
  var _a, _b, _c, _d, _e;
2467
- const user = index_module.Q();
2468
- const locale = index_module.L();
2468
+ const user = index_module.K();
2469
+ const locale = index_module.Q();
2469
2470
  const formRef = stencilHooks_module.useRef(null);
2470
- const context = index_module.In(TAX_FORM_CONTEXT_NAMESPACE);
2471
- const [step, setStep] = index_module.bn(TAX_CONTEXT_NAMESPACE);
2472
- const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = index_module.$e(CONNECT_PARTNER);
2473
- const userForm = index_module.In(USER_FORM_CONTEXT_NAMESPACE);
2474
- const { data: userData, refetch, errors: userError, } = index_module.Mn(USER_QUERY_NAMESPACE);
2475
- const { data: _countriesRes, loading: countriesLoading } = index_module.Mn(COUNTRIES_QUERY_NAMESPACE);
2471
+ const context = index_module.Dn(TAX_FORM_CONTEXT_NAMESPACE);
2472
+ const [step, setStep] = index_module.Mn(TAX_CONTEXT_NAMESPACE);
2473
+ const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = index_module.xe(CONNECT_PARTNER);
2474
+ const userForm = index_module.Dn(USER_FORM_CONTEXT_NAMESPACE);
2475
+ const { data: userData, refetch, errors: userError, } = index_module.qn(USER_QUERY_NAMESPACE);
2476
+ const { data: _countriesRes, loading: countriesLoading } = index_module.qn(COUNTRIES_QUERY_NAMESPACE);
2476
2477
  const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
2477
2478
  const _countries = stencilHooks_module.useMemo(() => { var _a, _b; return (_b = (_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((country) => sqmInvoiceTableView.getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
2478
2479
  const [loading, setLoading] = stencilHooks_module.useState(false);
@@ -2662,7 +2663,7 @@ function useIndirectTaxForm(props) {
2662
2663
 
2663
2664
  const IndirectTaxForm = class {
2664
2665
  constructor(hostRef) {
2665
- index.registerInstance(this, hostRef);
2666
+ index$1.registerInstance(this, hostRef);
2666
2667
  /**
2667
2668
  * @uiName Setup progress
2668
2669
  */
@@ -2808,7 +2809,7 @@ const IndirectTaxForm = class {
2808
2809
  * @uiName Page description
2809
2810
  */
2810
2811
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2811
- stencilHooks_module.h$1(this);
2812
+ stencilHooks_module.h(this);
2812
2813
  }
2813
2814
  disconnectedCallback() { }
2814
2815
  getTextProps() {
@@ -2843,7 +2844,7 @@ const IndirectTaxForm = class {
2843
2844
  const props = index_module.isDemo()
2844
2845
  ? useDemoIndirectTaxForm(this)
2845
2846
  : useIndirectTaxForm(this);
2846
- const registeredInDifferentCountryDetailsSlot = (index.h(sqmInvoiceTableView.OtherRegionSlotView, { states: {
2847
+ const registeredInDifferentCountryDetailsSlot = (index$1.h(sqmInvoiceTableView.OtherRegionSlotView, { states: {
2847
2848
  hide: props.states.formState.checked !== "otherRegion",
2848
2849
  disabled: props.states.disabled || props.states.isPartner,
2849
2850
  formState: props.slotProps.formState,
@@ -2855,13 +2856,13 @@ const IndirectTaxForm = class {
2855
2856
  provinces: props.data.provinces,
2856
2857
  allCountries: props.data.allCountries,
2857
2858
  }, text: props.text.slotText }));
2858
- return (index.h(index.Host, null, index.h(IndirectTaxFormView, { callbacks: props.callbacks, states: props.states, refs: props.refs, text: props.text, slots: {
2859
+ return (index$1.h(index$1.Host, null, index$1.h(IndirectTaxFormView, { callbacks: props.callbacks, states: props.states, refs: props.refs, text: props.text, slots: {
2859
2860
  registeredInDifferentCountryDetailsSlot,
2860
2861
  } })));
2861
2862
  }
2862
2863
  };
2863
2864
  function useDemoIndirectTaxForm(props) {
2864
- const setStep = index_module.wn(TAX_CONTEXT_NAMESPACE);
2865
+ const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
2865
2866
  const [option, setOption] = stencilHooks_module.useState(null);
2866
2867
  const [demoFormState, setDemoFormState] = stencilHooks_module.useState({});
2867
2868
  return cjs.cjs({
@@ -2945,7 +2946,7 @@ function useDemoIndirectTaxForm(props) {
2945
2946
 
2946
2947
  const debug = stencilHooks_module.browser("sq:useInvoiceTable");
2947
2948
  const CSS_NAMESPACE = "sqm-invoice-table";
2948
- const GET_INVOICES = index_module.dist.gql `
2949
+ const GET_INVOICES = index.dist.gql `
2949
2950
  query getUserTaxInfo($limit: Int!, $offset: Int!) {
2950
2951
  user: viewer {
2951
2952
  ... on User {
@@ -2971,8 +2972,8 @@ const GET_INVOICES = index_module.dist.gql `
2971
2972
  `;
2972
2973
  function useInvoiceTable(props, emptyElement, loadingElement) {
2973
2974
  var _a;
2974
- const user = index_module.Q();
2975
- const locale = index_module.L();
2975
+ const user = index_module.K();
2976
+ const locale = index_module.Q();
2976
2977
  const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
2977
2978
  ...state,
2978
2979
  ...next,
@@ -2982,7 +2983,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
2982
2983
  loading: false,
2983
2984
  page: 0,
2984
2985
  });
2985
- const { envelope: invoicesData, states, callbacks, } = index_module.kn(GET_INVOICES, (data) => { var _a, _b, _c; return (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.invoices; }, {
2986
+ const { envelope: invoicesData, states, callbacks, } = index_module.On(GET_INVOICES, (data) => { var _a, _b, _c; return (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.invoices; }, {
2986
2987
  limit: props.perPage,
2987
2988
  offset: 0,
2988
2989
  }, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
@@ -3006,7 +3007,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3006
3007
  netEarnings: `${invoice.currency}${((_c = (invoice.totalAmount - invoice.totalVatAmount)) === null || _c === void 0 ? void 0 : _c.toFixed(2)) || "0.00"}`,
3007
3008
  downloadUrl: invoice.downloadUrl,
3008
3009
  };
3009
- const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(invoiceData, { locale }, index.h)));
3010
+ const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(invoiceData, { locale }, index$1.h)));
3010
3011
  const cells = (await Promise.all(cellPromise));
3011
3012
  return cells;
3012
3013
  });
@@ -3075,7 +3076,7 @@ async function tryMethod(c, callback) {
3075
3076
  // renderLabel did not return a promise, so this method probably doesn't exist
3076
3077
  // therefore, we IGNORE the label
3077
3078
  debug("label promise failed", e);
3078
- return index.h("span", null);
3079
+ return index$1.h("span", null);
3079
3080
  }
3080
3081
  try {
3081
3082
  return await labelPromise;
@@ -3085,8 +3086,8 @@ async function tryMethod(c, callback) {
3085
3086
  // This should not happen so we fail fast
3086
3087
  debug("Error rendering label", e);
3087
3088
  const userError = useReferralTable.generateUserError(e);
3088
- return (index.h("details", null,
3089
- index.h("summary", null, "Error"),
3089
+ return (index$1.h("details", null,
3090
+ index$1.h("summary", null, "Error"),
3090
3091
  userError));
3091
3092
  }
3092
3093
  }
@@ -3113,7 +3114,7 @@ const getMockData = () => {
3113
3114
 
3114
3115
  const InvoiceTable = class {
3115
3116
  constructor(hostRef) {
3116
- index.registerInstance(this, hostRef);
3117
+ index$1.registerInstance(this, hostRef);
3117
3118
  /**
3118
3119
  * Number of invoices displayed per page
3119
3120
  *
@@ -3144,27 +3145,27 @@ const InvoiceTable = class {
3144
3145
  this.emptyStateHeader = "View your invoice details";
3145
3146
  /** @uiName Empty invoice table description */
3146
3147
  this.emptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
3147
- stencilHooks_module.h$1(this);
3148
+ stencilHooks_module.h(this);
3148
3149
  }
3149
3150
  disconnectedCallback() { }
3150
3151
  render() {
3151
- const empty = (index.h(EmptySlot, { emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText }));
3152
- const loading = index.h(LoadingSlot, null);
3152
+ const empty = (index$1.h(EmptySlot, { emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText }));
3153
+ const loading = index$1.h(LoadingSlot, null);
3153
3154
  const { states, data, callbacks, elements } = index_module.isDemo()
3154
3155
  ? useInvoiceTableDemo(this, empty, loading)
3155
3156
  : useInvoiceTable(this, empty, loading);
3156
3157
  reRender.useRequestRerender([this.perPage]);
3157
- return (index.h(sqmInvoiceTableView.InvoiceTableView, { header: this.header, description: this.description }, index.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3158
+ return (index$1.h(sqmInvoiceTableView.InvoiceTableView, { header: this.header, description: this.description }, index$1.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3158
3159
  }
3159
3160
  };
3160
3161
  function EmptySlot(props) {
3161
- return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": props.emptyStateHeader, "empty-state-text": props.emptyStateText })));
3162
+ return (index$1.h("slot", { name: "empty" }, index$1.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": props.emptyStateHeader, "empty-state-text": props.emptyStateText })));
3162
3163
  }
3163
3164
  function LoadingSlot() {
3164
- return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
3165
+ return (index$1.h("slot", { name: "loading" }, index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null)));
3165
3166
  }
3166
3167
  function LoadingRow() {
3167
- return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 6 }, index.h("sl-skeleton", null))));
3168
+ return (index$1.h("sqm-table-row", null, index$1.h("sqm-table-cell", { colspan: 6 }, index$1.h("sl-skeleton", null))));
3168
3169
  }
3169
3170
  function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3170
3171
  const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
@@ -3258,9 +3259,9 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3258
3259
 
3259
3260
  const InvoiceTableDataCell = class {
3260
3261
  constructor(hostRef) {
3261
- index.registerInstance(this, hostRef);
3262
+ index$1.registerInstance(this, hostRef);
3262
3263
  this.ignored = true;
3263
- stencilHooks_module.h$1(this);
3264
+ stencilHooks_module.h(this);
3264
3265
  }
3265
3266
  disconnectedCallback() { }
3266
3267
  render() {
@@ -3270,28 +3271,28 @@ const InvoiceTableDataCell = class {
3270
3271
 
3271
3272
  const InvoiceTableDataColumn = class {
3272
3273
  constructor(hostRef) {
3273
- index.registerInstance(this, hostRef);
3274
- stencilHooks_module.h$1(this);
3274
+ index$1.registerInstance(this, hostRef);
3275
+ stencilHooks_module.h(this);
3275
3276
  }
3276
3277
  disconnectedCallback() { }
3277
3278
  async renderCell(data) {
3278
- return (index.h("sqm-invoice-table-data-cell", { data: data[this.property] }));
3279
+ return (index$1.h("sqm-invoice-table-data-cell", { data: data[this.property] }));
3279
3280
  }
3280
3281
  async renderLabel() {
3281
3282
  return Promise.resolve(this.columnTitle);
3282
3283
  }
3283
3284
  render() {
3284
3285
  reRender.useRequestRerender([this.columnTitle, this.property]);
3285
- return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3286
+ return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3286
3287
  }
3287
3288
  };
3288
3289
 
3289
3290
  const RewardTableDateCell = class {
3290
3291
  constructor(hostRef) {
3291
- index.registerInstance(this, hostRef);
3292
+ index$1.registerInstance(this, hostRef);
3292
3293
  this.ignored = true;
3293
3294
  this.locale = "en";
3294
- stencilHooks_module.h$1(this);
3295
+ stencilHooks_module.h(this);
3295
3296
  }
3296
3297
  disconnectedCallback() { }
3297
3298
  render() {
@@ -3305,58 +3306,58 @@ const RewardTableDateCell = class {
3305
3306
 
3306
3307
  const InvoiceTableDateColumn = class {
3307
3308
  constructor(hostRef) {
3308
- index.registerInstance(this, hostRef);
3309
- stencilHooks_module.h$1(this);
3309
+ index$1.registerInstance(this, hostRef);
3310
+ stencilHooks_module.h(this);
3310
3311
  }
3311
3312
  disconnectedCallback() { }
3312
3313
  async renderCell(data, options) {
3313
- return (index.h("sqm-invoice-table-date-cell", { date: data.dateCreated, locale: options === null || options === void 0 ? void 0 : options.locale }));
3314
+ return (index$1.h("sqm-invoice-table-date-cell", { date: data.dateCreated, locale: options === null || options === void 0 ? void 0 : options.locale }));
3314
3315
  }
3315
3316
  async renderLabel() {
3316
3317
  return this.columnTitle;
3317
3318
  }
3318
3319
  render() {
3319
3320
  reRender.useRequestRerender([this.columnTitle]);
3320
- return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3321
+ return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3321
3322
  }
3322
3323
  };
3323
3324
 
3324
3325
  const InvoiceTableDownloadCell = class {
3325
3326
  constructor(hostRef) {
3326
- index.registerInstance(this, hostRef);
3327
+ index$1.registerInstance(this, hostRef);
3327
3328
  this.ignored = true;
3328
- stencilHooks_module.h$1(this);
3329
+ stencilHooks_module.h(this);
3329
3330
  }
3330
3331
  disconnectedCallback() { }
3331
3332
  render() {
3332
3333
  const vanillaStyle = `svg:hover, svg:hover * {
3333
3334
  cursor: pointer;
3334
3335
  }`;
3335
- return (index.h(index.Host, null, index.h("style", null, vanillaStyle), !!this.downloadUrl && (index.h("a", { href: this.downloadUrl, target: "_blank" }, index.h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "#717179" }), index.h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "#717179" }))))));
3336
+ return (index$1.h(index$1.Host, null, index$1.h("style", null, vanillaStyle), !!this.downloadUrl && (index$1.h("a", { href: this.downloadUrl, target: "_blank" }, index$1.h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "#717179" }), index$1.h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "#717179" }))))));
3336
3337
  }
3337
3338
  };
3338
3339
 
3339
3340
  const InvoiceTableGenericColumn = class {
3340
3341
  constructor(hostRef) {
3341
- index.registerInstance(this, hostRef);
3342
- stencilHooks_module.h$1(this);
3342
+ index$1.registerInstance(this, hostRef);
3343
+ stencilHooks_module.h(this);
3343
3344
  }
3344
3345
  disconnectedCallback() { }
3345
3346
  async renderCell(data) {
3346
- return (index.h("sqm-invoice-table-download-cell", { downloadUrl: data.downloadUrl }));
3347
+ return (index$1.h("sqm-invoice-table-download-cell", { downloadUrl: data.downloadUrl }));
3347
3348
  }
3348
3349
  async renderLabel() {
3349
- return index.h("span", null);
3350
+ return index$1.h("span", null);
3350
3351
  }
3351
3352
  render() {
3352
- return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3353
+ return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3353
3354
  }
3354
3355
  };
3355
3356
 
3356
- const PayPalIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17", height: "20", viewBox: "0 0 17 20", fill: "none" },
3357
- index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.20649 4.55454H12.7877C15.7842 4.55454 16.9137 6.08577 16.7343 8.34231C16.4486 12.0629 14.2228 14.118 11.2728 14.118H9.78446C9.37916 14.118 9.10675 14.3866 9.00044 15.1254L8.36923 19.39C8.32937 19.6653 8.1832 19.8265 7.97058 19.8467H4.46242C4.13021 19.8467 4.01725 19.5915 4.10363 19.0408L6.23643 5.36045C6.32281 4.81646 6.61515 4.55454 7.20649 4.55454Z", fill: "#009EE3" }),
3358
- index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3359
- index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3357
+ const PayPalIcon = () => (index$1.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17", height: "20", viewBox: "0 0 17 20", fill: "none" },
3358
+ index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.20649 4.55454H12.7877C15.7842 4.55454 16.9137 6.08577 16.7343 8.34231C16.4486 12.0629 14.2228 14.118 11.2728 14.118H9.78446C9.37916 14.118 9.10675 14.3866 9.00044 15.1254L8.36923 19.39C8.32937 19.6653 8.1832 19.8265 7.97058 19.8467H4.46242C4.13021 19.8467 4.01725 19.5915 4.10363 19.0408L6.23643 5.36045C6.32281 4.81646 6.61515 4.55454 7.20649 4.55454Z", fill: "#009EE3" }),
3359
+ index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3360
+ index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3360
3361
 
3361
3362
  const style$4 = {
3362
3363
  CardContainer: {
@@ -3497,12 +3498,12 @@ function PayoutDetailsCardView(props) {
3497
3498
  const { classes } = sheet;
3498
3499
  const { states, text } = props;
3499
3500
  const renderLoadingSkeleton = () => {
3500
- return (index.h("div", { class: classes.CardContainer },
3501
- index.h("div", { class: classes.StatusContainer },
3502
- index.h("sl-skeleton", { class: classes.SkeletonOne }),
3503
- index.h("sl-skeleton", { class: classes.SkeletonTwo })),
3504
- index.h("sl-skeleton", { class: classes.SkeletonThree }),
3505
- index.h("sl-skeleton", { class: classes.SkeletonOne })));
3501
+ return (index$1.h("div", { class: classes.CardContainer },
3502
+ index$1.h("div", { class: classes.StatusContainer },
3503
+ index$1.h("sl-skeleton", { class: classes.SkeletonOne }),
3504
+ index$1.h("sl-skeleton", { class: classes.SkeletonTwo })),
3505
+ index$1.h("sl-skeleton", { class: classes.SkeletonThree }),
3506
+ index$1.h("sl-skeleton", { class: classes.SkeletonOne })));
3506
3507
  };
3507
3508
  const renderStatusBadge = (status, statusBadgeText) => {
3508
3509
  const badgeType = status === "nextPayout" ? "success" : "primary";
@@ -3512,7 +3513,7 @@ function PayoutDetailsCardView(props) {
3512
3513
  }, {
3513
3514
  badgeText: status,
3514
3515
  });
3515
- return (index.h("sl-badge", { pill: true, type: badgeType }, statusText));
3516
+ return (index$1.h("sl-badge", { pill: true, type: badgeType }, statusText));
3516
3517
  };
3517
3518
  const thresholdText = global.intl.formatMessage({
3518
3519
  id: "thresholdText",
@@ -3520,16 +3521,16 @@ function PayoutDetailsCardView(props) {
3520
3521
  }, {
3521
3522
  thresholdBalance: states.thresholdBalance,
3522
3523
  });
3523
- return (index.h("div", { class: classes.Container },
3524
- index.h("style", { type: "text/css" }, styleString),
3525
- states.error && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", class: classes.Alert, type: "warning", open: true },
3526
- index.h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
3527
- index.h("div", { class: classes.AlertContent },
3528
- index.h("b", null, text.error.errorTitleText),
3524
+ return (index$1.h("div", { class: classes.Container },
3525
+ index$1.h("style", { type: "text/css" }, styleString),
3526
+ states.error && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", class: classes.Alert, type: "warning", open: true },
3527
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
3528
+ index$1.h("div", { class: classes.AlertContent },
3529
+ index$1.h("b", null, text.error.errorTitleText),
3529
3530
  text.error.errorDescriptionText))),
3530
- states.loading ? (renderLoadingSkeleton()) : (index.h("div", { class: classes.CardContainer },
3531
- index.h("div", { class: classes.StatusContainer },
3532
- index.h("p", { class: classes.SubduedRegularText }, states.badgeStatus === "thresholdPayout"
3531
+ states.loading ? (renderLoadingSkeleton()) : (index$1.h("div", { class: classes.CardContainer },
3532
+ index$1.h("div", { class: classes.StatusContainer },
3533
+ index$1.h("p", { class: classes.SubduedRegularText }, states.badgeStatus === "thresholdPayout"
3533
3534
  ? states.thresholdBalance
3534
3535
  ? thresholdText
3535
3536
  : ""
@@ -3537,18 +3538,18 @@ function PayoutDetailsCardView(props) {
3537
3538
  states.badgeStatus === "thresholdPayout"
3538
3539
  ? null
3539
3540
  : renderStatusBadge(states.badgeStatus, text.statusBadgeText)),
3540
- index.h("h1", { class: classes.MainCurrency }, states.balance),
3541
- states.payoutType === "PAYPAL" ? (index.h("div", { class: classes.PaypalDetailsContainer },
3542
- index.h("span", { class: classes.PaypalEmail }, states.paypalEmailAddress),
3543
- index.h(PayPalIcon, null))) : (index.h("div", { class: classes.AccountDetailsContainer },
3544
- index.h("span", null, states.cardNumberPreview
3541
+ index$1.h("h1", { class: classes.MainCurrency }, states.balance),
3542
+ states.payoutType === "PAYPAL" ? (index$1.h("div", { class: classes.PaypalDetailsContainer },
3543
+ index$1.h("span", { class: classes.PaypalEmail }, states.paypalEmailAddress),
3544
+ index$1.h(PayPalIcon, null))) : (index$1.h("div", { class: classes.AccountDetailsContainer },
3545
+ index$1.h("span", null, states.cardNumberPreview
3545
3546
  ? `${text.accountText} ${states.cardNumberPreview}`
3546
3547
  : text.payoutMissingInformationText)))))));
3547
3548
  }
3548
3549
 
3549
3550
  function usePayoutDetailsCard(props) {
3550
3551
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
3551
- const { data, loading } = index_module.Mn(USER_QUERY_NAMESPACE);
3552
+ const { data, loading } = index_module.qn(USER_QUERY_NAMESPACE);
3552
3553
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3553
3554
  function getPayoutDetailedStatusText(paymentDay) {
3554
3555
  var _a;
@@ -3606,7 +3607,7 @@ function usePayoutDetailsCard(props) {
3606
3607
 
3607
3608
  const PayoutDetailsCard = class {
3608
3609
  constructor(hostRef) {
3609
- index.registerInstance(this, hostRef);
3610
+ index$1.registerInstance(this, hostRef);
3610
3611
  /**
3611
3612
  * Badge text indicating payout status
3612
3613
  * @uiName Payout badge status text
@@ -3637,7 +3638,7 @@ const PayoutDetailsCard = class {
3637
3638
  * @uiName Payout missing information subtext
3638
3639
  */
3639
3640
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
3640
- stencilHooks_module.h$1(this);
3641
+ stencilHooks_module.h(this);
3641
3642
  }
3642
3643
  disconnectedCallback() { }
3643
3644
  getTextProps() {
@@ -3654,7 +3655,7 @@ const PayoutDetailsCard = class {
3654
3655
  const props = index_module.isDemo()
3655
3656
  ? useDemoPayoutDetailsCard(this)
3656
3657
  : usePayoutDetailsCard(this);
3657
- return (index.h(index.Host, null, index.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
3658
+ return (index$1.h(index$1.Host, null, index$1.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
3658
3659
  }
3659
3660
  };
3660
3661
  function useDemoPayoutDetailsCard(props) {
@@ -3680,27 +3681,27 @@ function useDemoPayoutDetailsCard(props) {
3680
3681
 
3681
3682
  const TableCell = class {
3682
3683
  constructor(hostRef) {
3683
- index.registerInstance(this, hostRef);
3684
+ index$1.registerInstance(this, hostRef);
3684
3685
  /** @uiName Column span */
3685
3686
  this.colspan = 1;
3686
3687
  /** @uiName Padding */
3687
3688
  this.padding = "15px 10px";
3688
3689
  }
3689
3690
  render() {
3690
- return (index.h(index.Host, { style: { display: "contents" } }, index.h("td", { colSpan: this.colspan, style: { padding: this.padding } }, index.h("slot", null))));
3691
+ return (index$1.h(index$1.Host, { style: { display: "contents" } }, index$1.h("td", { colSpan: this.colspan, style: { padding: this.padding } }, index$1.h("slot", null))));
3691
3692
  }
3692
3693
  };
3693
3694
 
3694
3695
  const TableRow = class {
3695
3696
  constructor(hostRef) {
3696
- index.registerInstance(this, hostRef);
3697
+ index$1.registerInstance(this, hostRef);
3697
3698
  /**
3698
3699
  * @uiName Border
3699
3700
  */
3700
3701
  this.border = "1px solid #EAEAEA";
3701
3702
  }
3702
3703
  render() {
3703
- return (index.h(index.Host, { style: { display: "contents" } }, index.h("tr", { style: { border: this.border } }, index.h("slot", null))));
3704
+ return (index$1.h(index$1.Host, { style: { display: "contents" } }, index$1.h("tr", { style: { border: this.border } }, index$1.h("slot", null))));
3704
3705
  }
3705
3706
  };
3706
3707
 
@@ -3737,21 +3738,21 @@ function getCurrentStep(user) {
3737
3738
  }
3738
3739
  function useTaxAndCash() {
3739
3740
  var _a, _b, _c, _d, _e;
3740
- const host = index_module._();
3741
- const user = index_module.Q();
3742
- const locale = index_module.L();
3741
+ const host = index_module.T();
3742
+ const user = index_module.K();
3743
+ const locale = index_module.Q();
3743
3744
  // State for current step of form
3744
- const [step, setStep] = index_module.Cn({
3745
+ const [step, setStep] = index_module.Fn({
3745
3746
  namespace: TAX_CONTEXT_NAMESPACE,
3746
3747
  initialValue: "/loading",
3747
3748
  });
3748
3749
  // State for when to hide steps, or override certain actions
3749
- const [context, _setContext] = index_module.Cn({
3750
+ const [context, _setContext] = index_module.Fn({
3750
3751
  namespace: TAX_FORM_CONTEXT_NAMESPACE,
3751
3752
  initialValue: {},
3752
3753
  });
3753
3754
  // State to carry user form information into step 2
3754
- const [userFormContext, _setUserFormContext] = index_module.Cn({
3755
+ const [userFormContext, _setUserFormContext] = index_module.Fn({
3755
3756
  namespace: USER_FORM_CONTEXT_NAMESPACE,
3756
3757
  initialValue: {
3757
3758
  firstName: undefined,
@@ -3761,19 +3762,19 @@ function useTaxAndCash() {
3761
3762
  currency: undefined,
3762
3763
  },
3763
3764
  });
3764
- const [_currenciesContext, setCurrenciesContext] = index_module.Cn({
3765
+ const [_currenciesContext, setCurrenciesContext] = index_module.Fn({
3765
3766
  namespace: CURRENCIES_NAMESPACE,
3766
3767
  initialValue: [],
3767
3768
  });
3768
- const [_countriesContext, _setCountriesContext] = index_module.Cn({
3769
+ const [_countriesContext, _setCountriesContext] = index_module.Fn({
3769
3770
  namespace: COUNTRIES_NAMESPACE,
3770
3771
  initialValue: [],
3771
3772
  });
3772
- const [_sortedCountriesContext, setSortedCountriesContext] = index_module.Cn({
3773
+ const [_sortedCountriesContext, setSortedCountriesContext] = index_module.Fn({
3773
3774
  namespace: SORTED_COUNTRIES_NAMESPACE,
3774
3775
  initialValue: [],
3775
3776
  });
3776
- const { data, errors } = index_module.Fn({
3777
+ const { data, errors } = index_module.An({
3777
3778
  namespace: USER_QUERY_NAMESPACE,
3778
3779
  query: GET_USER,
3779
3780
  skip: !user,
@@ -3783,12 +3784,12 @@ function useTaxAndCash() {
3783
3784
  });
3784
3785
  const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
3785
3786
  userFormContext.countryCode;
3786
- index_module.Fn({
3787
+ index_module.An({
3787
3788
  namespace: COUNTRIES_QUERY_NAMESPACE,
3788
3789
  query: GET_COUNTRIES,
3789
3790
  skip: !user,
3790
3791
  });
3791
- const { data: financeNetworkData, refetch } = index_module.Fn({
3792
+ const { data: financeNetworkData, refetch } = index_module.An({
3792
3793
  namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
3793
3794
  query: GET_FINANCE_NETWORK_SETTINGS,
3794
3795
  skip: !user,
@@ -3796,7 +3797,7 @@ function useTaxAndCash() {
3796
3797
  filter: getFinanceNetworkFilter(),
3797
3798
  },
3798
3799
  });
3799
- const { data: currenciesData } = index_module.Fn({
3800
+ const { data: currenciesData } = index_module.An({
3800
3801
  namespace: CURRENCIES_QUERY_NAMESPACE,
3801
3802
  query: GET_CURRENCIES,
3802
3803
  skip: !user,
@@ -3877,14 +3878,14 @@ function useTaxAndCash() {
3877
3878
  step,
3878
3879
  setStep,
3879
3880
  context,
3880
- namespace: index_module.Pn(TAX_CONTEXT_NAMESPACE),
3881
+ namespace: index_module.$n(TAX_CONTEXT_NAMESPACE),
3881
3882
  loading: step === "/loading",
3882
3883
  };
3883
3884
  }
3884
3885
 
3885
3886
  const TaxAndCashMonolith = class {
3886
3887
  constructor(hostRef) {
3887
- index.registerInstance(this, hostRef);
3888
+ index$1.registerInstance(this, hostRef);
3888
3889
  /*---------------------------------------------------------------------------------
3889
3890
  !IMPORTANT!: Make sure to also change the prop names in the respective component
3890
3891
  -----------------------------------------------------------------------------------*/
@@ -4763,7 +4764,7 @@ const TaxAndCashMonolith = class {
4763
4764
  * @uiGroup General Form Properties
4764
4765
  */
4765
4766
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
4766
- stencilHooks_module.h$1(this);
4767
+ stencilHooks_module.h(this);
4767
4768
  }
4768
4769
  disconnectedCallback() { }
4769
4770
  // this field is required prop
@@ -4794,31 +4795,31 @@ const TaxAndCashMonolith = class {
4794
4795
  // @ts-ignore
4795
4796
  if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
4796
4797
  const textProps = utils.getProps(this);
4797
- return (index.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
4798
+ return (index$1.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
4798
4799
  if (prop === "demoData")
4799
4800
  return;
4800
- return (index.h("div", null, index.h("b", null, prop, ":"), " ", this[prop], index.h("hr", null)));
4801
+ return (index$1.h("div", null, index$1.h("b", null, prop, ":"), " ", this[prop], index$1.h("hr", null)));
4801
4802
  })));
4802
4803
  }
4803
4804
  switch (props.step) {
4804
4805
  case "/1":
4805
- return (index.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
4806
+ return (index$1.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
4806
4807
  case "/2":
4807
- return (index.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
4808
+ return (index$1.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
4808
4809
  case "/3":
4809
- return (index.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
4810
+ return (index$1.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
4810
4811
  case "/4":
4811
- return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
4812
+ return (index$1.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
4812
4813
  case "/dashboard":
4813
- return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
4814
+ return (index$1.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
4814
4815
  case "/error":
4815
- return (index.h(sqmInvoiceTableView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
4816
+ return (index$1.h(sqmInvoiceTableView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
4816
4817
  }
4817
- return index.h(sqmInvoiceTableView.LoadingView, null);
4818
+ return index$1.h(sqmInvoiceTableView.LoadingView, null);
4818
4819
  }
4819
4820
  };
4820
4821
  function useDemoTaxAndCash(props) {
4821
- const [step, setStep] = index_module.Cn({
4822
+ const [step, setStep] = index_module.Fn({
4822
4823
  namespace: TAX_CONTEXT_NAMESPACE,
4823
4824
  initialValue: "/1",
4824
4825
  });
@@ -4989,17 +4990,17 @@ const TaxAndCashDashboardView = (props) => {
4989
4990
  var _a;
4990
4991
  const { states, text, callbacks, slots } = props;
4991
4992
  const statusMap = {
4992
- NOT_VERIFIED: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4993
- index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4994
- index.h("p", null, global.intl.formatMessage({
4993
+ NOT_VERIFIED: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
4994
+ index$1.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
4995
+ index$1.h("p", null, global.intl.formatMessage({
4995
4996
  id: `badgeTextAwaitingReview`,
4996
4997
  defaultMessage: text.badgeTextAwaitingReview,
4997
4998
  }, {
4998
4999
  dateSubmitted: states.dateSubmitted,
4999
5000
  })))),
5000
- ACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5001
- index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
5002
- index.h("p", null, global.intl.formatMessage({
5001
+ ACTIVE: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5002
+ index$1.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
5003
+ index$1.h("p", null, global.intl.formatMessage({
5003
5004
  id: `badgeTextSubmittedOn`,
5004
5005
  defaultMessage: states.documentType === "W9"
5005
5006
  ? text.badgeTextSubmittedOn
@@ -5007,14 +5008,14 @@ const TaxAndCashDashboardView = (props) => {
5007
5008
  }, {
5008
5009
  dateSubmitted: states.dateSubmitted,
5009
5010
  })))),
5010
- INACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5011
- index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
5012
- index.h("p", null, text.invalidForm))),
5011
+ INACTIVE: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5012
+ index$1.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
5013
+ index$1.h("p", null, text.invalidForm))),
5013
5014
  };
5014
5015
  const alertMap = {
5015
- INACTIVE: (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5016
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5017
- index.h("strong", null, global.intl.formatMessage({
5016
+ INACTIVE: (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5017
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5018
+ index$1.h("strong", null, global.intl.formatMessage({
5018
5019
  id: `taxAlertHeaderNotActive`,
5019
5020
  defaultMessage: states.documentType === "W9"
5020
5021
  ? text.taxAlertHeaderNotActiveW9
@@ -5022,7 +5023,7 @@ const TaxAndCashDashboardView = (props) => {
5022
5023
  }, {
5023
5024
  documentType: states.documentTypeString,
5024
5025
  })),
5025
- index.h("br", null),
5026
+ index$1.h("br", null),
5026
5027
  global.intl.formatMessage({
5027
5028
  id: `taxAlertMessage`,
5028
5029
  defaultMessage: states.documentType === "W9"
@@ -5060,66 +5061,66 @@ const TaxAndCashDashboardView = (props) => {
5060
5061
  });
5061
5062
  }
5062
5063
  };
5063
- return (index.h("div", null,
5064
- index.h("div", null,
5065
- index.h("style", { type: "text/css" }, styleString$4),
5066
- states.loadingError && (index.h("div", null,
5067
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5068
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5069
- index.h("strong", null, text.error.loadingErrorAlertHeader),
5070
- index.h("br", null),
5064
+ return (index$1.h("div", null,
5065
+ index$1.h("div", null,
5066
+ index$1.h("style", { type: "text/css" }, styleString$4),
5067
+ states.loadingError && (index$1.h("div", null,
5068
+ index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5069
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5070
+ index$1.h("strong", null, text.error.loadingErrorAlertHeader),
5071
+ index$1.h("br", null),
5071
5072
  text.error.loadingErrorAlertDescription))),
5072
- ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5073
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5074
- index.h("strong", null, text.error.generalTitle),
5075
- index.h("br", null),
5073
+ ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5074
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5075
+ index$1.h("strong", null, text.error.generalTitle),
5076
+ index$1.h("br", null),
5076
5077
  text.error.generalDescription)),
5077
- index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5078
- index.h("p", null, text.replaceTaxFormModalBodyText),
5079
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5080
- index.h("sl-button", { slot: "footer", type: "default", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5078
+ index$1.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5079
+ index$1.h("p", null, text.replaceTaxFormModalBodyText),
5080
+ index$1.h("sl-button", { slot: "footer", type: "primary", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5081
+ index$1.h("sl-button", { slot: "footer", type: "default", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5081
5082
  states.status === "INACTIVE" && alertMap[states.status],
5082
- index.h("div", null,
5083
- index.h("h3", null, text.bankingInformationSectionHeader),
5084
- index.h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5085
- index.h("div", { class: sheet$4.classes.BankingInformationContainer },
5083
+ index$1.h("div", null,
5084
+ index$1.h("h3", null, text.bankingInformationSectionHeader),
5085
+ index$1.h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5086
+ index$1.h("div", { class: sheet$4.classes.BankingInformationContainer },
5086
5087
  slots.payoutDetailsCardSlot,
5087
- !states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
5088
- states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5089
- index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
5090
- index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5091
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5092
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null, states.noFormNeeded ? (index.h("div", null,
5093
- index.h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
5094
- index.h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index.h("div", null,
5095
- index.h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
5096
- index.h("div", { class: sheet$4.classes.StatusContainer },
5097
- index.h("h3", null, global.intl.formatMessage({
5088
+ !states.loading && (index$1.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
5089
+ states.canEditPayoutInfo && (index$1.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5090
+ index$1.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
5091
+ index$1.h("div", null, states.loading ? (index$1.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5092
+ index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5093
+ index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index$1.h("div", null, states.noFormNeeded ? (index$1.h("div", null,
5094
+ index$1.h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
5095
+ index$1.h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index$1.h("div", null,
5096
+ index$1.h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
5097
+ index$1.h("div", { class: sheet$4.classes.StatusContainer },
5098
+ index$1.h("h3", null, global.intl.formatMessage({
5098
5099
  id: "section-subheader",
5099
5100
  defaultMessage: text.taxDocumentSectionSubHeader,
5100
5101
  }, {
5101
5102
  documentType: states.documentTypeString,
5102
5103
  })),
5103
- index.h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
5104
- index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton))))))),
5105
- index.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5106
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5107
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null,
5108
- index.h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
5104
+ index$1.h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
5105
+ index$1.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton))))))),
5106
+ index$1.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index$1.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5107
+ index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5108
+ index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index$1.h("div", null,
5109
+ index$1.h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
5109
5110
  text.indirectTaxInfoSectionHeader,
5110
- index.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
5111
- index.h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
5112
- index.h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
5113
- index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, text.notRegisteredForTax)) : (getIndirectTaxRegisteredIn())),
5114
- !states.notRegistered && (index.h("div", { class: sheet$4.classes.TaxNumberContainer },
5115
- index.h("span", null, global.intl.formatMessage({
5111
+ index$1.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
5112
+ index$1.h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
5113
+ index$1.h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
5114
+ index$1.h("span", null, states.notRegistered ? (index$1.h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, text.notRegisteredForTax)) : (getIndirectTaxRegisteredIn())),
5115
+ !states.notRegistered && (index$1.h("div", { class: sheet$4.classes.TaxNumberContainer },
5116
+ index$1.h("span", null, global.intl.formatMessage({
5116
5117
  id: `indirectTaxDetails`,
5117
5118
  defaultMessage: text.indirectTaxDetails,
5118
5119
  }, {
5119
5120
  indirectTaxType: states.indirectTaxType,
5120
5121
  indirectTaxNumber: states.indirectTaxNumber,
5121
5122
  })),
5122
- index.h("span", null,
5123
+ index$1.h("span", null,
5123
5124
  states.qstNumber &&
5124
5125
  global.intl.formatMessage({
5125
5126
  id: `qstNumber`,
@@ -5134,14 +5135,14 @@ const TaxAndCashDashboardView = (props) => {
5134
5135
  }, {
5135
5136
  subRegionTaxNumber: states.subRegionTaxNumber,
5136
5137
  })))),
5137
- !states.notRegistered && (index.h("div", { class: sheet$4.classes.InvoiceTableContainer },
5138
- index.h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
5139
- index.h("sqm-invoice-table-download-column", null),
5140
- index.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
5141
- index.h("sqm-invoice-table-data-column", { "column-title": text.invoiceColumnTitle, property: "invoiceId" }),
5142
- index.h("sqm-invoice-table-data-column", { "column-title": text.earningsColumnTitle, property: "earnings" }),
5143
- index.h("sqm-invoice-table-data-column", { "column-title": text.indirectTaxColumnTitle, property: "indirectTax" }),
5144
- index.h("sqm-invoice-table-data-column", { "column-title": text.earningsAfterTaxColumnTitle, property: "netEarnings" })))))))))));
5138
+ !states.notRegistered && (index$1.h("div", { class: sheet$4.classes.InvoiceTableContainer },
5139
+ index$1.h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
5140
+ index$1.h("sqm-invoice-table-download-column", null),
5141
+ index$1.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
5142
+ index$1.h("sqm-invoice-table-data-column", { "column-title": text.invoiceColumnTitle, property: "invoiceId" }),
5143
+ index$1.h("sqm-invoice-table-data-column", { "column-title": text.earningsColumnTitle, property: "earnings" }),
5144
+ index$1.h("sqm-invoice-table-data-column", { "column-title": text.indirectTaxColumnTitle, property: "indirectTax" }),
5145
+ index$1.h("sqm-invoice-table-data-column", { "column-title": text.earningsAfterTaxColumnTitle, property: "netEarnings" })))))))))));
5145
5146
  };
5146
5147
 
5147
5148
  function getCountryName(countryCode, locale) {
@@ -5180,15 +5181,15 @@ function getIndirectTaxType(taxInformation) {
5180
5181
  }
5181
5182
  const useTaxAndCashDashboard = (props) => {
5182
5183
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
5183
- const setStep = index_module.wn(TAX_CONTEXT_NAMESPACE);
5184
- const setContext = index_module.wn(TAX_FORM_CONTEXT_NAMESPACE);
5184
+ const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
5185
+ const setContext = index_module.Sn(TAX_FORM_CONTEXT_NAMESPACE);
5185
5186
  const [showDialog, setShowDialog] = stencilHooks_module.useState(false);
5186
- const locale = index_module.L();
5187
+ const locale = index_module.Q();
5187
5188
  stencilHooks_module.useEffect(() => {
5188
5189
  // Clear override context once on submitted
5189
5190
  setContext({});
5190
5191
  }, []);
5191
- const { data, loading, errors: userError, } = index_module.Mn(USER_QUERY_NAMESPACE);
5192
+ const { data, loading, errors: userError, } = index_module.qn(USER_QUERY_NAMESPACE);
5192
5193
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
5193
5194
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
5194
5195
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
@@ -5247,7 +5248,7 @@ const useTaxAndCashDashboard = (props) => {
5247
5248
 
5248
5249
  const TaxAndCashDashboard = class {
5249
5250
  constructor(hostRef) {
5250
- index.registerInstance(this, hostRef);
5251
+ index$1.registerInstance(this, hostRef);
5251
5252
  /**
5252
5253
  * @uiName Active tax form badge label
5253
5254
  */
@@ -5507,7 +5508,7 @@ const TaxAndCashDashboard = class {
5507
5508
  * @uiName Cancel button label
5508
5509
  */
5509
5510
  this.cancelButton = "Cancel";
5510
- stencilHooks_module.h$1(this);
5511
+ stencilHooks_module.h(this);
5511
5512
  }
5512
5513
  disconnectedCallback() { }
5513
5514
  getTextProps() {
@@ -5526,8 +5527,8 @@ const TaxAndCashDashboard = class {
5526
5527
  const props = index_module.isDemo()
5527
5528
  ? useDemoTaxAndCashDashboard(this)
5528
5529
  : useTaxAndCashDashboard(this);
5529
- return (index.h(index.Host, null, index.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
5530
- payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
5530
+ return (index$1.h(index$1.Host, null, index$1.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
5531
+ payoutDetailsCardSlot: (index$1.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
5531
5532
  } })));
5532
5533
  }
5533
5534
  };
@@ -6641,7 +6642,7 @@ const UserInfoFormView = (props) => {
6641
6642
  id: "bankingCollectionText",
6642
6643
  defaultMessage: text.allowBankingCollection,
6643
6644
  }, {
6644
- termsAndConditionsLink: (index.h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
6645
+ termsAndConditionsLink: (index$1.h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
6645
6646
  });
6646
6647
  let regionLabel = undefined;
6647
6648
  switch (data.regionLabelEnum) {
@@ -6657,68 +6658,68 @@ const UserInfoFormView = (props) => {
6657
6658
  default:
6658
6659
  regionLabel = text.state;
6659
6660
  }
6660
- return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
6661
- index.h("style", { type: "text/css" },
6661
+ return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
6662
+ index$1.h("style", { type: "text/css" },
6662
6663
  styleString$5,
6663
6664
  vanillaStyle$3),
6664
- states.loadingError && (index.h("div", null,
6665
- index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.AlertContainer },
6666
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6667
- index.h("strong", null, text.error.loadingErrorAlertHeader),
6668
- index.h("br", null),
6665
+ states.loadingError && (index$1.h("div", null,
6666
+ index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.AlertContainer },
6667
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6668
+ index$1.h("strong", null, text.error.loadingErrorAlertHeader),
6669
+ index$1.h("br", null),
6669
6670
  text.error.loadingErrorAlertDescription),
6670
- index.h("br", null))),
6671
- states.loading ? (index.h(sqmInvoiceTableView.GeneralLoadingView, null)) : (index.h("div", null,
6672
- index.h("div", { class: classes.TextContainer },
6673
- index.h("div", null,
6674
- !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
6671
+ index$1.h("br", null))),
6672
+ states.loading ? (index$1.h(sqmInvoiceTableView.GeneralLoadingView, null)) : (index$1.h("div", null,
6673
+ index$1.h("div", { class: classes.TextContainer },
6674
+ index$1.h("div", null,
6675
+ !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
6675
6676
  id: "formStep",
6676
6677
  defaultMessage: text.formStep,
6677
6678
  }, { step: states.step, count: FORM_STEPS }))),
6678
- index.h("h3", null, text.personalInformation),
6679
- index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
6680
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$5.classes.AlertContainer },
6681
- index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6682
- index.h("strong", null, text.error.generalTitle),
6683
- index.h("br", null),
6679
+ index$1.h("h3", null, text.personalInformation),
6680
+ index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
6681
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$5.classes.AlertContainer },
6682
+ index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6683
+ index$1.h("strong", null, text.error.generalTitle),
6684
+ index$1.h("br", null),
6684
6685
  text.error.generalDescription)),
6685
- (states.isPartner || states.isUser) && (index.h("sl-alert", { type: "primary", open: true, class: sheet$5.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
6686
- index.h("sl-icon", { slot: "icon", name: "info-circle" }),
6687
- index.h("strong", null, text.isPartnerAlertHeader),
6688
- index.h("br", null),
6686
+ (states.isPartner || states.isUser) && (index$1.h("sl-alert", { type: "primary", open: true, class: sheet$5.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
6687
+ index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
6688
+ index$1.h("strong", null, text.isPartnerAlertHeader),
6689
+ index$1.h("br", null),
6689
6690
  text.isPartnerAlertDescription)),
6690
- index.h("div", null,
6691
- index.h("div", { class: classes.InputContainer },
6692
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
6691
+ index$1.h("div", null,
6692
+ index$1.h("div", { class: classes.InputContainer },
6693
+ index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
6693
6694
  class: classes.ErrorInput,
6694
6695
  helpText: sqmInvoiceTableView.formatErrorMessage(text.firstName, formState.errors.firstName),
6695
6696
  }
6696
6697
  : {}), { id: "firstName", name: "/firstName", required: true })),
6697
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
6698
+ index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
6698
6699
  class: classes.ErrorInput,
6699
6700
  helpText: sqmInvoiceTableView.formatErrorMessage(text.lastName, formState.errors.lastName),
6700
6701
  }
6701
6702
  : {}), { id: "lastName", name: "/lastName", required: true })),
6702
- index.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
6703
- index.h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
6703
+ index$1.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
6704
+ index$1.h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
6704
6705
  class: classes.ErrorInput,
6705
6706
  helpText: sqmInvoiceTableView.formatErrorMessage(text.country, formState.errors.countryCode),
6706
6707
  }
6707
6708
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("countryCode", e) }),
6708
- index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6709
+ index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6709
6710
  // Stop shoelace intercepting key presses
6710
6711
  e.stopPropagation();
6711
6712
  }, "onSl-input": (e) => {
6712
6713
  callbacks.setCountrySearch(e.target.value);
6713
6714
  } }), (_e = data === null || data === void 0 ? void 0 : data.countries) === null || _e === void 0 ? void 0 :
6714
- _e.map((c) => (index.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data === null || data === void 0 ? void 0 : data.allCountries) === null || _f === void 0 ? void 0 :
6715
- _f.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
6716
- index.h("div", { style: { display: "flex", gap: "4px", alignItems: "flex-end" } },
6717
- index.h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", label: text.phoneNumber, style: { minWidth: "120px" }, value: formState.phoneNumberCountryCode, disabled: states.disabled || states.isPartner, ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
6715
+ _e.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data === null || data === void 0 ? void 0 : data.allCountries) === null || _f === void 0 ? void 0 :
6716
+ _f.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
6717
+ index$1.h("div", { style: { display: "flex", gap: "4px", alignItems: "flex-end" } },
6718
+ index$1.h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", label: text.phoneNumber, style: { minWidth: "120px" }, value: formState.phoneNumberCountryCode, disabled: states.disabled || states.isPartner, ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
6718
6719
  class: classes.ErrorInput,
6719
6720
  }
6720
6721
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
6721
- index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6722
+ index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6722
6723
  // Stop shoelace intercepting key presses
6723
6724
  e.stopPropagation();
6724
6725
  }, "onSl-input": (e) => {
@@ -6726,17 +6727,17 @@ const UserInfoFormView = (props) => {
6726
6727
  } }), (_h = data === null || data === void 0 ? void 0 : data.phoneCountries) === null || _h === void 0 ? void 0 :
6727
6728
  _h.map((c) => {
6728
6729
  var _a, _b;
6729
- return (index.h("sl-menu-item", { style: { width: "500px" }, value: c.countryCode },
6730
- index.h("div", { slot: "prefix", style: { marginRight: "8px" } }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6730
+ return (index$1.h("sl-menu-item", { style: { width: "500px" }, value: c.countryCode },
6731
+ index$1.h("div", { slot: "prefix", style: { marginRight: "8px" } }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6731
6732
  _b.dial_code));
6732
6733
  }), (_j = data === null || data === void 0 ? void 0 : data.allCountries) === null || _j === void 0 ? void 0 :
6733
6734
  _j.map((c) => {
6734
6735
  var _a, _b;
6735
- return (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
6736
- index.h("div", { slot: "prefix", style: { marginRight: "8px" } }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6736
+ return (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
6737
+ index$1.h("div", { slot: "prefix", style: { marginRight: "8px" } }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6737
6738
  _b.dial_code));
6738
6739
  })),
6739
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: " ", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, style: { marginTop: "2px", width: "362px" }, validationError: ({ value }) =>
6740
+ index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: " ", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, style: { marginTop: "2px", width: "362px" }, validationError: ({ value }) =>
6740
6741
  // Naive phone number validation
6741
6742
  sqmInvoiceTableView.validateBillingField(/[a-zA-Z]+/, value) &&
6742
6743
  sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError), disabled: states.disabled || states.isPartner }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
@@ -6744,7 +6745,7 @@ const UserInfoFormView = (props) => {
6744
6745
  helpText: sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
6745
6746
  }
6746
6747
  : {}), { required: true }))),
6747
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
6748
+ index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
6748
6749
  // Checks for non-ASCII characters
6749
6750
  !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
6750
6751
  sqmInvoiceTableView.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
@@ -6752,7 +6753,7 @@ const UserInfoFormView = (props) => {
6752
6753
  helpText: sqmInvoiceTableView.formatErrorMessage(text.address, formState.errors.address),
6753
6754
  }
6754
6755
  : {}), { required: true })),
6755
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
6756
+ index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
6756
6757
  // Checks for non-ASCII characters
6757
6758
  !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
6758
6759
  sqmInvoiceTableView.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
@@ -6760,41 +6761,41 @@ const UserInfoFormView = (props) => {
6760
6761
  helpText: sqmInvoiceTableView.formatErrorMessage(text.city, formState.errors.city),
6761
6762
  }
6762
6763
  : {}), { required: true })),
6763
- !states.hideState && (index.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
6764
+ !states.hideState && (index$1.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
6764
6765
  class: classes.ErrorInput,
6765
6766
  helpText: sqmInvoiceTableView.formatErrorMessage(text.state, formState.errors.state),
6766
6767
  }
6767
- : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index.h("sl-menu-item", { value: r.value }, r.label))))),
6768
- index.h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
6768
+ : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index$1.h("sl-menu-item", { value: r.value }, r.label))))),
6769
+ index$1.h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
6769
6770
  class: classes.ErrorInput,
6770
6771
  helpText: sqmInvoiceTableView.formatErrorMessage(text.postalCode, formState.errors.postalCode),
6771
6772
  }
6772
6773
  : {}), { required: true })),
6773
- index.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
6774
+ index$1.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
6774
6775
  class: classes.ErrorInput,
6775
6776
  helpText: sqmInvoiceTableView.formatErrorMessage(text.currency, formState.errors.currency),
6776
6777
  }
6777
6778
  : {}), { required: true, ref: (el) => (refs.currencyRef.current = el) }),
6778
- index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCurrencyText, onKeyDown: (e) => {
6779
+ index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCurrencyText, onKeyDown: (e) => {
6779
6780
  // Stop shoelace intercepting key presses
6780
6781
  e.stopPropagation();
6781
6782
  }, "onSl-input": (e) => {
6782
6783
  callbacks.setCurrencySearch(e.target.value);
6783
6784
  } }), (_s = data === null || data === void 0 ? void 0 : data.currencies) === null || _s === void 0 ? void 0 :
6784
- _s.map((c) => (index.h("sl-menu-item", { value: c.currencyCode },
6785
+ _s.map((c) => (index$1.h("sl-menu-item", { value: c.currencyCode },
6785
6786
  c.currencyCode,
6786
6787
  " - ",
6787
6788
  c.displayName))), (_t = data === null || data === void 0 ? void 0 : data.allCurrencies) === null || _t === void 0 ? void 0 :
6788
- _t.map((c) => (index.h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
6789
+ _t.map((c) => (index$1.h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
6789
6790
  c.currencyCode,
6790
6791
  " - ",
6791
6792
  c.displayName)))),
6792
- index.h("div", { class: classes.CheckboxWrapper },
6793
- index.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6793
+ index$1.h("div", { class: classes.CheckboxWrapper },
6794
+ index$1.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6794
6795
  e.target.value = e.target.checked;
6795
6796
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
6796
- ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index.h("p", { class: classes.ErrorText }, sqmInvoiceTableView.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
6797
- index.h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
6797
+ ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index$1.h("p", { class: classes.ErrorText }, sqmInvoiceTableView.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
6798
+ index$1.h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
6798
6799
  };
6799
6800
 
6800
6801
  function useUserInfoForm(props) {
@@ -6802,12 +6803,12 @@ function useUserInfoForm(props) {
6802
6803
  const currencyRef = stencilHooks_module.useRef(undefined);
6803
6804
  const phoneCountryRef = stencilHooks_module.useRef(undefined);
6804
6805
  const formRef = stencilHooks_module.useRef(null);
6805
- const context = index_module.In(TAX_FORM_CONTEXT_NAMESPACE);
6806
- const countries = index_module.In(SORTED_COUNTRIES_NAMESPACE);
6807
- const [step, setStep] = index_module.bn(TAX_CONTEXT_NAMESPACE);
6808
- const [userFormContext, setUserFormContext] = index_module.bn(USER_FORM_CONTEXT_NAMESPACE);
6809
- const { data, loading, errors: userError, } = index_module.Mn(USER_QUERY_NAMESPACE);
6810
- const _currencies = index_module.In(CURRENCIES_NAMESPACE);
6806
+ const context = index_module.Dn(TAX_FORM_CONTEXT_NAMESPACE);
6807
+ const countries = index_module.Dn(SORTED_COUNTRIES_NAMESPACE);
6808
+ const [step, setStep] = index_module.Mn(TAX_CONTEXT_NAMESPACE);
6809
+ const [userFormContext, setUserFormContext] = index_module.Mn(USER_FORM_CONTEXT_NAMESPACE);
6810
+ const { data, loading, errors: userError, } = index_module.qn(USER_QUERY_NAMESPACE);
6811
+ const _currencies = index_module.Dn(CURRENCIES_NAMESPACE);
6811
6812
  const currencies = stencilHooks_module.useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
6812
6813
  const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
6813
6814
  const [phoneCountrySearch, setPhoneCountrySearch] = stencilHooks_module.useState("");
@@ -6991,7 +6992,7 @@ function useUserInfoForm(props) {
6991
6992
 
6992
6993
  const TaxForm = class {
6993
6994
  constructor(hostRef) {
6994
- index.registerInstance(this, hostRef);
6995
+ index$1.registerInstance(this, hostRef);
6995
6996
  this.ignored = true;
6996
6997
  /**
6997
6998
  * @uiName First name field label
@@ -7139,7 +7140,7 @@ const TaxForm = class {
7139
7140
  * @uiName Page description
7140
7141
  */
7141
7142
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
7142
- stencilHooks_module.h$1(this);
7143
+ stencilHooks_module.h(this);
7143
7144
  }
7144
7145
  disconnectedCallback() { }
7145
7146
  getTextProps() {
@@ -7159,7 +7160,7 @@ const TaxForm = class {
7159
7160
  }
7160
7161
  render() {
7161
7162
  const props = index_module.isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
7162
- return (index.h(index.Host, null, index.h(UserInfoFormView, { data: props.data,
7163
+ return (index$1.h(index$1.Host, null, index$1.h(UserInfoFormView, { data: props.data,
7163
7164
  // @ts-ignore
7164
7165
  states: props.states, callbacks: {
7165
7166
  ...props.callbacks,
@@ -7168,7 +7169,7 @@ const TaxForm = class {
7168
7169
  }
7169
7170
  };
7170
7171
  function useDemoUserInfoForm(props) {
7171
- const setStep = index_module.wn(TAX_CONTEXT_NAMESPACE);
7172
+ const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
7172
7173
  return cjs.cjs({
7173
7174
  setStep,
7174
7175
  onSubmit: () => {