@adyen/kyc-components 4.7.2 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1787) hide show
  1. package/dist/4-people-7MltvEnk.js +35 -0
  2. package/dist/AD-D_B1KZm9.js +15 -0
  3. package/dist/AE-iKPgRx_9.js +17 -0
  4. package/dist/AI-CYjWGBKT.js +19 -0
  5. package/dist/AL-D62C5Lpk.js +19 -0
  6. package/dist/AR-BOgSvtgP.js +19 -0
  7. package/dist/AS-Cg8Vujpc.js +17 -0
  8. package/dist/AT-CCRMRifN.js +19 -0
  9. package/dist/AT-D3H5WGY3.js +15 -0
  10. package/dist/AT-DMpxSE4g.js +19 -0
  11. package/dist/AT-Doe66WxQ.js +16 -0
  12. package/dist/AU-B77DgHQb.js +16 -0
  13. package/dist/AU-BcSu8pI2.js +20 -0
  14. package/dist/AU-CiWB9qh-.js +11 -0
  15. package/dist/AU-DAfj7Z58.js +18 -0
  16. package/dist/AX-CG8iviap.js +15 -0
  17. package/dist/AZ-DIB7CvVN.js +19 -0
  18. package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +651 -0
  19. package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +6 -0
  20. package/dist/Accordion-Dmrb3-v6.js +111 -0
  21. package/dist/AccountSetupRejected-DkwJLZ-8.js +20 -0
  22. package/dist/ActionBar-ITEbcxgG.js +33 -0
  23. package/dist/Address-CnQ22ndb.js +595 -0
  24. package/dist/Alert-BER6uCP8.js +170 -0
  25. package/dist/Avatar-DElKUUVp.js +54 -0
  26. package/dist/BA-C4vH4-x6.js +19 -0
  27. package/dist/BE-BvtnaSSH.js +15 -0
  28. package/dist/BE-DJM3cj-R.js +11 -0
  29. package/dist/BE-Dtk1wvHk.js +12 -0
  30. package/dist/BE-Sbwjfh5h.js +11 -0
  31. package/dist/BG-DvFE-fU3.js +19 -0
  32. package/dist/BH-Bm_tXC8b.js +19 -0
  33. package/dist/BM-BPYI-Bk0.js +19 -0
  34. package/dist/BR-CRGYlRY-.js +18 -0
  35. package/dist/BR-CwJ6YXMX.js +23 -0
  36. package/dist/BR-DdZm-FhP.js +15 -0
  37. package/dist/BR-DjC4dRH8.js +20 -0
  38. package/dist/BS-DEbfM7Fg.js +19 -0
  39. package/dist/BV-LqWIWEV5.js +19 -0
  40. package/dist/BY-Dw4W1isS.js +19 -0
  41. package/dist/BusinessFinancingDropin-B8ZJDKWU.js +1796 -0
  42. package/dist/BusinessFinancingPage-B2EuTX1b.js +87 -0
  43. package/dist/BusinessTypeSelectionPage-CChAObkr.js +439 -0
  44. package/dist/Button-DvWt5T9O.js +189 -0
  45. package/dist/CA-CQtjbUjU.js +16 -0
  46. package/dist/CA-Cwit937J.js +18 -0
  47. package/dist/CA-D0ezsmfN.js +10 -0
  48. package/dist/CA-PLMbc5uq.js +17 -0
  49. package/dist/CH-Baaufs8O.js +15 -0
  50. package/dist/CH-D9S1IpBs.js +11 -0
  51. package/dist/CH-DPLfVgsE.js +15 -0
  52. package/dist/CH-DnoWGcl9.js +11 -0
  53. package/dist/CN-Bx6shvCX.js +19 -0
  54. package/dist/CR-CgM7Uut3.js +19 -0
  55. package/dist/CY-CxBi1s-O.js +15 -0
  56. package/dist/CZ-B3oiWDug.js +15 -0
  57. package/dist/CZ-B8nb2PxI.js +16 -0
  58. package/dist/CZ-CbWqKLbR.js +19 -0
  59. package/dist/CZ-DS5YfhO9.js +27 -0
  60. package/dist/Card-vYndix5Y.js +70 -0
  61. package/dist/Checkbox-BCYjFPa4.js +55 -0
  62. package/dist/Confirm-BmiOH3Vr.js +76 -0
  63. package/dist/ConstitutionalDocument-rRO4Qdx2.js +2228 -0
  64. package/dist/ContactDetails-tVqSDGqY.js +292 -0
  65. package/dist/ContextGuidance-DKKgj5gN.js +29 -0
  66. package/dist/ContractViewer-zPVipxCC.js +987 -0
  67. package/dist/CountryField-s5-jZTU9.js +38 -0
  68. package/dist/Currency-gYKD3DSx.js +191 -0
  69. package/dist/CustomerSupport-kwwKDe5a.js +127 -0
  70. package/dist/DE-BOCSw-Jn.js +23 -0
  71. package/dist/DE-NkKgh0-y.js +15 -0
  72. package/dist/DE-SZPlEjww.js +20 -0
  73. package/dist/DE-hCefE4qL.js +20 -0
  74. package/dist/DK-CB_26cPx.js +27 -0
  75. package/dist/DK-CO2QUqp2.js +19 -0
  76. package/dist/DK-CikJtsBF.js +15 -0
  77. package/dist/DK-DAYxZyrn.js +18 -0
  78. package/dist/DO-DWjKCR-x.js +19 -0
  79. package/dist/DebugModal-COszvbWk.js +451 -0
  80. package/dist/DecisionMakerDetails-DA9upL0W.js +471 -0
  81. package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +105 -0
  82. package/dist/DecisionMakers-BZRkBx5n.js +670 -0
  83. package/dist/DetailViewLayout-Cz3FVZ5a.js +68 -0
  84. package/dist/Divider-CrK4vlsJ.js +11 -0
  85. package/dist/DropinLayout-Ce8IeTl4.js +22 -0
  86. package/dist/Dropzone-By_YOrv2.js +221 -0
  87. package/dist/EC-CCGvbVWA.js +20 -0
  88. package/dist/EE-DebeWn2E.js +15 -0
  89. package/dist/ES-Bf5fpQJJ.js +24 -0
  90. package/dist/ES-D2CBh7YF.js +19 -0
  91. package/dist/ES-DXLZWZXA.js +15 -0
  92. package/dist/ES-m71Tl7fE.js +15 -0
  93. package/dist/EmbeddedStatus-DeSYswbC.js +128 -0
  94. package/dist/EndStateLayout-CR8wHeA1.js +84 -0
  95. package/dist/EntityAssociation-CKOd_SVw.js +163 -0
  96. package/dist/EntityGuidanceStatus-C_rpRyk4.js +89 -0
  97. package/dist/ErrorPanel-4juOd8Z2.js +186 -0
  98. package/dist/FI-Cbz5-l9v.js +10 -0
  99. package/dist/FI-Clx-zbKe.js +15 -0
  100. package/dist/FI-L14G4S91.js +11 -0
  101. package/dist/FI-_CR_F2Ml.js +12 -0
  102. package/dist/FJ-BKLmDeVh.js +19 -0
  103. package/dist/FO-D7VnFgWu.js +19 -0
  104. package/dist/FR-D2lGCnJC.js +16 -0
  105. package/dist/FR-D2zQy3jq.js +15 -0
  106. package/dist/FR-DwVflgGw.js +15 -0
  107. package/dist/FR-wqLTqKJj.js +23 -0
  108. package/dist/Field-C2ZpB0wo.js +155 -0
  109. package/dist/FormNavigation-IqQmylMk.js +116 -0
  110. package/dist/GB-BX3mPDDS.js +27 -0
  111. package/dist/GB-CIqAOZg5.js +24 -0
  112. package/dist/GB-CVb-Rw8a.js +18 -0
  113. package/dist/GB-DD4csU-b.js +11 -0
  114. package/dist/GE-D02s-9eo.js +19 -0
  115. package/dist/GF-BcHxbxvv.js +15 -0
  116. package/dist/GG-C3cx2hzZ.js +27 -0
  117. package/dist/GI-D_DZhrwe.js +35 -0
  118. package/dist/GL-BUOXwUJ0.js +19 -0
  119. package/dist/GP-CmZCjGab.js +15 -0
  120. package/dist/GR-BxjWJl4T.js +15 -0
  121. package/dist/GT-C_l7WI2f.js +19 -0
  122. package/dist/GU-7zSp4NP8.js +17 -0
  123. package/dist/HK-D5lgUGIW.js +10 -0
  124. package/dist/HK-DXmjOLnc.js +17 -0
  125. package/dist/HK-Dc3v2ZB0.js +18 -0
  126. package/dist/HK-dz43_PmR.js +15 -0
  127. package/dist/HR-BvWaw8qz.js +15 -0
  128. package/dist/HR-ChipU8Kr.js +15 -0
  129. package/dist/HR-D3ZZV7I7.js +19 -0
  130. package/dist/HR-SfBt4kaq.js +15 -0
  131. package/dist/HU-1UX4rgmz.js +10 -0
  132. package/dist/HU-9NTdjUUV.js +26 -0
  133. package/dist/HU-CzI3Elvd.js +19 -0
  134. package/dist/HU-wpmPNNka.js +11 -0
  135. package/dist/HandlerContext-CIedIvkP.js +9 -0
  136. package/dist/Header-BNb1zwkF.js +93 -0
  137. package/dist/ID-O2T9tbLO.js +19 -0
  138. package/dist/IE-CRaBXxhc.js +18 -0
  139. package/dist/IE-Cw9l0506.js +15 -0
  140. package/dist/IE-DWpH_5Cq.js +10 -0
  141. package/dist/IE-OqeqXlhV.js +20 -0
  142. package/dist/IL-1hVGBOhQ.js +15 -0
  143. package/dist/IM-B1t_Q0mE.js +27 -0
  144. package/dist/IN-BAGr7C88.js +20 -0
  145. package/dist/IS-C97KS-Cn.js +19 -0
  146. package/dist/IT-Bqf_SGsX.js +19 -0
  147. package/dist/IT-GLNikVmY.js +19 -0
  148. package/dist/IT-PBgScy3E.js +15 -0
  149. package/dist/IT-b5Hsdl6Z.js +15 -0
  150. package/dist/Image-BTVEK7B2.js +33 -0
  151. package/dist/Individual.rules-B3pCow6J.js +295 -0
  152. package/dist/IndividualDropin-bFgrHziM.js +4946 -0
  153. package/dist/InputDate-XX9jaw9v.js +52 -0
  154. package/dist/InputGroup-2FJnD0LO.js +21 -0
  155. package/dist/InputText-C30dZxS4.js +119 -0
  156. package/dist/Introduction-BRwmMwP8.js +271 -0
  157. package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +6 -0
  158. package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +353 -0
  159. package/dist/JE-D9zaTrAY.js +27 -0
  160. package/dist/JM-6zLyaeVi.js +19 -0
  161. package/dist/JO-BdNdFHnL.js +19 -0
  162. package/dist/JP-znYbtZMc.js +20 -0
  163. package/dist/JpAddress-DcrYSdH2.js +319 -0
  164. package/dist/KR-xcUi-9h2.js +19 -0
  165. package/dist/KW-3DCYRJ53.js +19 -0
  166. package/dist/KY-CCApxZ6r.js +19 -0
  167. package/dist/KZ-Cqr8yPqY.js +19 -0
  168. package/dist/LB-R74h2pUy.js +19 -0
  169. package/dist/LI-D9H9hvDG.js +15 -0
  170. package/dist/LT-CDQI5_NM.js +15 -0
  171. package/dist/LT-COGUxKB6.js +19 -0
  172. package/dist/LT-DkKeNYqC.js +16 -0
  173. package/dist/LT-Dq5I_vLb.js +11 -0
  174. package/dist/LU-B7-x8Llo.js +15 -0
  175. package/dist/LV-DAzwuNGM.js +15 -0
  176. package/dist/LandingLayout-BQZNXhZ_.js +76 -0
  177. package/dist/LegalCompanyNameField-D91em8Tk.js +108 -0
  178. package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +73 -0
  179. package/dist/Link-DKiaZfxB.js +32 -0
  180. package/dist/List-DLrcpMVd.js +71 -0
  181. package/dist/ListItem-zVPVQbER.js +70 -0
  182. package/dist/LoaderWrapper-DWKykOjd.js +34 -0
  183. package/dist/MC-DYg2Ld6N.js +15 -0
  184. package/dist/MD-BSGq8uEc.js +19 -0
  185. package/dist/ME-CMYolexb.js +19 -0
  186. package/dist/MK-KXTP17uw.js +19 -0
  187. package/dist/MP-CJH5I9LN.js +17 -0
  188. package/dist/MQ-B-Nxd16T.js +15 -0
  189. package/dist/MR-9gjgEzl5.js +19 -0
  190. package/dist/MT-DCvbkYrX.js +15 -0
  191. package/dist/MU-CVDBPgAP.js +19 -0
  192. package/dist/MX-B8dPVdJo.js +17 -0
  193. package/dist/MY-DcfNGXIG.js +16 -0
  194. package/dist/MaskedInput-zFUBaX87.js +714 -0
  195. package/dist/MaybeModal-Dsgozf1o.js +24 -0
  196. package/dist/Modal-UfgpuJZi.js +129 -0
  197. package/dist/NC-DQQUjrGe.js +19 -0
  198. package/dist/NL-Bu5_sjR1.js +14 -0
  199. package/dist/NL-CMB4A6y3.js +15 -0
  200. package/dist/NL-DQR9Rrua.js +12 -0
  201. package/dist/NL-McMEOXeg.js +19 -0
  202. package/dist/NO-C1lR0Cpn.js +14 -0
  203. package/dist/NO-CKPHTYW8.js +16 -0
  204. package/dist/NO-DAvhrELf.js +26 -0
  205. package/dist/NO-Pppylsvl.js +19 -0
  206. package/dist/NZ-BLYvv2PK.js +10 -0
  207. package/dist/NZ-BuvPkC2r.js +11 -0
  208. package/dist/Name-DC5eBwEU.js +61 -0
  209. package/dist/NewSummary-DVIIH1Ml.js +64 -0
  210. package/dist/PE-J7zWKbQ3.js +19 -0
  211. package/dist/PF-CQvMXWIc.js +19 -0
  212. package/dist/PH-CsAkleLZ.js +19 -0
  213. package/dist/PK-pnVCB70L.js +19 -0
  214. package/dist/PL-BIkD7ly2.js +19 -0
  215. package/dist/PL-Cfpb3P4Y.js +19 -0
  216. package/dist/PL-D6iB2qQS.js +15 -0
  217. package/dist/PL-DdsUKlRx.js +26 -0
  218. package/dist/PM-DXhRSYlY.js +15 -0
  219. package/dist/PR-BJTR9010.js +17 -0
  220. package/dist/PS-Bb7ensjm.js +19 -0
  221. package/dist/PT-Bqv36Ez0.js +15 -0
  222. package/dist/PT-DMau-7AE.js +19 -0
  223. package/dist/PT-D_mzbSbR.js +15 -0
  224. package/dist/PT-iBbOYasm.js +16 -0
  225. package/dist/PayoutDetailsDropin-DAUlhP1c.js +3909 -0
  226. package/dist/PayoutDetailsPage-mJE3Hgy9.js +857 -0
  227. package/dist/ProgressBar-BlxQvN7D.js +38 -0
  228. package/dist/QA-Cya8smAe.js +19 -0
  229. package/dist/RE-DV-Olrl9.js +15 -0
  230. package/dist/RO-7ngAIZ4E.js +15 -0
  231. package/dist/RO-D29rc5pZ.js +11 -0
  232. package/dist/RO-JvqtRH2p.js +11 -0
  233. package/dist/RO-Nqdvv0rk.js +19 -0
  234. package/dist/RS-Bdspw_Te.js +19 -0
  235. package/dist/RU-2VREcND8.js +19 -0
  236. package/dist/Radio-D6uF9-cu.js +21 -0
  237. package/dist/RadioGroup-Bi9v9dZu.js +71 -0
  238. package/dist/Review-C-B_R1FH.js +89 -0
  239. package/dist/RootBusinessDetailsPage-9ccBcunp.js +67 -0
  240. package/dist/RootBusinessLinesPage-LQptA58p.js +1451 -0
  241. package/dist/RootIndividualDetailsPage-DlzHpNEn.js +81 -0
  242. package/dist/SA-ONrtr4dq.js +19 -0
  243. package/dist/SE-Bp9QG9OZ.js +10 -0
  244. package/dist/SE-CfwjGhj2.js +27 -0
  245. package/dist/SE-CjCMy1R-.js +12 -0
  246. package/dist/SE-CspSL4-O.js +19 -0
  247. package/dist/SG-BSxtCx98.js +18 -0
  248. package/dist/SG-Bx4a8mSG.js +11 -0
  249. package/dist/SG-Cte5jgnm.js +16 -0
  250. package/dist/SG-W9jzYBBR.js +19 -0
  251. package/dist/SI-CjPVM480.js +14 -0
  252. package/dist/SI-ClAvsgGs.js +12 -0
  253. package/dist/SI-D_WmP1xi.js +19 -0
  254. package/dist/SI-DuER-ftQ.js +15 -0
  255. package/dist/SJ-DRle19p-.js +19 -0
  256. package/dist/SK-BXY1VMKv.js +19 -0
  257. package/dist/SK-CFssz9bO.js +15 -0
  258. package/dist/SK-CP4lBBly.js +10 -0
  259. package/dist/SK-KhQnqXtK.js +16 -0
  260. package/dist/SM-v_4Yc2mM.js +15 -0
  261. package/dist/Select-DDSua27l.js +775 -0
  262. package/dist/SignPCIComponent-DGWjjIO0.js +367 -0
  263. package/dist/SignPCIComponent-DvZAN38F.js +6 -0
  264. package/dist/SingpassSelection-PepG3R0o.js +244 -0
  265. package/dist/SoleProprietorshipPage-DnThw6us.js +69 -0
  266. package/dist/SourceOfFundsPage-CuIBGc8z.js +1987 -0
  267. package/dist/Spacer-_Y17BH-4.js +11 -0
  268. package/dist/StackLayout-Bhbj68nx.js +105 -0
  269. package/dist/StateContext-BToC3V53.js +9 -0
  270. package/dist/StepProgressIndicator-CzDT61ie.js +80 -0
  271. package/dist/StructuredList-w0Z2zLTk.js +56 -0
  272. package/dist/Summary-B8AA9_C_.js +226 -0
  273. package/dist/TF-BhrG4wMf.js +19 -0
  274. package/dist/TH-Dnjjl0vl.js +20 -0
  275. package/dist/TL-DV3_HDbD.js +19 -0
  276. package/dist/TN-CvaVweYw.js +19 -0
  277. package/dist/TR-BAvGXlpl.js +19 -0
  278. package/dist/TT-DRIx1q2s.js +20 -0
  279. package/dist/TW-DRf29Guu.js +21 -0
  280. package/dist/Tag-BUoDHC4C.js +39 -0
  281. package/dist/TaskVerificationStatus-UnhKHQYu.js +118 -0
  282. package/dist/TaxInformationField-zwmzV8Ov.js +2830 -0
  283. package/dist/TaxReportingDropin-BZ67pubt.js +480 -0
  284. package/dist/TextArea-CyATBUKN.js +80 -0
  285. package/dist/TileGroup-tVHAZBni.js +169 -0
  286. package/dist/ToastContext-Cx99hkTh.js +13 -0
  287. package/dist/ToastContextProvider-BWJct14f.js +103 -0
  288. package/dist/TrustDetailsPage-DLIvcoSr.js +1685 -0
  289. package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +107 -0
  290. package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +107 -0
  291. package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +943 -0
  292. package/dist/TrustMembersOverview-CZ-i1Yoq.js +350 -0
  293. package/dist/UA-Ba88l6Xd.js +19 -0
  294. package/dist/US-CKehaXnS.js +10 -0
  295. package/dist/US-Df5L2r8F.js +18 -0
  296. package/dist/US-QONZX-gV.js +23 -0
  297. package/dist/US-m2RymYgz.js +17 -0
  298. package/dist/UY-C7OqeI1W.js +19 -0
  299. package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +78 -0
  300. package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +78 -0
  301. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +276 -0
  302. package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +156 -0
  303. package/dist/VA-kEhphxOY.js +15 -0
  304. package/dist/VG-9RtXQCNA.js +19 -0
  305. package/dist/VI-Dtn9fHsy.js +17 -0
  306. package/dist/VN-CQ52lXXR.js +19 -0
  307. package/dist/VerificationErrorAlert-C_9CLF8G.js +38 -0
  308. package/dist/WF-D5AVATSv.js +19 -0
  309. package/dist/YT-B9qrlCqK.js +15 -0
  310. package/dist/ZA-CZ_c0XHc.js +20 -0
  311. package/dist/_rolldown_dynamic_import_helper-rq_tsyLP.js +14 -0
  312. package/dist/accountHolderUtils-BYe8xPFy.js +44 -0
  313. package/dist/adyen-business-financing.js +172 -66
  314. package/dist/adyen-individual-configuration.js +186 -59
  315. package/dist/adyen-individual-status.js +104 -45
  316. package/dist/adyen-invited-decision-maker.js +38 -42
  317. package/dist/adyen-onboarding.js +2465 -55
  318. package/dist/adyen-terms-of-service-management.js +58 -64
  319. package/dist/adyen-terms-of-service-status.js +138 -45
  320. package/dist/adyen-transfer-instrument-configuration.js +176 -74
  321. package/dist/adyen-transfer-instrument-management.js +409 -59
  322. package/dist/adyen-verification-status.js +234 -80
  323. package/dist/arrow-right-BzximXQd.js +20 -0
  324. package/dist/bafinUtils-kBPs58Au.js +68 -0
  325. package/dist/bag-CV-7aEOY.js +20 -0
  326. package/dist/bank-B3QWGDvh.js +20 -0
  327. package/dist/basePatterns-VqSYMnkh.js +8 -0
  328. package/dist/bg-BG-B59ND_11.js +59 -0
  329. package/dist/bg-BG-B67nlf6n.js +31 -0
  330. package/dist/bg-BG-BxkwIoTQ.js +69 -0
  331. package/dist/bg-BG-C0wzRs18.js +7 -0
  332. package/dist/bg-BG-CN_UREwh.js +23 -0
  333. package/dist/bg-BG-Ckeu3dBt.js +26 -0
  334. package/dist/bg-BG-D2t5UzpH.js +70 -0
  335. package/dist/bg-BG-DQPBlfB6.js +18 -0
  336. package/dist/bg-BG-DeVGTTeO.js +7 -0
  337. package/dist/bg-BG-DnMyf-n3.js +48 -0
  338. package/dist/bg-BG-DqWeAqky.js +57 -0
  339. package/dist/bg-BG-sDNpvadv.js +7 -0
  340. package/dist/bg-BG-xv1T8Cru.js +7 -0
  341. package/dist/bg-BG-ymvx5WWi.js +7 -0
  342. package/dist/bin-Nm57SUCy.js +30 -0
  343. package/dist/birthDateUtils-C686KOxO.js +82 -0
  344. package/dist/business-lines-BYTyy_mD.js +554 -0
  345. package/dist/capital-BIrjrei_.js +23 -0
  346. package/dist/cash-stack-q8jqAQnj.js +33 -0
  347. package/dist/certificate-BA32wlVD.js +23 -0
  348. package/dist/checkmark-Sx0Eq9g1.js +20 -0
  349. package/dist/checkmark-circle-D25SXuEg.js +28 -0
  350. package/dist/checkmark-circle-fill-DWyHVNKM.js +30 -0
  351. package/dist/checkmark-small-BYKwXmot.js +20 -0
  352. package/dist/chevron-down-BY9NvSX2.js +20 -0
  353. package/dist/chevron-left-1TeIr8LI.js +20 -0
  354. package/dist/chevron-right-D3ORtAcK.js +20 -0
  355. package/dist/chevron-up-DSUlaHcZ.js +20 -0
  356. package/dist/circle-BLLy-RH7.js +30 -0
  357. package/dist/circle-small-filled-C_6B84Iy.js +20 -0
  358. package/dist/clock-lHMbm7lZ.js +28 -0
  359. package/dist/coins-DM30OZR2.js +30 -0
  360. package/dist/commonValidators-DCdet-gH.js +18 -0
  361. package/dist/company-types-value-BYTAKfjo.js +17 -0
  362. package/dist/contract-CHdRrIxe.js +20 -0
  363. package/dist/countries-BuZ6_X95.js +41 -0
  364. package/dist/country-COrdWGaq.js +13 -0
  365. package/dist/country-code-CX5KqMBr.js +284 -0
  366. package/dist/cross-circle-fill-CmXERg4H.js +30 -0
  367. package/dist/cross-circle-fill-small-CMz7hV-a.js +20 -0
  368. package/dist/cross-eL7Kqv7I.js +20 -0
  369. package/dist/cs-CZ-B0PS89aw.js +7 -0
  370. package/dist/cs-CZ-BJQndp5g.js +18 -0
  371. package/dist/cs-CZ-BSCmFoe-.js +70 -0
  372. package/dist/cs-CZ-BkegBLH0.js +7 -0
  373. package/dist/cs-CZ-Cf3RE2Kz.js +69 -0
  374. package/dist/cs-CZ-CgD-Dni9.js +48 -0
  375. package/dist/cs-CZ-D0tlzysb.js +57 -0
  376. package/dist/cs-CZ-DNo3i13i.js +59 -0
  377. package/dist/cs-CZ-DerpXyW7.js +26 -0
  378. package/dist/cs-CZ-DoyjAWTB.js +7 -0
  379. package/dist/cs-CZ-DzvqR4Si.js +7 -0
  380. package/dist/cs-CZ-EALbGC0P.js +23 -0
  381. package/dist/cs-CZ-nVt_3Wsc.js +31 -0
  382. package/dist/cs-CZ-y--aL5tG.js +7 -0
  383. package/dist/currency-DNgyvN7z.js +29 -0
  384. package/dist/da-DK-B_qoG-tX.js +48 -0
  385. package/dist/da-DK-Bdp8gkhn.js +23 -0
  386. package/dist/da-DK-BpC27U0O.js +7 -0
  387. package/dist/da-DK-C-6cZEqg.js +59 -0
  388. package/dist/da-DK-CLzpAJZX.js +7 -0
  389. package/dist/da-DK-Cu2Bi6Q7.js +31 -0
  390. package/dist/da-DK-DFjTxgfg.js +7 -0
  391. package/dist/da-DK-DSrFDOG3.js +57 -0
  392. package/dist/da-DK-DbpZoBrp.js +18 -0
  393. package/dist/da-DK-DcplyxCd.js +70 -0
  394. package/dist/da-DK-DgFOdais.js +69 -0
  395. package/dist/da-DK-d-G4WSG9.js +7 -0
  396. package/dist/da-DK-gVDOt4Mx.js +26 -0
  397. package/dist/da-DK-niSqcowC.js +7 -0
  398. package/dist/datasetUtil-Zd4TCTDn.js +45 -0
  399. package/dist/de-DE-4UdLDq_d.js +59 -0
  400. package/dist/de-DE-BVoU3x7q.js +26 -0
  401. package/dist/de-DE-BX0mu_5B.js +7 -0
  402. package/dist/de-DE-BsZOOvbi.js +7 -0
  403. package/dist/de-DE-Bsrf1Qk-.js +7 -0
  404. package/dist/de-DE-CJAVduiD.js +70 -0
  405. package/dist/de-DE-CPjVxwLK.js +69 -0
  406. package/dist/de-DE-CSfZ-fLe.js +23 -0
  407. package/dist/de-DE-Ccbobm6F.js +18 -0
  408. package/dist/de-DE-DLpDehXu.js +48 -0
  409. package/dist/de-DE-DXLRcNXw.js +57 -0
  410. package/dist/de-DE-KXIXcUTs.js +7 -0
  411. package/dist/de-DE-Qs8eQGQS.js +31 -0
  412. package/dist/de-DE-jwrvfE6B.js +7 -0
  413. package/dist/de-DE-zVrwBFVP.js +7 -0
  414. package/dist/debouncedInputEvent-Dxv4-RAv.js +54 -0
  415. package/dist/debugStore-bZ_bkJeS.js +9 -0
  416. package/dist/decision-maker-type-Cow3CpUd.js +12 -0
  417. package/dist/decision-makers-group-Cof9scJd.js +4169 -0
  418. package/dist/decisionMaker-j9cwyXuS.js +146 -0
  419. package/dist/decisionMakerRoles-CAy-eeNV.js +45 -0
  420. package/dist/digital-wallet-BXDAhThn.js +163 -0
  421. package/dist/document-1-CAkgmlsx.js +20 -0
  422. package/dist/document-blurred-LCBsN2NC.js +116 -0
  423. package/dist/document-cut-off-wsPtcq1x.js +116 -0
  424. package/dist/document-expired-CvTJKcZr.js +160 -0
  425. package/dist/document-front-BHCo0w58.js +113 -0
  426. package/dist/document-person-BMqoEMgx.js +28 -0
  427. package/dist/download-CUCb0PT7.js +23 -0
  428. package/dist/dropinUtils-FIEFyS0F.js +275 -0
  429. package/dist/edit-1-DqX_7cbs.js +20 -0
  430. package/dist/el-GR-B08o_Wr7.js +59 -0
  431. package/dist/el-GR-B1VnihMi.js +69 -0
  432. package/dist/el-GR-BUGibSyd.js +26 -0
  433. package/dist/el-GR-BV0tj_MA.js +7 -0
  434. package/dist/el-GR-C-HtCTGV.js +57 -0
  435. package/dist/el-GR-C5lpMpmF.js +7 -0
  436. package/dist/el-GR-C7o9YGzw.js +23 -0
  437. package/dist/el-GR-CDp-bn0j.js +7 -0
  438. package/dist/el-GR-CN3HrU9J.js +70 -0
  439. package/dist/el-GR-CNDZGVN3.js +31 -0
  440. package/dist/el-GR-D9AagIjI.js +18 -0
  441. package/dist/el-GR-DRbd6eXu.js +7 -0
  442. package/dist/el-GR-DZuLkaBp.js +48 -0
  443. package/dist/el-GR-Doj3UHZu.js +7 -0
  444. package/dist/el-GR-DvgAQImQ.js +7 -0
  445. package/dist/emitEvent-B8K0cb1F.js +35 -0
  446. package/dist/en-US-3j1Js4vT.js +70 -0
  447. package/dist/en-US-B3MAOxZH.js +7 -0
  448. package/dist/en-US-BWMrfrd7.js +31 -0
  449. package/dist/en-US-Bg9gdBEC.js +7 -0
  450. package/dist/en-US-BgLFeko-.js +18 -0
  451. package/dist/en-US-C81RZMm3.js +76 -0
  452. package/dist/en-US-CEBexxFl.js +23 -0
  453. package/dist/en-US-CnVk6lVt.js +212 -0
  454. package/dist/en-US-CwN7_Z6A.js +60 -0
  455. package/dist/en-US-Cwp_kAIu.js +57 -0
  456. package/dist/en-US-D1y6M9AI.js +116 -0
  457. package/dist/en-US-D6psKu6Y.js +26 -0
  458. package/dist/en-US-D8jS6G6S.js +10 -0
  459. package/dist/en-US-DH-5G1L0.js +7 -0
  460. package/dist/en-US-DqbNEPfm.js +7 -0
  461. package/dist/en-US-IxvcS3bq.js +7 -0
  462. package/dist/en-US-RJmb2nTR.js +69 -0
  463. package/dist/en-US-Rnj0uOlI.js +40 -0
  464. package/dist/en-US-hCtMObDn.js +196 -0
  465. package/dist/en-US-jcuu40kx.js +48 -0
  466. package/dist/en-US-rEquAkrM.js +60 -0
  467. package/dist/en-US.instructions-Bh8SYzc5.js +7 -0
  468. package/dist/en-US.instructions-C5xXRJDu.js +16 -0
  469. package/dist/entityAssociationUtil-BEzUdPbm.js +97 -0
  470. package/dist/es-ES-8AtDNr6X.js +18 -0
  471. package/dist/es-ES-B7uIo7kE.js +23 -0
  472. package/dist/es-ES-B9kTevXB.js +59 -0
  473. package/dist/es-ES-BJfw2diu.js +7 -0
  474. package/dist/es-ES-B_kBpFxZ.js +7 -0
  475. package/dist/es-ES-BkeAb5PG.js +7 -0
  476. package/dist/es-ES-Bwj2MUyM.js +69 -0
  477. package/dist/es-ES-CHyhM1uh.js +7 -0
  478. package/dist/es-ES-CLr_KwxQ.js +7 -0
  479. package/dist/es-ES-D-n6xoWo.js +7 -0
  480. package/dist/es-ES-D1vAd-8r.js +26 -0
  481. package/dist/es-ES-DKenRcq3.js +70 -0
  482. package/dist/es-ES-DWjfZmTj.js +31 -0
  483. package/dist/es-ES-H0DZcC1K.js +48 -0
  484. package/dist/es-ES-hX5WUfzS.js +57 -0
  485. package/dist/et-EE-BSAr_xVc.js +31 -0
  486. package/dist/et-EE-BcWPn7Cl.js +7 -0
  487. package/dist/et-EE-BnDOa_4e.js +7 -0
  488. package/dist/et-EE-CNNN-M_x.js +18 -0
  489. package/dist/et-EE-CWGint-T.js +26 -0
  490. package/dist/et-EE-CfheEJAy.js +7 -0
  491. package/dist/et-EE-Cs__RUB9.js +48 -0
  492. package/dist/et-EE-DmlaKK4B.js +57 -0
  493. package/dist/et-EE-DsLOML8r.js +70 -0
  494. package/dist/et-EE-Du3REm6O.js +7 -0
  495. package/dist/et-EE-GTXnG-3j.js +59 -0
  496. package/dist/et-EE-Mp-OiQL2.js +69 -0
  497. package/dist/et-EE-SeklRCmh.js +7 -0
  498. package/dist/et-EE-_uLrdnTi.js +23 -0
  499. package/dist/external-link-V6JPH8K0.js +20 -0
  500. package/dist/fi-FI-1nGlfW_t.js +7 -0
  501. package/dist/fi-FI-80q1y1Bb.js +59 -0
  502. package/dist/fi-FI-BKXhGjNk.js +26 -0
  503. package/dist/fi-FI-BY9X2DpF.js +31 -0
  504. package/dist/fi-FI-BcXm_vtP.js +7 -0
  505. package/dist/fi-FI-BcdVq2e0.js +23 -0
  506. package/dist/fi-FI-Bx1S9eQf.js +70 -0
  507. package/dist/fi-FI-Cl1vbAPV.js +18 -0
  508. package/dist/fi-FI-DdyNwoGb.js +7 -0
  509. package/dist/fi-FI-Dy_bfWw7.js +48 -0
  510. package/dist/fi-FI-Dz25oorf.js +7 -0
  511. package/dist/fi-FI-iyr94E5r.js +57 -0
  512. package/dist/fi-FI-n4x7ZOmh.js +7 -0
  513. package/dist/fi-FI-pvpGl_6s.js +69 -0
  514. package/dist/fieldConfigurations-m7oWP1DZ.js +11 -0
  515. package/dist/file-6a0FDVyq.js +37 -0
  516. package/dist/filterProblemsByTaskForms-DwS9T-_E.js +21 -0
  517. package/dist/form-rules-CvdV5rPY.js +7 -0
  518. package/dist/formFieldsUtils-CR7j1k8e.js +7 -0
  519. package/dist/formUtils-DCvL3uZG.js +78 -0
  520. package/dist/fr-FR-ANv8VCCV.js +7 -0
  521. package/dist/fr-FR-B9xNxWia.js +31 -0
  522. package/dist/fr-FR-CDTGvZzl.js +7 -0
  523. package/dist/fr-FR-CEWcwAJ-.js +7 -0
  524. package/dist/fr-FR-CMMz7OEo.js +69 -0
  525. package/dist/fr-FR-CqbeB381.js +7 -0
  526. package/dist/fr-FR-D2Ep3xgM.js +59 -0
  527. package/dist/fr-FR-DC_PZPwP.js +18 -0
  528. package/dist/fr-FR-DKjCgBfS.js +7 -0
  529. package/dist/fr-FR-DL8mtS3r.js +57 -0
  530. package/dist/fr-FR-DcXwaT3d.js +48 -0
  531. package/dist/fr-FR-DksMI4zV.js +70 -0
  532. package/dist/fr-FR-DzjwEGsx.js +26 -0
  533. package/dist/fr-FR-Ta6QBpqt.js +23 -0
  534. package/dist/fr-FR-bqkpOtF1.js +7 -0
  535. package/dist/funds-in-04OBDLJw.js +24 -0
  536. package/dist/get-scenarios-DnCVdYIC.js +24 -0
  537. package/dist/getLegalEntityCountry-C6bSV6sB.js +17 -0
  538. package/dist/getName-Bdwp_hkV.js +35 -0
  539. package/dist/getNestedPropertyKeys-CVAsNBJ8.js +18 -0
  540. package/dist/getProblemsForEntity-Df8xJUr2.js +16 -0
  541. package/dist/getProps-CkZCnNxW.js +98 -0
  542. package/dist/getTrustedFields-UVTLadau.js +45 -0
  543. package/dist/gift-C3MzdRIj.js +20 -0
  544. package/dist/globalStore-BsvLFLDr.js +418 -0
  545. package/dist/graph-BJ7yemhR.js +32 -0
  546. package/dist/graph-up-CWzty_jt.js +38 -0
  547. package/dist/headquarter-COstZFO7.js +42 -0
  548. package/dist/hotel-C1vO2ZiV.js +33 -0
  549. package/dist/house-BfjiK4vF.js +24 -0
  550. package/dist/hr-HR-B8MiNFt0.js +7 -0
  551. package/dist/hr-HR-Bp5qQwHS.js +48 -0
  552. package/dist/hr-HR-BqNvRwoc.js +7 -0
  553. package/dist/hr-HR-C4Bv0YpX.js +59 -0
  554. package/dist/hr-HR-CBySzkSl.js +7 -0
  555. package/dist/hr-HR-CJHkB1ko.js +69 -0
  556. package/dist/hr-HR-CLRdCbY_.js +7 -0
  557. package/dist/hr-HR-CMcgajLG.js +26 -0
  558. package/dist/hr-HR-CjbJFQJu.js +7 -0
  559. package/dist/hr-HR-Ck-S-k5d.js +23 -0
  560. package/dist/hr-HR-D0Xp4lTU.js +31 -0
  561. package/dist/hr-HR-EhBzx8FM.js +57 -0
  562. package/dist/hr-HR-FHDzcIUl.js +70 -0
  563. package/dist/hr-HR-pOpa3-4-.js +18 -0
  564. package/dist/http-btI4x32X.js +148 -0
  565. package/dist/hu-HU-3a4f6Po4.js +59 -0
  566. package/dist/hu-HU-BF3I2cDh.js +69 -0
  567. package/dist/hu-HU-BOCGei6J.js +31 -0
  568. package/dist/hu-HU-Bg2UoMm1.js +7 -0
  569. package/dist/hu-HU-C-gD2scj.js +7 -0
  570. package/dist/hu-HU-Cq3L3459.js +26 -0
  571. package/dist/hu-HU-CsOzXRwg.js +7 -0
  572. package/dist/hu-HU-DG9r7Yn5.js +18 -0
  573. package/dist/hu-HU-DHZf-Z1b.js +7 -0
  574. package/dist/hu-HU-DZmGYcpb.js +57 -0
  575. package/dist/hu-HU-DZnrPw7M.js +70 -0
  576. package/dist/hu-HU-HNscNs5I.js +48 -0
  577. package/dist/hu-HU-u7Q5hZ8M.js +23 -0
  578. package/dist/hu-HU-xJ7HEjBk.js +7 -0
  579. package/dist/id-blurred-DajPeUev.js +266 -0
  580. package/dist/id-cut-off-Cg7VH88-.js +242 -0
  581. package/dist/id-front-BFiC6TLx.js +237 -0
  582. package/dist/id-glare--tl3DxTG.js +218 -0
  583. package/dist/image-Ctf24Eqr.js +23 -0
  584. package/dist/info-CKFBABlx.js +32 -0
  585. package/dist/info-filled-BtKXWmDk.js +32 -0
  586. package/dist/invalidateRootLegalEntity-BbVdQNIY.js +45 -0
  587. package/dist/isEmpty-DFUWFV4h.js +14 -0
  588. package/dist/isEmptyEntity-BM_3oo07.js +44 -0
  589. package/dist/isNewEntity-4QusRCpP.js +7 -0
  590. package/dist/it-IT-4udyC9ua.js +7 -0
  591. package/dist/it-IT-BFVfcntm.js +31 -0
  592. package/dist/it-IT-BVcopRE0.js +57 -0
  593. package/dist/it-IT-Bncw2hQ-.js +69 -0
  594. package/dist/it-IT-C-OxfLhZ.js +48 -0
  595. package/dist/it-IT-C2wbwYWQ.js +59 -0
  596. package/dist/it-IT-CBQ2gGE7.js +7 -0
  597. package/dist/it-IT-CKYkplGl.js +23 -0
  598. package/dist/it-IT-Cd3oPF1M.js +18 -0
  599. package/dist/it-IT-D8RXfncB.js +7 -0
  600. package/dist/it-IT-DWt33Mig.js +70 -0
  601. package/dist/it-IT-DpTVTcDk.js +7 -0
  602. package/dist/it-IT-MRrAO1jy.js +7 -0
  603. package/dist/it-IT-YCjFrZ-Z.js +7 -0
  604. package/dist/it-IT-rGM1QmSW.js +26 -0
  605. package/dist/ja-JP-B8Rg2VNl.js +69 -0
  606. package/dist/ja-JP-BDPtYIpq.js +7 -0
  607. package/dist/ja-JP-C0ASZo79.js +196 -0
  608. package/dist/ja-JP-CLmtF9H_.js +31 -0
  609. package/dist/ja-JP-CNNwQyYR.js +70 -0
  610. package/dist/ja-JP-CQBoZgiC.js +23 -0
  611. package/dist/ja-JP-CgfF4yTt.js +48 -0
  612. package/dist/ja-JP-Cla1MJLj.js +7 -0
  613. package/dist/ja-JP-CsgosKvD.js +26 -0
  614. package/dist/ja-JP-DRYUrb3a.js +7 -0
  615. package/dist/ja-JP-DbHm_J96.js +7 -0
  616. package/dist/ja-JP-DieVzA1B.js +18 -0
  617. package/dist/ja-JP-DxUBevNe.js +59 -0
  618. package/dist/ja-JP-DyUgd4BE.js +57 -0
  619. package/dist/ja-JP-WirIWnQi.js +7 -0
  620. package/dist/ja-JP-uXR7c5rz.js +7 -0
  621. package/dist/japanSupportUtils-DcDqwV81.js +11 -0
  622. package/dist/jpAddressSchema-BQTiMBSQ.js +17 -0
  623. package/dist/keys-fzUbt2xF.js +20 -0
  624. package/dist/legal-entity-type-VIfNYnJP.js +13 -0
  625. package/dist/listToRecord-4wGOf00H.js +10 -0
  626. package/dist/localizeDateString-AhjDnkHD.js +35 -0
  627. package/dist/location-CpaR6p3k.js +23 -0
  628. package/dist/lt-LT-2d52byGI.js +70 -0
  629. package/dist/lt-LT-4dQRWgMS.js +7 -0
  630. package/dist/lt-LT-B9QsV1Fl.js +31 -0
  631. package/dist/lt-LT-BE20J_Fa.js +59 -0
  632. package/dist/lt-LT-BRFs6EyI.js +69 -0
  633. package/dist/lt-LT-CK-_FLDK.js +18 -0
  634. package/dist/lt-LT-CxHglunM.js +48 -0
  635. package/dist/lt-LT-CyVGhu0R.js +26 -0
  636. package/dist/lt-LT-DCexrILL.js +57 -0
  637. package/dist/lt-LT-DsKGJjAK.js +7 -0
  638. package/dist/lt-LT-Dv9CNqL5.js +23 -0
  639. package/dist/lt-LT-RYz2_iMh.js +7 -0
  640. package/dist/lt-LT-lr-xOt-0.js +7 -0
  641. package/dist/lt-LT-ykgOI1Lh.js +7 -0
  642. package/dist/lv-LV-1DHJcJtx.js +31 -0
  643. package/dist/lv-LV-7toRaVhs.js +7 -0
  644. package/dist/lv-LV-BXLZTnKa.js +59 -0
  645. package/dist/lv-LV-BZ6GdtSG.js +23 -0
  646. package/dist/lv-LV-BhvjJBtW.js +18 -0
  647. package/dist/lv-LV-CALhnU3h.js +48 -0
  648. package/dist/lv-LV-CrYidfpB.js +70 -0
  649. package/dist/lv-LV-DXmGZc4u.js +7 -0
  650. package/dist/lv-LV-Dlq59Kg7.js +26 -0
  651. package/dist/lv-LV-DykVV_JJ.js +7 -0
  652. package/dist/lv-LV-OjadvSbn.js +7 -0
  653. package/dist/lv-LV-pzQT6oF4.js +69 -0
  654. package/dist/lv-LV-qidnvuKE.js +7 -0
  655. package/dist/lv-LV-vUmm_Y8X.js +57 -0
  656. package/dist/mail-uoxYIc94.js +20 -0
  657. package/dist/mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js +66 -0
  658. package/dist/mapExistingFile-DdeA1Ya3.js +138 -0
  659. package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +61 -0
  660. package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +206 -0
  661. package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +44 -0
  662. package/dist/minus-circle-filled-B_E6PncD.js +30 -0
  663. package/dist/nl-NL-BOfLp7Kw.js +7 -0
  664. package/dist/nl-NL-Bfn1b5-H.js +18 -0
  665. package/dist/nl-NL-BsMqXzW2.js +7 -0
  666. package/dist/nl-NL-BtXGtpjP.js +70 -0
  667. package/dist/nl-NL-BxRQSueu.js +7 -0
  668. package/dist/nl-NL-Ch1_Ho4H2.js +7 -0
  669. package/dist/nl-NL-CoEgvakv.js +23 -0
  670. package/dist/nl-NL-CscaDll4.js +69 -0
  671. package/dist/nl-NL-D9OFsGYi.js +48 -0
  672. package/dist/nl-NL-DUzifJ-6.js +7 -0
  673. package/dist/nl-NL-DZOwYmdT.js +59 -0
  674. package/dist/nl-NL-DayMdZGS.js +26 -0
  675. package/dist/nl-NL-DcLEwsh6.js +31 -0
  676. package/dist/nl-NL-DpZ_sRQQ.js +57 -0
  677. package/dist/nl-NL-DrryYwRC.js +7 -0
  678. package/dist/no-NO-7cH_mYGz.js +23 -0
  679. package/dist/no-NO-BNo6BEI2.js +48 -0
  680. package/dist/no-NO-Bj-bFlwW.js +59 -0
  681. package/dist/no-NO-CMSuTQFP.js +7 -0
  682. package/dist/no-NO-COKvHr69.js +70 -0
  683. package/dist/no-NO-CeJtzvaa.js +57 -0
  684. package/dist/no-NO-CfYxgg3G.js +31 -0
  685. package/dist/no-NO-CpQs6Kuj.js +7 -0
  686. package/dist/no-NO-CveHyEMg.js +7 -0
  687. package/dist/no-NO-CzUEYJ6T2.js +7 -0
  688. package/dist/no-NO-DCPDmC0O.js +7 -0
  689. package/dist/no-NO-DFiHCQaa.js +18 -0
  690. package/dist/no-NO-DNxpnnM4.js +69 -0
  691. package/dist/no-NO-DphtE0hV.js +26 -0
  692. package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +20 -0
  693. package/dist/onfido-logo-EtpExIxa.js +18 -0
  694. package/dist/options-horizontal-CDJtmlVY.js +30 -0
  695. package/dist/partner-gFUctV1k.js +30 -0
  696. package/dist/passport-blurred-CeDXhPyb.js +266 -0
  697. package/dist/passport-cut-off-CvgvQJYC.js +246 -0
  698. package/dist/passport-front-DnOK4cgY.js +237 -0
  699. package/dist/passport-front-green-BOdOhMh6.js +479 -0
  700. package/dist/passport-glare-BMA9YxJd.js +222 -0
  701. package/dist/patternValidators-BaQxw3ki.js +73 -0
  702. package/dist/pay-by-link-plane-q4Bh-mWo.js +33 -0
  703. package/dist/payout-CpwcL7W1.js +38 -0
  704. package/dist/payout-bank-accounts-jW_Zgfqf.js +38 -0
  705. package/dist/payout-verification-instant-BLpp07Uv.js +156 -0
  706. package/dist/payout-verification-manual-BgjvhzA9.js +462 -0
  707. package/dist/person-B3rmhreD.js +23 -0
  708. package/dist/phonePrefixes-j_kb1wJm.js +252 -0
  709. package/dist/pl-PL-B6MlP7Xz.js +23 -0
  710. package/dist/pl-PL-BKJlxx_t.js +57 -0
  711. package/dist/pl-PL-BhRJVuU3.js +31 -0
  712. package/dist/pl-PL-BvYP_Mjz2.js +7 -0
  713. package/dist/pl-PL-CKZbiqpL.js +7 -0
  714. package/dist/pl-PL-CRanu6gn.js +48 -0
  715. package/dist/pl-PL-D-e2Z51f.js +70 -0
  716. package/dist/pl-PL-D2dgIhBU.js +18 -0
  717. package/dist/pl-PL-D6XdYdXs.js +7 -0
  718. package/dist/pl-PL-DEkGFDx6.js +7 -0
  719. package/dist/pl-PL-DcwGjG1k.js +7 -0
  720. package/dist/pl-PL-Ovy-dAEm.js +26 -0
  721. package/dist/pl-PL-V52qRKcx.js +69 -0
  722. package/dist/pl-PL-v95qJZ7W.js +59 -0
  723. package/dist/plaid-logo-JKKXRmk4.js +15 -0
  724. package/dist/plus-D1pu1FCh.js +20 -0
  725. package/dist/plus-circle-filled-BAKemMoO.js +30 -0
  726. package/dist/process-field-configurations-44gfzIGi.js +279 -0
  727. package/dist/processCapabilitites-BHzfFtSM.js +869 -0
  728. package/dist/pt-BR-B7FJvvCY2.js +7 -0
  729. package/dist/pt-BR-B7oDER2v.js +31 -0
  730. package/dist/pt-BR-B8YZ-Hqo.js +116 -0
  731. package/dist/pt-BR-BNfmjS7T.js +18 -0
  732. package/dist/pt-BR-B_tIsNF2.js +7 -0
  733. package/dist/pt-BR-C3oGCuLZ.js +23 -0
  734. package/dist/pt-BR-CL2QRxOt.js +57 -0
  735. package/dist/pt-BR-CPXL0egI.js +69 -0
  736. package/dist/pt-BR-CwEhFyDx.js +70 -0
  737. package/dist/pt-BR-D01BPIQ8.js +48 -0
  738. package/dist/pt-BR-DgAN88vt.js +26 -0
  739. package/dist/pt-BR-Dk284q8W.js +7 -0
  740. package/dist/pt-BR-DkGneNc5.js +7 -0
  741. package/dist/pt-BR-DyYEeGVr.js +7 -0
  742. package/dist/pt-BR-w4XP2Zc2.js +59 -0
  743. package/dist/pt-PT-5BekXyBw.js +26 -0
  744. package/dist/pt-PT-B0PlOQYf2.js +7 -0
  745. package/dist/pt-PT-BSNvIlJh.js +23 -0
  746. package/dist/pt-PT-C_6pNXKv.js +31 -0
  747. package/dist/pt-PT-CabKp0yt.js +7 -0
  748. package/dist/pt-PT-Cr2esDwf.js +69 -0
  749. package/dist/pt-PT-D3v24Se2.js +18 -0
  750. package/dist/pt-PT-DYQXla7J.js +7 -0
  751. package/dist/pt-PT-DYXnzP0x.js +59 -0
  752. package/dist/pt-PT-DfOrysaZ.js +7 -0
  753. package/dist/pt-PT-Dfp-0h0s.js +7 -0
  754. package/dist/pt-PT-DjZ0SeNY.js +48 -0
  755. package/dist/pt-PT-IOArlYPi.js +7 -0
  756. package/dist/pt-PT-of6NX5C7.js +70 -0
  757. package/dist/pt-PT-sZUWaieU.js +57 -0
  758. package/dist/recurring-BqOZk0GH.js +23 -0
  759. package/dist/reporting-DI9JGolm.js +20 -0
  760. package/dist/resolveEnvironment-BYa8h9R6.js +1176 -0
  761. package/dist/revenue-accelerate-CSszZfVF.js +30 -0
  762. package/dist/review-CkgZkiFy.js +19 -0
  763. package/dist/ro-RO-7VBqqH7o.js +31 -0
  764. package/dist/ro-RO-9NTYYrid.js +48 -0
  765. package/dist/ro-RO-BW4-_NrZ.js +57 -0
  766. package/dist/ro-RO-BXjIQG3P.js +7 -0
  767. package/dist/ro-RO-BZMTQGJJ2.js +7 -0
  768. package/dist/ro-RO-BlBqP0LV.js +18 -0
  769. package/dist/ro-RO-BtLXaAVi.js +26 -0
  770. package/dist/ro-RO-CBNP3GS_.js +7 -0
  771. package/dist/ro-RO-CGoDuoZa.js +70 -0
  772. package/dist/ro-RO-Can6URM1.js +23 -0
  773. package/dist/ro-RO-DH5uD9v9.js +7 -0
  774. package/dist/ro-RO-DUiDGCZU.js +59 -0
  775. package/dist/ro-RO-DYwkjw9d.js +69 -0
  776. package/dist/ro-RO-Dy9karNI.js +7 -0
  777. package/dist/roleMetadata-CP3ZYYSI.js +56 -0
  778. package/dist/save-BwoYyyYQ.js +20 -0
  779. package/dist/search-lRnoylK2.js +30 -0
  780. package/dist/show-Dpmp87ye.js +23 -0
  781. package/dist/singpass-logo--50WxD_p.js +22 -0
  782. package/dist/singpass-verification-instant-BHID0qRO.js +175 -0
  783. package/dist/singpass-verification-manual-DpefFA6C.js +141 -0
  784. package/dist/sk-SK-BDItYkrD.js +23 -0
  785. package/dist/sk-SK-BPDMxREF2.js +7 -0
  786. package/dist/sk-SK-Blzjm32C.js +7 -0
  787. package/dist/sk-SK-BmP_vrOT.js +7 -0
  788. package/dist/sk-SK-CAkLqBR-.js +48 -0
  789. package/dist/sk-SK-CJW-1wtq.js +7 -0
  790. package/dist/sk-SK-CZnhSCxt.js +18 -0
  791. package/dist/sk-SK-D2f2S35P.js +7 -0
  792. package/dist/sk-SK-DESgizdP.js +59 -0
  793. package/dist/sk-SK-fwnwR2zz.js +26 -0
  794. package/dist/sk-SK-qVeRKlxs.js +31 -0
  795. package/dist/sk-SK-vSn9yvb8.js +69 -0
  796. package/dist/sk-SK-vyxCXCDR.js +57 -0
  797. package/dist/sk-SK-wYLB-c3d.js +70 -0
  798. package/dist/sl-SI-B5xGgx5S.js +70 -0
  799. package/dist/sl-SI-BHztDEDm.js +59 -0
  800. package/dist/sl-SI-BxJgtZKP.js +69 -0
  801. package/dist/sl-SI-C0d32nxW.js +57 -0
  802. package/dist/sl-SI-C5FYCjwi.js +48 -0
  803. package/dist/sl-SI-CYVD9Yk1.js +26 -0
  804. package/dist/sl-SI-ChRXWdua.js +31 -0
  805. package/dist/sl-SI-D8NMKaco.js +7 -0
  806. package/dist/sl-SI-DHQWrn6C2.js +7 -0
  807. package/dist/sl-SI-DHxcpzya.js +7 -0
  808. package/dist/sl-SI-DPvusyJQ.js +7 -0
  809. package/dist/sl-SI-DuHn6HyC.js +7 -0
  810. package/dist/sl-SI-SNjGgOph.js +23 -0
  811. package/dist/sl-SI-rLQo_kKv.js +18 -0
  812. package/dist/solution-payments-DfH5DH9o.js +20 -0
  813. package/dist/store-mAgJeN44.js +20 -0
  814. package/dist/style.css +2070 -2038
  815. package/dist/styles-9jxW7TiP.js +5988 -0
  816. package/dist/summaryItem-Dehjwp8D.js +16 -0
  817. package/dist/sv-SE-BFFAjxxo.js +31 -0
  818. package/dist/sv-SE-BIHbDoRU.js +18 -0
  819. package/dist/sv-SE-B_VHF1Ec.js +7 -0
  820. package/dist/sv-SE-BfoCgwXl.js +7 -0
  821. package/dist/sv-SE-BhAr7iey.js +26 -0
  822. package/dist/sv-SE-Bre2IWV2.js +7 -0
  823. package/dist/sv-SE-CU-lNGyw.js +70 -0
  824. package/dist/sv-SE-CfgjwWHS.js +57 -0
  825. package/dist/sv-SE-Cos-ox5c.js +7 -0
  826. package/dist/sv-SE-D9Aj9VZ9.js +7 -0
  827. package/dist/sv-SE-DZq6vMfw2.js +7 -0
  828. package/dist/sv-SE-QRDrM1rH.js +23 -0
  829. package/dist/sv-SE-_iVNE7OY.js +69 -0
  830. package/dist/sv-SE-nA--xWZA.js +48 -0
  831. package/dist/sv-SE-znK8JjXi.js +59 -0
  832. package/dist/taskStatus-C7XU4UIF.js +21 -0
  833. package/dist/tax-reporting-graph-DEiE6q1X.js +906 -0
  834. package/dist/terminal-1-BlqlENmQ.js +30 -0
  835. package/dist/tink-logo-DQabT2Uk.js +15 -0
  836. package/dist/toFullWidth-CQcDriFa.js +52 -0
  837. package/dist/trackNavigation-LvCP5Vyc.js +15 -0
  838. package/dist/translation-G4HP2nQW.js +854 -0
  839. package/dist/trustMemberGuidance-B3VWjXzg.js +27 -0
  840. package/dist/trustUtil-BTHvlo55.js +99 -0
  841. package/dist/trusted-fields-provider-BHbX2hsp.js +10 -0
  842. package/dist/types/api/companySearch/useCompanySearch.d.ts +19 -12
  843. package/dist/types/api/invitations/invitations.types.d.ts +1 -1
  844. package/dist/types/api/invitations/useCreateInvitation.d.ts +2 -2
  845. package/dist/types/api/invitations/useInvitationStatus.d.ts +9 -0
  846. package/dist/types/api/invitations/useWithdrawInvitation.d.ts +8 -0
  847. package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +28 -0
  848. package/dist/types/api/queryKeys.d.ts +3 -2
  849. package/dist/types/api/tinVerification/useVerifyTin.d.ts +15 -10
  850. package/dist/types/api/toggles/useToggles.d.ts +1 -1
  851. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
  852. package/dist/types/components/BankAccount/forms/PayoutAccount/InstantVerificationCTA/InstantVerificationCTA.d.ts +4 -0
  853. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +3 -0
  854. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +2 -1
  855. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
  856. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -0
  857. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +142 -142
  858. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
  859. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/store.d.ts +3 -0
  860. package/dist/types/components/BankAccount/tasks/PayoutDetailsGettingStarted/PayoutDetailsGettingStarted.d.ts +7 -0
  861. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
  862. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +493 -493
  863. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +0 -2
  864. package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
  865. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +2 -0
  866. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +6 -1
  867. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useShareInvitation.d.ts +6 -0
  868. package/dist/types/components/Shared/Summary/summaryItem.d.ts +14 -8
  869. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  870. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
  871. package/dist/types/components/ui/atoms/Image/Image.d.ts +2 -1
  872. package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -0
  873. package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +1 -2
  874. package/dist/types/context/ToggleContext/types.d.ts +10 -1
  875. package/dist/types/context/handlerContext/HandlerContext.d.ts +2 -0
  876. package/dist/types/context/handlerContext/HandlerProvider.d.ts +2 -0
  877. package/dist/types/context/handlerContext/types.d.ts +9 -0
  878. package/dist/types/context/handlerContext/useHandlerContext.d.ts +1 -0
  879. package/dist/types/hooks/useFormComposer.d.ts +0 -1
  880. package/dist/types/index.d.ts +0 -2
  881. package/dist/types/types/form-rules.d.ts +2 -1
  882. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  883. package/dist/types/utils/performance.d.ts +2 -5
  884. package/dist/types/utils/validationError.d.ts +1 -0
  885. package/dist/types-BqFOt7-l.js +58 -0
  886. package/dist/types-CEAHkjXI.js +66 -0
  887. package/dist/types-CNZsK2dZ.js +31 -0
  888. package/dist/types-CXceqQIv.js +68 -0
  889. package/dist/types-DjTEjDpj.js +19 -0
  890. package/dist/unincorporated-partnership-5MvG_ts4.js +11 -0
  891. package/dist/upload-CIujAxWY.js +23 -0
  892. package/dist/us-check-account-number-EkWzylgz.js +157 -0
  893. package/dist/us-check-b9k7TlOd.js +144 -0
  894. package/dist/us-check-routing-number-ObI-JE-C.js +161 -0
  895. package/dist/useAccountHolder-LttF1BJG.js +102 -0
  896. package/dist/useAllowedCountries-B2tXNxdL.js +74 -0
  897. package/dist/useAnalyticsContext-BVFDMrVE.js +86 -0
  898. package/dist/useAssociatedLegalEntity-Dav_4ehd.js +35 -0
  899. package/dist/useBusinessDetailsData-DmromzC6.js +4395 -0
  900. package/dist/useBusinessLines-DGr43nU6.js +27 -0
  901. package/dist/useCanSeeIntroduction-ClAuT5gj.js +39 -0
  902. package/dist/useCapabilities-C3Re0QHQ.js +12 -0
  903. package/dist/useCreateLegalEntity-u6NuumMd.js +24 -0
  904. package/dist/useDataMissingRemediations-Cv_4vV2R.js +39 -0
  905. package/dist/useDataset-DA7SoxiX.js +96 -0
  906. package/dist/useDeleteTransferInstrument-Me9ITlCM.js +31 -0
  907. package/dist/useForm-CTiDrzeg.js +502 -0
  908. package/dist/useFormContext-6LTkbLR1.js +178 -0
  909. package/dist/useGlobalData-KEb46I95.js +164 -0
  910. package/dist/useId-eJSYfA6i.js +28 -0
  911. package/dist/useLegalEntity-Cj6C6bAI.js +48 -0
  912. package/dist/useMultiForm-CiK9l6YR.js +754 -0
  913. package/dist/useNavigate-B4pHnNyj.js +268 -0
  914. package/dist/useOnboardingStatus-BuYODvAM.js +23 -0
  915. package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +26 -0
  916. package/dist/useSalesChannels-BV-gSBhb.js +47 -0
  917. package/dist/useScenarios-DVTHREqP.js +55 -0
  918. package/dist/useSettingsContext-DzwVt0W0.js +15 -0
  919. package/dist/useTaskLandedEvent-DInxWeqN.js +23 -0
  920. package/dist/useTaskStatus-BjqC1s3K.js +51 -0
  921. package/dist/useTermsOfServiceStatus-BLMY5p8c.js +39 -0
  922. package/dist/useToastContext-CYgfHjSb.js +12 -0
  923. package/dist/useToggleContext-DaQUBF8O.js +21 -0
  924. package/dist/useTrustMembers-DbO0tmcu.js +152 -0
  925. package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +70 -0
  926. package/dist/useUpdateBusinessLines-BfYwukg9.js +296 -0
  927. package/dist/useUpdateLegalEntity-oigX0fKz.js +29 -0
  928. package/dist/utils-BAuFBG3J.js +88 -0
  929. package/dist/utils-BU2d-Zzu.js +805 -0
  930. package/dist/utils-CfTVU2Hq.js +207 -0
  931. package/dist/utils-CzW6YqAz.js +46 -0
  932. package/dist/utils-DXTGGW-J.js +188 -0
  933. package/dist/utils-oc3EdK6K.js +80 -0
  934. package/dist/validate-9_4V5MhN.js +387 -0
  935. package/dist/validate-C1II14sz.js +411 -0
  936. package/dist/validate-D4RU2PP0.js +109 -0
  937. package/dist/validationError-DhMlWpYp.js +68 -0
  938. package/dist/validationResult-D3sPVzMw.js +57 -0
  939. package/dist/validatorUtils-DRapRJ6z.js +107 -0
  940. package/dist/view-verification-status-CtW_qUMg.js +13 -0
  941. package/dist/warning-circle-fill-B8syKAww.js +30 -0
  942. package/dist/warning-diamond-filled-D81TURTB.js +30 -0
  943. package/dist/webinar-CA8zN8_B.js +33 -0
  944. package/dist/yapily-logo-BeowYojR.js +22 -0
  945. package/package.json +30 -34
  946. package/dist/4-people-BtDi7O9A.js +0 -24
  947. package/dist/AD-BQAadLyG.js +0 -23
  948. package/dist/AE-mIZ12t47.js +0 -25
  949. package/dist/AI-CYOqGKk2.js +0 -27
  950. package/dist/AL-BX1fEo1A.js +0 -27
  951. package/dist/AR-C9kMRnHG.js +0 -27
  952. package/dist/AS-B0TMZQ6o.js +0 -25
  953. package/dist/AT-BI8ju2NH.js +0 -23
  954. package/dist/AT-C_G2OvQI.js +0 -28
  955. package/dist/AT-EpV7jN58.js +0 -27
  956. package/dist/AT-TzG2NGTc.js +0 -30
  957. package/dist/AU-B5LSe4bo.js +0 -24
  958. package/dist/AU-CaovX9P8.js +0 -24
  959. package/dist/AU-CdwbD1qm.js +0 -32
  960. package/dist/AU-pBsEvEUy.js +0 -24
  961. package/dist/AX-Z6f6EnJc.js +0 -23
  962. package/dist/AZ-BqrKjWMH.js +0 -27
  963. package/dist/AcceptTermsOfServiceComponent-BbktO0zC.js +0 -653
  964. package/dist/AccountSetupRejected-B9jCHNz-.js +0 -23
  965. package/dist/ActionBar-CbFBdfam.js +0 -31
  966. package/dist/Address-CAzHDiil.js +0 -1109
  967. package/dist/Avatar-D7DkiYRU.js +0 -60
  968. package/dist/BA-BbP72Tn6.js +0 -27
  969. package/dist/BE-CLggPbli.js +0 -26
  970. package/dist/BE-CU5o9cmc.js +0 -24
  971. package/dist/BE-H45zzgu4.js +0 -24
  972. package/dist/BE-nWHKW0xQ.js +0 -23
  973. package/dist/BG-HKzabLqZ.js +0 -27
  974. package/dist/BH-Ded1Eyrc.js +0 -27
  975. package/dist/BM-CBl-UQUl.js +0 -27
  976. package/dist/BR-BEHEZpeV.js +0 -31
  977. package/dist/BR-Dmkd5VjU.js +0 -27
  978. package/dist/BR-DsY9PZVZ.js +0 -26
  979. package/dist/BR-ORoHRwTk.js +0 -29
  980. package/dist/BS-dBfArxRw.js +0 -27
  981. package/dist/BV-D0QBsH7-.js +0 -27
  982. package/dist/BY-BsQUo3fM.js +0 -27
  983. package/dist/BusinessFinancingComponent-B7O8VSuR.js +0 -55
  984. package/dist/BusinessFinancingDropin-CZjat6zg.js +0 -2271
  985. package/dist/BusinessFinancingPage-wYYsqc5D.js +0 -43
  986. package/dist/BusinessTypeSelectionPage-SVmYYbcY.js +0 -435
  987. package/dist/CA-BD18g8mh.js +0 -29
  988. package/dist/CA-BZ1GNmhP.js +0 -21
  989. package/dist/CA-DT4cmOOe.js +0 -25
  990. package/dist/CA-VXNq-m6m.js +0 -24
  991. package/dist/CH-B_-afpD_.js +0 -23
  992. package/dist/CH-BmabUdOH.js +0 -23
  993. package/dist/CH-DVyjmrDH.js +0 -25
  994. package/dist/CH-TX4BTE2y.js +0 -23
  995. package/dist/CN-BV-5PSpq.js +0 -27
  996. package/dist/CR-Dtv-rXg9.js +0 -27
  997. package/dist/CY-D59Nypl7.js +0 -23
  998. package/dist/CZ-1E7Zx2il.js +0 -26
  999. package/dist/CZ-B6iI1GbE.js +0 -33
  1000. package/dist/CZ-CTw_bQIu.js +0 -27
  1001. package/dist/CZ-DlzxobtN.js +0 -29
  1002. package/dist/Card-OQuFzmxm.js +0 -90
  1003. package/dist/Checkbox-DntVTT7e.js +0 -74
  1004. package/dist/Confirm-CceRWfkX.js +0 -64
  1005. package/dist/ConstitutionalDocument-M10n8QHQ.js +0 -2631
  1006. package/dist/ContactDetails-CJ49drHv.js +0 -389
  1007. package/dist/ContextGuidance-DeSyT-K4.js +0 -33
  1008. package/dist/ContractViewer-DcQHIGMU.js +0 -935
  1009. package/dist/CountryField-B0KnMSNK.js +0 -64
  1010. package/dist/CreateIndividualComponent-BsABgMiA.js +0 -65
  1011. package/dist/CreateTransferInstrumentComponent-CHhSi-Nd.js +0 -56
  1012. package/dist/Currency-wZFwkXz6.js +0 -232
  1013. package/dist/CustomerSupport-CZZVSn5p.js +0 -150
  1014. package/dist/DE-C_Lc7NP5.js +0 -32
  1015. package/dist/DE-CsuX_tSL.js +0 -23
  1016. package/dist/DE-D7HKgI77.js +0 -29
  1017. package/dist/DE-D_jIDxOH.js +0 -29
  1018. package/dist/DK-CVF9z_0t.js +0 -25
  1019. package/dist/DK-dBzrfgpQ.js +0 -27
  1020. package/dist/DK-oQEFrF6o.js +0 -33
  1021. package/dist/DK-x6M9-ek-.js +0 -24
  1022. package/dist/DO-B1BWc3Iy.js +0 -27
  1023. package/dist/DebugModal-B7AyfRi1.js +0 -444
  1024. package/dist/DecisionMakerDetails-CmIkuKMd.js +0 -275
  1025. package/dist/DecisionMakerDetailsPage-C86M_cr7.js +0 -104
  1026. package/dist/DecisionMakers-BJzPsxVk.js +0 -680
  1027. package/dist/DetailViewLayout-Z9cuUp4X.js +0 -65
  1028. package/dist/Dropzone-DkOStOI3.js +0 -224
  1029. package/dist/EC-DbNXe71-.js +0 -28
  1030. package/dist/EE-3WZV5Ejt.js +0 -23
  1031. package/dist/ES-BlWV7xvh.js +0 -32
  1032. package/dist/ES-CeohntGo.js +0 -26
  1033. package/dist/ES-DYbZmFcJ.js +0 -27
  1034. package/dist/ES-NfxpqbC2.js +0 -23
  1035. package/dist/EmbeddedStatus-BDk-Cdzb.js +0 -97
  1036. package/dist/EndStateLayout-yZlKFmxQ.js +0 -71
  1037. package/dist/EntityAssociation-BQinpNn-.js +0 -177
  1038. package/dist/EntityGuidanceStatus-DgrTCy2a.js +0 -106
  1039. package/dist/ErrorPanel-rmGb9PlE.js +0 -192
  1040. package/dist/FI-BOex4MFx.js +0 -21
  1041. package/dist/FI-C9nRvop7.js +0 -25
  1042. package/dist/FI-CF0teHDu.js +0 -26
  1043. package/dist/FI-CHQIvHa-.js +0 -23
  1044. package/dist/FJ-CBdbPf5l.js +0 -27
  1045. package/dist/FO-1pD1p939.js +0 -27
  1046. package/dist/FR-3wQ9FMtt.js +0 -29
  1047. package/dist/FR-BycGQO4W.js +0 -29
  1048. package/dist/FR-CAxkckai.js +0 -25
  1049. package/dist/FR-MWZyWX3x.js +0 -23
  1050. package/dist/Field-DDqviWD6.js +0 -141
  1051. package/dist/FormNavigation-hnWA-Ehl.js +0 -144
  1052. package/dist/GB-CCYHTagl.js +0 -33
  1053. package/dist/GB-C_AXeEDs.js +0 -32
  1054. package/dist/GB-DFyzo5sN.js +0 -24
  1055. package/dist/GB-DUnW-a4M.js +0 -24
  1056. package/dist/GE-Deog1a3Z.js +0 -27
  1057. package/dist/GF-Cda8N7A4.js +0 -23
  1058. package/dist/GG-CPoMVQPc.js +0 -33
  1059. package/dist/GI-DxmBwVD_.js +0 -41
  1060. package/dist/GL-0vO9Of9c.js +0 -27
  1061. package/dist/GP-za-3opp-.js +0 -23
  1062. package/dist/GR-Rk0pXlNw.js +0 -23
  1063. package/dist/GT-C1jhs-Dx.js +0 -27
  1064. package/dist/GU-CALV5vh1.js +0 -25
  1065. package/dist/HK-B16JHR8k.js +0 -25
  1066. package/dist/HK-BB3PIq-Z.js +0 -25
  1067. package/dist/HK-WqZ5UBEF.js +0 -24
  1068. package/dist/HK-eKVHN8Vg.js +0 -21
  1069. package/dist/HR-BHhcnUGU.js +0 -26
  1070. package/dist/HR-BRAjQoOH.js +0 -25
  1071. package/dist/HR-CRa19tH1.js +0 -27
  1072. package/dist/HR-WapHW2fw.js +0 -23
  1073. package/dist/HU-D5NCweWf.js +0 -27
  1074. package/dist/HU-DCOMuOhe.js +0 -32
  1075. package/dist/HU-DuWGRPke.js +0 -24
  1076. package/dist/HU-hfSSMbei.js +0 -21
  1077. package/dist/ID-BcOv4SXj.js +0 -27
  1078. package/dist/IE-BCDIfZoA.js +0 -30
  1079. package/dist/IE-BN3Eiv5M.js +0 -21
  1080. package/dist/IE-BkgtVgDi.js +0 -23
  1081. package/dist/IE-rhATS57q.js +0 -24
  1082. package/dist/IL-CQ0yHRRe.js +0 -23
  1083. package/dist/IM-Wr4iDT94.js +0 -33
  1084. package/dist/IN-BhEI9o7G.js +0 -28
  1085. package/dist/IS-C-Cgc6zp.js +0 -27
  1086. package/dist/IT-C1-PEPAb.js +0 -27
  1087. package/dist/IT-CBt6Os6J.js +0 -25
  1088. package/dist/IT-CXekiddL.js +0 -23
  1089. package/dist/IT-wD7dHdYD.js +0 -27
  1090. package/dist/Individual.rules-DkkHd4AC.js +0 -390
  1091. package/dist/IndividualDropin-HfCpdNoz.js +0 -5743
  1092. package/dist/InputDate-BB4WZBNP.js +0 -43
  1093. package/dist/InputGroup-WBfGDV5F.js +0 -32
  1094. package/dist/InputText-BCi31wZB.js +0 -134
  1095. package/dist/Introduction-DShrdSBn.js +0 -251
  1096. package/dist/InvitedDecisionMakerComponent-B2HU3LgV.js +0 -216
  1097. package/dist/JE-B4gj54Hg.js +0 -33
  1098. package/dist/JM-BMGgBK6y.js +0 -27
  1099. package/dist/JO-rY8A8f9C.js +0 -27
  1100. package/dist/JP-BQG5dF1Y.js +0 -28
  1101. package/dist/JpAddress-DE9yfseS.js +0 -327
  1102. package/dist/KR-74SwXHka.js +0 -27
  1103. package/dist/KW-CcVPOJ8B.js +0 -27
  1104. package/dist/KY-DXCeltYA.js +0 -27
  1105. package/dist/KZ-CZNjdp22.js +0 -27
  1106. package/dist/LB-DZ5YfAsO.js +0 -27
  1107. package/dist/LI-L0ZAALRT.js +0 -23
  1108. package/dist/LT-0F72uCyI.js +0 -28
  1109. package/dist/LT-Ao2uagV9.js +0 -23
  1110. package/dist/LT-Dkevn83h.js +0 -19
  1111. package/dist/LT-V-VsHKlY.js +0 -28
  1112. package/dist/LU-B7LRUuc6.js +0 -23
  1113. package/dist/LV-DZeGjA2G.js +0 -23
  1114. package/dist/LandingLayout-D_EQfRqT.js +0 -61
  1115. package/dist/LegalCompanyNameField-CCPNDYao.js +0 -138
  1116. package/dist/LegalRepresentativeDetailsPage-ZsBB2MMq.js +0 -55
  1117. package/dist/Link-DWRRNNKW.js +0 -35
  1118. package/dist/List-BAzyC6sw.js +0 -83
  1119. package/dist/ListItem-DlliPqo-.js +0 -69
  1120. package/dist/LoaderWrapper-DE-3T3QK.js +0 -42
  1121. package/dist/MC-EDVNGWhy.js +0 -23
  1122. package/dist/MD-DVc0183a.js +0 -27
  1123. package/dist/ME-DiJhSuli.js +0 -27
  1124. package/dist/MK-BZxslBTS.js +0 -27
  1125. package/dist/MP-7IpnbfCj.js +0 -25
  1126. package/dist/MQ-DusG_no1.js +0 -23
  1127. package/dist/MR-DaBVNHqN.js +0 -27
  1128. package/dist/MT-B9my7RlP.js +0 -23
  1129. package/dist/MU-D3gGVu1R.js +0 -27
  1130. package/dist/MX-CZVOFg3D.js +0 -25
  1131. package/dist/MY-ym71svTa.js +0 -24
  1132. package/dist/ManageIndividualComponent-CGjYieXl.js +0 -46
  1133. package/dist/ManageTermsOfServiceComponent-DVal60Sx.js +0 -52
  1134. package/dist/ManageTransferInstrumentComponent-oOQNBPeD.js +0 -290
  1135. package/dist/MaskedInput-Dzp3Td83.js +0 -811
  1136. package/dist/MaybeModal-Vk2hdUdf.js +0 -36
  1137. package/dist/Modal-Bq5ccK7z.js +0 -137
  1138. package/dist/NC-xzMvjp9-.js +0 -27
  1139. package/dist/NL-4Y7A2IJp.js +0 -27
  1140. package/dist/NL-VXAFOhV5.js +0 -23
  1141. package/dist/NL-q2U2l276.js +0 -27
  1142. package/dist/NL-zm__7LWV.js +0 -23
  1143. package/dist/NO-BAcMdKUJ.js +0 -22
  1144. package/dist/NO-CX12Zsf_.js +0 -27
  1145. package/dist/NO-Cx1VSh2W.js +0 -32
  1146. package/dist/NO-Div5P6IZ.js +0 -29
  1147. package/dist/NZ-BP7_Q9Om.js +0 -22
  1148. package/dist/NZ-DDRknBQk.js +0 -20
  1149. package/dist/Name-w6uDAo1S.js +0 -81
  1150. package/dist/NewSummary-fp6oz9Ko.js +0 -60
  1151. package/dist/OnboardingDropinComponent-Cn45HTst.js +0 -3310
  1152. package/dist/PE-CdxgPh3v.js +0 -27
  1153. package/dist/PF-CstaOd9Z.js +0 -27
  1154. package/dist/PH-BYgMDYIH.js +0 -27
  1155. package/dist/PK-bLhtgsEk.js +0 -27
  1156. package/dist/PL-BZW1hGvD.js +0 -32
  1157. package/dist/PL-CwCXF3Yu.js +0 -28
  1158. package/dist/PL-D6_6gquq.js +0 -27
  1159. package/dist/PL-DKgMtNxx.js +0 -27
  1160. package/dist/PM-BWbxAh4u.js +0 -23
  1161. package/dist/PR-CFPKXEXp.js +0 -25
  1162. package/dist/PS-B8obOOWY.js +0 -27
  1163. package/dist/PT-C2dln191.js +0 -26
  1164. package/dist/PT-CpKb15My.js +0 -30
  1165. package/dist/PT-Dei5v1nD.js +0 -28
  1166. package/dist/PT-OpU4MU3L.js +0 -23
  1167. package/dist/PayoutDetailsDropin-Bzs2jydk.js +0 -4226
  1168. package/dist/PayoutDetailsPage-BGdufep3.js +0 -914
  1169. package/dist/ProgressBar-B7gTQncy.js +0 -47
  1170. package/dist/QA-CSfx-mvb.js +0 -27
  1171. package/dist/RE-BApq1FJ6.js +0 -23
  1172. package/dist/RO-Bmsg2YGZ.js +0 -23
  1173. package/dist/RO-C_utD--1.js +0 -19
  1174. package/dist/RO-Cz6Sh0ls.js +0 -23
  1175. package/dist/RO-Dxk08mOu.js +0 -27
  1176. package/dist/RS-BCenke-W.js +0 -27
  1177. package/dist/RU-D27RC7dq.js +0 -27
  1178. package/dist/Radio-BMtxBpnn.js +0 -39
  1179. package/dist/RadioGroup-BOUo26G0.js +0 -100
  1180. package/dist/Review-Be1zBkVv.js +0 -82
  1181. package/dist/RootBusinessDetailsPage-CnX2zYB9.js +0 -50
  1182. package/dist/RootBusinessLinesPage-G9LnOcFE.js +0 -1538
  1183. package/dist/RootIndividualDetailsPage-DPim7JYp.js +0 -62
  1184. package/dist/SA-C9VgxCgm.js +0 -27
  1185. package/dist/SE-AP3gLiyy.js +0 -27
  1186. package/dist/SE-B5K-FkQd.js +0 -33
  1187. package/dist/SE-BqGOP1F1.js +0 -22
  1188. package/dist/SE-Br1yrUhV.js +0 -27
  1189. package/dist/SG-DMcOb17i.js +0 -24
  1190. package/dist/SG-DoCqjlFi.js +0 -24
  1191. package/dist/SG-d-PTZAoA.js +0 -28
  1192. package/dist/SG-dEj6fGdY.js +0 -24
  1193. package/dist/SI-BOGTNLPa.js +0 -23
  1194. package/dist/SI-BPx_gt1n.js +0 -26
  1195. package/dist/SI-BXe-yndm.js +0 -27
  1196. package/dist/SI-DBADzvYO.js +0 -22
  1197. package/dist/SJ-Z9jwQQlz.js +0 -27
  1198. package/dist/SK-BOVrp_Av.js +0 -23
  1199. package/dist/SK-DamCBYsZ.js +0 -22
  1200. package/dist/SK-DeSZ6Sa9.js +0 -29
  1201. package/dist/SK-DwdgoGnD.js +0 -27
  1202. package/dist/SM-meowwILA.js +0 -23
  1203. package/dist/Select-D5a5aVFZ.js +0 -868
  1204. package/dist/SignPCIComponent-BTyUfmK_.js +0 -301
  1205. package/dist/SingpassSelection-DowkF6pT.js +0 -269
  1206. package/dist/SoleProprietorshipPage-C_875t2r.js +0 -50
  1207. package/dist/SourceOfFundsPage-Cx6ekIue.js +0 -2335
  1208. package/dist/Spacer-BK3jDget.js +0 -18
  1209. package/dist/StepProgressIndicator-CW9yp5Ud.js +0 -78
  1210. package/dist/StoreProvider-CApjzEDt.js +0 -5560
  1211. package/dist/StructuredList-CNha20ka.js +0 -61
  1212. package/dist/Summary-DlYtNJQD.js +0 -213
  1213. package/dist/TF-BOWng-Dz.js +0 -27
  1214. package/dist/TH-CvyXLcZK.js +0 -28
  1215. package/dist/TL-BWslydRz.js +0 -27
  1216. package/dist/TN-Cjd3bM_V.js +0 -27
  1217. package/dist/TR-BBx5CuWS.js +0 -27
  1218. package/dist/TT-D4-z5BA-.js +0 -28
  1219. package/dist/TW-BC8YpnMr.js +0 -29
  1220. package/dist/Tag-DdkVScyr.js +0 -41
  1221. package/dist/TaxInformationField-ByQTgGxY.js +0 -3498
  1222. package/dist/TaxReportingDropin-D52Nf4f2.js +0 -501
  1223. package/dist/TextArea-C4OmPCHh.js +0 -103
  1224. package/dist/TileGroup-Aj0Yql_d.js +0 -203
  1225. package/dist/TrustDetailsPage-Cj368KCb.js +0 -2167
  1226. package/dist/TrustMemberCompanyPage-CTXwk8mB.js +0 -68
  1227. package/dist/TrustMemberIndividualPage-BusLDMBC.js +0 -64
  1228. package/dist/TrustMemberRoleAndTypePage-D6Ir0aGf.js +0 -1078
  1229. package/dist/TrustMembersOverview-_eQwa8o8.js +0 -433
  1230. package/dist/UA-DrXUnAe6.js +0 -27
  1231. package/dist/US-CZw-MX1-.js +0 -29
  1232. package/dist/US-CxBcdqfz.js +0 -22
  1233. package/dist/US-D8dI5_i1.js +0 -25
  1234. package/dist/US-DHxLSqeC.js +0 -24
  1235. package/dist/UY-DEHqLXhX.js +0 -27
  1236. package/dist/UnincorporatedPartnershipIndividualPage-tCLAddt7.js +0 -63
  1237. package/dist/UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js +0 -71
  1238. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js +0 -291
  1239. package/dist/UnincorporatedPartnershipMembersOverview-C3YF2E_k.js +0 -169
  1240. package/dist/VA-DXsYTCoh.js +0 -23
  1241. package/dist/VG-DnKAVCsi.js +0 -27
  1242. package/dist/VI-CU9MA9ux.js +0 -25
  1243. package/dist/VN-CTSqsmB6.js +0 -27
  1244. package/dist/VerificationErrorAlert-D8Menx5E.js +0 -79
  1245. package/dist/ViewVerificationStatusComponent-TBlv6an5.js +0 -180
  1246. package/dist/WF-CwHbsjtJ.js +0 -27
  1247. package/dist/YT-BCyAAbo7.js +0 -23
  1248. package/dist/ZA-NU7slima.js +0 -28
  1249. package/dist/adyen-kyc-components.js +0 -451
  1250. package/dist/arrow-right-BoqwUH_d.js +0 -14
  1251. package/dist/bafinUtils-DOGd6Xk9.js +0 -92
  1252. package/dist/bag-BXVWLrwo.js +0 -14
  1253. package/dist/bank-1GvaHPAZ.js +0 -14
  1254. package/dist/basePatterns-BwdnMQxI.js +0 -15
  1255. package/dist/bg-BG-89Mw-9Lv.js +0 -75
  1256. package/dist/bg-BG-BY3Wa361.js +0 -54
  1257. package/dist/bg-BG-BnwkqGm9.js +0 -13
  1258. package/dist/bg-BG-BvLl6gaB.js +0 -13
  1259. package/dist/bg-BG-C9zrgb_c.js +0 -76
  1260. package/dist/bg-BG-CEipapl4.js +0 -63
  1261. package/dist/bg-BG-CFuVZnaC.js +0 -13
  1262. package/dist/bg-BG-Coja327N.js +0 -24
  1263. package/dist/bg-BG-Cz7Cuw8v.js +0 -29
  1264. package/dist/bg-BG-DKld3x63.js +0 -13
  1265. package/dist/bg-BG-DbFzLQK7.js +0 -37
  1266. package/dist/bg-BG-DcxZ1tmt.js +0 -32
  1267. package/dist/bg-BG-dmpv4Zom.js +0 -13
  1268. package/dist/bg-BG-zZhDshGi.js +0 -65
  1269. package/dist/bin-Ba-3ll8T.js +0 -18
  1270. package/dist/business-lines-BAqTbnBw.js +0 -135
  1271. package/dist/capital-9TKHySO7.js +0 -17
  1272. package/dist/cash-stack-DwYu4xNy.js +0 -22
  1273. package/dist/certificate-N2YFedpI.js +0 -17
  1274. package/dist/checkmark-D9dGhGpG.js +0 -14
  1275. package/dist/checkmark-circle-CFWClLQ6.js +0 -20
  1276. package/dist/checkmark-circle-fill-DEB-tuGl.js +0 -17
  1277. package/dist/checkmark-small-D3VNx2lo.js +0 -14
  1278. package/dist/chevron-down-C7SUSYfl.js +0 -14
  1279. package/dist/chevron-left-BXmd-S46.js +0 -14
  1280. package/dist/chevron-right-jE6RwM2B.js +0 -14
  1281. package/dist/chevron-up-BdfNcqzq.js +0 -14
  1282. package/dist/circle-BJPTMCWB.js +0 -17
  1283. package/dist/circle-small-filled-BuO8Vg8j.js +0 -14
  1284. package/dist/clock-DAzaBRWk.js +0 -20
  1285. package/dist/coins-DYdzG5e_.js +0 -17
  1286. package/dist/commonValidators-D1bdFvRX.js +0 -24
  1287. package/dist/contract-BfJb1t6M.js +0 -14
  1288. package/dist/cross-CDS_eot4.js +0 -14
  1289. package/dist/cross-circle-fill-C-EJ57Yn.js +0 -17
  1290. package/dist/cross-circle-fill-small-DkPjsuBH.js +0 -14
  1291. package/dist/cs-CZ-6rOIfRJu.js +0 -13
  1292. package/dist/cs-CZ-B-zm6HVH.js +0 -76
  1293. package/dist/cs-CZ-BBLagJI6.js +0 -13
  1294. package/dist/cs-CZ-BEFeaKsV.js +0 -54
  1295. package/dist/cs-CZ-BHbWTH_v.js +0 -63
  1296. package/dist/cs-CZ-BeMYkFfD.js +0 -13
  1297. package/dist/cs-CZ-BlrV3tkx.js +0 -29
  1298. package/dist/cs-CZ-CBuNZ7UO.js +0 -37
  1299. package/dist/cs-CZ-CTxXvHtH.js +0 -75
  1300. package/dist/cs-CZ-CYsR__kj.js +0 -13
  1301. package/dist/cs-CZ-Ck22NTT9.js +0 -65
  1302. package/dist/cs-CZ-D4Hg-t16.js +0 -32
  1303. package/dist/cs-CZ-DXtJsBPz.js +0 -24
  1304. package/dist/cs-CZ-hT5w5It6.js +0 -13
  1305. package/dist/currency-CrdnaaDu.js +0 -35
  1306. package/dist/da-DK-B3Pg-MWO.js +0 -13
  1307. package/dist/da-DK-CGhsIGZt.js +0 -76
  1308. package/dist/da-DK-CLdNh9JT.js +0 -37
  1309. package/dist/da-DK-CM1onr3w.js +0 -29
  1310. package/dist/da-DK-C_GqHCay.js +0 -13
  1311. package/dist/da-DK-D6UK8XT9.js +0 -54
  1312. package/dist/da-DK-D9FgPh5e.js +0 -13
  1313. package/dist/da-DK-DCJhV2qS.js +0 -32
  1314. package/dist/da-DK-DQ4ZYSea.js +0 -65
  1315. package/dist/da-DK-DWA8uOd8.js +0 -24
  1316. package/dist/da-DK-DZwlENGe.js +0 -13
  1317. package/dist/da-DK-D_TOcmOO.js +0 -75
  1318. package/dist/da-DK-mUuPR2YO.js +0 -13
  1319. package/dist/da-DK-vcVNQJbX.js +0 -63
  1320. package/dist/de-DE-B3nctkG8.js +0 -13
  1321. package/dist/de-DE-BT5g7ZXC.js +0 -37
  1322. package/dist/de-DE-BmWBo3gX.js +0 -13
  1323. package/dist/de-DE-CA4mYLwp.js +0 -29
  1324. package/dist/de-DE-CWEW2yqg.js +0 -63
  1325. package/dist/de-DE-Cg_RNIr-.js +0 -13
  1326. package/dist/de-DE-CkbOZ6S_.js +0 -65
  1327. package/dist/de-DE-CwT6O212.js +0 -13
  1328. package/dist/de-DE-D50lGOJE.js +0 -24
  1329. package/dist/de-DE-DUl6gRKv.js +0 -54
  1330. package/dist/de-DE-DXR3EpEc.js +0 -13
  1331. package/dist/de-DE-DYzAiXHM.js +0 -75
  1332. package/dist/de-DE-DwOQKCuU.js +0 -32
  1333. package/dist/de-DE-K9FyOJiI.js +0 -76
  1334. package/dist/de-DE-S6qDey1L.js +0 -13
  1335. package/dist/debouncedInputEvent-Cv2S512Y.js +0 -46
  1336. package/dist/debugStore-BvbyN1Oi.js +0 -14
  1337. package/dist/decision-makers-group-DrvpnEqj.js +0 -1944
  1338. package/dist/digital-wallet-Bx5YM1LY.js +0 -46
  1339. package/dist/document-1-qlSTF558.js +0 -14
  1340. package/dist/document-blurred-BiWap0xs.js +0 -37
  1341. package/dist/document-cut-off-aQezqOif.js +0 -32
  1342. package/dist/document-expired-BhBXaWWQ.js +0 -38
  1343. package/dist/document-front-DYuhZGeQ.js +0 -30
  1344. package/dist/document-person-CDbnTOdV.js +0 -20
  1345. package/dist/download-BZQB1WkZ.js +0 -17
  1346. package/dist/dropinUtils-C6SkIQLo.js +0 -256
  1347. package/dist/edit-1-DAqtnOIx.js +0 -14
  1348. package/dist/el-GR-B5j7VZ3E.js +0 -54
  1349. package/dist/el-GR-B78b9rSH.js +0 -63
  1350. package/dist/el-GR-BuAfpG6u.js +0 -13
  1351. package/dist/el-GR-BvRBuezU.js +0 -37
  1352. package/dist/el-GR-CKHMsdx2.js +0 -24
  1353. package/dist/el-GR-CdgLZhuO.js +0 -13
  1354. package/dist/el-GR-D6XimdV5.js +0 -29
  1355. package/dist/el-GR-DItzpoar.js +0 -75
  1356. package/dist/el-GR-DoS_Va-n.js +0 -13
  1357. package/dist/el-GR-DtFE64KX.js +0 -13
  1358. package/dist/el-GR-DudORw4U.js +0 -65
  1359. package/dist/el-GR-Fo7-xCrc.js +0 -13
  1360. package/dist/el-GR-Hk4NbZSY.js +0 -32
  1361. package/dist/el-GR-L-39cQfz.js +0 -76
  1362. package/dist/el-GR-ZRGBgvMu.js +0 -13
  1363. package/dist/emitEvent-CzZf80Am.js +0 -28
  1364. package/dist/en-US-9KQC6F8-.js +0 -218
  1365. package/dist/en-US-AgtwE4Fl.js +0 -63
  1366. package/dist/en-US-B-qSAb-7.js +0 -66
  1367. package/dist/en-US-BQZhzROc.js +0 -32
  1368. package/dist/en-US-BSQXKu6d.js +0 -54
  1369. package/dist/en-US-CTbVLoNF.js +0 -13
  1370. package/dist/en-US-C_9Fc9mP.js +0 -82
  1371. package/dist/en-US-CfazE4ht.js +0 -13
  1372. package/dist/en-US-CgakND3H.js +0 -37
  1373. package/dist/en-US-D2yrwtzT.js +0 -24
  1374. package/dist/en-US-DIlZD5Wh.js +0 -76
  1375. package/dist/en-US-DPoDE0uz.js +0 -75
  1376. package/dist/en-US-DSoLr6rp.js +0 -13
  1377. package/dist/en-US-DWT3bRZC.js +0 -122
  1378. package/dist/en-US-Do3mE4BR.js +0 -46
  1379. package/dist/en-US-DrUYyPhF.js +0 -13
  1380. package/dist/en-US-PLYPmyFJ.js +0 -66
  1381. package/dist/en-US-QbdqemZi.js +0 -202
  1382. package/dist/en-US-fDACdKtT.js +0 -29
  1383. package/dist/en-US-qlQTJNiL.js +0 -13
  1384. package/dist/en-US.instructions-CfIM2SRF.js +0 -21
  1385. package/dist/es-ES-4FS7NoE7.js +0 -37
  1386. package/dist/es-ES-BAolMrZ0.js +0 -65
  1387. package/dist/es-ES-BBcx4tvi.js +0 -29
  1388. package/dist/es-ES-BOoPqnPI.js +0 -32
  1389. package/dist/es-ES-BRfK6tX7.js +0 -13
  1390. package/dist/es-ES-BYl5-PFR.js +0 -13
  1391. package/dist/es-ES-BZiC4JWr.js +0 -13
  1392. package/dist/es-ES-Bh8k9Zx8.js +0 -13
  1393. package/dist/es-ES-BkqlH093.js +0 -13
  1394. package/dist/es-ES-BmH6eADf.js +0 -75
  1395. package/dist/es-ES-CDgjGql5.js +0 -63
  1396. package/dist/es-ES-Cavm0szq.js +0 -54
  1397. package/dist/es-ES-DF_L5EDd.js +0 -24
  1398. package/dist/es-ES-TUyeIp6F.js +0 -76
  1399. package/dist/es-ES-yMXcOjDL.js +0 -13
  1400. package/dist/et-EE-4fHYOoff.js +0 -13
  1401. package/dist/et-EE-BBnYC5q8.js +0 -13
  1402. package/dist/et-EE-BOIrYrz9.js +0 -65
  1403. package/dist/et-EE-B_Wk8564.js +0 -29
  1404. package/dist/et-EE-Be__VK7Y.js +0 -32
  1405. package/dist/et-EE-BuBiNLCi.js +0 -24
  1406. package/dist/et-EE-C8RrUpLm.js +0 -13
  1407. package/dist/et-EE-CksV5_e1.js +0 -37
  1408. package/dist/et-EE-Cw_VydGb.js +0 -76
  1409. package/dist/et-EE-D0PMC4ie.js +0 -63
  1410. package/dist/et-EE-DSZa_33d.js +0 -75
  1411. package/dist/et-EE-DUWZ2Vqm.js +0 -54
  1412. package/dist/et-EE-D_NmrrzQ.js +0 -13
  1413. package/dist/et-EE-H8yxvhQj.js +0 -13
  1414. package/dist/external-link-Cg6pJaSJ.js +0 -14
  1415. package/dist/fi-FI-BKu826v5.js +0 -29
  1416. package/dist/fi-FI-BfwJVwi9.js +0 -13
  1417. package/dist/fi-FI-CEH4BfU3.js +0 -13
  1418. package/dist/fi-FI-CsZlDJFb.js +0 -63
  1419. package/dist/fi-FI-D8WrLxxq.js +0 -65
  1420. package/dist/fi-FI-DFxljML-.js +0 -13
  1421. package/dist/fi-FI-DH6jpo9K.js +0 -24
  1422. package/dist/fi-FI-DJ8BbVPT.js +0 -75
  1423. package/dist/fi-FI-DVa-ccaW.js +0 -54
  1424. package/dist/fi-FI-DhUeTfn1.js +0 -13
  1425. package/dist/fi-FI-XpnJRPgt.js +0 -37
  1426. package/dist/fi-FI-bZzNB1WB.js +0 -32
  1427. package/dist/fi-FI-tgvQX_Iq.js +0 -76
  1428. package/dist/fi-FI-xqnQ38yC.js +0 -13
  1429. package/dist/fieldConfigurations-BUT9DTUH.js +0 -21
  1430. package/dist/file-CiG1D0zy.js +0 -42
  1431. package/dist/form-rules-DhbF2mY4.js +0 -13
  1432. package/dist/formUtils-BVAIyFiB.js +0 -92
  1433. package/dist/fr-FR-BSynpexF.js +0 -13
  1434. package/dist/fr-FR-Beljeilc.js +0 -65
  1435. package/dist/fr-FR-BnblnBsx.js +0 -24
  1436. package/dist/fr-FR-C7iSS-OS.js +0 -29
  1437. package/dist/fr-FR-CY9emHgF.js +0 -54
  1438. package/dist/fr-FR-CocDMzBc.js +0 -13
  1439. package/dist/fr-FR-CzjsW73Q.js +0 -13
  1440. package/dist/fr-FR-D533_MOG.js +0 -75
  1441. package/dist/fr-FR-DPehHVb6.js +0 -13
  1442. package/dist/fr-FR-Dk6Lw2On.js +0 -13
  1443. package/dist/fr-FR-NxOktkWc.js +0 -13
  1444. package/dist/fr-FR-TqAhPvzz.js +0 -37
  1445. package/dist/fr-FR-VoxPkXSc.js +0 -63
  1446. package/dist/fr-FR-cTKcuHqX.js +0 -32
  1447. package/dist/fr-FR-ynC19lSF.js +0 -76
  1448. package/dist/funds-in-CInoUdmG.js +0 -21
  1449. package/dist/getName-CfQAf_l-.js +0 -41
  1450. package/dist/getProblemsForEntity-I5B0dWUU.js +0 -24
  1451. package/dist/getProps-Cc3J2-z9.js +0 -148
  1452. package/dist/getTrustedFields-Cv6R496P.js +0 -104
  1453. package/dist/gift-omNInZeB.js +0 -14
  1454. package/dist/graph-DunG_uu1.js +0 -21
  1455. package/dist/graph-up-BZze4i6m.js +0 -20
  1456. package/dist/headquarter-BhpSibFO.js +0 -21
  1457. package/dist/hotel-Cp7VgGCJ.js +0 -22
  1458. package/dist/house-BhyBQdR3.js +0 -21
  1459. package/dist/hr-HR--5syrowD.js +0 -76
  1460. package/dist/hr-HR-Bjx-KdVs.js +0 -13
  1461. package/dist/hr-HR-CIxdonpk.js +0 -75
  1462. package/dist/hr-HR-CKZ_yuXC.js +0 -37
  1463. package/dist/hr-HR-CbdP2tk-.js +0 -63
  1464. package/dist/hr-HR-CnP5sqih.js +0 -54
  1465. package/dist/hr-HR-ComCqan_.js +0 -32
  1466. package/dist/hr-HR-D5V7g9H2.js +0 -13
  1467. package/dist/hr-HR-D9OGeEuB.js +0 -13
  1468. package/dist/hr-HR-D_MUIhtx.js +0 -13
  1469. package/dist/hr-HR-De5kHU8U.js +0 -24
  1470. package/dist/hr-HR-ZrpQrsik.js +0 -13
  1471. package/dist/hr-HR-g88yM2q1.js +0 -29
  1472. package/dist/hr-HR-lIHN6Yl2.js +0 -65
  1473. package/dist/hu-HU--6ZxXlbV.js +0 -75
  1474. package/dist/hu-HU-B-lUkFnQ.js +0 -13
  1475. package/dist/hu-HU-BEV8uVRt.js +0 -37
  1476. package/dist/hu-HU-BFiGk_QT.js +0 -76
  1477. package/dist/hu-HU-BTlpbCpc.js +0 -54
  1478. package/dist/hu-HU-BcogZby3.js +0 -24
  1479. package/dist/hu-HU-ByRdd0O_.js +0 -29
  1480. package/dist/hu-HU-CWdwNCev.js +0 -65
  1481. package/dist/hu-HU-DUGz5q5D.js +0 -32
  1482. package/dist/hu-HU-DjaoFDqm.js +0 -13
  1483. package/dist/hu-HU-Ds3go4h4.js +0 -13
  1484. package/dist/hu-HU-LxStrFGU.js +0 -13
  1485. package/dist/hu-HU-hbVM6tMS.js +0 -13
  1486. package/dist/hu-HU-pFpTvMiD.js +0 -63
  1487. package/dist/id-blurred-B5lHEP8M.js +0 -59
  1488. package/dist/id-cut-off-Ba1FRzKO.js +0 -55
  1489. package/dist/id-front-CpNWN6nG.js +0 -52
  1490. package/dist/id-glare-DgCQON8k.js +0 -49
  1491. package/dist/image-CmB0ioUM.js +0 -17
  1492. package/dist/info-Bb_-xIEK.js +0 -21
  1493. package/dist/info-filled-CK8LB339.js +0 -17
  1494. package/dist/isEmpty-BcLvy0xw.js +0 -23
  1495. package/dist/it-IT-5a7NHVFo.js +0 -65
  1496. package/dist/it-IT-B4bk2Xev.js +0 -13
  1497. package/dist/it-IT-B5cf2VTN.js +0 -75
  1498. package/dist/it-IT-C0Zv5ms9.js +0 -76
  1499. package/dist/it-IT-CUrn0j1I.js +0 -29
  1500. package/dist/it-IT-C_651bEP.js +0 -13
  1501. package/dist/it-IT-Ckv8Ce4e.js +0 -24
  1502. package/dist/it-IT-D-jYXj6V.js +0 -37
  1503. package/dist/it-IT-D7G4BaP7.js +0 -13
  1504. package/dist/it-IT-DERflsUd.js +0 -32
  1505. package/dist/it-IT-DOBp2-MP.js +0 -13
  1506. package/dist/it-IT-DZjw9LNC.js +0 -63
  1507. package/dist/it-IT-Dx15tkIe.js +0 -13
  1508. package/dist/it-IT-GgHc0cHR.js +0 -54
  1509. package/dist/it-IT-OppZz3gW.js +0 -13
  1510. package/dist/ja-JP--u211vje.js +0 -76
  1511. package/dist/ja-JP-8yMqZqF2.js +0 -37
  1512. package/dist/ja-JP-BoxeBgOv.js +0 -32
  1513. package/dist/ja-JP-BqluCflj.js +0 -63
  1514. package/dist/ja-JP-CbP1sVFP.js +0 -29
  1515. package/dist/ja-JP-CbgaW99b.js +0 -54
  1516. package/dist/ja-JP-CethQRoG.js +0 -13
  1517. package/dist/ja-JP-CvNJvxkQ.js +0 -218
  1518. package/dist/ja-JP-DK55NCZY.js +0 -135
  1519. package/dist/ja-JP-DSvZhFNY.js +0 -65
  1520. package/dist/ja-JP-DTW_hY1L.js +0 -13
  1521. package/dist/ja-JP-DU7yCJYq.js +0 -202
  1522. package/dist/ja-JP-DY4CJlUf.js +0 -75
  1523. package/dist/ja-JP-FWHXsXlW.js +0 -24
  1524. package/dist/ja-JP-GX3l4yqn.js +0 -125
  1525. package/dist/ja-JP-Qu7oEIEy.js +0 -13
  1526. package/dist/japanSupportUtils-DR5unSI9.js +0 -16
  1527. package/dist/jpAddressSchema-DEOyz9Yo.js +0 -26
  1528. package/dist/localizeDateString-0FoP1ZoN.js +0 -27
  1529. package/dist/location-itJfxrDQ.js +0 -17
  1530. package/dist/lt-LT-BebOeKIA.js +0 -13
  1531. package/dist/lt-LT-CBTFJxth.js +0 -13
  1532. package/dist/lt-LT-CK0t2AVY.js +0 -37
  1533. package/dist/lt-LT-CNTNKNlX.js +0 -29
  1534. package/dist/lt-LT-CXw4ywLM.js +0 -63
  1535. package/dist/lt-LT-CfQUS8PP.js +0 -13
  1536. package/dist/lt-LT-CgalYpUh.js +0 -65
  1537. package/dist/lt-LT-Ci357QYQ.js +0 -13
  1538. package/dist/lt-LT-CkjEvGSp.js +0 -75
  1539. package/dist/lt-LT-D2Hrhr7v.js +0 -76
  1540. package/dist/lt-LT-D5Rhxm1h.js +0 -32
  1541. package/dist/lt-LT-DDdq07sX.js +0 -24
  1542. package/dist/lt-LT-DTQGR9M0.js +0 -54
  1543. package/dist/lt-LT-WRulV980.js +0 -13
  1544. package/dist/lv-LV-BQ4F1GrV.js +0 -54
  1545. package/dist/lv-LV-BdZK9nQA.js +0 -75
  1546. package/dist/lv-LV-C9Dhkruv.js +0 -13
  1547. package/dist/lv-LV-CG1zToz7.js +0 -32
  1548. package/dist/lv-LV-CYcrO-6d.js +0 -13
  1549. package/dist/lv-LV-CkyuY2ji.js +0 -24
  1550. package/dist/lv-LV-D04q9r-y.js +0 -76
  1551. package/dist/lv-LV-DTaBIHLh.js +0 -13
  1552. package/dist/lv-LV-DYqBaW2-.js +0 -63
  1553. package/dist/lv-LV-DoKxsoVR.js +0 -13
  1554. package/dist/lv-LV-Dxe-A5vo.js +0 -13
  1555. package/dist/lv-LV-JvlzK9X-.js +0 -37
  1556. package/dist/lv-LV-N81Dgdm3.js +0 -29
  1557. package/dist/lv-LV-aAd9SEqx.js +0 -65
  1558. package/dist/mail-VHTlAusn.js +0 -14
  1559. package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +0 -56
  1560. package/dist/mapExistingFile-BOZ-beF3.js +0 -157
  1561. package/dist/mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js +0 -54
  1562. package/dist/mapLegalEntityToIndividualSchema-CQnZl2f1.js +0 -204
  1563. package/dist/mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js +0 -34
  1564. package/dist/minus-circle-filled-ZhtJ0GD3.js +0 -17
  1565. package/dist/nl-NL-Bx5p0nXL.js +0 -24
  1566. package/dist/nl-NL-CFzm75Jw.js +0 -13
  1567. package/dist/nl-NL-CJ7MoBj2.js +0 -76
  1568. package/dist/nl-NL-CUcML482.js +0 -54
  1569. package/dist/nl-NL-CYFznuWn.js +0 -13
  1570. package/dist/nl-NL-Cjlmc0Ii.js +0 -32
  1571. package/dist/nl-NL-CmURERx_.js +0 -65
  1572. package/dist/nl-NL-FbJ2sHba.js +0 -13
  1573. package/dist/nl-NL-J7XpCpQm.js +0 -13
  1574. package/dist/nl-NL-JChnFdCY.js +0 -13
  1575. package/dist/nl-NL-Jhr-ICkK.js +0 -37
  1576. package/dist/nl-NL-Lo8OF_nj.js +0 -29
  1577. package/dist/nl-NL-SjOGmGk5.js +0 -13
  1578. package/dist/nl-NL-YcL7Gufl.js +0 -75
  1579. package/dist/nl-NL-lcNM54vV.js +0 -63
  1580. package/dist/no-NO--OoWld_l.js +0 -13
  1581. package/dist/no-NO-6chPsZZE.js +0 -29
  1582. package/dist/no-NO-B5BjEy8n.js +0 -13
  1583. package/dist/no-NO-BAWVf0GX.js +0 -13
  1584. package/dist/no-NO-BBCvsecq.js +0 -54
  1585. package/dist/no-NO-BH6DId3q.js +0 -37
  1586. package/dist/no-NO-Bs3-6MDM.js +0 -24
  1587. package/dist/no-NO-BsEie1We.js +0 -13
  1588. package/dist/no-NO-C20s6CoP.js +0 -76
  1589. package/dist/no-NO-CTrVITNu.js +0 -63
  1590. package/dist/no-NO-CY_XHrYd.js +0 -32
  1591. package/dist/no-NO-CtDyNTm6.js +0 -13
  1592. package/dist/no-NO-KkYB-VQD.js +0 -75
  1593. package/dist/no-NO-qyqWODMp.js +0 -65
  1594. package/dist/omitObscuredFieldsIfUnchanged-DMBgASfn.js +0 -29
  1595. package/dist/onfido-logo-BSkKPH10.js +0 -14
  1596. package/dist/options-horizontal-GuXvLvV3.js +0 -18
  1597. package/dist/partner-QD27Vy4w.js +0 -18
  1598. package/dist/passport-blurred-CVG493IJ.js +0 -59
  1599. package/dist/passport-cut-off-COzA_TmB.js +0 -56
  1600. package/dist/passport-front-WJleLixT.js +0 -52
  1601. package/dist/passport-front-green-CZVkCa1n.js +0 -232
  1602. package/dist/passport-glare-BP5WnJZj.js +0 -50
  1603. package/dist/patternValidators-a6VZDG0x.js +0 -83
  1604. package/dist/pay-by-link-plane-BpY8Q6-B.js +0 -22
  1605. package/dist/payout-DtB68BcZ.js +0 -20
  1606. package/dist/payout-verification-instant-BzpfOQLD.js +0 -41
  1607. package/dist/payout-verification-manual-gNEoeZkV.js +0 -90
  1608. package/dist/person-IVZG3t3_.js +0 -17
  1609. package/dist/phonePrefixes-CnL40uyX.js +0 -255
  1610. package/dist/pl-PL-B5c0NNHB.js +0 -37
  1611. package/dist/pl-PL-BH_LPZJa.js +0 -13
  1612. package/dist/pl-PL-BzhEoDb5.js +0 -24
  1613. package/dist/pl-PL-C19Btj2D.js +0 -76
  1614. package/dist/pl-PL-CCX1rSGF.js +0 -13
  1615. package/dist/pl-PL-CErRPlR2.js +0 -63
  1616. package/dist/pl-PL-CPdKf-J0.js +0 -75
  1617. package/dist/pl-PL-C_MvVzPy.js +0 -32
  1618. package/dist/pl-PL-CbJSQVfe.js +0 -29
  1619. package/dist/pl-PL-DEMxxz7h.js +0 -13
  1620. package/dist/pl-PL-DtJ3sgVO.js +0 -13
  1621. package/dist/pl-PL-DuM6hbqZ.js +0 -13
  1622. package/dist/pl-PL-kGaeUP-w.js +0 -54
  1623. package/dist/pl-PL-q9azN24o.js +0 -65
  1624. package/dist/plaid-logo-FsZ7kfL-.js +0 -14
  1625. package/dist/plus-DiALAL8-.js +0 -14
  1626. package/dist/plus-circle-filled-BzHtTqEN.js +0 -17
  1627. package/dist/process-field-configurations-CMIDJACq.js +0 -324
  1628. package/dist/pt-BR-4Iozxvfr.js +0 -37
  1629. package/dist/pt-BR-BKKQIUJP.js +0 -13
  1630. package/dist/pt-BR-BfDe_8iW.js +0 -13
  1631. package/dist/pt-BR-BxoOF8jB.js +0 -65
  1632. package/dist/pt-BR-C-YbDjn-.js +0 -13
  1633. package/dist/pt-BR-C0I_kTQ6.js +0 -13
  1634. package/dist/pt-BR-CBAe0SnK.js +0 -32
  1635. package/dist/pt-BR-CTXtdAVc.js +0 -122
  1636. package/dist/pt-BR-D4BTdo_w.js +0 -13
  1637. package/dist/pt-BR-DA44Wgbt.js +0 -63
  1638. package/dist/pt-BR-DRBFUW-X.js +0 -29
  1639. package/dist/pt-BR-DSENwwGu.js +0 -24
  1640. package/dist/pt-BR-ERWeus3c.js +0 -75
  1641. package/dist/pt-BR-nU_2Wbo5.js +0 -54
  1642. package/dist/pt-BR-zOjPTIPu.js +0 -76
  1643. package/dist/pt-PT-09L8XznW.js +0 -37
  1644. package/dist/pt-PT-BMOUpVLE.js +0 -29
  1645. package/dist/pt-PT-BTbVsews.js +0 -13
  1646. package/dist/pt-PT-Bf4IV7wp.js +0 -13
  1647. package/dist/pt-PT-CC7zlk3R.js +0 -13
  1648. package/dist/pt-PT-CIo3mlXL.js +0 -24
  1649. package/dist/pt-PT-DBZj2dDI.js +0 -13
  1650. package/dist/pt-PT-DUTGt5L5.js +0 -75
  1651. package/dist/pt-PT-Dm5DRDrd.js +0 -32
  1652. package/dist/pt-PT-DpDxAynk.js +0 -13
  1653. package/dist/pt-PT-F1qPZJ2c.js +0 -13
  1654. package/dist/pt-PT-JVqqgvPs.js +0 -54
  1655. package/dist/pt-PT-PIiikho9.js +0 -63
  1656. package/dist/pt-PT-pIChDwiI.js +0 -65
  1657. package/dist/pt-PT-t5M8xwTU.js +0 -76
  1658. package/dist/recurring-DKNs9K3x.js +0 -17
  1659. package/dist/reporting-D5ABpLO_.js +0 -16
  1660. package/dist/resolveEnvironment-BBqc2XYC.js +0 -77
  1661. package/dist/revenue-accelerate-D7Sp0V4a.js +0 -17
  1662. package/dist/review-D4TUjcWF.js +0 -17
  1663. package/dist/ro-RO-0vx6ZLWV.js +0 -13
  1664. package/dist/ro-RO-4j2I7YM7.js +0 -13
  1665. package/dist/ro-RO-B5YT9vP-.js +0 -32
  1666. package/dist/ro-RO-BJoL_nyS.js +0 -29
  1667. package/dist/ro-RO-BnFjok5O.js +0 -75
  1668. package/dist/ro-RO-Bv9hZxwD.js +0 -63
  1669. package/dist/ro-RO-C5PJhlmM.js +0 -13
  1670. package/dist/ro-RO-C83h2zHZ.js +0 -54
  1671. package/dist/ro-RO-CuabgXj1.js +0 -13
  1672. package/dist/ro-RO-D7-7tmTR.js +0 -37
  1673. package/dist/ro-RO-DK9gVwS9.js +0 -76
  1674. package/dist/ro-RO-DRsaNX9j.js +0 -65
  1675. package/dist/ro-RO-DaU2--fX.js +0 -13
  1676. package/dist/ro-RO-ILTvlS9i.js +0 -24
  1677. package/dist/roleMetadata-D1-6Xl8x.js +0 -66
  1678. package/dist/save-BfqO2JBI.js +0 -14
  1679. package/dist/search-Cmzbf5zI.js +0 -17
  1680. package/dist/show-IdbU1C6P.js +0 -17
  1681. package/dist/singpass-logo-wY4xsmTX.js +0 -17
  1682. package/dist/singpass-verification-instant-JCqTr7Mv.js +0 -40
  1683. package/dist/singpass-verification-manual-DQ7XW6R3.js +0 -34
  1684. package/dist/sk-SK-2J6iKfmK.js +0 -76
  1685. package/dist/sk-SK-7-enbO1N.js +0 -65
  1686. package/dist/sk-SK-B-1yRol7.js +0 -13
  1687. package/dist/sk-SK-C5Qmv4E6.js +0 -13
  1688. package/dist/sk-SK-CLPd85I3.js +0 -75
  1689. package/dist/sk-SK-CgLJIuJw.js +0 -54
  1690. package/dist/sk-SK-ChVwlbp0.js +0 -63
  1691. package/dist/sk-SK-Cv23cDQO.js +0 -24
  1692. package/dist/sk-SK-D3tsz1Pg.js +0 -37
  1693. package/dist/sk-SK-DM1yY8DA.js +0 -13
  1694. package/dist/sk-SK-DO-AqRjE.js +0 -13
  1695. package/dist/sk-SK-DuLm2CVx.js +0 -13
  1696. package/dist/sk-SK-DxdxUonp.js +0 -29
  1697. package/dist/sk-SK-S6iF1WDH.js +0 -32
  1698. package/dist/sl-SI--pDTatHh.js +0 -13
  1699. package/dist/sl-SI-BAIm-qBe.js +0 -13
  1700. package/dist/sl-SI-BZpXMHiG.js +0 -13
  1701. package/dist/sl-SI-BzeVaC1Z.js +0 -54
  1702. package/dist/sl-SI-CJH14wbj.js +0 -13
  1703. package/dist/sl-SI-C_4ajjU4.js +0 -13
  1704. package/dist/sl-SI-D82ccY62.js +0 -76
  1705. package/dist/sl-SI-DEaeEVKB.js +0 -24
  1706. package/dist/sl-SI-DTvJT7fC.js +0 -65
  1707. package/dist/sl-SI-DZHePXbK.js +0 -63
  1708. package/dist/sl-SI-DqUEy_Cm.js +0 -32
  1709. package/dist/sl-SI-T9_Ty-NS.js +0 -75
  1710. package/dist/sl-SI-UFngWs5n.js +0 -29
  1711. package/dist/sl-SI-Y9h1ht45.js +0 -37
  1712. package/dist/solution-payments-DpyE_sdS.js +0 -14
  1713. package/dist/store-Btc4GcmU.js +0 -14
  1714. package/dist/styles-CLV89_hH.js +0 -5962
  1715. package/dist/summaryItem-CAQCQSkt.js +0 -18
  1716. package/dist/sv-SE-3-h2VlYi.js +0 -75
  1717. package/dist/sv-SE-BZNey_8S.js +0 -13
  1718. package/dist/sv-SE-CDxyyNV0.js +0 -13
  1719. package/dist/sv-SE-CRBRuE8Z.js +0 -32
  1720. package/dist/sv-SE-CVmo11gI.js +0 -54
  1721. package/dist/sv-SE-CXaMlJCI.js +0 -24
  1722. package/dist/sv-SE-Cr0s35EH.js +0 -29
  1723. package/dist/sv-SE-CrBkos0z.js +0 -76
  1724. package/dist/sv-SE-DFSm22oQ.js +0 -37
  1725. package/dist/sv-SE-DKnUr7xo.js +0 -13
  1726. package/dist/sv-SE-Dq56vGlB.js +0 -63
  1727. package/dist/sv-SE-DsPdegWB.js +0 -13
  1728. package/dist/sv-SE-N-Hqwcjq.js +0 -65
  1729. package/dist/sv-SE-ZsucW_Uj.js +0 -13
  1730. package/dist/sv-SE-rckxD-43.js +0 -13
  1731. package/dist/tax-reporting-graph-hgoilCHZ.js +0 -504
  1732. package/dist/terminal-1-D1pwXCoi.js +0 -18
  1733. package/dist/tink-logo-DDyjz5eJ.js +0 -17
  1734. package/dist/trackNavigation-db_h46BT.js +0 -28
  1735. package/dist/trusted-fields-provider-BgfIoSNJ.js +0 -16
  1736. package/dist/types/api/invitations/useInvitationStatuses.d.ts +0 -8
  1737. package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +0 -1
  1738. package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +0 -6
  1739. package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +0 -7
  1740. package/dist/types/components/index.d.ts +0 -49
  1741. package/dist/types/context/ExpiryContext/ExpiryContext.d.ts +0 -15
  1742. package/dist/types/context/ExpiryContext/useExpiryThreshold.d.ts +0 -12
  1743. package/dist/types/core/BaseElement.d.ts +0 -46
  1744. package/dist/types/core/UIElement/UIElement.d.ts +0 -24
  1745. package/dist/types/core/core.d.ts +0 -28
  1746. package/dist/types/core/sdkValidation/index.d.ts +0 -4
  1747. package/dist/types/core/sdkValidation/schemas.d.ts +0 -2
  1748. package/dist/types/core/sdkValidation/types.d.ts +0 -19
  1749. package/dist/types--xPA8bq3.js +0 -34
  1750. package/dist/types-BDdV-c-7.js +0 -64
  1751. package/dist/types-C7ANBXKc.js +0 -144
  1752. package/dist/types-CMK2Gs1Z.js +0 -74
  1753. package/dist/types-Dv0COrvY.js +0 -37
  1754. package/dist/unincorporated-partnership-5iQ8augf.js +0 -28
  1755. package/dist/upload-BmUXjsaU.js +0 -17
  1756. package/dist/us-check-C1rTBsCY.js +0 -46
  1757. package/dist/us-check-account-number-9lI1dXNC.js +0 -48
  1758. package/dist/us-check-routing-number-s_KaAGSM.js +0 -49
  1759. package/dist/useAssociatedLegalEntity-9hHARgoS.js +0 -34
  1760. package/dist/useBusinessDetailsData-eIZWfksO.js +0 -5420
  1761. package/dist/useCreateLegalEntity-CtGUDesz.js +0 -32
  1762. package/dist/useForm-BgHdSJLD.js +0 -582
  1763. package/dist/useFormContext-CS1RRaOG.js +0 -211
  1764. package/dist/useGlobalData-TnV6PIkt.js +0 -199
  1765. package/dist/useId-BZ0PA7jP.js +0 -24
  1766. package/dist/useMultiForm-D_RXm-EH.js +0 -879
  1767. package/dist/useOnboardingStatus-C24Lv41L.js +0 -28
  1768. package/dist/useScenarios-Dt8fTJaF.js +0 -48
  1769. package/dist/useTermsOfServiceStatus-uLxHxESA.js +0 -43
  1770. package/dist/useToastContext-DrlXuGmm.js +0 -49
  1771. package/dist/useUnincorporatedPartnershipMembers-DCGs6f0a.js +0 -99
  1772. package/dist/useUpdateBusinessLines-fa9VQXA7.js +0 -337
  1773. package/dist/useUpdateLegalEntity-pCVJvMOY.js +0 -40
  1774. package/dist/utils-3sCyD_Sz.js +0 -29
  1775. package/dist/utils-C0z7wmlu.js +0 -179
  1776. package/dist/utils-CPcpt-fR.js +0 -237
  1777. package/dist/utils-CgfUpZyZ.js +0 -58
  1778. package/dist/utils-CinWv0Kh.js +0 -811
  1779. package/dist/utils-DNSfZiio.js +0 -70
  1780. package/dist/validate-B1FpiTip.js +0 -434
  1781. package/dist/validate-DfJceNKE.js +0 -120
  1782. package/dist/validationError-kYn_eC4r.js +0 -86
  1783. package/dist/view-verification-status-VFcBydkR.js +0 -21
  1784. package/dist/warning-circle-fill-DBvt921B.js +0 -17
  1785. package/dist/warning-diamond-filled-Lb2od2ry.js +0 -17
  1786. package/dist/webinar-m9nuFZBt.js +0 -22
  1787. package/dist/yapily-logo-BduxhNRA.js +0 -17
