@saasquatch/mint-components 2.0.0-65 → 2.0.0-67

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 (211) hide show
  1. package/dist/cjs/{ShadowViewAddon-23b04c91.js → ShadowViewAddon-cd5c186c.js} +2 -4
  2. package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
  3. package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
  4. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/mint-components.cjs.js +1 -1
  7. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +10 -14
  8. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1308 -11
  9. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  21. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  26. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -3
  28. package/dist/cjs/sqm-stencilbook.cjs.entry.js +12 -14
  29. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
  30. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
  31. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
  32. package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
  33. package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
  34. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
  35. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
  36. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  37. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
  38. package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
  39. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
  40. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
  41. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +9 -5
  42. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
  43. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -1
  44. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
  45. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
  46. package/dist/collection/components/views/copy-text-view.js +2 -8
  47. package/dist/collection/utils/utils.js +0 -1
  48. package/dist/esm/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-11ffa85d.js} +2 -4
  49. package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
  50. package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
  51. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  52. package/dist/esm/loader.js +1 -1
  53. package/dist/esm/mint-components.js +1 -1
  54. package/dist/esm/sqm-banking-info-form_10.entry.js +3 -7
  55. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1306 -10
  56. package/dist/esm/sqm-code-verification.entry.js +1 -1
  57. package/dist/esm/sqm-context-router.entry.js +1 -1
  58. package/dist/esm/sqm-email-verification.entry.js +1 -1
  59. package/dist/esm/sqm-empty_4.entry.js +1 -1
  60. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
  61. package/dist/esm/sqm-lead-checkbox-field.entry.js +1 -1
  62. package/dist/esm/sqm-lead-input-field.entry.js +1 -1
  63. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  64. package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
  65. package/dist/esm/sqm-pagination_3.entry.js +2 -2
  66. package/dist/esm/sqm-password-field.entry.js +1 -1
  67. package/dist/esm/sqm-popup-container.entry.js +1 -1
  68. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  69. package/dist/esm/sqm-portal-profile.entry.js +1 -1
  70. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  71. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  72. package/dist/esm/sqm-qr-code.entry.js +1 -1
  73. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  74. package/dist/esm/sqm-rewards-table_9.entry.js +2 -3
  75. package/dist/esm/sqm-stencilbook.entry.js +12 -14
  76. package/dist/esm/sqm-tabs.entry.js +1 -4
  77. package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
  78. package/dist/esm/sqm-widget-verification.entry.js +2 -3
  79. package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  80. package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
  81. package/dist/esm-es5/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-11ffa85d.js} +1 -1
  82. package/dist/esm-es5/data-acdb790f.js +6 -0
  83. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  84. package/dist/esm-es5/loader.js +1 -1
  85. package/dist/esm-es5/mint-components.js +1 -1
  86. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  87. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  88. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  89. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  90. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  91. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  92. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  93. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  94. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  95. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  96. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  97. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  98. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  99. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  100. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  101. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  102. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  103. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  104. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  105. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  106. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  107. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  108. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  109. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  110. package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  111. package/dist/esm-es5/utils-334c1e34.js +1 -0
  112. package/dist/mint-components/mint-components.esm.js +1 -1
  113. package/dist/mint-components/{p-6b247deb.entry.js → p-010957a1.entry.js} +6 -6
  114. package/dist/mint-components/p-0797a946.js +1 -0
  115. package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
  116. package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-14e813a7.system.entry.js} +1 -1
  117. package/dist/mint-components/{p-622b4066.entry.js → p-16ac4d4f.entry.js} +2 -2
  118. package/dist/mint-components/{p-35081b0c.system.entry.js → p-18720462.system.entry.js} +1 -1
  119. package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
  120. package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
  121. package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
  122. package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
  123. package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
  124. package/dist/mint-components/p-469a6450.system.js +6 -0
  125. package/dist/mint-components/p-4adf23e7.entry.js +273 -0
  126. package/dist/mint-components/{p-7b8cd420.system.entry.js → p-4ce51b1c.system.entry.js} +1 -1
  127. package/dist/mint-components/{p-cb845a3a.system.entry.js → p-56009bf0.system.entry.js} +1 -1
  128. package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
  129. package/dist/mint-components/{p-0caad0db.entry.js → p-5d059c95.entry.js} +1 -1
  130. package/dist/mint-components/{p-f370bddc.entry.js → p-60c14cec.entry.js} +1 -1
  131. package/dist/mint-components/p-6333265f.system.js +1 -0
  132. package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-6445e926.system.entry.js} +1 -1
  133. package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
  134. package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
  135. package/dist/mint-components/p-6c006998.entry.js +33 -0
  136. package/dist/mint-components/{p-b1eafaae.entry.js → p-6d9ce4e5.entry.js} +1 -1
  137. package/dist/mint-components/{p-b703c89f.system.entry.js → p-717b6730.system.entry.js} +1 -1
  138. package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
  140. package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
  141. package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
  142. package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-cf22cf56.entry.js → p-8b5b2acc.entry.js} +1 -1
  144. package/dist/mint-components/p-967a9040.system.js +1 -1
  145. package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
  146. package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
  147. package/dist/mint-components/{p-4250b06d.entry.js → p-a217cc8d.entry.js} +1 -1
  148. package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
  149. package/dist/mint-components/{p-61157c6a.entry.js → p-a5c63310.entry.js} +1 -1
  150. package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-76d4ef41.entry.js → p-aefaec37.entry.js} +1 -1
  152. package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
  153. package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
  154. package/dist/mint-components/{p-bb452830.system.js → p-b377570a.system.js} +1 -1
  155. package/dist/mint-components/{p-06f13966.system.entry.js → p-bec87ac9.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
  157. package/dist/mint-components/p-d2bb770d.system.entry.js +1 -0
  158. package/dist/mint-components/{p-d4edce6c.system.entry.js → p-d3120982.system.entry.js} +1 -1
  159. package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
  160. package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
  161. package/dist/mint-components/p-e1e7d01c.js +157 -0
  162. package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
  163. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  164. package/dist/mint-components/{p-7d735c9c.js → p-e658929b.js} +1 -1
  165. package/dist/mint-components/{p-b038b72a.system.entry.js → p-e9a596ad.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-0d21194c.entry.js → p-ea0bc627.entry.js} +1 -1
  167. package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
  169. package/dist/mint-components/{p-2623b232.system.entry.js → p-f401ef19.system.entry.js} +1 -1
  170. package/dist/mint-components/p-f66e02c7.system.entry.js +1 -0
  171. package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
  172. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  173. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +4 -3
  174. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  175. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -1
  176. package/dist/types/components.d.ts +6 -4
  177. package/docs/docs.docx +0 -0
  178. package/docs/raisins.json +1 -1
  179. package/package.json +1 -1
  180. package/dist/cjs/data-88adb95b.js +0 -146
  181. package/dist/cjs/parseStates-d1effc19.js +0 -16
  182. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
  183. package/dist/esm/data-807686c2.js +0 -130
  184. package/dist/esm/parseStates-ed75e224.js +0 -14
  185. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
  186. package/dist/esm-es5/data-807686c2.js +0 -1
  187. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  188. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  189. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  190. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  191. package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
  192. package/dist/esm-es5/utils-84b4b092.js +0 -1
  193. package/dist/mint-components/p-115dfc03.system.js +0 -1
  194. package/dist/mint-components/p-13f3a647.js +0 -1
  195. package/dist/mint-components/p-26468242.js +0 -1
  196. package/dist/mint-components/p-4306a11d.entry.js +0 -33
  197. package/dist/mint-components/p-43a9fb8e.system.entry.js +0 -1
  198. package/dist/mint-components/p-454a6d05.system.entry.js +0 -1
  199. package/dist/mint-components/p-4b9976cc.system.js +0 -1
  200. package/dist/mint-components/p-60f1cca2.system.js +0 -1
  201. package/dist/mint-components/p-75c569f7.entry.js +0 -1
  202. package/dist/mint-components/p-7837f69e.js +0 -46
  203. package/dist/mint-components/p-7b8232f8.system.js +0 -6
  204. package/dist/mint-components/p-8c3c4e92.js +0 -112
  205. package/dist/mint-components/p-a63a985a.system.entry.js +0 -1
  206. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  207. package/dist/mint-components/p-c40ea48b.entry.js +0 -273
  208. package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
  209. /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
  210. /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
  211. /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
2
2
  import { b as buildFontsCssUrl, i as intl } from './global-1099f20d.js';
3
3
  import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
4
- import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn } from './index.module-c9811a48.js';
4
+ import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-c9811a48.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as getProps, a as getMissingProps } from './utils-84b4b092.js';
7
+ import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import './useReferralCodes-c2e809cf.js';
10
10
  import './mixins-f750863a.js';
