@adyen/kyc-components 4.13.0-beta.6 → 4.14.0-beta.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 (1363) hide show
  1. package/dist/4-people-Dxu4nHSX.js +35 -0
  2. package/dist/AcceptTermsOfServiceComponent-BEcoPLhK.js +650 -0
  3. package/dist/Accordion-CSpLDvKK.js +111 -0
  4. package/dist/AccountSetupRejected-CKuhuj2C.js +18 -0
  5. package/dist/AdaptiveWorkflow-C9g6vb9X.js +1900 -0
  6. package/dist/AdaptiveWorkflowComponent-Bquocjbq.js +164 -0
  7. package/dist/Address-D5zWC8Kk.js +960 -0
  8. package/dist/Avatar-DqBKHRAr.js +54 -0
  9. package/dist/BusinessFinancingDropin-ChxiPLjD.js +1799 -0
  10. package/dist/BusinessFinancingPage-Du6ZF5bL.js +89 -0
  11. package/dist/BusinessTypeSelectionPage-hcxkY2zl.js +436 -0
  12. package/dist/Button-DBN5gM_d.js +189 -0
  13. package/dist/Card-BCGLpdw7.js +71 -0
  14. package/dist/Checkbox-tUvgt59R.js +55 -0
  15. package/dist/CompanyRegistrationNumberTypeSelector-BF5XC5w0.js +1074 -0
  16. package/dist/Confirm-C4GotFqm.js +75 -0
  17. package/dist/ConstitutionalDocument-C7TXcsUK.js +1124 -0
  18. package/dist/ContactDetails-ugF7Py8x.js +513 -0
  19. package/dist/ContextGuidance-7xygTSEo.js +29 -0
  20. package/dist/CountryField-zsA_yVzc.js +37 -0
  21. package/dist/Currency-C2HN8hvK.js +191 -0
  22. package/dist/CustomerSupport-DUeV56Vm.js +129 -0
  23. package/dist/DebugModal-BZfX15KU.js +451 -0
  24. package/dist/DecisionMakerDetails-B4RIIKw4.js +510 -0
  25. package/dist/DecisionMakerDetailsPage-zms9XVrA.js +104 -0
  26. package/dist/DecisionMakers-DyxOlxTk.js +587 -0
  27. package/dist/DetailViewLayout-DNCGEd7b.js +68 -0
  28. package/dist/Divider-BENvVRnz.js +11 -0
  29. package/dist/Dropzone-ER9yCx09.js +236 -0
  30. package/dist/EmbeddedStatus-BKVqJCeu.js +128 -0
  31. package/dist/EndStateLayout-DfThkkI3.js +82 -0
  32. package/dist/EntityAssociation-6G8Fce4W.js +163 -0
  33. package/dist/ErrorPanel-ct3r_pLg.js +185 -0
  34. package/dist/Field-CQWAWo5U.js +155 -0
  35. package/dist/FormNavigation-BwLxW6W7.js +115 -0
  36. package/dist/Individual.rules-DrC9MYN9.js +295 -0
  37. package/dist/IndividualDropin-BusKTvgU.js +3899 -0
  38. package/dist/InputDate-cTgjAhzm.js +52 -0
  39. package/dist/InputText-8abfNtHh.js +119 -0
  40. package/dist/Introduction-Dqg8SXWH.js +326 -0
  41. package/dist/InvitedDecisionMakerComponent-DDYLBgxY.js +415 -0
  42. package/dist/JpAddress-CCm4vAW3.js +322 -0
  43. package/dist/LandingLayout-Dg0sEASR.js +76 -0
  44. package/dist/LegalCompanyNameField-LcnS0m3Z.js +108 -0
  45. package/dist/LegalRepresentativeDetailsPage-BswNtI-l.js +74 -0
  46. package/dist/Link-DtaYQWb-.js +32 -0
  47. package/dist/List-ywoRPg-q.js +71 -0
  48. package/dist/ListItem-CZWSCEeJ.js +70 -0
  49. package/dist/MaskedInput-C_rP9ADy.js +715 -0
  50. package/dist/MaybeModal-BbUiSkZe.js +24 -0
  51. package/dist/Modal-BgeE7zM2.js +129 -0
  52. package/dist/Name-DtDvWkku.js +61 -0
  53. package/dist/NewSummary-DnJjib28.js +72 -0
  54. package/dist/PayoutDetailsDropinMultiForm-C6m5XRhP.js +4095 -0
  55. package/dist/PayoutDetailsPage-og_7_YXt.js +69 -0
  56. package/dist/ProgressBar-DWFxLMUA.js +38 -0
  57. package/dist/RadioGroup-DlzXLoMN.js +84 -0
  58. package/dist/Review-DF69umo8.js +99 -0
  59. package/dist/RootBusinessDetailsPage-kgWj5sVC.js +69 -0
  60. package/dist/RootBusinessLinesPage-Cq7Zr5j4.js +1449 -0
  61. package/dist/RootIndividualDetailsPage-Be-0uc3i.js +80 -0
  62. package/dist/Select-vMYP9lm8.js +776 -0
  63. package/dist/SignPCIComponent-B2yY79W_.js +369 -0
  64. package/dist/SingpassSelection-5bZQX8hC.js +156 -0
  65. package/dist/SoleProprietorshipPage-CSBb_jpV.js +70 -0
  66. package/dist/SourceOfFundsPage-DRvnw5OW.js +2772 -0
  67. package/dist/Spacer-CEHRO4Ml.js +11 -0
  68. package/dist/StackLayout-IUdNMDgW.js +105 -0
  69. package/dist/StructuredList-CUyo9-3i.js +56 -0
  70. package/dist/Summary-DdatuZ77.js +225 -0
  71. package/dist/Tag-CNeDHqKp.js +39 -0
  72. package/dist/TaskListItem-BywE94Ej.js +169 -0
  73. package/dist/TaskVerificationStatus-gGr34dp5.js +124 -0
  74. package/dist/TaxInformationField-C5s9CTSB.js +472 -0
  75. package/dist/TaxReportingDropin-ucEg1NN9.js +474 -0
  76. package/dist/TextArea-C2DkQ41s.js +87 -0
  77. package/dist/TileGroup-B7-q4NXH.js +170 -0
  78. package/dist/TrustDetailsPage-Bh4izWzj.js +1097 -0
  79. package/dist/TrustMemberCompanyPage-BtEWDCNS.js +109 -0
  80. package/dist/TrustMemberIndividualPage-VB6suiF3.js +109 -0
  81. package/dist/TrustMemberRoleAndTypePage-DRXdmZBo.js +931 -0
  82. package/dist/TrustMembersOverview-yZICrIOc.js +447 -0
  83. package/dist/UnincorporatedPartnershipIndividualPage-CKZflWJL.js +79 -0
  84. package/dist/UnincorporatedPartnershipMemberCompanyPage-BgQ4z0cN.js +79 -0
  85. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BD-yaKSD.js +270 -0
  86. package/dist/UnincorporatedPartnershipMembersOverview-cQobQZbw.js +157 -0
  87. package/dist/VerificationErrorAlert-DG1p37BH.js +64 -0
  88. package/dist/accountHolderUtils-TpJnt1z1.js +44 -0
  89. package/dist/adyen-business-financing.js +88 -86
  90. package/dist/adyen-individual-configuration.js +91 -89
  91. package/dist/adyen-individual-status.js +36 -36
  92. package/dist/adyen-invited-decision-maker.js +3 -3
  93. package/dist/adyen-onboarding.js +129 -138
  94. package/dist/adyen-terms-of-service-management.js +4 -4
  95. package/dist/adyen-terms-of-service-status.js +59 -58
  96. package/dist/adyen-transfer-instrument-configuration.js +87 -85
  97. package/dist/adyen-transfer-instrument-management.js +103 -105
  98. package/dist/adyen-verification-status.js +37 -38
  99. package/dist/arrow-right-Bk-ewsex.js +20 -0
  100. package/dist/bafinUtils-BKq-s1Ka.js +112 -0
  101. package/dist/bag-9BNq_QQO.js +20 -0
  102. package/dist/bank-BRbxxVK5.js +20 -0
  103. package/dist/bg-BG-CzXoDIev.js +61 -0
  104. package/dist/bg-BG-DYnhOtaS.js +7 -0
  105. package/dist/bg-BG-FthOeqMs.js +7 -0
  106. package/dist/bg-BG-KjJy4fjZ.js +32 -0
  107. package/dist/bg-BG-L5wKtmmz.js +7 -0
  108. package/dist/bg-BG-VIyyeYUh.js +7 -0
  109. package/dist/bg-BG-uuNDTOoN.js +7 -0
  110. package/dist/bin-DE1613_5.js +30 -0
  111. package/dist/capital-aNk7ragc.js +23 -0
  112. package/dist/cash-stack-DuKKc4Qj.js +33 -0
  113. package/dist/certificate-9gDKvXCm.js +23 -0
  114. package/dist/checkmark-BuqDN4WO.js +20 -0
  115. package/dist/checkmark-circle-OqcwA6N6.js +28 -0
  116. package/dist/checkmark-circle-fill-BfcUovCf.js +30 -0
  117. package/dist/checkmark-small-CBORXg_J.js +20 -0
  118. package/dist/chevron-down-CjRta08O.js +20 -0
  119. package/dist/chevron-left-BEm04mIh.js +20 -0
  120. package/dist/chevron-right-B2GkHG0J.js +20 -0
  121. package/dist/chevron-up-BKfe5Btb.js +20 -0
  122. package/dist/circle-C-uuRI8F.js +30 -0
  123. package/dist/circle-small-filled-Bkh5_ZEu.js +20 -0
  124. package/dist/clock-BWfWiMxz.js +28 -0
  125. package/dist/coins-Cw-jDTUz.js +30 -0
  126. package/dist/constants-CQUBFYB0.js +232 -0
  127. package/dist/constants-DrtMSDfx.js +142 -0
  128. package/dist/contract-PFVBW8xa.js +20 -0
  129. package/dist/countries-CPj8hkLs.js +41 -0
  130. package/dist/country-BxigZW1s.js +13 -0
  131. package/dist/cross-B37j1-r4.js +20 -0
  132. package/dist/cross-circle-fill-CcjwpLj2.js +30 -0
  133. package/dist/cross-circle-fill-small-CJ4fddNo.js +20 -0
  134. package/dist/cs-CZ-Cu1v5FA8.js +7 -0
  135. package/dist/cs-CZ-D4Pt8Gsx.js +7 -0
  136. package/dist/cs-CZ-D8nnXFEh.js +7 -0
  137. package/dist/cs-CZ-DvmlHVW2.js +7 -0
  138. package/dist/cs-CZ-JUprtMsH.js +61 -0
  139. package/dist/cs-CZ-m-2EDC49.js +32 -0
  140. package/dist/cs-CZ-nMdCNolB.js +7 -0
  141. package/dist/da-DK-BF_wiKbj.js +7 -0
  142. package/dist/da-DK-C4wRpqMC.js +7 -0
  143. package/dist/da-DK-C8TyCAru.js +32 -0
  144. package/dist/da-DK-Cq-1LB6T.js +7 -0
  145. package/dist/da-DK-D2RrHm98.js +61 -0
  146. package/dist/da-DK-DDQUbqDb.js +7 -0
  147. package/dist/da-DK-DjAV5d9A.js +7 -0
  148. package/dist/de-DE-B3sSNcDv.js +7 -0
  149. package/dist/de-DE-BOH-YgTt.js +7 -0
  150. package/dist/de-DE-Bc55gBv4.js +7 -0
  151. package/dist/de-DE-DdOrCrMa.js +7 -0
  152. package/dist/de-DE-QoAah1C3.js +32 -0
  153. package/dist/de-DE-o8i-cfnA.js +61 -0
  154. package/dist/de-DE-z8FJw9Yv.js +7 -0
  155. package/dist/decisionMaker-Dt53wKqO.js +146 -0
  156. package/dist/decisionMakerRoles-DIG8zo1C.js +46 -0
  157. package/dist/document-1-B3vw8uuK.js +20 -0
  158. package/dist/document-person-CERdIfH0.js +28 -0
  159. package/dist/download-CthdK4dV.js +23 -0
  160. package/dist/edit-1-BW7NwWP7.js +20 -0
  161. package/dist/el-GR-BAhj1djs.js +61 -0
  162. package/dist/el-GR-Bm9lqjyB.js +7 -0
  163. package/dist/el-GR-C0N0zQ3U.js +32 -0
  164. package/dist/el-GR-C5NDkWDr.js +7 -0
  165. package/dist/el-GR-Cr-3NgPk.js +7 -0
  166. package/dist/el-GR-DHiKsTJQ.js +7 -0
  167. package/dist/el-GR-DaAMIpOR.js +7 -0
  168. package/dist/en-US-COWs58AF.js +61 -0
  169. package/dist/en-US-xwcTnMwf.js +7 -0
  170. package/dist/entityAssociationUtil-C-wflW8q.js +59 -0
  171. package/dist/es-ES-BNjxmV8Q.js +61 -0
  172. package/dist/es-ES-C6Rs-ie9.js +7 -0
  173. package/dist/es-ES-CDFWEg9c.js +7 -0
  174. package/dist/es-ES-D5rPI9Qc.js +32 -0
  175. package/dist/es-ES-_w6Ygc8E.js +7 -0
  176. package/dist/es-ES-tVQDUTJN.js +7 -0
  177. package/dist/es-ES-uVSZu-EQ.js +7 -0
  178. package/dist/es-LA-BDxay2SJ.js +48 -0
  179. package/dist/es-LA-BIPVrwXX.js +61 -0
  180. package/dist/es-LA-BU5Op1kh.js +7 -0
  181. package/dist/es-LA-BvOPmuqM.js +23 -0
  182. package/dist/es-LA-C58S3BbB.js +32 -0
  183. package/dist/es-LA-C7IleXTc.js +7 -0
  184. package/dist/es-LA-C8U1qPSu.js +26 -0
  185. package/dist/es-LA-CJdZb5eY.js +57 -0
  186. package/dist/es-LA-CvOdV_q1.js +18 -0
  187. package/dist/es-LA-Cxk68z4n.js +7 -0
  188. package/dist/es-LA-DMpf5gAW.js +70 -0
  189. package/dist/es-LA-DU9jNyAv.js +69 -0
  190. package/dist/es-LA-DWAiA7Dw.js +7 -0
  191. package/dist/es-LA-xilYCaSd.js +7 -0
  192. package/dist/et-EE-BCWBT8XN.js +7 -0
  193. package/dist/et-EE-BFb0MPqf.js +7 -0
  194. package/dist/et-EE-CG66kNTM.js +7 -0
  195. package/dist/et-EE-DEs2iukD.js +7 -0
  196. package/dist/et-EE-Dl6n-Am8.js +61 -0
  197. package/dist/et-EE-IiaprrVp.js +32 -0
  198. package/dist/et-EE-P4s_U3BI.js +7 -0
  199. package/dist/external-link-CFgynH5A.js +20 -0
  200. package/dist/fi-FI-8eStbIaM.js +7 -0
  201. package/dist/fi-FI-B-7uBAf5.js +7 -0
  202. package/dist/fi-FI-BI9sCCEP.js +7 -0
  203. package/dist/fi-FI-Bed2SzCG.js +7 -0
  204. package/dist/fi-FI-DdF7vjHQ.js +32 -0
  205. package/dist/fi-FI-DpgrKo5I.js +7 -0
  206. package/dist/fi-FI-T33BAikx.js +61 -0
  207. package/dist/formUtils-DVc3a6gf.js +78 -0
  208. package/dist/fr-FR-B8iVi3nn.js +7 -0
  209. package/dist/fr-FR-BN_jrAX4.js +7 -0
  210. package/dist/fr-FR-CDv300-8.js +7 -0
  211. package/dist/fr-FR-CRO4taJU.js +61 -0
  212. package/dist/fr-FR-D_qhjXEC.js +7 -0
  213. package/dist/fr-FR-_TkFnevF.js +7 -0
  214. package/dist/fr-FR-jPc-OwlY.js +32 -0
  215. package/dist/getLegalEntityCountry-BHh7Ux8v.js +17 -0
  216. package/dist/getName-D4ECvzcI.js +35 -0
  217. package/dist/getProblemsForEntity-CogrYbYP.js +16 -0
  218. package/dist/getTrustedDecisionMakers-DUpv5ug2.js +25 -0
  219. package/dist/gift-0jLCte2h.js +20 -0
  220. package/dist/graph-DrxuzQF7.js +32 -0
  221. package/dist/graph-up-4qLbS2Ds.js +38 -0
  222. package/dist/headquarter-3o2GHW5H.js +42 -0
  223. package/dist/hotel-pZlrEAK8.js +33 -0
  224. package/dist/hr-HR-Bt2ZduQN.js +7 -0
  225. package/dist/hr-HR-CXH5M5JZ.js +7 -0
  226. package/dist/hr-HR-CbEXwWeO.js +61 -0
  227. package/dist/hr-HR-DlIGxvkT.js +32 -0
  228. package/dist/hr-HR-DlPm5gxr.js +7 -0
  229. package/dist/hr-HR-DubR_a2h.js +7 -0
  230. package/dist/hr-HR-SwSOMPhJ.js +7 -0
  231. package/dist/http-DYzfwjcs.js +149 -0
  232. package/dist/hu-HU-B9JCbRow.js +61 -0
  233. package/dist/hu-HU-BqW_xlCb.js +7 -0
  234. package/dist/hu-HU-CK6lbZ-D.js +7 -0
  235. package/dist/hu-HU-D1ZZwcl0.js +7 -0
  236. package/dist/hu-HU-DTRbo1IU.js +7 -0
  237. package/dist/hu-HU-DicR116D.js +32 -0
  238. package/dist/hu-HU-NJaOrfnP.js +7 -0
  239. package/dist/image-tfgNnE3G.js +23 -0
  240. package/dist/info-DJW5JooY.js +32 -0
  241. package/dist/info-filled-C5mP6T4Z.js +32 -0
  242. package/dist/invalidateRootLegalEntity-B_H-aJ0s.js +51 -0
  243. package/dist/isEmpty-BVlBH98t.js +14 -0
  244. package/dist/it-IT-BVAe-EX_.js +32 -0
  245. package/dist/it-IT-BwxzsAX1.js +7 -0
  246. package/dist/it-IT-CVVOlFfY.js +7 -0
  247. package/dist/it-IT-Cnk7j_gC.js +7 -0
  248. package/dist/it-IT-DE_Dkl_X.js +61 -0
  249. package/dist/it-IT-DzzajnKQ.js +7 -0
  250. package/dist/it-IT-xc14pqAr.js +7 -0
  251. package/dist/ja-JP-B8sNFjt_.js +7 -0
  252. package/dist/ja-JP-BaD-vLXo.js +61 -0
  253. package/dist/ja-JP-BpNu5KzH.js +7 -0
  254. package/dist/ja-JP-CNCeHdxj.js +7 -0
  255. package/dist/ja-JP-ClFJvhe2.js +7 -0
  256. package/dist/ja-JP-DS8zN3mY.js +7 -0
  257. package/dist/ja-JP-Fu1XFofD.js +32 -0
  258. package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
  259. package/dist/localizeDateString-DB-oTe60.js +35 -0
  260. package/dist/location-Dk0rAiaT.js +23 -0
  261. package/dist/lt-LT-5OY6az4F.js +61 -0
  262. package/dist/lt-LT-BJbA6rDr.js +7 -0
  263. package/dist/lt-LT-C9lXLzZA.js +7 -0
  264. package/dist/lt-LT-CTtqyA86.js +7 -0
  265. package/dist/lt-LT-D3ZUJfjr.js +7 -0
  266. package/dist/lt-LT-DfL5ey_8.js +32 -0
  267. package/dist/lt-LT-VP6qtMAw.js +7 -0
  268. package/dist/lv-LV-2Q8G1u4p.js +7 -0
  269. package/dist/lv-LV-BBbE9hg5.js +7 -0
  270. package/dist/lv-LV-CQI0LxVf.js +7 -0
  271. package/dist/lv-LV-CXifQKfG.js +7 -0
  272. package/dist/lv-LV-CqZT6L9i.js +32 -0
  273. package/dist/lv-LV-D_9V3gBo.js +7 -0
  274. package/dist/lv-LV-DjAUG4pi.js +61 -0
  275. package/dist/mail-DG7MBDNE.js +20 -0
  276. package/dist/mapExistingFile-CZB9JLAV.js +135 -0
  277. package/dist/mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js +109 -0
  278. package/dist/mapLegalEntityToIndividualSchema-BsHNunzQ.js +207 -0
  279. package/dist/mapTransferInstrumentToPayoutAccount-DuqJ08ye.js +44 -0
  280. package/dist/minus-circle-filled-DglqAgJW.js +30 -0
  281. package/dist/nl-NL-7ddo0NCH.js +7 -0
  282. package/dist/nl-NL-BN5WtqQB.js +7 -0
  283. package/dist/nl-NL-Bv8Zk-6e.js +7 -0
  284. package/dist/nl-NL-C3cXv5PD.js +61 -0
  285. package/dist/nl-NL-CmlQQSLp.js +32 -0
  286. package/dist/nl-NL-DMdoFepr.js +7 -0
  287. package/dist/nl-NL-_NV5Dvt9.js +7 -0
  288. package/dist/no-NO-BatbPb3N.js +32 -0
  289. package/dist/no-NO-Bf-QR3EY.js +7 -0
  290. package/dist/no-NO-Chwg5Roi.js +7 -0
  291. package/dist/no-NO-CoDL_uMQ.js +7 -0
  292. package/dist/no-NO-Cor-jWuN.js +7 -0
  293. package/dist/no-NO-CwgewQst.js +7 -0
  294. package/dist/no-NO-DyMlgewS.js +61 -0
  295. package/dist/omitObscuredFieldsIfUnchanged-DDq-TIS9.js +20 -0
  296. package/dist/options-horizontal-CTUn7IEx.js +30 -0
  297. package/dist/partner-1StoI4_W.js +30 -0
  298. package/dist/patternValidators-DWouiOVO.js +73 -0
  299. package/dist/pay-by-link-plane-Sa_qkL8C.js +33 -0
  300. package/dist/payout-BAYSxSqU.js +38 -0
  301. package/dist/pdf-uNYg4Mqz.js +22315 -0
  302. package/dist/pdf.worker.min-gK7UJW5a.js +74644 -0
  303. package/dist/person-Da15_s3G.js +23 -0
  304. package/dist/pl-PL-Bgrz9oPS.js +7 -0
  305. package/dist/pl-PL-BzOubawD.js +7 -0
  306. package/dist/pl-PL-ClUTW9pd.js +61 -0
  307. package/dist/pl-PL-D-TVYshE.js +7 -0
  308. package/dist/pl-PL-DSbuyzBx.js +7 -0
  309. package/dist/pl-PL-Dd9fkdnr.js +7 -0
  310. package/dist/pl-PL-ZyxybmlP.js +32 -0
  311. package/dist/plus-BQccvKkd.js +20 -0
  312. package/dist/plus-circle-filled-CqC30FRL.js +30 -0
  313. package/dist/process-field-configurations-U459c7bG.js +279 -0
  314. package/dist/processCapabilities-hLmRus8U.js +870 -0
  315. package/dist/pt-BR-B2q9Nl16.js +7 -0
  316. package/dist/pt-BR-Bk2xOhdi.js +61 -0
  317. package/dist/pt-BR-DUAQ_vv4.js +7 -0
  318. package/dist/pt-BR-Dq0Sd1h9.js +32 -0
  319. package/dist/pt-BR-DwHag_mp.js +7 -0
  320. package/dist/pt-BR-n0GcsM-Q.js +7 -0
  321. package/dist/pt-BR-uhrvEANO2.js +7 -0
  322. package/dist/pt-PT-5O7ohkQD.js +61 -0
  323. package/dist/pt-PT-B6mC3m94.js +7 -0
  324. package/dist/pt-PT-BVcFY8gr.js +7 -0
  325. package/dist/pt-PT-BuM6Edx0.js +32 -0
  326. package/dist/pt-PT-C-mvV1ZJ.js +7 -0
  327. package/dist/pt-PT-CQQkh5PS.js +7 -0
  328. package/dist/pt-PT-Cz4rJgbi.js +7 -0
  329. package/dist/recurring-DSR1fNMh.js +23 -0
  330. package/dist/resolveEnvironment-Doi5jM7g.js +2500 -0
  331. package/dist/revenue-accelerate-CPhAVpPK.js +30 -0
  332. package/dist/ro-RO-BOV_LMAu.js +61 -0
  333. package/dist/ro-RO-BnZbYPEH.js +7 -0
  334. package/dist/ro-RO-ClCWcOZD.js +7 -0
  335. package/dist/ro-RO-CuooCG3m.js +7 -0
  336. package/dist/ro-RO-D3Yk1KoW.js +7 -0
  337. package/dist/ro-RO-DJjle7nF.js +32 -0
  338. package/dist/ro-RO-_BLhsnIB.js +7 -0
  339. package/dist/roleMetadata-bznvTmh3.js +56 -0
  340. package/dist/save-DQ-mJX8e.js +20 -0
  341. package/dist/search-DWqWTW_K.js +30 -0
  342. package/dist/show-BbhlD3IY.js +23 -0
  343. package/dist/sk-SK-BOc9IqyW.js +7 -0
  344. package/dist/sk-SK-BUGTKkOC.js +61 -0
  345. package/dist/sk-SK-CSPSMUYC.js +32 -0
  346. package/dist/sk-SK-CieZx5AS.js +7 -0
  347. package/dist/sk-SK-D3UYKttr.js +7 -0
  348. package/dist/sk-SK-DBHPBJm4.js +7 -0
  349. package/dist/sk-SK-DSaBObVa.js +7 -0
  350. package/dist/sl-SI-BQc61Sz2.js +7 -0
  351. package/dist/sl-SI-BkcElOhl.js +7 -0
  352. package/dist/sl-SI-C82Kr3vf.js +32 -0
  353. package/dist/sl-SI-DbVFyYEg.js +7 -0
  354. package/dist/sl-SI-DffYWi9P.js +61 -0
  355. package/dist/sl-SI-KEJYXISh.js +7 -0
  356. package/dist/sl-SI-dukW1tgW.js +7 -0
  357. package/dist/solution-payments-D4BORMsX.js +20 -0
  358. package/dist/store-DWaq3ZiC.js +20 -0
  359. package/dist/style.css +1151 -1151
  360. package/dist/styles-DYaAeu4q.js +6678 -0
  361. package/dist/sv-SE-Bhvd0GDr.js +7 -0
  362. package/dist/sv-SE-BlGBkLAA.js +7 -0
  363. package/dist/sv-SE-DT9jLSs2.js +32 -0
  364. package/dist/sv-SE-D_bagacj.js +61 -0
  365. package/dist/sv-SE-DkZ2LyW5.js +7 -0
  366. package/dist/sv-SE-DzsWB30f.js +7 -0
  367. package/dist/sv-SE-WmQ6EnrS.js +7 -0
  368. package/dist/terminal-1-crR-pS_R.js +30 -0
  369. package/dist/translation-ZXpd9jdD.js +915 -0
  370. package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -2
  371. package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +14 -0
  372. package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +19 -0
  373. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +1 -0
  374. package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
  375. package/dist/types/api/address/useAddressCleanse.d.ts +3 -3
  376. package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
  377. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
  378. package/dist/types/api/address/useSearchAddress.d.ts +2 -2
  379. package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
  380. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -6
  381. package/dist/types/api/companySearch/useCompanySearch.d.ts +2 -2
  382. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  383. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  384. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  385. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  386. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  387. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  388. package/dist/types/api/documents/useDocument.d.ts +1 -1
  389. package/dist/types/api/documents/useDocuments.d.ts +1 -1
  390. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
  391. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
  392. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
  393. package/dist/types/api/invitations/useInvitationStatus.d.ts +5 -2
  394. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
  395. package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
  396. package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
  397. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  398. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
  399. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
  400. package/dist/types/api/pci/usePciStatus.d.ts +2 -2
  401. package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
  402. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  403. package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
  404. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
  405. package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
  406. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
  407. package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
  408. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  409. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  410. package/dist/types/api/tinVerification/useVerifyTin.d.ts +2 -2
  411. package/dist/types/api/toggles/useToggles.d.ts +1 -1
  412. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  413. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
  414. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  415. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
  416. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
  417. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
  418. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -26
  419. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +47 -0
  420. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -55
  421. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +494 -494
  422. package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +1 -2
  423. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +3 -2
  424. package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
  425. package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
  426. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  427. package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
  428. package/dist/types/context/ToggleContext/types.d.ts +4 -4
  429. package/dist/types/utils/analytics/trackClickHandler.d.ts +11 -0
  430. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  431. package/dist/types-B4LsyK73.js +19 -0
  432. package/dist/types-Bm4RGrSI.js +66 -0
  433. package/dist/types-Bvp3aTbC.js +58 -0
  434. package/dist/unincorporated-partnership-GaTPaALJ.js +40 -0
  435. package/dist/upload-D85xAAAm.js +23 -0
  436. package/dist/useAssociatedLegalEntity-CQAe7Co6.js +35 -0
  437. package/dist/useBusinessDetailsData-BDxT0mFG.js +4647 -0
  438. package/dist/useBusinessLines-Dshc0pYD.js +27 -0
  439. package/dist/useCanSeeIntroduction-DQyl0Vkk.js +39 -0
  440. package/dist/useCreateLegalEntity-38twl3gB.js +24 -0
  441. package/dist/useDataMissingRemediations-7H0hHxXG.js +39 -0
  442. package/dist/useForm-x1BtFLPw.js +502 -0
  443. package/dist/useFormContext-CyhnFPOt.js +504 -0
  444. package/dist/useLegalEntity-EN5ubX2H.js +48 -0
  445. package/dist/useMultiForm-NwELDSnm.js +817 -0
  446. package/dist/useNavigate-BfWevcN2.js +269 -0
  447. package/dist/useOnboardingStatus-Cf6dZFB2.js +23 -0
  448. package/dist/usePciQuestionnaireList-C3bk4K8n.js +26 -0
  449. package/dist/useSalesChannels-CC-N9vqE.js +47 -0
  450. package/dist/useScenarios-ful0VqQ4.js +55 -0
  451. package/dist/useTaskLandedEvent-CtlV_Bum.js +26 -0
  452. package/dist/useTaskStatus-CLcXCIz7.js +23 -0
  453. package/dist/useTermsOfServiceStatus-DwWvz0vR.js +39 -0
  454. package/dist/useTrustMembers-BZRB9RDn.js +152 -0
  455. package/dist/useUnincorporatedPartnershipMembers-wgiUFuxT.js +70 -0
  456. package/dist/useUpdateBusinessLines-BRxlqBnM.js +68 -0
  457. package/dist/useUpdateLegalEntity-DnkFwUCD.js +29 -0
  458. package/dist/utils-B6a1FGxD.js +2507 -0
  459. package/dist/utils-BgdkZkf5.js +71 -0
  460. package/dist/utils-DcUoR5qG.js +61 -0
  461. package/dist/utils-DwujAUJC.js +46 -0
  462. package/dist/utils-iXMYP5kO.js +188 -0
  463. package/dist/validate-CPz6CHtU.js +109 -0
  464. package/dist/validate-j0h8oux2.js +397 -0
  465. package/dist/validateExtractionResult-CHdmHmkZ.js +1070 -0
  466. package/dist/validationError-tIm9Zzjt.js +68 -0
  467. package/dist/validationResult-CqlLuppx.js +77 -0
  468. package/dist/warning-circle-fill-BDTmKU1s.js +30 -0
  469. package/dist/warning-diamond-filled-BjDL-xa8.js +30 -0
  470. package/dist/webinar-YMbPoCx3.js +33 -0
  471. package/package.json +25 -25
  472. package/dist/4-people-UD6qivNv.js +0 -35
  473. package/dist/AcceptTermsOfServiceComponent-CV0tEsZ8.js +0 -652
  474. package/dist/Accordion-gSHEDtlp.js +0 -111
  475. package/dist/AccountSetupRejected-MS5ucnkH.js +0 -19
  476. package/dist/AdaptiveWorkflow-BRSkDC27.js +0 -1562
  477. package/dist/AdaptiveWorkflowComponent-436q2Z3Q.js +0 -130
  478. package/dist/Address-B1WQZxTA.js +0 -557
  479. package/dist/Alert-BYrDkvk9.js +0 -170
  480. package/dist/Avatar-CuGCWCs9.js +0 -54
  481. package/dist/BusinessFinancingDropin-DrABikQM.js +0 -1800
  482. package/dist/BusinessFinancingPage-CSwjPgIJ.js +0 -87
  483. package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +0 -436
  484. package/dist/Button-BxfzWsRl.js +0 -189
  485. package/dist/Card-BylPFvY4.js +0 -71
  486. package/dist/Checkbox-BRuXJ18x.js +0 -55
  487. package/dist/CompanyRegistrationNumberTypeSelector-DiImGTFe.js +0 -1074
  488. package/dist/Confirm-BEZEArAy.js +0 -76
  489. package/dist/ConstitutionalDocument-CdpVRf0I.js +0 -1125
  490. package/dist/ContactDetails-63BkotMl.js +0 -516
  491. package/dist/ContextGuidance-BRGAWzeW.js +0 -29
  492. package/dist/CountryField-DhNTIfGL.js +0 -38
  493. package/dist/Currency-QVw0PSm6.js +0 -191
  494. package/dist/CustomerSupport-BXin9crY.js +0 -129
  495. package/dist/DebugModal-DjXxE-RN.js +0 -454
  496. package/dist/DecisionMakerDetails-B8s07F7D.js +0 -493
  497. package/dist/DecisionMakerDetailsPage-BaOxC2U6.js +0 -103
  498. package/dist/DecisionMakers-Bm-L-q92.js +0 -583
  499. package/dist/DetailViewLayout-Be6cqBDx.js +0 -68
  500. package/dist/Divider-BndbWx4f.js +0 -11
  501. package/dist/Dropzone-BbBVtqN9.js +0 -236
  502. package/dist/EmbeddedStatus-td-3A1DN.js +0 -128
  503. package/dist/EndStateLayout-CnhmrsxA.js +0 -82
  504. package/dist/EntityAssociation-BHvq_AwX.js +0 -163
  505. package/dist/ErrorPanel-CzX5ev6p.js +0 -185
  506. package/dist/Field-Vzlyifk5.js +0 -155
  507. package/dist/FormNavigation-B79CI_Kc.js +0 -116
  508. package/dist/Header-fY8HlUFH.js +0 -93
  509. package/dist/Image-BBLBIviv.js +0 -33
  510. package/dist/Individual.rules-BvJRuxgJ.js +0 -294
  511. package/dist/IndividualDropin-BVMDPYDe.js +0 -4958
  512. package/dist/InputDate--h7l0kcO.js +0 -52
  513. package/dist/InputText-BK_8YUd_.js +0 -119
  514. package/dist/Introduction-p7SxkPvq.js +0 -325
  515. package/dist/InvitedDecisionMakerComponent-B40Lk4i7.js +0 -412
  516. package/dist/JpAddress-msyDs8qO.js +0 -322
  517. package/dist/LandingLayout-BK3kV0FL.js +0 -76
  518. package/dist/LegalCompanyNameField-CQUbvS77.js +0 -108
  519. package/dist/LegalRepresentativeDetailsPage-Csvg_gjL.js +0 -73
  520. package/dist/Link-idX4eEXz.js +0 -32
  521. package/dist/List-DLrcpMVd.js +0 -71
  522. package/dist/ListItem-BzSnYlO1.js +0 -70
  523. package/dist/LoaderWrapper-Tr14IrmG.js +0 -34
  524. package/dist/MaskedInput-WaAdSNPN.js +0 -715
  525. package/dist/MaybeModal-BkoicAOk.js +0 -24
  526. package/dist/Modal-CMKjvMyV.js +0 -109
  527. package/dist/Name-DkBgo3cK.js +0 -61
  528. package/dist/NewSummary-Cf1CesDB.js +0 -72
  529. package/dist/PayoutDetailsDropinMultiForm-CiTh764I.js +0 -4106
  530. package/dist/PayoutDetailsPage-CLt8LJCi.js +0 -68
  531. package/dist/ProgressBar-DrvdkkV2.js +0 -38
  532. package/dist/RadioGroup-Bc8reZVM.js +0 -84
  533. package/dist/Review-GGx4T5lx.js +0 -99
  534. package/dist/RootBusinessDetailsPage-z94WN2fb.js +0 -69
  535. package/dist/RootBusinessLinesPage-B1SNv9er.js +0 -1452
  536. package/dist/RootIndividualDetailsPage-DE704wL6.js +0 -81
  537. package/dist/Select-CRVpXZ1k.js +0 -777
  538. package/dist/SignPCIComponent-BPSj_yuH.js +0 -368
  539. package/dist/SingpassSelection-c3hLW3jo.js +0 -156
  540. package/dist/SoleProprietorshipPage-C2gjJZcb.js +0 -69
  541. package/dist/SourceOfFundsPage-DItR3-Hp.js +0 -2775
  542. package/dist/Spacer-D1yp_1Io.js +0 -11
  543. package/dist/StackLayout-CTLQyVDf.js +0 -105
  544. package/dist/StateContext-BExuJcFK.js +0 -9
  545. package/dist/StructuredList-S4LIZQiJ.js +0 -56
  546. package/dist/Summary-DESUnetK.js +0 -226
  547. package/dist/Tag-BUoDHC4C.js +0 -39
  548. package/dist/TaskListItem-9Kq5rfrA.js +0 -164
  549. package/dist/TaskVerificationStatus-F5lMp5Rx.js +0 -118
  550. package/dist/TaxInformationField-DlmOFIDl.js +0 -474
  551. package/dist/TaxReportingDropin-LOUIhV-w.js +0 -476
  552. package/dist/TextArea-CIgJgN16.js +0 -80
  553. package/dist/TileGroup-irJw9YNz.js +0 -170
  554. package/dist/ToastContext-D7fHw64P.js +0 -13
  555. package/dist/ToastContextProvider-CU6K9Sqo.js +0 -103
  556. package/dist/TrustDetailsPage-B9sH2X7l.js +0 -1103
  557. package/dist/TrustMemberCompanyPage-BnY9tVG7.js +0 -107
  558. package/dist/TrustMemberIndividualPage-B4Iqm4MI.js +0 -107
  559. package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +0 -933
  560. package/dist/TrustMembersOverview-BGzdiibd.js +0 -451
  561. package/dist/UnincorporatedPartnershipIndividualPage-CUrCUB2E.js +0 -78
  562. package/dist/UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js +0 -78
  563. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +0 -271
  564. package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +0 -159
  565. package/dist/VerificationErrorAlert-D8Peag6l.js +0 -38
  566. package/dist/_rolldown_dynamic_import_helper-C4ugHLZT.js +0 -14
  567. package/dist/accountHolderUtils-mgP2-0Nn.js +0 -44
  568. package/dist/arrow-right-BJTNKb0O.js +0 -20
  569. package/dist/bafinUtils-DJ5gJYKz.js +0 -96
  570. package/dist/bag-DZMiIi7P.js +0 -20
  571. package/dist/bank-CzucQEWZ.js +0 -20
  572. package/dist/bg-BG-BUgREukJ.js +0 -7
  573. package/dist/bg-BG-Bfk35aUM.js +0 -7
  574. package/dist/bg-BG-Bw1uE2hh.js +0 -7
  575. package/dist/bg-BG-C0FkvcA2.js +0 -31
  576. package/dist/bg-BG-CAC3TgzH.js +0 -7
  577. package/dist/bg-BG-DkeEONKT.js +0 -60
  578. package/dist/bg-BG-DszNb4YW.js +0 -7
  579. package/dist/bin-BbC6aL9-.js +0 -30
  580. package/dist/birthDateUtils-BUDlu8wE.js +0 -82
  581. package/dist/capital-B61w2ph0.js +0 -23
  582. package/dist/cash-stack-DrmR4pnT.js +0 -33
  583. package/dist/certificate-_tpSgTGm.js +0 -23
  584. package/dist/checkmark-DnlW1SB-.js +0 -20
  585. package/dist/checkmark-circle-Dixm0aV6.js +0 -28
  586. package/dist/checkmark-circle-fill-dAg9Mn5z.js +0 -30
  587. package/dist/checkmark-small-Di0Lj9EO.js +0 -20
  588. package/dist/chevron-down-CvIokHIR.js +0 -20
  589. package/dist/chevron-left-BNjJxGO4.js +0 -20
  590. package/dist/chevron-right-CeXpOOK6.js +0 -20
  591. package/dist/chevron-up-esJT8bFL.js +0 -20
  592. package/dist/circle-BJtiv6-2.js +0 -30
  593. package/dist/circle-small-filled-BLmJJiLk.js +0 -20
  594. package/dist/clock-Xuw4kh_Y.js +0 -28
  595. package/dist/coins-BeFK6pqR.js +0 -30
  596. package/dist/company-types-value-BYTAKfjo.js +0 -17
  597. package/dist/constants-Cuqk72uG.js +0 -233
  598. package/dist/contract-D4VJIjGm.js +0 -20
  599. package/dist/countries-BLvJ0FJ4.js +0 -41
  600. package/dist/country-Cm0PPJDS.js +0 -13
  601. package/dist/cross-CbSU1xP-.js +0 -20
  602. package/dist/cross-circle-fill-iElIdcZN.js +0 -30
  603. package/dist/cross-circle-fill-small-DyxDVLjN.js +0 -20
  604. package/dist/cs-CZ-3vdI5Jjr.js +0 -31
  605. package/dist/cs-CZ-B1VpAUva.js +0 -7
  606. package/dist/cs-CZ-BCCbEB0j.js +0 -7
  607. package/dist/cs-CZ-BWwYdy4S.js +0 -7
  608. package/dist/cs-CZ-CDBbVGc-.js +0 -60
  609. package/dist/cs-CZ-DC3dWoGV.js +0 -7
  610. package/dist/cs-CZ-DtoIeWYx.js +0 -7
  611. package/dist/da-DK-BCPtwA_c.js +0 -7
  612. package/dist/da-DK-BVAv2vUs.js +0 -7
  613. package/dist/da-DK-BbuiozUl.js +0 -7
  614. package/dist/da-DK-C0KVt06k.js +0 -7
  615. package/dist/da-DK-CrBk2y5x.js +0 -31
  616. package/dist/da-DK-DaA3zK0h.js +0 -60
  617. package/dist/da-DK-klGGwyxv.js +0 -7
  618. package/dist/datasetUtil-uPWEKDf8.js +0 -45
  619. package/dist/de-DE-B8GqI1Sq.js +0 -7
  620. package/dist/de-DE-B_L7jawo.js +0 -7
  621. package/dist/de-DE-CEKqkGeP.js +0 -7
  622. package/dist/de-DE-Cl0fc0U_.js +0 -60
  623. package/dist/de-DE-DXkUC1-N.js +0 -7
  624. package/dist/de-DE-XXqDUm1h.js +0 -31
  625. package/dist/de-DE-uuUOPGHs.js +0 -7
  626. package/dist/decisionMaker-b5wJjUBN.js +0 -146
  627. package/dist/decisionMakerRoles-CCKWKoWd.js +0 -46
  628. package/dist/document-1-Dfu6EDzV.js +0 -20
  629. package/dist/document-person-Dgv26vCh.js +0 -28
  630. package/dist/download-Ct05dQIR.js +0 -23
  631. package/dist/edit-1-m3Xin3vd.js +0 -20
  632. package/dist/el-GR-BP7G1Ka8.js +0 -31
  633. package/dist/el-GR-CEZLeeb3.js +0 -7
  634. package/dist/el-GR-CNoP_at_.js +0 -60
  635. package/dist/el-GR-Ctd3mBAX.js +0 -7
  636. package/dist/el-GR-D4Pmng8T.js +0 -7
  637. package/dist/el-GR-DtpUBNHl.js +0 -7
  638. package/dist/el-GR-WS8xbrFJ.js +0 -7
  639. package/dist/en-US-BqoUncE4.js +0 -7
  640. package/dist/en-US-DQLhkpBE.js +0 -60
  641. package/dist/entityAssociationUtil-D1ledZtc.js +0 -59
  642. package/dist/es-ES-B-x17o8d.js +0 -7
  643. package/dist/es-ES-BPXpnHRY.js +0 -60
  644. package/dist/es-ES-BQyI--wB.js +0 -31
  645. package/dist/es-ES-BrTDtXtR.js +0 -7
  646. package/dist/es-ES-CB4LW8fA.js +0 -7
  647. package/dist/es-ES-DB77kzqT.js +0 -7
  648. package/dist/es-ES-XWHjoMpE.js +0 -7
  649. package/dist/et-EE-BSBN_3SH.js +0 -31
  650. package/dist/et-EE-BiA52MlJ.js +0 -7
  651. package/dist/et-EE-CPykMmP6.js +0 -7
  652. package/dist/et-EE-CfkcHuFD.js +0 -60
  653. package/dist/et-EE-CweZxZJx.js +0 -7
  654. package/dist/et-EE-D5ztjKQA.js +0 -7
  655. package/dist/et-EE-Dj0jysHw.js +0 -7
  656. package/dist/external-link-BxiqXr7-.js +0 -20
  657. package/dist/fi-FI-4ckffUlB.js +0 -7
  658. package/dist/fi-FI-AQc_uafE.js +0 -7
  659. package/dist/fi-FI-BUUV58aZ.js +0 -7
  660. package/dist/fi-FI-BvjOb0Oi.js +0 -7
  661. package/dist/fi-FI-CGqRN2IG.js +0 -60
  662. package/dist/fi-FI-Ci2zcIZj.js +0 -31
  663. package/dist/fi-FI-lFhGznBk2.js +0 -7
  664. package/dist/formFieldsUtils-DGrXBMOZ.js +0 -7
  665. package/dist/formUtils-C7vlzCV-.js +0 -78
  666. package/dist/fr-FR-B95kf8uT2.js +0 -7
  667. package/dist/fr-FR-BuQwZ2oq.js +0 -7
  668. package/dist/fr-FR-BwhO0tqx.js +0 -60
  669. package/dist/fr-FR-CZs4UzUR.js +0 -7
  670. package/dist/fr-FR-Cq7iIftz.js +0 -31
  671. package/dist/fr-FR-CzKTntJm.js +0 -7
  672. package/dist/fr-FR-e7lKrFcK.js +0 -7
  673. package/dist/getLegalEntityCountry-C6bSV6sB.js +0 -17
  674. package/dist/getName-BtgdCWSR.js +0 -35
  675. package/dist/getProblemsForEntity-B9GOFyRX.js +0 -16
  676. package/dist/getTrustedDecisionMakers-D2yayvPr.js +0 -25
  677. package/dist/gift-CX0qVK1O.js +0 -20
  678. package/dist/globalStore-BCeQ8cDF.js +0 -419
  679. package/dist/graph-idneKCfM.js +0 -32
  680. package/dist/graph-up-BZtGbTh8.js +0 -38
  681. package/dist/headquarter-pYPoPBZM.js +0 -42
  682. package/dist/hotel-DcStWscD.js +0 -33
  683. package/dist/hr-HR-BFy27vAx2.js +0 -7
  684. package/dist/hr-HR-BXLWA1xd.js +0 -60
  685. package/dist/hr-HR-CN0us45A.js +0 -7
  686. package/dist/hr-HR-DVJaypbL.js +0 -7
  687. package/dist/hr-HR-Ngyn0CeW.js +0 -7
  688. package/dist/hr-HR-WsApmYld.js +0 -7
  689. package/dist/hr-HR-iC0oTR81.js +0 -31
  690. package/dist/http-D5tz1jGD.js +0 -149
  691. package/dist/hu-HU-BXhdx-ju.js +0 -31
  692. package/dist/hu-HU-Bdjd0HM0.js +0 -7
  693. package/dist/hu-HU-D_5yVmCo.js +0 -7
  694. package/dist/hu-HU-Nb-5azdf.js +0 -60
  695. package/dist/hu-HU-kcQkkxnT2.js +0 -7
  696. package/dist/hu-HU-rbT-Gfxm.js +0 -7
  697. package/dist/hu-HU-xO5SwtyK.js +0 -7
  698. package/dist/image-Cu6NenSs.js +0 -23
  699. package/dist/info-BFv37bQB.js +0 -32
  700. package/dist/info-filled-d8JiHhYQ.js +0 -32
  701. package/dist/invalidateRootLegalEntity-D7_UqU5H.js +0 -45
  702. package/dist/isEmpty-Bi8OJ7I4.js +0 -14
  703. package/dist/isEmptyEntity-CCwgjz_g.js +0 -44
  704. package/dist/it-IT-B0pCVo4V.js +0 -60
  705. package/dist/it-IT-B2zFnv7K.js +0 -7
  706. package/dist/it-IT-BDkY4_D3.js +0 -31
  707. package/dist/it-IT-BUJ6M3KT2.js +0 -7
  708. package/dist/it-IT-DiJG8CVH.js +0 -7
  709. package/dist/it-IT-QMmUeFIw.js +0 -7
  710. package/dist/it-IT-wx2DTjIq.js +0 -7
  711. package/dist/ja-JP-B1AjiTAA2.js +0 -7
  712. package/dist/ja-JP-BchEmvKT.js +0 -7
  713. package/dist/ja-JP-CYNEiARm.js +0 -7
  714. package/dist/ja-JP-CYmySE1y.js +0 -7
  715. package/dist/ja-JP-DOkTs_1m.js +0 -31
  716. package/dist/ja-JP-DoROjKZt.js +0 -60
  717. package/dist/ja-JP-K0GtGc1m.js +0 -7
  718. package/dist/japanSupportUtils-DqvGrGbm.js +0 -11
  719. package/dist/keys-fzUbt2xF.js +0 -20
  720. package/dist/listToRecord-wN5QNS0D.js +0 -10
  721. package/dist/localizeDateString-Bni_Kn5k.js +0 -35
  722. package/dist/location-D--t6qb1.js +0 -23
  723. package/dist/lt-LT-2KIisO4_.js +0 -7
  724. package/dist/lt-LT-BwsC_PRy.js +0 -7
  725. package/dist/lt-LT-CDRKdIqh.js +0 -60
  726. package/dist/lt-LT-CfUZy3Nu.js +0 -7
  727. package/dist/lt-LT-Csda84LY.js +0 -7
  728. package/dist/lt-LT-DKeyLOpW2.js +0 -7
  729. package/dist/lt-LT-DpMT3Dw2.js +0 -31
  730. package/dist/lv-LV-B_twW5aF.js +0 -7
  731. package/dist/lv-LV-BlsECQxr.js +0 -60
  732. package/dist/lv-LV-CIkyBWzC2.js +0 -7
  733. package/dist/lv-LV-CaTht4v3.js +0 -7
  734. package/dist/lv-LV-DeE0FbCk.js +0 -7
  735. package/dist/lv-LV-M8ADb0dX.js +0 -7
  736. package/dist/lv-LV-aPZP5Wh5.js +0 -31
  737. package/dist/mail-CoQ5t6Ml.js +0 -20
  738. package/dist/mapExistingFile-AUOevYJs.js +0 -135
  739. package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +0 -61
  740. package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +0 -207
  741. package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +0 -44
  742. package/dist/minus-circle-filled-BdvEdxjZ.js +0 -30
  743. package/dist/nl-NL-BPZ4ggwt.js +0 -7
  744. package/dist/nl-NL-BSq1sTYp2.js +0 -7
  745. package/dist/nl-NL-CQ0C9N3m.js +0 -60
  746. package/dist/nl-NL-Ch6Gx-ay.js +0 -7
  747. package/dist/nl-NL-K11VO8LF.js +0 -31
  748. package/dist/nl-NL-kUujSdLA.js +0 -7
  749. package/dist/nl-NL-lkzdYqOX.js +0 -7
  750. package/dist/no-NO-BNGILdWq.js +0 -31
  751. package/dist/no-NO-CRUvKPvc2.js +0 -7
  752. package/dist/no-NO-CSn5Ou1S.js +0 -7
  753. package/dist/no-NO-DAK8yauA.js +0 -7
  754. package/dist/no-NO-DEmXDlJQ.js +0 -7
  755. package/dist/no-NO-DyJlM9HH.js +0 -7
  756. package/dist/no-NO-FfT6jM26.js +0 -60
  757. package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +0 -20
  758. package/dist/options-horizontal-p3bn-0YP.js +0 -30
  759. package/dist/partner-DAXf38Tp.js +0 -30
  760. package/dist/patternValidators-DMnU4iGe.js +0 -73
  761. package/dist/pay-by-link-plane-JUQ9G9Rb.js +0 -33
  762. package/dist/payout-Bp5yyaPy.js +0 -38
  763. package/dist/pdf-nzZcuCSf.js +0 -22316
  764. package/dist/pdf.worker.min-DE42kNC_.js +0 -74645
  765. package/dist/person-CBe70ddT.js +0 -23
  766. package/dist/pl-PL-C8O5EIza.js +0 -7
  767. package/dist/pl-PL-CpA94K5Z.js +0 -7
  768. package/dist/pl-PL-D9oajkyF.js +0 -7
  769. package/dist/pl-PL-DQ3obGGK.js +0 -7
  770. package/dist/pl-PL-D_FRhmnE2.js +0 -7
  771. package/dist/pl-PL-DhJQbVhT.js +0 -31
  772. package/dist/pl-PL-vU5_jmwK.js +0 -60
  773. package/dist/plus-DMRvapmz.js +0 -20
  774. package/dist/plus-circle-filled-DUmcjiaH.js +0 -30
  775. package/dist/process-field-configurations-D-i--Py4.js +0 -279
  776. package/dist/processCapabilities-C3-DrzSD.js +0 -869
  777. package/dist/pt-BR-B3IHhi-A.js +0 -31
  778. package/dist/pt-BR-BJXrQjtE2.js +0 -7
  779. package/dist/pt-BR-BM2eCcyF.js +0 -60
  780. package/dist/pt-BR-CHDCegc8.js +0 -7
  781. package/dist/pt-BR-D9hPCc0c.js +0 -7
  782. package/dist/pt-BR-DyTpIjam.js +0 -7
  783. package/dist/pt-BR-u_Sv-NkV.js +0 -7
  784. package/dist/pt-PT-3DrMwWiz.js +0 -31
  785. package/dist/pt-PT-B1k39MuE.js +0 -7
  786. package/dist/pt-PT-BXlxPqah.js +0 -7
  787. package/dist/pt-PT-Bmgh2Wtd.js +0 -60
  788. package/dist/pt-PT-CUSJRIfa2.js +0 -7
  789. package/dist/pt-PT-GnCWUuu_.js +0 -7
  790. package/dist/pt-PT-ne6PkZM_.js +0 -7
  791. package/dist/recurring-DoBaCr6V.js +0 -23
  792. package/dist/resolveEnvironment-BI384OW7.js +0 -985
  793. package/dist/revenue-accelerate-BTrH1Kyc.js +0 -30
  794. package/dist/ro-RO-7iyzlI6_.js +0 -60
  795. package/dist/ro-RO-B1HkfIdK.js +0 -31
  796. package/dist/ro-RO-BvYWHJVi.js +0 -7
  797. package/dist/ro-RO-CcQh__lV2.js +0 -7
  798. package/dist/ro-RO-CfsDLBM4.js +0 -7
  799. package/dist/ro-RO-DGzJvIXf.js +0 -7
  800. package/dist/ro-RO-rwkWejS6.js +0 -7
  801. package/dist/roleMetadata-bE5AIBEY.js +0 -56
  802. package/dist/save-DtVvA4bm.js +0 -20
  803. package/dist/search-CwNfiquk.js +0 -30
  804. package/dist/show-mWAebR3W.js +0 -23
  805. package/dist/sk-SK-BQgZ5CQA.js +0 -7
  806. package/dist/sk-SK-BR0l7uzo.js +0 -7
  807. package/dist/sk-SK-BpMbHWuR.js +0 -60
  808. package/dist/sk-SK-C1lm7CTj.js +0 -7
  809. package/dist/sk-SK-Cd48q22c.js +0 -31
  810. package/dist/sk-SK-ChCtHT1F.js +0 -7
  811. package/dist/sk-SK-D6xioiMY2.js +0 -7
  812. package/dist/sl-SI-BZ5Dm_pA.js +0 -7
  813. package/dist/sl-SI-CRk5cPQq2.js +0 -7
  814. package/dist/sl-SI-D5wg7xsZ.js +0 -7
  815. package/dist/sl-SI-DHn8rJ33.js +0 -7
  816. package/dist/sl-SI-DpgW-r5w.js +0 -7
  817. package/dist/sl-SI-DvXrcue1.js +0 -31
  818. package/dist/sl-SI-gUNcHR30.js +0 -60
  819. package/dist/solution-payments-rYk5tB74.js +0 -20
  820. package/dist/store-vKCOvUVJ.js +0 -20
  821. package/dist/styles-DfQtSmqv.js +0 -6678
  822. package/dist/sv-SE-BfLV5o3E.js +0 -7
  823. package/dist/sv-SE-BhwzqPYQ.js +0 -60
  824. package/dist/sv-SE-CMkXS2cO.js +0 -31
  825. package/dist/sv-SE-CRPJUyOE2.js +0 -7
  826. package/dist/sv-SE-CloWnXU5.js +0 -7
  827. package/dist/sv-SE-CzO_XtYz.js +0 -7
  828. package/dist/sv-SE-Iv-yFbrD2.js +0 -7
  829. package/dist/terminal-1-BOv4YorG.js +0 -30
  830. package/dist/toFullWidth-CZdUBEal.js +0 -52
  831. package/dist/translation-BHUZ_WP7.js +0 -915
  832. package/dist/trustUtil-BBkbuta4.js +0 -99
  833. package/dist/types-BEc7vus9.js +0 -58
  834. package/dist/types-CBQZm0Fk.js +0 -150
  835. package/dist/types-CEJyC_Mj.js +0 -66
  836. package/dist/types-DyF8eymA.js +0 -19
  837. package/dist/unincorporated-partnership-CtwHVLzp.js +0 -11
  838. package/dist/upload-StAXlB73.js +0 -23
  839. package/dist/useAccountHolder-aoHH1XJq.js +0 -102
  840. package/dist/useAllowedCountries-Dea38KPz.js +0 -74
  841. package/dist/useAnalyticsContext-pNSIB8AZ.js +0 -12
  842. package/dist/useAssociatedLegalEntity-BOtek2pM.js +0 -35
  843. package/dist/useBusinessDetailsData-Dw8VtZkI.js +0 -4654
  844. package/dist/useBusinessLines-BE_hXjkY.js +0 -27
  845. package/dist/useCanSeeIntroduction-C7a4t7HJ.js +0 -39
  846. package/dist/useCapabilities-Bn6IcCNt.js +0 -12
  847. package/dist/useCreateLegalEntity-DWNHPjAr.js +0 -24
  848. package/dist/useDataMissingRemediations-Dc8p_hCP.js +0 -39
  849. package/dist/useDataset-VrL_8cq1.js +0 -96
  850. package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +0 -31
  851. package/dist/useForm-CbSEaCrl.js +0 -502
  852. package/dist/useFormContext-DGW15-id.js +0 -504
  853. package/dist/useLegalEntity-k2lxoMzW.js +0 -48
  854. package/dist/useMultiForm-DOQ6_HoL.js +0 -817
  855. package/dist/useNavigate-zhguGWRa.js +0 -269
  856. package/dist/useOnboardingStatus-CHBhX5te.js +0 -23
  857. package/dist/usePciQuestionnaireList-Y87h-w4C.js +0 -26
  858. package/dist/useSalesChannels-f8ZEd90X.js +0 -47
  859. package/dist/useScenarios-D2TFpeEU.js +0 -55
  860. package/dist/useTaskLandedEvent-BdO8qSBg.js +0 -26
  861. package/dist/useTaskStatus-DPyTD_Ko.js +0 -23
  862. package/dist/useTermsOfServiceStatus-C04Xyc0M.js +0 -39
  863. package/dist/useToastContext-BIwgSCxA.js +0 -12
  864. package/dist/useToggleContext-B57-85xe.js +0 -21
  865. package/dist/useTrustMembers-DYKQfH8R.js +0 -152
  866. package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +0 -70
  867. package/dist/useUpdateBusinessLines-CaT_-l9v.js +0 -68
  868. package/dist/useUpdateLegalEntity-CfJs-A1X.js +0 -29
  869. package/dist/utils-Bx8jBrij.js +0 -46
  870. package/dist/utils-C1DzW0Hz.js +0 -207
  871. package/dist/utils-Cd8I9QM7.js +0 -2507
  872. package/dist/utils-TlcnGMeG.js +0 -188
  873. package/dist/utils-g_Wl4-9Z.js +0 -24
  874. package/dist/validate-CaRbtwlX.js +0 -411
  875. package/dist/validate-J6U_ulFs.js +0 -397
  876. package/dist/validate-maTmOby_.js +0 -109
  877. package/dist/validationError-CD5jY1NM.js +0 -68
  878. package/dist/validationResult-OLfDDPfY.js +0 -77
  879. package/dist/validatorUtils-Dz6AklT-.js +0 -107
  880. package/dist/warning-circle-fill-BZhgf5Z8.js +0 -30
  881. package/dist/warning-diamond-filled-hJarrWMO.js +0 -30
  882. package/dist/webinar-j4tLxNVB.js +0 -33
  883. /package/dist/{AD-Dz8oe6Pg.js → AD-Clkur2Hx.js} +0 -0
  884. /package/dist/{AE-CTdU1tzb.js → AE-BUOfE-VR.js} +0 -0
  885. /package/dist/{AI-tjrpVbOw.js → AI-BApAOdVW.js} +0 -0
  886. /package/dist/{AL-DvyI05UB.js → AL-DfPgkH9x.js} +0 -0
  887. /package/dist/{AR-DI6rdPa-.js → AR-Bddz61XJ.js} +0 -0
  888. /package/dist/{AS-ByXIuSCx.js → AS-C3xgvOIz.js} +0 -0
  889. /package/dist/{AT-CvSbaCoE.js → AT-BG3-OqzL.js} +0 -0
  890. /package/dist/{AT-DYSevBIw.js → AT-BNvEEyA1.js} +0 -0
  891. /package/dist/{AT-CutjdISu.js → AT-CaB9iU_v.js} +0 -0
  892. /package/dist/{AT-Dt3ZU8Yh.js → AT-DnJdtYnd.js} +0 -0
  893. /package/dist/{AU-EWPyqdHL.js → AU-B7Lwienf.js} +0 -0
  894. /package/dist/{AU-DzJ7QlNR.js → AU-CcGu7r3p.js} +0 -0
  895. /package/dist/{AU-C6u3aod7.js → AU-DL1fsj76.js} +0 -0
  896. /package/dist/{AU-CLU0Xn_D.js → AU-yI1HPsCK.js} +0 -0
  897. /package/dist/{AX-DJ84WiiY.js → AX-BTtRN-MP.js} +0 -0
  898. /package/dist/{AZ-o_CDsMs4.js → AZ-CXVL6e85.js} +0 -0
  899. /package/dist/{AnalyticsContext-CbM5V7Nw.js → AnalyticsContext-BFrJmsp0.js} +0 -0
  900. /package/dist/{BA-DL2O-nPB.js → BA-27B-jpFq.js} +0 -0
  901. /package/dist/{BE-CyRTa5vY.js → BE-BIPb3aCp.js} +0 -0
  902. /package/dist/{BE-CT0bdDbu.js → BE-BSUwgR6_.js} +0 -0
  903. /package/dist/{BE-DgU3CTNg.js → BE-BsQPppoQ.js} +0 -0
  904. /package/dist/{BE-7F1ZOUtb.js → BE-S2mx1KWp.js} +0 -0
  905. /package/dist/{BG-B7VMgZNt.js → BG-ChvSTIBz.js} +0 -0
  906. /package/dist/{BH-Bot1MlCL.js → BH-D1HvWueK.js} +0 -0
  907. /package/dist/{BM-CfbbOZEU.js → BM-bLwVUrnz.js} +0 -0
  908. /package/dist/{BR-DrGkuPBg.js → BR-B6k-5VHk.js} +0 -0
  909. /package/dist/{BR-BikIex5m.js → BR-CZRoZyCm.js} +0 -0
  910. /package/dist/{BR-BaEKrqwp.js → BR-Df_k79xR.js} +0 -0
  911. /package/dist/{BR-PBodf94A.js → BR-nSEEl5uz.js} +0 -0
  912. /package/dist/{BS-CR7QZvMY.js → BS-Bf402NRj.js} +0 -0
  913. /package/dist/{BV-pdJ1HYkg.js → BV-CJwVioP4.js} +0 -0
  914. /package/dist/{BY-RUR9XmBt.js → BY-CYaB1wEE.js} +0 -0
  915. /package/dist/{CA-6iRpP8zm.js → CA-B49VPJKw.js} +0 -0
  916. /package/dist/{CA-CgOysQQa.js → CA-BJlN0jtV.js} +0 -0
  917. /package/dist/{CA-BM1GlX51.js → CA-C_C9nVmL.js} +0 -0
  918. /package/dist/{CA-Bilo42jc.js → CA-Drxrt6ud.js} +0 -0
  919. /package/dist/{CH-HrO9afDv.js → CH-8VbtrnFA.js} +0 -0
  920. /package/dist/{CH-gKI7wttp.js → CH-B0Z9FJR9.js} +0 -0
  921. /package/dist/{CH-BZ2dJJcd.js → CH-BASES6q1.js} +0 -0
  922. /package/dist/{CH-CmSkzRbO.js → CH-C93Zls9o.js} +0 -0
  923. /package/dist/{CN-BUtZk2Mu.js → CN-CEIcYgEd.js} +0 -0
  924. /package/dist/{CR-CnpHHfms.js → CR-CU6MVhAz.js} +0 -0
  925. /package/dist/{CY-Ge_L3SKC.js → CY-DSZIX0eb.js} +0 -0
  926. /package/dist/{CZ-Cxwo_jP6.js → CZ-Bk7V7DHn.js} +0 -0
  927. /package/dist/{CZ-C1HmDbqn.js → CZ-CG9NlpHx.js} +0 -0
  928. /package/dist/{CZ-B8b5P2Or.js → CZ-CUYgGHVo.js} +0 -0
  929. /package/dist/{CZ-I8UM9ti_.js → CZ-DD_9_zGY.js} +0 -0
  930. /package/dist/{ContractViewer-B8CspWV4.js → ContractViewer-JtnAXSDa.js} +0 -0
  931. /package/dist/{DE-HSEDrUfG.js → DE-3Qc-SfVV.js} +0 -0
  932. /package/dist/{DE-pQVkh64s.js → DE-BFenFnWV.js} +0 -0
  933. /package/dist/{DE-C2MEdoRW.js → DE-BX-_ptty.js} +0 -0
  934. /package/dist/{DE-CSMMxMuZ.js → DE-CKGX5CHO.js} +0 -0
  935. /package/dist/{DK-BCcPGFzQ.js → DK--Bs4HfJM.js} +0 -0
  936. /package/dist/{DK-dsRhTFow.js → DK-B9lf0wLy.js} +0 -0
  937. /package/dist/{DK-TyxXs-DV.js → DK-DORnwCWQ.js} +0 -0
  938. /package/dist/{DK-mVm8rtJr.js → DK-EjkKz2GN.js} +0 -0
  939. /package/dist/{DO-B84eOniD.js → DO-D4wgMRWE.js} +0 -0
  940. /package/dist/{EC-BAzODm77.js → EC-B2FGK-mr.js} +0 -0
  941. /package/dist/{EE-D2n6E72J.js → EE-qXeASUC-.js} +0 -0
  942. /package/dist/{ES-CsmTJRIi.js → ES-BBz54aGb.js} +0 -0
  943. /package/dist/{ES-D4WzOTek.js → ES-C89tOy9e.js} +0 -0
  944. /package/dist/{ES-DnRoTFNh.js → ES-IBdkjuIk.js} +0 -0
  945. /package/dist/{ES-BI7auc_D.js → ES-pbBXmvb6.js} +0 -0
  946. /package/dist/{FI-YOhI9TrO.js → FI-C2Ehs0Cl.js} +0 -0
  947. /package/dist/{FI-DJZScc7l.js → FI-DCXniiD4.js} +0 -0
  948. /package/dist/{FI-DhWyH1DT.js → FI-DHkXLS9S.js} +0 -0
  949. /package/dist/{FI-CZ6ep3W_.js → FI-K6KjFCWK.js} +0 -0
  950. /package/dist/{FJ-BcqfFVGi.js → FJ-V_2w3UTO.js} +0 -0
  951. /package/dist/{FO-BuQb8zK_.js → FO-DR-Xnm7u.js} +0 -0
  952. /package/dist/{FR-EX-aYUJ3.js → FR-B5uEo3fD.js} +0 -0
  953. /package/dist/{FR-DYfYAn5S.js → FR-CQw_46PX.js} +0 -0
  954. /package/dist/{FR-SxebWfwR.js → FR-CtpYelsq.js} +0 -0
  955. /package/dist/{FR-CWb0_Fcq.js → FR-CxvXXv-O.js} +0 -0
  956. /package/dist/{GB-CszgE98l.js → GB-BDGKJSiZ.js} +0 -0
  957. /package/dist/{GB-BycqX1ng.js → GB-DCF0Nkem.js} +0 -0
  958. /package/dist/{GB-DlvvuQuQ.js → GB-G_B8HSJg.js} +0 -0
  959. /package/dist/{GB-q2GO1nX8.js → GB-tfbORrua.js} +0 -0
  960. /package/dist/{GE-ChK3V1hi.js → GE-By9lo4py.js} +0 -0
  961. /package/dist/{GF-fTBjIC0q.js → GF-B0xFBl9q.js} +0 -0
  962. /package/dist/{GG-Cppga3Z4.js → GG-bAeosM_i.js} +0 -0
  963. /package/dist/{GI-Cm7N6fbE.js → GI-DfkPsLw0.js} +0 -0
  964. /package/dist/{GL-C75JniJw.js → GL-DhRtJPZY.js} +0 -0
  965. /package/dist/{GP-DhHOAa8k.js → GP-DNyYQvJw.js} +0 -0
  966. /package/dist/{GR-zOZilI5v.js → GR-DK-QrYIO.js} +0 -0
  967. /package/dist/{GT-B6tGLPxx.js → GT-BRuMYK92.js} +0 -0
  968. /package/dist/{GU-DjjJkDVU.js → GU-DAYIt05K.js} +0 -0
  969. /package/dist/{HK-CVaMk2Vl.js → HK-B4jzjZtL.js} +0 -0
  970. /package/dist/{HK-Yj_9Qbs3.js → HK-C1qODiFA.js} +0 -0
  971. /package/dist/{HK-Bs3Wsh4t.js → HK-DDKKwlVK.js} +0 -0
  972. /package/dist/{HK-BXsi3wQZ.js → HK-DeKSh6yq.js} +0 -0
  973. /package/dist/{HR-BR9TaCeP.js → HR-D0EqC8kx.js} +0 -0
  974. /package/dist/{HR-C-NuIOkA.js → HR-DOktpDnh.js} +0 -0
  975. /package/dist/{HR-8jCYyclY.js → HR-DomyNfJ0.js} +0 -0
  976. /package/dist/{HR-DvG9lG0o.js → HR-DxBWHi9K.js} +0 -0
  977. /package/dist/{HU-kkbB9HNQ.js → HU--SKUZPJ2.js} +0 -0
  978. /package/dist/{HU-B4hChLQO.js → HU-BS5tTBem.js} +0 -0
  979. /package/dist/{HU-o4ILK6JM.js → HU-DIT5cG5Z.js} +0 -0
  980. /package/dist/{HU-DF7a_-3t.js → HU-HvuEJeUR.js} +0 -0
  981. /package/dist/{HandlerContext-CIedIvkP.js → HandlerContext-DeMa68z0.js} +0 -0
  982. /package/dist/{ID-CnOsjpEC.js → ID-BBzj2tyK.js} +0 -0
  983. /package/dist/{IE-Dwlg9nat.js → IE-BB2lTAcu.js} +0 -0
  984. /package/dist/{IE-CtesijIU.js → IE-CxtzANSG.js} +0 -0
  985. /package/dist/{IE-dmyHscm0.js → IE-DOtxtX8R.js} +0 -0
  986. /package/dist/{IE-B3ysSG_S.js → IE-DwzVxL1C.js} +0 -0
  987. /package/dist/{IL-B2GfQOoK.js → IL-CgJ0eWPT.js} +0 -0
  988. /package/dist/{IM-D9Hb0nwZ.js → IM-Ca1LRzUz.js} +0 -0
  989. /package/dist/{IN-Qhys3xn2.js → IN--pr2-g7e.js} +0 -0
  990. /package/dist/{IS-DTXiGHYB.js → IS-BZeqGau3.js} +0 -0
  991. /package/dist/{IT-CHV5-m07.js → IT-BioiAQgd.js} +0 -0
  992. /package/dist/{IT-BZGkLCTQ.js → IT-CISIu45c.js} +0 -0
  993. /package/dist/{IT-Dimtibs1.js → IT-CUgNzWLF.js} +0 -0
  994. /package/dist/{IT-DFeNc5UK.js → IT-DwZn8LHj.js} +0 -0
  995. /package/dist/{InputGroup-B8AaetlI.js → InputGroup-B4U3QVEp.js} +0 -0
  996. /package/dist/{JE-D7_0MZEA.js → JE-BCj36onT.js} +0 -0
  997. /package/dist/{JM-CUVKn5To.js → JM-b03xrGTz.js} +0 -0
  998. /package/dist/{JO-B9_bPqbF.js → JO-CA8m_H5N.js} +0 -0
  999. /package/dist/{JP-z_PjepRf.js → JP-DroDT2u3.js} +0 -0
  1000. /package/dist/{KR-DaFOJAbV.js → KR-BkBLDQIT.js} +0 -0
  1001. /package/dist/{KW-BLH4fj8S.js → KW-dB3SXEf8.js} +0 -0
  1002. /package/dist/{KY-DG3Xehmz.js → KY-mZ-zKVkq.js} +0 -0
  1003. /package/dist/{KZ-BjnXKq2l.js → KZ-CcyUPGdv.js} +0 -0
  1004. /package/dist/{LB-CY5c_gqN.js → LB-DmtcVmjU.js} +0 -0
  1005. /package/dist/{LI-BkFK_qrZ.js → LI-haSXATP0.js} +0 -0
  1006. /package/dist/{LT-2wka4qNS.js → LT-BkxAhfJz.js} +0 -0
  1007. /package/dist/{LT--zST1zqj.js → LT-CYlhLD3-.js} +0 -0
  1008. /package/dist/{LT-BV7s3TCv.js → LT-DnvVPVhz.js} +0 -0
  1009. /package/dist/{LT-BxqPzqgf.js → LT-GP546RUy.js} +0 -0
  1010. /package/dist/{LU-Bt4sIWIT.js → LU-CnQilYzI.js} +0 -0
  1011. /package/dist/{LV-B-FeTyBQ.js → LV-BJoOuCmD.js} +0 -0
  1012. /package/dist/{MC-D92BHmGr.js → MC-1OhRuam2.js} +0 -0
  1013. /package/dist/{MD-BzJaxo1n.js → MD-DN7TRpmW.js} +0 -0
  1014. /package/dist/{ME-Iw66DM2s.js → ME-CuMiA40n.js} +0 -0
  1015. /package/dist/{MK-yRjMHvLF.js → MK-DGR-uR66.js} +0 -0
  1016. /package/dist/{MP-CGHoAYPz.js → MP-xhfj0dkC.js} +0 -0
  1017. /package/dist/{MQ-Db73c-TY.js → MQ-CZu5G2-t.js} +0 -0
  1018. /package/dist/{MR-CzGlj8ce.js → MR--V7elAIS.js} +0 -0
  1019. /package/dist/{MT-n0Cp6O8-.js → MT-BmkVDeF2.js} +0 -0
  1020. /package/dist/{MU-C57EyXfP.js → MU-LzgqzZzT.js} +0 -0
  1021. /package/dist/{MX-JSUPc6V8.js → MX-z-WoZkPd.js} +0 -0
  1022. /package/dist/{MY-Bbgpg3w2.js → MY-WsFwWp2U.js} +0 -0
  1023. /package/dist/{NC-BeqCqe7o.js → NC-B9M8cc6C.js} +0 -0
  1024. /package/dist/{NL-C1r7ND7d.js → NL-Bn2QKc20.js} +0 -0
  1025. /package/dist/{NL-KVjpCVaw.js → NL-BosPsuiC.js} +0 -0
  1026. /package/dist/{NL-CIX2R11u.js → NL-CXjh0eXG.js} +0 -0
  1027. /package/dist/{NL-B22K1Zb0.js → NL-DQew6XR-.js} +0 -0
  1028. /package/dist/{NO-CV0UtHqk.js → NO--AQKkHLW.js} +0 -0
  1029. /package/dist/{NO-BhYtIUv1.js → NO-BuWcaqBm.js} +0 -0
  1030. /package/dist/{NO-DLFLW3I8.js → NO-CFh5Lkfr.js} +0 -0
  1031. /package/dist/{NO-CFty2TsC.js → NO-D7BSfuUs.js} +0 -0
  1032. /package/dist/{NZ-DZ75lvmW.js → NZ-BDDXct1F.js} +0 -0
  1033. /package/dist/{NZ-ClQC7uEQ.js → NZ-DyVhIxBu.js} +0 -0
  1034. /package/dist/{PE-BhP-iF08.js → PE-DJZc_8Lk.js} +0 -0
  1035. /package/dist/{PF-DZJu8LvP.js → PF-D593LuXT.js} +0 -0
  1036. /package/dist/{PH-8s_pcD1T.js → PH-CJRjYgx3.js} +0 -0
  1037. /package/dist/{PK-BkHx9Wu7.js → PK-C1TVRYA6.js} +0 -0
  1038. /package/dist/{PL-oVwazamy.js → PL-7-9sJ6je.js} +0 -0
  1039. /package/dist/{PL-CZ0JZlv4.js → PL-C3tudSnw.js} +0 -0
  1040. /package/dist/{PL-DjTZTZqB.js → PL-CtjljK4S.js} +0 -0
  1041. /package/dist/{PL-Db0WKekw.js → PL-DasLrwsx.js} +0 -0
  1042. /package/dist/{PM-Bcq0SkSj.js → PM-CPvVGX_s.js} +0 -0
  1043. /package/dist/{PR-N31WZxLD.js → PR-C6mnN4I1.js} +0 -0
  1044. /package/dist/{PS-DzthwPAx.js → PS-Bqa7HAb6.js} +0 -0
  1045. /package/dist/{PT-ilpiMMVG.js → PT-BHFP2Jx8.js} +0 -0
  1046. /package/dist/{PT-C6fd2w3g.js → PT-C9aMzry5.js} +0 -0
  1047. /package/dist/{PT-C3FlrAqt.js → PT-Ck3Uvmoz.js} +0 -0
  1048. /package/dist/{PT-BVfq_KIl.js → PT-DMEuvIu6.js} +0 -0
  1049. /package/dist/{QA-zn4Gdzbo.js → QA-B2A0rFrR.js} +0 -0
  1050. /package/dist/{RE-dG3KJMMx.js → RE-BSdvJRM5.js} +0 -0
  1051. /package/dist/{RO-Dtlve3hZ.js → RO-BZxtXYEM.js} +0 -0
  1052. /package/dist/{RO-B1UBvxsc.js → RO-CJlQuJqy.js} +0 -0
  1053. /package/dist/{RO-BL-J1_yg.js → RO-C_QrkrYl.js} +0 -0
  1054. /package/dist/{RO-BXtuhVoN.js → RO-CewdEU2z.js} +0 -0
  1055. /package/dist/{RS-DIpTuX70.js → RS-DAtcOeON.js} +0 -0
  1056. /package/dist/{RU-B7YwaezI.js → RU-CDpkuVOX.js} +0 -0
  1057. /package/dist/{SA-yHvpRBBt.js → SA-BoAcP38a.js} +0 -0
  1058. /package/dist/{SE-CccuzUP0.js → SE-Ca_yLiKO.js} +0 -0
  1059. /package/dist/{SE-gXHu0efH.js → SE-DX5R7MEM.js} +0 -0
  1060. /package/dist/{SE-pMhyd7KJ.js → SE-DzRKAJvT.js} +0 -0
  1061. /package/dist/{SE-CfxNbl59.js → SE-U0u4yomj.js} +0 -0
  1062. /package/dist/{SG-DIKkp5VX.js → SG-BR0qm_Lu.js} +0 -0
  1063. /package/dist/{SG-CODE9yV_.js → SG-Dm4nWFwC.js} +0 -0
  1064. /package/dist/{SG-fAOioO1i.js → SG-ljx49JLF.js} +0 -0
  1065. /package/dist/{SG-CGk7k8y6.js → SG-sKZVzzs9.js} +0 -0
  1066. /package/dist/{SI-BpwxzWXI.js → SI-BIBw5Y4Z.js} +0 -0
  1067. /package/dist/{SI-D8ngpNLP.js → SI-BxOiA06G.js} +0 -0
  1068. /package/dist/{SI-DgNZ746W.js → SI-CHQHMWZa.js} +0 -0
  1069. /package/dist/{SI-CtMaFIsz.js → SI-CbzJWJo5.js} +0 -0
  1070. /package/dist/{SJ-SG7xxYUX.js → SJ-C0EiPIY7.js} +0 -0
  1071. /package/dist/{SK-CNT7QVie.js → SK-B-_-RVXx.js} +0 -0
  1072. /package/dist/{SK-D8vU29-x.js → SK-BPuPGFPo.js} +0 -0
  1073. /package/dist/{SK-DssnPaZv.js → SK-Bg9K35hT.js} +0 -0
  1074. /package/dist/{SK-C7ldUW73.js → SK-M9wg6on5.js} +0 -0
  1075. /package/dist/{SM-Ds8vicT5.js → SM-BAP1izca.js} +0 -0
  1076. /package/dist/{TF-Ckf_6iT5.js → TF-BzLXwUD9.js} +0 -0
  1077. /package/dist/{TH-2sIVIZNa.js → TH-wvwE8m03.js} +0 -0
  1078. /package/dist/{TL-OSKwf5cB.js → TL-CAwOhktT.js} +0 -0
  1079. /package/dist/{TN-BcUBhs_y.js → TN-Bs-VE6A_.js} +0 -0
  1080. /package/dist/{TR-nO7zl2t7.js → TR-7uYc2xp7.js} +0 -0
  1081. /package/dist/{TT-uQXIiTh9.js → TT-DbzL2xhJ.js} +0 -0
  1082. /package/dist/{TW-ra8aVP1u.js → TW-BTAvA4FA.js} +0 -0
  1083. /package/dist/{UA-ChP4sFEB.js → UA-BAkAL82L.js} +0 -0
  1084. /package/dist/{US-D6PlTpHk.js → US-BXek71cY.js} +0 -0
  1085. /package/dist/{US-CPcVUQez.js → US-CBUD9sMP.js} +0 -0
  1086. /package/dist/{US-F-OhVaqg.js → US-CyRlJ_CX.js} +0 -0
  1087. /package/dist/{US-amE0CRbB.js → US-D3s6UvEg.js} +0 -0
  1088. /package/dist/{UY-BFN4uNVz.js → UY-Bq43JSIl.js} +0 -0
  1089. /package/dist/{VA-lz_OQgNz.js → VA-CHkQ7jk0.js} +0 -0
  1090. /package/dist/{VG-CUKKrF3h.js → VG-DnUOjTKa.js} +0 -0
  1091. /package/dist/{VI-D1i4Oi0B.js → VI-CjjaTPrq.js} +0 -0
  1092. /package/dist/{VN-DRaYj63j.js → VN-DgqMueJl.js} +0 -0
  1093. /package/dist/{WF-K2TrgrKu.js → WF-Czcwchbb.js} +0 -0
  1094. /package/dist/{YT-CEOdE-OK.js → YT-BTQIBrb1.js} +0 -0
  1095. /package/dist/{ZA-BVXb4Fcr.js → ZA-BAufwt8q.js} +0 -0
  1096. /package/dist/{basePatterns-B0FC-Crd.js → basePatterns-plHFNzgJ.js} +0 -0
  1097. /package/dist/{bg-BG-DqOqFO0A.js → bg-BG-B1zNismI.js} +0 -0
  1098. /package/dist/{bg-BG-DLd3BaDx.js → bg-BG-BVoCVNdz.js} +0 -0
  1099. /package/dist/{bg-BG-B845EAcI.js → bg-BG-BpPjqqen.js} +0 -0
  1100. /package/dist/{bg-BG-BsrzL-U8.js → bg-BG-CQgiIkWL.js} +0 -0
  1101. /package/dist/{bg-BG-CncTIGKT2.js → bg-BG-CmuahJEZ.js} +0 -0
  1102. /package/dist/{bg-BG-CUmjOcpi2.js → bg-BG-DUIc4CjB.js} +0 -0
  1103. /package/dist/{bg-BG-BrYfHU1Y.js → bg-BG-qQc6pN4K.js} +0 -0
  1104. /package/dist/{business-lines-DY5WHePf.js → business-lines-De9DsaVa.js} +0 -0
  1105. /package/dist/{country-code-BjUoKbAN.js → country-code-CJk2hdPu.js} +0 -0
  1106. /package/dist/{cs-CZ-Bl40lHzE.js → cs-CZ-CfiYuMi0.js} +0 -0
  1107. /package/dist/{cs-CZ-n18LpZrJ2.js → cs-CZ-Cl6WgrU6.js} +0 -0
  1108. /package/dist/{cs-CZ-IZhVT21N.js → cs-CZ-DGD5Pulk.js} +0 -0
  1109. /package/dist/{cs-CZ-Is3lue5X2.js → cs-CZ-DUNmRoYr.js} +0 -0
  1110. /package/dist/{cs-CZ-D08FCyDx.js → cs-CZ-Dz8kXdHw.js} +0 -0
  1111. /package/dist/{cs-CZ-HMzN3w9M.js → cs-CZ-Jsmhr_B3.js} +0 -0
  1112. /package/dist/{cs-CZ-C6VkcCUo.js → cs-CZ-fK4LxA1u.js} +0 -0
  1113. /package/dist/{currency-B8-OEAgj.js → currency-DQwXq9Mc.js} +0 -0
  1114. /package/dist/{da-DK-DJ5ddVnr2.js → da-DK-ANBIxDco.js} +0 -0
  1115. /package/dist/{da-DK-CB-sFnhe.js → da-DK-Bwkz0Wxd.js} +0 -0
  1116. /package/dist/{da-DK-CzCkRjoI2.js → da-DK-CWWLFjfT.js} +0 -0
  1117. /package/dist/{da-DK-IX9UQUAb.js → da-DK-CXZXQspY.js} +0 -0
  1118. /package/dist/{da-DK-B576UeqU.js → da-DK-CzyaFVpm.js} +0 -0
  1119. /package/dist/{da-DK-CzFS-0y6.js → da-DK-NCs7m8qy.js} +0 -0
  1120. /package/dist/{da-DK-BwIZqzDw.js → da-DK-SpVsMtf5.js} +0 -0
  1121. /package/dist/{de-DE-DSP4aQRh.js → de-DE-BRJ0jBty.js} +0 -0
  1122. /package/dist/{de-DE-CHdEma9v.js → de-DE-CT8rn19_.js} +0 -0
  1123. /package/dist/{de-DE-BHik7H3o.js → de-DE-CVNJWoQd.js} +0 -0
  1124. /package/dist/{de-DE-CfuejIRq.js → de-DE-DPkZZVMc.js} +0 -0
  1125. /package/dist/{de-DE-CZ4lmioI2.js → de-DE-HdJ5vlQN.js} +0 -0
  1126. /package/dist/{de-DE-Bki8tbcV2.js → de-DE-LLIuFER0.js} +0 -0
  1127. /package/dist/{de-DE-C4PzkDzF.js → de-DE-flvryS_H.js} +0 -0
  1128. /package/dist/{de-DE-C9UIqdWt.js → de-DE-w4l6boYT.js} +0 -0
  1129. /package/dist/{debouncedInputEvent-CUZBv60e.js → debouncedInputEvent-D2-Kctv9.js} +0 -0
  1130. /package/dist/{debugStore-BVjLDPIU.js → debugStore-Dwn1FXrh.js} +0 -0
  1131. /package/dist/{decision-maker-type-CWrppE0k.js → decision-maker-type-NR4GFAeT.js} +0 -0
  1132. /package/dist/{decision-makers-group-D53oFTHn.js → decision-makers-group-DAoxQRJ3.js} +0 -0
  1133. /package/dist/{digital-wallet-CLOVHAow.js → digital-wallet-ByQCwU-K.js} +0 -0
  1134. /package/dist/{document-blurred-DGXvRTC8.js → document-blurred-iJRUsQR5.js} +0 -0
  1135. /package/dist/{document-cut-off-DbVQzqxC.js → document-cut-off-DhZYZ56P.js} +0 -0
  1136. /package/dist/{document-expired-DKnTJ5T9.js → document-expired-CDV5yclN.js} +0 -0
  1137. /package/dist/{document-front-Bn5jsEIh.js → document-front-tg-w81rp.js} +0 -0
  1138. /package/dist/{el-GR-LUFCyvHj.js → el-GR-28yAVKwY.js} +0 -0
  1139. /package/dist/{el-GR-B5dqrdWm.js → el-GR-BMGYrO4V.js} +0 -0
  1140. /package/dist/{el-GR-XuQDipDR.js → el-GR-BfKp5abT.js} +0 -0
  1141. /package/dist/{el-GR-3u6kc4gj.js → el-GR-Ctvm4US3.js} +0 -0
  1142. /package/dist/{el-GR-DocTTdq-2.js → el-GR-D9MFsese.js} +0 -0
  1143. /package/dist/{el-GR-CZs5BPVJ2.js → el-GR-D_JXywE0.js} +0 -0
  1144. /package/dist/{el-GR-BUBdTCMP.js → el-GR-Df7yzbal.js} +0 -0
  1145. /package/dist/{el-GR-Buy5IU8M.js → el-GR-DqTetsjB.js} +0 -0
  1146. /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-CcGIaOut.js} +0 -0
  1147. /package/dist/{en-US-DdArZW-2.js → en-US-B82BbZaB.js} +0 -0
  1148. /package/dist/{en-US-DLIlixDF.js → en-US-BIYEZxZV.js} +0 -0
  1149. /package/dist/{en-US-BpCm0Bvk.js → en-US-BcTbYQei.js} +0 -0
  1150. /package/dist/{en-US-BOJswraw.js → en-US-BqGRsgfO.js} +0 -0
  1151. /package/dist/{en-US-VZ7ytmtB.js → en-US-BqvVH-Pi.js} +0 -0
  1152. /package/dist/{en-US-ccX525iK.js → en-US-C1J9jcVI.js} +0 -0
  1153. /package/dist/{en-US-D_g_DM_a2.js → en-US-C2htqfkP.js} +0 -0
  1154. /package/dist/{en-US-D9vXTqQr.js → en-US-C6sEvgbn.js} +0 -0
  1155. /package/dist/{en-US-CXdfrlM6.js → en-US-CRoNUEFi.js} +0 -0
  1156. /package/dist/{en-US-gwxv5v9w.js → en-US-CWDI7JKT.js} +0 -0
  1157. /package/dist/{en-US-DNQKfkN1.js → en-US-CeiLSh8o.js} +0 -0
  1158. /package/dist/{en-US-CN15rSvL.js → en-US-D0fscfsz.js} +0 -0
  1159. /package/dist/{en-US-Bw9LpxPe.js → en-US-D0pPfuzx.js} +0 -0
  1160. /package/dist/{en-US-B-_7IR6A.js → en-US-D0qNFi4G.js} +0 -0
  1161. /package/dist/{en-US-HW6CoTeP.js → en-US-DLsYeEWI.js} +0 -0
  1162. /package/dist/{en-US-DmDPhSJN.js → en-US-DXLqOZX1.js} +0 -0
  1163. /package/dist/{en-US-1Tznfcwg.js → en-US-DbUXn5BN.js} +0 -0
  1164. /package/dist/{en-US-BEL_lmpv.js → en-US-KKriaTJw.js} +0 -0
  1165. /package/dist/{en-US-Bf6E1v0-2.js → en-US-nYL_eSJ-.js} +0 -0
  1166. /package/dist/{en-US-ZFlMM5v3.js → en-US-t-Z87qeJ.js} +0 -0
  1167. /package/dist/{en-US.instructions-kje2iQeM.js → en-US.instructions-DfgivDPI.js} +0 -0
  1168. /package/dist/{en-US.instructions-CbjjdEDm.js → en-US.instructions-FOYUYA3c.js} +0 -0
  1169. /package/dist/{es-ES-DBxs7iF7.js → es-ES-C14ZT-97.js} +0 -0
  1170. /package/dist/{es-ES-oq21mjwX.js → es-ES-CGEEtFjV.js} +0 -0
  1171. /package/dist/{es-ES-RzKcfNXi.js → es-ES-CJYZG5hn.js} +0 -0
  1172. /package/dist/{es-ES-Cn6TsINc.js → es-ES-DTbydE6J.js} +0 -0
  1173. /package/dist/{es-ES-DFYOkj68.js → es-ES-Dbsez-nt.js} +0 -0
  1174. /package/dist/{es-ES-BMBx28UE2.js → es-ES-DcPwPUlZ.js} +0 -0
  1175. /package/dist/{es-ES-DGmySxC42.js → es-ES-N-uqwvEU.js} +0 -0
  1176. /package/dist/{es-ES-QIbBo_YM.js → es-ES-pt4yy_U2.js} +0 -0
  1177. /package/dist/{et-EE-RpLsFwBS.js → et-EE-BEKmKSGB.js} +0 -0
  1178. /package/dist/{et-EE-D8EAo5UR.js → et-EE-BXGMIGkB.js} +0 -0
  1179. /package/dist/{et-EE-Bq6ySoVT2.js → et-EE-CkJhiCVw.js} +0 -0
  1180. /package/dist/{et-EE-BWE9LBIW.js → et-EE-DZ2fiz66.js} +0 -0
  1181. /package/dist/{et-EE-go_L8yC52.js → et-EE-TIKP7Ec9.js} +0 -0
  1182. /package/dist/{et-EE-CuuT6UiF.js → et-EE-dDMeDiTJ.js} +0 -0
  1183. /package/dist/{et-EE-Clm5xG7H.js → et-EE-naxT4ToX.js} +0 -0
  1184. /package/dist/{fi-FI-BhZIWccP.js → fi-FI-B3azKh_D.js} +0 -0
  1185. /package/dist/{fi-FI-BYm7CUY2.js → fi-FI-BdqoEBfB.js} +0 -0
  1186. /package/dist/{fi-FI-BmXRQB7_2.js → fi-FI-D0ZPYGD3.js} +0 -0
  1187. /package/dist/{fi-FI-DsfVixQ62.js → fi-FI-DJ6-TAV9.js} +0 -0
  1188. /package/dist/{fi-FI-CfmDq95S.js → fi-FI-DZUZ6EuS.js} +0 -0
  1189. /package/dist/{fi-FI-cUN_PaZk.js → fi-FI-iRb7nS7X.js} +0 -0
  1190. /package/dist/{fi-FI-6U5kDy9_.js → fi-FI-o-v0rRih.js} +0 -0
  1191. /package/dist/{fieldConfigurations-B3oqm4GC.js → fieldConfigurations-CZCFghnK.js} +0 -0
  1192. /package/dist/{file-6a0FDVyq.js → file-1IenVoh8.js} +0 -0
  1193. /package/dist/{filterProblemsByTaskForms-DwS9T-_E.js → filterProblemsByTaskForms-CQby20PN.js} +0 -0
  1194. /package/dist/{form-rules-CvdV5rPY.js → form-rules-CUUQGacJ.js} +0 -0
  1195. /package/dist/{formatCurrency-D-m2ri-x.js → formatCurrency-Cq3WFpdZ.js} +0 -0
  1196. /package/dist/{fr-FR-BxnyIkIr.js → fr-FR-5eSOACgc.js} +0 -0
  1197. /package/dist/{fr-FR-D1HpNhTO.js → fr-FR-8a-RK9xd.js} +0 -0
  1198. /package/dist/{fr-FR-CMj16KIu2.js → fr-FR-B7mkWyab.js} +0 -0
  1199. /package/dist/{fr-FR-CTaavJDz.js → fr-FR-BRin5m9T.js} +0 -0
  1200. /package/dist/{fr-FR-BqpAnmif.js → fr-FR-Bsr-Ax2m.js} +0 -0
  1201. /package/dist/{fr-FR-DnX9lTEQ.js → fr-FR-DUrcyeOg.js} +0 -0
  1202. /package/dist/{fr-FR-BdjvbPB62.js → fr-FR-DXXrJUKC.js} +0 -0
  1203. /package/dist/{fr-FR-qy27JGqF.js → fr-FR-DY_6cPBK.js} +0 -0
  1204. /package/dist/{funds-in-DcvC0rG-.js → funds-in-BvQVahzR.js} +0 -0
  1205. /package/dist/{get-scenarios-Bkxtd5jh.js → get-scenarios-Bb-paHmJ.js} +0 -0
  1206. /package/dist/{getNestedPropertyKeys-MEDCcSm2.js → getNestedPropertyKeys-Cd8HKupP.js} +0 -0
  1207. /package/dist/{getProps-DQy_qV_x.js → getProps-1L-urpfA.js} +0 -0
  1208. /package/dist/{getTrustedFields-BF_CmfLe.js → getTrustedFields-BJ88GlM-.js} +0 -0
  1209. /package/dist/{graphical-laptop-xPvp7QKa.js → graphical-laptop-BUntvD51.js} +0 -0
  1210. /package/dist/{house-D2ID8PM-.js → house-DFPq_koC.js} +0 -0
  1211. /package/dist/{hr-HR-mfHZl8tO.js → hr-HR-BHkPwjWG.js} +0 -0
  1212. /package/dist/{hr-HR-O1W0RKHg.js → hr-HR-BcuZOdbx.js} +0 -0
  1213. /package/dist/{hr-HR-CLA4RCOe2.js → hr-HR-BeZ1eUy7.js} +0 -0
  1214. /package/dist/{hr-HR-BzyoDD3o.js → hr-HR-CQVBtolX.js} +0 -0
  1215. /package/dist/{hr-HR-gmt7xTWx2.js → hr-HR-CTVtZrP9.js} +0 -0
  1216. /package/dist/{hr-HR-DwVuRMPc.js → hr-HR-LnDb18bf.js} +0 -0
  1217. /package/dist/{hr-HR-Dgrok1MJ.js → hr-HR-o5FSYlwu.js} +0 -0
  1218. /package/dist/{hu-HU-yAwdJ5xn.js → hu-HU-BWRMWxUx.js} +0 -0
  1219. /package/dist/{hu-HU-Dh9jdb9X2.js → hu-HU-BhliM1LD.js} +0 -0
  1220. /package/dist/{hu-HU-BfD5UZoY2.js → hu-HU-BsyElEv0.js} +0 -0
  1221. /package/dist/{hu-HU-Bxg-cJEy.js → hu-HU-C-Lv58Kx.js} +0 -0
  1222. /package/dist/{hu-HU-BzAy_OWc.js → hu-HU-CaDVfAld.js} +0 -0
  1223. /package/dist/{hu-HU-DceMzb3Y.js → hu-HU-Cc7wqn6A.js} +0 -0
  1224. /package/dist/{hu-HU-BzQoUNaS.js → hu-HU-yAl0nEE3.js} +0 -0
  1225. /package/dist/{id-blurred-CtnwOJmP.js → id-blurred-VxdOFc9Z.js} +0 -0
  1226. /package/dist/{id-cut-off-DTnrMaG3.js → id-cut-off-Lf8yjnWT.js} +0 -0
  1227. /package/dist/{id-front-BArANgYI.js → id-front-C00ss5Ib.js} +0 -0
  1228. /package/dist/{id-glare-g3bnPQ3v.js → id-glare-DyvU9bwI.js} +0 -0
  1229. /package/dist/{isNewEntity-BCb_oxKh.js → isNewEntity-vML86iIM.js} +0 -0
  1230. /package/dist/{it-IT-C82YvJn6.js → it-IT-8FlMolyS.js} +0 -0
  1231. /package/dist/{it-IT-Dns-1Qbf.js → it-IT-BPA_Upt_.js} +0 -0
  1232. /package/dist/{it-IT-BrdXGWpw.js → it-IT-BULBjWDc.js} +0 -0
  1233. /package/dist/{it-IT-BxdBXweN.js → it-IT-C2dB9OJn.js} +0 -0
  1234. /package/dist/{it-IT-BcBkbTJA.js → it-IT-D9vW7SZr.js} +0 -0
  1235. /package/dist/{it-IT-Bnm0ulsw2.js → it-IT-DGgRrlgT.js} +0 -0
  1236. /package/dist/{it-IT-DK30YvbO.js → it-IT-DIIRAF4_.js} +0 -0
  1237. /package/dist/{it-IT-CHuVqZdn.js → it-IT-Dw5XUNAP.js} +0 -0
  1238. /package/dist/{ja-JP-DDT5jvAB.js → ja-JP-7zkrWB8G.js} +0 -0
  1239. /package/dist/{ja-JP-B5SxIdyP2.js → ja-JP-Bgo52-T0.js} +0 -0
  1240. /package/dist/{ja-JP-C_E_4yUn.js → ja-JP-BhoagXJu.js} +0 -0
  1241. /package/dist/{ja-JP-D91Qq9X0.js → ja-JP-ByMh2iUh.js} +0 -0
  1242. /package/dist/{ja-JP-DYccStvn.js → ja-JP-CTJQKAUM.js} +0 -0
  1243. /package/dist/{ja-JP-BzBRpXM1.js → ja-JP-CYb1SAoz.js} +0 -0
  1244. /package/dist/{ja-JP-CwVkOC4Z.js → ja-JP-CyXnoIu3.js} +0 -0
  1245. /package/dist/{ja-JP-CTFB8UKL.js → ja-JP-DqGVC5Ag.js} +0 -0
  1246. /package/dist/{ja-JP-DTqjZ_RP.js → ja-JP-eKLuhutG.js} +0 -0
  1247. /package/dist/{jpAddressSchema-wrMPYgVe.js → jpAddressSchema-pVY2Cqvr.js} +0 -0
  1248. /package/dist/{legal-entity-type-VIfNYnJP.js → legal-entity-type-0MfCGzUf.js} +0 -0
  1249. /package/dist/{lt-LT-IP4Sz8Gn.js → lt-LT-B9Nm7OZQ.js} +0 -0
  1250. /package/dist/{lt-LT-bBBImnIr.js → lt-LT-BX_xCGlf.js} +0 -0
  1251. /package/dist/{lt-LT-OGBNEWvq.js → lt-LT-C96kAeo7.js} +0 -0
  1252. /package/dist/{lt-LT-Dpy8srws.js → lt-LT-CiKIZfk8.js} +0 -0
  1253. /package/dist/{lt-LT-DN-ykSHh.js → lt-LT-CyoO9ova.js} +0 -0
  1254. /package/dist/{lt-LT-QPJqX0US.js → lt-LT-D0eqQspB.js} +0 -0
  1255. /package/dist/{lt-LT-8dDfYsF82.js → lt-LT-DdXY3cAX.js} +0 -0
  1256. /package/dist/{lv-LV-C9zoAq4h.js → lv-LV-Bm8LrJoB.js} +0 -0
  1257. /package/dist/{lv-LV-CcQHxQxD.js → lv-LV-C8Reuc9U.js} +0 -0
  1258. /package/dist/{lv-LV-Cbnl_BTV.js → lv-LV-D_BqPK2J.js} +0 -0
  1259. /package/dist/{lv-LV-DlQGKdqk.js → lv-LV-DkjsE74u.js} +0 -0
  1260. /package/dist/{lv-LV-D4clLiV42.js → lv-LV-Fz2z__sN.js} +0 -0
  1261. /package/dist/{lv-LV-CHzgorrn.js → lv-LV-nsjeQDem.js} +0 -0
  1262. /package/dist/{lv-LV-B34caEFv.js → lv-LV-u-vJn6T3.js} +0 -0
  1263. /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js} +0 -0
  1264. /package/dist/{nl-NL-BUzOX91N.js → nl-NL-B8REgP66.js} +0 -0
  1265. /package/dist/{nl-NL-BXTbqvDG.js → nl-NL-BO-bzIOE.js} +0 -0
  1266. /package/dist/{nl-NL-BXVVoxv9.js → nl-NL-BWGCqpWp.js} +0 -0
  1267. /package/dist/{nl-NL-2uvrEI1a.js → nl-NL-BtdPxlFm.js} +0 -0
  1268. /package/dist/{nl-NL-DI_aNYah.js → nl-NL-C678Ydas.js} +0 -0
  1269. /package/dist/{nl-NL-6qgh_ZGA.js → nl-NL-CLL6yaXp.js} +0 -0
  1270. /package/dist/{nl-NL-6DRNI2_h.js → nl-NL-D8u-OQ2Z.js} +0 -0
  1271. /package/dist/{nl-NL-BCCzwWkw2.js → nl-NL-Xubp239B.js} +0 -0
  1272. /package/dist/{no-NO-BNL9v_bl.js → no-NO-0TPifz5u.js} +0 -0
  1273. /package/dist/{no-NO-CCtUTnqP.js → no-NO-BIhMgC99.js} +0 -0
  1274. /package/dist/{no-NO-A9MwJ3y8.js → no-NO-Bgl_00AJ.js} +0 -0
  1275. /package/dist/{no-NO-hgC3Li7e.js → no-NO-BsTJeq1r.js} +0 -0
  1276. /package/dist/{no-NO-DN8WIiN32.js → no-NO-CFu9XENI.js} +0 -0
  1277. /package/dist/{no-NO-Cd0Nf4Kq.js → no-NO-CP59oYE-.js} +0 -0
  1278. /package/dist/{no-NO-C037FAac.js → no-NO-vasSCJdc.js} +0 -0
  1279. /package/dist/{onfido-logo-BXb14yhW.js → onfido-logo-CMRuSr8M.js} +0 -0
  1280. /package/dist/{passport-blurred-DOfrfF0N.js → passport-blurred-0Uw8uYSJ.js} +0 -0
  1281. /package/dist/{passport-cut-off-DwNmCL8v.js → passport-cut-off-BPzI2BwO.js} +0 -0
  1282. /package/dist/{passport-front-DLG09n5u.js → passport-front-D6Nky-ni.js} +0 -0
  1283. /package/dist/{passport-front-green-BB3zGc3y.js → passport-front-green-BWuD3-Fs.js} +0 -0
  1284. /package/dist/{passport-glare-CkhvC36x.js → passport-glare-DFSFxNy9.js} +0 -0
  1285. /package/dist/{payout-bank-accounts-BN3KdVID.js → payout-bank-accounts-CsVPa1AN.js} +0 -0
  1286. /package/dist/{payout-verification-instant-DOCBn9if.js → payout-verification-instant-CSV3GQ4N.js} +0 -0
  1287. /package/dist/{payout-verification-manual-DmhxH6y1.js → payout-verification-manual-BHEF55k8.js} +0 -0
  1288. /package/dist/{pl-PL-BVYFKqiG.js → pl-PL-9di9pq8T.js} +0 -0
  1289. /package/dist/{pl-PL-DYmR6-f32.js → pl-PL-B5FSKIny.js} +0 -0
  1290. /package/dist/{pl-PL-D3NzOQQU.js → pl-PL-BT6NmGgO.js} +0 -0
  1291. /package/dist/{pl-PL-DDxFQhlh.js → pl-PL-C860xjSa.js} +0 -0
  1292. /package/dist/{pl-PL-DeAckp5p.js → pl-PL-DCIKCF5C.js} +0 -0
  1293. /package/dist/{pl-PL-59aMUgvV.js → pl-PL-DszjCCg8.js} +0 -0
  1294. /package/dist/{pl-PL-R2xSHe-z.js → pl-PL-wpXnySZL.js} +0 -0
  1295. /package/dist/{plaid-logo-CjpdjGNT.js → plaid-logo-tibaWEAL.js} +0 -0
  1296. /package/dist/{pt-BR-BdpAz26L.js → pt-BR-B0SUw4uu.js} +0 -0
  1297. /package/dist/{pt-BR-BDEGOFU52.js → pt-BR-BBIWB923.js} +0 -0
  1298. /package/dist/{pt-BR-BjLvBssy.js → pt-BR-BhBu4Wkn.js} +0 -0
  1299. /package/dist/{pt-BR-D8hxPoFJ.js → pt-BR-Bp3xzdX7.js} +0 -0
  1300. /package/dist/{pt-BR-C7pxsNe-.js → pt-BR-C3I_7Mcz.js} +0 -0
  1301. /package/dist/{pt-BR-7qFnlWUK.js → pt-BR-C5d5CGRt.js} +0 -0
  1302. /package/dist/{pt-BR-DGRn2oS9.js → pt-BR-DPA2WUjM.js} +0 -0
  1303. /package/dist/{pt-BR-B5i0TdE9.js → pt-BR-DtyxSlwY.js} +0 -0
  1304. /package/dist/{pt-PT-BTZOJZU6.js → pt-PT-B6OslB_S.js} +0 -0
  1305. /package/dist/{pt-PT-CI47ZET7.js → pt-PT-BZa5DvLf.js} +0 -0
  1306. /package/dist/{pt-PT-CEPDmPY7.js → pt-PT-CYMgik2d.js} +0 -0
  1307. /package/dist/{pt-PT-DFy0vZ_Z2.js → pt-PT-D1Mnwi3B.js} +0 -0
  1308. /package/dist/{pt-PT-BBd1NJRh.js → pt-PT-DdWMchfY.js} +0 -0
  1309. /package/dist/{pt-PT-DBFZcKHi.js → pt-PT-IPhkbQvT.js} +0 -0
  1310. /package/dist/{pt-PT-CJVVRZyV.js → pt-PT-KikTTc5A.js} +0 -0
  1311. /package/dist/{pt-PT-BqRmSpLn.js → pt-PT-MeSSYc0C.js} +0 -0
  1312. /package/dist/{reporting-CuOey349.js → reporting-B084dXT2.js} +0 -0
  1313. /package/dist/{review-CkmDUkhx.js → review-CN-zt9-S.js} +0 -0
  1314. /package/dist/{ro-RO-CA7NoMAg2.js → ro-RO-B72I1ycf.js} +0 -0
  1315. /package/dist/{ro-RO-e45j_CyV.js → ro-RO-BVGWEbO9.js} +0 -0
  1316. /package/dist/{ro-RO-GldC3IcE.js → ro-RO-CsKKl68g.js} +0 -0
  1317. /package/dist/{ro-RO-Bl3OcC_Q.js → ro-RO-DajmyI4j.js} +0 -0
  1318. /package/dist/{ro-RO-C4lcxnWO.js → ro-RO-dG27cZbT.js} +0 -0
  1319. /package/dist/{ro-RO-Bf10OHuY.js → ro-RO-jcGn-sY4.js} +0 -0
  1320. /package/dist/{ro-RO-C3g0pSKU.js → ro-RO-rUQBJ_rV.js} +0 -0
  1321. /package/dist/{singpass-logo-DESKvfOJ.js → singpass-logo-BlBOt-Jg.js} +0 -0
  1322. /package/dist/{singpass-logo-small-CBW6iXWW.js → singpass-logo-small-Dj6yeaQx.js} +0 -0
  1323. /package/dist/{sk-SK-C8d17RvE2.js → sk-SK-BFh-bgKq.js} +0 -0
  1324. /package/dist/{sk-SK-C9Cst_ER.js → sk-SK-CDUWGXfX.js} +0 -0
  1325. /package/dist/{sk-SK-y3Dcsvdc.js → sk-SK-DJWcs0qJ.js} +0 -0
  1326. /package/dist/{sk-SK-DXRluu5W.js → sk-SK-DP6XhEgm.js} +0 -0
  1327. /package/dist/{sk-SK-BSv5VXox.js → sk-SK-TwqCzMtZ.js} +0 -0
  1328. /package/dist/{sk-SK-wzPlUKNj.js → sk-SK-Woc9AmiO.js} +0 -0
  1329. /package/dist/{sk-SK-tk_1fC8g.js → sk-SK-bt84r8cG.js} +0 -0
  1330. /package/dist/{sl-SI-uhzy0HC12.js → sl-SI-Bc7dEjcH.js} +0 -0
  1331. /package/dist/{sl-SI-D6evG9fK.js → sl-SI-BpJHrRwy.js} +0 -0
  1332. /package/dist/{sl-SI-ChCyYnjd.js → sl-SI-C03fXovT.js} +0 -0
  1333. /package/dist/{sl-SI-CX-qAqMO.js → sl-SI-C_QeUL6t.js} +0 -0
  1334. /package/dist/{sl-SI-B-t1nY1x.js → sl-SI-DF6_X7op.js} +0 -0
  1335. /package/dist/{sl-SI-DiLuydaN.js → sl-SI-O8FoUWa8.js} +0 -0
  1336. /package/dist/{sl-SI-Bfdb7gjw.js → sl-SI-orV9B38l.js} +0 -0
  1337. /package/dist/{summaryItem-Dehjwp8D.js → summaryItem-uDWmtYtt.js} +0 -0
  1338. /package/dist/{sv-SE-BoITS9np.js → sv-SE-CLkZV2NG.js} +0 -0
  1339. /package/dist/{sv-SE-Bpo3MgEr.js → sv-SE-CQt2K1X-.js} +0 -0
  1340. /package/dist/{sv-SE-DlYizFz8.js → sv-SE-Cor3sNy0.js} +0 -0
  1341. /package/dist/{sv-SE-BOEa4u9p.js → sv-SE-D05i0X2z.js} +0 -0
  1342. /package/dist/{sv-SE-Bx_Mk5xx.js → sv-SE-D3MOTV-T.js} +0 -0
  1343. /package/dist/{sv-SE-DhNNMEwq.js → sv-SE-D5eIbgkk.js} +0 -0
  1344. /package/dist/{sv-SE-4oyeOi4Y.js → sv-SE-Di8YEdBA.js} +0 -0
  1345. /package/dist/{sv-SE-i9koytKp.js → sv-SE-IBYnJfbW.js} +0 -0
  1346. /package/dist/{taskStatus-DPUG3NS3.js → taskStatus-BtekPA8E.js} +0 -0
  1347. /package/dist/{taskTypes-CDFRB7A4.js → taskTypes-NawDTp5n.js} +0 -0
  1348. /package/dist/{tax-reporting-graph-DNooZCbb.js → tax-reporting-graph-B-x6VG09.js} +0 -0
  1349. /package/dist/{tink-logo-CqXir9XT.js → tink-logo-vN0QKOLM.js} +0 -0
  1350. /package/dist/{trackNavigation-LvCP5Vyc.js → trackNavigation-DR70qR8T.js} +0 -0
  1351. /package/dist/{trustMemberGuidance-2rtnGkMG.js → trustMemberGuidance-CgdU2v0j.js} +0 -0
  1352. /package/dist/{trusted-fields-provider-BXHH-pq0.js → trusted-fields-provider-DLz8KKVf.js} +0 -0
  1353. /package/dist/{types-CNZsK2dZ.js → types-Cwq1JAWT.js} +0 -0
  1354. /package/dist/{uppercase-DKruhEuk.js → uppercase-DvjwUM0n.js} +0 -0
  1355. /package/dist/{us-check-account-number-BME1X1ZC.js → us-check-account-number-6Votaq97.js} +0 -0
  1356. /package/dist/{us-check-BW6K3WxJ.js → us-check-pmEdQwDU.js} +0 -0
  1357. /package/dist/{us-check-routing-number-UatGnO16.js → us-check-routing-number-B87ag0C1.js} +0 -0
  1358. /package/dist/{useId-eJSYfA6i.js → useId-BkDhUta2.js} +0 -0
  1359. /package/dist/{useSettingsContext-DzwVt0W0.js → useSettingsContext-Bpf4UqRT.js} +0 -0
  1360. /package/dist/{utils--gwzjjeS.js → utils-DdHbAadK.js} +0 -0
  1361. /package/dist/{utils-Do5CMPEN.js → utils-K8Z-zRnu.js} +0 -0
  1362. /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-XSQs02td.js} +0 -0
  1363. /package/dist/{yapily-logo-upggwl6u.js → yapily-logo-Cp5tK0Uw.js} +0 -0