@@ -1,2335 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "908e721c-c139-4df9-9b85-8f6edb9a11f3", e._sentryDebugIdIdentifier = "sentry-dbid-908e721c-c139-4df9-9b85-8f6edb9a11f3");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, N as Typography, C as Alert, V as Button, ab as translateTranslatable, U as Loader, z as Icon, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, O as StackLayout, ae as createLogger, P as useLegalEntity, R as ROOT_LE, x as useAnalyticsContext, bR as useLegalEntities, ah as objectsDeepEqual, a as addResourceBundles, E as EntityTypes, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
11
- import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
13
- import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
14
- import { h as useBusinessLines } from "./OnboardingDropinComponent-Cn45HTst.js";
15
- import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
16
- import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DrlXuGmm.js";
17
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CtGUDesz.js";
18
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-pCVJvMOY.js";
19
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
20
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
21
- import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
22
- import { c as createDocumentRequest, d as documentApiUtils } from "./validate-B1FpiTip.js";
23
- import { i as isEmpty } from "./isEmpty-BcLvy0xw.js";
24
- import { f as formatObject } from "./utils-DNSfZiio.js";
25
- import { signal } from "@preact/signals";
26
- import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
27
- import { c as createFormUtils } from "./formUtils-BVAIyFiB.js";
28
- import { F as Field } from "./Field-DDqviWD6.js";
29
- import { S as Select } from "./Select-D5a5aVFZ.js";
30
- import { T as TextArea } from "./TextArea-C4OmPCHh.js";
31
- import { I as InputDate } from "./InputDate-BB4WZBNP.js";
32
- import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
33
- import { I as InputText } from "./InputText-BCi31wZB.js";
34
- import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getApplicableBusinessLines, w as areSourceOfFundsEqual, x as getSourceOfFundsRequiredForms, y as getSourceOfFundsPayload, z as getAdditionalDataForOriginator, A as ALLOWED_SOF_SERVICES, B as parseSofOriginatorPayload } from "./utils-CinWv0Kh.js";
35
- import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
36
- import { C as CountryField } from "./CountryField-B0KnMSNK.js";
37
- import { A as Avatar } from "./Avatar-D7DkiYRU.js";
38
- import { M as Modal } from "./Modal-Bq5ccK7z.js";
39
- import { C as Confirm } from "./Confirm-CceRWfkX.js";
40
- import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
41
- import { T as TileGroup } from "./TileGroup-Aj0Yql_d.js";
42
- import { lazy } from "preact/compat";
43
- import { u as useTaskStatus } from "./getTrustedFields-Cv6R496P.js";
44
- import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
45
- import { L as LandingLayout } from "./LandingLayout-D_EQfRqT.js";
46
- import { C as Card } from "./Card-OQuFzmxm.js";
47
- import { S as StructuredList } from "./StructuredList-CNha20ka.js";
48
- import { D as Dropzone } from "./Dropzone-DkOStOI3.js";
49
- import { v as validateDateNotInTheFuture } from "./validate-DfJceNKE.js";
50
- const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
51
- return httpPost(
52
- {
53
- baseUrl,
54
- path: `legalEntities/${legalEntityId}/businessLines/${businessLineId}/sourceOfFunds`
55
- },
56
- data
57
- );
58
- };
59
- const useUpdateSourceOfFunds = (options) => {
60
- const { rootLegalEntityId, baseUrl } = useApiContext();
61
- const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
62
- return useMutation({
63
- mutationFn: ({ businessLineId, ...requestData }) => updateSourceOfFunds(businessLineId, rootLegalEntityId.value, baseUrl.value, requestData),
64
- onSuccess: async () => {
65
- await invalidateRootLegalEntity();
66
- },
67
- ...options
68
- });
69
- };
70
- const sourceOfFundsBaseMapping = {
71
- "sourceOfFundsType.type": "sourceOfFunds.type",
72
- "additionalData.description": "sourceOfFunds.description",
73
- "additionalData.amount": "sourceOfFunds.amount",
74
- "additionalData.dateOfFundsReceived": "sourceOfFunds.dateOfFundsReceived",
75
- "additionalData.purpose": "sourceOfFunds.purpose",
76
- "additionalData.relationship": "sourceOfFunds.relationship",
77
- "additionalData.originatorLegalEntityId": "sourceOfFunds.originatorLegalEntityId",
78
- "additionalData.financiers": "sourceOfFunds.financiers",
79
- "additionalData.cryptocurrencyExchange": "sourceOfFunds.cryptocurrencyExchange",
80
- "additionalData.dateOfSourceEvent": "sourceOfFunds.dateOfSourceEvent",
81
- "additionalData.website": "sourceOfFunds.website",
82
- "additionalData.legalName": "sourceOfFunds.legalName",
83
- "additionalData.firstName": "sourceOfFunds.firstName",
84
- "additionalData.lastName": "sourceOfFunds.lastName",
85
- "additionalData.country": "sourceOfFunds.country",
86
- "additionalData.originatorType": "sourceOfFunds.originatorType"
87
- };
88
- const sourceOfFundsComponentsKeyMapping = {
89
- ...sourceOfFundsBaseMapping
90
- };
91
- const mapSourceOfFundToSourceOfFundsSchema = (businessLine) => formatObject(businessLine, sourceOfFundsComponentsKeyMapping);
92
- const sofErrorMessage = signal(void 0);
93
- const setSofErrorMessage = (message) => {
94
- sofErrorMessage.value = message;
95
- };
96
- const clearSofErrorMessage = () => {
97
- sofErrorMessage.value = void 0;
98
- };
99
- const getSourceOfFundsTypes = async (baseUrl) => {
100
- return httpGet({
101
- baseUrl,
102
- path: `datasets/sourceOfFundsTypes`
103
- });
104
- };
105
- const useSourceOfFundsTypes = (options) => {
106
- const { baseUrl } = useApiContext();
107
- return useQuery({
108
- queryKey: ["sourceOfFundsTypes"],
109
- queryFn: () => getSourceOfFundsTypes(baseUrl.value),
110
- ...options
111
- });
112
- };
113
- const sourceOfFunds = "adyen-kyc-source-of-funds";
114
- const sourceOfFundsWrapperLoading = "adyen-kyc-source-of-funds-wrapper-loading";
115
- const sourceOfFundsWrapperHeading = "adyen-kyc-source-of-funds-wrapper-heading";
116
- const sourceOfFundsWrapperDescription = "adyen-kyc-source-of-funds-wrapper-description";
117
- const sourceOfFundsSameAsCheckbox = "adyen-kyc-source-of-funds-same-as-checkbox";
118
- const sourceOfFundsGettingStarted = "adyen-kyc-source-of-funds-getting-started";
119
- const sourceOfFundsGettingStartedError = "adyen-kyc-source-of-funds-getting-started-error";
120
- const sourceOfFundsGettingStartedErrorActions = "adyen-kyc-source-of-funds-getting-started-error-actions";
121
- const sourceOfFundsGettingStartedCards = "adyen-kyc-source-of-funds-getting-started-cards";
122
- const sourceOfFundsGettingStartedCardsCardHeader = "adyen-kyc-source-of-funds-getting-started-cards-card-header";
123
- const sourceOfFundsGettingStartedCardsCardBody = "adyen-kyc-source-of-funds-getting-started-cards-card-body";
124
- const sourceOfFundsGettingStartedActions = "adyen-kyc-source-of-funds-getting-started-actions";
125
- const sourceOfFundsAdditionalDataForm = "adyen-kyc-source-of-funds-additional-data-form";
126
- const sourceOfFundsThirdPartyFundingFinancierGroup = "adyen-kyc-source-of-funds-third-party-funding-financier-group";
127
- const sourceOfFundsThirdPartyFundingNameAvatarGroup = "adyen-kyc-source-of-funds-third-party-funding-name-avatar-group";
128
- const sourceOfFundsThirdPartyFundingNameAddressGroup = "adyen-kyc-source-of-funds-third-party-funding-name-address-group";
129
- const sourceOfFundsSofFinancierFormError = "adyen-kyc-source-of-funds-sof-financier-form-error";
130
- const sourceOfFundsSofFinancierFormNameGroup = "adyen-kyc-source-of-funds-sof-financier-form-name-group";
131
- const sourceOfFundsFinancierFooter = "adyen-kyc-source-of-funds-financier-footer";
132
- const sourceOfFundsGridContainer = "adyen-kyc-source-of-funds-grid-container";
133
- const sourceOfFundsUploadModalContentField = "adyen-kyc-source-of-funds-upload-modal-content-field";
134
- const sourceOfFundsUploadModalContentFieldRadioGroup = "adyen-kyc-source-of-funds-upload-modal-content-field-radio-group";
135
- const sourceOfFundsUploadModalContentRequirementsContainer = "adyen-kyc-source-of-funds-upload-modal-content-requirements-container";
136
- const sourceOfFundsUploadListHeading = "adyen-kyc-source-of-funds-upload-list-heading";
137
- const sourceOfFundsModal = "adyen-kyc-source-of-funds-modal";
138
- const styles = {
139
- sourceOfFunds,
140
- sourceOfFundsWrapperLoading,
141
- sourceOfFundsWrapperHeading,
142
- sourceOfFundsWrapperDescription,
143
- sourceOfFundsSameAsCheckbox,
144
- sourceOfFundsGettingStarted,
145
- sourceOfFundsGettingStartedError,
146
- sourceOfFundsGettingStartedErrorActions,
147
- sourceOfFundsGettingStartedCards,
148
- sourceOfFundsGettingStartedCardsCardHeader,
149
- sourceOfFundsGettingStartedCardsCardBody,
150
- sourceOfFundsGettingStartedActions,
151
- sourceOfFundsAdditionalDataForm,
152
- sourceOfFundsThirdPartyFundingFinancierGroup,
153
- sourceOfFundsThirdPartyFundingNameAvatarGroup,
154
- sourceOfFundsThirdPartyFundingNameAddressGroup,
155
- sourceOfFundsSofFinancierFormError,
156
- sourceOfFundsSofFinancierFormNameGroup,
157
- sourceOfFundsFinancierFooter,
158
- sourceOfFundsGridContainer,
159
- sourceOfFundsUploadModalContentField,
160
- sourceOfFundsUploadModalContentFieldRadioGroup,
161
- sourceOfFundsUploadModalContentRequirementsContainer,
162
- sourceOfFundsUploadListHeading,
163
- sourceOfFundsModal
164
- };
165
- function AdditionalDataForAssetSale(props) {
166
- const [isFocused, setIsFocused] = useState(false);
167
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
168
- const { t: commonT } = useTranslation("common");
169
- const handleOnAmountBlur = () => {
170
- setIsFocused(false);
171
- handleAmountChange("amount");
172
- };
173
- return /* @__PURE__ */ jsxs(Fragment, { children: [
174
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGridContainer, children: [
175
- /* @__PURE__ */ jsx(
176
- Field,
177
- {
178
- el: "fieldset",
179
- name: "amount",
180
- label: formUtils.getLabel("amount", "saleAmount"),
181
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
182
- children: (childProps) => /* @__PURE__ */ jsxs(
183
- InputGroup,
184
- {
185
- ...childProps,
186
- id: "currencyGroup",
187
- isFocused,
188
- isInvalid: Boolean(!valid.amount && errors.amount),
189
- children: [
190
- /* @__PURE__ */ jsx(
191
- Select,
192
- {
193
- name: "currency",
194
- "aria-label": commonT(($) => $["currency"]),
195
- isMulti: false,
196
- items: allowedCurrencies,
197
- selected: data.amount?.currency,
198
- placeholder: commonT(($) => $["select"]),
199
- onChange: handleAmountChange("currency"),
200
- minimal: true
201
- }
202
- ),
203
- /* @__PURE__ */ jsx(
204
- InputText,
205
- {
206
- ...childProps,
207
- name: "amount",
208
- value: data.amount?.value,
209
- readonly: formUtils.isReadOnly("amount"),
210
- onInput: handleAmountChange("amount"),
211
- onBlur: handleOnAmountBlur,
212
- "aria-required": true,
213
- "aria-invalid": !valid.amount,
214
- isValid: valid.amount,
215
- onFocusHandler: () => setIsFocused(true)
216
- }
217
- )
218
- ]
219
- }
220
- )
221
- }
222
- ),
223
- /* @__PURE__ */ jsx(
224
- Field,
225
- {
226
- name: "dateOfSourceEvent",
227
- label: formUtils.getLabel("dateOfSourceEvent", "dateOfSale"),
228
- errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
229
- isValid: valid.dateOfSourceEvent,
230
- children: (childProps) => /* @__PURE__ */ jsx(
231
- InputDate,
232
- {
233
- ...childProps,
234
- name: "dateOfSourceEvent",
235
- value: formatDateForInput(data.dateOfSourceEvent),
236
- onInput: handleChangeFor("dateOfSourceEvent", "input"),
237
- onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
238
- "aria-required": true,
239
- "aria-invalid": !valid.dateOfSourceEvent,
240
- max: TODAY_DATE
241
- }
242
- )
243
- }
244
- )
245
- ] }),
246
- /* @__PURE__ */ jsx(
247
- Field,
248
- {
249
- name: "description",
250
- label: formUtils.getLabel("description", "propertyDescription"),
251
- errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
252
- isValid: valid.description,
253
- children: (childProps) => /* @__PURE__ */ jsx(
254
- TextArea,
255
- {
256
- ...childProps,
257
- name: "description",
258
- value: data.description,
259
- maxLength: SOF_CHARACTERS_LIMIT,
260
- onInput: handleChangeFor("description"),
261
- onBlur: handleChangeFor("description"),
262
- "aria-invalid": !valid.description
263
- }
264
- )
265
- }
266
- )
267
- ] });
268
- }
269
- function AdditionalDataForBusiness(props) {
270
- const [isFocused, setIsFocused] = useState(false);
271
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
272
- const { t: commonT } = useTranslation("common");
273
- const handleOnAmountBlur = () => {
274
- setIsFocused(false);
275
- handleAmountChange("amount");
276
- };
277
- return /* @__PURE__ */ jsxs(Fragment, { children: [
278
- /* @__PURE__ */ jsx(
279
- Field,
280
- {
281
- el: "fieldset",
282
- name: "amount",
283
- label: formUtils.getLabel("amount", "annualTurnover"),
284
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
285
- helper: commonT(($) => $["useFiguresFromTheMostRecentYearAvailable"]),
286
- helperPosition: "below",
287
- children: (childProps) => /* @__PURE__ */ jsxs(
288
- InputGroup,
289
- {
290
- ...childProps,
291
- id: "currencyGroup",
292
- isFocused,
293
- isInvalid: Boolean(!valid.amount && errors.amount),
294
- children: [
295
- /* @__PURE__ */ jsx(
296
- Select,
297
- {
298
- name: "currency",
299
- "aria-label": commonT(($) => $["currency"]),
300
- isMulti: false,
301
- items: allowedCurrencies,
302
- selected: data.amount?.currency,
303
- placeholder: commonT(($) => $["select"]),
304
- onChange: handleAmountChange("currency"),
305
- minimal: true
306
- }
307
- ),
308
- /* @__PURE__ */ jsx(
309
- InputText,
310
- {
311
- ...childProps,
312
- name: "amount",
313
- value: data.amount?.value,
314
- readonly: formUtils.isReadOnly("amount"),
315
- onInput: handleAmountChange("amount"),
316
- onBlur: handleOnAmountBlur,
317
- "aria-required": true,
318
- "aria-invalid": !valid.amount,
319
- isValid: valid.amount,
320
- onFocusHandler: () => setIsFocused(true)
321
- }
322
- )
323
- ]
324
- }
325
- )
326
- }
327
- ),
328
- /* @__PURE__ */ jsx(
329
- Field,
330
- {
331
- name: "description",
332
- label: formUtils.getLabel("description", "businessDescription"),
333
- errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
334
- isValid: valid.description,
335
- children: (childProps) => /* @__PURE__ */ jsx(
336
- TextArea,
337
- {
338
- ...childProps,
339
- name: "description",
340
- value: data.description,
341
- maxLength: SOF_CHARACTERS_LIMIT,
342
- onInput: handleChangeFor("description"),
343
- onBlur: handleChangeFor("description"),
344
- "aria-invalid": !valid.description
345
- }
346
- )
347
- }
348
- )
349
- ] });
350
- }
351
- function AdditionalDataForCryptocurrency(props) {
352
- const { t: sofT } = useTranslation("sof");
353
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
354
- return /* @__PURE__ */ jsx(
355
- Field,
356
- {
357
- name: "cryptocurrencyExchange",
358
- label: formUtils.getLabel("cryptocurrencyExchange", "cryptocurrencyExchange"),
359
- errorMessage: formUtils.getErrorMessage("cryptocurrencyExchange", errors, fieldProblems),
360
- isValid: valid.cryptocurrencyExchange,
361
- helper: sofT(($) => $["nameOfTheExchangeWhereTheCryptocurrencyWasHeldPriorToSale"]),
362
- helperPosition: "below",
363
- children: (childProps) => /* @__PURE__ */ jsx(
364
- InputText,
365
- {
366
- ...childProps,
367
- name: "cryptocurrencyExchange",
368
- value: data.cryptocurrencyExchange,
369
- readonly: formUtils.isReadOnly("cryptocurrencyExchange"),
370
- onInput: handleChangeFor("cryptocurrencyExchange", "input"),
371
- onBlur: handleChangeFor("cryptocurrencyExchange", "blur"),
372
- "aria-required": true,
373
- "aria-invalid": !valid.cryptocurrencyExchange,
374
- isValid: valid.cryptocurrencyExchange
375
- }
376
- )
377
- }
378
- );
379
- }
380
- const radioItems = [
381
- {
382
- id: "individual",
383
- name: "individual"
384
- },
385
- {
386
- id: "organization",
387
- name: "organization"
388
- }
389
- ];
390
- function AdditionalDataOriginatorLegalEntity(props) {
391
- const { t: sofT } = useTranslation("sof");
392
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, sourceOfFundsType } = props;
393
- const isDonations = useMemo(() => sourceOfFundsType === "donations", [sourceOfFundsType]);
394
- const countryTranslationKey = isDonations && data?.originatorType === "individual" ? "donorsCountryOfResidence" : data?.originatorType === "organization" ? "organizationsCountryOfOperation" : "decedentsCountryOfDeath";
395
- return /* @__PURE__ */ jsxs(Fragment, { children: [
396
- /* @__PURE__ */ jsx(
397
- Field,
398
- {
399
- el: "fieldset",
400
- name: "originatorType",
401
- className: styles.sourceOfFundsUploadModalContentField,
402
- label: sofT(
403
- ($) => $[isDonations ? "whereDidThisGiftOrDonationComeFrom" : "whereDidThisInheritanceComeFrom"]
404
- ),
405
- errorMessage: formUtils.getErrorMessage("originatorType", errors, fieldProblems),
406
- isValid: valid.originatorType,
407
- children: (childProps) => /* @__PURE__ */ jsx(
408
- RadioGroup,
409
- {
410
- ...childProps,
411
- name: "originatorType",
412
- className: styles.sourceOfFundsUploadModalContentFieldRadioGroup,
413
- items: radioItems,
414
- value: data.originatorType,
415
- disabled: false,
416
- onChange: handleChangeFor("originatorType", "input"),
417
- "aria-required": true
418
- }
419
- )
420
- }
421
- ),
422
- data?.originatorType === "organization" && /* @__PURE__ */ jsx(
423
- Field,
424
- {
425
- name: "legalName",
426
- label: formUtils.getLabel("legalName", "organizationsLegalName"),
427
- errorMessage: formUtils.getErrorMessage("legalName", errors, fieldProblems),
428
- isValid: valid.legalName,
429
- children: (childProps) => /* @__PURE__ */ jsx(
430
- InputText,
431
- {
432
- ...childProps,
433
- name: "legalName",
434
- value: data.legalName,
435
- readonly: formUtils.isReadOnly("legalName"),
436
- onInput: handleChangeFor("legalName", "input"),
437
- onBlur: handleChangeFor("legalName", "blur"),
438
- "aria-required": true,
439
- "aria-invalid": !valid.legalName,
440
- isValid: valid.legalName
441
- }
442
- )
443
- }
444
- ),
445
- data?.originatorType === "individual" && /* @__PURE__ */ jsxs(Fragment, { children: [
446
- /* @__PURE__ */ jsx(
447
- Field,
448
- {
449
- name: "firstName",
450
- label: formUtils.getLabel(
451
- "firstName",
452
- isDonations ? "donorsLegalFirstName" : "decedentsLegalFirstName"
453
- ),
454
- errorMessage: formUtils.getErrorMessage("firstName", errors, fieldProblems),
455
- isValid: valid.firstName,
456
- children: (childProps) => /* @__PURE__ */ jsx(
457
- InputText,
458
- {
459
- ...childProps,
460
- name: "firstName",
461
- value: data.firstName,
462
- readonly: formUtils.isReadOnly("firstName"),
463
- onInput: handleChangeFor("firstName", "input"),
464
- onBlur: handleChangeFor("firstName", "blur"),
465
- "aria-required": true,
466
- "aria-invalid": !valid.firstName,
467
- isValid: valid.firstName
468
- }
469
- )
470
- }
471
- ),
472
- /* @__PURE__ */ jsx(
473
- Field,
474
- {
475
- name: "lastName",
476
- label: formUtils.getLabel(
477
- "lastName",
478
- isDonations ? "donorsLegalLastName" : "decedentsLegalLastName"
479
- ),
480
- errorMessage: formUtils.getErrorMessage("lastName", errors, fieldProblems),
481
- isValid: valid.lastName,
482
- children: (childProps) => /* @__PURE__ */ jsx(
483
- InputText,
484
- {
485
- ...childProps,
486
- name: "lastName",
487
- value: data.lastName,
488
- readonly: formUtils.isReadOnly("lastName"),
489
- onInput: handleChangeFor("lastName", "input"),
490
- onBlur: handleChangeFor("lastName", "blur"),
491
- "aria-required": true,
492
- "aria-invalid": !valid.lastName,
493
- isValid: valid.lastName
494
- }
495
- )
496
- }
497
- )
498
- ] }),
499
- data?.originatorType && /* @__PURE__ */ jsxs(Fragment, { children: [
500
- /* @__PURE__ */ jsx(
501
- Field,
502
- {
503
- name: "relationship",
504
- label: formUtils.getLabel(
505
- "relationship",
506
- isDonations && data?.originatorType === "individual" ? "yourRelationshipToDonor" : data?.originatorType === "organization" ? "yourRelationshipToOrganization" : "yourRelationshipToDecedent"
507
- ),
508
- errorMessage: formUtils.getErrorMessage("relationship", errors, fieldProblems),
509
- isValid: valid.relationship,
510
- children: (childProps) => /* @__PURE__ */ jsx(
511
- InputText,
512
- {
513
- ...childProps,
514
- name: "relationship",
515
- value: data.relationship,
516
- readonly: formUtils.isReadOnly("relationship"),
517
- onInput: handleChangeFor("relationship", "input"),
518
- onBlur: handleChangeFor("relationship", "blur"),
519
- "aria-required": true,
520
- "aria-invalid": !valid.relationship,
521
- isValid: valid.relationship
522
- }
523
- )
524
- }
525
- ),
526
- /* @__PURE__ */ jsx(
527
- CountryField,
528
- {
529
- data: { country: data.country },
530
- valid: { country: valid.country },
531
- errors: {
532
- country: formUtils.getErrorMessage("country", errors, fieldProblems)
533
- },
534
- labels: {
535
- country: sofT(($) => $[countryTranslationKey])
536
- },
537
- readonly: formUtils.isReadOnly("country"),
538
- handleChangeFor
539
- }
540
- )
541
- ] })
542
- ] });
543
- }
544
- function AdditionalDataForDonation(props) {
545
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
546
- return /* @__PURE__ */ jsxs(Fragment, { children: [
547
- /* @__PURE__ */ jsx(
548
- AdditionalDataOriginatorLegalEntity,
549
- {
550
- formUtils,
551
- handleChangeFor,
552
- data,
553
- errors,
554
- valid,
555
- fieldProblems,
556
- sourceOfFundsType: "donations"
557
- }
558
- ),
559
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGridContainer, children: [
560
- /* @__PURE__ */ jsx(
561
- Field,
562
- {
563
- name: "purpose",
564
- label: formUtils.getLabel("purpose", "reason"),
565
- errorMessage: formUtils.getErrorMessage("purpose", errors, fieldProblems),
566
- isValid: valid.purpose,
567
- children: (childProps) => /* @__PURE__ */ jsx(
568
- InputText,
569
- {
570
- ...childProps,
571
- name: "purpose",
572
- value: data.purpose,
573
- readonly: formUtils.isReadOnly("purpose"),
574
- onInput: handleChangeFor("purpose", "input"),
575
- onBlur: handleChangeFor("purpose", "blur"),
576
- "aria-required": true,
577
- "aria-invalid": !valid.purpose,
578
- isValid: valid.purpose
579
- }
580
- )
581
- }
582
- ),
583
- /* @__PURE__ */ jsx(
584
- Field,
585
- {
586
- name: "dateOfFundsReceived",
587
- label: formUtils.getLabel("dateOfFundsReceived", "date"),
588
- errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
589
- isValid: valid.dateOfFundsReceived,
590
- children: (childProps) => /* @__PURE__ */ jsx(
591
- InputDate,
592
- {
593
- ...childProps,
594
- name: "dateOfFundsReceived",
595
- value: formatDateForInput(data.dateOfFundsReceived),
596
- onInput: handleChangeFor("dateOfFundsReceived", "input"),
597
- onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
598
- "aria-required": true,
599
- "aria-invalid": !valid.dateOfFundsReceived,
600
- max: TODAY_DATE
601
- }
602
- )
603
- }
604
- )
605
- ] })
606
- ] });
607
- }
608
- function AdditionalDataForGambling(props) {
609
- const { t: commonT } = useTranslation("common");
610
- const [focusedInput, setFocusedInput] = useState();
611
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
612
- const handleOnAmountBlur = () => {
613
- setFocusedInput(void 0);
614
- handleAmountChange("amount");
615
- };
616
- return /* @__PURE__ */ jsxs(Fragment, { children: [
617
- /* @__PURE__ */ jsx(
618
- Field,
619
- {
620
- el: "fieldset",
621
- name: "amount",
622
- label: formUtils.getLabel("amount", "totalAmountWon"),
623
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
624
- children: (childProps) => /* @__PURE__ */ jsxs(
625
- InputGroup,
626
- {
627
- ...childProps,
628
- id: "currencyGroup",
629
- isFocused: focusedInput === "amount",
630
- isInvalid: Boolean(!valid.amount && errors.amount),
631
- children: [
632
- /* @__PURE__ */ jsx(
633
- Select,
634
- {
635
- name: "currency",
636
- "aria-label": commonT(($) => $["currency"]),
637
- isMulti: false,
638
- items: allowedCurrencies,
639
- selected: data.amount?.currency,
640
- placeholder: commonT(($) => $["select"]),
641
- onChange: handleAmountChange("currency"),
642
- minimal: true
643
- }
644
- ),
645
- /* @__PURE__ */ jsx(
646
- InputText,
647
- {
648
- ...childProps,
649
- name: "amount",
650
- value: data.amount?.value,
651
- readonly: formUtils.isReadOnly("amount"),
652
- onInput: handleAmountChange("amount"),
653
- onBlur: handleOnAmountBlur,
654
- "aria-required": true,
655
- "aria-invalid": !valid.amount,
656
- isValid: valid.amount,
657
- onFocusHandler: () => setFocusedInput("amount")
658
- }
659
- )
660
- ]
661
- }
662
- )
663
- }
664
- ),
665
- /* @__PURE__ */ jsx(
666
- Field,
667
- {
668
- name: "dateOfSourceEvent",
669
- label: formUtils.getLabel("dateOfSourceEvent", "dateOfWinning"),
670
- errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
671
- isValid: valid.dateOfSourceEvent,
672
- children: (childProps) => /* @__PURE__ */ jsx(
673
- InputDate,
674
- {
675
- ...childProps,
676
- name: "dateOfSourceEvent",
677
- value: formatDateForInput(data.dateOfSourceEvent),
678
- onInput: handleChangeFor("dateOfSourceEvent", "input"),
679
- onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
680
- "aria-required": true,
681
- "aria-invalid": !valid.dateOfSourceEvent,
682
- max: TODAY_DATE
683
- }
684
- )
685
- }
686
- ),
687
- /* @__PURE__ */ jsx(
688
- Field,
689
- {
690
- name: "website",
691
- label: formUtils.getLabel("website", "gamblingEstablishmentWebsite"),
692
- errorMessage: formUtils.getErrorMessage("website", errors, fieldProblems),
693
- children: (childProps) => /* @__PURE__ */ jsx(
694
- InputGroup,
695
- {
696
- ...childProps,
697
- id: "websiteGroup",
698
- isFocused: focusedInput === "website",
699
- isInvalid: Boolean(!valid.website && errors.website),
700
- children: /* @__PURE__ */ jsx(
701
- InputText,
702
- {
703
- ...childProps,
704
- placeholder: "https://",
705
- name: "website",
706
- value: data.website,
707
- readonly: formUtils.isReadOnly("website"),
708
- onInput: handleChangeFor("website", "input"),
709
- onBlur: handleChangeFor("website", "blur"),
710
- "aria-required": true,
711
- "aria-invalid": !valid.website,
712
- isValid: valid.website,
713
- onFocusHandler: () => setFocusedInput("website")
714
- }
715
- )
716
- }
717
- )
718
- }
719
- )
720
- ] });
721
- }
722
- function AdditionalDataForInheritance(props) {
723
- const [isFocused, setIsFocused] = useState(false);
724
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
725
- const { t: commonT } = useTranslation("common");
726
- const handleOnAmountBlur = () => {
727
- setIsFocused(false);
728
- handleAmountChange("amount");
729
- };
730
- return /* @__PURE__ */ jsxs(Fragment, { children: [
731
- /* @__PURE__ */ jsx(
732
- AdditionalDataOriginatorLegalEntity,
733
- {
734
- formUtils,
735
- handleChangeFor,
736
- data,
737
- errors,
738
- valid,
739
- fieldProblems,
740
- sourceOfFundsType: "inheritance"
741
- }
742
- ),
743
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGridContainer, children: [
744
- /* @__PURE__ */ jsx(
745
- Field,
746
- {
747
- el: "fieldset",
748
- name: "amount",
749
- label: formUtils.getLabel("amount", "inheritanceAmount"),
750
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
751
- children: (childProps) => /* @__PURE__ */ jsxs(
752
- InputGroup,
753
- {
754
- ...childProps,
755
- id: "currencyGroup",
756
- isFocused,
757
- isInvalid: Boolean(!valid.amount && errors.amount),
758
- children: [
759
- /* @__PURE__ */ jsx(
760
- Select,
761
- {
762
- name: "currency",
763
- "aria-label": commonT(($) => $["currency"]),
764
- isMulti: false,
765
- items: allowedCurrencies ?? [],
766
- selected: data.amount?.currency,
767
- placeholder: commonT(($) => $["select"]),
768
- onChange: handleAmountChange("currency"),
769
- minimal: true
770
- }
771
- ),
772
- /* @__PURE__ */ jsx(
773
- InputText,
774
- {
775
- ...childProps,
776
- name: "amount",
777
- value: data.amount?.value,
778
- readonly: formUtils.isReadOnly("amount"),
779
- onInput: handleAmountChange("amount"),
780
- onBlur: handleOnAmountBlur,
781
- "aria-required": true,
782
- "aria-invalid": !valid.amount,
783
- isValid: valid.amount,
784
- onFocusHandler: () => setIsFocused(true)
785
- }
786
- )
787
- ]
788
- }
789
- )
790
- }
791
- ),
792
- /* @__PURE__ */ jsx(
793
- Field,
794
- {
795
- name: "dateOfFundsReceived",
796
- label: formUtils.getLabel("dateOfFundsReceived", "inheritanceReceivedOn"),
797
- errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
798
- isValid: valid.dateOfFundsReceived,
799
- children: (childProps) => /* @__PURE__ */ jsx(
800
- InputDate,
801
- {
802
- ...childProps,
803
- name: "dateOfFundsReceived",
804
- value: formatDateForInput(data.dateOfFundsReceived),
805
- onInput: handleChangeFor("dateOfFundsReceived", "input"),
806
- onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
807
- "aria-required": true,
808
- "aria-invalid": !valid.dateOfFundsReceived,
809
- max: TODAY_DATE
810
- }
811
- )
812
- }
813
- )
814
- ] })
815
- ] });
816
- }
817
- const SOFFinancierModal = (props) => {
818
- const { t: sofT } = useTranslation("sof");
819
- const { t: commonT } = useTranslation("common");
820
- const { financier, handleModalClose, indexNumber, handleFinancierUpdate } = props;
821
- const [formData, setFormData] = useState(financier);
822
- const [formErrors, setFormErrors] = useState({});
823
- const [confirmOpen, setConfirmOpen] = useState(false);
824
- const [isFocused, setIsFocused] = useState(false);
825
- const [errorMessage, setErrorMessage] = useState("");
826
- const handleInputUpdate = (key, e) => {
827
- const inputEl = e.target;
828
- setErrorMessage("");
829
- const value = inputEl?.value;
830
- let inputData = {
831
- [key]: value
832
- };
833
- if (["amount", "currency"].includes(key)) {
834
- const amountValue = {
835
- currency: key === "currency" ? value : formData?.amount?.currency,
836
- value: key === "currency" ? formData?.amount?.value : value
837
- };
838
- inputData = { amount: amountValue };
839
- }
840
- const data = {
841
- ...formData,
842
- ...inputData
843
- };
844
- setFormData(data);
845
- const errors = getInputErrors({ formErrors, data, key, value });
846
- setFormErrors(errors);
847
- };
848
- const handleOnAmountBlur = () => {
849
- setIsFocused(false);
850
- const errors = getInputErrors({
851
- formErrors,
852
- data: formData,
853
- key: "amount",
854
- value: formData?.amount?.value
855
- });
856
- setFormErrors(errors);
857
- };
858
- const allFieldsFilled = (data) => {
859
- return data?.firstName && data?.lastName && data?.location && data?.amount?.currency && !Number.isNaN(Number(data?.amount?.value));
860
- };
861
- const handleFinancierSave = () => {
862
- if (formData && allFieldsFilled(formData)) {
863
- handleFinancierUpdate({ formData, indexNumber });
864
- handleModalClose();
865
- } else {
866
- const fields = [
867
- "firstName",
868
- "lastName",
869
- "location",
870
- "amount"
871
- ];
872
- const errors = fields.reduce((acc, key) => {
873
- const value = key === "amount" ? formData?.amount?.value : formData?.[key];
874
- return {
875
- ...acc,
876
- ...getInputErrors({
877
- formErrors: void 0,
878
- data: formData,
879
- key,
880
- value
881
- })
882
- };
883
- }, {});
884
- setFormErrors(errors);
885
- setErrorMessage(sofT(($) => $["pleaseFillInAllFields"]));
886
- }
887
- };
888
- const handleFinancierDelete = async () => {
889
- handleFinancierUpdate({ indexNumber });
890
- handleModalClose();
891
- };
892
- return /* @__PURE__ */ jsxs(Fragment, { children: [
893
- /* @__PURE__ */ jsx(Modal, { onClose: handleModalClose, ariaLabel: sofT(($) => $["investorDetails"]), inset: true, children: /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsModal, children: [
894
- /* @__PURE__ */ jsx(
895
- Typography,
896
- {
897
- variant: "title-l",
898
- el: "h3",
899
- className: styles.sourceOfFundsGettingStartedHelpHeader,
900
- children: sofT(($) => $["investorDetails"])
901
- }
902
- ),
903
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsSofFinancierForm, children: [
904
- errorMessage && /* @__PURE__ */ jsx(
905
- Alert,
906
- {
907
- title: sofT(($) => $["errorSubmittingData"]),
908
- variant: "error",
909
- className: styles.sourceOfFundsSofFinancierFormError,
910
- children: errorMessage
911
- }
912
- ),
913
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsSofFinancierFormNameGroup, children: [
914
- /* @__PURE__ */ jsx(
915
- Field,
916
- {
917
- name: "firstName",
918
- label: commonT(($) => $["firstName"]),
919
- errorMessage: formErrors.firstName,
920
- isValid: !formErrors.firstName,
921
- children: (childProps) => /* @__PURE__ */ jsx(
922
- InputText,
923
- {
924
- ...childProps,
925
- name: "firstName",
926
- value: formData?.firstName,
927
- onInput: (e) => handleInputUpdate("firstName", e),
928
- onBlur: (e) => handleInputUpdate("firstName", e),
929
- "aria-required": true,
930
- "aria-invalid": Boolean(formErrors.firstName),
931
- isValid: !formErrors.firstName
932
- }
933
- )
934
- }
935
- ),
936
- /* @__PURE__ */ jsx(
937
- Field,
938
- {
939
- name: "lastName",
940
- label: commonT(($) => $["lastName"]),
941
- errorMessage: formErrors.lastName,
942
- isValid: !formErrors.lastName,
943
- children: (childProps) => /* @__PURE__ */ jsx(
944
- InputText,
945
- {
946
- ...childProps,
947
- name: "lastName",
948
- value: formData?.lastName,
949
- onInput: (e) => handleInputUpdate("lastName", e),
950
- onBlur: (e) => handleInputUpdate("lastName", e),
951
- "aria-required": true,
952
- "aria-invalid": Boolean(formErrors.lastName),
953
- isValid: !formErrors.lastName
954
- }
955
- )
956
- }
957
- )
958
- ] }),
959
- /* @__PURE__ */ jsx(
960
- Field,
961
- {
962
- name: "location",
963
- label: sofT(($) => $["investorLocation"]),
964
- errorMessage: formErrors.location,
965
- isValid: !formErrors.location,
966
- helperPosition: "below",
967
- showErrorIconBottom: true,
968
- helper: sofT(($) => $["theCityAndCountryRegion"]),
969
- children: (childProps) => /* @__PURE__ */ jsx(
970
- InputText,
971
- {
972
- ...childProps,
973
- name: "location",
974
- value: formData?.location,
975
- onInput: (e) => handleInputUpdate("location", e),
976
- onBlur: (e) => handleInputUpdate("location", e),
977
- "aria-required": true,
978
- "aria-invalid": Boolean(formErrors.location),
979
- isValid: !formErrors.location
980
- }
981
- )
982
- }
983
- ),
984
- /* @__PURE__ */ jsx(
985
- Field,
986
- {
987
- el: "fieldset",
988
- name: "amount",
989
- label: sofT(($) => $["investmentAmount"]),
990
- errorMessage: formErrors.amount,
991
- isValid: !formErrors.amount,
992
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, { ...childProps, id: "currencyGroup", isFocused, children: [
993
- /* @__PURE__ */ jsx(
994
- Select,
995
- {
996
- minimal: true,
997
- name: "currency",
998
- "aria-label": commonT(($) => $["currency"]),
999
- isMulti: false,
1000
- items: allowedCurrencies,
1001
- selected: formData?.amount?.currency,
1002
- placeholder: commonT(($) => $["select"]),
1003
- onChange: (e) => handleInputUpdate("currency", e)
1004
- }
1005
- ),
1006
- /* @__PURE__ */ jsx(
1007
- InputText,
1008
- {
1009
- ...childProps,
1010
- name: "amount",
1011
- value: formData?.amount?.value,
1012
- onInput: (e) => handleInputUpdate("amount", e),
1013
- onBlur: handleOnAmountBlur,
1014
- "aria-required": true,
1015
- onFocusHandler: () => setIsFocused(true)
1016
- }
1017
- )
1018
- ] })
1019
- }
1020
- )
1021
- ] }),
1022
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsFinancierFooter, children: [
1023
- /* @__PURE__ */ jsx(Button, { onClick: handleFinancierSave, children: commonT(($) => $["save"]) }),
1024
- Number.isFinite(indexNumber) && /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: () => setConfirmOpen(true), children: sofT(($) => $["deleteInvestorDetails"]) })
1025
- ] })
1026
- ] }) }),
1027
- confirmOpen && /* @__PURE__ */ jsx(
1028
- Confirm,
1029
- {
1030
- title: sofT(($) => $["areYouSureYouWantToDeleteThisInvestorDetails"]),
1031
- confirmText: commonT(($) => $["delete"]),
1032
- onConfirm: handleFinancierDelete,
1033
- onCancel: () => setConfirmOpen(false),
1034
- critical: true
1035
- }
1036
- )
1037
- ] });
1038
- };
1039
- function AdditionalDataForThirdParty(props) {
1040
- const [showFinancierModal, setShowFinancierModal] = useState(false);
1041
- const [activeFinancier, setActiveFinancier] = useState();
1042
- const [activeIndex, setActiveIndex] = useState();
1043
- const { data, fieldProblems, errors, handleChangeFor, formUtils, valid } = props;
1044
- const { t: commonT } = useTranslation("common");
1045
- const { t: sofT } = useTranslation("sof");
1046
- const handleToggleFinancierModal = () => {
1047
- setActiveFinancier(void 0);
1048
- setActiveIndex(void 0);
1049
- setShowFinancierModal((prev) => !prev);
1050
- };
1051
- const handleShowUpdateFinancierModal = (index) => {
1052
- if (!data.financiers) {
1053
- return;
1054
- }
1055
- const financier = data.financiers[index];
1056
- setActiveFinancier(financier);
1057
- setActiveIndex(index);
1058
- setShowFinancierModal(true);
1059
- };
1060
- const handleFinancierUpdate = ({
1061
- formData,
1062
- indexNumber
1063
- }) => {
1064
- const existingFinanciers = data.financiers || [];
1065
- let newFinanciers = [];
1066
- if (!formData) {
1067
- if (indexNumber !== void 0) {
1068
- newFinanciers = existingFinanciers.filter((_, index) => index !== indexNumber);
1069
- }
1070
- } else {
1071
- newFinanciers = [...existingFinanciers, formData];
1072
- if (Number.isFinite(indexNumber)) {
1073
- newFinanciers = existingFinanciers.map(
1074
- (existingFinancier, i) => i === indexNumber ? formData : existingFinancier
1075
- );
1076
- }
1077
- }
1078
- const financierEvent = {
1079
- target: {
1080
- name: "financiers",
1081
- value: newFinanciers
1082
- }
1083
- };
1084
- handleChangeFor("financiers")(financierEvent);
1085
- };
1086
- const errorMessage = formUtils.getErrorMessage("financiers", errors, fieldProblems);
1087
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1088
- errors.financiers && !valid.financiers && /* @__PURE__ */ jsx(
1089
- Alert,
1090
- {
1091
- title: typeof errorMessage == "boolean" ? void 0 : translateTranslatable(commonT, errorMessage),
1092
- variant: "error",
1093
- className: styles.sourceOfFundsSofFinancierFormError,
1094
- children: sofT(($) => $["addAtLeastOneInvestor"])
1095
- }
1096
- ),
1097
- data.financiers?.map((financier, index) => /* @__PURE__ */ jsxs(
1098
- "button",
1099
- {
1100
- type: "button",
1101
- onClick: () => handleShowUpdateFinancierModal(index),
1102
- className: styles.sourceOfFundsThirdPartyFundingFinancierGroup,
1103
- children: [
1104
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAvatarGroup, children: [
1105
- /* @__PURE__ */ jsx(Avatar, { iconName: "user", circle: true }),
1106
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAddressGroup, children: [
1107
- /* @__PURE__ */ jsxs(Typography, { el: "div", variant: "body-strongest", children: [
1108
- financier.firstName,
1109
- " ",
1110
- financier.lastName
1111
- ] }),
1112
- /* @__PURE__ */ jsx(Typography, { el: "div", variant: "caption", children: financier.location })
1113
- ] })
1114
- ] }),
1115
- /* @__PURE__ */ jsx("div", { children: financier.amount?.currency && financier.amount?.value ? formatAmountWithCurrency(
1116
- financier.amount.value,
1117
- financier.amount?.currency
1118
- ) : "" })
1119
- ]
1120
- },
1121
- index
1122
- )),
1123
- /* @__PURE__ */ jsx(
1124
- "button",
1125
- {
1126
- type: "button",
1127
- className: styles.sourceOfFundsThirdPartyFundingFinancierGroup,
1128
- onClick: handleToggleFinancierModal,
1129
- children: /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAvatarGroup, children: [
1130
- /* @__PURE__ */ jsx(Avatar, { iconName: "plus", variant: "tertiary", circle: true }),
1131
- /* @__PURE__ */ jsx(Typography, { el: "div", variant: "body-strongest", children: sofT(($) => $["addInvestor"]) })
1132
- ] })
1133
- }
1134
- ),
1135
- showFinancierModal && /* @__PURE__ */ jsx(
1136
- SOFFinancierModal,
1137
- {
1138
- financier: activeFinancier,
1139
- indexNumber: activeIndex,
1140
- handleModalClose: handleToggleFinancierModal,
1141
- handleFinancierUpdate
1142
- }
1143
- )
1144
- ] });
1145
- }
1146
- function SourceOfFundsAdditionalData(props) {
1147
- const { t } = useTranslation("common");
1148
- const { form } = useFormContext();
1149
- const {
1150
- handleChangeFor: multiFormHandleChangeFor,
1151
- data: { additionalData: data, sourceOfFundsType },
1152
- errors: { additionalData: errors },
1153
- valid: { additionalData: valid },
1154
- fieldProblems: { additionalData: fieldProblems }
1155
- } = form;
1156
- const handleChangeFor = useMemo(
1157
- () => (key, mode) => multiFormHandleChangeFor(key, "additionalData", mode),
1158
- [multiFormHandleChangeFor]
1159
- );
1160
- const handleAmountChange = (key) => (e) => {
1161
- const rawValue = e.target.value;
1162
- const updatedAmount = {
1163
- ...data?.amount,
1164
- ...key === "currency" ? { currency: rawValue } : { value: rawValue === "" ? void 0 : Number(rawValue) }
1165
- };
1166
- handleChangeFor("amount")({ target: { name: "amount", value: updatedAmount } });
1167
- };
1168
- const formUtils = createFormUtils(props, t);
1169
- const additionalDataProps = {
1170
- formUtils,
1171
- handleChangeFor,
1172
- data,
1173
- errors,
1174
- valid,
1175
- fieldProblems,
1176
- handleAmountChange
1177
- };
1178
- const renderSubForms = () => {
1179
- switch (sourceOfFundsType?.type) {
1180
- case "gamblingWinnings":
1181
- return /* @__PURE__ */ jsx(AdditionalDataForGambling, { ...additionalDataProps });
1182
- case "cryptocurrencyIncome":
1183
- return /* @__PURE__ */ jsx(AdditionalDataForCryptocurrency, { ...additionalDataProps });
1184
- case "business":
1185
- return /* @__PURE__ */ jsx(AdditionalDataForBusiness, { ...additionalDataProps });
1186
- case "assetSale":
1187
- return /* @__PURE__ */ jsx(AdditionalDataForAssetSale, { ...additionalDataProps });
1188
- case "thirdPartyFunding":
1189
- return /* @__PURE__ */ jsx(AdditionalDataForThirdParty, { ...additionalDataProps });
1190
- case "inheritance":
1191
- return /* @__PURE__ */ jsx(AdditionalDataForInheritance, { ...additionalDataProps });
1192
- case "donations":
1193
- return /* @__PURE__ */ jsx(AdditionalDataForDonation, { ...additionalDataProps });
1194
- default:
1195
- return null;
1196
- }
1197
- };
1198
- return /* @__PURE__ */ jsxs("form", { className: styles.sourceOfFundsAdditionalDataForm, children: [
1199
- /* @__PURE__ */ jsx(
1200
- ErrorPanel,
1201
- {
1202
- verificationErrors: props?.formVerificationErrors,
1203
- validationErrors: props?.fieldValidationErrors,
1204
- formUtils,
1205
- id: "ariaErrorField"
1206
- }
1207
- ),
1208
- renderSubForms()
1209
- ] });
1210
- }
1211
- function SourceOfFundsType(props) {
1212
- const { t } = useTranslation(["common", "sof"]);
1213
- const {
1214
- data: formData,
1215
- categories,
1216
- errors: formErrors,
1217
- fieldValidationErrors: formFieldProblems,
1218
- sameAsOption,
1219
- useSameAs,
1220
- onUseSameAsChange
1221
- } = props;
1222
- const { form } = useFormContext();
1223
- const { handleChangeFor } = form;
1224
- const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "sourceOfFundsType", mode);
1225
- const handleUseSameAsChange = (isChecked) => {
1226
- onUseSameAsChange?.(isChecked);
1227
- };
1228
- const formUtils = createFormUtils(props, t);
1229
- const categoryItems = [
1230
- {
1231
- value: "adyen",
1232
- label: t(($) => $["transactionsOnThisPlatform"], { ns: "sof" }),
1233
- icon: getIconById("adyen")
1234
- },
1235
- ...categories?.map((item) => ({
1236
- value: item.id,
1237
- label: t(($) => $[sofCategoryItemMapper[item.name]], { ns: "sof" }),
1238
- icon: getIconById(item.id)
1239
- })) ?? []
1240
- ];
1241
- const errorMessage = formUtils.getErrorMessage("type", formErrors, formFieldProblems);
1242
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1243
- sameAsOption && /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsSameAsCheckbox, children: /* @__PURE__ */ jsx(Field, { name: "useSameAs", children: (childProps) => /* @__PURE__ */ jsx(
1244
- Checkbox,
1245
- {
1246
- ...childProps,
1247
- "aria-required": false,
1248
- "aria-invalid": false,
1249
- name: "useSameAs",
1250
- label: t(($) => $["useSameFundingSourceAndDetails"], {
1251
- ns: "sof"
1252
- }),
1253
- checked: Boolean(useSameAs),
1254
- onChange: handleUseSameAsChange
1255
- }
1256
- ) }) }),
1257
- /* @__PURE__ */ jsx(Field, { el: "fieldset", name: "type", children: () => /* @__PURE__ */ jsx(
1258
- TileGroup,
1259
- {
1260
- name: "type",
1261
- tiles: categoryItems,
1262
- errorMessage: typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : void 0,
1263
- selected: formData?.type ? formData.type : [],
1264
- onChange: handleFieldChange("type", "input")
1265
- }
1266
- ) })
1267
- ] });
1268
- }
1269
- function getIconById(id) {
1270
- switch (id) {
1271
- case "adyen":
1272
- return "store";
1273
- case "business":
1274
- return "revenue-accelerate";
1275
- case "assetSale":
1276
- return "house";
1277
- case "dividendIncome":
1278
- return "graph-up";
1279
- case "thirdPartyFunding":
1280
- return "graph";
1281
- case "employment":
1282
- return "headquarter";
1283
- case "donations":
1284
- return "gift";
1285
- case "inheritance":
1286
- return "certificate";
1287
- case "financialAid":
1288
- return "capital";
1289
- case "rentalIncome":
1290
- return "house";
1291
- case "royaltyIncome":
1292
- return "cash-stack";
1293
- case "pensionIncome":
1294
- return "bank";
1295
- case "insuranceSettlement":
1296
- return "funds-in";
1297
- case "cryptocurrencyIncome":
1298
- return "coins";
1299
- case "loans":
1300
- return "capital";
1301
- case "gamblingWinnings":
1302
- return "cash-stack";
1303
- default:
1304
- return "contract";
1305
- }
1306
- }
1307
- function SourceOfFunds(props) {
1308
- const {
1309
- activeForm,
1310
- activeBusinessLine,
1311
- sourceOfFundsType,
1312
- sameAsOption,
1313
- useSameAs,
1314
- onUseSameAsChange
1315
- } = props;
1316
- const { form } = useFormContext();
1317
- const { data: formData, errors, valid, fieldProblems: fieldValidationErrors } = form;
1318
- const { data: sourceOfFundsTypesData, isLoading } = useSourceOfFundsTypes();
1319
- const { t: sofT } = useTranslation("sof");
1320
- const pageHeadings = useMemo(
1321
- () => getPageHeadings(sourceOfFundsType ?? "adyen"),
1322
- [sourceOfFundsType]
1323
- );
1324
- return isLoading || !activeBusinessLine ? /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsWrapperLoading, children: /* @__PURE__ */ jsx(Loader, {}) }) : /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-wrapper", children: [
1325
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsWrapperHeading, children: [
1326
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: activeForm?.formId === "additionalData" ? sofT(($) => $[pageHeadings.heading]) : sofT(($) => $["selectASourceOfFunding"], {
1327
- type: getServiceTranslationSelectTitle(
1328
- sofT,
1329
- activeBusinessLine?.service || ""
1330
- ).toLowerCase()
1331
- }) }),
1332
- /* @__PURE__ */ jsxs(Typography, { className: styles.sourceOfFundsWrapperDescription, children: [
1333
- activeForm?.formId === "additionalData" && pageHeadings.description && sofT(($) => $[pageHeadings.description]),
1334
- sourceOfFundsTypesData?.length === 0 && sofT(($) => $["noCategoriesAvailable"])
1335
- ] })
1336
- ] }),
1337
- sofErrorMessage.value && /* @__PURE__ */ jsxs(
1338
- Typography,
1339
- {
1340
- variant: "caption",
1341
- color: "critical",
1342
- "aria-live": "polite",
1343
- className: "adyen-kyc-u-justify-content-center adyen-kyc-u-display-flex",
1344
- children: [
1345
- /* @__PURE__ */ jsx(Icon, { name: "field-error", className: "adyen-kyc-u-margin-right-2" }),
1346
- /* @__PURE__ */ jsx("span", { children: sofErrorMessage.value })
1347
- ]
1348
- }
1349
- ),
1350
- activeForm?.formId === "sourceOfFundsType" && /* @__PURE__ */ jsx(
1351
- SourceOfFundsType,
1352
- {
1353
- categories: sourceOfFundsTypesData,
1354
- data: formData?.sourceOfFundsType,
1355
- errors: errors?.sourceOfFundsType,
1356
- valid: valid?.sourceOfFundsType,
1357
- fieldValidationErrors: fieldValidationErrors?.sourceOfFundsType,
1358
- sameAsOption,
1359
- useSameAs,
1360
- onUseSameAsChange
1361
- }
1362
- ),
1363
- activeForm?.formId === "additionalData" && /* @__PURE__ */ jsx(
1364
- SourceOfFundsAdditionalData,
1365
- {
1366
- fieldValidationErrors: fieldValidationErrors?.additionalData
1367
- }
1368
- ),
1369
- activeForm?.formId === "companySourceOfFunds" && /* @__PURE__ */ jsx("div", { children: sofT(($) => $["uploadADocument"]) })
1370
- ] });
1371
- }
1372
- function SourceOfFundsGettingStartedCard(props) {
1373
- const { id, title, onClick, isEdit, meta } = props;
1374
- const { t: commonT } = useTranslation("common");
1375
- return /* @__PURE__ */ jsxs(Card, { variant: "secondary", children: [
1376
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGettingStartedCardsCardHeader, children: [
1377
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: title }),
1378
- isEdit ? /* @__PURE__ */ jsx(IconButton, { ariaLabel: "edit", icon: "edit", onClick, variant: "tertiary" }) : /* @__PURE__ */ jsx(
1379
- Button,
1380
- {
1381
- variant: "primary",
1382
- testId: "source-of-funds-getting-card-secondary-button",
1383
- onClick,
1384
- children: commonT(($) => $["start"])
1385
- }
1386
- )
1387
- ] }),
1388
- isEdit && meta?.length && /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedCardsCardBody, children: /* @__PURE__ */ jsx(
1389
- StructuredList,
1390
- {
1391
- className: styles.sourceOfFundsGettingStartedCardsCardDescription,
1392
- items: meta
1393
- }
1394
- ) })
1395
- ] }, id);
1396
- }
1397
- const digitalWallet = lazy(() => import("./digital-wallet-Bx5YM1LY.js"));
1398
- const SourceOfFundsGettingStarted = ({
1399
- handleGettingStartedClick,
1400
- handleCancelClick,
1401
- handleSourceOfFundsClick,
1402
- businessLines,
1403
- handleNavigateToUploadPage,
1404
- problems,
1405
- legalEntity,
1406
- isSoFDocumentMissing
1407
- }) => {
1408
- const { t: sofT } = useTranslation("sof");
1409
- const { t: commonT } = useTranslation("common");
1410
- const hasSourceOfFunds = businessLines?.some(
1411
- (businessLine) => !isEmpty(businessLine.sourceOfFunds)
1412
- );
1413
- const { data: normalizedTasks } = useTaskStatus({
1414
- refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS
1415
- });
1416
- const sofDocuments = useMemo(
1417
- () => legalEntity?.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [],
1418
- [legalEntity]
1419
- );
1420
- const mapBusinessLines = useCallback(
1421
- (lines) => {
1422
- const completedBusinessLines = businessLines.every((line) => line?.sourceOfFunds?.type);
1423
- const cards = lines.map((line) => {
1424
- const SoF = mapSourceOfFundToSourceOfFundsSchema(line);
1425
- return {
1426
- title: getServiceTranslation(sofT, line.service || ""),
1427
- type: line?.sourceOfFunds?.type,
1428
- isEdit: !!line?.sourceOfFunds?.type || !!line?.sourceOfFunds?.adyenProcessedFunds,
1429
- onClick: () => handleSourceOfFundsClick(SoF, line),
1430
- meta: [
1431
- {
1432
- term: sofT(($) => $["sourceOfFunds"]),
1433
- details: getSofCardDetails(sofT, line?.sourceOfFunds)
1434
- },
1435
- ...getGettingStartedCardDetails(
1436
- getAdditionalDataSchemaKeys(
1437
- line?.sourceOfFunds?.type || "adyen",
1438
- line?.sourceOfFunds?.originatorType
1439
- ),
1440
- sofT,
1441
- line?.sourceOfFunds
1442
- )
1443
- ]
1444
- };
1445
- }).sort((a) => a?.type ? 1 : -1);
1446
- const uploadCard = {
1447
- title: getServiceTranslation(sofT),
1448
- type: "",
1449
- isEdit: !!sofDocuments?.length,
1450
- onClick: handleNavigateToUploadPage,
1451
- meta: sofDocuments?.length ? sofDocuments.map((doc) => ({
1452
- term: sofT(($) => $["fileName"]),
1453
- details: [
1454
- doc?.fileName,
1455
- /* @__PURE__ */ jsx(Typography, { color: "secondary", children: parseSOFDocumentDescription(sofT, doc?.description) || "" }, "docDescription")
1456
- ]
1457
- })) : []
1458
- };
1459
- if (completedBusinessLines && (isSoFDocumentMissing || sofDocuments?.length)) {
1460
- if (uploadCard.meta?.length) {
1461
- cards.push(uploadCard);
1462
- } else {
1463
- cards.unshift(uploadCard);
1464
- }
1465
- }
1466
- return cards.map((item, index) => {
1467
- return /* @__PURE__ */ jsx(
1468
- SourceOfFundsGettingStartedCard,
1469
- {
1470
- id: index,
1471
- isEdit: !!item.isEdit,
1472
- title: item.title,
1473
- onClick: item.onClick,
1474
- meta: item.meta
1475
- },
1476
- index
1477
- );
1478
- });
1479
- },
1480
- [handleSourceOfFundsClick, sofDocuments]
1481
- );
1482
- const errorObjects = useMemo(
1483
- () => getRelevantErrors(problems, SOF_INVALID_INPUT_ERROR_CODES),
1484
- [problems]
1485
- );
1486
- return /* @__PURE__ */ jsxs(
1487
- "div",
1488
- {
1489
- className: styles.sourceOfFundsGettingStarted,
1490
- "data-testid": "source-of-funds-getting-started",
1491
- children: [
1492
- !hasSourceOfFunds && /* @__PURE__ */ jsx(
1493
- LandingLayout,
1494
- {
1495
- media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: digitalWallet }),
1496
- title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
1497
- description: sofT(($) => $["inTheNextStepWellCollectInformation"]),
1498
- actions: /* @__PURE__ */ jsxs(Fragment, { children: [
1499
- /* @__PURE__ */ jsx(
1500
- Button,
1501
- {
1502
- fullWidth: true,
1503
- testId: "source-of-funds-getting-primary-button",
1504
- onClick: handleGettingStartedClick,
1505
- children: sofT(($) => $["getStarted"])
1506
- }
1507
- ),
1508
- handleCancelClick && /* @__PURE__ */ jsx(
1509
- Button,
1510
- {
1511
- variant: "tertiary",
1512
- fullWidth: true,
1513
- testId: "source-of-funds-getting-cancel-button",
1514
- onClick: handleCancelClick,
1515
- children: commonT(($) => $["backToTaskList"])
1516
- }
1517
- )
1518
- ] })
1519
- }
1520
- ),
1521
- hasSourceOfFunds && /* @__PURE__ */ jsxs(Fragment, { children: [
1522
- /* @__PURE__ */ jsx(
1523
- Header,
1524
- {
1525
- title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
1526
- description: sofT(($) => $["addAllSourcesOfFundsBeingUsed"]),
1527
- status: normalizedTasks?.SOURCE_OF_FUNDS?.status,
1528
- align: "center"
1529
- }
1530
- ),
1531
- errorObjects && errorObjects.map((errorObj, index) => {
1532
- const uniqueActions = getUniqueRemediationActions(errorObj);
1533
- const errorItems = errorObj.subErrors?.map((subError) => subError.message) || [];
1534
- return /* @__PURE__ */ jsxs(
1535
- Alert,
1536
- {
1537
- title: errorObj.message,
1538
- className: styles.sourceOfFundsGettingStartedError,
1539
- variant: "error",
1540
- children: [
1541
- errorObj?.subErrors?.length && /* @__PURE__ */ jsx("ul", { children: errorItems.map((item, i) => /* @__PURE__ */ jsx("li", { children: item }, i)) }),
1542
- uniqueActions.length > 0 && /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedErrorActions, children: uniqueActions.filter((action) => action.code !== "1_519").map((action, i) => /* @__PURE__ */ jsx(
1543
- Button,
1544
- {
1545
- variant: "tertiary",
1546
- testId: `remediate-action-${i}`,
1547
- onClick: handleNavigateToUploadPage,
1548
- children: action.message
1549
- },
1550
- `action-${i}`
1551
- )) })
1552
- ]
1553
- },
1554
- `error-${index}`
1555
- );
1556
- }),
1557
- /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedCards, children: /* @__PURE__ */ jsx(StackLayout, { children: mapBusinessLines(businessLines) }) }),
1558
- handleCancelClick && /* @__PURE__ */ jsx(
1559
- Button,
1560
- {
1561
- variant: "secondary",
1562
- testId: "source-of-funds-getting-return-button",
1563
- onClick: handleCancelClick,
1564
- children: commonT(($) => $["backToTaskList"])
1565
- }
1566
- )
1567
- ] })
1568
- ]
1569
- }
1570
- );
1571
- };
1572
- const SOFUploadModal = (props) => {
1573
- const { showToast } = useToastContext();
1574
- const logger2 = createLogger();
1575
- const { t: sofT } = useTranslation("sof");
1576
- const { t: commonT } = useTranslation("common");
1577
- const { businessLines, handleModalClose, documentUtils } = props;
1578
- const firstService = businessLines?.length === 1 ? businessLines?.[0]?.service : void 0;
1579
- const [selectedService, setSelectedService] = useState(
1580
- firstService
1581
- );
1582
- const [documentType, setDocumentType] = useState();
1583
- const onRadioChange = (selectedId) => {
1584
- setSelectedService(selectedId);
1585
- setDocumentType(void 0);
1586
- };
1587
- const onDocumentTypeChange = (e) => {
1588
- setDocumentType(e.target.value);
1589
- };
1590
- const serviceRadioItems = useMemo(() => {
1591
- const uniqueBusinessLines = Array.from(
1592
- new Map(businessLines.map((businessLine) => [businessLine.service, businessLine])).values()
1593
- );
1594
- return uniqueBusinessLines.map((businessLine) => ({
1595
- id: businessLine.service,
1596
- name: sofT(($) => $[getServiceTranslationKey(businessLine?.service || "")])
1597
- }));
1598
- }, [businessLines, sofT]);
1599
- const canUpload = useMemo(() => selectedService && documentType, [selectedService, documentType]);
1600
- const selectedBusinessLineId = businessLines?.find((businessLine) => businessLine.service === selectedService)?.id || "";
1601
- const documentLists = useMemo(() => {
1602
- const selectedType = businessLines?.find(
1603
- (businessLine) => businessLine.service === selectedService
1604
- )?.sourceOfFunds?.type;
1605
- if (selectedType) {
1606
- const lists = getDocumentLists(selectedType);
1607
- const items = lists.map((list) => ({
1608
- id: list,
1609
- name: sofT(($) => $[list])
1610
- }));
1611
- return items;
1612
- }
1613
- return [];
1614
- }, [businessLines, sofT, selectedService]);
1615
- const documentRequirements = useMemo(() => {
1616
- return documentType ? getDocumentRequirements[documentType] : [];
1617
- }, [documentType]);
1618
- const onFileUpload = async (files) => {
1619
- if (!canUpload) {
1620
- showToast({ label: sofT(($) => $["unableToUploadDocument"]), variant: "error" });
1621
- return;
1622
- }
1623
- const formattedDocument = await createDocumentRequest({
1624
- entityId: selectedBusinessLineId,
1625
- entityType: "businessLine",
1626
- documentType: "proofOfFundingOrWealthSource",
1627
- page1: files[0],
1628
- description: `$SERVICE_NAME:${selectedService}--TYPE_NAME:${documentType}`
1629
- });
1630
- if (formattedDocument) {
1631
- try {
1632
- await documentUtils.uploadDocuments([formattedDocument], selectedBusinessLineId);
1633
- showToast({
1634
- label: sofT(($) => $["documentUploadedSuccessfully"]),
1635
- variant: "success",
1636
- duration: 1e4
1637
- });
1638
- handleModalClose();
1639
- } catch (e) {
1640
- logger2.log(e);
1641
- showToast({ label: sofT(($) => $["unableToUploadDocument"]), variant: "error" });
1642
- }
1643
- }
1644
- };
1645
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
1646
- Modal,
1647
- {
1648
- onClose: handleModalClose,
1649
- ariaLabel: sofT(($) => $["uploadASupportingDocument"]),
1650
- inset: true,
1651
- children: /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsModal, children: [
1652
- /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h2", children: sofT(($) => $["uploadASupportingDocument"]) }),
1653
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsUploadModalContent, children: [
1654
- businessLines?.length > 1 ? /* @__PURE__ */ jsx(
1655
- Field,
1656
- {
1657
- el: "fieldset",
1658
- name: "service",
1659
- className: styles.sourceOfFundsUploadModalContentField,
1660
- label: sofT(($) => $["whatFinancialProductIsThisFor"]),
1661
- children: (childProps) => /* @__PURE__ */ jsx(
1662
- RadioGroup,
1663
- {
1664
- ...childProps,
1665
- name: "service",
1666
- className: styles.sourceOfFundsUploadModalContentFieldRadioGroup,
1667
- items: serviceRadioItems,
1668
- value: selectedService,
1669
- disabled: false,
1670
- onChange: onRadioChange,
1671
- "aria-required": true
1672
- }
1673
- )
1674
- }
1675
- ) : null,
1676
- selectedService && /* @__PURE__ */ jsx(
1677
- Field,
1678
- {
1679
- name: "documentType",
1680
- label: commonT(($) => $["documentType"]),
1681
- "data-testid": "documentType",
1682
- className: styles.sourceOfFundsUploadModalContentField,
1683
- children: (childProps) => /* @__PURE__ */ jsx(
1684
- Select,
1685
- {
1686
- ...childProps,
1687
- name: "documentType",
1688
- placeholder: commonT(($) => $["selectOne"]),
1689
- selected: documentType,
1690
- items: documentLists,
1691
- onChange: onDocumentTypeChange
1692
- }
1693
- )
1694
- }
1695
- ),
1696
- documentRequirements?.length ? /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsUploadModalContentRequirementsContainer, children: [
1697
- /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "div", children: sofT(($) => $["documentShouldShow"]) }),
1698
- /* @__PURE__ */ jsx("ul", { children: documentRequirements?.map((requirement) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body-stronger", el: "div", children: sofT(($) => $[requirement]) }) }, requirement)) })
1699
- ] }) : null,
1700
- canUpload && /* @__PURE__ */ jsx(
1701
- Dropzone,
1702
- {
1703
- disabled: !canUpload,
1704
- onChange: onFileUpload,
1705
- showMinimal: true,
1706
- hidePageCount: true,
1707
- maxSize: 4194304,
1708
- enableTracking: true,
1709
- name: "documentField",
1710
- allowedFileTypes: ["JPG", "JPEG", "PNG", "PDF"]
1711
- }
1712
- )
1713
- ] })
1714
- ] })
1715
- }
1716
- ) });
1717
- };
1718
- const SourceOfFundsUpload = ({
1719
- businessLines,
1720
- documentUtils,
1721
- legalEntity,
1722
- handleNavigateToSummary
1723
- }) => {
1724
- const [showUploadModal, setShowUploadModal] = useState(false);
1725
- const [docToDelete, setDocToDelete] = useState(void 0);
1726
- const { showToast } = useToastContext();
1727
- const logger2 = createLogger();
1728
- const queryClient = useQueryClient();
1729
- const { t: sofT } = useTranslation("sof");
1730
- const { t: commonT } = useTranslation("common");
1731
- const handleModalClose = async () => {
1732
- setShowUploadModal(false);
1733
- await queryClient.invalidateQueries({
1734
- queryKey: ["legalEntity", legalEntity.id]
1735
- });
1736
- };
1737
- const openUploadModal = () => {
1738
- setShowUploadModal(true);
1739
- };
1740
- const documents = useMemo(
1741
- () => legalEntity.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [],
1742
- [legalEntity]
1743
- );
1744
- const sourceOfFundsCategories = businessLines?.map((line) => line.sourceOfFunds?.type)?.filter(Boolean);
1745
- const getTranslatedCategoryName = (categoryKey) => {
1746
- const translationKey2 = sofCategoryItemMapper[categoryKey];
1747
- if (!categoryKey || !translationKey2) {
1748
- return "";
1749
- }
1750
- return sofT(($) => $[translationKey2]).toLowerCase();
1751
- };
1752
- let translationKey;
1753
- let translationParams;
1754
- if (sourceOfFundsCategories?.length > 1) {
1755
- translationKey = "weNeedProofOfFundingForMultipleCategories";
1756
- translationParams = {
1757
- category1_name: getTranslatedCategoryName(sourceOfFundsCategories[0]),
1758
- category2_name: getTranslatedCategoryName(sourceOfFundsCategories[1])
1759
- };
1760
- } else if (sourceOfFundsCategories?.length === 1) {
1761
- translationKey = "weNeedProofOfFunding";
1762
- translationParams = {
1763
- category_name: getTranslatedCategoryName(sourceOfFundsCategories[0])
1764
- };
1765
- } else {
1766
- translationKey = "weNeedProofOfFundingForNoCategory";
1767
- }
1768
- const handleFileDelete = async (documentId) => {
1769
- if (documentUtils.deleteDocument) {
1770
- try {
1771
- await documentUtils.deleteDocument(documentId, legalEntity.id);
1772
- await queryClient.invalidateQueries({
1773
- queryKey: ["legalEntity", legalEntity.id]
1774
- });
1775
- showToast({
1776
- label: sofT(($) => $["documentDeletedSuccessfully"]),
1777
- variant: "success",
1778
- duration: 1e4
1779
- });
1780
- } catch (e) {
1781
- logger2.log(e);
1782
- showToast({ label: sofT(($) => $["unableToDeleteDocument"]), variant: "error" });
1783
- }
1784
- }
1785
- };
1786
- return /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsUploadList, children: [
1787
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsUploadListHeading, children: [
1788
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: sofT(($) => $["supportingDocuments"]) }),
1789
- /* @__PURE__ */ jsx(Typography, { className: styles.sourceOfFundsWrapperDescription, children: sofT(($) => $[translationKey], translationParams) })
1790
- ] }),
1791
- documents?.map((document) => /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingFinancierGroup, children: [
1792
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAvatarGroup, children: [
1793
- /* @__PURE__ */ jsx(Avatar, { iconName: "document", circle: true }),
1794
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAddressGroup, children: [
1795
- /* @__PURE__ */ jsx(Typography, { el: "div", variant: "body-strongest", children: document.fileName }),
1796
- /* @__PURE__ */ jsx(Typography, { el: "div", variant: "caption", children: parseSOFDocumentDescription(sofT, document.description) })
1797
- ] })
1798
- ] }),
1799
- /* @__PURE__ */ jsx(
1800
- IconButton,
1801
- {
1802
- ariaLabel: commonT(($) => $["deleteDocument"]),
1803
- variant: "tertiary",
1804
- icon: "cross",
1805
- onClick: () => setDocToDelete(document),
1806
- testId: "source-of-funds-remove-button"
1807
- }
1808
- )
1809
- ] }, document.id)),
1810
- /* @__PURE__ */ jsx(
1811
- "button",
1812
- {
1813
- type: "button",
1814
- className: styles.sourceOfFundsThirdPartyFundingFinancierGroup,
1815
- onClick: openUploadModal,
1816
- "data-testId": "source-of-funds-upload-button",
1817
- children: /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsThirdPartyFundingNameAvatarGroup, children: [
1818
- /* @__PURE__ */ jsx(Avatar, { label: sofT(($) => $["addDocument"]), iconName: "plus", circle: true }),
1819
- /* @__PURE__ */ jsx(Typography, { el: "div", variant: "body-strongest", children: sofT(($) => $["addDocument"]) })
1820
- ] })
1821
- }
1822
- ),
1823
- handleNavigateToSummary && /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedActions, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", onClick: handleNavigateToSummary, children: documents?.length > 0 ? commonT(($) => $["finish"]) : commonT(($) => $["cancel"]) }) }),
1824
- !!docToDelete && /* @__PURE__ */ jsx(
1825
- Confirm,
1826
- {
1827
- title: sofT(($) => $["areYouSureYouWantToDeleteThisDocument"], {
1828
- documentName: docToDelete?.fileName || ""
1829
- }),
1830
- confirmText: commonT(($) => $["delete"]),
1831
- onConfirm: () => handleFileDelete(docToDelete?.id),
1832
- onCancel: () => setDocToDelete(void 0),
1833
- critical: true
1834
- }
1835
- ),
1836
- showUploadModal && /* @__PURE__ */ jsx(
1837
- SOFUploadModal,
1838
- {
1839
- documentUtils,
1840
- handleModalClose,
1841
- businessLines
1842
- }
1843
- )
1844
- ] });
1845
- };
1846
- function canParseUrl(url) {
1847
- if (URL.canParse) {
1848
- return URL.canParse(url);
1849
- }
1850
- try {
1851
- new URL(url);
1852
- return true;
1853
- } catch {
1854
- return false;
1855
- }
1856
- }
1857
- const sourceOfFundsTypeValidations = {};
1858
- const HAS_PROTOCOL_REGEX = /^https?:\/\//i;
1859
- const sourceOfFundsAdditionalDataValidations = {
1860
- website: {
1861
- modes: ["blur"],
1862
- validate: (val) => !!val && canParseUrl(val),
1863
- errorMessage: (val) => {
1864
- if (val && !HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
1865
- return "validationPleaseEnterAValidUrl";
1866
- }
1867
- },
1868
- amount: {
1869
- modes: ["blur"],
1870
- validate: (amount) => amount?.value != null && !Number.isNaN(Number(amount.value)),
1871
- errorMessage: "pleaseEnterAValidAmount"
1872
- },
1873
- dateOfSourceEvent: {
1874
- modes: ["blur"],
1875
- validate: (dateOfSourceEvent) => validateDateNotInTheFuture(dateOfSourceEvent),
1876
- errorMessage: "dateCannotBeInTheFuture"
1877
- },
1878
- dateOfFundsReceived: {
1879
- modes: ["blur"],
1880
- validate: (dateOfFundsReceived) => validateDateNotInTheFuture(dateOfFundsReceived),
1881
- errorMessage: "dateCannotBeInTheFuture"
1882
- }
1883
- };
1884
- const logger = createLogger();
1885
- function SourceOfFundsDropin({
1886
- country,
1887
- problems,
1888
- handleHomeClick
1889
- }) {
1890
- const { data: legalEntity, isLoading: isLoadingRootLegalEntity } = useLegalEntity(ROOT_LE);
1891
- const [loadingStatus, setLoadingStatus] = useState("success");
1892
- const [activeBusinessLine, setActiveBusinessLine] = useState();
1893
- const [activeSourceOfFund, setActiveSourceOfFund] = useState({
1894
- sourceOfFundsType: {},
1895
- additionalData: {}
1896
- });
1897
- const [allBusinessLines, setAllBusinessLines] = useState([]);
1898
- const [gettingStarted, setGettingStarted] = useState(true);
1899
- const [showUploadPage, setShowUploadPage] = useState(false);
1900
- const [loading, setLoading] = useState(false);
1901
- const [useSameAs, setUseSameAs] = useState(false);
1902
- const { baseUrl, rootLegalEntityId } = useApiContext();
1903
- const { t: sofT } = useTranslation("sof");
1904
- const userEvents = useAnalyticsContext();
1905
- const { showToast } = useToastContext();
1906
- const { data: sofBusinessLines, isLoading: isLoadingBusinessLines } = useBusinessLines(ALLOWED_SOF_SERVICES);
1907
- const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
1908
- const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
1909
- const { mutateAsync: updateSoFMutation } = useUpdateSourceOfFunds();
1910
- const form = useMultiForm({
1911
- requiredFields: getSourceOfFundsRequiredFields,
1912
- rules: {
1913
- sourceOfFundsType: sourceOfFundsTypeValidations,
1914
- additionalData: sourceOfFundsAdditionalDataValidations
1915
- },
1916
- defaultData: activeSourceOfFund
1917
- });
1918
- const {
1919
- data = activeSourceOfFund,
1920
- setFormData,
1921
- setData,
1922
- requiredFields,
1923
- isValid,
1924
- triggerValidation
1925
- } = form;
1926
- const isSoFDocumentMissing = useMemo(
1927
- () => legalEntity?.problems?.some(
1928
- (problem) => problem?.verificationErrors?.some(
1929
- (verificationError) => verificationError?.code === MISSING_DATA_SOF_UPLOAD_CODE
1930
- )
1931
- ) ?? false,
1932
- [legalEntity?.problems]
1933
- );
1934
- const idsToFetch = sofBusinessLines?.map((businessLine) => businessLine.sourceOfFunds?.originatorLegalEntityId).filter((id) => Boolean(id)) ?? [];
1935
- const legalEntityResults = useLegalEntities(idsToFetch, {
1936
- staleTime: 5 * 60 * 1e3
1937
- // 5 minutes
1938
- });
1939
- const areLegalEntitiesLoading = legalEntityResults.some((result) => result.isLoading);
1940
- const normalizedBusinessLines = useMemo(() => {
1941
- if (!sofBusinessLines) {
1942
- return null;
1943
- }
1944
- return sofBusinessLines.map((businessLine, index) => {
1945
- const result = legalEntityResults[index];
1946
- let updatedBusinessLine = { ...businessLine };
1947
- if (result && result.data) {
1948
- updatedBusinessLine = parseOriginatorDetails(result.data, updatedBusinessLine);
1949
- } else if (result && result.isError) {
1950
- logger.error(`Error fetching legal entity for BL ${businessLine.id}:`, result.error);
1951
- showToast({ label: sofT(($) => $["unableToLoadRelatedEntity"]), variant: "error" });
1952
- }
1953
- if (updatedBusinessLine.sourceOfFunds?.adyenProcessedFunds) {
1954
- updatedBusinessLine.sourceOfFunds.type = "adyen";
1955
- }
1956
- return updatedBusinessLine;
1957
- });
1958
- }, [
1959
- sofBusinessLines,
1960
- // This is because the result of useQueries is not referentially stable, even though the individual query results are, so eslint complains
1961
- // Also, this is generally safe, since this is typically what React Query returns
1962
- JSON.stringify(
1963
- legalEntityResults.map((r) => ({
1964
- data: r.data,
1965
- isError: r.isError,
1966
- error: r.error,
1967
- isLoading: r.isLoading
1968
- }))
1969
- )
1970
- ]);
1971
- useEffect(() => {
1972
- if (sofBusinessLines && !areLegalEntitiesLoading && normalizedBusinessLines) {
1973
- clearSofErrorMessage();
1974
- setLoading(true);
1975
- try {
1976
- if (normalizedBusinessLines.length) {
1977
- setAllBusinessLines(
1978
- (prev) => objectsDeepEqual(prev, normalizedBusinessLines) ? prev : normalizedBusinessLines
1979
- );
1980
- if (!activeBusinessLine) {
1981
- const firstBusinessLine = normalizedBusinessLines[0];
1982
- if (firstBusinessLine) {
1983
- const mappedSof = mapSourceOfFundToSourceOfFundsSchema(firstBusinessLine);
1984
- setActiveBusinessLine(firstBusinessLine);
1985
- setActiveSourceOfFund(mappedSof);
1986
- if (mappedSof?.sourceOfFundsType) {
1987
- setFormData("sourceOfFundsType", mappedSof.sourceOfFundsType);
1988
- }
1989
- if (mappedSof?.additionalData) {
1990
- setFormData("additionalData", mappedSof.additionalData);
1991
- }
1992
- }
1993
- }
1994
- }
1995
- } catch (error) {
1996
- showToast({ label: sofT(($) => $["unableToLoadRelatedEntity"]), variant: "error" });
1997
- logger.error(error);
1998
- } finally {
1999
- setLoading(false);
2000
- }
2001
- }
2002
- }, [
2003
- sofBusinessLines,
2004
- areLegalEntitiesLoading,
2005
- normalizedBusinessLines,
2006
- activeBusinessLine,
2007
- sofT,
2008
- logger
2009
- ]);
2010
- useEffect(() => {
2011
- if (!gettingStarted && activeBusinessLine && allBusinessLines.length > 1) {
2012
- const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
2013
- if (applicableBusinessLines.length > 1) {
2014
- const allHaveSoFType = applicableBusinessLines.every((bl) => bl.sourceOfFunds?.type);
2015
- if (allHaveSoFType) {
2016
- const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
2017
- const allIdentical = applicableBusinessLines.filter((bl) => bl.id !== activeBusinessLine.id).every((bl) => {
2018
- const blSoF = mapSourceOfFundToSourceOfFundsSchema(bl);
2019
- return areSourceOfFundsEqual(currentSoF, blSoF);
2020
- });
2021
- setUseSameAs(allIdentical);
2022
- }
2023
- }
2024
- }
2025
- }, [gettingStarted, activeBusinessLine, allBusinessLines]);
2026
- const sourceOfFundsRequiredForms = useMemo(
2027
- () => getSourceOfFundsRequiredForms(data?.sourceOfFundsType),
2028
- [data?.sourceOfFundsType]
2029
- );
2030
- const forms = useMemo(() => {
2031
- const requiredForms = getRequiredForms(
2032
- sourceOfFundsRequiredForms,
2033
- requiredFields,
2034
- void 0,
2035
- true
2036
- );
2037
- return addValidityToForms(requiredForms, isValid, problems);
2038
- }, [sourceOfFundsRequiredForms, requiredFields, isValid, problems]);
2039
- const createOrUpdateOriginator = async (additionalData, prevAdditionalData) => {
2040
- let originatorLegalEntityId;
2041
- const sofOriginator = parseSofOriginatorPayload(additionalData);
2042
- if (additionalData?.originatorLegalEntityId && additionalData?.originatorType === prevAdditionalData?.originatorType) {
2043
- try {
2044
- sofOriginator.id = additionalData?.originatorLegalEntityId;
2045
- if (sofOriginator.type) {
2046
- delete sofOriginator.type;
2047
- }
2048
- const patchLegalEntity = {
2049
- ...sofOriginator,
2050
- id: sofOriginator.id
2051
- };
2052
- const le = await updateLegalEntity(patchLegalEntity);
2053
- originatorLegalEntityId = le?.id;
2054
- } catch (e) {
2055
- logger.log("Error updating originator legal entity", e);
2056
- }
2057
- } else {
2058
- try {
2059
- const le = await createLegalEntity(sofOriginator);
2060
- originatorLegalEntityId = le?.id;
2061
- } catch (e) {
2062
- logger.log("Error creating originator legal entity", e);
2063
- }
2064
- }
2065
- return originatorLegalEntityId;
2066
- };
2067
- const handleSubmit = useCallback(async () => {
2068
- const sofData = { ...data };
2069
- const sofType = sofData?.sourceOfFundsType?.type;
2070
- if (!sofType || !activeBusinessLine?.id) {
2071
- return;
2072
- }
2073
- const eventsAdditionalData = {};
2074
- setLoadingStatus("loading");
2075
- const { additionalData } = sofData;
2076
- const sofPayload = getSourceOfFundsPayload(sofType, additionalData);
2077
- if (sofType === "thirdPartyFunding") {
2078
- eventsAdditionalData.financiers = `${additionalData?.financiers?.length || 0} investor(s)`;
2079
- }
2080
- if (sofType === "donations" || sofType === "inheritance") {
2081
- eventsAdditionalData.originatorType = additionalData?.originatorType ?? "";
2082
- }
2083
- const targetBusinessLines = useSameAs ? getApplicableBusinessLines(allBusinessLines) : [activeBusinessLine];
2084
- const savePromises = targetBusinessLines.filter((bl) => bl.id).map(async (bl) => {
2085
- const payload = { ...sofPayload };
2086
- if (sofType === "donations" || sofType === "inheritance") {
2087
- try {
2088
- const blSourceOfFunds = mapSourceOfFundToSourceOfFundsSchema(bl);
2089
- const blAdditionalData = blSourceOfFunds?.additionalData;
2090
- const originatorDataForBl = useSameAs ? {
2091
- ...additionalData,
2092
- originatorLegalEntityId: blAdditionalData?.originatorLegalEntityId
2093
- } : getAdditionalDataForOriginator(
2094
- additionalData,
2095
- activeSourceOfFund?.additionalData,
2096
- useSameAs
2097
- );
2098
- payload.originatorLegalEntityId = await createOrUpdateOriginator(
2099
- originatorDataForBl,
2100
- blAdditionalData
2101
- );
2102
- } catch (e) {
2103
- logger.log("Error creating originator legal entity for business line", e);
2104
- throw e;
2105
- }
2106
- }
2107
- return updateSoFMutation({
2108
- ...payload,
2109
- businessLineId: bl.id
2110
- });
2111
- });
2112
- try {
2113
- const results = await Promise.allSettled(savePromises);
2114
- const failures = results.filter((r) => r.status === "rejected");
2115
- if (failures.length > 0) {
2116
- setSofErrorMessage(
2117
- sofT(($) => $["errorUpdatingMultipleSourceOfFunds"], { count: failures.length })
2118
- );
2119
- logger.error("Failed to update SoF for some business lines", failures);
2120
- }
2121
- const successes = results.filter((r) => r.status === "fulfilled");
2122
- if (successes.length > 0) {
2123
- userEvents.addTaskEvent("Success", {
2124
- actionType: "submit",
2125
- returnValue: sofType,
2126
- additionalData: {
2127
- ...eventsAdditionalData,
2128
- appliedToMultiple: useSameAs,
2129
- successCount: successes.length,
2130
- failureCount: failures.length
2131
- }
2132
- });
2133
- setGettingStarted(true);
2134
- setShowUploadPage(false);
2135
- setActiveSourceOfFund({ sourceOfFundsType: {}, additionalData: {} });
2136
- gotoFormByFormIndex(0);
2137
- setUseSameAs(false);
2138
- if (failures.length === 0) {
2139
- showToast({ label: sofT(($) => $["successAddedFundingSources"]), variant: "success" });
2140
- setSofErrorMessage("");
2141
- } else {
2142
- showToast({
2143
- label: sofT(($) => $["successAddedFundingSources"]),
2144
- variant: "success"
2145
- });
2146
- }
2147
- if (useSameAs) {
2148
- } else {
2149
- const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
2150
- const businessLinesWithSoFAfterSubmit = applicableBusinessLines.filter((bl) => {
2151
- const wasJustUpdated = targetBusinessLines.some((target) => target.id === bl.id);
2152
- return wasJustUpdated || !isEmpty(bl.sourceOfFunds);
2153
- });
2154
- if (businessLinesWithSoFAfterSubmit.length === applicableBusinessLines.length) {
2155
- handleHomeClick?.();
2156
- }
2157
- }
2158
- } else {
2159
- setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
2160
- }
2161
- } catch (e) {
2162
- setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
2163
- logger.log("Error updating source of funds", e);
2164
- }
2165
- setLoadingStatus("success");
2166
- }, [
2167
- data,
2168
- activeSourceOfFund,
2169
- activeBusinessLine,
2170
- allBusinessLines,
2171
- useSameAs,
2172
- updateSoFMutation,
2173
- createOrUpdateOriginator,
2174
- userEvents,
2175
- showToast,
2176
- sofT,
2177
- logger
2178
- ]);
2179
- const handleGettingStarted = useCallback(() => {
2180
- setGettingStarted(!gettingStarted);
2181
- }, [gettingStarted]);
2182
- const handleSourceOfFundsClick = (SoF, businessLine) => {
2183
- setActiveBusinessLine(businessLine);
2184
- setActiveSourceOfFund(SoF);
2185
- setGettingStarted(false);
2186
- setUseSameAs(false);
2187
- };
2188
- const sameAsOption = useMemo(() => {
2189
- if (!activeBusinessLine || !allBusinessLines.length) {
2190
- return void 0;
2191
- }
2192
- const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
2193
- if (applicableBusinessLines.length <= 1) {
2194
- return void 0;
2195
- }
2196
- return {
2197
- businessLineId: "",
2198
- // Not used anymore
2199
- productName: sofT(($) => $["useSameFundingSourceAndDetails"]),
2200
- sourceOfFunds: activeSourceOfFund
2201
- };
2202
- }, [activeBusinessLine, allBusinessLines, activeSourceOfFund, sofT]);
2203
- const setAdditionalDataFields = useCallback(
2204
- (additionalData) => {
2205
- if (!additionalData) return;
2206
- Object.keys(additionalData).forEach((key) => {
2207
- const fieldKey = key;
2208
- const value = additionalData[fieldKey];
2209
- if (value !== void 0) {
2210
- setData(fieldKey, value, "additionalData");
2211
- }
2212
- });
2213
- },
2214
- [setData]
2215
- );
2216
- const handleUseSameAsChange = useCallback(
2217
- (checked) => {
2218
- setUseSameAs(checked);
2219
- if (checked && sameAsOption) {
2220
- const { sourceOfFunds: sourceOfFunds2 } = sameAsOption;
2221
- setActiveSourceOfFund(sourceOfFunds2);
2222
- setFormData("sourceOfFundsType", sourceOfFunds2.sourceOfFundsType);
2223
- setAdditionalDataFields(sourceOfFunds2.additionalData);
2224
- } else if (!checked && activeBusinessLine) {
2225
- const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
2226
- setActiveSourceOfFund(currentSoF);
2227
- setFormData("sourceOfFundsType", currentSoF.sourceOfFundsType);
2228
- setAdditionalDataFields(currentSoF.additionalData);
2229
- }
2230
- },
2231
- [sameAsOption, activeBusinessLine, setFormData, setAdditionalDataFields]
2232
- );
2233
- const {
2234
- handleNextClick,
2235
- activeForm,
2236
- gotoFormByFormIndex,
2237
- gotoFormByFormId,
2238
- steps,
2239
- handleBackClick
2240
- } = useFormComposer({
2241
- problems,
2242
- forms,
2243
- onSubmit: handleSubmit,
2244
- triggerValidation
2245
- });
2246
- const documentUtils = documentApiUtils({
2247
- baseUrl: baseUrl.value,
2248
- rootLegalEntityId: rootLegalEntityId.value
2249
- });
2250
- const handleNavigateToSummary = async () => {
2251
- setShowUploadPage(false);
2252
- setGettingStarted(true);
2253
- };
2254
- const handleNavigateToUploadPage = () => {
2255
- setShowUploadPage(true);
2256
- };
2257
- return /* @__PURE__ */ jsx("div", { className: styles.sourceOfFunds, children: loading || isLoadingRootLegalEntity || isLoadingBusinessLines || areLegalEntitiesLoading ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
2258
- gettingStarted && !showUploadPage && legalEntity && /* @__PURE__ */ jsx(
2259
- SourceOfFundsGettingStarted,
2260
- {
2261
- handleCancelClick: handleHomeClick,
2262
- handleGettingStartedClick: handleGettingStarted,
2263
- businessLines: allBusinessLines,
2264
- problems: legalEntity?.problems,
2265
- handleSourceOfFundsClick,
2266
- handleNavigateToUploadPage,
2267
- legalEntity,
2268
- isSoFDocumentMissing
2269
- }
2270
- ),
2271
- showUploadPage && legalEntity && /* @__PURE__ */ jsx(
2272
- SourceOfFundsUpload,
2273
- {
2274
- businessLines: allBusinessLines,
2275
- documentUtils,
2276
- legalEntity,
2277
- handleNavigateToSummary
2278
- }
2279
- ),
2280
- !gettingStarted && !showUploadPage && /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
2281
- FormFlow,
2282
- {
2283
- forms,
2284
- disableNextButton: !activeForm.isValid,
2285
- activeForm,
2286
- gotoFormByFormIndex,
2287
- gotoFormByFormId,
2288
- handleBackClick: steps.current === 0 ? handleGettingStarted : handleBackClick,
2289
- handleCancelClick: handleHomeClick,
2290
- handleNextClick,
2291
- loadingStatus,
2292
- currentStep: steps.current,
2293
- totalSteps: steps.total,
2294
- children: /* @__PURE__ */ jsx(
2295
- SourceOfFunds,
2296
- {
2297
- country,
2298
- activeForm,
2299
- activeBusinessLine,
2300
- sourceOfFundsType: data?.sourceOfFundsType?.type,
2301
- data: activeSourceOfFund,
2302
- sameAsOption,
2303
- useSameAs,
2304
- onUseSameAsChange: handleUseSameAsChange
2305
- }
2306
- )
2307
- }
2308
- ) })
2309
- ] }) });
2310
- }
2311
- const SourceOfFundsPage = ({ onSubmit, handleHomeClick }) => {
2312
- const { data: rootLe } = useLegalEntity(ROOT_LE);
2313
- const capabilityProblems = useCapabilityProblems();
2314
- const { i18n } = useTranslation();
2315
- addResourceBundles(i18n, [
2316
- { ns: "sof", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/SourceOfFundsDropin/language/bg-BG.json": () => import("./bg-BG-BvLl6gaB.js"), "../tasks/SourceOfFundsDropin/language/cs-CZ.json": () => import("./cs-CZ-hT5w5It6.js"), "../tasks/SourceOfFundsDropin/language/da-DK.json": () => import("./da-DK-DZwlENGe.js"), "../tasks/SourceOfFundsDropin/language/de-DE.json": () => import("./de-DE-DXR3EpEc.js"), "../tasks/SourceOfFundsDropin/language/el-GR.json": () => import("./el-GR-DtFE64KX.js"), "../tasks/SourceOfFundsDropin/language/en-US.json": () => import("./en-US-CfazE4ht.js"), "../tasks/SourceOfFundsDropin/language/es-ES.json": () => import("./es-ES-yMXcOjDL.js"), "../tasks/SourceOfFundsDropin/language/et-EE.json": () => import("./et-EE-C8RrUpLm.js"), "../tasks/SourceOfFundsDropin/language/fi-FI.json": () => import("./fi-FI-xqnQ38yC.js"), "../tasks/SourceOfFundsDropin/language/fr-FR.json": () => import("./fr-FR-BSynpexF.js"), "../tasks/SourceOfFundsDropin/language/hr-HR.json": () => import("./hr-HR-D5V7g9H2.js"), "../tasks/SourceOfFundsDropin/language/hu-HU.json": () => import("./hu-HU-hbVM6tMS.js"), "../tasks/SourceOfFundsDropin/language/it-IT.json": () => import("./it-IT-C_651bEP.js"), "../tasks/SourceOfFundsDropin/language/ja-JP.json": () => import("./ja-JP-CvNJvxkQ.js"), "../tasks/SourceOfFundsDropin/language/lt-LT.json": () => import("./lt-LT-Ci357QYQ.js"), "../tasks/SourceOfFundsDropin/language/lv-LV.json": () => import("./lv-LV-Dxe-A5vo.js"), "../tasks/SourceOfFundsDropin/language/nl-NL.json": () => import("./nl-NL-JChnFdCY.js"), "../tasks/SourceOfFundsDropin/language/no-NO.json": () => import("./no-NO--OoWld_l.js"), "../tasks/SourceOfFundsDropin/language/pl-PL.json": () => import("./pl-PL-DtJ3sgVO.js"), "../tasks/SourceOfFundsDropin/language/pt-BR.json": () => import("./pt-BR-C0I_kTQ6.js"), "../tasks/SourceOfFundsDropin/language/pt-PT.json": () => import("./pt-PT-Bf4IV7wp.js"), "../tasks/SourceOfFundsDropin/language/ro-RO.json": () => import("./ro-RO-4j2I7YM7.js"), "../tasks/SourceOfFundsDropin/language/sk-SK.json": () => import("./sk-SK-C5Qmv4E6.js"), "../tasks/SourceOfFundsDropin/language/sl-SI.json": () => import("./sl-SI-BZpXMHiG.js"), "../tasks/SourceOfFundsDropin/language/sv-SE.json": () => import("./sv-SE-DsPdegWB.js") }), `../tasks/SourceOfFundsDropin/language/${lang}.json`, 5) }
2317
- ]);
2318
- if (!rootLe) {
2319
- return /* @__PURE__ */ jsx(Loader, {});
2320
- }
2321
- const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
2322
- return /* @__PURE__ */ jsx(
2323
- SourceOfFundsDropin,
2324
- {
2325
- legalEntityResponse: rootLe,
2326
- country: getLegalEntityCountry(rootLe),
2327
- problems,
2328
- onSubmit,
2329
- handleHomeClick
2330
- }
2331
- );
2332
- };
2333
- export {
2334
- SourceOfFundsPage
2335
- };