11
- import { C as CopyTextView } from './copy-text-view-83b09456.js';
11
+ import { C as CopyTextView } from './copy-text-view-fac47254.js';
12
12
  import { a as useRequestRerender } from './re-render-7e22fb0d.js';
13
13
  import { u as useChildElements } from './useChildElements-3d872cef.js';
14
14
  import './luxon-bbf75a9d.js';
@@ -19,13 +19,15 @@ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } f
19
19
  import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
20
20
  import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-c379e5d7.js';
21
21
  import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
22
- import { u as usePortalLogin } from './usePortalLogin-95814943.js';
22
+ import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
23
23
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
24
24
  import { i as isEmpty } from './utilities-72c07b09.js';
25
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-c0bd62f7.js';
25
+ import { E as ErrorView } from './ErrorView-bbf0a042.js';
26
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-11ffa85d.js';
26
27
  import './sqm-portal-container-view-176e92e3.js';
27
- import { p as parseStates } from './parseStates-ed75e224.js';
28
- import { u as usePayoutStatus } from './usePayoutStatus-42cc6a2c.js';
28
+ import { g as getCountryObj, L as LoadingView } from './utils-6122971b.js';
29
+ import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
30
+ import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-acdb790f.js';
29
31
 
30
32
  /**
31
33
  *
@@ -4658,7 +4660,7 @@ const ReferredRegistration = class {
4658
4660
  /**
4659
4661
  * @uiName Register button text
4660
4662
  */