@@ -1,2775 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee2722a7-cb9e-4b47-94dd-30f8319c8deb", e._sentryDebugIdIdentifier = "sentry-dbid-ee2722a7-cb9e-4b47-94dd-30f8319c8deb");
4
- } catch (e) {}
5
- import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
6
- import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
7
- import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D5tz1jGD.js";
8
- import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js";
9
- import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
10
- import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
11
- import { o as objectsDeepEqual } from "./AnalyticsContext-CbM5V7Nw.js";
12
- import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
13
- import { t as StackLayout } from "./StackLayout-CTLQyVDf.js";
14
- import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-DPUG3NS3.js";
15
- import { t as Header } from "./Header-fY8HlUFH.js";
16
- import { t as Alert } from "./Alert-BYrDkvk9.js";
17
- import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
18
- import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
19
- import { t as useBusinessLines } from "./useBusinessLines-BE_hXjkY.js";
20
- import { t as Card } from "./Card-BylPFvY4.js";
21
- import { t as useAnalyticsContext } from "./useAnalyticsContext-pNSIB8AZ.js";
22
- import { t as useToastContext } from "./useToastContext-BIwgSCxA.js";
23
- import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
24
- import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-D7_UqU5H.js";
25
- import { t as Avatar } from "./Avatar-CuGCWCs9.js";
26
- import { t as Modal } from "./Modal-CMKjvMyV.js";
27
- import { t as Confirm } from "./Confirm-BEZEArAy.js";
28
- import { t as Image } from "./Image-BBLBIviv.js";
29
- import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
30
- import { t as useCreateLegalEntity } from "./useCreateLegalEntity-DWNHPjAr.js";
31
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfJs-A1X.js";
32
- import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-DGW15-id.js";
33
- import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
34
- import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
35
- import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
36
- import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
37
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
38
- import { o as createDocumentRequest, s as documentApiUtils } from "./validate-J6U_ulFs.js";
39
- import { r as formatObject } from "./utils--gwzjjeS.js";
40
- import { t as localizeDateString } from "./localizeDateString-Bni_Kn5k.js";
41
- import { t as Field } from "./Field-Vzlyifk5.js";
42
- import { t as TileGroup } from "./TileGroup-irJw9YNz.js";
43
- import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
44
- import { t as Select } from "./Select-CRVpXZ1k.js";
45
- import { t as Checkbox } from "./Checkbox-BRuXJ18x.js";
46
- import { t as TextArea } from "./TextArea-CIgJgN16.js";
47
- import { t as Dropzone } from "./Dropzone-BbBVtqN9.js";
48
- import { t as InputText } from "./InputText-BK_8YUd_.js";
49
- import { t as InputDate } from "./InputDate--h7l0kcO.js";
50
- import { n as CountryField } from "./CountryField-DhNTIfGL.js";
51
- import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
52
- import { t as InputGroup } from "./InputGroup-B8AaetlI.js";
53
- import { t as isEmpty } from "./isEmpty-Bi8OJ7I4.js";
54
- import { t as Currencies } from "./currency-B8-OEAgj.js";
55
- import { n as validateDateNotInTheFuture } from "./validate-maTmOby_.js";
56
- import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
57
- import { t as formatAmountWithCurrency } from "./formatCurrency-D-m2ri-x.js";
58
- import { lazy } from "preact/compat";
59
- import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
60
- import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
61
- import { signal } from "@preact/signals";
62
- import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
63
- //#region src/api/businessLines/useUpdateSourceOfFunds.ts
64
- var updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
65
- return httpPost({
66
- baseUrl,
67
- path: `legalEntities/${legalEntityId}/businessLines/${businessLineId}/sourceOfFunds`
68
- }, data);
69
- };
70
- var useUpdateSourceOfFunds = (options) => {
71
- const { rootLegalEntityId, baseUrl } = useApiContext();
72
- const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
73
- return useMutation({
74
- mutationFn: ({ businessLineId, ...requestData }) => updateSourceOfFunds(businessLineId, rootLegalEntityId.value, baseUrl.value, requestData),
75
- onSuccess: async () => {
76
- await invalidateRootLegalEntity();
77
- },
78
- ...options
79
- });
80
- };
81
- var sourceOfFundsComponentsKeyMapping = {
82
- "sourceOfFundsType.type": "sourceOfFunds.type",
83
- "additionalData.description": "sourceOfFunds.description",
84
- "additionalData.amount": "sourceOfFunds.amount",
85
- "additionalData.dateOfFundsReceived": "sourceOfFunds.dateOfFundsReceived",
86
- "additionalData.purpose": "sourceOfFunds.purpose",
87
- "additionalData.relationship": "sourceOfFunds.relationship",
88
- "additionalData.originatorLegalEntityId": "sourceOfFunds.originatorLegalEntityId",
89
- "additionalData.financiers": "sourceOfFunds.financiers",
90
- "additionalData.cryptocurrencyExchange": "sourceOfFunds.cryptocurrencyExchange",
91
- "additionalData.dateOfSourceEvent": "sourceOfFunds.dateOfSourceEvent",
92
- "additionalData.website": "sourceOfFunds.website",
93
- "additionalData.legalName": "sourceOfFunds.legalName",
94
- "additionalData.firstName": "sourceOfFunds.firstName",
95
- "additionalData.lastName": "sourceOfFunds.lastName",
96
- "additionalData.country": "sourceOfFunds.country",
97
- "additionalData.originatorType": "sourceOfFunds.originatorType"
98
- };
99
- //#endregion
100
- //#region src/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.ts
101
- var mapSourceOfFundToSourceOfFundsSchema = (businessLine) => formatObject(businessLine, sourceOfFundsComponentsKeyMapping);
102
- //#endregion
103
- //#region src/components/EFP/tasks/SourceOfFundsDropin/sofStore.ts
104
- var sofErrorMessage = signal(void 0);
105
- var setSofErrorMessage = (message) => {
106
- sofErrorMessage.value = message;
107
- };
108
- var clearSofErrorMessage = () => {
109
- sofErrorMessage.value = void 0;
110
- };
111
- //#endregion
112
- //#region src/api/datasets/useSourceOfFundsTypes.ts
113
- var getSourceOfFundsTypes = async (baseUrl) => {
114
- return httpGet({
115
- baseUrl,
116
- path: `datasets/sourceOfFundsTypes`
117
- });
118
- };
119
- var useSourceOfFundsTypes = (options) => {
120
- const { baseUrl } = useApiContext();
121
- return useQuery({
122
- queryKey: ["sourceOfFundsTypes"],
123
- queryFn: () => getSourceOfFundsTypes(baseUrl.value),
124
- ...options
125
- });
126
- };
127
- var SourceOfFunds_module_default = {
128
- "source-of-funds": "adyen-kyc-source-of-funds",
129
- sourceOfFunds: "adyen-kyc-source-of-funds",
130
- "source-of-funds-awe": "adyen-kyc-source-of-funds-awe",
131
- sourceOfFundsAwe: "adyen-kyc-source-of-funds-awe",
132
- "source-of-funds-wrapper-loading": "adyen-kyc-source-of-funds-wrapper-loading",
133
- sourceOfFundsWrapperLoading: "adyen-kyc-source-of-funds-wrapper-loading",
134
- "source-of-funds-wrapper-heading": "adyen-kyc-source-of-funds-wrapper-heading",
135
- sourceOfFundsWrapperHeading: "adyen-kyc-source-of-funds-wrapper-heading",
136
- "source-of-funds-wrapper-description": "adyen-kyc-source-of-funds-wrapper-description",
137
- sourceOfFundsWrapperDescription: "adyen-kyc-source-of-funds-wrapper-description",
138
- "source-of-funds-same-as-checkbox": "adyen-kyc-source-of-funds-same-as-checkbox",
139
- sourceOfFundsSameAsCheckbox: "adyen-kyc-source-of-funds-same-as-checkbox",
140
- "source-of-funds-getting-started": "adyen-kyc-source-of-funds-getting-started",
141
- sourceOfFundsGettingStarted: "adyen-kyc-source-of-funds-getting-started",
142
- "source-of-funds-getting-started-awe": "adyen-kyc-source-of-funds-getting-started-awe",
143
- sourceOfFundsGettingStartedAwe: "adyen-kyc-source-of-funds-getting-started-awe",
144
- "source-of-funds-getting-started-heading": "adyen-kyc-source-of-funds-getting-started-heading",
145
- sourceOfFundsGettingStartedHeading: "adyen-kyc-source-of-funds-getting-started-heading",
146
- "source-of-funds-getting-started-body": "adyen-kyc-source-of-funds-getting-started-body",
147
- sourceOfFundsGettingStartedBody: "adyen-kyc-source-of-funds-getting-started-body",
148
- "source-of-funds-getting-started-error": "adyen-kyc-source-of-funds-getting-started-error",
149
- sourceOfFundsGettingStartedError: "adyen-kyc-source-of-funds-getting-started-error",
150
- "source-of-funds-getting-started-error-actions": "adyen-kyc-source-of-funds-getting-started-error-actions",
151
- sourceOfFundsGettingStartedErrorActions: "adyen-kyc-source-of-funds-getting-started-error-actions",
152
- "source-of-funds-getting-started-cards": "adyen-kyc-source-of-funds-getting-started-cards",
153
- sourceOfFundsGettingStartedCards: "adyen-kyc-source-of-funds-getting-started-cards",
154
- "source-of-funds-getting-started-cards-card": "adyen-kyc-source-of-funds-getting-started-cards-card",
155
- sourceOfFundsGettingStartedCardsCard: "adyen-kyc-source-of-funds-getting-started-cards-card",
156
- "source-of-funds-getting-started-cards-card-header": "adyen-kyc-source-of-funds-getting-started-cards-card-header",
157
- sourceOfFundsGettingStartedCardsCardHeader: "adyen-kyc-source-of-funds-getting-started-cards-card-header",
158
- "source-of-funds-getting-started-cards-card-body": "adyen-kyc-source-of-funds-getting-started-cards-card-body",
159
- sourceOfFundsGettingStartedCardsCardBody: "adyen-kyc-source-of-funds-getting-started-cards-card-body",
160
- "source-of-funds-getting-started-actions": "adyen-kyc-source-of-funds-getting-started-actions",
161
- sourceOfFundsGettingStartedActions: "adyen-kyc-source-of-funds-getting-started-actions",
162
- "source-of-funds-additional-data-form": "adyen-kyc-source-of-funds-additional-data-form",
163
- sourceOfFundsAdditionalDataForm: "adyen-kyc-source-of-funds-additional-data-form",
164
- "source-of-funds-third-party-funding-financier-group": "adyen-kyc-source-of-funds-third-party-funding-financier-group",
165
- sourceOfFundsThirdPartyFundingFinancierGroup: "adyen-kyc-source-of-funds-third-party-funding-financier-group",
166
- "source-of-funds-third-party-funding-name-avatar-group": "adyen-kyc-source-of-funds-third-party-funding-name-avatar-group",
167
- sourceOfFundsThirdPartyFundingNameAvatarGroup: "adyen-kyc-source-of-funds-third-party-funding-name-avatar-group",
168
- "source-of-funds-third-party-funding-name-address-group": "adyen-kyc-source-of-funds-third-party-funding-name-address-group",
169
- sourceOfFundsThirdPartyFundingNameAddressGroup: "adyen-kyc-source-of-funds-third-party-funding-name-address-group",
170
- "source-of-funds-sof-financier-form-error": "adyen-kyc-source-of-funds-sof-financier-form-error",
171
- sourceOfFundsSofFinancierFormError: "adyen-kyc-source-of-funds-sof-financier-form-error",
172
- "source-of-funds-sof-financier-form-name-group": "adyen-kyc-source-of-funds-sof-financier-form-name-group",
173
- sourceOfFundsSofFinancierFormNameGroup: "adyen-kyc-source-of-funds-sof-financier-form-name-group",
174
- "source-of-funds-financier-footer": "adyen-kyc-source-of-funds-financier-footer",
175
- sourceOfFundsFinancierFooter: "adyen-kyc-source-of-funds-financier-footer",
176
- "source-of-funds-grid-container": "adyen-kyc-source-of-funds-grid-container",
177
- sourceOfFundsGridContainer: "adyen-kyc-source-of-funds-grid-container",
178
- "source-of-funds-sub-heading": "adyen-kyc-source-of-funds-sub-heading",
179
- sourceOfFundsSubHeading: "adyen-kyc-source-of-funds-sub-heading",
180
- "source-of-funds-upload-modal-content-field": "adyen-kyc-source-of-funds-upload-modal-content-field",
181
- sourceOfFundsUploadModalContentField: "adyen-kyc-source-of-funds-upload-modal-content-field",
182
- "source-of-funds-upload-modal-content-field-radio-group": "adyen-kyc-source-of-funds-upload-modal-content-field-radio-group",
183
- sourceOfFundsUploadModalContentFieldRadioGroup: "adyen-kyc-source-of-funds-upload-modal-content-field-radio-group",
184
- "source-of-funds-upload-modal-content-requirements-container": "adyen-kyc-source-of-funds-upload-modal-content-requirements-container",
185
- sourceOfFundsUploadModalContentRequirementsContainer: "adyen-kyc-source-of-funds-upload-modal-content-requirements-container",
186
- "source-of-funds-upload-list-heading": "adyen-kyc-source-of-funds-upload-list-heading",
187
- sourceOfFundsUploadListHeading: "adyen-kyc-source-of-funds-upload-list-heading",
188
- "source-of-funds-modal": "adyen-kyc-source-of-funds-modal",
189
- sourceOfFundsModal: "adyen-kyc-source-of-funds-modal"
190
- };
191
- //#endregion
192
- //#region src/components/EFP/tasks/SourceOfFundsDropin/types.ts
193
- var additionalDataSchemaKeys = [
194
- "description",
195
- "dateOfFundsReceived",
196
- "purpose",
197
- "relationship",
198
- "originatorLegalEntityId",
199
- "amount",
200
- "financiers",
201
- "cryptocurrencyExchange",
202
- "dateOfSourceEvent",
203
- "website"
204
- ];
205
- //#endregion
206
- //#region src/components/EFP/tasks/SourceOfFundsDropin/utils.tsx
207
- var allowedCurrencies = Object.entries(Currencies).map(([key]) => ({
208
- name: key,
209
- id: key
210
- }));
211
- var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
212
- var getSchemaForOriginator = (baseSchema, originatorType) => {
213
- if (originatorType === "organization") return [...baseSchema, "legalName"];
214
- if (originatorType === "individual") return [
215
- ...baseSchema,
216
- "firstName",
217
- "lastName"
218
- ];
219
- return baseSchema;
220
- };
221
- var getAdditionalDataSchemaKeys = (sourceOfFundsType, originatorType) => {
222
- switch (sourceOfFundsType) {
223
- case "business": return ["amount", "description"];
224
- case "donations": return getSchemaForOriginator([
225
- "dateOfFundsReceived",
226
- "purpose",
227
- "relationship",
228
- "country",
229
- "originatorType"
230
- ], originatorType);
231
- case "inheritance": return getSchemaForOriginator([
232
- "dateOfFundsReceived",
233
- "amount",
234
- "relationship",
235
- "country",
236
- "originatorType"
237
- ], originatorType);
238
- case "thirdPartyFunding": return ["financiers"];
239
- case "cryptocurrencyIncome": return ["cryptocurrencyExchange"];
240
- case "assetSale": return [
241
- "dateOfSourceEvent",
242
- "description",
243
- "amount"
244
- ];
245
- case "gamblingWinnings": return [
246
- "dateOfSourceEvent",
247
- "website",
248
- "amount"
249
- ];
250
- default: return [];
251
- }
252
- };
253
- var getServiceTranslation = (t, service) => {
254
- switch (service) {
255
- case "banking": return t(($) => $["businessBankAccounts"]);
256
- case "issuing": return t(($) => $["paymentCards"]);
257
- case "paymentProcessing": return t(($) => $["acceptingPayments"]);
258
- default: return t(($) => $["supportingDocuments"]);
259
- }
260
- };
261
- var getServiceTranslationSelectTitle = (t, service) => {
262
- switch (service) {
263
- case "banking": return t(($) => $["forYourBusinessBankAccounts"]);
264
- case "issuing": return t(($) => $["forYourPaymentCards"]);
265
- case "paymentProcessing": return t(($) => $["whenAcceptingPayments"]);
266
- default: return t(($) => $["supportingDocuments"]);
267
- }
268
- };
269
- var getServiceTranslationKey = (service) => {
270
- switch (service) {
271
- case "banking": return "bankingService";
272
- case "issuing": return "issuingService";
273
- case "paymentProcessing": return "paymentService";
274
- default: return "supportingDocuments";
275
- }
276
- };
277
- var getGettingStartedCardDetails = (sourceOfFundsType, t, data) => {
278
- const details = [];
279
- sourceOfFundsType?.forEach((type) => {
280
- switch (type) {
281
- case "amount":
282
- details.push({
283
- term: t(($) => $["amount"]),
284
- details: data?.amount?.currency && data?.amount?.value ? formatAmountWithCurrency(data.amount.value, data.amount.currency) : ""
285
- });
286
- break;
287
- case "description":
288
- details.push({
289
- term: t(($) => $["description"]),
290
- details: data?.description || ""
291
- });
292
- break;
293
- case "dateOfFundsReceived":
294
- details.push({
295
- term: t(($) => $["date"]),
296
- details: localizeDateString(data?.dateOfFundsReceived || "", navigator.language)
297
- });
298
- break;
299
- case "purpose":
300
- details.push({
301
- term: t(($) => $["reason"]),
302
- details: data?.purpose || ""
303
- });
304
- break;
305
- case "relationship":
306
- details.push({
307
- term: t(($) => $["relationship"]),
308
- details: data?.relationship || ""
309
- });
310
- break;
311
- case "originatorLegalEntityId":
312
- details.push({
313
- term: t(($) => $["benefactorDetails"]),
314
- details: [data?.legalName ? `${data?.legalName}` : `${data?.firstName} ${data?.lastName}`, /* @__PURE__ */ jsx(Typography, {
315
- color: "secondary",
316
- children: data?.country || ""
317
- }, "location")]
318
- });
319
- break;
320
- case "financiers":
321
- data?.financiers?.map((financier) => {
322
- return details.push({
323
- term: t(($) => $["investor"]),
324
- details: [
325
- `${financier?.firstName} ${financier?.lastName}`,
326
- /* @__PURE__ */ jsx(Typography, {
327
- color: "secondary",
328
- children: financier?.location || ""
329
- }, "location"),
330
- /* @__PURE__ */ jsx(Typography, {
331
- color: "secondary",
332
- children: financier?.amount?.currency && financier?.amount?.value ? formatAmountWithCurrency(financier.amount.value, financier.amount.currency) || "" : ""
333
- }, "value")
334
- ]
335
- });
336
- });
337
- break;
338
- case "cryptocurrencyExchange":
339
- details.push({
340
- term: t(($) => $["cryptocurrencyExchange"]),
341
- details: data?.cryptocurrencyExchange || ""
342
- });
343
- break;
344
- case "dateOfSourceEvent":
345
- details.push({
346
- term: t(($) => $["dateOfSourceEvent"]),
347
- details: localizeDateString(data?.dateOfSourceEvent || "", navigator.language)
348
- });
349
- break;
350
- case "website":
351
- details.push({
352
- term: t(($) => $["website"]),
353
- details: data?.website || ""
354
- });
355
- break;
356
- default: break;
357
- }
358
- });
359
- return details;
360
- };
361
- var sourceOfFundsForms = {
362
- sourceOfFundsType: {
363
- formId: "sourceOfFundsType",
364
- formName: "selectASourceOfFunding",
365
- fields: ["type"]
366
- },
367
- additionalData: {
368
- formId: "additionalData",
369
- formName: "tellUsMoreAboutThisSource",
370
- fields: [...additionalDataSchemaKeys]
371
- }
372
- };
373
- var getSourceOfFundsRequiredFields = (data) => {
374
- const sourceOfFundsType = data?.sourceOfFundsType?.type;
375
- const originatorType = data?.additionalData?.originatorType;
376
- return {
377
- sourceOfFundsType: ["type"],
378
- additionalData: getAdditionalDataSchemaKeys(sourceOfFundsType, originatorType)
379
- };
380
- };
381
- var typesRequiringAdditionalData = [
382
- "business",
383
- "donations",
384
- "inheritance",
385
- "thirdPartyFunding",
386
- "cryptocurrencyIncome",
387
- "assetSale",
388
- "gamblingWinnings"
389
- ];
390
- var getSourceOfFundsRequiredForms = (data) => {
391
- return Object.fromEntries(Object.entries(sourceOfFundsForms).filter(([form]) => {
392
- if (!data?.type || !typesRequiringAdditionalData.includes(data?.type)) return form !== sourceOfFundsForms.additionalData.formId;
393
- return form;
394
- }));
395
- };
396
- var getInputErrors = ({ formErrors, data, key, value }) => {
397
- const isEmpty = value === "" || value === null || value === void 0;
398
- let errors = { ...formErrors };
399
- if (isEmpty) errors = {
400
- ...formErrors,
401
- [key]: "fieldIsRequired"
402
- };
403
- else errors = {
404
- ...formErrors,
405
- [key]: void 0
406
- };
407
- if (["amount", "currency"].includes(key)) {
408
- if (data?.amount?.value && data?.amount?.currency) errors = {
409
- ...formErrors,
410
- amount: void 0
411
- };
412
- if (!data?.amount?.currency) errors = {
413
- ...formErrors,
414
- amount: "currencyIsRequired"
415
- };
416
- if (!data?.amount?.value) errors = {
417
- ...formErrors,
418
- amount: "amountIsRequired"
419
- };
420
- else if (isNaN(data?.amount.value)) errors = {
421
- ...formErrors,
422
- amount: "pleaseEnterAValidAmount"
423
- };
424
- }
425
- return errors;
426
- };
427
- var getPageHeadings = (type) => {
428
- switch (type) {
429
- case "cryptocurrencyIncome": return {
430
- heading: "cryptocurrencyProceedDetails",
431
- description: "tellUsMoreAboutTheCryptocurrency"
432
- };
433
- case "assetSale": return {
434
- heading: "propertySaleDetails",
435
- description: "tellUsMoreAboutTheProperty"
436
- };
437
- case "gamblingWinnings": return {
438
- heading: "gamblingProceedDetails",
439
- description: "tellUsMoreAboutTheGamblingProceeds"
440
- };
441
- case "business": return {
442
- heading: "businessEarningDetails",
443
- description: "tellUsMoreAboutThePreviousBusinessEarnings"
444
- };
445
- case "thirdPartyFunding": return {
446
- heading: "thirdPartyInvestmentDetails",
447
- description: "tellUsMoreAboutTheInvestors"
448
- };
449
- case "inheritance": return {
450
- heading: "inheritanceDetails",
451
- description: "tellUsMoreAboutTheInheritanceProceeds"
452
- };
453
- case "donations": return {
454
- heading: "giftOrDonationDetails",
455
- description: "tellUsMoreAboutTheGiftOrDonationProceeds"
456
- };
457
- default: return { heading: "tellUsMoreAboutThisSource" };
458
- }
459
- };
460
- var getDocumentRequirements = {
461
- loanAgreement: [
462
- "yourBusinessName",
463
- "lendersNameAndAddress",
464
- "principalAmount",
465
- "loanDate",
466
- "purposeOfLoan"
467
- ],
468
- loanStatement: [
469
- "yourBusinessName",
470
- "lendersNameAndAddress",
471
- "principalAmount",
472
- "loanDate",
473
- "purposeOfLoan"
474
- ],
475
- proofOfWalletOwnership: [
476
- "yourBusinessName",
477
- "nameOfTheCryptocurrencyExchange",
478
- "nameOfTheCoins",
479
- "issueDateWithinTheLast12Months"
480
- ],
481
- transactionStatement: [
482
- "showsYourBusinessName",
483
- "showsTheNameOfTheCryptocurrencyExchange",
484
- "showsTheNameOfTheCoins",
485
- "issueDateWithinTheLast12Months"
486
- ],
487
- taxFiling: [
488
- "showsYourBusinessName",
489
- "showsTheNameOfTheCryptocurrencyExchange",
490
- "showsTheNameOfTheCoins",
491
- "issueDateWithinTheLast12Months"
492
- ],
493
- proofOfWinnings: [
494
- "winningProceedAmount",
495
- "dateOfWinning",
496
- "nameOfCasinoLottery"
497
- ],
498
- winReport: [
499
- "winningProceedAmount",
500
- "dateOfWinning",
501
- "nameOfCasinoLottery"
502
- ],
503
- winLossStatement: [
504
- "winningProceedAmount",
505
- "dateOfWinning",
506
- "nameOfCasinoLottery"
507
- ],
508
- taxDeclaration: ["winningProceedAmount", "issuedWithinTheLast12Months"],
509
- annualStatements: [
510
- "yourBusinessName",
511
- "proofOfAnnualTurnoverAmount",
512
- "issueDateWithinTheLast12Months"
513
- ],
514
- latestTaxFiling: [
515
- "yourBusinessName",
516
- "proofOfAnnualTurnoverAmount",
517
- "issueDateWithinTheLast12Months"
518
- ],
519
- letterFromAccountant: [
520
- "yourBusinessName",
521
- "proofOfAnnualTurnoverAmount",
522
- "signatureAndDateWithinTheLast12Months"
523
- ],
524
- recentInvoices: ["yourBusinessName", "invoicesFromThe3MostRecentMonths"],
525
- bankStatements: [
526
- "yourBusinessName",
527
- "issueDate",
528
- "banksLogoAndName",
529
- "allStatementsFrom3MostRecentMonths"
530
- ],
531
- payslips: [
532
- "employersName",
533
- "issueDate",
534
- "banksLogoAndName",
535
- "allPayslipsFrom3MostRecentMonths"
536
- ],
537
- contractSpecifyingDividends: [
538
- "theBusinessName",
539
- "termLengthAndDividendYield",
540
- "namesOfInvolvedParties"
541
- ],
542
- latestTaxReturn: ["theBusinessName", "reportedDividendAmount"],
543
- investmentCertificate: ["theBusinessName", "termLengthAndDividendYield"],
544
- brokerStatements: [
545
- "theBrokerageName",
546
- "dividendAmount",
547
- "issueDateWithinTheLast3Months",
548
- "namesOfInvolvedParties"
549
- ],
550
- investorContract: [
551
- "yourBusinessName",
552
- "nameAddressSignatureOfAllInvestors",
553
- "investmentAmount",
554
- "fundDepositDate"
555
- ],
556
- investorMemo: [
557
- "yourBusinessName",
558
- "nameAddressSignatureOfAllInvestors",
559
- "investmentAmount",
560
- "fundDepositDate"
561
- ],
562
- notarizedStatement: [
563
- "yourBusinessName",
564
- "nameAddressSignatureOfAllInvestors",
565
- "investmentAmount",
566
- "fundDepositDate"
567
- ],
568
- partnershipAgreement: [
569
- "yourBusinessName",
570
- "nameAddressSignatureOfAllInvestors",
571
- "investmentAmount",
572
- "fundDepositDate"
573
- ],
574
- proofOfOwnership: [
575
- "descriptionOfProperty",
576
- "netProceedAmount",
577
- "fundDepositDate",
578
- "propertyAddress"
579
- ],
580
- letterFromAttorney: [
581
- "descriptionOfProperty",
582
- "netProceedAmount",
583
- "fundDepositDate",
584
- "propertyAddress"
585
- ],
586
- saleContract: [
587
- "descriptionOfProperty",
588
- "netProceedAmount",
589
- "fundDepositDate",
590
- "propertyAddress"
591
- ],
592
- taxDeclarationProperty: [
593
- "descriptionOfProperty",
594
- "netProceedAmount",
595
- "fundDepositDate",
596
- "propertyAddress"
597
- ],
598
- titleDeed: [
599
- "descriptionOfProperty",
600
- "netProceedAmount",
601
- "fundDepositDate",
602
- "propertyAddress"
603
- ],
604
- rentalAgreementOrLease: [
605
- "namesOfLandlordAndTenant",
606
- "propertyAddress",
607
- "rentAmount"
608
- ],
609
- proofOfOwnershipRent: ["yourName", "propertyAddress"],
610
- giftOrDonationAgreement: [
611
- "donorsName",
612
- "fundTransferDate",
613
- "fundDepositAmount"
614
- ],
615
- royaltyAgreement: [
616
- "descriptionOfIntellectualProperty",
617
- "royaltyAmount",
618
- "agreementPeriod"
619
- ],
620
- taxDocuments: ["royaltyAmount", "provideMostRecentYearAvailable"],
621
- certificateOfInheritance: [
622
- "decedentsName",
623
- "inheritanceAmount",
624
- "fundDepositDate",
625
- "estateAttorneysName"
626
- ],
627
- grantOfProbate: [
628
- "decedentsName",
629
- "inheritanceAmount",
630
- "fundDepositDate",
631
- "estateAttorneysName"
632
- ],
633
- letterFromAttorneyOrNotary: [
634
- "decedentsName",
635
- "inheritanceAmount",
636
- "fundDepositDate",
637
- "estateAttorneysName"
638
- ],
639
- signedCopyOfTheWill: [
640
- "decedentsName",
641
- "inheritanceAmount",
642
- "fundDepositDate",
643
- "estateAttorneysName"
644
- ],
645
- pensionSlip: [
646
- "yourFullName",
647
- "previousEmployersName",
648
- "pensionPaymentAmount"
649
- ],
650
- letterFromPreviousEmployer: [
651
- "yourFullName",
652
- "previousEmployersName",
653
- "pensionPaymentAmountOrTotalValue"
654
- ],
655
- pensionStatement: [
656
- "yourFullName",
657
- "previousEmployersName",
658
- "pensionPaymentAmountOrTotalValue"
659
- ],
660
- courtOrder: [
661
- "yourFullName",
662
- "totalSettlementAmount",
663
- "fundDepositDate"
664
- ],
665
- letterFromAttorneyInsurance: [
666
- "yourFullName",
667
- "totalSettlementAmount",
668
- "fundDepositDate"
669
- ],
670
- letterFromInsurer: [
671
- "yourFullName",
672
- "totalSettlementAmount",
673
- "fundDepositDate"
674
- ],
675
- confirmationOfGrantOrSubsidy: [
676
- "benefactorsName",
677
- "subsidyOrGrantAmount",
678
- "timePeriodIfApplicable"
679
- ]
680
- };
681
- var getDocumentLists = (sourceOfFundsType) => {
682
- switch (sourceOfFundsType) {
683
- case "loans": return ["loanAgreement", "loanStatement"];
684
- case "gamblingWinnings": return [
685
- "proofOfWinnings",
686
- "winReport",
687
- "winLossStatement",
688
- "taxDeclaration"
689
- ];
690
- case "cryptocurrencyIncome": return [
691
- "proofOfWalletOwnership",
692
- "transactionStatement",
693
- "taxFiling"
694
- ];
695
- case "business": return [
696
- "annualStatements",
697
- "latestTaxFiling",
698
- "letterFromAccountant",
699
- "recentInvoices"
700
- ];
701
- case "employment": return ["bankStatements", "payslips"];
702
- case "dividendIncome": return [
703
- "contractSpecifyingDividends",
704
- "latestTaxReturn",
705
- "investmentCertificate",
706
- "brokerStatements"
707
- ];
708
- case "thirdPartyFunding": return [
709
- "investorContract",
710
- "investorMemo",
711
- "notarizedStatement",
712
- "partnershipAgreement"
713
- ];
714
- case "assetSale": return [
715
- "proofOfOwnership",
716
- "letterFromAttorney",
717
- "saleContract",
718
- "taxDeclarationProperty",
719
- "titleDeed"
720
- ];
721
- case "rentalIncome": return ["rentalAgreementOrLease", "proofOfOwnership"];
722
- case "donations": return ["giftOrDonationAgreement"];
723
- case "royaltyIncome": return ["royaltyAgreement", "taxDocuments"];
724
- case "inheritance": return [
725
- "certificateOfInheritance",
726
- "grantOfProbate",
727
- "letterFromAttorneyOrNotary",
728
- "signedCopyOfTheWill"
729
- ];
730
- case "pensionIncome": return [
731
- "pensionSlip",
732
- "letterFromPreviousEmployer",
733
- "pensionStatement"
734
- ];
735
- case "insuranceSettlement": return [
736
- "courtOrder",
737
- "letterFromAttorneyInsurance",
738
- "letterFromInsurer"
739
- ];
740
- case "financialAid": return ["confirmationOfGrantOrSubsidy"];
741
- default: return [];
742
- }
743
- };
744
- var parseSOFDocumentDescription = (t, documentDescription) => {
745
- if (!documentDescription || documentDescription.trim() === "" || !documentDescription.startsWith("$")) return;
746
- const [servicePart, typePart] = documentDescription.split("--");
747
- const selectedService = servicePart.split(":")[1];
748
- const documentType = typePart.split(":")[1];
749
- const parsed = {
750
- selectedService: getServiceTranslation(t, selectedService || ""),
751
- documentType: t(($) => $[documentType])
752
- };
753
- return `${parsed.selectedService} (${parsed.documentType})`;
754
- };
755
- var parseOriginatorDetails = (originatorDetails, businessLine) => {
756
- const copiedBusinessLine = { ...businessLine };
757
- if (copiedBusinessLine.sourceOfFunds) {
758
- if (originatorDetails.organization) {
759
- copiedBusinessLine.sourceOfFunds.legalName = originatorDetails.organization.legalName;
760
- copiedBusinessLine.sourceOfFunds.country = originatorDetails.organization?.registeredAddress?.country;
761
- copiedBusinessLine.sourceOfFunds.originatorType = "organization";
762
- }
763
- if (originatorDetails.individual) {
764
- copiedBusinessLine.sourceOfFunds.firstName = originatorDetails.individual.name?.firstName;
765
- copiedBusinessLine.sourceOfFunds.lastName = originatorDetails.individual.name?.lastName;
766
- copiedBusinessLine.sourceOfFunds.country = originatorDetails.individual.residentialAddress?.country;
767
- copiedBusinessLine.sourceOfFunds.originatorType = "individual";
768
- }
769
- }
770
- return copiedBusinessLine;
771
- };
772
- var getSourceOfFundsPayload = (sofType, additionalData) => {
773
- switch (sofType) {
774
- case "business": return {
775
- adyenProcessedFunds: false,
776
- type: "business",
777
- description: additionalData?.description,
778
- amount: {
779
- currency: additionalData?.amount?.currency ?? "USD",
780
- value: additionalData?.amount?.value ?? 0
781
- }
782
- };
783
- case "employment": return {
784
- adyenProcessedFunds: false,
785
- type: "employment"
786
- };
787
- case "donations": return {
788
- adyenProcessedFunds: false,
789
- type: "donations",
790
- dateOfFundsReceived: additionalData?.dateOfFundsReceived,
791
- purpose: additionalData?.purpose,
792
- relationship: additionalData?.relationship,
793
- originatorLegalEntityId: additionalData?.originatorLegalEntityId
794
- };
795
- case "inheritance": return {
796
- adyenProcessedFunds: false,
797
- type: "inheritance",
798
- dateOfFundsReceived: additionalData?.dateOfFundsReceived,
799
- amount: additionalData?.amount,
800
- relationship: additionalData?.relationship,
801
- originatorLegalEntityId: additionalData?.originatorLegalEntityId
802
- };
803
- case "financialAid": return {
804
- adyenProcessedFunds: false,
805
- type: "financialAid"
806
- };
807
- case "rentalIncome": return {
808
- adyenProcessedFunds: false,
809
- type: "rentalIncome"
810
- };
811
- case "dividendIncome": return {
812
- adyenProcessedFunds: false,
813
- type: "dividendIncome"
814
- };
815
- case "royaltyIncome": return {
816
- adyenProcessedFunds: false,
817
- type: "royaltyIncome"
818
- };
819
- case "pensionIncome": return {
820
- adyenProcessedFunds: false,
821
- type: "pensionIncome"
822
- };
823
- case "insuranceSettlement": return {
824
- adyenProcessedFunds: false,
825
- type: "insuranceSettlement"
826
- };
827
- case "thirdPartyFunding": return {
828
- adyenProcessedFunds: false,
829
- type: "thirdPartyFunding",
830
- financiers: additionalData?.financiers
831
- };
832
- case "cryptocurrencyIncome": return {
833
- adyenProcessedFunds: false,
834
- type: "cryptocurrencyIncome",
835
- cryptocurrencyExchange: additionalData?.cryptocurrencyExchange
836
- };
837
- case "assetSale": return {
838
- adyenProcessedFunds: false,
839
- type: "assetSale",
840
- cryptocurrencyExchange: additionalData?.cryptocurrencyExchange,
841
- dateOfSourceEvent: additionalData?.dateOfSourceEvent,
842
- description: additionalData?.description,
843
- amount: additionalData?.amount
844
- };
845
- case "loans": return {
846
- adyenProcessedFunds: false,
847
- type: "loans"
848
- };
849
- case "gamblingWinnings": return {
850
- adyenProcessedFunds: false,
851
- type: "gamblingWinnings",
852
- dateOfSourceEvent: additionalData?.dateOfSourceEvent,
853
- website: additionalData?.website && !additionalData.website.startsWith("http://") && !additionalData.website.startsWith("https://") ? `https://${additionalData.website}` : additionalData?.website,
854
- amount: additionalData?.amount
855
- };
856
- default: return { adyenProcessedFunds: true };
857
- }
858
- };
859
- var parseSofOriginatorPayload = (additionalData) => {
860
- let sofOriginator;
861
- if (additionalData?.originatorType === "individual") sofOriginator = {
862
- type: LegalEntityTypes.INDIVIDUAL,
863
- individual: {
864
- name: {
865
- firstName: additionalData?.firstName ?? "",
866
- lastName: additionalData?.lastName ?? ""
867
- },
868
- residentialAddress: { country: additionalData?.country }
869
- }
870
- };
871
- else sofOriginator = {
872
- type: LegalEntityTypes.ORGANIZATION,
873
- organization: {
874
- legalName: additionalData?.legalName ?? "",
875
- registeredAddress: { country: additionalData?.country }
876
- }
877
- };
878
- return sofOriginator;
879
- };
880
- var formatDateForInput = (isoDateString) => {
881
- if (!isoDateString) return "";
882
- try {
883
- const datePart = isoDateString.split("T")[0];
884
- if (/^\d{4}-\d{2}-\d{2}$/.test(datePart)) return datePart;
885
- return "";
886
- } catch {
887
- return "";
888
- }
889
- };
890
- var getSofCardDetails = (t, sourceOfFunds) => {
891
- if (!sourceOfFunds) return "";
892
- if (sourceOfFunds?.adyenProcessedFunds) return t(($) => $["transactionsOnThisPlatform"]);
893
- if (sourceOfFunds?.type) return sourceOfFunds?.type ? t(($) => $[sofCategoryItemMapper[sourceOfFunds.type]]) : "";
894
- return "";
895
- };
896
- var ALLOWED_SOF_SERVICES = ["issuing", "banking"];
897
- /**
898
- * Returns business lines that require SoF (based on ALLOWED_SOF_SERVICES)
899
- */
900
- var getApplicableBusinessLines = (businessLines) => {
901
- return businessLines.filter((bl) => ALLOWED_SOF_SERVICES.includes(bl.service));
902
- };
903
- /**
904
- * Deep comparison of SoF data.
905
- * Returns true if all business-relevant fields are identical.
906
- */
907
- var areSourceOfFundsEqual = (sof1, sof2) => {
908
- const type1 = sof1.sourceOfFundsType?.type;
909
- if (type1 !== sof2.sourceOfFundsType?.type) return false;
910
- if (type1 === "donations" || type1 === "inheritance") {
911
- const ad1 = sof1.additionalData || {};
912
- const ad2 = sof2.additionalData || {};
913
- if (ad1.originatorType !== ad2.originatorType) return false;
914
- if (ad1.originatorType === "individual") return ad1.firstName === ad2.firstName && ad1.lastName === ad2.lastName && ad1.country === ad2.country && ad1.relationship === ad2.relationship && ad1.purpose === ad2.purpose && ad1.dateOfFundsReceived === ad2.dateOfFundsReceived;
915
- else if (ad1.originatorType === "organization") return ad1.legalName === ad2.legalName && ad1.country === ad2.country && ad1.relationship === ad2.relationship && ad1.purpose === ad2.purpose && ad1.dateOfFundsReceived === ad2.dateOfFundsReceived;
916
- return false;
917
- }
918
- const ad1 = sof1.additionalData || {};
919
- const ad2 = sof2.additionalData || {};
920
- const keys1 = Object.keys(ad1);
921
- const keys2 = Object.keys(ad2);
922
- if (keys1.length !== keys2.length) return false;
923
- return keys1.every((key) => {
924
- const val1 = ad1[key];
925
- const val2 = ad2[key];
926
- return JSON.stringify(val1) === JSON.stringify(val2);
927
- });
928
- };
929
- var SOF_INVALID_INPUT_ERROR_CODES = ["1_93", "1_94"];
930
- var getRelevantErrors = (problems, targetCodes) => {
931
- if (!problems) return false;
932
- return problems.flatMap((problem) => (problem.verificationErrors || []).filter((error) => targetCodes.includes(error.code) || (error.subErrors || []).some((sub) => targetCodes.includes(sub.code))));
933
- };
934
- var getUniqueRemediationActions = (error) => {
935
- return [...error.remediatingActions || [], ...error.subErrors?.flatMap((sub) => sub.remediatingActions || []) || []].filter((action, i, arr) => arr.findIndex((a) => a.code === action.code) === i);
936
- };
937
- var sofCategoryItemMapper = {
938
- business: "otherBusinessEarnings",
939
- employment: "employmentWages",
940
- cryptocurrencyIncome: "cryptocurrency",
941
- dividendIncome: "dividends",
942
- loans: "loans",
943
- financialAid: "financialAid",
944
- thirdPartyFunding: "thirdPartyFunding",
945
- rentalIncome: "rentalIncome",
946
- royaltyIncome: "royaltyIncome",
947
- gamblingWinnings: "gambling",
948
- inheritance: "inheritance",
949
- pensionIncome: "pensionIncome",
950
- insuranceSettlement: "insuranceSettlement",
951
- assetSale: "propertySale",
952
- donations: "giftOrDonation"
953
- };
954
- /**
955
- * Prepares additional data for originator creation/update.
956
- * When useSameAs is true, appends the originatorLegalEntityId from the source
957
- * so that createOrUpdateOriginator can update the existing LE instead of creating a new one.
958
- */
959
- var getAdditionalDataForOriginator = (additionalData, sourceAdditionalData, useSameAs) => {
960
- if (useSameAs) return {
961
- ...additionalData,
962
- originatorLegalEntityId: sourceAdditionalData?.originatorLegalEntityId
963
- };
964
- return additionalData;
965
- };
966
- //#endregion
967
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForAssetSale.tsx
968
- function AdditionalDataForAssetSale(props) {
969
- const [isFocused, setIsFocused] = useState$1(false);
970
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
971
- const { t: commonT } = useTranslation("common");
972
- const handleOnAmountBlur = () => {
973
- setIsFocused(false);
974
- handleAmountChange("amount");
975
- };
976
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
977
- className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
978
- children: [/* @__PURE__ */ jsx(Field, {
979
- el: "fieldset",
980
- name: "amount",
981
- label: formUtils.getLabel("amount", "saleAmount"),
982
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
983
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
984
- ...childProps,
985
- id: "currencyGroup",
986
- isFocused,
987
- isInvalid: Boolean(!valid.amount && errors.amount),
988
- children: [/* @__PURE__ */ jsx(Select, {
989
- name: "currency",
990
- "aria-label": commonT(($) => $["currency"]),
991
- isMulti: false,
992
- items: allowedCurrencies,
993
- selected: data.amount?.currency,
994
- placeholder: commonT(($) => $["select"]),
995
- onChange: handleAmountChange("currency"),
996
- minimal: true
997
- }), /* @__PURE__ */ jsx(InputText, {
998
- ...childProps,
999
- name: "amount",
1000
- value: data.amount?.value,
1001
- readonly: formUtils.isReadOnly("amount"),
1002
- onInput: handleAmountChange("amount"),
1003
- onBlur: handleOnAmountBlur,
1004
- "aria-required": true,
1005
- "aria-invalid": !valid.amount,
1006
- isValid: valid.amount,
1007
- onFocusHandler: () => setIsFocused(true)
1008
- })]
1009
- })
1010
- }), /* @__PURE__ */ jsx(Field, {
1011
- name: "dateOfSourceEvent",
1012
- label: formUtils.getLabel("dateOfSourceEvent", "dateOfSale"),
1013
- errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
1014
- isValid: valid.dateOfSourceEvent,
1015
- children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
1016
- ...childProps,
1017
- name: "dateOfSourceEvent",
1018
- value: formatDateForInput(data.dateOfSourceEvent),
1019
- onInput: handleChangeFor("dateOfSourceEvent", "input"),
1020
- onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
1021
- "aria-required": true,
1022
- "aria-invalid": !valid.dateOfSourceEvent,
1023
- max: TODAY_DATE
1024
- })
1025
- })]
1026
- }), /* @__PURE__ */ jsx(Field, {
1027
- name: "description",
1028
- label: formUtils.getLabel("description", "propertyDescription"),
1029
- errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
1030
- isValid: valid.description,
1031
- children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
1032
- ...childProps,
1033
- name: "description",
1034
- value: data.description,
1035
- maxLength: 200,
1036
- onInput: handleChangeFor("description"),
1037
- onBlur: handleChangeFor("description"),
1038
- "aria-invalid": !valid.description
1039
- })
1040
- })] });
1041
- }
1042
- //#endregion
1043
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForBusiness.tsx
1044
- function AdditionalDataForBusiness(props) {
1045
- const [isFocused, setIsFocused] = useState$1(false);
1046
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
1047
- const { t: commonT } = useTranslation("common");
1048
- const handleOnAmountBlur = () => {
1049
- setIsFocused(false);
1050
- handleAmountChange("amount");
1051
- };
1052
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
1053
- el: "fieldset",
1054
- name: "amount",
1055
- label: formUtils.getLabel("amount", "annualTurnover"),
1056
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
1057
- helper: commonT(($) => $["useFiguresFromTheMostRecentYearAvailable"]),
1058
- helperPosition: "below",
1059
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
1060
- ...childProps,
1061
- id: "currencyGroup",
1062
- isFocused,
1063
- isInvalid: Boolean(!valid.amount && errors.amount),
1064
- children: [/* @__PURE__ */ jsx(Select, {
1065
- name: "currency",
1066
- "aria-label": commonT(($) => $["currency"]),
1067
- isMulti: false,
1068
- items: allowedCurrencies,
1069
- selected: data.amount?.currency,
1070
- placeholder: commonT(($) => $["select"]),
1071
- onChange: handleAmountChange("currency"),
1072
- minimal: true
1073
- }), /* @__PURE__ */ jsx(InputText, {
1074
- ...childProps,
1075
- name: "amount",
1076
- value: data.amount?.value,
1077
- readonly: formUtils.isReadOnly("amount"),
1078
- onInput: handleAmountChange("amount"),
1079
- onBlur: handleOnAmountBlur,
1080
- "aria-required": true,
1081
- "aria-invalid": !valid.amount,
1082
- isValid: valid.amount,
1083
- onFocusHandler: () => setIsFocused(true)
1084
- })]
1085
- })
1086
- }), /* @__PURE__ */ jsx(Field, {
1087
- name: "description",
1088
- label: formUtils.getLabel("description", "businessDescription"),
1089
- errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
1090
- isValid: valid.description,
1091
- children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
1092
- ...childProps,
1093
- name: "description",
1094
- value: data.description,
1095
- maxLength: 200,
1096
- onInput: handleChangeFor("description"),
1097
- onBlur: handleChangeFor("description"),
1098
- "aria-invalid": !valid.description
1099
- })
1100
- })] });
1101
- }
1102
- //#endregion
1103
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForCryptocurrency.tsx
1104
- function AdditionalDataForCryptocurrency(props) {
1105
- const { t: sofT } = useTranslation("sof");
1106
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
1107
- return /* @__PURE__ */ jsx(Field, {
1108
- name: "cryptocurrencyExchange",
1109
- label: formUtils.getLabel("cryptocurrencyExchange", "cryptocurrencyExchange"),
1110
- errorMessage: formUtils.getErrorMessage("cryptocurrencyExchange", errors, fieldProblems),
1111
- isValid: valid.cryptocurrencyExchange,
1112
- helper: sofT(($) => $["nameOfTheExchangeWhereTheCryptocurrencyWasHeldPriorToSale"]),
1113
- helperPosition: "below",
1114
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1115
- ...childProps,
1116
- name: "cryptocurrencyExchange",
1117
- value: data.cryptocurrencyExchange,
1118
- readonly: formUtils.isReadOnly("cryptocurrencyExchange"),
1119
- onInput: handleChangeFor("cryptocurrencyExchange", "input"),
1120
- onBlur: handleChangeFor("cryptocurrencyExchange", "blur"),
1121
- "aria-required": true,
1122
- "aria-invalid": !valid.cryptocurrencyExchange,
1123
- isValid: valid.cryptocurrencyExchange
1124
- })
1125
- });
1126
- }
1127
- //#endregion
1128
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataOriginatorLegalEntity.tsx
1129
- var radioItems = [{
1130
- id: "individual",
1131
- name: "individual"
1132
- }, {
1133
- id: "organization",
1134
- name: "organization"
1135
- }];
1136
- function AdditionalDataOriginatorLegalEntity(props) {
1137
- const { t: sofT } = useTranslation("sof");
1138
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, sourceOfFundsType } = props;
1139
- const isDonations = sourceOfFundsType === "donations";
1140
- const countryTranslationKey = isDonations && data?.originatorType === "individual" ? "donorsCountryOfResidence" : data?.originatorType === "organization" ? "organizationsCountryOfOperation" : "decedentsCountryOfDeath";
1141
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1142
- /* @__PURE__ */ jsx(Field, {
1143
- el: "fieldset",
1144
- name: "originatorType",
1145
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
1146
- label: sofT(($) => $[isDonations ? "whereDidThisGiftOrDonationComeFrom" : "whereDidThisInheritanceComeFrom"]),
1147
- errorMessage: formUtils.getErrorMessage("originatorType", errors, fieldProblems),
1148
- isValid: valid.originatorType,
1149
- children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1150
- ...childProps,
1151
- name: "originatorType",
1152
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentFieldRadioGroup,
1153
- items: radioItems,
1154
- value: data.originatorType,
1155
- disabled: false,
1156
- onChange: handleChangeFor("originatorType", "input"),
1157
- "aria-required": true
1158
- })
1159
- }),
1160
- data?.originatorType === "organization" && /* @__PURE__ */ jsx(Field, {
1161
- name: "legalName",
1162
- label: formUtils.getLabel("legalName", "organizationsLegalName"),
1163
- errorMessage: formUtils.getErrorMessage("legalName", errors, fieldProblems),
1164
- isValid: valid.legalName,
1165
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1166
- ...childProps,
1167
- name: "legalName",
1168
- value: data.legalName,
1169
- readonly: formUtils.isReadOnly("legalName"),
1170
- onInput: handleChangeFor("legalName", "input"),
1171
- onBlur: handleChangeFor("legalName", "blur"),
1172
- "aria-required": true,
1173
- "aria-invalid": !valid.legalName,
1174
- isValid: valid.legalName
1175
- })
1176
- }),
1177
- data?.originatorType === "individual" && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
1178
- name: "firstName",
1179
- label: formUtils.getLabel("firstName", isDonations ? "donorsLegalFirstName" : "decedentsLegalFirstName"),
1180
- errorMessage: formUtils.getErrorMessage("firstName", errors, fieldProblems),
1181
- isValid: valid.firstName,
1182
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1183
- ...childProps,
1184
- name: "firstName",
1185
- value: data.firstName,
1186
- readonly: formUtils.isReadOnly("firstName"),
1187
- onInput: handleChangeFor("firstName", "input"),
1188
- onBlur: handleChangeFor("firstName", "blur"),
1189
- "aria-required": true,
1190
- "aria-invalid": !valid.firstName,
1191
- isValid: valid.firstName
1192
- })
1193
- }), /* @__PURE__ */ jsx(Field, {
1194
- name: "lastName",
1195
- label: formUtils.getLabel("lastName", isDonations ? "donorsLegalLastName" : "decedentsLegalLastName"),
1196
- errorMessage: formUtils.getErrorMessage("lastName", errors, fieldProblems),
1197
- isValid: valid.lastName,
1198
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1199
- ...childProps,
1200
- name: "lastName",
1201
- value: data.lastName,
1202
- readonly: formUtils.isReadOnly("lastName"),
1203
- onInput: handleChangeFor("lastName", "input"),
1204
- onBlur: handleChangeFor("lastName", "blur"),
1205
- "aria-required": true,
1206
- "aria-invalid": !valid.lastName,
1207
- isValid: valid.lastName
1208
- })
1209
- })] }),
1210
- data?.originatorType && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
1211
- name: "relationship",
1212
- label: formUtils.getLabel("relationship", isDonations && data?.originatorType === "individual" ? "yourRelationshipToDonor" : data?.originatorType === "organization" ? "yourRelationshipToOrganization" : "yourRelationshipToDecedent"),
1213
- errorMessage: formUtils.getErrorMessage("relationship", errors, fieldProblems),
1214
- isValid: valid.relationship,
1215
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1216
- ...childProps,
1217
- name: "relationship",
1218
- value: data.relationship,
1219
- readonly: formUtils.isReadOnly("relationship"),
1220
- onInput: handleChangeFor("relationship", "input"),
1221
- onBlur: handleChangeFor("relationship", "blur"),
1222
- "aria-required": true,
1223
- "aria-invalid": !valid.relationship,
1224
- isValid: valid.relationship
1225
- })
1226
- }), /* @__PURE__ */ jsx(CountryField, {
1227
- data: { country: data.country },
1228
- valid: { country: valid.country },
1229
- errors: { country: formUtils.getErrorMessage("country", errors, fieldProblems) },
1230
- labels: { country: sofT(($) => $[countryTranslationKey]) },
1231
- readonly: formUtils.isReadOnly("country"),
1232
- handleChangeFor
1233
- })] })
1234
- ] });
1235
- }
1236
- //#endregion
1237
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForDonation.tsx
1238
- function AdditionalDataForDonation(props) {
1239
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
1240
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(AdditionalDataOriginatorLegalEntity, {
1241
- formUtils,
1242
- handleChangeFor,
1243
- data,
1244
- errors,
1245
- valid,
1246
- fieldProblems,
1247
- sourceOfFundsType: "donations"
1248
- }), /* @__PURE__ */ jsxs("div", {
1249
- className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
1250
- children: [/* @__PURE__ */ jsx(Field, {
1251
- name: "purpose",
1252
- label: formUtils.getLabel("purpose", "reason"),
1253
- errorMessage: formUtils.getErrorMessage("purpose", errors, fieldProblems),
1254
- isValid: valid.purpose,
1255
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1256
- ...childProps,
1257
- name: "purpose",
1258
- value: data.purpose,
1259
- readonly: formUtils.isReadOnly("purpose"),
1260
- onInput: handleChangeFor("purpose", "input"),
1261
- onBlur: handleChangeFor("purpose", "blur"),
1262
- "aria-required": true,
1263
- "aria-invalid": !valid.purpose,
1264
- isValid: valid.purpose
1265
- })
1266
- }), /* @__PURE__ */ jsx(Field, {
1267
- name: "dateOfFundsReceived",
1268
- label: formUtils.getLabel("dateOfFundsReceived", "date"),
1269
- errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
1270
- isValid: valid.dateOfFundsReceived,
1271
- children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
1272
- ...childProps,
1273
- name: "dateOfFundsReceived",
1274
- value: formatDateForInput(data.dateOfFundsReceived),
1275
- onInput: handleChangeFor("dateOfFundsReceived", "input"),
1276
- onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
1277
- "aria-required": true,
1278
- "aria-invalid": !valid.dateOfFundsReceived,
1279
- max: TODAY_DATE
1280
- })
1281
- })]
1282
- })] });
1283
- }
1284
- //#endregion
1285
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForGambling.tsx
1286
- function AdditionalDataForGambling(props) {
1287
- const { t: commonT } = useTranslation("common");
1288
- const [focusedInput, setFocusedInput] = useState$1();
1289
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
1290
- const handleOnAmountBlur = () => {
1291
- setFocusedInput(void 0);
1292
- handleAmountChange("amount");
1293
- };
1294
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1295
- /* @__PURE__ */ jsx(Field, {
1296
- el: "fieldset",
1297
- name: "amount",
1298
- label: formUtils.getLabel("amount", "totalAmountWon"),
1299
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
1300
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
1301
- ...childProps,
1302
- id: "currencyGroup",
1303
- isFocused: focusedInput === "amount",
1304
- isInvalid: Boolean(!valid.amount && errors.amount),
1305
- children: [/* @__PURE__ */ jsx(Select, {
1306
- name: "currency",
1307
- "aria-label": commonT(($) => $["currency"]),
1308
- isMulti: false,
1309
- items: allowedCurrencies,
1310
- selected: data.amount?.currency,
1311
- placeholder: commonT(($) => $["select"]),
1312
- onChange: handleAmountChange("currency"),
1313
- minimal: true
1314
- }), /* @__PURE__ */ jsx(InputText, {
1315
- ...childProps,
1316
- name: "amount",
1317
- value: data.amount?.value,
1318
- readonly: formUtils.isReadOnly("amount"),
1319
- onInput: handleAmountChange("amount"),
1320
- onBlur: handleOnAmountBlur,
1321
- "aria-required": true,
1322
- "aria-invalid": !valid.amount,
1323
- isValid: valid.amount,
1324
- onFocusHandler: () => setFocusedInput("amount")
1325
- })]
1326
- })
1327
- }),
1328
- /* @__PURE__ */ jsx(Field, {
1329
- name: "dateOfSourceEvent",
1330
- label: formUtils.getLabel("dateOfSourceEvent", "dateOfWinning"),
1331
- errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
1332
- isValid: valid.dateOfSourceEvent,
1333
- children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
1334
- ...childProps,
1335
- name: "dateOfSourceEvent",
1336
- value: formatDateForInput(data.dateOfSourceEvent),
1337
- onInput: handleChangeFor("dateOfSourceEvent", "input"),
1338
- onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
1339
- "aria-required": true,
1340
- "aria-invalid": !valid.dateOfSourceEvent,
1341
- max: TODAY_DATE
1342
- })
1343
- }),
1344
- /* @__PURE__ */ jsx(Field, {
1345
- name: "website",
1346
- label: formUtils.getLabel("website", "gamblingEstablishmentWebsite"),
1347
- errorMessage: formUtils.getErrorMessage("website", errors, fieldProblems),
1348
- children: (childProps) => /* @__PURE__ */ jsx(InputGroup, {
1349
- ...childProps,
1350
- id: "websiteGroup",
1351
- isFocused: focusedInput === "website",
1352
- isInvalid: Boolean(!valid.website && errors.website),
1353
- children: /* @__PURE__ */ jsx(InputText, {
1354
- ...childProps,
1355
- placeholder: "https://",
1356
- name: "website",
1357
- value: data.website,
1358
- readonly: formUtils.isReadOnly("website"),
1359
- onInput: handleChangeFor("website", "input"),
1360
- onBlur: handleChangeFor("website", "blur"),
1361
- "aria-required": true,
1362
- "aria-invalid": !valid.website,
1363
- isValid: valid.website,
1364
- onFocusHandler: () => setFocusedInput("website")
1365
- })
1366
- })
1367
- })
1368
- ] });
1369
- }
1370
- //#endregion
1371
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForInheritance.tsx
1372
- function AdditionalDataForInheritance(props) {
1373
- const [isFocused, setIsFocused] = useState$1(false);
1374
- const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
1375
- const { t: commonT } = useTranslation("common");
1376
- const handleOnAmountBlur = () => {
1377
- setIsFocused(false);
1378
- handleAmountChange("amount");
1379
- };
1380
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(AdditionalDataOriginatorLegalEntity, {
1381
- formUtils,
1382
- handleChangeFor,
1383
- data,
1384
- errors,
1385
- valid,
1386
- fieldProblems,
1387
- sourceOfFundsType: "inheritance"
1388
- }), /* @__PURE__ */ jsxs("div", {
1389
- className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
1390
- children: [/* @__PURE__ */ jsx(Field, {
1391
- el: "fieldset",
1392
- name: "amount",
1393
- label: formUtils.getLabel("amount", "inheritanceAmount"),
1394
- errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
1395
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
1396
- ...childProps,
1397
- id: "currencyGroup",
1398
- isFocused,
1399
- isInvalid: Boolean(!valid.amount && errors.amount),
1400
- children: [/* @__PURE__ */ jsx(Select, {
1401
- name: "currency",
1402
- "aria-label": commonT(($) => $["currency"]),
1403
- isMulti: false,
1404
- items: allowedCurrencies ?? [],
1405
- selected: data.amount?.currency,
1406
- placeholder: commonT(($) => $["select"]),
1407
- onChange: handleAmountChange("currency"),
1408
- minimal: true
1409
- }), /* @__PURE__ */ jsx(InputText, {
1410
- ...childProps,
1411
- name: "amount",
1412
- value: data.amount?.value,
1413
- readonly: formUtils.isReadOnly("amount"),
1414
- onInput: handleAmountChange("amount"),
1415
- onBlur: handleOnAmountBlur,
1416
- "aria-required": true,
1417
- "aria-invalid": !valid.amount,
1418
- isValid: valid.amount,
1419
- onFocusHandler: () => setIsFocused(true)
1420
- })]
1421
- })
1422
- }), /* @__PURE__ */ jsx(Field, {
1423
- name: "dateOfFundsReceived",
1424
- label: formUtils.getLabel("dateOfFundsReceived", "inheritanceReceivedOn"),
1425
- errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
1426
- isValid: valid.dateOfFundsReceived,
1427
- children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
1428
- ...childProps,
1429
- name: "dateOfFundsReceived",
1430
- value: formatDateForInput(data.dateOfFundsReceived),
1431
- onInput: handleChangeFor("dateOfFundsReceived", "input"),
1432
- onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
1433
- "aria-required": true,
1434
- "aria-invalid": !valid.dateOfFundsReceived,
1435
- max: TODAY_DATE
1436
- })
1437
- })]
1438
- })] });
1439
- }
1440
- //#endregion
1441
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.tsx
1442
- var SOFFinancierModal = (props) => {
1443
- const { t: sofT } = useTranslation("sof");
1444
- const { t: commonT } = useTranslation("common");
1445
- const { financier, handleModalClose, indexNumber, handleFinancierUpdate } = props;
1446
- const [formData, setFormData] = useState$1(financier);
1447
- const [formErrors, setFormErrors] = useState$1({});
1448
- const [confirmOpen, setConfirmOpen] = useState$1(false);
1449
- const [isFocused, setIsFocused] = useState$1(false);
1450
- const [errorMessage, setErrorMessage] = useState$1("");
1451
- const handleInputUpdate = (key, e) => {
1452
- const inputEl = e.target;
1453
- setErrorMessage("");
1454
- const value = inputEl?.value;
1455
- let inputData = { [key]: value };
1456
- if (["amount", "currency"].includes(key)) inputData = { amount: {
1457
- currency: key === "currency" ? value : formData?.amount?.currency,
1458
- value: key === "currency" ? formData?.amount?.value : value
1459
- } };
1460
- const data = {
1461
- ...formData,
1462
- ...inputData
1463
- };
1464
- setFormData(data);
1465
- setFormErrors(getInputErrors({
1466
- formErrors,
1467
- data,
1468
- key,
1469
- value
1470
- }));
1471
- };
1472
- const handleOnAmountBlur = () => {
1473
- setIsFocused(false);
1474
- setFormErrors(getInputErrors({
1475
- formErrors,
1476
- data: formData,
1477
- key: "amount",
1478
- value: formData?.amount?.value
1479
- }));
1480
- };
1481
- const allFieldsFilled = (data) => {
1482
- return data?.firstName && data?.lastName && data?.location && data?.amount?.currency && !Number.isNaN(Number(data?.amount?.value));
1483
- };
1484
- const handleFinancierSave = () => {
1485
- if (formData && allFieldsFilled(formData)) {
1486
- handleFinancierUpdate({
1487
- formData,
1488
- indexNumber
1489
- });
1490
- handleModalClose();
1491
- } else {
1492
- setFormErrors([
1493
- "firstName",
1494
- "lastName",
1495
- "location",
1496
- "amount"
1497
- ].reduce((acc, key) => {
1498
- const value = key === "amount" ? formData?.amount?.value : formData?.[key];
1499
- return {
1500
- ...acc,
1501
- ...getInputErrors({
1502
- formErrors: void 0,
1503
- data: formData,
1504
- key,
1505
- value
1506
- })
1507
- };
1508
- }, {}));
1509
- setErrorMessage(sofT(($) => $["pleaseFillInAllFields"]));
1510
- }
1511
- };
1512
- const handleFinancierDelete = async () => {
1513
- handleFinancierUpdate({ indexNumber });
1514
- handleModalClose();
1515
- };
1516
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Modal, {
1517
- onClose: handleModalClose,
1518
- ariaLabel: sofT(($) => $["investorDetails"]),
1519
- inset: true,
1520
- children: /* @__PURE__ */ jsxs("div", {
1521
- className: SourceOfFunds_module_default.sourceOfFundsModal,
1522
- children: [
1523
- /* @__PURE__ */ jsx(Typography, {
1524
- variant: "title-l",
1525
- el: "h3",
1526
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedHelpHeader,
1527
- children: sofT(($) => $["investorDetails"])
1528
- }),
1529
- /* @__PURE__ */ jsxs("div", {
1530
- className: SourceOfFunds_module_default.sourceOfFundsSofFinancierForm,
1531
- children: [
1532
- errorMessage && /* @__PURE__ */ jsx(Alert, {
1533
- title: sofT(($) => $["errorSubmittingData"]),
1534
- variant: "error",
1535
- className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormError,
1536
- children: errorMessage
1537
- }),
1538
- /* @__PURE__ */ jsxs("div", {
1539
- className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormNameGroup,
1540
- children: [/* @__PURE__ */ jsx(Field, {
1541
- name: "firstName",
1542
- label: commonT(($) => $["firstName"]),
1543
- errorMessage: formErrors.firstName,
1544
- isValid: !formErrors.firstName,
1545
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1546
- ...childProps,
1547
- name: "firstName",
1548
- value: formData?.firstName,
1549
- onInput: (e) => handleInputUpdate("firstName", e),
1550
- onBlur: (e) => handleInputUpdate("firstName", e),
1551
- "aria-required": true,
1552
- "aria-invalid": Boolean(formErrors.firstName),
1553
- isValid: !formErrors.firstName
1554
- })
1555
- }), /* @__PURE__ */ jsx(Field, {
1556
- name: "lastName",
1557
- label: commonT(($) => $["lastName"]),
1558
- errorMessage: formErrors.lastName,
1559
- isValid: !formErrors.lastName,
1560
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1561
- ...childProps,
1562
- name: "lastName",
1563
- value: formData?.lastName,
1564
- onInput: (e) => handleInputUpdate("lastName", e),
1565
- onBlur: (e) => handleInputUpdate("lastName", e),
1566
- "aria-required": true,
1567
- "aria-invalid": Boolean(formErrors.lastName),
1568
- isValid: !formErrors.lastName
1569
- })
1570
- })]
1571
- }),
1572
- /* @__PURE__ */ jsx(Field, {
1573
- name: "location",
1574
- label: sofT(($) => $["investorLocation"]),
1575
- errorMessage: formErrors.location,
1576
- isValid: !formErrors.location,
1577
- helperPosition: "below",
1578
- showErrorIconBottom: true,
1579
- helper: sofT(($) => $["theCityAndCountryRegion"]),
1580
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1581
- ...childProps,
1582
- name: "location",
1583
- value: formData?.location,
1584
- onInput: (e) => handleInputUpdate("location", e),
1585
- onBlur: (e) => handleInputUpdate("location", e),
1586
- "aria-required": true,
1587
- "aria-invalid": Boolean(formErrors.location),
1588
- isValid: !formErrors.location
1589
- })
1590
- }),
1591
- /* @__PURE__ */ jsx(Field, {
1592
- el: "fieldset",
1593
- name: "amount",
1594
- label: sofT(($) => $["investmentAmount"]),
1595
- errorMessage: formErrors.amount,
1596
- isValid: !formErrors.amount,
1597
- children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
1598
- ...childProps,
1599
- id: "currencyGroup",
1600
- isFocused,
1601
- children: [/* @__PURE__ */ jsx(Select, {
1602
- minimal: true,
1603
- name: "currency",
1604
- "aria-label": commonT(($) => $["currency"]),
1605
- isMulti: false,
1606
- items: allowedCurrencies,
1607
- selected: formData?.amount?.currency,
1608
- placeholder: commonT(($) => $["select"]),
1609
- onChange: (e) => handleInputUpdate("currency", e)
1610
- }), /* @__PURE__ */ jsx(InputText, {
1611
- ...childProps,
1612
- name: "amount",
1613
- value: formData?.amount?.value,
1614
- onInput: (e) => handleInputUpdate("amount", e),
1615
- onBlur: handleOnAmountBlur,
1616
- "aria-required": true,
1617
- onFocusHandler: () => setIsFocused(true)
1618
- })]
1619
- })
1620
- })
1621
- ]
1622
- }),
1623
- /* @__PURE__ */ jsxs("div", {
1624
- className: SourceOfFunds_module_default.sourceOfFundsFinancierFooter,
1625
- children: [/* @__PURE__ */ jsx(Button, {
1626
- onClick: handleFinancierSave,
1627
- children: commonT(($) => $["save"])
1628
- }), Number.isFinite(indexNumber) && /* @__PURE__ */ jsx(Button, {
1629
- variant: "tertiary",
1630
- onClick: () => setConfirmOpen(true),
1631
- children: sofT(($) => $["deleteInvestorDetails"])
1632
- })]
1633
- })
1634
- ]
1635
- })
1636
- }), confirmOpen && /* @__PURE__ */ jsx(Confirm, {
1637
- title: sofT(($) => $["areYouSureYouWantToDeleteThisInvestorDetails"]),
1638
- confirmText: commonT(($) => $["delete"]),
1639
- onConfirm: handleFinancierDelete,
1640
- onCancel: () => setConfirmOpen(false),
1641
- critical: true
1642
- })] });
1643
- };
1644
- //#endregion
1645
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForThirdParty.tsx
1646
- function AdditionalDataForThirdParty(props) {
1647
- const [showFinancierModal, setShowFinancierModal] = useState$1(false);
1648
- const [activeFinancier, setActiveFinancier] = useState$1();
1649
- const [activeIndex, setActiveIndex] = useState$1();
1650
- const { data, fieldProblems, errors, handleChangeFor, formUtils, valid } = props;
1651
- const { t: commonT } = useTranslation("common");
1652
- const { t: sofT } = useTranslation("sof");
1653
- const handleToggleFinancierModal = () => {
1654
- setActiveFinancier(void 0);
1655
- setActiveIndex(void 0);
1656
- setShowFinancierModal((prev) => !prev);
1657
- };
1658
- const handleShowUpdateFinancierModal = (index) => {
1659
- if (!data.financiers) return;
1660
- const financier = data.financiers[index];
1661
- setActiveFinancier(financier);
1662
- setActiveIndex(index);
1663
- setShowFinancierModal(true);
1664
- };
1665
- const handleFinancierUpdate = ({ formData, indexNumber }) => {
1666
- const existingFinanciers = data.financiers || [];
1667
- let newFinanciers = [];
1668
- if (!formData) {
1669
- if (indexNumber !== void 0) newFinanciers = existingFinanciers.filter((_, index) => index !== indexNumber);
1670
- } else {
1671
- newFinanciers = [...existingFinanciers, formData];
1672
- if (Number.isFinite(indexNumber)) newFinanciers = existingFinanciers.map((existingFinancier, i) => i === indexNumber ? formData : existingFinancier);
1673
- }
1674
- const financierEvent = { target: {
1675
- name: "financiers",
1676
- value: newFinanciers
1677
- } };
1678
- handleChangeFor("financiers")(financierEvent);
1679
- };
1680
- const errorMessage = formUtils.getErrorMessage("financiers", errors, fieldProblems);
1681
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1682
- errors.financiers && !valid.financiers && /* @__PURE__ */ jsx(Alert, {
1683
- title: typeof errorMessage == "boolean" ? void 0 : translateTranslatable(commonT, errorMessage),
1684
- variant: "error",
1685
- className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormError,
1686
- children: sofT(($) => $["addAtLeastOneInvestor"])
1687
- }),
1688
- data.financiers?.map((financier, index) => /* @__PURE__ */ jsxs("button", {
1689
- type: "button",
1690
- onClick: () => handleShowUpdateFinancierModal(index),
1691
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
1692
- children: [/* @__PURE__ */ jsxs("div", {
1693
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
1694
- children: [/* @__PURE__ */ jsx(Avatar, {
1695
- iconName: "user",
1696
- circle: true
1697
- }), /* @__PURE__ */ jsxs("div", {
1698
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAddressGroup,
1699
- children: [/* @__PURE__ */ jsxs(Typography, {
1700
- el: "div",
1701
- variant: "body-strongest",
1702
- children: [
1703
- financier.firstName,
1704
- " ",
1705
- financier.lastName
1706
- ]
1707
- }), /* @__PURE__ */ jsx(Typography, {
1708
- el: "div",
1709
- variant: "caption",
1710
- children: financier.location
1711
- })]
1712
- })]
1713
- }), /* @__PURE__ */ jsx("div", { children: financier.amount?.currency && financier.amount?.value ? formatAmountWithCurrency(financier.amount.value, financier.amount?.currency) : "" })]
1714
- }, index)),
1715
- /* @__PURE__ */ jsx("button", {
1716
- type: "button",
1717
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
1718
- onClick: handleToggleFinancierModal,
1719
- children: /* @__PURE__ */ jsxs("div", {
1720
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
1721
- children: [/* @__PURE__ */ jsx(Avatar, {
1722
- iconName: "plus",
1723
- variant: "tertiary",
1724
- circle: true
1725
- }), /* @__PURE__ */ jsx(Typography, {
1726
- el: "div",
1727
- variant: "body-strongest",
1728
- children: sofT(($) => $["addInvestor"])
1729
- })]
1730
- })
1731
- }),
1732
- showFinancierModal && /* @__PURE__ */ jsx(SOFFinancierModal, {
1733
- financier: activeFinancier,
1734
- indexNumber: activeIndex,
1735
- handleModalClose: handleToggleFinancierModal,
1736
- handleFinancierUpdate
1737
- })
1738
- ] });
1739
- }
1740
- //#endregion
1741
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsAdditionalData.tsx
1742
- function SourceOfFundsAdditionalData(props) {
1743
- const { t } = useTranslation("common");
1744
- const { form } = useFormContext();
1745
- const { handleChangeFor: multiFormHandleChangeFor, data: { additionalData: data, sourceOfFundsType }, errors: { additionalData: errors }, valid: { additionalData: valid }, fieldProblems: { additionalData: fieldProblems } } = form;
1746
- const handleChangeFor = useMemo$1(() => (key, mode) => multiFormHandleChangeFor(key, "additionalData", mode), [multiFormHandleChangeFor]);
1747
- const handleAmountChange = (key) => (e) => {
1748
- const rawValue = e.target.value;
1749
- const updatedAmount = {
1750
- ...data?.amount,
1751
- ...key === "currency" ? { currency: rawValue } : { value: rawValue === "" ? void 0 : Number(rawValue) }
1752
- };
1753
- handleChangeFor("amount")({ target: {
1754
- name: "amount",
1755
- value: updatedAmount
1756
- } });
1757
- };
1758
- const formUtils = createFormUtils(props, t);
1759
- const additionalDataProps = {
1760
- formUtils,
1761
- handleChangeFor,
1762
- data,
1763
- errors,
1764
- valid,
1765
- fieldProblems,
1766
- handleAmountChange
1767
- };
1768
- const renderSubForms = () => {
1769
- switch (sourceOfFundsType?.type) {
1770
- case "gamblingWinnings": return /* @__PURE__ */ jsx(AdditionalDataForGambling, { ...additionalDataProps });
1771
- case "cryptocurrencyIncome": return /* @__PURE__ */ jsx(AdditionalDataForCryptocurrency, { ...additionalDataProps });
1772
- case "business": return /* @__PURE__ */ jsx(AdditionalDataForBusiness, { ...additionalDataProps });
1773
- case "assetSale": return /* @__PURE__ */ jsx(AdditionalDataForAssetSale, { ...additionalDataProps });
1774
- case "thirdPartyFunding": return /* @__PURE__ */ jsx(AdditionalDataForThirdParty, { ...additionalDataProps });
1775
- case "inheritance": return /* @__PURE__ */ jsx(AdditionalDataForInheritance, { ...additionalDataProps });
1776
- case "donations": return /* @__PURE__ */ jsx(AdditionalDataForDonation, { ...additionalDataProps });
1777
- default: return null;
1778
- }
1779
- };
1780
- return /* @__PURE__ */ jsxs("form", {
1781
- className: SourceOfFunds_module_default.sourceOfFundsAdditionalDataForm,
1782
- children: [/* @__PURE__ */ jsx(ErrorPanel, {
1783
- verificationErrors: props?.formVerificationErrors,
1784
- validationErrors: props?.fieldValidationErrors,
1785
- formUtils,
1786
- id: "ariaErrorField"
1787
- }), renderSubForms()]
1788
- });
1789
- }
1790
- //#endregion
1791
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.tsx
1792
- function SourceOfFundsType(props) {
1793
- const { t } = useTranslation(["common", "sof"]);
1794
- const { data: formData, categories, errors: formErrors, fieldValidationErrors: formFieldProblems, sameAsOption, useSameAs, onUseSameAsChange } = props;
1795
- const { form } = useFormContext();
1796
- const { handleChangeFor } = form;
1797
- const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "sourceOfFundsType", mode);
1798
- const handleUseSameAsChange = (isChecked) => {
1799
- onUseSameAsChange?.(isChecked);
1800
- };
1801
- const formUtils = createFormUtils(props, t);
1802
- const categoryItems = [{
1803
- value: "adyen",
1804
- label: t(($) => $["transactionsOnThisPlatform"], { ns: "sof" }),
1805
- icon: getIconById("adyen")
1806
- }, ...categories?.map((item) => ({
1807
- value: item.id,
1808
- label: t(($) => $[sofCategoryItemMapper[item.name]], { ns: "sof" }),
1809
- icon: getIconById(item.id)
1810
- })) ?? []];
1811
- const errorMessage = formUtils.getErrorMessage("type", formErrors, formFieldProblems);
1812
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [sameAsOption && /* @__PURE__ */ jsx("div", {
1813
- className: SourceOfFunds_module_default.sourceOfFundsSameAsCheckbox,
1814
- children: /* @__PURE__ */ jsx(Field, {
1815
- name: "useSameAs",
1816
- children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
1817
- ...childProps,
1818
- "aria-required": false,
1819
- "aria-invalid": false,
1820
- name: "useSameAs",
1821
- label: t(($) => $["alwaysUseThisFundingSource"], { ns: "sof" }),
1822
- checked: Boolean(useSameAs),
1823
- onChange: handleUseSameAsChange
1824
- })
1825
- })
1826
- }), /* @__PURE__ */ jsx(Field, {
1827
- el: "fieldset",
1828
- name: "type",
1829
- children: () => /* @__PURE__ */ jsx(TileGroup, {
1830
- name: "type",
1831
- tiles: categoryItems,
1832
- errorMessage: typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : void 0,
1833
- selected: formData?.type ? formData.type : [],
1834
- onChange: handleFieldChange("type", "input")
1835
- })
1836
- })] });
1837
- }
1838
- function getIconById(id) {
1839
- switch (id) {
1840
- case "adyen": return "store";
1841
- case "business": return "revenue-accelerate";
1842
- case "assetSale": return "house";
1843
- case "dividendIncome": return "graph-up";
1844
- case "thirdPartyFunding": return "graph";
1845
- case "employment": return "headquarter";
1846
- case "donations": return "gift";
1847
- case "inheritance": return "certificate";
1848
- case "financialAid": return "capital";
1849
- case "rentalIncome": return "house";
1850
- case "royaltyIncome": return "cash-stack";
1851
- case "pensionIncome": return "bank";
1852
- case "insuranceSettlement": return "funds-in";
1853
- case "cryptocurrencyIncome": return "coins";
1854
- case "loans": return "capital";
1855
- case "gamblingWinnings": return "cash-stack";
1856
- default: return "contract";
1857
- }
1858
- }
1859
- //#endregion
1860
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFunds.tsx
1861
- function SourceOfFunds(props) {
1862
- const { activeForm, activeBusinessLine, sourceOfFundsType, sameAsOption, useSameAs, onUseSameAsChange } = props;
1863
- const { form } = useFormContext();
1864
- const { data: formData, errors, valid, fieldProblems: fieldValidationErrors } = form;
1865
- const { data: sourceOfFundsTypesData, isLoading } = useSourceOfFundsTypes();
1866
- const { t: sofT } = useTranslation("sof");
1867
- const pageHeadings = useMemo$1(() => getPageHeadings(sourceOfFundsType ?? "adyen"), [sourceOfFundsType]);
1868
- return isLoading || !activeBusinessLine ? /* @__PURE__ */ jsx("div", {
1869
- className: SourceOfFunds_module_default.sourceOfFundsWrapperLoading,
1870
- children: /* @__PURE__ */ jsx(Loader, {})
1871
- }) : /* @__PURE__ */ jsxs("div", { children: [
1872
- /* @__PURE__ */ jsxs("div", {
1873
- className: SourceOfFunds_module_default.sourceOfFundsWrapperHeading,
1874
- children: [/* @__PURE__ */ jsx(Typography, {
1875
- el: "h1",
1876
- variant: "title-l",
1877
- children: activeForm?.formId === "additionalData" ? sofT(($) => $[pageHeadings.heading]) : sofT(($) => $["selectASourceOfFunding"], { type: getServiceTranslationSelectTitle(sofT, activeBusinessLine?.service || "").toLowerCase() })
1878
- }), /* @__PURE__ */ jsxs(Typography, {
1879
- className: SourceOfFunds_module_default.sourceOfFundsWrapperDescription,
1880
- children: [activeForm?.formId === "additionalData" && pageHeadings.description && sofT(($) => $[pageHeadings.description]), sourceOfFundsTypesData?.length === 0 && sofT(($) => $["noCategoriesAvailable"])]
1881
- })]
1882
- }),
1883
- sofErrorMessage.value && /* @__PURE__ */ jsxs(Typography, {
1884
- variant: "caption",
1885
- color: "critical",
1886
- "aria-live": "polite",
1887
- className: "u-justify-content-center u-display-flex",
1888
- children: [/* @__PURE__ */ jsx(Icon, {
1889
- name: "field-error",
1890
- className: "u-margin-right-2"
1891
- }), /* @__PURE__ */ jsx("span", { children: sofErrorMessage.value })]
1892
- }),
1893
- activeForm?.formId === "sourceOfFundsType" && /* @__PURE__ */ jsx(SourceOfFundsType, {
1894
- categories: sourceOfFundsTypesData,
1895
- data: formData?.sourceOfFundsType,
1896
- errors: errors?.sourceOfFundsType,
1897
- valid: valid?.sourceOfFundsType,
1898
- fieldValidationErrors: fieldValidationErrors?.sourceOfFundsType,
1899
- sameAsOption,
1900
- useSameAs,
1901
- onUseSameAsChange
1902
- }),
1903
- activeForm?.formId === "additionalData" && /* @__PURE__ */ jsx(SourceOfFundsAdditionalData, { fieldValidationErrors: fieldValidationErrors?.additionalData }),
1904
- activeForm?.formId === "companySourceOfFunds" && /* @__PURE__ */ jsx("div", { children: sofT(($) => $["uploadADocument"]) })
1905
- ] });
1906
- }
1907
- //#endregion
1908
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStartedCard.tsx
1909
- function SourceOfFundsGettingStartedCard(props) {
1910
- const { id, title, onClick, isEdit, meta } = props;
1911
- const { t: commonT } = useTranslation("common");
1912
- return /* @__PURE__ */ jsxs(Card, {
1913
- variant: "secondary",
1914
- children: [/* @__PURE__ */ jsxs("div", {
1915
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardHeader,
1916
- children: [/* @__PURE__ */ jsx(Typography, {
1917
- el: "h3",
1918
- variant: "title",
1919
- children: title
1920
- }), isEdit ? /* @__PURE__ */ jsx(IconButton, {
1921
- ariaLabel: "edit",
1922
- icon: "edit",
1923
- onClick,
1924
- variant: "tertiary"
1925
- }) : /* @__PURE__ */ jsx(Button, {
1926
- variant: "primary",
1927
- testId: "source-of-funds-getting-card-secondary-button",
1928
- onClick,
1929
- children: commonT(($) => $["start"])
1930
- })]
1931
- }), isEdit && meta?.length && /* @__PURE__ */ jsx("div", {
1932
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardBody,
1933
- children: /* @__PURE__ */ jsx(StructuredList, {
1934
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardDescription,
1935
- items: meta
1936
- })
1937
- })]
1938
- }, id);
1939
- }
1940
- //#endregion
1941
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.tsx
1942
- var digitalWallet = lazy(() => import("./digital-wallet-CLOVHAow.js"));
1943
- var SourceOfFundsGettingStarted = ({ handleGettingStartedClick, handleCancelClick, handleSourceOfFundsClick, businessLines, handleNavigateToUploadPage, problems, legalEntity, asAwe, isSoFDocumentMissing }) => {
1944
- const { t: sofT } = useTranslation("sof");
1945
- const { t: commonT } = useTranslation("common");
1946
- const hasSourceOfFunds = businessLines?.some((businessLine) => !isEmpty(businessLine.sourceOfFunds));
1947
- const { data: taskStatusResponse } = useTaskStatus(TaskTypes.SOURCE_OF_FUNDS, { refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS });
1948
- const sofDocuments = useMemo$1(() => legalEntity?.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [], [legalEntity]);
1949
- const mapBusinessLines = useCallback$1((lines) => {
1950
- const completedBusinessLines = businessLines.every((line) => line?.sourceOfFunds?.type);
1951
- const cards = lines.map((line) => {
1952
- const SoF = mapSourceOfFundToSourceOfFundsSchema(line);
1953
- return {
1954
- title: getServiceTranslation(sofT, line.service || ""),
1955
- type: line?.sourceOfFunds?.type,
1956
- isEdit: !!line?.sourceOfFunds?.type || !!line?.sourceOfFunds?.adyenProcessedFunds,
1957
- onClick: () => handleSourceOfFundsClick(SoF, line),
1958
- meta: [{
1959
- term: sofT(($) => $["sourceOfFunds"]),
1960
- details: getSofCardDetails(sofT, line?.sourceOfFunds)
1961
- }, ...getGettingStartedCardDetails(getAdditionalDataSchemaKeys(line?.sourceOfFunds?.type || "adyen", line?.sourceOfFunds?.originatorType), sofT, line?.sourceOfFunds)]
1962
- };
1963
- }).sort((a) => a?.type ? 1 : -1);
1964
- const uploadCard = {
1965
- title: getServiceTranslation(sofT),
1966
- type: "",
1967
- isEdit: !!sofDocuments?.length,
1968
- onClick: handleNavigateToUploadPage,
1969
- meta: sofDocuments?.length ? sofDocuments.map((doc) => ({
1970
- term: sofT(($) => $["fileName"]),
1971
- details: [doc?.fileName, /* @__PURE__ */ jsx(Typography, {
1972
- color: "secondary",
1973
- children: parseSOFDocumentDescription(sofT, doc?.description) || ""
1974
- }, "docDescription")]
1975
- })) : []
1976
- };
1977
- if (completedBusinessLines && (isSoFDocumentMissing || sofDocuments?.length)) if (uploadCard.meta?.length) cards.push(uploadCard);
1978
- else cards.unshift(uploadCard);
1979
- return cards.map((item, index) => {
1980
- return /* @__PURE__ */ jsx(SourceOfFundsGettingStartedCard, {
1981
- id: index,
1982
- isEdit: !!item.isEdit,
1983
- title: item.title,
1984
- onClick: item.onClick,
1985
- meta: item.meta
1986
- }, index);
1987
- });
1988
- }, [handleSourceOfFundsClick, sofDocuments]);
1989
- const errorObjects = useMemo$1(() => getRelevantErrors(problems, SOF_INVALID_INPUT_ERROR_CODES), [problems]);
1990
- return /* @__PURE__ */ jsxs("div", {
1991
- className: asAwe ? SourceOfFunds_module_default.sourceOfFundsGettingStartedAwe : SourceOfFunds_module_default.sourceOfFundsGettingStarted,
1992
- "data-testid": "source-of-funds-getting-started",
1993
- children: [!hasSourceOfFunds && /* @__PURE__ */ jsx(LandingLayout, {
1994
- media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: digitalWallet }),
1995
- title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
1996
- description: sofT(($) => $["inTheNextStepWellCollectInformation"]),
1997
- actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
1998
- fullWidth: true,
1999
- testId: "source-of-funds-getting-primary-button",
2000
- onClick: handleGettingStartedClick,
2001
- children: commonT(($) => $["getStarted"])
2002
- }), handleCancelClick && /* @__PURE__ */ jsx(Button, {
2003
- variant: "tertiary",
2004
- fullWidth: true,
2005
- testId: "source-of-funds-getting-cancel-button",
2006
- onClick: handleCancelClick,
2007
- children: commonT(($) => $["backToTaskList"])
2008
- })] })
2009
- }), hasSourceOfFunds && /* @__PURE__ */ jsxs(Fragment$1, { children: [
2010
- /* @__PURE__ */ jsx(Header, {
2011
- title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
2012
- description: sofT(($) => $["addAllSourcesOfFundsBeingUsed"]),
2013
- status: asAwe ? void 0 : taskStatusResponse?.status,
2014
- align: "center"
2015
- }),
2016
- errorObjects && errorObjects.map((errorObj, index) => {
2017
- const uniqueActions = getUniqueRemediationActions(errorObj);
2018
- const errorItems = errorObj.subErrors?.map((subError) => subError.message) || [];
2019
- return /* @__PURE__ */ jsxs(Alert, {
2020
- title: errorObj.message,
2021
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedError,
2022
- variant: "error",
2023
- children: [errorObj?.subErrors?.length && /* @__PURE__ */ jsx("ul", { children: errorItems.map((item, i) => /* @__PURE__ */ jsx("li", { children: item }, i)) }), uniqueActions.length > 0 && /* @__PURE__ */ jsx("div", {
2024
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedErrorActions,
2025
- children: uniqueActions.filter((action) => action.code !== "1_519").map((action, i) => /* @__PURE__ */ jsx(Button, {
2026
- variant: "tertiary",
2027
- testId: `remediate-action-${i}`,
2028
- onClick: handleNavigateToUploadPage,
2029
- children: action.message
2030
- }, `action-${i}`))
2031
- })]
2032
- }, `error-${index}`);
2033
- }),
2034
- /* @__PURE__ */ jsx("div", {
2035
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCards,
2036
- children: /* @__PURE__ */ jsx(StackLayout, { children: mapBusinessLines(businessLines) })
2037
- }),
2038
- handleCancelClick && /* @__PURE__ */ jsx(Button, {
2039
- variant: "secondary",
2040
- testId: "source-of-funds-getting-return-button",
2041
- onClick: handleCancelClick,
2042
- children: commonT(($) => $["backToTaskList"])
2043
- })
2044
- ] })]
2045
- });
2046
- };
2047
- //#endregion
2048
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.tsx
2049
- var SOFUploadModal = (props) => {
2050
- const { showToast } = useToastContext();
2051
- const logger = createLogger();
2052
- const { t: sofT } = useTranslation("sof");
2053
- const { t: commonT } = useTranslation("common");
2054
- const { businessLines, handleModalClose, documentUtils } = props;
2055
- const [selectedService, setSelectedService] = useState$1(businessLines?.length === 1 ? businessLines?.[0]?.service : void 0);
2056
- const [documentType, setDocumentType] = useState$1();
2057
- const onRadioChange = (selectedId) => {
2058
- setSelectedService(selectedId);
2059
- setDocumentType(void 0);
2060
- };
2061
- const onDocumentTypeChange = (e) => {
2062
- setDocumentType(e.target.value);
2063
- };
2064
- const serviceRadioItems = useMemo$1(() => {
2065
- return Array.from(new Map(businessLines.map((businessLine) => [businessLine.service, businessLine])).values()).map((businessLine) => ({
2066
- id: businessLine.service,
2067
- name: sofT(($) => $[getServiceTranslationKey(businessLine?.service || "")])
2068
- }));
2069
- }, [businessLines, sofT]);
2070
- const canUpload = useMemo$1(() => selectedService && documentType, [selectedService, documentType]);
2071
- const selectedBusinessLineId = businessLines?.find((businessLine) => businessLine.service === selectedService)?.id || "";
2072
- const documentLists = useMemo$1(() => {
2073
- const selectedType = businessLines?.find((businessLine) => businessLine.service === selectedService)?.sourceOfFunds?.type;
2074
- if (selectedType) return getDocumentLists(selectedType).map((list) => ({
2075
- id: list,
2076
- name: sofT(($) => $[list])
2077
- }));
2078
- return [];
2079
- }, [
2080
- businessLines,
2081
- sofT,
2082
- selectedService
2083
- ]);
2084
- const documentRequirements = useMemo$1(() => {
2085
- return documentType ? getDocumentRequirements[documentType] : [];
2086
- }, [documentType]);
2087
- const onFileUpload = async (files) => {
2088
- if (!canUpload) {
2089
- showToast({
2090
- label: sofT(($) => $["unableToUploadDocument"]),
2091
- variant: "error"
2092
- });
2093
- return;
2094
- }
2095
- const formattedDocument = await createDocumentRequest({
2096
- entityId: selectedBusinessLineId,
2097
- entityType: "businessLine",
2098
- documentType: "proofOfFundingOrWealthSource",
2099
- page1: files[0],
2100
- description: `$SERVICE_NAME:${selectedService}--TYPE_NAME:${documentType}`
2101
- });
2102
- if (formattedDocument) try {
2103
- await documentUtils.uploadDocuments([formattedDocument], selectedBusinessLineId);
2104
- showToast({
2105
- label: sofT(($) => $["documentUploadedSuccessfully"]),
2106
- variant: "success",
2107
- duration: 1e4
2108
- });
2109
- handleModalClose();
2110
- } catch (e) {
2111
- logger.log(e);
2112
- showToast({
2113
- label: sofT(($) => $["unableToUploadDocument"]),
2114
- variant: "error"
2115
- });
2116
- }
2117
- };
2118
- return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Modal, {
2119
- onClose: handleModalClose,
2120
- ariaLabel: sofT(($) => $["uploadASupportingDocument"]),
2121
- inset: true,
2122
- children: /* @__PURE__ */ jsxs("div", {
2123
- className: SourceOfFunds_module_default.sourceOfFundsModal,
2124
- children: [/* @__PURE__ */ jsx(Typography, {
2125
- variant: "title-l",
2126
- el: "h2",
2127
- children: sofT(($) => $["uploadASupportingDocument"])
2128
- }), /* @__PURE__ */ jsxs("div", {
2129
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContent,
2130
- children: [
2131
- businessLines?.length > 1 ? /* @__PURE__ */ jsx(Field, {
2132
- el: "fieldset",
2133
- name: "service",
2134
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
2135
- label: sofT(($) => $["whatFinancialProductIsThisFor"]),
2136
- children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
2137
- ...childProps,
2138
- name: "service",
2139
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentFieldRadioGroup,
2140
- items: serviceRadioItems,
2141
- value: selectedService,
2142
- disabled: false,
2143
- onChange: onRadioChange,
2144
- "aria-required": true
2145
- })
2146
- }) : null,
2147
- selectedService && /* @__PURE__ */ jsx(Field, {
2148
- name: "documentType",
2149
- label: commonT(($) => $["documentType"]),
2150
- "data-testid": "documentType",
2151
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
2152
- children: (childProps) => /* @__PURE__ */ jsx(Select, {
2153
- ...childProps,
2154
- name: "documentType",
2155
- placeholder: commonT(($) => $["selectOne"]),
2156
- selected: documentType,
2157
- items: documentLists,
2158
- onChange: onDocumentTypeChange
2159
- })
2160
- }),
2161
- documentRequirements?.length ? /* @__PURE__ */ jsxs("div", {
2162
- className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentRequirementsContainer,
2163
- children: [/* @__PURE__ */ jsx(Typography, {
2164
- variant: "body-strongest",
2165
- el: "div",
2166
- children: sofT(($) => $["documentShouldShow"])
2167
- }), /* @__PURE__ */ jsx("ul", { children: documentRequirements?.map((requirement) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, {
2168
- variant: "body-stronger",
2169
- el: "div",
2170
- children: sofT(($) => $[requirement])
2171
- }) }, requirement)) })]
2172
- }) : null,
2173
- canUpload && /* @__PURE__ */ jsx(Dropzone, {
2174
- disabled: !canUpload,
2175
- onChange: onFileUpload,
2176
- showMinimal: true,
2177
- hidePageCount: true,
2178
- maxSize: 4194304,
2179
- enableTracking: true,
2180
- name: "documentField",
2181
- allowedFileTypes: [
2182
- "JPG",
2183
- "JPEG",
2184
- "PNG",
2185
- "PDF"
2186
- ]
2187
- })
2188
- ]
2189
- })]
2190
- })
2191
- }) });
2192
- };
2193
- //#endregion
2194
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.tsx
2195
- var SourceOfFundsUpload = ({ businessLines, documentUtils, legalEntity, handleNavigateToSummary }) => {
2196
- const [showUploadModal, setShowUploadModal] = useState$1(false);
2197
- const [docToDelete, setDocToDelete] = useState$1(void 0);
2198
- const { showToast } = useToastContext();
2199
- const logger = createLogger();
2200
- const queryClient = useQueryClient();
2201
- const { t: sofT } = useTranslation("sof");
2202
- const { t: commonT } = useTranslation("common");
2203
- const handleModalClose = async () => {
2204
- setShowUploadModal(false);
2205
- await queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntity.id] });
2206
- };
2207
- const openUploadModal = () => {
2208
- setShowUploadModal(true);
2209
- };
2210
- const documents = useMemo$1(() => legalEntity.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [], [legalEntity]);
2211
- const sourceOfFundsCategories = businessLines?.map((line) => line.sourceOfFunds?.type)?.filter(Boolean);
2212
- const getTranslatedCategoryName = (categoryKey) => {
2213
- const translationKey = sofCategoryItemMapper[categoryKey];
2214
- if (!categoryKey || !translationKey) return "";
2215
- return sofT(($) => $[translationKey]).toLowerCase();
2216
- };
2217
- let translationKey;
2218
- let translationParams;
2219
- if (sourceOfFundsCategories?.length > 1) {
2220
- translationKey = "weNeedProofOfFundingForMultipleCategories";
2221
- translationParams = {
2222
- category1_name: getTranslatedCategoryName(sourceOfFundsCategories[0]),
2223
- category2_name: getTranslatedCategoryName(sourceOfFundsCategories[1])
2224
- };
2225
- } else if (sourceOfFundsCategories?.length === 1) {
2226
- translationKey = "weNeedProofOfFunding";
2227
- translationParams = { category_name: getTranslatedCategoryName(sourceOfFundsCategories[0]) };
2228
- } else translationKey = "weNeedProofOfFundingForNoCategory";
2229
- const handleFileDelete = async (documentId) => {
2230
- if (documentUtils.deleteDocument) try {
2231
- await documentUtils.deleteDocument(documentId, legalEntity.id);
2232
- await queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntity.id] });
2233
- showToast({
2234
- label: sofT(($) => $["documentDeletedSuccessfully"]),
2235
- variant: "success",
2236
- duration: 1e4
2237
- });
2238
- } catch (e) {
2239
- logger.log(e);
2240
- showToast({
2241
- label: sofT(($) => $["unableToDeleteDocument"]),
2242
- variant: "error"
2243
- });
2244
- }
2245
- };
2246
- return /* @__PURE__ */ jsxs("div", {
2247
- className: SourceOfFunds_module_default.sourceOfFundsUploadList,
2248
- children: [
2249
- /* @__PURE__ */ jsxs("div", {
2250
- className: SourceOfFunds_module_default.sourceOfFundsUploadListHeading,
2251
- children: [/* @__PURE__ */ jsx(Typography, {
2252
- el: "h1",
2253
- variant: "title-l",
2254
- children: sofT(($) => $["supportingDocuments"])
2255
- }), /* @__PURE__ */ jsx(Typography, {
2256
- className: SourceOfFunds_module_default.sourceOfFundsWrapperDescription,
2257
- children: sofT(($) => $[translationKey], translationParams)
2258
- })]
2259
- }),
2260
- documents?.map((document) => /* @__PURE__ */ jsxs("div", {
2261
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
2262
- children: [/* @__PURE__ */ jsxs("div", {
2263
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
2264
- children: [/* @__PURE__ */ jsx(Avatar, {
2265
- iconName: "document",
2266
- circle: true
2267
- }), /* @__PURE__ */ jsxs("div", {
2268
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAddressGroup,
2269
- children: [/* @__PURE__ */ jsx(Typography, {
2270
- el: "div",
2271
- variant: "body-strongest",
2272
- children: document.fileName
2273
- }), /* @__PURE__ */ jsx(Typography, {
2274
- el: "div",
2275
- variant: "caption",
2276
- children: parseSOFDocumentDescription(sofT, document.description)
2277
- })]
2278
- })]
2279
- }), /* @__PURE__ */ jsx(IconButton, {
2280
- ariaLabel: commonT(($) => $["deleteDocument"]),
2281
- variant: "tertiary",
2282
- icon: "cross",
2283
- onClick: () => setDocToDelete(document),
2284
- testId: "source-of-funds-remove-button"
2285
- })]
2286
- }, document.id)),
2287
- /* @__PURE__ */ jsx("button", {
2288
- type: "button",
2289
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
2290
- onClick: openUploadModal,
2291
- "data-testId": "source-of-funds-upload-button",
2292
- children: /* @__PURE__ */ jsxs("div", {
2293
- className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
2294
- children: [/* @__PURE__ */ jsx(Avatar, {
2295
- label: sofT(($) => $["addDocument"]),
2296
- iconName: "plus",
2297
- circle: true
2298
- }), /* @__PURE__ */ jsx(Typography, {
2299
- el: "div",
2300
- variant: "body-strongest",
2301
- children: sofT(($) => $["addDocument"])
2302
- })]
2303
- })
2304
- }),
2305
- handleNavigateToSummary && /* @__PURE__ */ jsx("div", {
2306
- className: SourceOfFunds_module_default.sourceOfFundsGettingStartedActions,
2307
- children: /* @__PURE__ */ jsx(Button, {
2308
- variant: "secondary",
2309
- onClick: handleNavigateToSummary,
2310
- children: documents?.length > 0 ? commonT(($) => $["finish"]) : commonT(($) => $["cancel"])
2311
- })
2312
- }),
2313
- !!docToDelete && /* @__PURE__ */ jsx(Confirm, {
2314
- title: sofT(($) => $["areYouSureYouWantToDeleteThisDocument"], { documentName: docToDelete?.fileName || "" }),
2315
- confirmText: commonT(($) => $["delete"]),
2316
- onConfirm: () => handleFileDelete(docToDelete?.id),
2317
- onCancel: () => setDocToDelete(void 0),
2318
- critical: true
2319
- }),
2320
- showUploadModal && /* @__PURE__ */ jsx(SOFUploadModal, {
2321
- documentUtils,
2322
- handleModalClose,
2323
- businessLines
2324
- })
2325
- ]
2326
- });
2327
- };
2328
- //#endregion
2329
- //#region src/utils/urlUtils.ts
2330
- function canParseUrl(url) {
2331
- if (URL.canParse) return URL.canParse(url);
2332
- try {
2333
- new URL(url);
2334
- return true;
2335
- } catch {
2336
- return false;
2337
- }
2338
- }
2339
- //#endregion
2340
- //#region src/components/EFP/tasks/SourceOfFundsDropin/validate.ts
2341
- var sourceOfFundsTypeValidations = {};
2342
- var HAS_PROTOCOL_REGEX = /^https?:\/\//i;
2343
- var sourceOfFundsAdditionalDataValidations = {
2344
- website: {
2345
- modes: ["blur"],
2346
- validate: (val) => !!val && canParseUrl(val),
2347
- errorMessage: (val) => {
2348
- if (val && !HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
2349
- return "validationPleaseEnterAValidUrl";
2350
- }
2351
- },
2352
- amount: {
2353
- modes: ["blur"],
2354
- validate: (amount) => amount?.value != null && !Number.isNaN(Number(amount.value)),
2355
- errorMessage: "pleaseEnterAValidAmount"
2356
- },
2357
- dateOfSourceEvent: {
2358
- modes: ["blur"],
2359
- validate: (dateOfSourceEvent) => validateDateNotInTheFuture(dateOfSourceEvent),
2360
- errorMessage: "dateCannotBeInTheFuture"
2361
- },
2362
- dateOfFundsReceived: {
2363
- modes: ["blur"],
2364
- validate: (dateOfFundsReceived) => validateDateNotInTheFuture(dateOfFundsReceived),
2365
- errorMessage: "dateCannotBeInTheFuture"
2366
- }
2367
- };
2368
- //#endregion
2369
- //#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.tsx
2370
- var logger = createLogger();
2371
- function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asAwe }) {
2372
- const { data: legalEntity, isLoading: isLoadingRootLegalEntity } = useLegalEntity(ROOT_LE);
2373
- const [loadingStatus, setLoadingStatus] = useState$1("success");
2374
- const [activeBusinessLine, setActiveBusinessLine] = useState$1();
2375
- const [activeSourceOfFund, setActiveSourceOfFund] = useState$1({
2376
- sourceOfFundsType: {},
2377
- additionalData: {}
2378
- });
2379
- const [allBusinessLines, setAllBusinessLines] = useState$1([]);
2380
- const [gettingStarted, setGettingStarted] = useState$1(true);
2381
- const [showUploadPage, setShowUploadPage] = useState$1(false);
2382
- const [loading, setLoading] = useState$1(false);
2383
- const [useSameAs, setUseSameAs] = useState$1(true);
2384
- const { baseUrl, rootLegalEntityId } = useApiContext();
2385
- const { t: sofT } = useTranslation("sof");
2386
- const userEvents = useAnalyticsContext();
2387
- const { showToast } = useToastContext();
2388
- const { data: sofBusinessLines, isLoading: isLoadingBusinessLines } = useBusinessLines(ALLOWED_SOF_SERVICES);
2389
- const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
2390
- const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
2391
- const { mutateAsync: updateSoFMutation } = useUpdateSourceOfFunds();
2392
- const form = useMultiForm({
2393
- requiredFields: getSourceOfFundsRequiredFields,
2394
- rules: {
2395
- sourceOfFundsType: sourceOfFundsTypeValidations,
2396
- additionalData: sourceOfFundsAdditionalDataValidations
2397
- },
2398
- defaultData: activeSourceOfFund
2399
- });
2400
- const { data = activeSourceOfFund, setFormData, setData, requiredFields, isValid, triggerValidation } = form;
2401
- const isSoFDocumentMissing = useMemo$1(() => legalEntity?.problems?.some((problem) => problem?.verificationErrors?.some((verificationError) => verificationError?.code === "2_8224")) ?? false, [legalEntity?.problems]);
2402
- const legalEntityResults = useLegalEntities(sofBusinessLines?.map((businessLine) => businessLine.sourceOfFunds?.originatorLegalEntityId).filter((id) => Boolean(id)) ?? [], { staleTime: 300 * 1e3 });
2403
- const areLegalEntitiesLoading = legalEntityResults.some((result) => result.isLoading);
2404
- const normalizedBusinessLines = useMemo$1(() => {
2405
- if (!sofBusinessLines) return null;
2406
- return sofBusinessLines.map((businessLine, index) => {
2407
- const result = legalEntityResults[index];
2408
- let updatedBusinessLine = { ...businessLine };
2409
- if (result && result.data) updatedBusinessLine = parseOriginatorDetails(result.data, updatedBusinessLine);
2410
- else if (result && result.isError) {
2411
- logger.error(`Error fetching legal entity for BL ${businessLine.id}:`, result.error);
2412
- showToast({
2413
- label: sofT(($) => $["unableToLoadRelatedEntity"]),
2414
- variant: "error"
2415
- });
2416
- }
2417
- if (updatedBusinessLine.sourceOfFunds?.adyenProcessedFunds) updatedBusinessLine.sourceOfFunds.type = "adyen";
2418
- return updatedBusinessLine;
2419
- });
2420
- }, [sofBusinessLines, JSON.stringify(legalEntityResults.map((r) => ({
2421
- data: r.data,
2422
- isError: r.isError,
2423
- error: r.error,
2424
- isLoading: r.isLoading
2425
- })))]);
2426
- useEffect$1(() => {
2427
- if (sofBusinessLines && !areLegalEntitiesLoading && normalizedBusinessLines) {
2428
- clearSofErrorMessage();
2429
- setLoading(true);
2430
- try {
2431
- if (normalizedBusinessLines.length) {
2432
- setAllBusinessLines((prev) => objectsDeepEqual(prev, normalizedBusinessLines) ? prev : normalizedBusinessLines);
2433
- if (!activeBusinessLine) {
2434
- const firstBusinessLine = normalizedBusinessLines[0];
2435
- if (firstBusinessLine) {
2436
- const mappedSof = mapSourceOfFundToSourceOfFundsSchema(firstBusinessLine);
2437
- setActiveBusinessLine(firstBusinessLine);
2438
- setActiveSourceOfFund(mappedSof);
2439
- if (mappedSof?.sourceOfFundsType) setFormData("sourceOfFundsType", mappedSof.sourceOfFundsType);
2440
- if (mappedSof?.additionalData) setFormData("additionalData", mappedSof.additionalData);
2441
- }
2442
- }
2443
- }
2444
- } catch (error) {
2445
- showToast({
2446
- label: sofT(($) => $["unableToLoadRelatedEntity"]),
2447
- variant: "error"
2448
- });
2449
- logger.error(error);
2450
- } finally {
2451
- setLoading(false);
2452
- }
2453
- }
2454
- }, [
2455
- sofBusinessLines,
2456
- areLegalEntitiesLoading,
2457
- normalizedBusinessLines,
2458
- activeBusinessLine,
2459
- sofT,
2460
- logger
2461
- ]);
2462
- /**
2463
- * Analytics
2464
- */
2465
- useTaskLandedEvent("SOURCE_OF_FUNDS");
2466
- useEffect$1(() => {
2467
- if (!gettingStarted && activeBusinessLine && allBusinessLines.length > 1) {
2468
- const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
2469
- if (applicableBusinessLines.length > 1) {
2470
- if (applicableBusinessLines.every((bl) => bl.sourceOfFunds?.type)) {
2471
- const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
2472
- setUseSameAs(applicableBusinessLines.filter((bl) => bl.id !== activeBusinessLine.id).every((bl) => {
2473
- return areSourceOfFundsEqual(currentSoF, mapSourceOfFundToSourceOfFundsSchema(bl));
2474
- }));
2475
- }
2476
- }
2477
- }
2478
- }, [
2479
- gettingStarted,
2480
- activeBusinessLine,
2481
- allBusinessLines
2482
- ]);
2483
- const sourceOfFundsRequiredForms = useMemo$1(() => getSourceOfFundsRequiredForms(data?.sourceOfFundsType), [data?.sourceOfFundsType]);
2484
- const forms = useMemo$1(() => {
2485
- return addValidityToForms(getRequiredForms(sourceOfFundsRequiredForms, requiredFields, void 0, true), isValid, problems);
2486
- }, [
2487
- sourceOfFundsRequiredForms,
2488
- requiredFields,
2489
- isValid,
2490
- problems
2491
- ]);
2492
- const createOrUpdateOriginator = async (additionalData, prevAdditionalData) => {
2493
- let originatorLegalEntityId;
2494
- const sofOriginator = parseSofOriginatorPayload(additionalData);
2495
- if (additionalData?.originatorLegalEntityId && additionalData?.originatorType === prevAdditionalData?.originatorType) try {
2496
- sofOriginator.id = additionalData?.originatorLegalEntityId;
2497
- if (sofOriginator.type) delete sofOriginator.type;
2498
- originatorLegalEntityId = (await updateLegalEntity({
2499
- ...sofOriginator,
2500
- id: sofOriginator.id
2501
- }))?.id;
2502
- } catch (e) {
2503
- logger.log("Error updating originator legal entity", e);
2504
- }
2505
- else try {
2506
- originatorLegalEntityId = (await createLegalEntity(sofOriginator))?.id;
2507
- } catch (e) {
2508
- logger.log("Error creating originator legal entity", e);
2509
- }
2510
- return originatorLegalEntityId;
2511
- };
2512
- const handleSubmit = useCallback$1(async () => {
2513
- const sofData = { ...data };
2514
- const sofType = sofData?.sourceOfFundsType?.type;
2515
- if (!sofType || !activeBusinessLine?.id) return;
2516
- const eventsAdditionalData = {};
2517
- setLoadingStatus("loading");
2518
- const { additionalData } = sofData;
2519
- const sofPayload = getSourceOfFundsPayload(sofType, additionalData);
2520
- if (sofType === "thirdPartyFunding") eventsAdditionalData.financiers = `${additionalData?.financiers?.length || 0} investor(s)`;
2521
- if (sofType === "donations" || sofType === "inheritance") eventsAdditionalData.originatorType = additionalData?.originatorType ?? "";
2522
- const targetBusinessLines = useSameAs ? getApplicableBusinessLines(allBusinessLines) : [activeBusinessLine];
2523
- const savePromises = targetBusinessLines.filter((bl) => bl.id).map(async (bl) => {
2524
- const payload = { ...sofPayload };
2525
- if (sofType === "donations" || sofType === "inheritance") try {
2526
- const blAdditionalData = mapSourceOfFundToSourceOfFundsSchema(bl)?.additionalData;
2527
- payload.originatorLegalEntityId = await createOrUpdateOriginator(useSameAs ? {
2528
- ...additionalData,
2529
- originatorLegalEntityId: blAdditionalData?.originatorLegalEntityId
2530
- } : getAdditionalDataForOriginator(additionalData, activeSourceOfFund?.additionalData, useSameAs), blAdditionalData);
2531
- } catch (e) {
2532
- logger.log("Error creating originator legal entity for business line", e);
2533
- throw e;
2534
- }
2535
- return updateSoFMutation({
2536
- ...payload,
2537
- businessLineId: bl.id
2538
- });
2539
- });
2540
- try {
2541
- const results = await Promise.allSettled(savePromises);
2542
- const failures = results.filter((r) => r.status === "rejected");
2543
- if (failures.length > 0) {
2544
- setSofErrorMessage(sofT(($) => $["errorUpdatingMultipleSourceOfFunds"], { count: failures.length }));
2545
- logger.error("Failed to update SoF for some business lines", failures);
2546
- }
2547
- const successes = results.filter((r) => r.status === "fulfilled");
2548
- if (successes.length > 0) {
2549
- userEvents.addTaskEvent("Success", {
2550
- actionType: "submit",
2551
- returnValue: sofType,
2552
- additionalData: {
2553
- ...eventsAdditionalData,
2554
- appliedToMultiple: useSameAs,
2555
- successCount: successes.length,
2556
- failureCount: failures.length,
2557
- businessLinesCount: allBusinessLines.length,
2558
- activeBusinessLineType: activeBusinessLine?.service,
2559
- activeBusinessLineCode: activeBusinessLine?.industryCode
2560
- }
2561
- });
2562
- setGettingStarted(true);
2563
- setShowUploadPage(false);
2564
- setActiveSourceOfFund({
2565
- sourceOfFundsType: {},
2566
- additionalData: {}
2567
- });
2568
- gotoFormByFormIndex(0);
2569
- setUseSameAs(true);
2570
- if (failures.length === 0) {
2571
- showToast({
2572
- label: sofT(($) => $["successAddedFundingSources"]),
2573
- variant: "success"
2574
- });
2575
- setSofErrorMessage("");
2576
- } else showToast({
2577
- label: sofT(($) => $["successAddedFundingSources"]),
2578
- variant: "success"
2579
- });
2580
- if (useSameAs) {
2581
- if (asAwe) onSubmit?.(data);
2582
- } else {
2583
- const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
2584
- if (applicableBusinessLines.filter((bl) => {
2585
- return targetBusinessLines.some((target) => target.id === bl.id) || !isEmpty(bl.sourceOfFunds);
2586
- }).length === applicableBusinessLines.length) {
2587
- handleHomeClick?.();
2588
- if (asAwe) onSubmit?.(data);
2589
- }
2590
- }
2591
- } else setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
2592
- } catch (e) {
2593
- setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
2594
- logger.log("Error updating source of funds", e);
2595
- }
2596
- setLoadingStatus("success");
2597
- }, [
2598
- data,
2599
- activeSourceOfFund,
2600
- activeBusinessLine,
2601
- allBusinessLines,
2602
- useSameAs,
2603
- updateSoFMutation,
2604
- createOrUpdateOriginator,
2605
- userEvents,
2606
- showToast,
2607
- sofT,
2608
- logger
2609
- ]);
2610
- const handleGettingStarted = useCallback$1(() => {
2611
- setGettingStarted(!gettingStarted);
2612
- }, [gettingStarted]);
2613
- const handleSourceOfFundsClick = (SoF, businessLine) => {
2614
- setActiveBusinessLine(businessLine);
2615
- setActiveSourceOfFund(SoF);
2616
- setGettingStarted(false);
2617
- setUseSameAs(false);
2618
- };
2619
- const sameAsOption = useMemo$1(() => {
2620
- if (!activeBusinessLine || !allBusinessLines.length) return;
2621
- if (getApplicableBusinessLines(allBusinessLines).length <= 1) return;
2622
- return {
2623
- businessLineId: "",
2624
- productName: sofT(($) => $["alwaysUseThisFundingSource"]),
2625
- sourceOfFunds: activeSourceOfFund
2626
- };
2627
- }, [
2628
- activeBusinessLine,
2629
- allBusinessLines,
2630
- activeSourceOfFund,
2631
- sofT
2632
- ]);
2633
- const setAdditionalDataFields = useCallback$1((additionalData) => {
2634
- if (!additionalData) return;
2635
- Object.keys(additionalData).forEach((key) => {
2636
- const fieldKey = key;
2637
- const value = additionalData[fieldKey];
2638
- if (value !== void 0) setData(fieldKey, value, "additionalData");
2639
- });
2640
- }, [setData]);
2641
- const handleUseSameAsChange = useCallback$1((checked) => {
2642
- setUseSameAs(checked);
2643
- if (checked && sameAsOption) {
2644
- const { sourceOfFunds } = sameAsOption;
2645
- setActiveSourceOfFund(sourceOfFunds);
2646
- setFormData("sourceOfFundsType", sourceOfFunds.sourceOfFundsType);
2647
- setAdditionalDataFields(sourceOfFunds.additionalData);
2648
- } else if (!checked && activeBusinessLine) {
2649
- const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
2650
- setActiveSourceOfFund(currentSoF);
2651
- setFormData("sourceOfFundsType", currentSoF.sourceOfFundsType);
2652
- setAdditionalDataFields(currentSoF.additionalData);
2653
- }
2654
- }, [
2655
- sameAsOption,
2656
- activeBusinessLine,
2657
- setFormData,
2658
- setAdditionalDataFields
2659
- ]);
2660
- const { handleNextClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, handleBackClick } = useFormComposer({
2661
- problems,
2662
- forms,
2663
- onSubmit: handleSubmit,
2664
- triggerValidation
2665
- });
2666
- const documentUtils = documentApiUtils({
2667
- baseUrl: baseUrl.value,
2668
- rootLegalEntityId: rootLegalEntityId.value
2669
- });
2670
- const handleNavigateToSummary = async () => {
2671
- setShowUploadPage(false);
2672
- setGettingStarted(true);
2673
- };
2674
- const handleNavigateToUploadPage = () => {
2675
- setShowUploadPage(true);
2676
- };
2677
- return /* @__PURE__ */ jsx("div", {
2678
- className: asAwe ? SourceOfFunds_module_default.sourceOfFundsAwe : SourceOfFunds_module_default.sourceOfFunds,
2679
- children: loading || isLoadingRootLegalEntity || isLoadingBusinessLines || areLegalEntitiesLoading ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
2680
- gettingStarted && !showUploadPage && legalEntity && /* @__PURE__ */ jsx(SourceOfFundsGettingStarted, {
2681
- asAwe,
2682
- handleCancelClick: handleHomeClick,
2683
- handleGettingStartedClick: handleGettingStarted,
2684
- businessLines: allBusinessLines,
2685
- problems: legalEntity?.problems,
2686
- handleSourceOfFundsClick,
2687
- handleNavigateToUploadPage,
2688
- legalEntity,
2689
- isSoFDocumentMissing
2690
- }),
2691
- showUploadPage && legalEntity && /* @__PURE__ */ jsx(SourceOfFundsUpload, {
2692
- businessLines: allBusinessLines,
2693
- documentUtils,
2694
- legalEntity,
2695
- handleNavigateToSummary
2696
- }),
2697
- !gettingStarted && !showUploadPage && /* @__PURE__ */ jsx(FormContextProvider, {
2698
- form,
2699
- children: /* @__PURE__ */ jsx(FormFlow, {
2700
- forms,
2701
- disableNextButton: !activeForm.isValid,
2702
- activeForm,
2703
- gotoFormByFormIndex,
2704
- gotoFormByFormId,
2705
- handleBackClick: steps.current === 0 ? handleGettingStarted : handleBackClick,
2706
- handleCancelClick: handleHomeClick,
2707
- handleNextClick,
2708
- loadingStatus,
2709
- currentStep: steps.current,
2710
- totalSteps: steps.total,
2711
- children: /* @__PURE__ */ jsx(SourceOfFunds, {
2712
- country,
2713
- activeForm,
2714
- activeBusinessLine,
2715
- sourceOfFundsType: data?.sourceOfFundsType?.type,
2716
- data: activeSourceOfFund,
2717
- sameAsOption,
2718
- useSameAs,
2719
- onUseSameAsChange: handleUseSameAsChange
2720
- })
2721
- })
2722
- })
2723
- ] })
2724
- });
2725
- }
2726
- //#endregion
2727
- //#region src/components/EFP/pages/SourceOfFundsPage.tsx
2728
- var SourceOfFundsPage_exports = /* @__PURE__ */ __exportAll({ SourceOfFundsPage: () => SourceOfFundsPage });
2729
- var SourceOfFundsPage = ({ onSubmit, handleHomeClick, asAwe }) => {
2730
- const { data: rootLe } = useLegalEntity(ROOT_LE);
2731
- const capabilityProblems = useCapabilityProblems();
2732
- const { i18n } = useTranslation();
2733
- addResourceBundles(i18n, [{
2734
- ns: "sof",
2735
- importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
2736
- "../tasks/SourceOfFundsDropin/language/bg-BG.json": () => import("./bg-BG-Bw1uE2hh.js"),
2737
- "../tasks/SourceOfFundsDropin/language/cs-CZ.json": () => import("./cs-CZ-B1VpAUva.js"),
2738
- "../tasks/SourceOfFundsDropin/language/da-DK.json": () => import("./da-DK-klGGwyxv.js"),
2739
- "../tasks/SourceOfFundsDropin/language/de-DE.json": () => import("./de-DE-DXkUC1-N.js"),
2740
- "../tasks/SourceOfFundsDropin/language/el-GR.json": () => import("./el-GR-CEZLeeb3.js"),
2741
- "../tasks/SourceOfFundsDropin/language/en-US.json": () => import("./en-US-CN15rSvL.js"),
2742
- "../tasks/SourceOfFundsDropin/language/es-ES.json": () => import("./es-ES-DB77kzqT.js"),
2743
- "../tasks/SourceOfFundsDropin/language/et-EE.json": () => import("./et-EE-Dj0jysHw.js"),
2744
- "../tasks/SourceOfFundsDropin/language/fi-FI.json": () => import("./fi-FI-4ckffUlB.js"),
2745
- "../tasks/SourceOfFundsDropin/language/fr-FR.json": () => import("./fr-FR-CZs4UzUR.js"),
2746
- "../tasks/SourceOfFundsDropin/language/hr-HR.json": () => import("./hr-HR-Ngyn0CeW.js"),
2747
- "../tasks/SourceOfFundsDropin/language/hu-HU.json": () => import("./hu-HU-D_5yVmCo.js"),
2748
- "../tasks/SourceOfFundsDropin/language/it-IT.json": () => import("./it-IT-B2zFnv7K.js"),
2749
- "../tasks/SourceOfFundsDropin/language/ja-JP.json": () => import("./ja-JP-CYmySE1y.js"),
2750
- "../tasks/SourceOfFundsDropin/language/lt-LT.json": () => import("./lt-LT-2KIisO4_.js"),
2751
- "../tasks/SourceOfFundsDropin/language/lv-LV.json": () => import("./lv-LV-CaTht4v3.js"),
2752
- "../tasks/SourceOfFundsDropin/language/nl-NL.json": () => import("./nl-NL-kUujSdLA.js"),
2753
- "../tasks/SourceOfFundsDropin/language/no-NO.json": () => import("./no-NO-DAK8yauA.js"),
2754
- "../tasks/SourceOfFundsDropin/language/pl-PL.json": () => import("./pl-PL-CpA94K5Z.js"),
2755
- "../tasks/SourceOfFundsDropin/language/pt-BR.json": () => import("./pt-BR-u_Sv-NkV.js"),
2756
- "../tasks/SourceOfFundsDropin/language/pt-PT.json": () => import("./pt-PT-BXlxPqah.js"),
2757
- "../tasks/SourceOfFundsDropin/language/ro-RO.json": () => import("./ro-RO-CfsDLBM4.js"),
2758
- "../tasks/SourceOfFundsDropin/language/sk-SK.json": () => import("./sk-SK-ChCtHT1F.js"),
2759
- "../tasks/SourceOfFundsDropin/language/sl-SI.json": () => import("./sl-SI-DpgW-r5w.js"),
2760
- "../tasks/SourceOfFundsDropin/language/sv-SE.json": () => import("./sv-SE-Iv-yFbrD2.js")
2761
- }), `../tasks/SourceOfFundsDropin/language/${lang}.json`, 5)
2762
- }]);
2763
- if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
2764
- const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
2765
- return /* @__PURE__ */ jsx(SourceOfFundsDropin, {
2766
- legalEntityResponse: rootLe,
2767
- country: getLegalEntityCountry(rootLe),
2768
- problems,
2769
- asAwe,
2770
- onSubmit,
2771
- handleHomeClick
2772
- });
2773
- };
2774
- //#endregion
2775
- export { SourceOfFundsPage_exports as n, SourceOfFundsPage as t };