4661
- this.registerLabel = "Start Referring";
4663
+ this.registerLabel = "Claim Your Reward";
4662
4664
  /**
4663
4665
  * Require your participants to enter their first and last name.
4664
4666
  *
@@ -6114,7 +6116,6 @@ const ShareLink = class {
6114
6116
  function useDemoShareLink(props) {
6115
6117
  const [open, setOpen] = useState(false);
6116
6118
  const copyString = "https://www.example.com/sharelink/abc";
6117
- console.log("Demo props", props);
6118
6119
  return cjs({
6119
6120
  copyString: copyString,
6120
6121
  tooltiptext: props.tooltiptext,
@@ -6379,6 +6380,1301 @@ function useTaskCardDemo(props) {
6379
6380
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6380
6381
  }
6381
6382
 
6383
+ function getCurrentStep(user) {
6384
+ var _a, _b;
6385
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
6386
+ return "/1";
6387
+ }
6388
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
6389
+ // If they do have a required document, look at current document
6390
+ if (requiredTaxDocumentType && !currentTaxDocument) {
6391
+ // Specific to custom CASH setting,
6392
+ if (payoutsAccount.hold &&
6393
+ payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
6394
+ return "/dashboard";
6395
+ return "/3";
6396
+ }
6397
+ if (!withdrawalSettings && brandedSignup)
6398
+ return "/4";
6399
+ return "/dashboard";
6400
+ }
6401
+ function useTaxAndCash() {
6402
+ var _a, _b, _c, _d, _e;
6403
+ const host = _$1();
6404
+ const user = J();
6405
+ const locale = L();
6406
+ // State for current step of form
6407
+ const [step, setStep] = In({
6408
+ namespace: TAX_CONTEXT_NAMESPACE,
6409
+ initialValue: "/loading",
6410
+ });
6411
+ // State for when to hide steps, or override certain actions
6412
+ const [context, _setContext] = In({
6413
+ namespace: TAX_FORM_CONTEXT_NAMESPACE,
6414
+ initialValue: {},
6415
+ });
6416
+ // State to carry user form information into step 2
6417
+ const [userFormContext, _setUserFormContext] = In({
6418
+ namespace: USER_FORM_CONTEXT_NAMESPACE,
6419
+ initialValue: {
6420
+ firstName: undefined,
6421
+ lastName: undefined,
6422
+ email: undefined,
6423
+ countryCode: undefined,
6424
+ currency: undefined,
6425
+ },
6426
+ });
6427
+ const [_currenciesContext, setCurrenciesContext] = In({
6428
+ namespace: CURRENCIES_NAMESPACE,
6429
+ initialValue: [],
6430
+ });
6431
+ const [_countriesContext, _setCountriesContext] = In({
6432
+ namespace: COUNTRIES_NAMESPACE,
6433
+ initialValue: [],
6434
+ });
6435
+ const [_sortedCountriesContext, setSortedCountriesContext] = In({
6436
+ namespace: SORTED_COUNTRIES_NAMESPACE,
6437
+ initialValue: [],
6438
+ });
6439
+ const { data, errors } = Sn({
6440
+ namespace: USER_QUERY_NAMESPACE,
6441
+ query: GET_USER$2,
6442
+ skip: !user,
6443
+ options: {
6444
+ batch: false,
6445
+ },
6446
+ });
6447
+ 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) ||
6448
+ userFormContext.countryCode;
6449
+ Sn({
6450
+ namespace: COUNTRIES_QUERY_NAMESPACE,
6451
+ query: GET_COUNTRIES,
6452
+ skip: !user,
6453
+ });
6454
+ const { data: financeNetworkData, refetch } = Sn({
6455
+ namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
6456
+ query: GET_FINANCE_NETWORK_SETTINGS,
6457
+ skip: !user,
6458
+ variables: {
6459
+ filter: getFinanceNetworkFilter(),
6460
+ },
6461
+ });
6462
+ const { data: currenciesData } = Sn({
6463
+ namespace: CURRENCIES_QUERY_NAMESPACE,
6464
+ query: GET_CURRENCIES,
6465
+ skip: !user,
6466
+ variables: {
6467
+ locale,
6468
+ },
6469
+ });
6470
+ const supportedCurrencies = useMemo(() => {
6471
+ var _a, _b;
6472
+ // Filter out any currencies not supported by finance network settings
6473
+ const allValidCurrencies = (_b = (_a = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.reduce((agg, settings) => {
6474
+ var _a, _b;
6475
+ const currency = (_b = (_a = currenciesData === null || currenciesData === void 0 ? void 0 : currenciesData.currencies) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find((currency) => currency.currencyCode === settings.currency);
6476
+ // Currency not in supported list
6477
+ if (!currency)
6478
+ return agg;
6479
+ // Currency already added to list
6480
+ if (agg.find((currency) => currency.currencyCode === settings.currency))
6481
+ return agg;
6482
+ // Currency not supported by selected country
6483
+ if (userFormContext.countryCode &&
6484
+ settings.countryCode !== countryCode)
6485
+ return agg;
6486
+ return [...agg, currency];
6487
+ }, []);
6488
+ return allValidCurrencies;
6489
+ }, [financeNetworkData, countryCode]);
6490
+ const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
6491
+ const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
6492
+ const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
6493
+ // filter out any duplicate countries and null countryCode
6494
+ const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
6495
+ const _topCountries = ["CA", "GB", "US"];
6496
+ const sortedCountries = useMemo(() => Array.from(availableCountries)
6497
+ .map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
6498
+ .sort(sortByName)
6499
+ .reduce((prev, countryObj) => {
6500
+ if (_topCountries.includes(countryObj.countryCode))
6501
+ return [countryObj, ...prev];
6502
+ return [...prev, countryObj];
6503
+ }, []), [availableCountries]);
6504
+ useEffect(() => {
6505
+ if (sortedCountries)
6506
+ setSortedCountriesContext(sortedCountries);
6507
+ }, [sortedCountries]);
6508
+ useEffect(() => {
6509
+ if (supportedCurrencies)
6510
+ setCurrenciesContext(supportedCurrencies);
6511
+ }, [supportedCurrencies]);
6512
+ useEffect(() => {
6513
+ if (errors) {
6514
+ setStep("/error");
6515
+ return;
6516
+ }
6517
+ if (!host || !user)
6518
+ return;
6519
+ if (data) {
6520
+ const user = data === null || data === void 0 ? void 0 : data.user;
6521
+ if (!user || step !== "/loading")
6522
+ return;
6523
+ const currentStep = getCurrentStep(user);
6524
+ setStep(currentStep);
6525
+ }
6526
+ }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
6527
+ function getFinanceNetworkFilter() {
6528
+ var _a, _b, _c;
6529
+ if (step === "/1")
6530
+ return {};
6531
+ if (step === "/4")
6532
+ return { currency_eq: (_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.currency };
6533
+ if (countryCode)
6534
+ return {
6535
+ countryCode_eq: countryCode,
6536
+ };
6537
+ return {};
6538
+ }
6539
+ return {
6540
+ step,
6541
+ setStep,
6542
+ context,
6543
+ namespace: Mn(TAX_CONTEXT_NAMESPACE),
6544
+ loading: step === "/loading",
6545
+ };
6546
+ }
6547
+
6548
+ const TaxAndCashMonolith = class {
6549
+ constructor(hostRef) {
6550
+ registerInstance(this, hostRef);
6551
+ /*---------------------------------------------------------------------------------
6552
+ !IMPORTANT!: Make sure to also change the prop names in the respective component
6553
+ -----------------------------------------------------------------------------------*/
6554
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6555
+ STEP 1 PROPS:
6556
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6557
+ /**
6558
+ * @uiName First name field label
6559
+ * @uiGroup Step 1 Properties
6560
+ */
6561
+ this.step1_firstName = "First name";
6562
+ /**
6563
+ * @uiName Last name field label
6564
+ * @uiGroup Step 1 Properties
6565
+ */
6566
+ this.step1_lastName = "Last name";
6567
+ /**
6568
+ * @uiName Email field label
6569
+ * @uiGroup Step 1 Properties
6570
+ */
6571
+ this.step1_email = "Email";
6572
+ /**
6573
+ * @uiName Country field label
6574
+ * @uiGroup Step 1 Properties
6575
+ */
6576
+ this.step1_country = "Country";
6577
+ /**
6578
+ * @uiName Phone number field label
6579
+ * @uiGroup Step 1 Properties
6580
+ */
6581
+ this.step1_phoneNumber = "Phone number";
6582
+ /**
6583
+ * @uiName Address field label
6584
+ * @uiGroup Step 1 Properties
6585
+ */
6586
+ this.step1_address = "Address";
6587
+ /**
6588
+ * @uiName City field label
6589
+ * @uiGroup Step 1 Properties
6590
+ */
6591
+ this.step1_city = "City";
6592
+ /**
6593
+ * @uiName State field label for states
6594
+ * @uiGroup Step 1 Properties
6595
+ */
6596
+ this.step1_state = "State";
6597
+ /**
6598
+ * @uiName State field label for provinces
6599
+ * @uiGroup Step 1 Properties
6600
+ */
6601
+ this.step1_province = "Province";
6602
+ /**
6603
+ * @uiName State field label for regions
6604
+ * @uiGroup Step 1 Properties
6605
+ */
6606
+ this.step1_region = "Region";
6607
+ /**
6608
+ * @uiName Postal code field label
6609
+ * @uiGroup Step 1 Properties
6610
+ */
6611
+ this.step1_postalCode = "Postal code";
6612
+ /**
6613
+ * @uiName Currency field label
6614
+ * @uiGroup Step 1 Properties
6615
+ */
6616
+ this.step1_currency = "Currency";
6617
+ /**
6618
+ * @uiName Currency field help text
6619
+ * @uiGroup Step 1 Properties
6620
+ */
6621
+ this.step1_currencyHelpText = "Choose your preferred payout currency";
6622
+ /**
6623
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
6624
+ * @uiName Terms and conditions checkbox
6625
+ * @uiGroup Step 1 Properties
6626
+ */
6627
+ this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
6628
+ /**
6629
+ * @uiName Step 1 title
6630
+ * @uiGroup Step 1 Properties
6631
+ */
6632
+ this.step1_personalInformation = "Personal Information";
6633
+ /**
6634
+ * The link text that appears in the terms and conditions checkbox
6635
+ * @uiName Terms and conditions text
6636
+ * @uiGroup Step 1 Properties
6637
+ * @uiWidget textArea
6638
+ */
6639
+ this.step1_termsAndConditionsLabel = "terms and conditions";
6640
+ /**
6641
+ * The link that appears in the terms and conditions checkbox
6642
+ * @uiName Terms and conditions link
6643
+ * @uiGroup Step 1 Properties
6644
+ */
6645
+ this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
6646
+ /**
6647
+ * Placeholder text displayed in the currency search dropdown
6648
+ * @uiName Currency field placeholder text
6649
+ * @uiGroup Step 1 Properties
6650
+ */
6651
+ this.step1_searchForCurrencyText = "Search for currency..";
6652
+ /**
6653
+
6654
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6655
+ STEP 2 PROPS:
6656
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6657
+ /**
6658
+ * @uiName Step 2 title
6659
+ * @uiGroup Step 2 Properties
6660
+ */
6661
+ this.step2_indirectTax = "Indirect Tax";
6662
+ /**
6663
+ * Displayed under the title of this step.
6664
+ * @uiName Step 2 description
6665
+ * @uiGroup Step 2 Properties
6666
+ * @uiWidget textArea
6667
+ */
6668
+ this.step2_indirectTaxDescription = "Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";
6669
+ /**
6670
+ * Displayed with indirect tax registration options.
6671
+ * @uiName Indirect tax details section title
6672
+ * @uiGroup Step 2 Properties
6673
+ */
6674
+ this.step2_indirectTaxDetails = "Indirect tax details";
6675
+ /**
6676
+ * @uiName Registered for indirect tax option
6677
+ * @uiGroup Step 2 Properties
6678
+ * @uiWidget textArea
6679
+ *
6680
+ */
6681
+ this.step2_otherRegion = "Registered for indirect tax";
6682
+ /**
6683
+ * Selecting this option will display fields to enter indirect tax details.
6684
+ * @uiName Registered for indirect tax option description
6685
+ * @uiGroup Step 2 Properties
6686
+ */
6687
+ this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
6688
+ /**
6689
+ * @uiName Not registered for indirect tax option
6690
+ * @uiGroup Step 2 Properties
6691
+ * @uiWidget textArea
6692
+ */
6693
+ this.step2_notRegistered = "Not registered for indirect tax";
6694
+ /**
6695
+ * Participants based in the US are considered not registered.
6696
+ * @uiName Not registered for indirect tax option description
6697
+ * @uiGroup Step 2 Properties
6698
+ */
6699
+ this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
6700
+ /**
6701
+ * @uiName Region of indirect tax field label
6702
+ * @uiGroup Step 2 Properties
6703
+ */
6704
+ this.step2_selectedRegion = "Country / region of indirect tax";
6705
+ /**
6706
+ * @uiName Indirect tax number field label
6707
+ * @uiGroup Step 2 Properties
6708
+ */
6709
+ this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
6710
+ /**
6711
+ * @uiName Province field label
6712
+ * @uiGroup Step 2 Properties
6713
+ */
6714
+ this.step2_province = "Province";
6715
+ /**
6716
+ * @uiName Missing indirect tax number error message
6717
+ * @uiGroup Step 2 Properties
6718
+ */
6719
+ this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
6720
+ /**
6721
+ * Displayed to participants registered for QST.
6722
+ * @uiName QST number field label
6723
+ * @uiGroup Step 2 Properties
6724
+ */
6725
+ this.step2_qstNumber = "QST number";
6726
+ /**
6727
+ * Displayed to participants registered for indirect tax in Quebec, Canada.
6728
+ * @uiName QST tax checkbox
6729
+ * @uiGroup Step 2 Properties
6730
+ */
6731
+ this.step2_isRegisteredQST = "I am registered for QST Tax";
6732
+ /**
6733
+ * Displayed to participants registered for indirect tax in Spain.
6734
+ * @uiName Spain income tax checkbox
6735
+ * @uiGroup Step 2 Properties
6736
+ * @uiWidget textArea
6737
+ */
6738
+ this.step2_isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
6739
+ /**
6740
+ * Displayed to participants registered in Spain.
6741
+ * @uiName Sub-region of indirect tax field label
6742
+ * @uiGroup Step 2 Properties
6743
+ */
6744
+ this.step2_subRegion = "Sub-region";
6745
+ /**
6746
+ * @uiName Income tax field label
6747
+ * @uiGroup Step 2 Properties
6748
+ */
6749
+ this.step2_subRegionTaxNumberLabel = "Income Tax Number";
6750
+ /**
6751
+ * Communicate that after this step, only Support can change personal and indirect tax information.
6752
+ * @uiName Submission confirmation alert
6753
+ * @uiGroup Step 2 Properties
6754
+ * @uiWidget textArea
6755
+ */
6756
+ this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
6757
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6758
+ STEP 3 PROPS:
6759
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6760
+ /**
6761
+ * @uiName Step 3 title
6762
+ * @uiGroup Step 3 Properties
6763
+ */
6764
+ this.step3_taxForm = "Tax form";
6765
+ /**
6766
+ * Display the type of tax form that the participant must submit.
6767
+ * @uiName Tax form name
6768
+ * @uiGroup Step 3 Properties
6769
+ */
6770
+ this.step3_taxFormLabel = "{documentType} Tax Form";
6771
+ /**
6772
+ * @uiName Participant type field label
6773
+ * @uiGroup Step 3 Properties
6774
+ */
6775
+ this.step3_participantType = "Participant type";
6776
+ /**
6777
+ * An option for the participant type field. Used to determine which W-8 form is required.
6778
+ * @uiName Business representative participant type label
6779
+ * @uiGroup Step 3 Properties
6780
+ */
6781
+ this.step3_businessEntity = "I represent a business";
6782
+ /**
6783
+ * An option for the participant type field. Used to determine which W-8 form is required.
6784
+ * @uiName Individual participant type label
6785
+ * @uiGroup Step 3 Properties
6786
+ */
6787
+ this.step3_individualParticipant = "I am an individual participant";
6788
+ /**
6789
+ * Displayed at the top of the page to participants based in the US.
6790
+ * @uiName W-9 tax form description
6791
+ * @uiGroup Step 3 Properties
6792
+ * @uiWidget textArea
6793
+ */
6794
+ this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
6795
+ /**
6796
+ * Displayed at the top of the page to individuals joining a US program who reside outside the country.
6797
+ * @uiName W-8 BEN tax form description
6798
+ * @uiGroup Step 3 Properties
6799
+ * @uiWidget textArea
6800
+ */
6801
+ this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
6802
+ /**
6803
+ * Displayed at the top of the page to participants representing a business.
6804
+ * @uiName W-8 BEN-E tax form description
6805
+ * @uiGroup Step 3 Properties
6806
+ * @uiWidget textArea
6807
+ */
6808
+ this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
6809
+ /**
6810
+ * This appears inside the Docusign frame.
6811
+ * @uiName Docusign session expired message
6812
+ * @uiGroup Step 3 Properties
6813
+ * @uiWidget textArea
6814
+ */
6815
+ this.step3_docusignExpired = "For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";
6816
+ /**
6817
+ * Remind participants their session will time out after 20 minutes of inactivity.
6818
+ * @uiName Docusign timed session message
6819
+ * @uiGroup Step 3 Properties
6820
+ * @uiWidget textArea
6821
+ */
6822
+ this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
6823
+ /**
6824
+ * This appears inside the Docusign frame.
6825
+ * @uiName Docusign form error message
6826
+ * @uiGroup Step 3 Properties
6827
+ * @uiWidget textArea
6828
+ */
6829
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
6830
+ /**
6831
+ * @uiName Refresh page button label
6832
+ * @uiGroup Step 3 Properties
6833
+ */
6834
+ this.step3_refreshButton = "Refresh Page";
6835
+ /**
6836
+ * @uiName Exit button text
6837
+ * @uiGroup Step 3 Properties
6838
+ */
6839
+ this.step3_exitButton = "Exit";
6840
+ /**
6841
+ * @uiName Information modal title
6842
+ * @uiGroup Step 3 Properties
6843
+ */
6844
+ this.step3_modalTitle = "Important Note";
6845
+ /**
6846
+ * @uiName Information modal description text
6847
+ * @uiGroup Step 3 Properties
6848
+ */
6849
+ this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
6850
+ /**
6851
+ * @uiName Information modal button text
6852
+ * @uiGroup Step 3 Properties
6853
+ */
6854
+ this.step3_modalButtonText = "I understand";
6855
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6856
+ STEP 4 PROPS:
6857
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6858
+ /**
6859
+ * @uiName Step 4 title
6860
+ * @uiGroup Step 4 Properties
6861
+ */
6862
+ this.step4_taxAndPayouts = "Payouts";
6863
+ /**
6864
+ * @uiName Direct to bank payout option
6865
+ * @uiGroup Step 4 Properties
6866
+ */
6867
+ this.step4_directlyToBankAccount = "Directly to my bank account";
6868
+ /**
6869
+ * @uiName PayPal payout option
6870
+ * @uiGroup Step 4 Properties
6871
+ */
6872
+ this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
6873
+ /**
6874
+ * @uiName Threshold balance payment schedule option
6875
+ * @uiGroup Step 4 Properties
6876
+ */
6877
+ this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
6878
+ /**
6879
+ * @uiName Fixed day payment schedule option
6880
+ * @uiGroup Step 4 Properties
6881
+ */
6882
+ this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
6883
+ /**
6884
+ * Let the participant choose what day of the month they’ll get paid
6885
+ * @uiName Payment day field label
6886
+ * @uiGroup Step 4 Properties
6887
+ */
6888
+ this.step4_paymentDaySelectLabel = "Payment Day";
6889
+ /**
6890
+ * Participant use this field to select the balance at which they want to be paid
6891
+ * @uiName Payment threshold field label
6892
+ * @uiGroup Step 4 Properties
6893
+ */
6894
+ this.step4_paymentThresholdSelectLabel = "Payment threshold";
6895
+ /**
6896
+ * One of two payment day options
6897
+ * @uiName First of month payday option
6898
+ * @uiGroup Step 4 Properties
6899
+ */
6900
+ this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
6901
+ /**
6902
+ * One of two payment day options
6903
+ * @uiName Fifteenth of month payday option
6904
+ * @uiGroup Step 4 Properties
6905
+ */
6906
+ this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
6907
+ /**
6908
+ * @uiName Payment method section header
6909
+ * @uiGroup Step 4 Properties
6910
+ */
6911
+ this.step4_paymentMethod = "Payment method";
6912
+ /**
6913
+ * @uiName Payment schedule section header
6914
+ * @uiGroup Step 4 Properties
6915
+ */
6916
+ this.step4_paymentSchedule = "Payment schedule";
6917
+ /**
6918
+ * @uiName Payment method section description
6919
+ * @uiGroup Step 4 Properties
6920
+ */
6921
+ this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
6922
+ /**
6923
+ * Displayed to participants who choose PayPal as their payout method
6924
+ * @uiName PayPal email field label
6925
+ * @uiGroup Step 4 Properties
6926
+ */
6927
+ this.step4_payPalInputLabel = "PayPal email";
6928
+ /**
6929
+ * @uiName Bank country field label
6930
+ * @uiGroup Step 4 Properties
6931
+ */
6932
+ this.step4_bankLocationLabel = "Bank country location";
6933
+ /**
6934
+ * @uiName Beneficiary account field label
6935
+ * @uiGroup Step 4 Properties
6936
+ */
6937
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
6938
+ /**
6939
+ * @uiName Beneficiary account field description
6940
+ * @uiGroup Step 4 Properties
6941
+ */
6942
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
6943
+ /**
6944
+ * @uiName Bank account type field label
6945
+ * @uiGroup Step 4 Properties
6946
+ */
6947
+ this.step4_bankAccountTypeLabel = "Bank account type";
6948
+ /**
6949
+ * @uiName Checking account option
6950
+ * @uiGroup Step 4 Properties
6951
+ */
6952
+ this.step4_checkingSelectItemLabel = "Checking";
6953
+ /**
6954
+ * Label text for the savings account type select item
6955
+ * @uiName Savings account options
6956
+ * @uiGroup Step 4 Properties
6957
+ */
6958
+ this.step4_savingsSelectItemLabel = "Savings";
6959
+ /**
6960
+ * @uiName Bank account number field label
6961
+ * @uiGroup Step 4 Properties
6962
+ */
6963
+ this.step4_bankAccountNumberLabel = "Bank account number";
6964
+ /**
6965
+ * @uiName IBAN field label
6966
+ * @uiGroup Step 4 Properties
6967
+ */
6968
+ this.step4_ibanLabel = "IBAN";
6969
+ /**
6970
+ * @uiName SWIFT code field label
6971
+ * @uiGroup Step 4 Properties
6972
+ */
6973
+ this.step4_swiftCodeLabel = "SWIFT code";
6974
+ /**
6975
+ * @uiName Routing code field label
6976
+ * @uiGroup Step 4 Properties
6977
+ */
6978
+ this.step4_routingCodeLabel = "{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";
6979
+ /**
6980
+ * @uiName Bank name field label
6981
+ * @uiGroup Step 4 Properties
6982
+ */
6983
+ this.step4_bankNameLabel = "Bank name";
6984
+ /**
6985
+ * @uiName Classification entity field label
6986
+ * @uiGroup Step 4 Properties
6987
+ */
6988
+ this.step4_classificationEntityLabel = "Classification entity";
6989
+ /**
6990
+ * One of three options listed for the classification field
6991
+ * @uiName Business classification option
6992
+ * @uiGroup Step 4 Properties
6993
+ */
6994
+ this.step4_businessSelectItemLabel = "Business";
6995
+ /**
6996
+ * One of three options listed for the classification field
6997
+ * @uiName Individual classification option
6998
+ * @uiGroup Step 4 Properties
6999
+ */
7000
+ this.step4_individualSelectItemLabel = "Individual";
7001
+ /**
7002
+ * One of three options listed for the classification field
7003
+ * @uiName Foreign classification option
7004
+ * @uiGroup Step 4 Properties
7005
+ */
7006
+ this.step4_foreignSelectItemLabel = "Foreign";
7007
+ /**
7008
+ * @uiName Classification CPF field label
7009
+ * @uiGroup Step 4 Properties
7010
+ */
7011
+ this.step4_classificationCPFLabel = "Classification CPF";
7012
+ /**
7013
+ * @uiName Patronymic name field label
7014
+ * @uiGroup Step 4 Properties
7015
+ */
7016
+ this.step4_patronymicNameLabel = "Patronymic name";
7017
+ /**
7018
+ * @uiName VO code field label
7019
+ * @uiGroup Step 4 Properties
7020
+ */
7021
+ this.step4_voCodeLabel = "VO code";
7022
+ /**
7023
+ * @uiName Agency code field label
7024
+ * @uiGroup Step 4 Properties
7025
+ */
7026
+ this.step4_agencyCodeLabel = "Agency code";
7027
+ /**
7028
+ * @uiName Branch code field label
7029
+ * @uiGroup Step 4 Properties
7030
+ */
7031
+ this.step4_branchCodeLabel = "Branch code";
7032
+ /**
7033
+ * Label text for the classification input field
7034
+ * @uiName Classification field label
7035
+ * @uiGroup Step 4 Properties
7036
+ */
7037
+ this.step4_classificationLabel = "Classification";
7038
+ /**
7039
+ * @uiName Taxpayer ID field label
7040
+ * @uiGroup Step 4 Properties
7041
+ */
7042
+ this.step4_taxPayerIdLabel = "Beneficiary INN";
7043
+ /**
7044
+ * @uiName Bank address field label
7045
+ * @uiGroup Step 4 Properties
7046
+ */
7047
+ this.step4_bankAddressLabel = "Bank address";
7048
+ /**
7049
+ * @uiName Bank city field label
7050
+ * @uiGroup Step 4 Properties
7051
+ */
7052
+ this.step4_bankCityLabel = "Bank city";
7053
+ /**
7054
+ * @uiName Bank province/state field label
7055
+ * @uiGroup Step 4 Properties
7056
+ */
7057
+ this.step4_bankStateLabel = "Bank Province / State";
7058
+ /**
7059
+ * @uiName Bank postal code field label
7060
+ * @uiGroup Step 4 Properties
7061
+ */
7062
+ this.step4_bankPostalCodeLabel = "Bank postal code";
7063
+ /**
7064
+ * Default payment method to the participants’ bank account.
7065
+ * @uiName EFT withdrawal payment method
7066
+ * @uiGroup Step 4 Properties
7067
+ */
7068
+ this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
7069
+ /**
7070
+ * @uiName FX Wire Processing fee text
7071
+ * @uiGroup Step 4 Properties
7072
+ */
7073
+ this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
7074
+ /**
7075
+ * @uiName Text for verify email dialog
7076
+ * @uiGroup Step 4 Properties
7077
+ */
7078
+ this.step4_verifyEmailHeaderText = "Verify your email";
7079
+ /**
7080
+ * @uiName Verify code widget header text
7081
+ * @uiGroup Step 4 Properties
7082
+ */
7083
+ this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
7084
+ /**
7085
+ * @uiName Information modal title
7086
+ * @uiGroup Step 4 Properties
7087
+ */
7088
+ this.step4_modalTitle = "Important Note";
7089
+ /**
7090
+ * @uiName Information modal description text
7091
+ * @uiGroup Step 4 Properties
7092
+ */
7093
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
7094
+ /**
7095
+ * @uiName Information modal button text
7096
+ * @uiGroup Step 4 Properties
7097
+ */
7098
+ this.step4_modalButtonText = "I understand, update my information";
7099
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7100
+ DASHBOARD PROPS:
7101
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7102
+ /**
7103
+ * @uiName Active tax form badge label
7104
+ * @uiGroup Dashboard Properties
7105
+ */
7106
+ this.dashboard_statusTextActive = "Active";
7107
+ /**
7108
+ * @uiName Invalid tax form badge label
7109
+ * @uiGroup Dashboard Properties
7110
+ */
7111
+ this.dashboard_statusTextNotActive = "Invalid Tax Form";
7112
+ /**
7113
+ * Displayed when the participant submitted their form but it is awaiting review.
7114
+ *
7115
+ * @uiName Not verified tax form badge label
7116
+ * @uiGroup Dashboard Properties
7117
+ */
7118
+ this.dashboard_statusTextNotVerified = "Not Verified";
7119
+ /**
7120
+ * Displayed when the participant has not submitted their required tax form.
7121
+ *
7122
+ * @uiName Required tax form badge label
7123
+ */
7124
+ this.dashboard_statusTextRequired = "Required";
7125
+ /**
7126
+ * Additional text displayed next to the tax form's status badge
7127
+ *
7128
+ * @uiName Required tax form description
7129
+ */
7130
+ this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
7131
+ /**
7132
+ * Additional text displayed next to the tax form's status badge
7133
+ *
7134
+ * @uiName Active W-9 description
7135
+ * @uiGroup Dashboard Properties
7136
+ */
7137
+ this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
7138
+ /**
7139
+ * Additional text displayed next to the tax form's status badge.
7140
+ *
7141
+ * @uiName Active W-8 description
7142
+ * @uiGroup Dashboard Properties
7143
+ */
7144
+ this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
7145
+ /**
7146
+ * Additional text displayed next to the tax form's status badge.
7147
+ *
7148
+ * @uiName Tax form in review description
7149
+ * @uiGroup Dashboard Properties
7150
+ */
7151
+ this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
7152
+ /**
7153
+ * Part of the alert displayed at the top of the page.
7154
+ *
7155
+ * @uiName Inactive W-9 error message title
7156
+ * @uiGroup Dashboard Properties
7157
+ * @uiWidget textArea
7158
+ */
7159
+ this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
7160
+ /**
7161
+ * Part of the alert displayed at the top of the page.
7162
+ *
7163
+ * @uiName Inactive W-8 error message title
7164
+ * @uiGroup Dashboard Properties
7165
+ * @uiWidget textArea
7166
+ */
7167
+ this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
7168
+ /**
7169
+ * Part of the alert displayed at the top of the page.
7170
+ *
7171
+ * @uiName Inactive W-9 error message description
7172
+ * @uiGroup Dashboard Properties
7173
+ * @uiWidget textArea
7174
+ */
7175
+ this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
7176
+ /**
7177
+ * Part of the alert displayed at the top of the page.
7178
+ *
7179
+ * @uiName Inactive W-8 error message description
7180
+ * @uiGroup Dashboard Properties
7181
+ */
7182
+ this.dashboard_taxAlertNotActiveMessageW8 = "Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";
7183
+ /**
7184
+ * Additional text displayed next to the tax form's status badge.
7185
+ *
7186
+ * @uiName Invalid tax form description
7187
+ * @uiGroup Dashboard Properties
7188
+ * @uiWidget textArea
7189
+ */
7190
+ this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
7191
+ /**
7192
+ * @uiName Payout information section header
7193
+ * @uiGroup Dashboard Properties
7194
+ */
7195
+ this.dashboard_bankingInformationSectionHeader = "Payout Information";
7196
+ /**
7197
+ * @uiName Tax document section header
7198
+ * @uiGroup Dashboard Properties
7199
+ */
7200
+ this.dashboard_taxDocumentSectionHeader = "Tax documents";
7201
+ /**
7202
+ * Displayed under the tax document section header.
7203
+ *
7204
+ * @uiName Tax documents section description
7205
+ * @uiGroup Dashboard Properties
7206
+ */
7207
+ this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
7208
+ /**
7209
+ * No other statuses or badges will be displayed in the tax form section in this case.
7210
+ *
7211
+ * @uiName Tax form not required text
7212
+ * @uiGroup Dashboard Properties
7213
+ * @uiWidget textArea
7214
+ */
7215
+ this.dashboard_noFormNeededSubtext = "Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";
7216
+ /**
7217
+ *
7218
+ * @uiName Indirect tax section header
7219
+ * @uiGroup Dashboard Properties
7220
+ */
7221
+ this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
7222
+ /**
7223
+ * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
7224
+ *
7225
+ * @uiName Canadian province of indirect tax
7226
+ * @uiGroup Dashboard Properties
7227
+ */
7228
+ this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
7229
+ /**
7230
+ * If the participant is registered for indirect tax, display the country they’re registered in.
7231
+ *
7232
+ * @uiName Indirect tax country
7233
+ * @uiGroup Dashboard Properties
7234
+ */
7235
+ this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
7236
+ /**
7237
+ * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
7238
+ *
7239
+ * @uiName Spanish region of indirect tax
7240
+ * @uiGroup Dashboard Properties
7241
+ */
7242
+ this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
7243
+ /**
7244
+ * @uiName Indirect tax tooltip
7245
+ * @uiGroup Dashboard Properties
7246
+ * @uiWidget textArea
7247
+ */
7248
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
7249
+ /**
7250
+ * Displayed to participants who have submitted their indirect tax information.
7251
+ *
7252
+ * @uiName Indirect tax details
7253
+ * @uiGroup Dashboard Properties
7254
+ */
7255
+ this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
7256
+ /**
7257
+ * @uiName Submit new tax form button label
7258
+ * @uiGroup Dashboard Properties
7259
+ */
7260
+ this.dashboard_newFormButton = "Submit new form";
7261
+ /**
7262
+ * @uiName Edit payment info button label
7263
+ * @uiGroup Dashboard Properties
7264
+ */
7265
+ this.dashboard_editPaymentInformationButton = "Edit Payout Information";
7266
+ /**
7267
+ * @uiName Not registered for indirect tax text
7268
+ * @uiGroup Dashboard Properties
7269
+ * @uiWidget textArea
7270
+ */
7271
+ this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
7272
+ /**
7273
+ * Displayed to participants registered in Quebec, Canada.
7274
+ * @uiName QST indirect tax details
7275
+ * @uiGroup Dashboard Properties
7276
+ */
7277
+ this.dashboard_qstNumber = "QST number: {qstNumber}";
7278
+ /**
7279
+ * @uiName Spain sub-region indirect tax number
7280
+ * @uiGroup Dashboard Properties
7281
+ */
7282
+ this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
7283
+ /**
7284
+ * @uiName Payout status badge
7285
+ * @uiGroup Dashboard Properties
7286
+ */
7287
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
7288
+ /**
7289
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
7290
+ * @uiName Payout schedule by threshold text
7291
+ * @uiGroup Dashboard Properties
7292
+ */
7293
+ this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
7294
+ /**
7295
+ * Shown before the participant’s bank account information.
7296
+ * @uiName Bank account field label
7297
+ * @uiGroup Dashboard Properties
7298
+ */
7299
+ this.dashboard_accountText = "Account";
7300
+ /**
7301
+ * Part of the Invoice table displayed at the bottom of the page.
7302
+ * @uiName Invoice number column title
7303
+ * @uiGroup Dashboard Properties
7304
+ */
7305
+ this.dashboard_invoiceColumnTitle = "Invoice";
7306
+ /**
7307
+ * Part of the Invoice table displayed at the bottom of the page.
7308
+ * @uiName Date column title
7309
+ * @uiGroup Dashboard Properties
7310
+ */
7311
+ this.dashboard_dateColumnTitle = "Date";
7312
+ /**
7313
+ * Part of the Invoice table displayed at the bottom of the page.
7314
+ * @uiName Earnings column title
7315
+ * @uiGroup Dashboard Properties
7316
+ */
7317
+ this.dashboard_earningsColumnTitle = "Earnings";
7318
+ /**
7319
+ * Part of the Invoice table displayed at the bottom of the page.
7320
+ * @uiName Indirect tax column title
7321
+ * @uiGroup Dashboard Properties
7322
+ */
7323
+ this.dashboard_indirectTaxColumnTitle = "Indirect tax";
7324
+ /**
7325
+ * Displayed under the payout details card.
7326
+ * @uiName Payout from impact text
7327
+ * @uiGroup Dashboard Properties
7328
+ * @uiWidget textArea
7329
+ */
7330
+ this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
7331
+ /**
7332
+ * Part of the Invoice table displayed at the bottom of the page.
7333
+ * @uiName Earnings after tax column title
7334
+ * @uiGroup Dashboard Properties
7335
+ */
7336
+ this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
7337
+ /**
7338
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7339
+ * @uiName Payout error message title
7340
+ * @uiGroup Dashboard Properties
7341
+ * @uiWidget textArea
7342
+ */
7343
+ this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
7344
+ /**
7345
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7346
+ * @uiName Payout error message description
7347
+ * @uiGroup Dashboard Properties
7348
+ * @uiWidget textArea
7349
+ */
7350
+ this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
7351
+ /**
7352
+ * Text displayed for existing publishers that do not have saved banking information.
7353
+ * @uiName Payout missing information subtext
7354
+ * @uiGroup Dashboard Properties
7355
+ */
7356
+ this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
7357
+ /**
7358
+ * @uiName Invoice table description
7359
+ * @uiGroup Dashboard Properties
7360
+ */
7361
+ this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
7362
+ /**
7363
+ * @uiName Invoice table previous page button label
7364
+ * @uiGroup Dashboard Properties
7365
+ */
7366
+ this.dashboard_invoicePrevLabel = "Prev";
7367
+ /**
7368
+ * @uiName Invoice table next page button label
7369
+ * @uiGroup Dashboard Properties
7370
+ */
7371
+ this.dashboard_invoiceMoreLabel = "Next";
7372
+ /**
7373
+ * @uiName Invoice table title
7374
+ * @uiGroup Dashboard Properties
7375
+ */
7376
+ this.dashboard_invoiceHeader = "Invoices";
7377
+ /**
7378
+ * @uiName Empty invoice table header
7379
+ * @uiGroup Dashboard Properties
7380
+ */
7381
+ this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
7382
+ /**
7383
+ * @uiName Empty invoice table description
7384
+ * @uiGroup Dashboard Properties
7385
+ */
7386
+ this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
7387
+ /**
7388
+ * @uiName Replace tax form modal header
7389
+ * @uiGroup Dashboard Properties
7390
+ */
7391
+ this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
7392
+ /**
7393
+ * @uiName Replace tax form modal body text
7394
+ * @uiGroup Dashboard Properties
7395
+ * @uiWidget textArea
7396
+ */
7397
+ this.dashboard_replaceTaxFormModalBodyText = "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";
7398
+ /**
7399
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7400
+ * @uiName Verification required alert message title
7401
+ * @uiGroup Dashboard Properties
7402
+ * @uiWidget textArea
7403
+ */
7404
+ this.dashboard_verificationRequiredHeader = "Verify your identity";
7405
+ /**
7406
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
7407
+ * @uiName Verification required alert message description
7408
+ * @uiGroup Dashboard Properties
7409
+ * @uiWidget textArea
7410
+ */
7411
+ this.dashboard_verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
7412
+ /**
7413
+ * @uiName Verification required internal alert header
7414
+ * @uiGroup Dashboard Properties
7415
+ * @uiWidget textArea
7416
+ */
7417
+ this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7418
+ /**
7419
+ * @uiName Verification required internal alert description
7420
+ * @uiGroup Dashboard Properties
7421
+ * @uiWidget textArea
7422
+ */
7423
+ this.dashboard_verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
7424
+ /**
7425
+ * @uiName Verification review internal alert header
7426
+ * @uiGroup Dashboard Properties
7427
+ * @uiWidget textArea
7428
+ */
7429
+ this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7430
+ /**
7431
+ * @uiName Verification review internal alert description
7432
+ * @uiGroup Dashboard Properties
7433
+ * @uiWidget textArea
7434
+ */
7435
+ this.dashboard_verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
7436
+ /**
7437
+ * @uiName Verification failed internal alert header
7438
+ * @uiGroup Dashboard Properties
7439
+ * @uiWidget textArea
7440
+ */
7441
+ this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7442
+ /**
7443
+ * @uiName Verification failed internal alert description
7444
+ * @uiGroup Dashboard Properties
7445
+ * @uiWidget textArea
7446
+ */
7447
+ this.dashboard_verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
7448
+ /**
7449
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7450
+ * @uiName Verification required alert button text
7451
+ * @uiGroup Dashboard Properties
7452
+ * @uiWidget textArea
7453
+ */
7454
+ this.dashboard_verificationRequiredButtonText = "Start Verification";
7455
+ /**
7456
+ * @uiName W-9 payment threshold alert header
7457
+ * @uiGroup Dashboard Properties
7458
+ * @uiWidget textArea
7459
+ */
7460
+ this.dashboard_w9RequiredHeader = "Your next payout is on hold";
7461
+ /**
7462
+ * @uiName W-9 payment threshold alert description
7463
+ * @uiGroup Dashboard Properties
7464
+ * @uiWidget textArea
7465
+ */
7466
+ this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
7467
+ /**
7468
+ * @uiName Account review alert header
7469
+ */
7470
+ this.dashboard_accountReviewHeader = "Your account is under review";
7471
+ /**
7472
+ * @uiName Account review alert description
7473
+ */
7474
+ this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
7475
+ /**
7476
+ * @uiName Terms and Conditions text
7477
+ * @uiGroup Dashboard Properties
7478
+ */
7479
+ this.dashboard_termsAndConditions = "Terms and Conditions";
7480
+ /**
7481
+ * @uiName W-9 payment threshold alert button text
7482
+ * @uiGroup Dashboard Properties
7483
+ * @uiWidget textArea
7484
+ */
7485
+ this.dashboard_w9RequiredButtonText = "Submit W-9";
7486
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7487
+ GENERAL PROPS:
7488
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7489
+ /**
7490
+ * @uiName Setup progress
7491
+ * @uiGroup General Form Properties
7492
+ */
7493
+ this.formStep = "Step {step} of {count}";
7494
+ /**
7495
+ * Part of the alert displayed at the top of the page.
7496
+ * @uiName Form submission error message title
7497
+ * @uiGroup General Form Properties
7498
+ * @uiWidget textArea
7499
+ */
7500
+ this.generalErrorTitle = "There was a problem submitting your information";
7501
+ /**
7502
+ * Part of the alert displayed at the top of the page.
7503
+ * @uiName Form submission error message description
7504
+ * @uiGroup General Form Properties
7505
+ * @uiWidget textArea
7506
+ */
7507
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
7508
+ /**
7509
+ * Displayed under a field that is missing required information.
7510
+ * @uiName Empty form field error message
7511
+ * @uiGroup General Form Properties
7512
+ */
7513
+ this.fieldRequiredError = "{fieldName} is required";
7514
+ /**
7515
+ * Displayed under a field that includes invalid characters (non-ASCII).
7516
+ * @uiName Invalid character error message
7517
+ * @uiGroup General Form Properties
7518
+ */
7519
+ this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
7520
+ /**
7521
+ * Displayed under a field when it has an invalid entry.
7522
+ * @uiName Form field error message
7523
+ * @uiGroup General Form Properties
7524
+ */
7525
+ this.fieldInvalidError = "{fieldName} is invalid";
7526
+ /**
7527
+ * @uiName Continue button label
7528
+ * @uiGroup General Form Properties
7529
+ */
7530
+ this.continueButton = "Continue";
7531
+ /**
7532
+ * @uiName Back button label
7533
+ * @uiGroup General Form Properties
7534
+ */
7535
+ this.backButton = "Back";
7536
+ /**
7537
+ * @uiName Cancel button label
7538
+ * @uiGroup General Form Properties
7539
+ */
7540
+ this.cancelButton = "Cancel";
7541
+ /**
7542
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7543
+ * @uiName Participant is a partner alert title
7544
+ * @uiGroup General Form Properties
7545
+ * @uiWidget textArea
7546
+ */
7547
+ this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
7548
+ /**
7549
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7550
+ * @uiName Participant is a partner alert description
7551
+ * @uiGroup General Form Properties
7552
+ * @uiWidget textArea
7553
+ */
7554
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
7555
+ /**
7556
+ * Placeholder text displayed in the country search dropdown
7557
+ * @uiName Country field placeholder text
7558
+ * @uiGroup General Form Properties
7559
+ */
7560
+ this.searchForCountryText = "Search for country..";
7561
+ /**
7562
+ * Part of the alert displayed at the top of the page.
7563
+ * @uiName Page load error message title
7564
+ * @uiGroup General Form Properties
7565
+ * @uiWidget textArea
7566
+ */
7567
+ this.loadingErrorAlertHeader = "There was a problem loading your form";
7568
+ /**
7569
+ * Part of the alert displayed at the top of the page.
7570
+ * @uiName Page load error message description
7571
+ * @uiGroup General Form Properties
7572
+ * @uiWidget textArea
7573
+ */
7574
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
7575
+ /**
7576
+ * Displayed at the top of the page on all set up steps.
7577
+ * @uiName Page description
7578
+ * @uiGroup General Form Properties
7579
+ */
7580
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
7581
+ /**
7582
+ * Link text for contacting support team
7583
+ * @uiName Suport link text
7584
+ * @uiGroup General Form Properties
7585
+ */
7586
+ this.supportLink = "support team";
7587
+ /**
7588
+ * Link text for Terms and Conditions
7589
+ * @uiName Terms and Conditions text
7590
+ * @uiGroup General Form Properties
7591
+ */
7592
+ this.termsAndConditions = "Terms and Conditions";
7593
+ /**
7594
+ *
7595
+ * @undocumented
7596
+ * @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
7597
+ * @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
7598
+ * @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
7599
+ * @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
7600
+ * @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
7601
+ */
7602
+ this.stateController = "{}";
7603
+ h(this);
7604
+ }
7605
+ disconnectedCallback() { }
7606
+ // this field is required prop
7607
+ getGeneralStepTextProps(prefix) {
7608
+ const props = getProps(this);
7609
+ return {
7610
+ ...extractProps(props, prefix),
7611
+ generalErrorTitle: props.generalErrorTitle,
7612
+ generalErrorDescription: props.generalErrorDescription,
7613
+ fieldRequiredError: props.fieldRequiredError,
7614
+ invalidCharacterError: props.invalidCharacterError,
7615
+ fieldInvalidError: props.fieldInvalidError,
7616
+ continueButton: props.continueButton,
7617
+ backButton: props.backButton,
7618
+ cancelButton: props.cancelButton,
7619
+ isPartnerAlertHeader: props.isPartnerAlertHeader,
7620
+ isPartnerAlertDescription: props.isPartnerAlertDescription,
7621
+ loadingErrorAlertHeader: props.loadingErrorAlertHeader,
7622
+ loadingErrorAlertDescription: props.loadingErrorAlertDescription,
7623
+ taxAndPayoutsDescription: props.taxAndPayoutsDescription,
7624
+ searchForCountryText: props.searchForCountryText,
7625
+ formStep: props.formStep,
7626
+ supportLink: props.supportLink,
7627
+ };
7628
+ }
7629
+ render() {
7630
+ var _a, _b;
7631
+ const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
7632
+ // @ts-ignore
7633
+ if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
7634
+ const textProps = getProps(this);
7635
+ return (h$1("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
7636
+ if (prop === "demoData")
7637
+ return;
7638
+ return (h$1("div", null, h$1("b", null, prop, ":"), " ", this[prop], h$1("hr", null)));
7639
+ })));
7640
+ }
7641
+ switch (props.step) {
7642
+ case "/1":
7643
+ return (h$1("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
7644
+ case "/2":
7645
+ return (h$1("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
7646
+ case "/3":
7647
+ return (h$1("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
7648
+ case "/4":
7649
+ return (h$1("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
7650
+ case "/dashboard":
7651
+ return (h$1("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
7652
+ case "/error":
7653
+ return (h$1(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
7654
+ id: "loadingErrorAlertDescription",
7655
+ defaultMessage: this.loadingErrorAlertDescription,
7656
+ }, {
7657
+ supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
7658
+ }) }));
7659
+ }
7660
+ return h$1(LoadingView, null);
7661
+ }
7662
+ };
7663
+ function useDemoTaxAndCash(props) {
7664
+ const [step, setStep] = In({
7665
+ namespace: TAX_CONTEXT_NAMESPACE,
7666
+ initialValue: "/1",
7667
+ });
7668
+ const states = parseStates(props.stateController);
7669
+ const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
7670
+ ? { ...prev, ...states[key] }
7671
+ : { ...prev, [`${key}_stateController`]: states[key] }, {});
7672
+ return cjs({
7673
+ step,
7674
+ setStep,
7675
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
7676
+ }
7677
+
6382
7678
  const Timeline = class {
6383
7679
  constructor(hostRef) {
6384
7680
  registerInstance(this, hostRef);
@@ -6574,4 +7870,4 @@ function useUserNameDemo(props) {
6574
7870
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6575
7871
  }
6576
7872
 
6577
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalForgotPassword as sqm_portal_forgot_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
7873
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalForgotPassword as sqm_portal_forgot_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };