@adyen/kyc-components 4.7.1 → 4.8.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 (1787) hide show
  1. package/dist/4-people-7MltvEnk.js +35 -0
  2. package/dist/AD-D_B1KZm9.js +15 -0
  3. package/dist/AE-iKPgRx_9.js +17 -0
  4. package/dist/AI-CYjWGBKT.js +19 -0
  5. package/dist/AL-D62C5Lpk.js +19 -0
  6. package/dist/AR-BOgSvtgP.js +19 -0
  7. package/dist/AS-Cg8Vujpc.js +17 -0
  8. package/dist/AT-CCRMRifN.js +19 -0
  9. package/dist/AT-D3H5WGY3.js +15 -0
  10. package/dist/AT-DMpxSE4g.js +19 -0
  11. package/dist/AT-Doe66WxQ.js +16 -0
  12. package/dist/AU-B77DgHQb.js +16 -0
  13. package/dist/AU-BcSu8pI2.js +20 -0
  14. package/dist/AU-CiWB9qh-.js +11 -0
  15. package/dist/AU-DAfj7Z58.js +18 -0
  16. package/dist/AX-CG8iviap.js +15 -0
  17. package/dist/AZ-DIB7CvVN.js +19 -0
  18. package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +651 -0
  19. package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +6 -0
  20. package/dist/Accordion-Dmrb3-v6.js +111 -0
  21. package/dist/AccountSetupRejected-DkwJLZ-8.js +20 -0
  22. package/dist/ActionBar-ITEbcxgG.js +33 -0
  23. package/dist/Address-CnQ22ndb.js +595 -0
  24. package/dist/Alert-BER6uCP8.js +170 -0
  25. package/dist/Avatar-DElKUUVp.js +54 -0
  26. package/dist/BA-C4vH4-x6.js +19 -0
  27. package/dist/BE-BvtnaSSH.js +15 -0
  28. package/dist/BE-DJM3cj-R.js +11 -0
  29. package/dist/BE-Dtk1wvHk.js +12 -0
  30. package/dist/BE-Sbwjfh5h.js +11 -0
  31. package/dist/BG-DvFE-fU3.js +19 -0
  32. package/dist/BH-Bm_tXC8b.js +19 -0
  33. package/dist/BM-BPYI-Bk0.js +19 -0
  34. package/dist/BR-CRGYlRY-.js +18 -0
  35. package/dist/BR-CwJ6YXMX.js +23 -0
  36. package/dist/BR-DdZm-FhP.js +15 -0
  37. package/dist/BR-DjC4dRH8.js +20 -0
  38. package/dist/BS-DEbfM7Fg.js +19 -0
  39. package/dist/BV-LqWIWEV5.js +19 -0
  40. package/dist/BY-Dw4W1isS.js +19 -0
  41. package/dist/BusinessFinancingDropin-B8ZJDKWU.js +1796 -0
  42. package/dist/BusinessFinancingPage-B2EuTX1b.js +87 -0
  43. package/dist/BusinessTypeSelectionPage-CChAObkr.js +439 -0
  44. package/dist/Button-DvWt5T9O.js +189 -0
  45. package/dist/CA-CQtjbUjU.js +16 -0
  46. package/dist/CA-Cwit937J.js +18 -0
  47. package/dist/CA-D0ezsmfN.js +10 -0
  48. package/dist/CA-PLMbc5uq.js +17 -0
  49. package/dist/CH-Baaufs8O.js +15 -0
  50. package/dist/CH-D9S1IpBs.js +11 -0
  51. package/dist/CH-DPLfVgsE.js +15 -0
  52. package/dist/CH-DnoWGcl9.js +11 -0
  53. package/dist/CN-Bx6shvCX.js +19 -0
  54. package/dist/CR-CgM7Uut3.js +19 -0
  55. package/dist/CY-CxBi1s-O.js +15 -0
  56. package/dist/CZ-B3oiWDug.js +15 -0
  57. package/dist/CZ-B8nb2PxI.js +16 -0
  58. package/dist/CZ-CbWqKLbR.js +19 -0
  59. package/dist/CZ-DS5YfhO9.js +27 -0
  60. package/dist/Card-vYndix5Y.js +70 -0
  61. package/dist/Checkbox-BCYjFPa4.js +55 -0
  62. package/dist/Confirm-BmiOH3Vr.js +76 -0
  63. package/dist/ConstitutionalDocument-rRO4Qdx2.js +2228 -0
  64. package/dist/ContactDetails-tVqSDGqY.js +292 -0
  65. package/dist/ContextGuidance-DKKgj5gN.js +29 -0
  66. package/dist/ContractViewer-zPVipxCC.js +987 -0
  67. package/dist/CountryField-s5-jZTU9.js +38 -0
  68. package/dist/Currency-gYKD3DSx.js +191 -0
  69. package/dist/CustomerSupport-kwwKDe5a.js +127 -0
  70. package/dist/DE-BOCSw-Jn.js +23 -0
  71. package/dist/DE-NkKgh0-y.js +15 -0
  72. package/dist/DE-SZPlEjww.js +20 -0
  73. package/dist/DE-hCefE4qL.js +20 -0
  74. package/dist/DK-CB_26cPx.js +27 -0
  75. package/dist/DK-CO2QUqp2.js +19 -0
  76. package/dist/DK-CikJtsBF.js +15 -0
  77. package/dist/DK-DAYxZyrn.js +18 -0
  78. package/dist/DO-DWjKCR-x.js +19 -0
  79. package/dist/DebugModal-DycU_84l.js +451 -0
  80. package/dist/DecisionMakerDetails-DA9upL0W.js +471 -0
  81. package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +105 -0
  82. package/dist/DecisionMakers-BZRkBx5n.js +670 -0
  83. package/dist/DetailViewLayout-Cz3FVZ5a.js +68 -0
  84. package/dist/Divider-CrK4vlsJ.js +11 -0
  85. package/dist/DropinLayout-Ce8IeTl4.js +22 -0
  86. package/dist/Dropzone-By_YOrv2.js +221 -0
  87. package/dist/EC-CCGvbVWA.js +20 -0
  88. package/dist/EE-DebeWn2E.js +15 -0
  89. package/dist/ES-Bf5fpQJJ.js +24 -0
  90. package/dist/ES-D2CBh7YF.js +19 -0
  91. package/dist/ES-DXLZWZXA.js +15 -0
  92. package/dist/ES-m71Tl7fE.js +15 -0
  93. package/dist/EmbeddedStatus-DeSYswbC.js +128 -0
  94. package/dist/EndStateLayout-CR8wHeA1.js +84 -0
  95. package/dist/EntityAssociation-CKOd_SVw.js +163 -0
  96. package/dist/EntityGuidanceStatus-C_rpRyk4.js +89 -0
  97. package/dist/ErrorPanel-4juOd8Z2.js +186 -0
  98. package/dist/FI-Cbz5-l9v.js +10 -0
  99. package/dist/FI-Clx-zbKe.js +15 -0
  100. package/dist/FI-L14G4S91.js +11 -0
  101. package/dist/FI-_CR_F2Ml.js +12 -0
  102. package/dist/FJ-BKLmDeVh.js +19 -0
  103. package/dist/FO-D7VnFgWu.js +19 -0
  104. package/dist/FR-D2lGCnJC.js +16 -0
  105. package/dist/FR-D2zQy3jq.js +15 -0
  106. package/dist/FR-DwVflgGw.js +15 -0
  107. package/dist/FR-wqLTqKJj.js +23 -0
  108. package/dist/Field-C2ZpB0wo.js +155 -0
  109. package/dist/FormNavigation-IqQmylMk.js +116 -0
  110. package/dist/GB-BX3mPDDS.js +27 -0
  111. package/dist/GB-CIqAOZg5.js +24 -0
  112. package/dist/GB-CVb-Rw8a.js +18 -0
  113. package/dist/GB-DD4csU-b.js +11 -0
  114. package/dist/GE-D02s-9eo.js +19 -0
  115. package/dist/GF-BcHxbxvv.js +15 -0
  116. package/dist/GG-C3cx2hzZ.js +27 -0
  117. package/dist/GI-D_DZhrwe.js +35 -0
  118. package/dist/GL-BUOXwUJ0.js +19 -0
  119. package/dist/GP-CmZCjGab.js +15 -0
  120. package/dist/GR-BxjWJl4T.js +15 -0
  121. package/dist/GT-C_l7WI2f.js +19 -0
  122. package/dist/GU-7zSp4NP8.js +17 -0
  123. package/dist/HK-D5lgUGIW.js +10 -0
  124. package/dist/HK-DXmjOLnc.js +17 -0
  125. package/dist/HK-Dc3v2ZB0.js +18 -0
  126. package/dist/HK-dz43_PmR.js +15 -0
  127. package/dist/HR-BvWaw8qz.js +15 -0
  128. package/dist/HR-ChipU8Kr.js +15 -0
  129. package/dist/HR-D3ZZV7I7.js +19 -0
  130. package/dist/HR-SfBt4kaq.js +15 -0
  131. package/dist/HU-1UX4rgmz.js +10 -0
  132. package/dist/HU-9NTdjUUV.js +26 -0
  133. package/dist/HU-CzI3Elvd.js +19 -0
  134. package/dist/HU-wpmPNNka.js +11 -0
  135. package/dist/HandlerContext-CIedIvkP.js +9 -0
  136. package/dist/Header-BNb1zwkF.js +93 -0
  137. package/dist/ID-O2T9tbLO.js +19 -0
  138. package/dist/IE-CRaBXxhc.js +18 -0
  139. package/dist/IE-Cw9l0506.js +15 -0
  140. package/dist/IE-DWpH_5Cq.js +10 -0
  141. package/dist/IE-OqeqXlhV.js +20 -0
  142. package/dist/IL-1hVGBOhQ.js +15 -0
  143. package/dist/IM-B1t_Q0mE.js +27 -0
  144. package/dist/IN-BAGr7C88.js +20 -0
  145. package/dist/IS-C97KS-Cn.js +19 -0
  146. package/dist/IT-Bqf_SGsX.js +19 -0
  147. package/dist/IT-GLNikVmY.js +19 -0
  148. package/dist/IT-PBgScy3E.js +15 -0
  149. package/dist/IT-b5Hsdl6Z.js +15 -0
  150. package/dist/Image-BTVEK7B2.js +33 -0
  151. package/dist/Individual.rules-B3pCow6J.js +295 -0
  152. package/dist/IndividualDropin-bFgrHziM.js +4946 -0
  153. package/dist/InputDate-XX9jaw9v.js +52 -0
  154. package/dist/InputGroup-2FJnD0LO.js +21 -0
  155. package/dist/InputText-C30dZxS4.js +119 -0
  156. package/dist/Introduction-BRwmMwP8.js +271 -0
  157. package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +6 -0
  158. package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +353 -0
  159. package/dist/JE-D9zaTrAY.js +27 -0
  160. package/dist/JM-6zLyaeVi.js +19 -0
  161. package/dist/JO-BdNdFHnL.js +19 -0
  162. package/dist/JP-znYbtZMc.js +20 -0
  163. package/dist/JpAddress-DcrYSdH2.js +319 -0
  164. package/dist/KR-xcUi-9h2.js +19 -0
  165. package/dist/KW-3DCYRJ53.js +19 -0
  166. package/dist/KY-CCApxZ6r.js +19 -0
  167. package/dist/KZ-Cqr8yPqY.js +19 -0
  168. package/dist/LB-R74h2pUy.js +19 -0
  169. package/dist/LI-D9H9hvDG.js +15 -0
  170. package/dist/LT-CDQI5_NM.js +15 -0
  171. package/dist/LT-COGUxKB6.js +19 -0
  172. package/dist/LT-DkKeNYqC.js +16 -0
  173. package/dist/LT-Dq5I_vLb.js +11 -0
  174. package/dist/LU-B7-x8Llo.js +15 -0
  175. package/dist/LV-DAzwuNGM.js +15 -0
  176. package/dist/LandingLayout-BQZNXhZ_.js +76 -0
  177. package/dist/LegalCompanyNameField-D91em8Tk.js +108 -0
  178. package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +73 -0
  179. package/dist/Link-DKiaZfxB.js +32 -0
  180. package/dist/List-DLrcpMVd.js +71 -0
  181. package/dist/ListItem-zVPVQbER.js +70 -0
  182. package/dist/LoaderWrapper-DWKykOjd.js +34 -0
  183. package/dist/MC-DYg2Ld6N.js +15 -0
  184. package/dist/MD-BSGq8uEc.js +19 -0
  185. package/dist/ME-CMYolexb.js +19 -0
  186. package/dist/MK-KXTP17uw.js +19 -0
  187. package/dist/MP-CJH5I9LN.js +17 -0
  188. package/dist/MQ-B-Nxd16T.js +15 -0
  189. package/dist/MR-9gjgEzl5.js +19 -0
  190. package/dist/MT-DCvbkYrX.js +15 -0
  191. package/dist/MU-CVDBPgAP.js +19 -0
  192. package/dist/MX-B8dPVdJo.js +17 -0
  193. package/dist/MY-DcfNGXIG.js +16 -0
  194. package/dist/MaskedInput-zFUBaX87.js +714 -0
  195. package/dist/MaybeModal-Dsgozf1o.js +24 -0
  196. package/dist/Modal-UfgpuJZi.js +129 -0
  197. package/dist/NC-DQQUjrGe.js +19 -0
  198. package/dist/NL-Bu5_sjR1.js +14 -0
  199. package/dist/NL-CMB4A6y3.js +15 -0
  200. package/dist/NL-DQR9Rrua.js +12 -0
  201. package/dist/NL-McMEOXeg.js +19 -0
  202. package/dist/NO-C1lR0Cpn.js +14 -0
  203. package/dist/NO-CKPHTYW8.js +16 -0
  204. package/dist/NO-DAvhrELf.js +26 -0
  205. package/dist/NO-Pppylsvl.js +19 -0
  206. package/dist/NZ-BLYvv2PK.js +10 -0
  207. package/dist/NZ-BuvPkC2r.js +11 -0
  208. package/dist/Name-DC5eBwEU.js +61 -0
  209. package/dist/NewSummary-DVIIH1Ml.js +64 -0
  210. package/dist/PE-J7zWKbQ3.js +19 -0
  211. package/dist/PF-CQvMXWIc.js +19 -0
  212. package/dist/PH-CsAkleLZ.js +19 -0
  213. package/dist/PK-pnVCB70L.js +19 -0
  214. package/dist/PL-BIkD7ly2.js +19 -0
  215. package/dist/PL-Cfpb3P4Y.js +19 -0
  216. package/dist/PL-D6iB2qQS.js +15 -0
  217. package/dist/PL-DdsUKlRx.js +26 -0
  218. package/dist/PM-DXhRSYlY.js +15 -0
  219. package/dist/PR-BJTR9010.js +17 -0
  220. package/dist/PS-Bb7ensjm.js +19 -0
  221. package/dist/PT-Bqv36Ez0.js +15 -0
  222. package/dist/PT-DMau-7AE.js +19 -0
  223. package/dist/PT-D_mzbSbR.js +15 -0
  224. package/dist/PT-iBbOYasm.js +16 -0
  225. package/dist/PayoutDetailsDropin-DAUlhP1c.js +3909 -0
  226. package/dist/PayoutDetailsPage-mJE3Hgy9.js +857 -0
  227. package/dist/ProgressBar-BlxQvN7D.js +38 -0
  228. package/dist/QA-Cya8smAe.js +19 -0
  229. package/dist/RE-DV-Olrl9.js +15 -0
  230. package/dist/RO-7ngAIZ4E.js +15 -0
  231. package/dist/RO-D29rc5pZ.js +11 -0
  232. package/dist/RO-JvqtRH2p.js +11 -0
  233. package/dist/RO-Nqdvv0rk.js +19 -0
  234. package/dist/RS-Bdspw_Te.js +19 -0
  235. package/dist/RU-2VREcND8.js +19 -0
  236. package/dist/Radio-D6uF9-cu.js +21 -0
  237. package/dist/RadioGroup-Bi9v9dZu.js +71 -0
  238. package/dist/Review-C-B_R1FH.js +89 -0
  239. package/dist/RootBusinessDetailsPage-9ccBcunp.js +67 -0
  240. package/dist/RootBusinessLinesPage-LQptA58p.js +1451 -0
  241. package/dist/RootIndividualDetailsPage-DlzHpNEn.js +81 -0
  242. package/dist/SA-ONrtr4dq.js +19 -0
  243. package/dist/SE-Bp9QG9OZ.js +10 -0
  244. package/dist/SE-CfwjGhj2.js +27 -0
  245. package/dist/SE-CjCMy1R-.js +12 -0
  246. package/dist/SE-CspSL4-O.js +19 -0
  247. package/dist/SG-BSxtCx98.js +18 -0
  248. package/dist/SG-Bx4a8mSG.js +11 -0
  249. package/dist/SG-Cte5jgnm.js +16 -0
  250. package/dist/SG-W9jzYBBR.js +19 -0
  251. package/dist/SI-CjPVM480.js +14 -0
  252. package/dist/SI-ClAvsgGs.js +12 -0
  253. package/dist/SI-D_WmP1xi.js +19 -0
  254. package/dist/SI-DuER-ftQ.js +15 -0
  255. package/dist/SJ-DRle19p-.js +19 -0
  256. package/dist/SK-BXY1VMKv.js +19 -0
  257. package/dist/SK-CFssz9bO.js +15 -0
  258. package/dist/SK-CP4lBBly.js +10 -0
  259. package/dist/SK-KhQnqXtK.js +16 -0
  260. package/dist/SM-v_4Yc2mM.js +15 -0
  261. package/dist/Select-DDSua27l.js +775 -0
  262. package/dist/SignPCIComponent-DGWjjIO0.js +367 -0
  263. package/dist/SignPCIComponent-DvZAN38F.js +6 -0
  264. package/dist/SingpassSelection-PepG3R0o.js +244 -0
  265. package/dist/SoleProprietorshipPage-DnThw6us.js +69 -0
  266. package/dist/SourceOfFundsPage-CuIBGc8z.js +1987 -0
  267. package/dist/Spacer-_Y17BH-4.js +11 -0
  268. package/dist/StackLayout-Bhbj68nx.js +105 -0
  269. package/dist/StateContext-BToC3V53.js +9 -0
  270. package/dist/StepProgressIndicator-CzDT61ie.js +80 -0
  271. package/dist/StructuredList-w0Z2zLTk.js +56 -0
  272. package/dist/Summary-B8AA9_C_.js +226 -0
  273. package/dist/TF-BhrG4wMf.js +19 -0
  274. package/dist/TH-Dnjjl0vl.js +20 -0
  275. package/dist/TL-DV3_HDbD.js +19 -0
  276. package/dist/TN-CvaVweYw.js +19 -0
  277. package/dist/TR-BAvGXlpl.js +19 -0
  278. package/dist/TT-DRIx1q2s.js +20 -0
  279. package/dist/TW-DRf29Guu.js +21 -0
  280. package/dist/Tag-BUoDHC4C.js +39 -0
  281. package/dist/TaskVerificationStatus-UnhKHQYu.js +118 -0
  282. package/dist/TaxInformationField-zwmzV8Ov.js +2830 -0
  283. package/dist/TaxReportingDropin-BZ67pubt.js +480 -0
  284. package/dist/TextArea-CyATBUKN.js +80 -0
  285. package/dist/TileGroup-tVHAZBni.js +169 -0
  286. package/dist/ToastContext-Cx99hkTh.js +13 -0
  287. package/dist/ToastContextProvider-BWJct14f.js +103 -0
  288. package/dist/TrustDetailsPage-DLIvcoSr.js +1685 -0
  289. package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +107 -0
  290. package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +107 -0
  291. package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +943 -0
  292. package/dist/TrustMembersOverview-CZ-i1Yoq.js +350 -0
  293. package/dist/UA-Ba88l6Xd.js +19 -0
  294. package/dist/US-CKehaXnS.js +10 -0
  295. package/dist/US-Df5L2r8F.js +18 -0
  296. package/dist/US-QONZX-gV.js +23 -0
  297. package/dist/US-m2RymYgz.js +17 -0
  298. package/dist/UY-C7OqeI1W.js +19 -0
  299. package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +78 -0
  300. package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +78 -0
  301. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +276 -0
  302. package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +156 -0
  303. package/dist/VA-kEhphxOY.js +15 -0
  304. package/dist/VG-9RtXQCNA.js +19 -0
  305. package/dist/VI-Dtn9fHsy.js +17 -0
  306. package/dist/VN-CQ52lXXR.js +19 -0
  307. package/dist/VerificationErrorAlert-C_9CLF8G.js +38 -0
  308. package/dist/WF-D5AVATSv.js +19 -0
  309. package/dist/YT-B9qrlCqK.js +15 -0
  310. package/dist/ZA-CZ_c0XHc.js +20 -0
  311. package/dist/_rolldown_dynamic_import_helper-rq_tsyLP.js +14 -0
  312. package/dist/accountHolderUtils-BYe8xPFy.js +44 -0
  313. package/dist/adyen-business-financing.js +172 -66
  314. package/dist/adyen-individual-configuration.js +186 -59
  315. package/dist/adyen-individual-status.js +104 -45
  316. package/dist/adyen-invited-decision-maker.js +38 -42
  317. package/dist/adyen-onboarding.js +2465 -55
  318. package/dist/adyen-terms-of-service-management.js +58 -64
  319. package/dist/adyen-terms-of-service-status.js +138 -45
  320. package/dist/adyen-transfer-instrument-configuration.js +176 -74
  321. package/dist/adyen-transfer-instrument-management.js +409 -59
  322. package/dist/adyen-verification-status.js +234 -80
  323. package/dist/arrow-right-BzximXQd.js +20 -0
  324. package/dist/bafinUtils-kBPs58Au.js +68 -0
  325. package/dist/bag-CV-7aEOY.js +20 -0
  326. package/dist/bank-B3QWGDvh.js +20 -0
  327. package/dist/basePatterns-VqSYMnkh.js +8 -0
  328. package/dist/bg-BG-B59ND_11.js +59 -0
  329. package/dist/bg-BG-B67nlf6n.js +31 -0
  330. package/dist/bg-BG-BxkwIoTQ.js +69 -0
  331. package/dist/bg-BG-C0wzRs18.js +7 -0
  332. package/dist/bg-BG-CN_UREwh.js +23 -0
  333. package/dist/bg-BG-Ckeu3dBt.js +26 -0
  334. package/dist/bg-BG-D2t5UzpH.js +70 -0
  335. package/dist/bg-BG-DQPBlfB6.js +18 -0
  336. package/dist/bg-BG-DeVGTTeO.js +7 -0
  337. package/dist/bg-BG-DnMyf-n3.js +48 -0
  338. package/dist/bg-BG-DqWeAqky.js +57 -0
  339. package/dist/bg-BG-sDNpvadv.js +7 -0
  340. package/dist/bg-BG-xv1T8Cru.js +7 -0
  341. package/dist/bg-BG-ymvx5WWi.js +7 -0
  342. package/dist/bin-Nm57SUCy.js +30 -0
  343. package/dist/birthDateUtils-C686KOxO.js +82 -0
  344. package/dist/business-lines-BYTyy_mD.js +554 -0
  345. package/dist/capital-BIrjrei_.js +23 -0
  346. package/dist/cash-stack-q8jqAQnj.js +33 -0
  347. package/dist/certificate-BA32wlVD.js +23 -0
  348. package/dist/checkmark-Sx0Eq9g1.js +20 -0
  349. package/dist/checkmark-circle-D25SXuEg.js +28 -0
  350. package/dist/checkmark-circle-fill-DWyHVNKM.js +30 -0
  351. package/dist/checkmark-small-BYKwXmot.js +20 -0
  352. package/dist/chevron-down-BY9NvSX2.js +20 -0
  353. package/dist/chevron-left-1TeIr8LI.js +20 -0
  354. package/dist/chevron-right-D3ORtAcK.js +20 -0
  355. package/dist/chevron-up-DSUlaHcZ.js +20 -0
  356. package/dist/circle-BLLy-RH7.js +30 -0
  357. package/dist/circle-small-filled-C_6B84Iy.js +20 -0
  358. package/dist/clock-lHMbm7lZ.js +28 -0
  359. package/dist/coins-DM30OZR2.js +30 -0
  360. package/dist/commonValidators-DCdet-gH.js +18 -0
  361. package/dist/company-types-value-BYTAKfjo.js +17 -0
  362. package/dist/contract-CHdRrIxe.js +20 -0
  363. package/dist/countries-BuZ6_X95.js +41 -0
  364. package/dist/country-COrdWGaq.js +13 -0
  365. package/dist/country-code-CX5KqMBr.js +284 -0
  366. package/dist/cross-circle-fill-CmXERg4H.js +30 -0
  367. package/dist/cross-circle-fill-small-CMz7hV-a.js +20 -0
  368. package/dist/cross-eL7Kqv7I.js +20 -0
  369. package/dist/cs-CZ-B0PS89aw.js +7 -0
  370. package/dist/cs-CZ-BJQndp5g.js +18 -0
  371. package/dist/cs-CZ-BSCmFoe-.js +70 -0
  372. package/dist/cs-CZ-BkegBLH0.js +7 -0
  373. package/dist/cs-CZ-Cf3RE2Kz.js +69 -0
  374. package/dist/cs-CZ-CgD-Dni9.js +48 -0
  375. package/dist/cs-CZ-D0tlzysb.js +57 -0
  376. package/dist/cs-CZ-DNo3i13i.js +59 -0
  377. package/dist/cs-CZ-DerpXyW7.js +26 -0
  378. package/dist/cs-CZ-DoyjAWTB.js +7 -0
  379. package/dist/cs-CZ-DzvqR4Si.js +7 -0
  380. package/dist/cs-CZ-EALbGC0P.js +23 -0
  381. package/dist/cs-CZ-nVt_3Wsc.js +31 -0
  382. package/dist/cs-CZ-y--aL5tG.js +7 -0
  383. package/dist/currency-DNgyvN7z.js +29 -0
  384. package/dist/da-DK-B_qoG-tX.js +48 -0
  385. package/dist/da-DK-Bdp8gkhn.js +23 -0
  386. package/dist/da-DK-BpC27U0O.js +7 -0
  387. package/dist/da-DK-C-6cZEqg.js +59 -0
  388. package/dist/da-DK-CLzpAJZX.js +7 -0
  389. package/dist/da-DK-Cu2Bi6Q7.js +31 -0
  390. package/dist/da-DK-DFjTxgfg.js +7 -0
  391. package/dist/da-DK-DSrFDOG3.js +57 -0
  392. package/dist/da-DK-DbpZoBrp.js +18 -0
  393. package/dist/da-DK-DcplyxCd.js +70 -0
  394. package/dist/da-DK-DgFOdais.js +69 -0
  395. package/dist/da-DK-d-G4WSG9.js +7 -0
  396. package/dist/da-DK-gVDOt4Mx.js +26 -0
  397. package/dist/da-DK-niSqcowC.js +7 -0
  398. package/dist/datasetUtil-Zd4TCTDn.js +45 -0
  399. package/dist/de-DE-4UdLDq_d.js +59 -0
  400. package/dist/de-DE-BVoU3x7q.js +26 -0
  401. package/dist/de-DE-BX0mu_5B.js +7 -0
  402. package/dist/de-DE-BsZOOvbi.js +7 -0
  403. package/dist/de-DE-Bsrf1Qk-.js +7 -0
  404. package/dist/de-DE-CJAVduiD.js +70 -0
  405. package/dist/de-DE-CPjVxwLK.js +69 -0
  406. package/dist/de-DE-CSfZ-fLe.js +23 -0
  407. package/dist/de-DE-Ccbobm6F.js +18 -0
  408. package/dist/de-DE-DLpDehXu.js +48 -0
  409. package/dist/de-DE-DXLRcNXw.js +57 -0
  410. package/dist/de-DE-KXIXcUTs.js +7 -0
  411. package/dist/de-DE-Qs8eQGQS.js +31 -0
  412. package/dist/de-DE-jwrvfE6B.js +7 -0
  413. package/dist/de-DE-zVrwBFVP.js +7 -0
  414. package/dist/debouncedInputEvent-Dxv4-RAv.js +54 -0
  415. package/dist/debugStore-bZ_bkJeS.js +9 -0
  416. package/dist/decision-maker-type-Cow3CpUd.js +12 -0
  417. package/dist/decision-makers-group-Cof9scJd.js +4169 -0
  418. package/dist/decisionMaker-j9cwyXuS.js +146 -0
  419. package/dist/decisionMakerRoles-CAy-eeNV.js +45 -0
  420. package/dist/digital-wallet-BXDAhThn.js +163 -0
  421. package/dist/document-1-CAkgmlsx.js +20 -0
  422. package/dist/document-blurred-LCBsN2NC.js +116 -0
  423. package/dist/document-cut-off-wsPtcq1x.js +116 -0
  424. package/dist/document-expired-CvTJKcZr.js +160 -0
  425. package/dist/document-front-BHCo0w58.js +113 -0
  426. package/dist/document-person-BMqoEMgx.js +28 -0
  427. package/dist/download-CUCb0PT7.js +23 -0
  428. package/dist/dropinUtils-FIEFyS0F.js +275 -0
  429. package/dist/edit-1-DqX_7cbs.js +20 -0
  430. package/dist/el-GR-B08o_Wr7.js +59 -0
  431. package/dist/el-GR-B1VnihMi.js +69 -0
  432. package/dist/el-GR-BUGibSyd.js +26 -0
  433. package/dist/el-GR-BV0tj_MA.js +7 -0
  434. package/dist/el-GR-C-HtCTGV.js +57 -0
  435. package/dist/el-GR-C5lpMpmF.js +7 -0
  436. package/dist/el-GR-C7o9YGzw.js +23 -0
  437. package/dist/el-GR-CDp-bn0j.js +7 -0
  438. package/dist/el-GR-CN3HrU9J.js +70 -0
  439. package/dist/el-GR-CNDZGVN3.js +31 -0
  440. package/dist/el-GR-D9AagIjI.js +18 -0
  441. package/dist/el-GR-DRbd6eXu.js +7 -0
  442. package/dist/el-GR-DZuLkaBp.js +48 -0
  443. package/dist/el-GR-Doj3UHZu.js +7 -0
  444. package/dist/el-GR-DvgAQImQ.js +7 -0
  445. package/dist/emitEvent-B8K0cb1F.js +35 -0
  446. package/dist/en-US-3j1Js4vT.js +70 -0
  447. package/dist/en-US-B3MAOxZH.js +7 -0
  448. package/dist/en-US-BWMrfrd7.js +31 -0
  449. package/dist/en-US-Bg9gdBEC.js +7 -0
  450. package/dist/en-US-BgLFeko-.js +18 -0
  451. package/dist/en-US-C81RZMm3.js +76 -0
  452. package/dist/en-US-CEBexxFl.js +23 -0
  453. package/dist/en-US-CnVk6lVt.js +212 -0
  454. package/dist/en-US-CwN7_Z6A.js +60 -0
  455. package/dist/en-US-Cwp_kAIu.js +57 -0
  456. package/dist/en-US-D1y6M9AI.js +116 -0
  457. package/dist/en-US-D6psKu6Y.js +26 -0
  458. package/dist/en-US-D8jS6G6S.js +10 -0
  459. package/dist/en-US-DH-5G1L0.js +7 -0
  460. package/dist/en-US-DqbNEPfm.js +7 -0
  461. package/dist/en-US-IxvcS3bq.js +7 -0
  462. package/dist/en-US-RJmb2nTR.js +69 -0
  463. package/dist/en-US-Rnj0uOlI.js +40 -0
  464. package/dist/en-US-hCtMObDn.js +196 -0
  465. package/dist/en-US-jcuu40kx.js +48 -0
  466. package/dist/en-US-rEquAkrM.js +60 -0
  467. package/dist/en-US.instructions-Bh8SYzc5.js +7 -0
  468. package/dist/en-US.instructions-C5xXRJDu.js +16 -0
  469. package/dist/entityAssociationUtil-BEzUdPbm.js +97 -0
  470. package/dist/es-ES-8AtDNr6X.js +18 -0
  471. package/dist/es-ES-B7uIo7kE.js +23 -0
  472. package/dist/es-ES-B9kTevXB.js +59 -0
  473. package/dist/es-ES-BJfw2diu.js +7 -0
  474. package/dist/es-ES-B_kBpFxZ.js +7 -0
  475. package/dist/es-ES-BkeAb5PG.js +7 -0
  476. package/dist/es-ES-Bwj2MUyM.js +69 -0
  477. package/dist/es-ES-CHyhM1uh.js +7 -0
  478. package/dist/es-ES-CLr_KwxQ.js +7 -0
  479. package/dist/es-ES-D-n6xoWo.js +7 -0
  480. package/dist/es-ES-D1vAd-8r.js +26 -0
  481. package/dist/es-ES-DKenRcq3.js +70 -0
  482. package/dist/es-ES-DWjfZmTj.js +31 -0
  483. package/dist/es-ES-H0DZcC1K.js +48 -0
  484. package/dist/es-ES-hX5WUfzS.js +57 -0
  485. package/dist/et-EE-BSAr_xVc.js +31 -0
  486. package/dist/et-EE-BcWPn7Cl.js +7 -0
  487. package/dist/et-EE-BnDOa_4e.js +7 -0
  488. package/dist/et-EE-CNNN-M_x.js +18 -0
  489. package/dist/et-EE-CWGint-T.js +26 -0
  490. package/dist/et-EE-CfheEJAy.js +7 -0
  491. package/dist/et-EE-Cs__RUB9.js +48 -0
  492. package/dist/et-EE-DmlaKK4B.js +57 -0
  493. package/dist/et-EE-DsLOML8r.js +70 -0
  494. package/dist/et-EE-Du3REm6O.js +7 -0
  495. package/dist/et-EE-GTXnG-3j.js +59 -0
  496. package/dist/et-EE-Mp-OiQL2.js +69 -0
  497. package/dist/et-EE-SeklRCmh.js +7 -0
  498. package/dist/et-EE-_uLrdnTi.js +23 -0
  499. package/dist/external-link-V6JPH8K0.js +20 -0
  500. package/dist/fi-FI-1nGlfW_t.js +7 -0
  501. package/dist/fi-FI-80q1y1Bb.js +59 -0
  502. package/dist/fi-FI-BKXhGjNk.js +26 -0
  503. package/dist/fi-FI-BY9X2DpF.js +31 -0
  504. package/dist/fi-FI-BcXm_vtP.js +7 -0
  505. package/dist/fi-FI-BcdVq2e0.js +23 -0
  506. package/dist/fi-FI-Bx1S9eQf.js +70 -0
  507. package/dist/fi-FI-Cl1vbAPV.js +18 -0
  508. package/dist/fi-FI-DdyNwoGb.js +7 -0
  509. package/dist/fi-FI-Dy_bfWw7.js +48 -0
  510. package/dist/fi-FI-Dz25oorf.js +7 -0
  511. package/dist/fi-FI-iyr94E5r.js +57 -0
  512. package/dist/fi-FI-n4x7ZOmh.js +7 -0
  513. package/dist/fi-FI-pvpGl_6s.js +69 -0
  514. package/dist/fieldConfigurations-m7oWP1DZ.js +11 -0
  515. package/dist/file-6a0FDVyq.js +37 -0
  516. package/dist/filterProblemsByTaskForms-DwS9T-_E.js +21 -0
  517. package/dist/form-rules-CvdV5rPY.js +7 -0
  518. package/dist/formFieldsUtils-CR7j1k8e.js +7 -0
  519. package/dist/formUtils-DCvL3uZG.js +78 -0
  520. package/dist/fr-FR-ANv8VCCV.js +7 -0
  521. package/dist/fr-FR-B9xNxWia.js +31 -0
  522. package/dist/fr-FR-CDTGvZzl.js +7 -0
  523. package/dist/fr-FR-CEWcwAJ-.js +7 -0
  524. package/dist/fr-FR-CMMz7OEo.js +69 -0
  525. package/dist/fr-FR-CqbeB381.js +7 -0
  526. package/dist/fr-FR-D2Ep3xgM.js +59 -0
  527. package/dist/fr-FR-DC_PZPwP.js +18 -0
  528. package/dist/fr-FR-DKjCgBfS.js +7 -0
  529. package/dist/fr-FR-DL8mtS3r.js +57 -0
  530. package/dist/fr-FR-DcXwaT3d.js +48 -0
  531. package/dist/fr-FR-DksMI4zV.js +70 -0
  532. package/dist/fr-FR-DzjwEGsx.js +26 -0
  533. package/dist/fr-FR-Ta6QBpqt.js +23 -0
  534. package/dist/fr-FR-bqkpOtF1.js +7 -0
  535. package/dist/funds-in-04OBDLJw.js +24 -0
  536. package/dist/get-scenarios-DnCVdYIC.js +24 -0
  537. package/dist/getLegalEntityCountry-C6bSV6sB.js +17 -0
  538. package/dist/getName-Bdwp_hkV.js +35 -0
  539. package/dist/getNestedPropertyKeys-CVAsNBJ8.js +18 -0
  540. package/dist/getProblemsForEntity-Df8xJUr2.js +16 -0
  541. package/dist/getProps-CkZCnNxW.js +98 -0
  542. package/dist/getTrustedFields-UVTLadau.js +45 -0
  543. package/dist/gift-C3MzdRIj.js +20 -0
  544. package/dist/globalStore-BsvLFLDr.js +418 -0
  545. package/dist/graph-BJ7yemhR.js +32 -0
  546. package/dist/graph-up-CWzty_jt.js +38 -0
  547. package/dist/headquarter-COstZFO7.js +42 -0
  548. package/dist/hotel-C1vO2ZiV.js +33 -0
  549. package/dist/house-BfjiK4vF.js +24 -0
  550. package/dist/hr-HR-B8MiNFt0.js +7 -0
  551. package/dist/hr-HR-Bp5qQwHS.js +48 -0
  552. package/dist/hr-HR-BqNvRwoc.js +7 -0
  553. package/dist/hr-HR-C4Bv0YpX.js +59 -0
  554. package/dist/hr-HR-CBySzkSl.js +7 -0
  555. package/dist/hr-HR-CJHkB1ko.js +69 -0
  556. package/dist/hr-HR-CLRdCbY_.js +7 -0
  557. package/dist/hr-HR-CMcgajLG.js +26 -0
  558. package/dist/hr-HR-CjbJFQJu.js +7 -0
  559. package/dist/hr-HR-Ck-S-k5d.js +23 -0
  560. package/dist/hr-HR-D0Xp4lTU.js +31 -0
  561. package/dist/hr-HR-EhBzx8FM.js +57 -0
  562. package/dist/hr-HR-FHDzcIUl.js +70 -0
  563. package/dist/hr-HR-pOpa3-4-.js +18 -0
  564. package/dist/http-btI4x32X.js +148 -0
  565. package/dist/hu-HU-3a4f6Po4.js +59 -0
  566. package/dist/hu-HU-BF3I2cDh.js +69 -0
  567. package/dist/hu-HU-BOCGei6J.js +31 -0
  568. package/dist/hu-HU-Bg2UoMm1.js +7 -0
  569. package/dist/hu-HU-C-gD2scj.js +7 -0
  570. package/dist/hu-HU-Cq3L3459.js +26 -0
  571. package/dist/hu-HU-CsOzXRwg.js +7 -0
  572. package/dist/hu-HU-DG9r7Yn5.js +18 -0
  573. package/dist/hu-HU-DHZf-Z1b.js +7 -0
  574. package/dist/hu-HU-DZmGYcpb.js +57 -0
  575. package/dist/hu-HU-DZnrPw7M.js +70 -0
  576. package/dist/hu-HU-HNscNs5I.js +48 -0
  577. package/dist/hu-HU-u7Q5hZ8M.js +23 -0
  578. package/dist/hu-HU-xJ7HEjBk.js +7 -0
  579. package/dist/id-blurred-DajPeUev.js +266 -0
  580. package/dist/id-cut-off-Cg7VH88-.js +242 -0
  581. package/dist/id-front-BFiC6TLx.js +237 -0
  582. package/dist/id-glare--tl3DxTG.js +218 -0
  583. package/dist/image-Ctf24Eqr.js +23 -0
  584. package/dist/info-CKFBABlx.js +32 -0
  585. package/dist/info-filled-BtKXWmDk.js +32 -0
  586. package/dist/invalidateRootLegalEntity-BbVdQNIY.js +45 -0
  587. package/dist/isEmpty-DFUWFV4h.js +14 -0
  588. package/dist/isEmptyEntity-BM_3oo07.js +44 -0
  589. package/dist/isNewEntity-4QusRCpP.js +7 -0
  590. package/dist/it-IT-4udyC9ua.js +7 -0
  591. package/dist/it-IT-BFVfcntm.js +31 -0
  592. package/dist/it-IT-BVcopRE0.js +57 -0
  593. package/dist/it-IT-Bncw2hQ-.js +69 -0
  594. package/dist/it-IT-C-OxfLhZ.js +48 -0
  595. package/dist/it-IT-C2wbwYWQ.js +59 -0
  596. package/dist/it-IT-CBQ2gGE7.js +7 -0
  597. package/dist/it-IT-CKYkplGl.js +23 -0
  598. package/dist/it-IT-Cd3oPF1M.js +18 -0
  599. package/dist/it-IT-D8RXfncB.js +7 -0
  600. package/dist/it-IT-DWt33Mig.js +70 -0
  601. package/dist/it-IT-DpTVTcDk.js +7 -0
  602. package/dist/it-IT-MRrAO1jy.js +7 -0
  603. package/dist/it-IT-YCjFrZ-Z.js +7 -0
  604. package/dist/it-IT-rGM1QmSW.js +26 -0
  605. package/dist/ja-JP-B8Rg2VNl.js +69 -0
  606. package/dist/ja-JP-BDPtYIpq.js +7 -0
  607. package/dist/ja-JP-C0ASZo79.js +196 -0
  608. package/dist/ja-JP-CLmtF9H_.js +31 -0
  609. package/dist/ja-JP-CNNwQyYR.js +70 -0
  610. package/dist/ja-JP-CQBoZgiC.js +23 -0
  611. package/dist/ja-JP-CgfF4yTt.js +48 -0
  612. package/dist/ja-JP-Cla1MJLj.js +7 -0
  613. package/dist/ja-JP-CsgosKvD.js +26 -0
  614. package/dist/ja-JP-DRYUrb3a.js +7 -0
  615. package/dist/ja-JP-DbHm_J96.js +7 -0
  616. package/dist/ja-JP-DieVzA1B.js +18 -0
  617. package/dist/ja-JP-DxUBevNe.js +59 -0
  618. package/dist/ja-JP-DyUgd4BE.js +57 -0
  619. package/dist/ja-JP-WirIWnQi.js +7 -0
  620. package/dist/ja-JP-uXR7c5rz.js +7 -0
  621. package/dist/japanSupportUtils-DcDqwV81.js +11 -0
  622. package/dist/jpAddressSchema-BQTiMBSQ.js +17 -0
  623. package/dist/keys-fzUbt2xF.js +20 -0
  624. package/dist/legal-entity-type-VIfNYnJP.js +13 -0
  625. package/dist/listToRecord-4wGOf00H.js +10 -0
  626. package/dist/localizeDateString-AhjDnkHD.js +35 -0
  627. package/dist/location-CpaR6p3k.js +23 -0
  628. package/dist/lt-LT-2d52byGI.js +70 -0
  629. package/dist/lt-LT-4dQRWgMS.js +7 -0
  630. package/dist/lt-LT-B9QsV1Fl.js +31 -0
  631. package/dist/lt-LT-BE20J_Fa.js +59 -0
  632. package/dist/lt-LT-BRFs6EyI.js +69 -0
  633. package/dist/lt-LT-CK-_FLDK.js +18 -0
  634. package/dist/lt-LT-CxHglunM.js +48 -0
  635. package/dist/lt-LT-CyVGhu0R.js +26 -0
  636. package/dist/lt-LT-DCexrILL.js +57 -0
  637. package/dist/lt-LT-DsKGJjAK.js +7 -0
  638. package/dist/lt-LT-Dv9CNqL5.js +23 -0
  639. package/dist/lt-LT-RYz2_iMh.js +7 -0
  640. package/dist/lt-LT-lr-xOt-0.js +7 -0
  641. package/dist/lt-LT-ykgOI1Lh.js +7 -0
  642. package/dist/lv-LV-1DHJcJtx.js +31 -0
  643. package/dist/lv-LV-7toRaVhs.js +7 -0
  644. package/dist/lv-LV-BXLZTnKa.js +59 -0
  645. package/dist/lv-LV-BZ6GdtSG.js +23 -0
  646. package/dist/lv-LV-BhvjJBtW.js +18 -0
  647. package/dist/lv-LV-CALhnU3h.js +48 -0
  648. package/dist/lv-LV-CrYidfpB.js +70 -0
  649. package/dist/lv-LV-DXmGZc4u.js +7 -0
  650. package/dist/lv-LV-Dlq59Kg7.js +26 -0
  651. package/dist/lv-LV-DykVV_JJ.js +7 -0
  652. package/dist/lv-LV-OjadvSbn.js +7 -0
  653. package/dist/lv-LV-pzQT6oF4.js +69 -0
  654. package/dist/lv-LV-qidnvuKE.js +7 -0
  655. package/dist/lv-LV-vUmm_Y8X.js +57 -0
  656. package/dist/mail-uoxYIc94.js +20 -0
  657. package/dist/mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js +66 -0
  658. package/dist/mapExistingFile-DdeA1Ya3.js +138 -0
  659. package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +61 -0
  660. package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +206 -0
  661. package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +44 -0
  662. package/dist/minus-circle-filled-B_E6PncD.js +30 -0
  663. package/dist/nl-NL-BOfLp7Kw.js +7 -0
  664. package/dist/nl-NL-Bfn1b5-H.js +18 -0
  665. package/dist/nl-NL-BsMqXzW2.js +7 -0
  666. package/dist/nl-NL-BtXGtpjP.js +70 -0
  667. package/dist/nl-NL-BxRQSueu.js +7 -0
  668. package/dist/nl-NL-Ch1_Ho4H2.js +7 -0
  669. package/dist/nl-NL-CoEgvakv.js +23 -0
  670. package/dist/nl-NL-CscaDll4.js +69 -0
  671. package/dist/nl-NL-D9OFsGYi.js +48 -0
  672. package/dist/nl-NL-DUzifJ-6.js +7 -0
  673. package/dist/nl-NL-DZOwYmdT.js +59 -0
  674. package/dist/nl-NL-DayMdZGS.js +26 -0
  675. package/dist/nl-NL-DcLEwsh6.js +31 -0
  676. package/dist/nl-NL-DpZ_sRQQ.js +57 -0
  677. package/dist/nl-NL-DrryYwRC.js +7 -0
  678. package/dist/no-NO-7cH_mYGz.js +23 -0
  679. package/dist/no-NO-BNo6BEI2.js +48 -0
  680. package/dist/no-NO-Bj-bFlwW.js +59 -0
  681. package/dist/no-NO-CMSuTQFP.js +7 -0
  682. package/dist/no-NO-COKvHr69.js +70 -0
  683. package/dist/no-NO-CeJtzvaa.js +57 -0
  684. package/dist/no-NO-CfYxgg3G.js +31 -0
  685. package/dist/no-NO-CpQs6Kuj.js +7 -0
  686. package/dist/no-NO-CveHyEMg.js +7 -0
  687. package/dist/no-NO-CzUEYJ6T2.js +7 -0
  688. package/dist/no-NO-DCPDmC0O.js +7 -0
  689. package/dist/no-NO-DFiHCQaa.js +18 -0
  690. package/dist/no-NO-DNxpnnM4.js +69 -0
  691. package/dist/no-NO-DphtE0hV.js +26 -0
  692. package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +20 -0
  693. package/dist/onfido-logo-EtpExIxa.js +18 -0
  694. package/dist/options-horizontal-CDJtmlVY.js +30 -0
  695. package/dist/partner-gFUctV1k.js +30 -0
  696. package/dist/passport-blurred-CeDXhPyb.js +266 -0
  697. package/dist/passport-cut-off-CvgvQJYC.js +246 -0
  698. package/dist/passport-front-DnOK4cgY.js +237 -0
  699. package/dist/passport-front-green-BOdOhMh6.js +479 -0
  700. package/dist/passport-glare-BMA9YxJd.js +222 -0
  701. package/dist/patternValidators-BaQxw3ki.js +73 -0
  702. package/dist/pay-by-link-plane-q4Bh-mWo.js +33 -0
  703. package/dist/payout-CpwcL7W1.js +38 -0
  704. package/dist/payout-bank-accounts-jW_Zgfqf.js +38 -0
  705. package/dist/payout-verification-instant-BLpp07Uv.js +156 -0
  706. package/dist/payout-verification-manual-BgjvhzA9.js +462 -0
  707. package/dist/person-B3rmhreD.js +23 -0
  708. package/dist/phonePrefixes-j_kb1wJm.js +252 -0
  709. package/dist/pl-PL-B6MlP7Xz.js +23 -0
  710. package/dist/pl-PL-BKJlxx_t.js +57 -0
  711. package/dist/pl-PL-BhRJVuU3.js +31 -0
  712. package/dist/pl-PL-BvYP_Mjz2.js +7 -0
  713. package/dist/pl-PL-CKZbiqpL.js +7 -0
  714. package/dist/pl-PL-CRanu6gn.js +48 -0
  715. package/dist/pl-PL-D-e2Z51f.js +70 -0
  716. package/dist/pl-PL-D2dgIhBU.js +18 -0
  717. package/dist/pl-PL-D6XdYdXs.js +7 -0
  718. package/dist/pl-PL-DEkGFDx6.js +7 -0
  719. package/dist/pl-PL-DcwGjG1k.js +7 -0
  720. package/dist/pl-PL-Ovy-dAEm.js +26 -0
  721. package/dist/pl-PL-V52qRKcx.js +69 -0
  722. package/dist/pl-PL-v95qJZ7W.js +59 -0
  723. package/dist/plaid-logo-JKKXRmk4.js +15 -0
  724. package/dist/plus-D1pu1FCh.js +20 -0
  725. package/dist/plus-circle-filled-BAKemMoO.js +30 -0
  726. package/dist/process-field-configurations-44gfzIGi.js +279 -0
  727. package/dist/processCapabilitites-BHzfFtSM.js +869 -0
  728. package/dist/pt-BR-B7FJvvCY2.js +7 -0
  729. package/dist/pt-BR-B7oDER2v.js +31 -0
  730. package/dist/pt-BR-B8YZ-Hqo.js +116 -0
  731. package/dist/pt-BR-BNfmjS7T.js +18 -0
  732. package/dist/pt-BR-B_tIsNF2.js +7 -0
  733. package/dist/pt-BR-C3oGCuLZ.js +23 -0
  734. package/dist/pt-BR-CL2QRxOt.js +57 -0
  735. package/dist/pt-BR-CPXL0egI.js +69 -0
  736. package/dist/pt-BR-CwEhFyDx.js +70 -0
  737. package/dist/pt-BR-D01BPIQ8.js +48 -0
  738. package/dist/pt-BR-DgAN88vt.js +26 -0
  739. package/dist/pt-BR-Dk284q8W.js +7 -0
  740. package/dist/pt-BR-DkGneNc5.js +7 -0
  741. package/dist/pt-BR-DyYEeGVr.js +7 -0
  742. package/dist/pt-BR-w4XP2Zc2.js +59 -0
  743. package/dist/pt-PT-5BekXyBw.js +26 -0
  744. package/dist/pt-PT-B0PlOQYf2.js +7 -0
  745. package/dist/pt-PT-BSNvIlJh.js +23 -0
  746. package/dist/pt-PT-C_6pNXKv.js +31 -0
  747. package/dist/pt-PT-CabKp0yt.js +7 -0
  748. package/dist/pt-PT-Cr2esDwf.js +69 -0
  749. package/dist/pt-PT-D3v24Se2.js +18 -0
  750. package/dist/pt-PT-DYQXla7J.js +7 -0
  751. package/dist/pt-PT-DYXnzP0x.js +59 -0
  752. package/dist/pt-PT-DfOrysaZ.js +7 -0
  753. package/dist/pt-PT-Dfp-0h0s.js +7 -0
  754. package/dist/pt-PT-DjZ0SeNY.js +48 -0
  755. package/dist/pt-PT-IOArlYPi.js +7 -0
  756. package/dist/pt-PT-of6NX5C7.js +70 -0
  757. package/dist/pt-PT-sZUWaieU.js +57 -0
  758. package/dist/recurring-BqOZk0GH.js +23 -0
  759. package/dist/reporting-DI9JGolm.js +20 -0
  760. package/dist/resolveEnvironment-CUQtdx0I.js +1176 -0
  761. package/dist/revenue-accelerate-CSszZfVF.js +30 -0
  762. package/dist/review-CkgZkiFy.js +19 -0
  763. package/dist/ro-RO-7VBqqH7o.js +31 -0
  764. package/dist/ro-RO-9NTYYrid.js +48 -0
  765. package/dist/ro-RO-BW4-_NrZ.js +57 -0
  766. package/dist/ro-RO-BXjIQG3P.js +7 -0
  767. package/dist/ro-RO-BZMTQGJJ2.js +7 -0
  768. package/dist/ro-RO-BlBqP0LV.js +18 -0
  769. package/dist/ro-RO-BtLXaAVi.js +26 -0
  770. package/dist/ro-RO-CBNP3GS_.js +7 -0
  771. package/dist/ro-RO-CGoDuoZa.js +70 -0
  772. package/dist/ro-RO-Can6URM1.js +23 -0
  773. package/dist/ro-RO-DH5uD9v9.js +7 -0
  774. package/dist/ro-RO-DUiDGCZU.js +59 -0
  775. package/dist/ro-RO-DYwkjw9d.js +69 -0
  776. package/dist/ro-RO-Dy9karNI.js +7 -0
  777. package/dist/roleMetadata-CP3ZYYSI.js +56 -0
  778. package/dist/save-BwoYyyYQ.js +20 -0
  779. package/dist/search-lRnoylK2.js +30 -0
  780. package/dist/show-Dpmp87ye.js +23 -0
  781. package/dist/singpass-logo--50WxD_p.js +22 -0
  782. package/dist/singpass-verification-instant-BHID0qRO.js +175 -0
  783. package/dist/singpass-verification-manual-DpefFA6C.js +141 -0
  784. package/dist/sk-SK-BDItYkrD.js +23 -0
  785. package/dist/sk-SK-BPDMxREF2.js +7 -0
  786. package/dist/sk-SK-Blzjm32C.js +7 -0
  787. package/dist/sk-SK-BmP_vrOT.js +7 -0
  788. package/dist/sk-SK-CAkLqBR-.js +48 -0
  789. package/dist/sk-SK-CJW-1wtq.js +7 -0
  790. package/dist/sk-SK-CZnhSCxt.js +18 -0
  791. package/dist/sk-SK-D2f2S35P.js +7 -0
  792. package/dist/sk-SK-DESgizdP.js +59 -0
  793. package/dist/sk-SK-fwnwR2zz.js +26 -0
  794. package/dist/sk-SK-qVeRKlxs.js +31 -0
  795. package/dist/sk-SK-vSn9yvb8.js +69 -0
  796. package/dist/sk-SK-vyxCXCDR.js +57 -0
  797. package/dist/sk-SK-wYLB-c3d.js +70 -0
  798. package/dist/sl-SI-B5xGgx5S.js +70 -0
  799. package/dist/sl-SI-BHztDEDm.js +59 -0
  800. package/dist/sl-SI-BxJgtZKP.js +69 -0
  801. package/dist/sl-SI-C0d32nxW.js +57 -0
  802. package/dist/sl-SI-C5FYCjwi.js +48 -0
  803. package/dist/sl-SI-CYVD9Yk1.js +26 -0
  804. package/dist/sl-SI-ChRXWdua.js +31 -0
  805. package/dist/sl-SI-D8NMKaco.js +7 -0
  806. package/dist/sl-SI-DHQWrn6C2.js +7 -0
  807. package/dist/sl-SI-DHxcpzya.js +7 -0
  808. package/dist/sl-SI-DPvusyJQ.js +7 -0
  809. package/dist/sl-SI-DuHn6HyC.js +7 -0
  810. package/dist/sl-SI-SNjGgOph.js +23 -0
  811. package/dist/sl-SI-rLQo_kKv.js +18 -0
  812. package/dist/solution-payments-DfH5DH9o.js +20 -0
  813. package/dist/store-mAgJeN44.js +20 -0
  814. package/dist/style.css +2070 -2038
  815. package/dist/styles-9jxW7TiP.js +5988 -0
  816. package/dist/summaryItem-Dehjwp8D.js +16 -0
  817. package/dist/sv-SE-BFFAjxxo.js +31 -0
  818. package/dist/sv-SE-BIHbDoRU.js +18 -0
  819. package/dist/sv-SE-B_VHF1Ec.js +7 -0
  820. package/dist/sv-SE-BfoCgwXl.js +7 -0
  821. package/dist/sv-SE-BhAr7iey.js +26 -0
  822. package/dist/sv-SE-Bre2IWV2.js +7 -0
  823. package/dist/sv-SE-CU-lNGyw.js +70 -0
  824. package/dist/sv-SE-CfgjwWHS.js +57 -0
  825. package/dist/sv-SE-Cos-ox5c.js +7 -0
  826. package/dist/sv-SE-D9Aj9VZ9.js +7 -0
  827. package/dist/sv-SE-DZq6vMfw2.js +7 -0
  828. package/dist/sv-SE-QRDrM1rH.js +23 -0
  829. package/dist/sv-SE-_iVNE7OY.js +69 -0
  830. package/dist/sv-SE-nA--xWZA.js +48 -0
  831. package/dist/sv-SE-znK8JjXi.js +59 -0
  832. package/dist/taskStatus-C7XU4UIF.js +21 -0
  833. package/dist/tax-reporting-graph-DEiE6q1X.js +906 -0
  834. package/dist/terminal-1-BlqlENmQ.js +30 -0
  835. package/dist/tink-logo-DQabT2Uk.js +15 -0
  836. package/dist/toFullWidth-CQcDriFa.js +52 -0
  837. package/dist/trackNavigation-LvCP5Vyc.js +15 -0
  838. package/dist/translation-G4HP2nQW.js +854 -0
  839. package/dist/trustMemberGuidance-B3VWjXzg.js +27 -0
  840. package/dist/trustUtil-BTHvlo55.js +99 -0
  841. package/dist/trusted-fields-provider-BHbX2hsp.js +10 -0
  842. package/dist/types/api/companySearch/useCompanySearch.d.ts +19 -12
  843. package/dist/types/api/invitations/invitations.types.d.ts +1 -1
  844. package/dist/types/api/invitations/useCreateInvitation.d.ts +2 -2
  845. package/dist/types/api/invitations/useInvitationStatus.d.ts +9 -0
  846. package/dist/types/api/invitations/useWithdrawInvitation.d.ts +8 -0
  847. package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +28 -0
  848. package/dist/types/api/queryKeys.d.ts +3 -2
  849. package/dist/types/api/tinVerification/useVerifyTin.d.ts +15 -10
  850. package/dist/types/api/toggles/useToggles.d.ts +1 -1
  851. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
  852. package/dist/types/components/BankAccount/forms/PayoutAccount/InstantVerificationCTA/InstantVerificationCTA.d.ts +4 -0
  853. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +3 -0
  854. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +2 -1
  855. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
  856. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -0
  857. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +142 -142
  858. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
  859. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/store.d.ts +3 -0
  860. package/dist/types/components/BankAccount/tasks/PayoutDetailsGettingStarted/PayoutDetailsGettingStarted.d.ts +7 -0
  861. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
  862. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +493 -493
  863. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +0 -2
  864. package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
  865. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +2 -0
  866. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +6 -1
  867. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useShareInvitation.d.ts +6 -0
  868. package/dist/types/components/Shared/Summary/summaryItem.d.ts +14 -8
  869. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  870. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
  871. package/dist/types/components/ui/atoms/Image/Image.d.ts +2 -1
  872. package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -0
  873. package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +1 -2
  874. package/dist/types/context/ToggleContext/types.d.ts +10 -1
  875. package/dist/types/context/handlerContext/HandlerContext.d.ts +2 -0
  876. package/dist/types/context/handlerContext/HandlerProvider.d.ts +2 -0
  877. package/dist/types/context/handlerContext/types.d.ts +9 -0
  878. package/dist/types/context/handlerContext/useHandlerContext.d.ts +1 -0
  879. package/dist/types/hooks/useFormComposer.d.ts +0 -1
  880. package/dist/types/index.d.ts +0 -2
  881. package/dist/types/types/form-rules.d.ts +2 -1
  882. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  883. package/dist/types/utils/performance.d.ts +2 -5
  884. package/dist/types/utils/validationError.d.ts +1 -0
  885. package/dist/types-BqFOt7-l.js +58 -0
  886. package/dist/types-CEAHkjXI.js +66 -0
  887. package/dist/types-CNZsK2dZ.js +31 -0
  888. package/dist/types-CXceqQIv.js +68 -0
  889. package/dist/types-DjTEjDpj.js +19 -0
  890. package/dist/unincorporated-partnership-5MvG_ts4.js +11 -0
  891. package/dist/upload-CIujAxWY.js +23 -0
  892. package/dist/us-check-account-number-EkWzylgz.js +157 -0
  893. package/dist/us-check-b9k7TlOd.js +144 -0
  894. package/dist/us-check-routing-number-ObI-JE-C.js +161 -0
  895. package/dist/useAccountHolder-LttF1BJG.js +102 -0
  896. package/dist/useAllowedCountries-B2tXNxdL.js +74 -0
  897. package/dist/useAnalyticsContext-BVFDMrVE.js +86 -0
  898. package/dist/useAssociatedLegalEntity-Dav_4ehd.js +35 -0
  899. package/dist/useBusinessDetailsData-DmromzC6.js +4395 -0
  900. package/dist/useBusinessLines-DGr43nU6.js +27 -0
  901. package/dist/useCanSeeIntroduction-ClAuT5gj.js +39 -0
  902. package/dist/useCapabilities-C3Re0QHQ.js +12 -0
  903. package/dist/useCreateLegalEntity-u6NuumMd.js +24 -0
  904. package/dist/useDataMissingRemediations-Cv_4vV2R.js +39 -0
  905. package/dist/useDataset-DA7SoxiX.js +96 -0
  906. package/dist/useDeleteTransferInstrument-Me9ITlCM.js +31 -0
  907. package/dist/useForm-CTiDrzeg.js +502 -0
  908. package/dist/useFormContext-6LTkbLR1.js +178 -0
  909. package/dist/useGlobalData-KEb46I95.js +164 -0
  910. package/dist/useId-eJSYfA6i.js +28 -0
  911. package/dist/useLegalEntity-Cj6C6bAI.js +48 -0
  912. package/dist/useMultiForm-CiK9l6YR.js +754 -0
  913. package/dist/useNavigate-B4pHnNyj.js +268 -0
  914. package/dist/useOnboardingStatus-BuYODvAM.js +23 -0
  915. package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +26 -0
  916. package/dist/useSalesChannels-BV-gSBhb.js +47 -0
  917. package/dist/useScenarios-DVTHREqP.js +55 -0
  918. package/dist/useSettingsContext-DzwVt0W0.js +15 -0
  919. package/dist/useTaskLandedEvent-DInxWeqN.js +23 -0
  920. package/dist/useTaskStatus-BjqC1s3K.js +51 -0
  921. package/dist/useTermsOfServiceStatus-BLMY5p8c.js +39 -0
  922. package/dist/useToastContext-CYgfHjSb.js +12 -0
  923. package/dist/useToggleContext-DaQUBF8O.js +21 -0
  924. package/dist/useTrustMembers-DbO0tmcu.js +152 -0
  925. package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +70 -0
  926. package/dist/useUpdateBusinessLines-BfYwukg9.js +296 -0
  927. package/dist/useUpdateLegalEntity-oigX0fKz.js +29 -0
  928. package/dist/utils-BAuFBG3J.js +88 -0
  929. package/dist/utils-BU2d-Zzu.js +805 -0
  930. package/dist/utils-CfTVU2Hq.js +207 -0
  931. package/dist/utils-CzW6YqAz.js +46 -0
  932. package/dist/utils-DXTGGW-J.js +188 -0
  933. package/dist/utils-oc3EdK6K.js +80 -0
  934. package/dist/validate-9_4V5MhN.js +387 -0
  935. package/dist/validate-C1II14sz.js +411 -0
  936. package/dist/validate-D4RU2PP0.js +109 -0
  937. package/dist/validationError-DhMlWpYp.js +68 -0
  938. package/dist/validationResult-D3sPVzMw.js +57 -0
  939. package/dist/validatorUtils-DRapRJ6z.js +107 -0
  940. package/dist/view-verification-status-CtW_qUMg.js +13 -0
  941. package/dist/warning-circle-fill-B8syKAww.js +30 -0
  942. package/dist/warning-diamond-filled-D81TURTB.js +30 -0
  943. package/dist/webinar-CA8zN8_B.js +33 -0
  944. package/dist/yapily-logo-BeowYojR.js +22 -0
  945. package/package.json +30 -34
  946. package/dist/4-people-BtDi7O9A.js +0 -24
  947. package/dist/AD-BQAadLyG.js +0 -23
  948. package/dist/AE-mIZ12t47.js +0 -25
  949. package/dist/AI-CYOqGKk2.js +0 -27
  950. package/dist/AL-BX1fEo1A.js +0 -27
  951. package/dist/AR-C9kMRnHG.js +0 -27
  952. package/dist/AS-B0TMZQ6o.js +0 -25
  953. package/dist/AT-BI8ju2NH.js +0 -23
  954. package/dist/AT-C_G2OvQI.js +0 -28
  955. package/dist/AT-EpV7jN58.js +0 -27
  956. package/dist/AT-TzG2NGTc.js +0 -30
  957. package/dist/AU-B5LSe4bo.js +0 -24
  958. package/dist/AU-CaovX9P8.js +0 -24
  959. package/dist/AU-CdwbD1qm.js +0 -32
  960. package/dist/AU-pBsEvEUy.js +0 -24
  961. package/dist/AX-Z6f6EnJc.js +0 -23
  962. package/dist/AZ-BqrKjWMH.js +0 -27
  963. package/dist/AcceptTermsOfServiceComponent-CFuKCmzi.js +0 -653
  964. package/dist/AccountSetupRejected-CJO8fFLr.js +0 -23
  965. package/dist/ActionBar-DW4IMRZg.js +0 -31
  966. package/dist/Address-Czpdu7Iv.js +0 -1109
  967. package/dist/Avatar-CaZQ-oyL.js +0 -60
  968. package/dist/BA-BbP72Tn6.js +0 -27
  969. package/dist/BE-CLggPbli.js +0 -26
  970. package/dist/BE-CU5o9cmc.js +0 -24
  971. package/dist/BE-H45zzgu4.js +0 -24
  972. package/dist/BE-nWHKW0xQ.js +0 -23
  973. package/dist/BG-HKzabLqZ.js +0 -27
  974. package/dist/BH-Ded1Eyrc.js +0 -27
  975. package/dist/BM-CBl-UQUl.js +0 -27
  976. package/dist/BR-BEHEZpeV.js +0 -31
  977. package/dist/BR-Dmkd5VjU.js +0 -27
  978. package/dist/BR-DsY9PZVZ.js +0 -26
  979. package/dist/BR-ORoHRwTk.js +0 -29
  980. package/dist/BS-dBfArxRw.js +0 -27
  981. package/dist/BV-D0QBsH7-.js +0 -27
  982. package/dist/BY-BsQUo3fM.js +0 -27
  983. package/dist/BusinessFinancingComponent-CvmqdPg-.js +0 -55
  984. package/dist/BusinessFinancingDropin-CA5D0PgR.js +0 -2271
  985. package/dist/BusinessFinancingPage-CcCpkh2o.js +0 -43
  986. package/dist/BusinessTypeSelectionPage-DxpkzhZp.js +0 -435
  987. package/dist/CA-BD18g8mh.js +0 -29
  988. package/dist/CA-BZ1GNmhP.js +0 -21
  989. package/dist/CA-DT4cmOOe.js +0 -25
  990. package/dist/CA-VXNq-m6m.js +0 -24
  991. package/dist/CH-B_-afpD_.js +0 -23
  992. package/dist/CH-BmabUdOH.js +0 -23
  993. package/dist/CH-DVyjmrDH.js +0 -25
  994. package/dist/CH-TX4BTE2y.js +0 -23
  995. package/dist/CN-BV-5PSpq.js +0 -27
  996. package/dist/CR-Dtv-rXg9.js +0 -27
  997. package/dist/CY-D59Nypl7.js +0 -23
  998. package/dist/CZ-1E7Zx2il.js +0 -26
  999. package/dist/CZ-B6iI1GbE.js +0 -33
  1000. package/dist/CZ-CTw_bQIu.js +0 -27
  1001. package/dist/CZ-DlzxobtN.js +0 -29
  1002. package/dist/Card-OQuFzmxm.js +0 -90
  1003. package/dist/Checkbox-BbVX_nZi.js +0 -74
  1004. package/dist/Confirm-DW7YOE1F.js +0 -64
  1005. package/dist/ConstitutionalDocument-CK6FFFwg.js +0 -2631
  1006. package/dist/ContactDetails-Dx7dJnqB.js +0 -389
  1007. package/dist/ContextGuidance-C7HDkmZU.js +0 -33
  1008. package/dist/ContractViewer-DcQHIGMU.js +0 -935
  1009. package/dist/CountryField-CAgo6wFJ.js +0 -64
  1010. package/dist/CreateIndividualComponent-BP_biPqN.js +0 -65
  1011. package/dist/CreateTransferInstrumentComponent-CAg8dLjP.js +0 -56
  1012. package/dist/Currency-DUnZGkXH.js +0 -232
  1013. package/dist/CustomerSupport-D2iXL505.js +0 -150
  1014. package/dist/DE-C_Lc7NP5.js +0 -32
  1015. package/dist/DE-CsuX_tSL.js +0 -23
  1016. package/dist/DE-D7HKgI77.js +0 -29
  1017. package/dist/DE-D_jIDxOH.js +0 -29
  1018. package/dist/DK-CVF9z_0t.js +0 -25
  1019. package/dist/DK-dBzrfgpQ.js +0 -27
  1020. package/dist/DK-oQEFrF6o.js +0 -33
  1021. package/dist/DK-x6M9-ek-.js +0 -24
  1022. package/dist/DO-B1BWc3Iy.js +0 -27
  1023. package/dist/DebugModal-CUcMO4o_.js +0 -444
  1024. package/dist/DecisionMakerDetails-Bp33aJUr.js +0 -275
  1025. package/dist/DecisionMakerDetailsPage-DSFo-4Sk.js +0 -104
  1026. package/dist/DecisionMakers-Bnvwoz_7.js +0 -680
  1027. package/dist/DetailViewLayout-Z9cuUp4X.js +0 -65
  1028. package/dist/Dropzone-F8Ut9D_V.js +0 -224
  1029. package/dist/EC-DbNXe71-.js +0 -28
  1030. package/dist/EE-3WZV5Ejt.js +0 -23
  1031. package/dist/ES-BlWV7xvh.js +0 -32
  1032. package/dist/ES-CeohntGo.js +0 -26
  1033. package/dist/ES-DYbZmFcJ.js +0 -27
  1034. package/dist/ES-NfxpqbC2.js +0 -23
  1035. package/dist/EmbeddedStatus-GocVl-7i.js +0 -97
  1036. package/dist/EndStateLayout-BBLxK9Q1.js +0 -71
  1037. package/dist/EntityAssociation-CpVhhf1f.js +0 -177
  1038. package/dist/EntityGuidanceStatus-BBdOh7as.js +0 -106
  1039. package/dist/ErrorPanel-D3OmtL80.js +0 -192
  1040. package/dist/FI-BOex4MFx.js +0 -21
  1041. package/dist/FI-C9nRvop7.js +0 -25
  1042. package/dist/FI-CF0teHDu.js +0 -26
  1043. package/dist/FI-CHQIvHa-.js +0 -23
  1044. package/dist/FJ-CBdbPf5l.js +0 -27
  1045. package/dist/FO-1pD1p939.js +0 -27
  1046. package/dist/FR-3wQ9FMtt.js +0 -29
  1047. package/dist/FR-BycGQO4W.js +0 -29
  1048. package/dist/FR-CAxkckai.js +0 -25
  1049. package/dist/FR-MWZyWX3x.js +0 -23
  1050. package/dist/Field-ClKiPVDa.js +0 -141
  1051. package/dist/FormNavigation-CbHvKnKB.js +0 -144
  1052. package/dist/GB-CCYHTagl.js +0 -33
  1053. package/dist/GB-C_AXeEDs.js +0 -32
  1054. package/dist/GB-DFyzo5sN.js +0 -24
  1055. package/dist/GB-DUnW-a4M.js +0 -24
  1056. package/dist/GE-Deog1a3Z.js +0 -27
  1057. package/dist/GF-Cda8N7A4.js +0 -23
  1058. package/dist/GG-CPoMVQPc.js +0 -33
  1059. package/dist/GI-DxmBwVD_.js +0 -41
  1060. package/dist/GL-0vO9Of9c.js +0 -27
  1061. package/dist/GP-za-3opp-.js +0 -23
  1062. package/dist/GR-Rk0pXlNw.js +0 -23
  1063. package/dist/GT-C1jhs-Dx.js +0 -27
  1064. package/dist/GU-CALV5vh1.js +0 -25
  1065. package/dist/HK-B16JHR8k.js +0 -25
  1066. package/dist/HK-BB3PIq-Z.js +0 -25
  1067. package/dist/HK-WqZ5UBEF.js +0 -24
  1068. package/dist/HK-eKVHN8Vg.js +0 -21
  1069. package/dist/HR-BHhcnUGU.js +0 -26
  1070. package/dist/HR-BRAjQoOH.js +0 -25
  1071. package/dist/HR-CRa19tH1.js +0 -27
  1072. package/dist/HR-WapHW2fw.js +0 -23
  1073. package/dist/HU-D5NCweWf.js +0 -27
  1074. package/dist/HU-DCOMuOhe.js +0 -32
  1075. package/dist/HU-DuWGRPke.js +0 -24
  1076. package/dist/HU-hfSSMbei.js +0 -21
  1077. package/dist/ID-BcOv4SXj.js +0 -27
  1078. package/dist/IE-BCDIfZoA.js +0 -30
  1079. package/dist/IE-BN3Eiv5M.js +0 -21
  1080. package/dist/IE-BkgtVgDi.js +0 -23
  1081. package/dist/IE-rhATS57q.js +0 -24
  1082. package/dist/IL-CQ0yHRRe.js +0 -23
  1083. package/dist/IM-Wr4iDT94.js +0 -33
  1084. package/dist/IN-BhEI9o7G.js +0 -28
  1085. package/dist/IS-C-Cgc6zp.js +0 -27
  1086. package/dist/IT-C1-PEPAb.js +0 -27
  1087. package/dist/IT-CBt6Os6J.js +0 -25
  1088. package/dist/IT-CXekiddL.js +0 -23
  1089. package/dist/IT-wD7dHdYD.js +0 -27
  1090. package/dist/Individual.rules-DChMs8iu.js +0 -390
  1091. package/dist/IndividualDropin-D--ImJNx.js +0 -5743
  1092. package/dist/InputDate-BajoDzsK.js +0 -43
  1093. package/dist/InputGroup-WBfGDV5F.js +0 -32
  1094. package/dist/InputText-C8kj07ZB.js +0 -134
  1095. package/dist/Introduction-ejHrYyaC.js +0 -251
  1096. package/dist/InvitedDecisionMakerComponent-BUrtBWme.js +0 -216
  1097. package/dist/JE-B4gj54Hg.js +0 -33
  1098. package/dist/JM-BMGgBK6y.js +0 -27
  1099. package/dist/JO-rY8A8f9C.js +0 -27
  1100. package/dist/JP-BQG5dF1Y.js +0 -28
  1101. package/dist/JpAddress-BpaKGrVA.js +0 -327
  1102. package/dist/KR-74SwXHka.js +0 -27
  1103. package/dist/KW-CcVPOJ8B.js +0 -27
  1104. package/dist/KY-DXCeltYA.js +0 -27
  1105. package/dist/KZ-CZNjdp22.js +0 -27
  1106. package/dist/LB-DZ5YfAsO.js +0 -27
  1107. package/dist/LI-L0ZAALRT.js +0 -23
  1108. package/dist/LT-0F72uCyI.js +0 -28
  1109. package/dist/LT-Ao2uagV9.js +0 -23
  1110. package/dist/LT-Dkevn83h.js +0 -19
  1111. package/dist/LT-V-VsHKlY.js +0 -28
  1112. package/dist/LU-B7LRUuc6.js +0 -23
  1113. package/dist/LV-DZeGjA2G.js +0 -23
  1114. package/dist/LandingLayout-B_Cw3o3Q.js +0 -61
  1115. package/dist/LegalCompanyNameField-BRzGJ-Ov.js +0 -138
  1116. package/dist/LegalRepresentativeDetailsPage-D71SlyLs.js +0 -55
  1117. package/dist/Link-DS54L_TE.js +0 -35
  1118. package/dist/List-BAzyC6sw.js +0 -83
  1119. package/dist/ListItem-CFcOIT6E.js +0 -69
  1120. package/dist/LoaderWrapper-DvyhRweQ.js +0 -42
  1121. package/dist/MC-EDVNGWhy.js +0 -23
  1122. package/dist/MD-DVc0183a.js +0 -27
  1123. package/dist/ME-DiJhSuli.js +0 -27
  1124. package/dist/MK-BZxslBTS.js +0 -27
  1125. package/dist/MP-7IpnbfCj.js +0 -25
  1126. package/dist/MQ-DusG_no1.js +0 -23
  1127. package/dist/MR-DaBVNHqN.js +0 -27
  1128. package/dist/MT-B9my7RlP.js +0 -23
  1129. package/dist/MU-D3gGVu1R.js +0 -27
  1130. package/dist/MX-CZVOFg3D.js +0 -25
  1131. package/dist/MY-ym71svTa.js +0 -24
  1132. package/dist/ManageIndividualComponent-BXxl7p95.js +0 -46
  1133. package/dist/ManageTermsOfServiceComponent-4e_ydA_6.js +0 -52
  1134. package/dist/ManageTransferInstrumentComponent-D52NH0jS.js +0 -290
  1135. package/dist/MaskedInput-ApBB9ewS.js +0 -811
  1136. package/dist/MaybeModal-l7k-LBMJ.js +0 -36
  1137. package/dist/Modal-C5mnAneL.js +0 -137
  1138. package/dist/NC-xzMvjp9-.js +0 -27
  1139. package/dist/NL-4Y7A2IJp.js +0 -27
  1140. package/dist/NL-VXAFOhV5.js +0 -23
  1141. package/dist/NL-q2U2l276.js +0 -27
  1142. package/dist/NL-zm__7LWV.js +0 -23
  1143. package/dist/NO-BAcMdKUJ.js +0 -22
  1144. package/dist/NO-CX12Zsf_.js +0 -27
  1145. package/dist/NO-Cx1VSh2W.js +0 -32
  1146. package/dist/NO-Div5P6IZ.js +0 -29
  1147. package/dist/NZ-BP7_Q9Om.js +0 -22
  1148. package/dist/NZ-DDRknBQk.js +0 -20
  1149. package/dist/Name-BVk4_a2-.js +0 -81
  1150. package/dist/NewSummary-R9k7ZbPo.js +0 -60
  1151. package/dist/OnboardingDropinComponent-45YclRJI.js +0 -3291
  1152. package/dist/PE-CdxgPh3v.js +0 -27
  1153. package/dist/PF-CstaOd9Z.js +0 -27
  1154. package/dist/PH-BYgMDYIH.js +0 -27
  1155. package/dist/PK-bLhtgsEk.js +0 -27
  1156. package/dist/PL-BZW1hGvD.js +0 -32
  1157. package/dist/PL-CwCXF3Yu.js +0 -28
  1158. package/dist/PL-D6_6gquq.js +0 -27
  1159. package/dist/PL-DKgMtNxx.js +0 -27
  1160. package/dist/PM-BWbxAh4u.js +0 -23
  1161. package/dist/PR-CFPKXEXp.js +0 -25
  1162. package/dist/PS-B8obOOWY.js +0 -27
  1163. package/dist/PT-C2dln191.js +0 -26
  1164. package/dist/PT-CpKb15My.js +0 -30
  1165. package/dist/PT-Dei5v1nD.js +0 -28
  1166. package/dist/PT-OpU4MU3L.js +0 -23
  1167. package/dist/PayoutDetailsDropin-1vKgokN-.js +0 -4226
  1168. package/dist/PayoutDetailsPage-CXwueRbW.js +0 -914
  1169. package/dist/ProgressBar-B7gTQncy.js +0 -47
  1170. package/dist/QA-CSfx-mvb.js +0 -27
  1171. package/dist/RE-BApq1FJ6.js +0 -23
  1172. package/dist/RO-Bmsg2YGZ.js +0 -23
  1173. package/dist/RO-C_utD--1.js +0 -19
  1174. package/dist/RO-Cz6Sh0ls.js +0 -23
  1175. package/dist/RO-Dxk08mOu.js +0 -27
  1176. package/dist/RS-BCenke-W.js +0 -27
  1177. package/dist/RU-D27RC7dq.js +0 -27
  1178. package/dist/Radio-BMtxBpnn.js +0 -39
  1179. package/dist/RadioGroup-CbeNPI_8.js +0 -100
  1180. package/dist/Review-DzrxzNY0.js +0 -82
  1181. package/dist/RootBusinessDetailsPage-eStzwQJf.js +0 -50
  1182. package/dist/RootBusinessLinesPage-omnttABd.js +0 -1538
  1183. package/dist/RootIndividualDetailsPage-BcxaLjad.js +0 -62
  1184. package/dist/SA-C9VgxCgm.js +0 -27
  1185. package/dist/SE-AP3gLiyy.js +0 -27
  1186. package/dist/SE-B5K-FkQd.js +0 -33
  1187. package/dist/SE-BqGOP1F1.js +0 -22
  1188. package/dist/SE-Br1yrUhV.js +0 -27
  1189. package/dist/SG-DMcOb17i.js +0 -24
  1190. package/dist/SG-DoCqjlFi.js +0 -24
  1191. package/dist/SG-d-PTZAoA.js +0 -28
  1192. package/dist/SG-dEj6fGdY.js +0 -24
  1193. package/dist/SI-BOGTNLPa.js +0 -23
  1194. package/dist/SI-BPx_gt1n.js +0 -26
  1195. package/dist/SI-BXe-yndm.js +0 -27
  1196. package/dist/SI-DBADzvYO.js +0 -22
  1197. package/dist/SJ-Z9jwQQlz.js +0 -27
  1198. package/dist/SK-BOVrp_Av.js +0 -23
  1199. package/dist/SK-DamCBYsZ.js +0 -22
  1200. package/dist/SK-DeSZ6Sa9.js +0 -29
  1201. package/dist/SK-DwdgoGnD.js +0 -27
  1202. package/dist/SM-meowwILA.js +0 -23
  1203. package/dist/Select-Czm2JclY.js +0 -868
  1204. package/dist/SignPCIComponent-DXAeetcT.js +0 -301
  1205. package/dist/SingpassSelection-CPgrgp4C.js +0 -269
  1206. package/dist/SoleProprietorshipPage-DmIKoFtO.js +0 -50
  1207. package/dist/SourceOfFundsPage-DofHZlzT.js +0 -2335
  1208. package/dist/Spacer-BK3jDget.js +0 -18
  1209. package/dist/StepProgressIndicator-rIXID-AK.js +0 -78
  1210. package/dist/StoreProvider-Bt6bLVE-.js +0 -5560
  1211. package/dist/StructuredList-CNha20ka.js +0 -61
  1212. package/dist/Summary-BUJLYAgF.js +0 -213
  1213. package/dist/TF-BOWng-Dz.js +0 -27
  1214. package/dist/TH-CvyXLcZK.js +0 -28
  1215. package/dist/TL-BWslydRz.js +0 -27
  1216. package/dist/TN-Cjd3bM_V.js +0 -27
  1217. package/dist/TR-BBx5CuWS.js +0 -27
  1218. package/dist/TT-D4-z5BA-.js +0 -28
  1219. package/dist/TW-BC8YpnMr.js +0 -29
  1220. package/dist/Tag-DdkVScyr.js +0 -41
  1221. package/dist/TaxInformationField-CknxoOIl.js +0 -3498
  1222. package/dist/TaxReportingDropin-Bn4a54-x.js +0 -501
  1223. package/dist/TextArea-CKD5zTKW.js +0 -103
  1224. package/dist/TileGroup-UvRO_GGK.js +0 -203
  1225. package/dist/TrustDetailsPage-BBg2UhIm.js +0 -2167
  1226. package/dist/TrustMemberCompanyPage-sG_Tsffg.js +0 -68
  1227. package/dist/TrustMemberIndividualPage-Cpk0LIwl.js +0 -64
  1228. package/dist/TrustMemberRoleAndTypePage-h8cM9Ltb.js +0 -1078
  1229. package/dist/TrustMembersOverview-Hqb3o_y6.js +0 -433
  1230. package/dist/UA-DrXUnAe6.js +0 -27
  1231. package/dist/US-CZw-MX1-.js +0 -29
  1232. package/dist/US-CxBcdqfz.js +0 -22
  1233. package/dist/US-D8dI5_i1.js +0 -25
  1234. package/dist/US-DHxLSqeC.js +0 -24
  1235. package/dist/UY-DEHqLXhX.js +0 -27
  1236. package/dist/UnincorporatedPartnershipIndividualPage-CdpFVv2I.js +0 -63
  1237. package/dist/UnincorporatedPartnershipMemberCompanyPage-CuOQsMrw.js +0 -71
  1238. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BLcsgLCP.js +0 -291
  1239. package/dist/UnincorporatedPartnershipMembersOverview-ClQQnnrs.js +0 -169
  1240. package/dist/VA-DXsYTCoh.js +0 -23
  1241. package/dist/VG-DnKAVCsi.js +0 -27
  1242. package/dist/VI-CU9MA9ux.js +0 -25
  1243. package/dist/VN-CTSqsmB6.js +0 -27
  1244. package/dist/VerificationErrorAlert-Clxb4YjL.js +0 -79
  1245. package/dist/ViewVerificationStatusComponent-yJyifkQm.js +0 -180
  1246. package/dist/WF-CwHbsjtJ.js +0 -27
  1247. package/dist/YT-BCyAAbo7.js +0 -23
  1248. package/dist/ZA-NU7slima.js +0 -28
  1249. package/dist/adyen-kyc-components.js +0 -451
  1250. package/dist/arrow-right-BoqwUH_d.js +0 -14
  1251. package/dist/bafinUtils-DsUdZgzH.js +0 -92
  1252. package/dist/bag-BXVWLrwo.js +0 -14
  1253. package/dist/bank-1GvaHPAZ.js +0 -14
  1254. package/dist/basePatterns-BwdnMQxI.js +0 -15
  1255. package/dist/bg-BG-89Mw-9Lv.js +0 -75
  1256. package/dist/bg-BG-BY3Wa361.js +0 -54
  1257. package/dist/bg-BG-BnwkqGm9.js +0 -13
  1258. package/dist/bg-BG-BvLl6gaB.js +0 -13
  1259. package/dist/bg-BG-C9zrgb_c.js +0 -76
  1260. package/dist/bg-BG-CEipapl4.js +0 -63
  1261. package/dist/bg-BG-CFuVZnaC.js +0 -13
  1262. package/dist/bg-BG-Coja327N.js +0 -24
  1263. package/dist/bg-BG-Cz7Cuw8v.js +0 -29
  1264. package/dist/bg-BG-DKld3x63.js +0 -13
  1265. package/dist/bg-BG-DbFzLQK7.js +0 -37
  1266. package/dist/bg-BG-DcxZ1tmt.js +0 -32
  1267. package/dist/bg-BG-dmpv4Zom.js +0 -13
  1268. package/dist/bg-BG-zZhDshGi.js +0 -65
  1269. package/dist/bin-Ba-3ll8T.js +0 -18
  1270. package/dist/business-lines-BAqTbnBw.js +0 -135
  1271. package/dist/capital-9TKHySO7.js +0 -17
  1272. package/dist/cash-stack-DwYu4xNy.js +0 -22
  1273. package/dist/certificate-N2YFedpI.js +0 -17
  1274. package/dist/checkmark-D9dGhGpG.js +0 -14
  1275. package/dist/checkmark-circle-CFWClLQ6.js +0 -20
  1276. package/dist/checkmark-circle-fill-DEB-tuGl.js +0 -17
  1277. package/dist/checkmark-small-D3VNx2lo.js +0 -14
  1278. package/dist/chevron-down-C7SUSYfl.js +0 -14
  1279. package/dist/chevron-left-BXmd-S46.js +0 -14
  1280. package/dist/chevron-right-jE6RwM2B.js +0 -14
  1281. package/dist/chevron-up-BdfNcqzq.js +0 -14
  1282. package/dist/circle-BJPTMCWB.js +0 -17
  1283. package/dist/circle-small-filled-BuO8Vg8j.js +0 -14
  1284. package/dist/clock-DAzaBRWk.js +0 -20
  1285. package/dist/coins-DYdzG5e_.js +0 -17
  1286. package/dist/commonValidators-2G1K0mHC.js +0 -24
  1287. package/dist/contract-BfJb1t6M.js +0 -14
  1288. package/dist/cross-CDS_eot4.js +0 -14
  1289. package/dist/cross-circle-fill-C-EJ57Yn.js +0 -17
  1290. package/dist/cross-circle-fill-small-DkPjsuBH.js +0 -14
  1291. package/dist/cs-CZ-6rOIfRJu.js +0 -13
  1292. package/dist/cs-CZ-B-zm6HVH.js +0 -76
  1293. package/dist/cs-CZ-BBLagJI6.js +0 -13
  1294. package/dist/cs-CZ-BEFeaKsV.js +0 -54
  1295. package/dist/cs-CZ-BHbWTH_v.js +0 -63
  1296. package/dist/cs-CZ-BeMYkFfD.js +0 -13
  1297. package/dist/cs-CZ-BlrV3tkx.js +0 -29
  1298. package/dist/cs-CZ-CBuNZ7UO.js +0 -37
  1299. package/dist/cs-CZ-CTxXvHtH.js +0 -75
  1300. package/dist/cs-CZ-CYsR__kj.js +0 -13
  1301. package/dist/cs-CZ-Ck22NTT9.js +0 -65
  1302. package/dist/cs-CZ-D4Hg-t16.js +0 -32
  1303. package/dist/cs-CZ-DXtJsBPz.js +0 -24
  1304. package/dist/cs-CZ-hT5w5It6.js +0 -13
  1305. package/dist/currency-CrdnaaDu.js +0 -35
  1306. package/dist/da-DK-B3Pg-MWO.js +0 -13
  1307. package/dist/da-DK-CGhsIGZt.js +0 -76
  1308. package/dist/da-DK-CLdNh9JT.js +0 -37
  1309. package/dist/da-DK-CM1onr3w.js +0 -29
  1310. package/dist/da-DK-C_GqHCay.js +0 -13
  1311. package/dist/da-DK-D6UK8XT9.js +0 -54
  1312. package/dist/da-DK-D9FgPh5e.js +0 -13
  1313. package/dist/da-DK-DCJhV2qS.js +0 -32
  1314. package/dist/da-DK-DQ4ZYSea.js +0 -65
  1315. package/dist/da-DK-DWA8uOd8.js +0 -24
  1316. package/dist/da-DK-DZwlENGe.js +0 -13
  1317. package/dist/da-DK-D_TOcmOO.js +0 -75
  1318. package/dist/da-DK-mUuPR2YO.js +0 -13
  1319. package/dist/da-DK-vcVNQJbX.js +0 -63
  1320. package/dist/de-DE-B3nctkG8.js +0 -13
  1321. package/dist/de-DE-BT5g7ZXC.js +0 -37
  1322. package/dist/de-DE-BmWBo3gX.js +0 -13
  1323. package/dist/de-DE-CA4mYLwp.js +0 -29
  1324. package/dist/de-DE-CWEW2yqg.js +0 -63
  1325. package/dist/de-DE-Cg_RNIr-.js +0 -13
  1326. package/dist/de-DE-CkbOZ6S_.js +0 -65
  1327. package/dist/de-DE-CwT6O212.js +0 -13
  1328. package/dist/de-DE-D50lGOJE.js +0 -24
  1329. package/dist/de-DE-DUl6gRKv.js +0 -54
  1330. package/dist/de-DE-DXR3EpEc.js +0 -13
  1331. package/dist/de-DE-DYzAiXHM.js +0 -75
  1332. package/dist/de-DE-DwOQKCuU.js +0 -32
  1333. package/dist/de-DE-K9FyOJiI.js +0 -76
  1334. package/dist/de-DE-S6qDey1L.js +0 -13
  1335. package/dist/debouncedInputEvent-Cv2S512Y.js +0 -46
  1336. package/dist/debugStore-BvbyN1Oi.js +0 -14
  1337. package/dist/decision-makers-group-DrvpnEqj.js +0 -1944
  1338. package/dist/digital-wallet-Bx5YM1LY.js +0 -46
  1339. package/dist/document-1-qlSTF558.js +0 -14
  1340. package/dist/document-blurred-BiWap0xs.js +0 -37
  1341. package/dist/document-cut-off-aQezqOif.js +0 -32
  1342. package/dist/document-expired-BhBXaWWQ.js +0 -38
  1343. package/dist/document-front-DYuhZGeQ.js +0 -30
  1344. package/dist/document-person-CDbnTOdV.js +0 -20
  1345. package/dist/download-BZQB1WkZ.js +0 -17
  1346. package/dist/dropinUtils-D3x5I-79.js +0 -256
  1347. package/dist/edit-1-DAqtnOIx.js +0 -14
  1348. package/dist/el-GR-B5j7VZ3E.js +0 -54
  1349. package/dist/el-GR-B78b9rSH.js +0 -63
  1350. package/dist/el-GR-BuAfpG6u.js +0 -13
  1351. package/dist/el-GR-BvRBuezU.js +0 -37
  1352. package/dist/el-GR-CKHMsdx2.js +0 -24
  1353. package/dist/el-GR-CdgLZhuO.js +0 -13
  1354. package/dist/el-GR-D6XimdV5.js +0 -29
  1355. package/dist/el-GR-DItzpoar.js +0 -75
  1356. package/dist/el-GR-DoS_Va-n.js +0 -13
  1357. package/dist/el-GR-DtFE64KX.js +0 -13
  1358. package/dist/el-GR-DudORw4U.js +0 -65
  1359. package/dist/el-GR-Fo7-xCrc.js +0 -13
  1360. package/dist/el-GR-Hk4NbZSY.js +0 -32
  1361. package/dist/el-GR-L-39cQfz.js +0 -76
  1362. package/dist/el-GR-ZRGBgvMu.js +0 -13
  1363. package/dist/emitEvent-CzZf80Am.js +0 -28
  1364. package/dist/en-US-9KQC6F8-.js +0 -218
  1365. package/dist/en-US-AgtwE4Fl.js +0 -63
  1366. package/dist/en-US-B-qSAb-7.js +0 -66
  1367. package/dist/en-US-BQZhzROc.js +0 -32
  1368. package/dist/en-US-BSQXKu6d.js +0 -54
  1369. package/dist/en-US-CTbVLoNF.js +0 -13
  1370. package/dist/en-US-C_9Fc9mP.js +0 -82
  1371. package/dist/en-US-CfazE4ht.js +0 -13
  1372. package/dist/en-US-CgakND3H.js +0 -37
  1373. package/dist/en-US-D2yrwtzT.js +0 -24
  1374. package/dist/en-US-DIlZD5Wh.js +0 -76
  1375. package/dist/en-US-DPoDE0uz.js +0 -75
  1376. package/dist/en-US-DSoLr6rp.js +0 -13
  1377. package/dist/en-US-DWT3bRZC.js +0 -122
  1378. package/dist/en-US-Do3mE4BR.js +0 -46
  1379. package/dist/en-US-DrUYyPhF.js +0 -13
  1380. package/dist/en-US-PLYPmyFJ.js +0 -66
  1381. package/dist/en-US-QbdqemZi.js +0 -202
  1382. package/dist/en-US-fDACdKtT.js +0 -29
  1383. package/dist/en-US-qlQTJNiL.js +0 -13
  1384. package/dist/en-US.instructions-CfIM2SRF.js +0 -21
  1385. package/dist/es-ES-4FS7NoE7.js +0 -37
  1386. package/dist/es-ES-BAolMrZ0.js +0 -65
  1387. package/dist/es-ES-BBcx4tvi.js +0 -29
  1388. package/dist/es-ES-BOoPqnPI.js +0 -32
  1389. package/dist/es-ES-BRfK6tX7.js +0 -13
  1390. package/dist/es-ES-BYl5-PFR.js +0 -13
  1391. package/dist/es-ES-BZiC4JWr.js +0 -13
  1392. package/dist/es-ES-Bh8k9Zx8.js +0 -13
  1393. package/dist/es-ES-BkqlH093.js +0 -13
  1394. package/dist/es-ES-BmH6eADf.js +0 -75
  1395. package/dist/es-ES-CDgjGql5.js +0 -63
  1396. package/dist/es-ES-Cavm0szq.js +0 -54
  1397. package/dist/es-ES-DF_L5EDd.js +0 -24
  1398. package/dist/es-ES-TUyeIp6F.js +0 -76
  1399. package/dist/es-ES-yMXcOjDL.js +0 -13
  1400. package/dist/et-EE-4fHYOoff.js +0 -13
  1401. package/dist/et-EE-BBnYC5q8.js +0 -13
  1402. package/dist/et-EE-BOIrYrz9.js +0 -65
  1403. package/dist/et-EE-B_Wk8564.js +0 -29
  1404. package/dist/et-EE-Be__VK7Y.js +0 -32
  1405. package/dist/et-EE-BuBiNLCi.js +0 -24
  1406. package/dist/et-EE-C8RrUpLm.js +0 -13
  1407. package/dist/et-EE-CksV5_e1.js +0 -37
  1408. package/dist/et-EE-Cw_VydGb.js +0 -76
  1409. package/dist/et-EE-D0PMC4ie.js +0 -63
  1410. package/dist/et-EE-DSZa_33d.js +0 -75
  1411. package/dist/et-EE-DUWZ2Vqm.js +0 -54
  1412. package/dist/et-EE-D_NmrrzQ.js +0 -13
  1413. package/dist/et-EE-H8yxvhQj.js +0 -13
  1414. package/dist/external-link-Cg6pJaSJ.js +0 -14
  1415. package/dist/fi-FI-BKu826v5.js +0 -29
  1416. package/dist/fi-FI-BfwJVwi9.js +0 -13
  1417. package/dist/fi-FI-CEH4BfU3.js +0 -13
  1418. package/dist/fi-FI-CsZlDJFb.js +0 -63
  1419. package/dist/fi-FI-D8WrLxxq.js +0 -65
  1420. package/dist/fi-FI-DFxljML-.js +0 -13
  1421. package/dist/fi-FI-DH6jpo9K.js +0 -24
  1422. package/dist/fi-FI-DJ8BbVPT.js +0 -75
  1423. package/dist/fi-FI-DVa-ccaW.js +0 -54
  1424. package/dist/fi-FI-DhUeTfn1.js +0 -13
  1425. package/dist/fi-FI-XpnJRPgt.js +0 -37
  1426. package/dist/fi-FI-bZzNB1WB.js +0 -32
  1427. package/dist/fi-FI-tgvQX_Iq.js +0 -76
  1428. package/dist/fi-FI-xqnQ38yC.js +0 -13
  1429. package/dist/fieldConfigurations-BUT9DTUH.js +0 -21
  1430. package/dist/file-CiG1D0zy.js +0 -42
  1431. package/dist/form-rules-DhbF2mY4.js +0 -13
  1432. package/dist/formUtils-C1nur8r7.js +0 -92
  1433. package/dist/fr-FR-BSynpexF.js +0 -13
  1434. package/dist/fr-FR-Beljeilc.js +0 -65
  1435. package/dist/fr-FR-BnblnBsx.js +0 -24
  1436. package/dist/fr-FR-C7iSS-OS.js +0 -29
  1437. package/dist/fr-FR-CY9emHgF.js +0 -54
  1438. package/dist/fr-FR-CocDMzBc.js +0 -13
  1439. package/dist/fr-FR-CzjsW73Q.js +0 -13
  1440. package/dist/fr-FR-D533_MOG.js +0 -75
  1441. package/dist/fr-FR-DPehHVb6.js +0 -13
  1442. package/dist/fr-FR-Dk6Lw2On.js +0 -13
  1443. package/dist/fr-FR-NxOktkWc.js +0 -13
  1444. package/dist/fr-FR-TqAhPvzz.js +0 -37
  1445. package/dist/fr-FR-VoxPkXSc.js +0 -63
  1446. package/dist/fr-FR-cTKcuHqX.js +0 -32
  1447. package/dist/fr-FR-ynC19lSF.js +0 -76
  1448. package/dist/funds-in-CInoUdmG.js +0 -21
  1449. package/dist/getName-B_JUBLVR.js +0 -41
  1450. package/dist/getProblemsForEntity-BSfnPYoe.js +0 -24
  1451. package/dist/getProps-Cc3J2-z9.js +0 -148
  1452. package/dist/getTrustedFields-CEoqo2CR.js +0 -104
  1453. package/dist/gift-omNInZeB.js +0 -14
  1454. package/dist/graph-DunG_uu1.js +0 -21
  1455. package/dist/graph-up-BZze4i6m.js +0 -20
  1456. package/dist/headquarter-BhpSibFO.js +0 -21
  1457. package/dist/hotel-Cp7VgGCJ.js +0 -22
  1458. package/dist/house-BhyBQdR3.js +0 -21
  1459. package/dist/hr-HR--5syrowD.js +0 -76
  1460. package/dist/hr-HR-Bjx-KdVs.js +0 -13
  1461. package/dist/hr-HR-CIxdonpk.js +0 -75
  1462. package/dist/hr-HR-CKZ_yuXC.js +0 -37
  1463. package/dist/hr-HR-CbdP2tk-.js +0 -63
  1464. package/dist/hr-HR-CnP5sqih.js +0 -54
  1465. package/dist/hr-HR-ComCqan_.js +0 -32
  1466. package/dist/hr-HR-D5V7g9H2.js +0 -13
  1467. package/dist/hr-HR-D9OGeEuB.js +0 -13
  1468. package/dist/hr-HR-D_MUIhtx.js +0 -13
  1469. package/dist/hr-HR-De5kHU8U.js +0 -24
  1470. package/dist/hr-HR-ZrpQrsik.js +0 -13
  1471. package/dist/hr-HR-g88yM2q1.js +0 -29
  1472. package/dist/hr-HR-lIHN6Yl2.js +0 -65
  1473. package/dist/hu-HU--6ZxXlbV.js +0 -75
  1474. package/dist/hu-HU-B-lUkFnQ.js +0 -13
  1475. package/dist/hu-HU-BEV8uVRt.js +0 -37
  1476. package/dist/hu-HU-BFiGk_QT.js +0 -76
  1477. package/dist/hu-HU-BTlpbCpc.js +0 -54
  1478. package/dist/hu-HU-BcogZby3.js +0 -24
  1479. package/dist/hu-HU-ByRdd0O_.js +0 -29
  1480. package/dist/hu-HU-CWdwNCev.js +0 -65
  1481. package/dist/hu-HU-DUGz5q5D.js +0 -32
  1482. package/dist/hu-HU-DjaoFDqm.js +0 -13
  1483. package/dist/hu-HU-Ds3go4h4.js +0 -13
  1484. package/dist/hu-HU-LxStrFGU.js +0 -13
  1485. package/dist/hu-HU-hbVM6tMS.js +0 -13
  1486. package/dist/hu-HU-pFpTvMiD.js +0 -63
  1487. package/dist/id-blurred-B5lHEP8M.js +0 -59
  1488. package/dist/id-cut-off-Ba1FRzKO.js +0 -55
  1489. package/dist/id-front-CpNWN6nG.js +0 -52
  1490. package/dist/id-glare-DgCQON8k.js +0 -49
  1491. package/dist/image-CmB0ioUM.js +0 -17
  1492. package/dist/info-Bb_-xIEK.js +0 -21
  1493. package/dist/info-filled-CK8LB339.js +0 -17
  1494. package/dist/isEmpty-CpSE7NAw.js +0 -23
  1495. package/dist/it-IT-5a7NHVFo.js +0 -65
  1496. package/dist/it-IT-B4bk2Xev.js +0 -13
  1497. package/dist/it-IT-B5cf2VTN.js +0 -75
  1498. package/dist/it-IT-C0Zv5ms9.js +0 -76
  1499. package/dist/it-IT-CUrn0j1I.js +0 -29
  1500. package/dist/it-IT-C_651bEP.js +0 -13
  1501. package/dist/it-IT-Ckv8Ce4e.js +0 -24
  1502. package/dist/it-IT-D-jYXj6V.js +0 -37
  1503. package/dist/it-IT-D7G4BaP7.js +0 -13
  1504. package/dist/it-IT-DERflsUd.js +0 -32
  1505. package/dist/it-IT-DOBp2-MP.js +0 -13
  1506. package/dist/it-IT-DZjw9LNC.js +0 -63
  1507. package/dist/it-IT-Dx15tkIe.js +0 -13
  1508. package/dist/it-IT-GgHc0cHR.js +0 -54
  1509. package/dist/it-IT-OppZz3gW.js +0 -13
  1510. package/dist/ja-JP--u211vje.js +0 -76
  1511. package/dist/ja-JP-8yMqZqF2.js +0 -37
  1512. package/dist/ja-JP-BoxeBgOv.js +0 -32
  1513. package/dist/ja-JP-BqluCflj.js +0 -63
  1514. package/dist/ja-JP-CbP1sVFP.js +0 -29
  1515. package/dist/ja-JP-CbgaW99b.js +0 -54
  1516. package/dist/ja-JP-CethQRoG.js +0 -13
  1517. package/dist/ja-JP-CvNJvxkQ.js +0 -218
  1518. package/dist/ja-JP-DK55NCZY.js +0 -135
  1519. package/dist/ja-JP-DSvZhFNY.js +0 -65
  1520. package/dist/ja-JP-DTW_hY1L.js +0 -13
  1521. package/dist/ja-JP-DU7yCJYq.js +0 -202
  1522. package/dist/ja-JP-DY4CJlUf.js +0 -75
  1523. package/dist/ja-JP-FWHXsXlW.js +0 -24
  1524. package/dist/ja-JP-GX3l4yqn.js +0 -125
  1525. package/dist/ja-JP-Qu7oEIEy.js +0 -13
  1526. package/dist/japanSupportUtils-CprkdtHL.js +0 -16
  1527. package/dist/jpAddressSchema-DEOyz9Yo.js +0 -26
  1528. package/dist/localizeDateString-BLDvqFOU.js +0 -27
  1529. package/dist/location-itJfxrDQ.js +0 -17
  1530. package/dist/lt-LT-BebOeKIA.js +0 -13
  1531. package/dist/lt-LT-CBTFJxth.js +0 -13
  1532. package/dist/lt-LT-CK0t2AVY.js +0 -37
  1533. package/dist/lt-LT-CNTNKNlX.js +0 -29
  1534. package/dist/lt-LT-CXw4ywLM.js +0 -63
  1535. package/dist/lt-LT-CfQUS8PP.js +0 -13
  1536. package/dist/lt-LT-CgalYpUh.js +0 -65
  1537. package/dist/lt-LT-Ci357QYQ.js +0 -13
  1538. package/dist/lt-LT-CkjEvGSp.js +0 -75
  1539. package/dist/lt-LT-D2Hrhr7v.js +0 -76
  1540. package/dist/lt-LT-D5Rhxm1h.js +0 -32
  1541. package/dist/lt-LT-DDdq07sX.js +0 -24
  1542. package/dist/lt-LT-DTQGR9M0.js +0 -54
  1543. package/dist/lt-LT-WRulV980.js +0 -13
  1544. package/dist/lv-LV-BQ4F1GrV.js +0 -54
  1545. package/dist/lv-LV-BdZK9nQA.js +0 -75
  1546. package/dist/lv-LV-C9Dhkruv.js +0 -13
  1547. package/dist/lv-LV-CG1zToz7.js +0 -32
  1548. package/dist/lv-LV-CYcrO-6d.js +0 -13
  1549. package/dist/lv-LV-CkyuY2ji.js +0 -24
  1550. package/dist/lv-LV-D04q9r-y.js +0 -76
  1551. package/dist/lv-LV-DTaBIHLh.js +0 -13
  1552. package/dist/lv-LV-DYqBaW2-.js +0 -63
  1553. package/dist/lv-LV-DoKxsoVR.js +0 -13
  1554. package/dist/lv-LV-Dxe-A5vo.js +0 -13
  1555. package/dist/lv-LV-JvlzK9X-.js +0 -37
  1556. package/dist/lv-LV-N81Dgdm3.js +0 -29
  1557. package/dist/lv-LV-aAd9SEqx.js +0 -65
  1558. package/dist/mail-VHTlAusn.js +0 -14
  1559. package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +0 -56
  1560. package/dist/mapExistingFile-DUgMBW9t.js +0 -157
  1561. package/dist/mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js +0 -54
  1562. package/dist/mapLegalEntityToIndividualSchema-BRQ51OQI.js +0 -204
  1563. package/dist/mapTransferInstrumentToPayoutAccount-DaLPVgIK.js +0 -34
  1564. package/dist/minus-circle-filled-ZhtJ0GD3.js +0 -17
  1565. package/dist/nl-NL-Bx5p0nXL.js +0 -24
  1566. package/dist/nl-NL-CFzm75Jw.js +0 -13
  1567. package/dist/nl-NL-CJ7MoBj2.js +0 -76
  1568. package/dist/nl-NL-CUcML482.js +0 -54
  1569. package/dist/nl-NL-CYFznuWn.js +0 -13
  1570. package/dist/nl-NL-Cjlmc0Ii.js +0 -32
  1571. package/dist/nl-NL-CmURERx_.js +0 -65
  1572. package/dist/nl-NL-FbJ2sHba.js +0 -13
  1573. package/dist/nl-NL-J7XpCpQm.js +0 -13
  1574. package/dist/nl-NL-JChnFdCY.js +0 -13
  1575. package/dist/nl-NL-Jhr-ICkK.js +0 -37
  1576. package/dist/nl-NL-Lo8OF_nj.js +0 -29
  1577. package/dist/nl-NL-SjOGmGk5.js +0 -13
  1578. package/dist/nl-NL-YcL7Gufl.js +0 -75
  1579. package/dist/nl-NL-lcNM54vV.js +0 -63
  1580. package/dist/no-NO--OoWld_l.js +0 -13
  1581. package/dist/no-NO-6chPsZZE.js +0 -29
  1582. package/dist/no-NO-B5BjEy8n.js +0 -13
  1583. package/dist/no-NO-BAWVf0GX.js +0 -13
  1584. package/dist/no-NO-BBCvsecq.js +0 -54
  1585. package/dist/no-NO-BH6DId3q.js +0 -37
  1586. package/dist/no-NO-Bs3-6MDM.js +0 -24
  1587. package/dist/no-NO-BsEie1We.js +0 -13
  1588. package/dist/no-NO-C20s6CoP.js +0 -76
  1589. package/dist/no-NO-CTrVITNu.js +0 -63
  1590. package/dist/no-NO-CY_XHrYd.js +0 -32
  1591. package/dist/no-NO-CtDyNTm6.js +0 -13
  1592. package/dist/no-NO-KkYB-VQD.js +0 -75
  1593. package/dist/no-NO-qyqWODMp.js +0 -65
  1594. package/dist/omitObscuredFieldsIfUnchanged-ChSKB1LF.js +0 -29
  1595. package/dist/onfido-logo-BSkKPH10.js +0 -14
  1596. package/dist/options-horizontal-GuXvLvV3.js +0 -18
  1597. package/dist/partner-QD27Vy4w.js +0 -18
  1598. package/dist/passport-blurred-CVG493IJ.js +0 -59
  1599. package/dist/passport-cut-off-COzA_TmB.js +0 -56
  1600. package/dist/passport-front-WJleLixT.js +0 -52
  1601. package/dist/passport-front-green-CZVkCa1n.js +0 -232
  1602. package/dist/passport-glare-BP5WnJZj.js +0 -50
  1603. package/dist/patternValidators-0N8_moed.js +0 -83
  1604. package/dist/pay-by-link-plane-BpY8Q6-B.js +0 -22
  1605. package/dist/payout-DtB68BcZ.js +0 -20
  1606. package/dist/payout-verification-instant-BzpfOQLD.js +0 -41
  1607. package/dist/payout-verification-manual-gNEoeZkV.js +0 -90
  1608. package/dist/person-IVZG3t3_.js +0 -17
  1609. package/dist/phonePrefixes-CnL40uyX.js +0 -255
  1610. package/dist/pl-PL-B5c0NNHB.js +0 -37
  1611. package/dist/pl-PL-BH_LPZJa.js +0 -13
  1612. package/dist/pl-PL-BzhEoDb5.js +0 -24
  1613. package/dist/pl-PL-C19Btj2D.js +0 -76
  1614. package/dist/pl-PL-CCX1rSGF.js +0 -13
  1615. package/dist/pl-PL-CErRPlR2.js +0 -63
  1616. package/dist/pl-PL-CPdKf-J0.js +0 -75
  1617. package/dist/pl-PL-C_MvVzPy.js +0 -32
  1618. package/dist/pl-PL-CbJSQVfe.js +0 -29
  1619. package/dist/pl-PL-DEMxxz7h.js +0 -13
  1620. package/dist/pl-PL-DtJ3sgVO.js +0 -13
  1621. package/dist/pl-PL-DuM6hbqZ.js +0 -13
  1622. package/dist/pl-PL-kGaeUP-w.js +0 -54
  1623. package/dist/pl-PL-q9azN24o.js +0 -65
  1624. package/dist/plaid-logo-FsZ7kfL-.js +0 -14
  1625. package/dist/plus-DiALAL8-.js +0 -14
  1626. package/dist/plus-circle-filled-BzHtTqEN.js +0 -17
  1627. package/dist/process-field-configurations-DNb-fWox.js +0 -324
  1628. package/dist/pt-BR-4Iozxvfr.js +0 -37
  1629. package/dist/pt-BR-BKKQIUJP.js +0 -13
  1630. package/dist/pt-BR-BfDe_8iW.js +0 -13
  1631. package/dist/pt-BR-BxoOF8jB.js +0 -65
  1632. package/dist/pt-BR-C-YbDjn-.js +0 -13
  1633. package/dist/pt-BR-C0I_kTQ6.js +0 -13
  1634. package/dist/pt-BR-CBAe0SnK.js +0 -32
  1635. package/dist/pt-BR-CTXtdAVc.js +0 -122
  1636. package/dist/pt-BR-D4BTdo_w.js +0 -13
  1637. package/dist/pt-BR-DA44Wgbt.js +0 -63
  1638. package/dist/pt-BR-DRBFUW-X.js +0 -29
  1639. package/dist/pt-BR-DSENwwGu.js +0 -24
  1640. package/dist/pt-BR-ERWeus3c.js +0 -75
  1641. package/dist/pt-BR-nU_2Wbo5.js +0 -54
  1642. package/dist/pt-BR-zOjPTIPu.js +0 -76
  1643. package/dist/pt-PT-09L8XznW.js +0 -37
  1644. package/dist/pt-PT-BMOUpVLE.js +0 -29
  1645. package/dist/pt-PT-BTbVsews.js +0 -13
  1646. package/dist/pt-PT-Bf4IV7wp.js +0 -13
  1647. package/dist/pt-PT-CC7zlk3R.js +0 -13
  1648. package/dist/pt-PT-CIo3mlXL.js +0 -24
  1649. package/dist/pt-PT-DBZj2dDI.js +0 -13
  1650. package/dist/pt-PT-DUTGt5L5.js +0 -75
  1651. package/dist/pt-PT-Dm5DRDrd.js +0 -32
  1652. package/dist/pt-PT-DpDxAynk.js +0 -13
  1653. package/dist/pt-PT-F1qPZJ2c.js +0 -13
  1654. package/dist/pt-PT-JVqqgvPs.js +0 -54
  1655. package/dist/pt-PT-PIiikho9.js +0 -63
  1656. package/dist/pt-PT-pIChDwiI.js +0 -65
  1657. package/dist/pt-PT-t5M8xwTU.js +0 -76
  1658. package/dist/recurring-DKNs9K3x.js +0 -17
  1659. package/dist/reporting-D5ABpLO_.js +0 -16
  1660. package/dist/resolveEnvironment-RNyhTkW8.js +0 -77
  1661. package/dist/revenue-accelerate-D7Sp0V4a.js +0 -17
  1662. package/dist/review-D4TUjcWF.js +0 -17
  1663. package/dist/ro-RO-0vx6ZLWV.js +0 -13
  1664. package/dist/ro-RO-4j2I7YM7.js +0 -13
  1665. package/dist/ro-RO-B5YT9vP-.js +0 -32
  1666. package/dist/ro-RO-BJoL_nyS.js +0 -29
  1667. package/dist/ro-RO-BnFjok5O.js +0 -75
  1668. package/dist/ro-RO-Bv9hZxwD.js +0 -63
  1669. package/dist/ro-RO-C5PJhlmM.js +0 -13
  1670. package/dist/ro-RO-C83h2zHZ.js +0 -54
  1671. package/dist/ro-RO-CuabgXj1.js +0 -13
  1672. package/dist/ro-RO-D7-7tmTR.js +0 -37
  1673. package/dist/ro-RO-DK9gVwS9.js +0 -76
  1674. package/dist/ro-RO-DRsaNX9j.js +0 -65
  1675. package/dist/ro-RO-DaU2--fX.js +0 -13
  1676. package/dist/ro-RO-ILTvlS9i.js +0 -24
  1677. package/dist/roleMetadata-CuLbD5YE.js +0 -66
  1678. package/dist/save-BfqO2JBI.js +0 -14
  1679. package/dist/search-Cmzbf5zI.js +0 -17
  1680. package/dist/show-IdbU1C6P.js +0 -17
  1681. package/dist/singpass-logo-wY4xsmTX.js +0 -17
  1682. package/dist/singpass-verification-instant-JCqTr7Mv.js +0 -40
  1683. package/dist/singpass-verification-manual-DQ7XW6R3.js +0 -34
  1684. package/dist/sk-SK-2J6iKfmK.js +0 -76
  1685. package/dist/sk-SK-7-enbO1N.js +0 -65
  1686. package/dist/sk-SK-B-1yRol7.js +0 -13
  1687. package/dist/sk-SK-C5Qmv4E6.js +0 -13
  1688. package/dist/sk-SK-CLPd85I3.js +0 -75
  1689. package/dist/sk-SK-CgLJIuJw.js +0 -54
  1690. package/dist/sk-SK-ChVwlbp0.js +0 -63
  1691. package/dist/sk-SK-Cv23cDQO.js +0 -24
  1692. package/dist/sk-SK-D3tsz1Pg.js +0 -37
  1693. package/dist/sk-SK-DM1yY8DA.js +0 -13
  1694. package/dist/sk-SK-DO-AqRjE.js +0 -13
  1695. package/dist/sk-SK-DuLm2CVx.js +0 -13
  1696. package/dist/sk-SK-DxdxUonp.js +0 -29
  1697. package/dist/sk-SK-S6iF1WDH.js +0 -32
  1698. package/dist/sl-SI--pDTatHh.js +0 -13
  1699. package/dist/sl-SI-BAIm-qBe.js +0 -13
  1700. package/dist/sl-SI-BZpXMHiG.js +0 -13
  1701. package/dist/sl-SI-BzeVaC1Z.js +0 -54
  1702. package/dist/sl-SI-CJH14wbj.js +0 -13
  1703. package/dist/sl-SI-C_4ajjU4.js +0 -13
  1704. package/dist/sl-SI-D82ccY62.js +0 -76
  1705. package/dist/sl-SI-DEaeEVKB.js +0 -24
  1706. package/dist/sl-SI-DTvJT7fC.js +0 -65
  1707. package/dist/sl-SI-DZHePXbK.js +0 -63
  1708. package/dist/sl-SI-DqUEy_Cm.js +0 -32
  1709. package/dist/sl-SI-T9_Ty-NS.js +0 -75
  1710. package/dist/sl-SI-UFngWs5n.js +0 -29
  1711. package/dist/sl-SI-Y9h1ht45.js +0 -37
  1712. package/dist/solution-payments-DpyE_sdS.js +0 -14
  1713. package/dist/store-Btc4GcmU.js +0 -14
  1714. package/dist/styles-CLV89_hH.js +0 -5962
  1715. package/dist/summaryItem-CAQCQSkt.js +0 -18
  1716. package/dist/sv-SE-3-h2VlYi.js +0 -75
  1717. package/dist/sv-SE-BZNey_8S.js +0 -13
  1718. package/dist/sv-SE-CDxyyNV0.js +0 -13
  1719. package/dist/sv-SE-CRBRuE8Z.js +0 -32
  1720. package/dist/sv-SE-CVmo11gI.js +0 -54
  1721. package/dist/sv-SE-CXaMlJCI.js +0 -24
  1722. package/dist/sv-SE-Cr0s35EH.js +0 -29
  1723. package/dist/sv-SE-CrBkos0z.js +0 -76
  1724. package/dist/sv-SE-DFSm22oQ.js +0 -37
  1725. package/dist/sv-SE-DKnUr7xo.js +0 -13
  1726. package/dist/sv-SE-Dq56vGlB.js +0 -63
  1727. package/dist/sv-SE-DsPdegWB.js +0 -13
  1728. package/dist/sv-SE-N-Hqwcjq.js +0 -65
  1729. package/dist/sv-SE-ZsucW_Uj.js +0 -13
  1730. package/dist/sv-SE-rckxD-43.js +0 -13
  1731. package/dist/tax-reporting-graph-hgoilCHZ.js +0 -504
  1732. package/dist/terminal-1-D1pwXCoi.js +0 -18
  1733. package/dist/tink-logo-DDyjz5eJ.js +0 -17
  1734. package/dist/trackNavigation-db_h46BT.js +0 -28
  1735. package/dist/trusted-fields-provider-BgfIoSNJ.js +0 -16
  1736. package/dist/types/api/invitations/useInvitationStatuses.d.ts +0 -8
  1737. package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +0 -1
  1738. package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +0 -6
  1739. package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +0 -7
  1740. package/dist/types/components/index.d.ts +0 -49
  1741. package/dist/types/context/ExpiryContext/ExpiryContext.d.ts +0 -15
  1742. package/dist/types/context/ExpiryContext/useExpiryThreshold.d.ts +0 -12
  1743. package/dist/types/core/BaseElement.d.ts +0 -46
  1744. package/dist/types/core/UIElement/UIElement.d.ts +0 -24
  1745. package/dist/types/core/core.d.ts +0 -28
  1746. package/dist/types/core/sdkValidation/index.d.ts +0 -4
  1747. package/dist/types/core/sdkValidation/schemas.d.ts +0 -2
  1748. package/dist/types/core/sdkValidation/types.d.ts +0 -19
  1749. package/dist/types-C7ANBXKc.js +0 -144
  1750. package/dist/types-CJnNafzu.js +0 -64
  1751. package/dist/types-DqaPuyRe.js +0 -34
  1752. package/dist/types-Ds3BWDI-.js +0 -74
  1753. package/dist/types-Dv0COrvY.js +0 -37
  1754. package/dist/unincorporated-partnership-DDPy7qIp.js +0 -28
  1755. package/dist/upload-BmUXjsaU.js +0 -17
  1756. package/dist/us-check-C1rTBsCY.js +0 -46
  1757. package/dist/us-check-account-number-9lI1dXNC.js +0 -48
  1758. package/dist/us-check-routing-number-s_KaAGSM.js +0 -49
  1759. package/dist/useAssociatedLegalEntity-R9-aucnr.js +0 -34
  1760. package/dist/useBusinessDetailsData-BKgf0j8T.js +0 -5420
  1761. package/dist/useCreateLegalEntity-BEEy8g0o.js +0 -32
  1762. package/dist/useForm-BQaffiEa.js +0 -582
  1763. package/dist/useFormContext-BZwb6dry.js +0 -211
  1764. package/dist/useGlobalData-RPqQO2_m.js +0 -199
  1765. package/dist/useId-BZ0PA7jP.js +0 -24
  1766. package/dist/useMultiForm-DrspjU-_.js +0 -879
  1767. package/dist/useOnboardingStatus-Cx2RfslI.js +0 -28
  1768. package/dist/useScenarios-ZY51ox86.js +0 -48
  1769. package/dist/useTermsOfServiceStatus-C_6N4XIw.js +0 -43
  1770. package/dist/useToastContext-CKEFuMZU.js +0 -49
  1771. package/dist/useUnincorporatedPartnershipMembers-B0loJKYp.js +0 -99
  1772. package/dist/useUpdateBusinessLines-bS2l9wAZ.js +0 -337
  1773. package/dist/useUpdateLegalEntity-5AD9uK8f.js +0 -40
  1774. package/dist/utils-4YBHq5mh.js +0 -29
  1775. package/dist/utils-BuiPHqFZ.js +0 -58
  1776. package/dist/utils-BzAU2BN1.js +0 -811
  1777. package/dist/utils-CqJ09Ne0.js +0 -237
  1778. package/dist/utils-DNSfZiio.js +0 -70
  1779. package/dist/utils-DpBs-qSJ.js +0 -179
  1780. package/dist/validate-BMFS_55S.js +0 -120
  1781. package/dist/validate-CmVYROUS.js +0 -434
  1782. package/dist/validationError-CSob70hx.js +0 -86
  1783. package/dist/view-verification-status-VFcBydkR.js +0 -21
  1784. package/dist/warning-circle-fill-DBvt921B.js +0 -17
  1785. package/dist/warning-diamond-filled-Lb2od2ry.js +0 -17
  1786. package/dist/webinar-m9nuFZBt.js +0 -22
  1787. package/dist/yapily-logo-BduxhNRA.js +0 -17
@@ -1,2271 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c51fdba3-682c-4ccb-aaa8-145b1e9a536e", e._sentryDebugIdIdentifier = "sentry-dbid-c51fdba3-682c-4ccb-aaa8-145b1e9a536e");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { useRef, useEffect, useMemo, useState } from "preact/hooks";
12
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BEEy8g0o.js";
13
- import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CKEFuMZU.js";
14
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
15
- import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-Bt6bLVE-.js";
16
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BZwb6dry.js";
17
- import { S as SettingNames } from "./types-Dv0COrvY.js";
18
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-R9-aucnr.js";
19
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D3x5I-79.js";
20
- import { u as useMultiForm } from "./useMultiForm-DrspjU-_.js";
21
- import { E as EndStateLayout } from "./EndStateLayout-BBLxK9Q1.js";
22
- import { E as ErrorPanel } from "./ErrorPanel-D3OmtL80.js";
23
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CSob70hx.js";
24
- import { c as createFormUtils } from "./formUtils-C1nur8r7.js";
25
- import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.js";
26
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-DUnZGkXH.js";
27
- import { f as formatObject } from "./utils-DNSfZiio.js";
28
- import { c as currencyByCountry } from "./types-CJnNafzu.js";
29
- import { g as getFieldProps } from "./getProps-Cc3J2-z9.js";
30
- import { F as Field } from "./Field-ClKiPVDa.js";
31
- import { L as Link } from "./Link-DS54L_TE.js";
32
- import { R as RadioGroup } from "./RadioGroup-CbeNPI_8.js";
33
- import { I as InputText } from "./InputText-C8kj07ZB.js";
34
- import { useQuery } from "@tanstack/preact-query";
35
- import { S as Select } from "./Select-Czm2JclY.js";
36
- import { I as InputDate } from "./InputDate-BajoDzsK.js";
37
- import { C as Checkbox } from "./Checkbox-BbVX_nZi.js";
38
- import { A as Address } from "./Address-Czpdu7Iv.js";
39
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-DpBs-qSJ.js";
40
- import { C as CountryField } from "./CountryField-CAgo6wFJ.js";
41
- import { N as NewSummary } from "./NewSummary-R9k7ZbPo.js";
42
- import { b as businessFinancingMultiformRules } from "./validate-BMFS_55S.js";
43
- const businessFinancingBaseMapping = {
44
- legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
45
- legalInformationInsolvency: "organization.statusOfLegalProceeding",
46
- legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
47
- naceCode: "organization.economicSector",
48
- legalForm: "organization.legalForm",
49
- legalName: "organization.legalName",
50
- "registrationAddress.city": "organization.registeredAddress.city",
51
- "registrationAddress.country": "organization.registeredAddress.country",
52
- "registrationAddress.postalCode": "organization.registeredAddress.postalCode",
53
- "registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
54
- "registrationAddress.address": "organization.registeredAddress.street",
55
- "registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
56
- };
57
- const businessFinancingIndividualMapping = {
58
- gender: "individual.birthData.genderCode",
59
- countryOfBirth: "individual.birthData.birthCountry"
60
- };
61
- const businessFinancingSoleProprietorMapping = {
62
- legalProceedingsDate: "soleProprietorship.dateOfInitiationOfLegalProceeding",
63
- legalInformationInsolvency: "soleProprietorship.statusOfLegalProceeding",
64
- naceCode: "soleProprietorship.economicSector"
65
- };
66
- const businessFinancingComponentsKeyMapping = {
67
- ...businessFinancingBaseMapping
68
- };
69
- const businessFinancingSoleProprietorComponentsKeyMapping = {
70
- ...businessFinancingSoleProprietorMapping
71
- };
72
- const businessFinancingApiKeyMapping = {
73
- ...reverseMapping(businessFinancingBaseMapping)
74
- };
75
- const businessFinancingIndividualApiKeyMapping = {
76
- ...reverseMapping(businessFinancingIndividualMapping)
77
- };
78
- const businessFinancingSoleProprietorApiKeyMapping = {
79
- ...reverseMapping(businessFinancingSoleProprietorMapping)
80
- };
81
- const mapBusinessFinancingToLegalEntity = (data, isIndividualOrSoleProprietor, customMapping) => {
82
- if (customMapping) {
83
- return formatObject(data, customMapping);
84
- }
85
- const mapping = isIndividualOrSoleProprietor ? businessFinancingSoleProprietorApiKeyMapping : businessFinancingApiKeyMapping;
86
- return formatObject(
87
- data,
88
- mapping
89
- );
90
- };
91
- const BusinessFinancingPages = {
92
- COMPANY_PAGE: "company",
93
- SOLE_PROPRIETOR_PAGE: "soleProprietor",
94
- PARENT_COMPANY_PAGE: "parentCompany",
95
- ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
96
- };
97
- const BusinessFinancingRadioIds = {
98
- YES: "Yes",
99
- NO: "No"
100
- };
101
- const businessFinancingRadioItems = [
102
- {
103
- id: BusinessFinancingRadioIds.YES,
104
- name: "yes"
105
- },
106
- {
107
- id: BusinessFinancingRadioIds.NO,
108
- name: "no"
109
- }
110
- ];
111
- const businessFinancingParentRadioItems = [
112
- {
113
- id: BusinessFinancingRadioIds.YES,
114
- name: "yes"
115
- },
116
- {
117
- id: BusinessFinancingRadioIds.NO,
118
- name: "noIdontKnow"
119
- }
120
- ];
121
- const companySchemaKeys = [
122
- "legalForm",
123
- "naceCode",
124
- "numberOfEmployees",
125
- "doesYourCompanyHaveLEI",
126
- "legalEntityIdentifier",
127
- "isCompanyOwnedByAnotherCompany",
128
- "isParentOwnedByAnotherCompany",
129
- "financialReportingDate",
130
- "currency",
131
- "balanceSheetTotal",
132
- "annualTurnover",
133
- "legalInformationInsolvency",
134
- "legalProceedingsDate"
135
- ];
136
- const soleProprietorSchemaKeys = [
137
- "gender",
138
- "countryOfBirth",
139
- "naceCode",
140
- "legalInformationInsolvency",
141
- "legalProceedingsDate"
142
- ];
143
- const parentCompaniesSchemaKeys = [
144
- "legalName",
145
- "legalForm",
146
- "naceCode",
147
- "numberOfEmployees",
148
- "doesYourCompanyHaveLEI",
149
- "legalEntityIdentifier",
150
- "isThisAddressTheMainHeadquarters",
151
- "financialReportingDate",
152
- "currency",
153
- "balanceSheetTotal",
154
- "annualTurnover",
155
- "legalInformationInsolvency",
156
- "legalProceedingsDate",
157
- "registrationAddress",
158
- "sameAddressAsRootEntity"
159
- ];
160
- const businessFinancingForms = {
161
- company: {
162
- formId: "company",
163
- formName: "businessInformation",
164
- fields: [...companySchemaKeys]
165
- },
166
- soleProprietor: {
167
- formId: "soleProprietor",
168
- formName: "businessInformation",
169
- fields: [...soleProprietorSchemaKeys]
170
- },
171
- parentCompany: {
172
- formId: "parentCompany",
173
- formName: "parentCompanyInformation",
174
- fields: [...parentCompaniesSchemaKeys]
175
- },
176
- ultimateParentCompany: {
177
- formId: "ultimateParentCompany",
178
- formName: "ultimateParentCompanyInformation",
179
- fields: [...parentCompaniesSchemaKeys]
180
- }
181
- };
182
- const BusinessFinancingIndices = {
183
- COMPANY: "company",
184
- SOLE_PROPRIETOR: "soleProprietor",
185
- PARENT_COMPANY: "parentCompany",
186
- ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
187
- };
188
- const getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
189
- if (!rootLegalEntity) return void 0;
190
- if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR)
191
- return rootLegalEntity.id;
192
- if (!rootLegalEntity?.entityAssociations) return void 0;
193
- const businessFinancingEntityType = "immediateParentCompany";
194
- const businessFinancingEntityAssociation = rootLegalEntity.entityAssociations?.find(
195
- (entity) => entity.type === businessFinancingEntityType
196
- );
197
- return businessFinancingEntityAssociation?.legalEntityId;
198
- };
199
- const USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
200
- const entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
201
- const entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
202
- const financialReportsToString = (financialReports) => {
203
- return {
204
- ...financialReports,
205
- numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
206
- annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
207
- balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
208
- };
209
- };
210
- const prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, soleProprietorLegalEntity) => {
211
- const businessFinancingData = data.soleProprietor;
212
- if (!businessFinancingData || !rootLegalEntity?.id || !soleProprietorLegalEntity?.id) {
213
- return null;
214
- }
215
- const individualChanges = mapBusinessFinancingToLegalEntity(
216
- businessFinancingData,
217
- true,
218
- businessFinancingIndividualApiKeyMapping
219
- );
220
- const { identificationData: _identificationData, ...individualWithoutIdData } = rootLegalEntity.individual || {};
221
- const individualPayload = {
222
- id: rootLegalEntity.id,
223
- individual: {
224
- ...individualWithoutIdData,
225
- ...individualChanges.individual
226
- }
227
- };
228
- const solePropChanges = mapBusinessFinancingToLegalEntity(
229
- businessFinancingData,
230
- true,
231
- businessFinancingSoleProprietorApiKeyMapping
232
- );
233
- if (!solePropChanges.soleProprietorship) return null;
234
- if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow") {
235
- solePropChanges.soleProprietorship.statusOfLegalProceeding = "noLegalActionsTaken";
236
- }
237
- if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow" || solePropChanges.soleProprietorship.statusOfLegalProceeding === "noLegalActionsTaken") {
238
- solePropChanges.soleProprietorship.dateOfInitiationOfLegalProceeding = "";
239
- }
240
- const solePropPayload = {
241
- id: soleProprietorLegalEntity.id,
242
- soleProprietorship: {
243
- ...soleProprietorLegalEntity.soleProprietorship,
244
- ...solePropChanges.soleProprietorship
245
- }
246
- };
247
- return { individualPayload, solePropPayload };
248
- };
249
- const prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
250
- const businessFinancingData = data[businessFinancingIndex];
251
- if (!businessFinancingData) return null;
252
- if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) {
253
- return null;
254
- }
255
- if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) {
256
- return null;
257
- }
258
- const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
259
- const isSoleProprietor = businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR;
260
- if (isSoleProprietor) {
261
- throw new Error(
262
- "Use prepareSoleProprietorBusinessFinancingSubmitData for sole proprietor business financing"
263
- );
264
- } else if (isSoleProprietor === false) {
265
- if (!businessFinancingDetails.organization) return null;
266
- const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
267
- const companyData = businessFinancingData;
268
- if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
269
- const finReports = {
270
- currency: companyData.currency,
271
- financialReportingDate: companyData.financialReportingDate,
272
- numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
273
- balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
274
- annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
275
- };
276
- const businessFinancingFinancialReport = mapFinancialInformationToFinancialReport(finReports);
277
- businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
278
- }
279
- if (!isEeaCountry(businessFinancingCountry)) {
280
- businessFinancingDetails.organization.financialReports = void 0;
281
- }
282
- if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") {
283
- businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
284
- }
285
- if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") {
286
- businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
287
- }
288
- if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) {
289
- businessFinancingDetails.organization.registeredAddress = {
290
- ...rootLegalEntity.organization.registeredAddress
291
- };
292
- }
293
- if (companyData.isThisAddressTheMainHeadquarters) {
294
- businessFinancingDetails.organization.principalPlaceOfBusiness = {
295
- ...businessFinancingDetails.organization.registeredAddress
296
- };
297
- }
298
- if (companyData.doesYourCompanyHaveLEI !== "Yes") {
299
- delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
300
- }
301
- }
302
- const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
303
- if (businessFinancingLegalEntityId) {
304
- delete businessFinancingDetails.type;
305
- businessFinancingDetails.id = businessFinancingLegalEntityId;
306
- } else {
307
- delete businessFinancingDetails.id;
308
- businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
309
- }
310
- return businessFinancingDetails;
311
- };
312
- const appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
313
- if (!legalOrganization || !businessFinancingData) return businessFinancingData;
314
- const clonedBusinessFinancingData = { ...businessFinancingData };
315
- let financialReportData = {};
316
- if (legalOrganization.financialReports) {
317
- const financialReportsArray = Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports];
318
- const financialInformationSchema = mapFinancialReportsToFinancialInformation(
319
- financialReportsArray,
320
- false
321
- );
322
- financialReportData = financialReportsToString(financialInformationSchema);
323
- if (financialReportData.numberOfEmployees) {
324
- financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
325
- }
326
- }
327
- return {
328
- ...clonedBusinessFinancingData,
329
- ...financialReportData,
330
- numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
331
- doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
332
- isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
333
- };
334
- };
335
- const appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
336
- if (!legalArrangement || !businessFinancingData) return businessFinancingData;
337
- return {
338
- ...businessFinancingData,
339
- naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
340
- legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
341
- legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
342
- };
343
- };
344
- const handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
345
- if (!details) {
346
- throw new Error(`Missing details for ${businessFinancingType}`);
347
- }
348
- try {
349
- if (entityId) {
350
- return await updateFunction({ ...details, id: entityId });
351
- }
352
- return await createFunction(details);
353
- } catch (error) {
354
- const businessFinancingError = new Error(`Form submission failed for ${businessFinancingType}`);
355
- businessFinancingError.actualError = error;
356
- businessFinancingError.businessFinancingType = businessFinancingError;
357
- throw businessFinancingError;
358
- }
359
- };
360
- const getCompanySchemaKeys = (country, currentData, schemaKeys) => {
361
- const fieldsToRemove = [];
362
- if (!isEeaCountry(country)) {
363
- fieldsToRemove.push(
364
- "financialReportingDate",
365
- "balanceSheetTotal",
366
- "annualTurnover",
367
- "currency",
368
- "numberOfEmployees"
369
- );
370
- }
371
- if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") {
372
- fieldsToRemove.push("isParentOwnedByAnotherCompany");
373
- }
374
- if (currentData.doesYourCompanyHaveLEI !== "Yes") {
375
- fieldsToRemove.push("legalEntityIdentifier");
376
- }
377
- if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) {
378
- fieldsToRemove.push("legalProceedingsDate");
379
- }
380
- return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
381
- };
382
- const getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
383
- const fieldsToRemove = [];
384
- if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) {
385
- fieldsToRemove.push("legalProceedingsDate");
386
- }
387
- return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
388
- };
389
- const getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
390
- const fieldsToRemove = [];
391
- const companyCountry = currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country;
392
- if (!isEeaCountry(companyCountry)) {
393
- fieldsToRemove.push(
394
- "financialReportingDate",
395
- "balanceSheetTotal",
396
- "annualTurnover",
397
- "currency",
398
- "numberOfEmployees"
399
- );
400
- }
401
- if (currentData?.sameAddressAsRootEntity) {
402
- fieldsToRemove.push("registrationAddress");
403
- }
404
- if (currentData.doesYourCompanyHaveLEI !== "Yes") {
405
- fieldsToRemove.push("legalEntityIdentifier");
406
- }
407
- if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) {
408
- fieldsToRemove.push("legalProceedingsDate");
409
- }
410
- return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
411
- };
412
- const getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
413
- let requiredFields = void 0;
414
- if (!data) {
415
- return requiredFields;
416
- }
417
- const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
418
- if (soleProprietor) {
419
- requiredFields = {};
420
- requiredFields.soleProprietor = getSoleProprietorSchemaKeys(
421
- soleProprietor,
422
- soleProprietorSchemaKeys
423
- );
424
- delete requiredFields.company;
425
- return requiredFields;
426
- }
427
- if (company) {
428
- requiredFields = {};
429
- requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
430
- }
431
- if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
432
- const parentCompanyRequiredFields = getParentCompanySchemaKeys(
433
- parentCompany,
434
- parentCompaniesSchemaKeys,
435
- rootEntityAddress
436
- );
437
- requiredFields = {
438
- ...requiredFields,
439
- parentCompany: parentCompanyRequiredFields
440
- };
441
- }
442
- if (company?.isParentOwnedByAnotherCompany === "Yes") {
443
- const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(
444
- ultimateParentCompany,
445
- parentCompaniesSchemaKeys,
446
- rootEntityAddress
447
- );
448
- requiredFields = {
449
- ...requiredFields,
450
- ultimateParentCompany: ultimateParentCompanyRequiredFields
451
- };
452
- }
453
- return requiredFields;
454
- };
455
- const getAddressCountryForParentCompany = (parentCompany, leAddress) => {
456
- return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
457
- };
458
- const getTranslatedGender = (t, gender) => {
459
- if (!gender) return void 0;
460
- const genderMap = {
461
- M: "male",
462
- F: "female",
463
- U: "preferNotToSay"
464
- };
465
- const key = genderMap[gender];
466
- return key ? t(($) => $[key]) : gender;
467
- };
468
- const getTranslatedLegalInsolvency = (t, insolvencyData) => {
469
- if (!insolvencyData) return void 0;
470
- return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
471
- };
472
- const getValidUserLocale = (locale) => {
473
- try {
474
- new Intl.NumberFormat(locale);
475
- return locale;
476
- } catch (error) {
477
- console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
478
- return "en-US";
479
- }
480
- };
481
- const getFormattedAmount = (value, currency) => {
482
- if (!value) return void 0;
483
- const userLocale = getValidUserLocale(USER_LOCALE);
484
- const formattedValue = Number(value).toLocaleString(userLocale);
485
- return `${currency} ${formattedValue}`;
486
- };
487
- const formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
488
- const summaryData = cloneObject(data) || {};
489
- const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
490
- if (soleProprietor) {
491
- soleProprietor.naceCode = soleProprietor.naceCodeLabel;
492
- soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
493
- soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(
494
- t,
495
- soleProprietor.legalInformationInsolvency
496
- );
497
- soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
498
- if (soleProprietor.gender) {
499
- soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
500
- }
501
- }
502
- if (company) {
503
- company.legalForm = company.legalFormLabel;
504
- company.naceCode = company.naceCodeLabel;
505
- company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
506
- company.legalInformationInsolvency = getTranslatedLegalInsolvency(
507
- t,
508
- company?.legalInformationInsolvency
509
- );
510
- company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
511
- company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
512
- const { legalProceedingsDate, financialReportingDate } = company;
513
- company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
514
- company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
515
- }
516
- if (parentCompany) {
517
- const {
518
- legalName,
519
- legalFormLabel,
520
- naceCodeLabel,
521
- country,
522
- legalEntityIdentifier,
523
- legalInformationInsolvency,
524
- annualTurnover,
525
- currency,
526
- balanceSheetTotal,
527
- legalProceedingsDate,
528
- financialReportingDate,
529
- sameAddressAsRootEntity,
530
- registrationAddress
531
- } = parentCompany;
532
- if (legalName) {
533
- parentCompany.legalForm = legalFormLabel;
534
- parentCompany.naceCode = naceCodeLabel;
535
- parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
536
- if (registrationAddress) {
537
- parentCompany.registrationAddress = {
538
- ...registrationAddress,
539
- country: datasetUtils.getCountryName(registrationAddress?.country)
540
- };
541
- }
542
- parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
543
- parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
544
- t,
545
- legalInformationInsolvency
546
- );
547
- parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
548
- parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
549
- parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
550
- parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
551
- if (sameAddressAsRootEntity) {
552
- delete parentCompany.country;
553
- summaryData.parentCompany = {
554
- ...parentCompany,
555
- registrationAddress: {
556
- ...rootLeAddress,
557
- country: datasetUtils.getCountryName(rootLeAddress?.country)
558
- }
559
- };
560
- }
561
- }
562
- }
563
- if (ultimateParentCompany) {
564
- const {
565
- legalName,
566
- legalFormLabel,
567
- naceCodeLabel,
568
- country,
569
- legalEntityIdentifier,
570
- legalInformationInsolvency,
571
- annualTurnover,
572
- currency,
573
- balanceSheetTotal,
574
- legalProceedingsDate,
575
- financialReportingDate,
576
- sameAddressAsRootEntity,
577
- registrationAddress
578
- } = ultimateParentCompany;
579
- if (legalName) {
580
- ultimateParentCompany.legalForm = legalFormLabel;
581
- ultimateParentCompany.naceCode = naceCodeLabel;
582
- ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
583
- if (registrationAddress) {
584
- ultimateParentCompany.registrationAddress = {
585
- ...registrationAddress,
586
- country: datasetUtils.getCountryName(registrationAddress?.country)
587
- };
588
- }
589
- ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
590
- ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
591
- t,
592
- legalInformationInsolvency
593
- );
594
- ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
595
- ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
596
- ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
597
- ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
598
- if (sameAddressAsRootEntity) {
599
- delete ultimateParentCompany.country;
600
- summaryData.ultimateParentCompany = {
601
- ...ultimateParentCompany,
602
- registrationAddress: {
603
- ...rootLeAddress,
604
- country: datasetUtils.getCountryName(rootLeAddress?.country)
605
- }
606
- };
607
- }
608
- }
609
- }
610
- return summaryData;
611
- };
612
- const mapLegalEntityToBusinessFinancing = (legalEntity) => {
613
- if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) {
614
- return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
615
- }
616
- if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
617
- const solePropAssociation = legalEntity.entityAssociations?.find(
618
- (ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id
619
- );
620
- if (solePropAssociation) {
621
- const solePropMapped = formatObject(
622
- legalEntity,
623
- businessFinancingSoleProprietorComponentsKeyMapping
624
- );
625
- const birthData = legalEntity.individual?.birthData;
626
- return {
627
- ...solePropMapped,
628
- gender: birthData?.genderCode || legalEntity.individual?.gender,
629
- countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
630
- };
631
- }
632
- }
633
- return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
634
- };
635
- const getNaceCodes = async (baseUrl) => {
636
- return httpGet({
637
- baseUrl,
638
- path: `datasets/naceCodes`
639
- });
640
- };
641
- const useNaceCodes = (options) => {
642
- const { baseUrl } = useApiContext();
643
- return useQuery({
644
- queryKey: ["naceCodes"],
645
- queryFn: () => getNaceCodes(baseUrl.value),
646
- ...options
647
- });
648
- };
649
- function NaceCodeField({
650
- name = "naceCode",
651
- data,
652
- valid,
653
- errorMessage,
654
- label,
655
- readonly,
656
- handleChangeFor
657
- }) {
658
- const { t: commonT } = useTranslation("common");
659
- const { data: naceCodesData } = useNaceCodes();
660
- const handleChangeForRef = useRef(handleChangeFor);
661
- useEffect(() => {
662
- handleChangeForRef.current = handleChangeFor;
663
- }, [handleChangeFor]);
664
- const handleChangeForNaceCode = (e) => {
665
- const naceCodeEvent = {
666
- target: {
667
- name: "naceCode",
668
- value: e.target.value
669
- }
670
- };
671
- handleChangeFor("naceCode")(naceCodeEvent);
672
- };
673
- useEffect(() => {
674
- const selectedLabel = naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name;
675
- const naceCodeEvent = {
676
- target: {
677
- name: "naceCodeLabel",
678
- value: selectedLabel
679
- }
680
- };
681
- handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
682
- }, [data.naceCode, naceCodesData]);
683
- return /* @__PURE__ */ jsx(Field, { name, label, errorMessage, isValid: valid.naceCode, children: (childProps) => /* @__PURE__ */ jsx(
684
- Select,
685
- {
686
- ...childProps,
687
- name,
688
- placeholder: commonT(($) => $["selectOne"]),
689
- selected: data.naceCode,
690
- items: naceCodesData ?? [],
691
- readonly: readonly && !!data,
692
- onChange: handleChangeForNaceCode
693
- }
694
- ) });
695
- }
696
- const businessFinancingLeiRadio = "adyen-kyc-business-financing-lei-radio";
697
- const businessFinancingTitle = "adyen-kyc-business-financing-title";
698
- const businessFinancingBody = "adyen-kyc-business-financing-body";
699
- const businessFinancingExposureFinancials = "adyen-kyc-business-financing-exposure-financials";
700
- const businessFinancingStructuredAddress = "adyen-kyc-business-financing-structured-address";
701
- const styles = {
702
- businessFinancingLeiRadio,
703
- businessFinancingTitle,
704
- businessFinancingBody,
705
- businessFinancingExposureFinancials,
706
- businessFinancingStructuredAddress
707
- };
708
- const businessInformationFields = [
709
- "legalForm",
710
- "naceCode",
711
- "naceCodeLabel",
712
- "legalFormLabel",
713
- "doesYourCompanyHaveLEI",
714
- "legalEntityIdentifier"
715
- ];
716
- function BusinessFinancingBusinessInformation(props) {
717
- const {
718
- data,
719
- valid,
720
- errors,
721
- country,
722
- handleFieldChange,
723
- fieldValidationErrors,
724
- targetPage,
725
- sectionHeading,
726
- hideSectionHeading,
727
- isSoleProprietor
728
- } = props;
729
- const { t: businessFinancingT } = useTranslation("businessFinancing");
730
- const { t: commonT } = useTranslation("common");
731
- const formUtils = createFormUtils(props, commonT);
732
- if (!handleFieldChange) {
733
- return;
734
- }
735
- const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
736
- return /* @__PURE__ */ jsxs(Fragment, { children: [
737
- !hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"]) }),
738
- !isSoleProprietor && /* @__PURE__ */ jsx(
739
- LegalFormField,
740
- {
741
- name: "legalForm",
742
- countryCode: country,
743
- data: {
744
- legalForm: data?.legalForm
745
- },
746
- valid: { legalForm: valid?.legalForm },
747
- errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
748
- handleChangeFor: handleFieldChange,
749
- readonly: false,
750
- label: businessFinancingT(($) => $["businessStructure"])
751
- }
752
- ),
753
- /* @__PURE__ */ jsx(
754
- NaceCodeField,
755
- {
756
- name: "naceCode",
757
- data: { naceCode: data?.naceCode },
758
- valid: { naceCode: valid?.naceCode },
759
- errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
760
- handleChangeFor: handleFieldChange,
761
- readonly: false,
762
- label: businessFinancingT(($) => $["industryAndNaceCode"])
763
- }
764
- ),
765
- !isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [
766
- /* @__PURE__ */ jsx(
767
- Field,
768
- {
769
- el: "fieldset",
770
- name: "doesYourCompanyHaveLEI",
771
- label: businessFinancingT(
772
- ($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]
773
- ),
774
- helper: /* @__PURE__ */ jsxs(
775
- Typography,
776
- {
777
- el: "div",
778
- variant: "body",
779
- color: "secondary",
780
- className: styles.businessFinancingBody,
781
- children: [
782
- businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
783
- " ",
784
- /* @__PURE__ */ jsx(Link, { href: "https://search.gleif.org/#/search/", external: true, inline: true, children: businessFinancingT(($) => $["lookUpYourLEI"]) })
785
- ]
786
- }
787
- ),
788
- errorMessage: formUtils.getErrorMessage(
789
- "doesYourCompanyHaveLEI",
790
- errors,
791
- fieldValidationErrors
792
- ),
793
- children: (childProps) => /* @__PURE__ */ jsx(
794
- RadioGroup,
795
- {
796
- ...childProps,
797
- name: "doesYourCompanyHaveLEI",
798
- items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
799
- value: data?.doesYourCompanyHaveLEI,
800
- disabled: false,
801
- className: styles.businessFinancingLeiRadio,
802
- onChange: handleFieldChange("doesYourCompanyHaveLEI"),
803
- "aria-required": true,
804
- "aria-invalid": !valid?.doesYourCompanyHaveLEI
805
- }
806
- )
807
- }
808
- ),
809
- data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(
810
- Field,
811
- {
812
- name: "legalEntityIdentifier",
813
- label: businessFinancingT(($) => $["legalEntityIdentifier"]),
814
- errorMessage: formUtils.getErrorMessage(
815
- "legalEntityIdentifier",
816
- errors,
817
- fieldValidationErrors
818
- ),
819
- isValid: valid?.legalEntityIdentifier,
820
- helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
821
- numChars: 20,
822
- example: "529900T8BM49AURSDO55"
823
- }),
824
- children: (childProps) => /* @__PURE__ */ jsx(
825
- InputText,
826
- {
827
- ...childProps,
828
- name: "legalEntityIdentifier",
829
- value: data?.legalEntityIdentifier,
830
- readonly: false,
831
- onInput: handleFieldChange("legalEntityIdentifier", "input"),
832
- onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
833
- "aria-required": true,
834
- "aria-invalid": !valid?.legalEntityIdentifier,
835
- isValid: valid?.legalEntityIdentifier
836
- }
837
- )
838
- }
839
- )
840
- ] })
841
- ] });
842
- }
843
- const TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
844
- const financialInformationFields = [
845
- "numberOfEmployees",
846
- "financialReportingDate",
847
- "legalEntityIdentifier",
848
- "currency",
849
- "balanceSheetTotal",
850
- "annualTurnover"
851
- ];
852
- function BusinessFinancingFinancialInformation(props) {
853
- const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
854
- const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
855
- const { t: commonT } = useTranslation("common");
856
- const formUtils = createFormUtils(props, commonT);
857
- const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
858
- if (!handleFieldChange) {
859
- return;
860
- }
861
- const financialData = data;
862
- const financialErrors = errors;
863
- const isFinancialDataValid = valid;
864
- const [firstCurrency] = currenciesForCurrCountry;
865
- const defaultCurrency = firstCurrency ?? "EUR";
866
- if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) {
867
- handleFieldChange("currency")(firstCurrency);
868
- }
869
- return /* @__PURE__ */ jsxs("section", { children: [
870
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"]) }),
871
- /* @__PURE__ */ jsx(
872
- Field,
873
- {
874
- name: "numberOfEmployees",
875
- label: businessFinancingT(($) => $["numberOfEmployees"]),
876
- helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
877
- errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
878
- isValid: valid?.numberOfEmployees,
879
- children: (childProps) => /* @__PURE__ */ jsx(
880
- InputNumber,
881
- {
882
- ...childProps,
883
- "aria-required": true,
884
- "aria-invalid": !valid?.numberOfEmployees,
885
- name: "numberOfEmployees",
886
- min: "0",
887
- step: "1",
888
- value: data?.numberOfEmployees,
889
- onInput: handleFieldChange("numberOfEmployees", "input"),
890
- onBlur: handleFieldChange("numberOfEmployees", "blur")
891
- }
892
- )
893
- }
894
- ),
895
- currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(
896
- Currency,
897
- {
898
- country,
899
- data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
900
- errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
901
- handleChangeFor: handleFieldChange,
902
- labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
903
- readonly: formUtils.isReadOnly("currency"),
904
- valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
905
- }
906
- ),
907
- /* @__PURE__ */ jsxs("div", { className: styles.businessFinancingExposureFinancials, children: [
908
- /* @__PURE__ */ jsx(
909
- Field,
910
- {
911
- name: "balanceSheetTotal",
912
- label: businessFinancingT(($) => $["balanceSheetTotal"]),
913
- helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
914
- errorMessage: formUtils.getErrorMessage(
915
- "balanceSheetTotal",
916
- errors,
917
- fieldValidationErrors
918
- ),
919
- isValid: valid?.balanceSheetTotal,
920
- children: (childProps) => /* @__PURE__ */ jsx(
921
- InputCurrency,
922
- {
923
- ...childProps,
924
- "aria-required": formUtils.isRequiredField("balanceSheetTotal"),
925
- "aria-invalid": !valid?.balanceSheetTotal,
926
- locale: i18next.language,
927
- currency: data?.currency ?? defaultCurrency,
928
- amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
929
- onAmountChanged: handleFieldChange("balanceSheetTotal")
930
- }
931
- )
932
- }
933
- ),
934
- /* @__PURE__ */ jsx(
935
- Field,
936
- {
937
- name: "financialReportingDate",
938
- label: businessFinancingT(($) => $["statementReportingDate"]),
939
- helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
940
- errorMessage: formUtils.getErrorMessage(
941
- "financialReportingDate",
942
- errors,
943
- fieldValidationErrors
944
- ),
945
- isValid: valid?.financialReportingDate,
946
- children: (childProps) => /* @__PURE__ */ jsx(
947
- InputDate,
948
- {
949
- ...childProps,
950
- name: "financialReportingDate",
951
- value: data?.financialReportingDate,
952
- onInput: handleFieldChange("financialReportingDate", "input"),
953
- onBlur: handleFieldChange("financialReportingDate", "blur"),
954
- "aria-required": true,
955
- "aria-invalid": !valid?.financialReportingDate,
956
- max: TODAY_DATE$1
957
- }
958
- )
959
- }
960
- ),
961
- /* @__PURE__ */ jsx(
962
- Field,
963
- {
964
- name: "annualTurnover",
965
- label: businessFinancingT(($) => $["annualTurnover"]),
966
- helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
967
- errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
968
- isValid: valid?.annualTurnover,
969
- children: (childProps) => /* @__PURE__ */ jsx(
970
- InputCurrency,
971
- {
972
- ...childProps,
973
- name: "annualTurnover",
974
- "aria-required": formUtils.isRequiredField("annualTurnover"),
975
- "aria-invalid": !valid?.annualTurnover,
976
- locale: i18next.language,
977
- currency: data?.currency ?? defaultCurrency,
978
- amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
979
- onAmountChanged: handleFieldChange("annualTurnover")
980
- }
981
- )
982
- }
983
- )
984
- ] })
985
- ] });
986
- }
987
- const TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
988
- const legalInformationFields = [
989
- "legalInformationInsolvency",
990
- "legalProceedingsDate"
991
- ];
992
- function BusinessFinancingLegalInformation(props) {
993
- const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
994
- const { t: businessFinancingT } = useTranslation("businessFinancing");
995
- const { t: commonT } = useTranslation("common");
996
- const formUtils = createFormUtils(props, commonT);
997
- if (!handleFieldChange) {
998
- return;
999
- }
1000
- const legalInformationInsolvencyItems = [
1001
- { id: "noLegalActionsTaken", name: commonT(($) => $["no"]) },
1002
- {
1003
- id: "underJudicialAdministration",
1004
- name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
1005
- },
1006
- {
1007
- id: "bankruptcyInsolvency",
1008
- name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
1009
- },
1010
- {
1011
- id: "otherLegalMeasures",
1012
- name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
1013
- },
1014
- { id: "iDontKnow", name: commonT(($) => $["iDontKnow"]) }
1015
- ];
1016
- const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
1017
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1018
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"]) }),
1019
- /* @__PURE__ */ jsx(
1020
- Field,
1021
- {
1022
- name: "legalInformationInsolvency",
1023
- label: businessFinancingT(($) => $["legalInformationInsolvency"]),
1024
- errorMessage: formUtils.getErrorMessage(
1025
- "legalInformationInsolvency",
1026
- errors,
1027
- fieldValidationErrors
1028
- ),
1029
- isValid: valid?.legalInformationInsolvency,
1030
- children: (childProps) => /* @__PURE__ */ jsx(
1031
- Select,
1032
- {
1033
- ...childProps,
1034
- onChange: handleFieldChange("legalInformationInsolvency", "blur"),
1035
- name: "legalInformationInsolvency",
1036
- placeholder: commonT(($) => $["selectOne"]),
1037
- selected: data?.legalInformationInsolvency,
1038
- items: legalInformationInsolvencyItems,
1039
- "aria-required": true,
1040
- "aria-invalid": !valid?.legalInformationInsolvency
1041
- }
1042
- )
1043
- }
1044
- ),
1045
- showLegalProceedingsDateField && /* @__PURE__ */ jsx(
1046
- Field,
1047
- {
1048
- name: "legalProceedingsDate",
1049
- label: businessFinancingT(($) => $["legalProceedingsDate"]),
1050
- errorMessage: formUtils.getErrorMessage(
1051
- "legalProceedingsDate",
1052
- errors,
1053
- fieldValidationErrors
1054
- ),
1055
- isValid: valid?.legalProceedingsDate,
1056
- children: (childProps) => /* @__PURE__ */ jsx(
1057
- InputDate,
1058
- {
1059
- ...childProps,
1060
- name: "legalProceedingsDate",
1061
- value: data.legalProceedingsDate,
1062
- onInput: handleFieldChange("legalProceedingsDate", "input"),
1063
- onBlur: handleFieldChange("legalProceedingsDate", "blur"),
1064
- "aria-required": true,
1065
- "aria-invalid": !valid?.legalProceedingsDate,
1066
- max: TODAY_DATE
1067
- }
1068
- )
1069
- }
1070
- )
1071
- ] });
1072
- }
1073
- const ownershipStructureFields = [
1074
- "isCompanyOwnedByAnotherCompany",
1075
- "isParentOwnedByAnotherCompany"
1076
- ];
1077
- function BusinessFinancingOwnershipStructure(props) {
1078
- const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
1079
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1080
- const { t: commonT } = useTranslation("common");
1081
- const formUtils = createFormUtils(props, commonT);
1082
- if (!handleFieldChange) {
1083
- return;
1084
- }
1085
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1086
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: businessFinancingT(($) => $["ownershipStructure"]) }),
1087
- /* @__PURE__ */ jsx(
1088
- Field,
1089
- {
1090
- el: "fieldset",
1091
- name: "isCompanyOwnedByAnotherCompany",
1092
- label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], {
1093
- company: legalEntity?.organization ? legalEntity.organization.legalName : ""
1094
- }),
1095
- errorMessage: formUtils.getErrorMessage(
1096
- "isCompanyOwnedByAnotherCompany",
1097
- errors,
1098
- fieldValidationErrors
1099
- ),
1100
- helper: /* @__PURE__ */ jsx(
1101
- Typography,
1102
- {
1103
- el: "div",
1104
- variant: "body",
1105
- color: "secondary",
1106
- className: styles.businessFinancingBody,
1107
- children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
1108
- }
1109
- ),
1110
- children: (childProps) => /* @__PURE__ */ jsx(
1111
- RadioGroup,
1112
- {
1113
- ...childProps,
1114
- name: "isCompanyOwnedByAnotherCompany",
1115
- items: businessFinancingRadioItems,
1116
- value: data?.isCompanyOwnedByAnotherCompany,
1117
- className: styles.businessFinancingLeiRadio,
1118
- disabled: false,
1119
- onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
1120
- "aria-required": true,
1121
- "aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
1122
- }
1123
- )
1124
- }
1125
- ),
1126
- data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(
1127
- Field,
1128
- {
1129
- el: "fieldset",
1130
- name: "isParentOwnedByAnotherCompany",
1131
- label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
1132
- helper: /* @__PURE__ */ jsx(
1133
- Typography,
1134
- {
1135
- el: "div",
1136
- variant: "body",
1137
- color: "secondary",
1138
- className: styles.businessFinancingBody,
1139
- children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
1140
- }
1141
- ),
1142
- errorMessage: formUtils.getErrorMessage(
1143
- "isParentOwnedByAnotherCompany",
1144
- errors,
1145
- fieldValidationErrors
1146
- ),
1147
- children: (childProps) => /* @__PURE__ */ jsx(
1148
- RadioGroup,
1149
- {
1150
- ...childProps,
1151
- name: "isParentOwnedByAnotherCompany",
1152
- items: businessFinancingRadioItems,
1153
- value: data.isParentOwnedByAnotherCompany,
1154
- className: styles.businessFinancingLeiRadio,
1155
- disabled: false,
1156
- onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
1157
- "aria-required": true,
1158
- "aria-invalid": !valid?.isParentOwnedByAnotherCompany
1159
- }
1160
- )
1161
- }
1162
- )
1163
- ] });
1164
- }
1165
- function AdditionalFieldsForBusinessFinancingCompany(props) {
1166
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1167
- const { t: commonT } = useTranslation("common");
1168
- const {
1169
- form: { handleChangeFor, data, setValid }
1170
- } = useFormContext();
1171
- const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
1172
- const formUtils = createFormUtils(props, commonT);
1173
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
1174
- const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
1175
- const businessInformationProps = getFieldProps(props, businessInformationFields);
1176
- const financialInformationProps = getFieldProps(props, financialInformationFields);
1177
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1178
- const currenciesForCurrCountry = currencyByCountry[country] ?? [];
1179
- if (currenciesForCurrCountry?.length === 1) {
1180
- setValid("currency", true, "company");
1181
- }
1182
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-company", children: [
1183
- /* @__PURE__ */ jsx(
1184
- Header,
1185
- {
1186
- title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1187
- description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
1188
- secondary: true
1189
- }
1190
- ),
1191
- /* @__PURE__ */ jsx(
1192
- ErrorPanel,
1193
- {
1194
- verificationErrors: formVerificationErrors,
1195
- validationErrors: fieldValidationErrors,
1196
- formUtils,
1197
- id: "ariaErrorField"
1198
- }
1199
- ),
1200
- /* @__PURE__ */ jsx(
1201
- BusinessFinancingBusinessInformation,
1202
- {
1203
- ...businessInformationProps,
1204
- handleFieldChange: handleChange,
1205
- country,
1206
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1207
- sectionHeading: "businessInformation",
1208
- data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
1209
- }
1210
- ),
1211
- isEeaCountry(country) && /* @__PURE__ */ jsx(
1212
- BusinessFinancingFinancialInformation,
1213
- {
1214
- ...financialInformationProps,
1215
- handleFieldChange: handleChange,
1216
- country,
1217
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1218
- data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
1219
- }
1220
- ),
1221
- /* @__PURE__ */ jsx(
1222
- BusinessFinancingLegalInformation,
1223
- {
1224
- ...legalInformationProps,
1225
- country,
1226
- handleFieldChange: handleChange,
1227
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1228
- sectionHeading: "legalInformation",
1229
- data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
1230
- }
1231
- ),
1232
- /* @__PURE__ */ jsx(
1233
- BusinessFinancingOwnershipStructure,
1234
- {
1235
- ...ownershipStructureProps,
1236
- legalEntity,
1237
- handleFieldChange: handleChange,
1238
- data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
1239
- }
1240
- )
1241
- ] });
1242
- }
1243
- const basicInformationFields = [
1244
- "legalName"
1245
- ];
1246
- function BusinessFinancingBasicCompanyInformation(props) {
1247
- const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
1248
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1249
- const { t: commonT } = useTranslation("common");
1250
- const formUtils = createFormUtils(props, commonT);
1251
- if (!handleFieldChange) {
1252
- return;
1253
- }
1254
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1255
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"]) }),
1256
- /* @__PURE__ */ jsx(
1257
- Field,
1258
- {
1259
- name: "legalName",
1260
- label: businessFinancingT(($) => $["legalName"]),
1261
- errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
1262
- isValid: valid?.legalName,
1263
- helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
1264
- helperPosition: "below",
1265
- children: (childProps) => /* @__PURE__ */ jsx(
1266
- InputText,
1267
- {
1268
- ...childProps,
1269
- name: "legalName",
1270
- value: data?.legalName,
1271
- readonly: false,
1272
- onInput: handleFieldChange("legalName", "input"),
1273
- onBlur: handleFieldChange("legalName", "blur"),
1274
- "aria-required": true,
1275
- "aria-invalid": !valid?.legalName
1276
- }
1277
- )
1278
- }
1279
- )
1280
- ] });
1281
- }
1282
- const OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
1283
- const registeredAddressFields = [
1284
- "isThisAddressTheMainHeadquarters",
1285
- "registrationAddress",
1286
- "sameAddressAsRootEntity"
1287
- ];
1288
- function BusinessFinancingRegisteredAddress(props) {
1289
- const {
1290
- data,
1291
- valid,
1292
- errors,
1293
- fieldValidationErrors,
1294
- shouldValidate,
1295
- defaultData,
1296
- handleFieldChange,
1297
- formId,
1298
- legalEntity,
1299
- sectionHeading
1300
- } = props;
1301
- const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
1302
- const { t: commonT } = useTranslation("common");
1303
- const formUtils = createFormUtils(props, commonT);
1304
- const addressCountry = data?.registrationAddress?.country;
1305
- const datasetUtils = datasetUtilities(i18n.language);
1306
- const addressSchema = useMemo(() => {
1307
- return getAddressSchemaForCountry(addressCountry).filter((field) => {
1308
- if (addressCountry) {
1309
- return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
1310
- }
1311
- return true;
1312
- });
1313
- }, [addressCountry]);
1314
- if (!handleFieldChange) {
1315
- return;
1316
- }
1317
- const handleRegistrationAddressChange = (state) => {
1318
- if (!state.data.country) {
1319
- state.data.country = addressCountry;
1320
- }
1321
- handleFieldChange("registrationAddress")(state.data);
1322
- };
1323
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1324
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"]) }),
1325
- /* @__PURE__ */ jsx(
1326
- Field,
1327
- {
1328
- name: "sameAddressAsRootEntity",
1329
- errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
1330
- isValid: valid?.sameAddressAsRootEntity,
1331
- children: (childProps) => /* @__PURE__ */ jsx(
1332
- Checkbox,
1333
- {
1334
- ...childProps,
1335
- "aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
1336
- "aria-invalid": !valid?.sameAddressAsRootEntity,
1337
- name: "sameAddressAsRootEntity",
1338
- label: businessFinancingT(($) => $["sameAddressAsRootEntity"], {
1339
- rootLegalEntityName: legalEntity?.organization?.legalName ?? ""
1340
- }),
1341
- checked: data?.sameAddressAsRootEntity ?? false,
1342
- onChange: handleFieldChange("sameAddressAsRootEntity")
1343
- }
1344
- )
1345
- }
1346
- ),
1347
- data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className: styles.businessFinancingStructuredAddress, children: [
1348
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
1349
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
1350
- /* @__PURE__ */ jsxs("div", { children: [
1351
- legalEntity.organization.registeredAddress.city,
1352
- " ",
1353
- legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
1354
- ] }),
1355
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
1356
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
1357
- ] }) : /* @__PURE__ */ jsx(
1358
- Address,
1359
- {
1360
- id: formId,
1361
- addressType: "registrationAddress",
1362
- data: { ...defaultData?.registrationAddress, country: addressCountry },
1363
- labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
1364
- countryCode: addressCountry,
1365
- requiredFields: addressSchema,
1366
- optionalFields: OPTIONAL_ADDRESS_FIELDS,
1367
- onChange: handleRegistrationAddressChange,
1368
- shouldValidate
1369
- }
1370
- ),
1371
- /* @__PURE__ */ jsx(
1372
- Field,
1373
- {
1374
- el: "fieldset",
1375
- name: "isThisAddressTheMainHeadquarters",
1376
- label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
1377
- helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
1378
- errorMessage: formUtils.getErrorMessage(
1379
- "isThisAddressTheMainHeadquarters",
1380
- errors,
1381
- fieldValidationErrors
1382
- ),
1383
- children: (childProps) => /* @__PURE__ */ jsx(
1384
- RadioGroup,
1385
- {
1386
- ...childProps,
1387
- name: "isThisAddressTheMainHeadquarters",
1388
- items: businessFinancingRadioItems,
1389
- value: data?.isThisAddressTheMainHeadquarters,
1390
- className: styles.businessFinancingLeiRadio,
1391
- disabled: false,
1392
- onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
1393
- "aria-required": true,
1394
- "aria-invalid": !valid?.isThisAddressTheMainHeadquarters
1395
- }
1396
- )
1397
- }
1398
- )
1399
- ] });
1400
- }
1401
- const parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
1402
- function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1403
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1404
- const { t: commonT } = useTranslation("common");
1405
- const {
1406
- form: { handleChangeFor, data, setValid }
1407
- } = useFormContext();
1408
- const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
1409
- const formUtils = createFormUtils(
1410
- props,
1411
- commonT
1412
- );
1413
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
1414
- setValid("sameAddressAsRootEntity", true, "parentCompany");
1415
- const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1416
- const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1417
- const businessInformationProps = getFieldProps(props, businessInformationFields);
1418
- const financialInformationProps = getFieldProps(props, financialInformationFields);
1419
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1420
- const addressCountry = getAddressCountryForParentCompany(
1421
- data?.parentCompany,
1422
- legalEntity?.organization?.registeredAddress
1423
- );
1424
- const currenciesForCurrCountry = currencyByCountry[addressCountry ?? country] ?? [];
1425
- if (currenciesForCurrCountry?.length === 1) {
1426
- setValid("currency", true, "parentCompany");
1427
- }
1428
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-parent-company", children: [
1429
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["parentCompanyInformation"]) }),
1430
- /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"]) }),
1431
- /* @__PURE__ */ jsx(
1432
- ErrorPanel,
1433
- {
1434
- verificationErrors: formVerificationErrors,
1435
- validationErrors: fieldValidationErrors,
1436
- formUtils,
1437
- id: "ariaErrorField"
1438
- }
1439
- ),
1440
- /* @__PURE__ */ jsx(
1441
- BusinessFinancingBasicCompanyInformation,
1442
- {
1443
- ...basicCompanyInformationProps,
1444
- sectionHeading: "parentCompanyInformation",
1445
- handleFieldChange: handleChange,
1446
- data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
1447
- }
1448
- ),
1449
- /* @__PURE__ */ jsx(
1450
- BusinessFinancingRegisteredAddress,
1451
- {
1452
- ...registeredAddressProps,
1453
- formId: parentCompanyFormId$1,
1454
- sectionHeading: "parentCompanyAddress",
1455
- defaultData: data?.parentCompany,
1456
- legalEntity,
1457
- handleFieldChange: handleChange,
1458
- data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
1459
- }
1460
- ),
1461
- /* @__PURE__ */ jsx(
1462
- BusinessFinancingBusinessInformation,
1463
- {
1464
- ...businessInformationProps,
1465
- hideSectionHeading: true,
1466
- country: addressCountry ?? country,
1467
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1468
- handleFieldChange: handleChange,
1469
- data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1470
- }
1471
- ),
1472
- isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1473
- BusinessFinancingFinancialInformation,
1474
- {
1475
- ...financialInformationProps,
1476
- country: addressCountry ?? country,
1477
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1478
- handleFieldChange: handleChange,
1479
- data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
1480
- }
1481
- ),
1482
- /* @__PURE__ */ jsx(
1483
- BusinessFinancingLegalInformation,
1484
- {
1485
- ...legalInformationProps,
1486
- country: addressCountry ?? country,
1487
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1488
- sectionHeading: "legalInformation",
1489
- handleFieldChange: handleChange,
1490
- data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
1491
- }
1492
- )
1493
- ] });
1494
- }
1495
- const soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
1496
- function BusinessFinancingSoleProprietorPersonalInformation(props) {
1497
- const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
1498
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1499
- const { t: commonT } = useTranslation("common");
1500
- const formUtils = createFormUtils(props, commonT);
1501
- if (!handleFieldChange) {
1502
- return;
1503
- }
1504
- const genderItems = [
1505
- { id: "M", name: businessFinancingT(($) => $["male"]) },
1506
- { id: "F", name: businessFinancingT(($) => $["female"]) },
1507
- { id: "U", name: businessFinancingT(($) => $["preferNotToSay"]) }
1508
- ];
1509
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1510
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"]) }),
1511
- /* @__PURE__ */ jsx(
1512
- CountryField,
1513
- {
1514
- data: { country: data?.countryOfBirth },
1515
- valid: { country: valid?.countryOfBirth },
1516
- name: "countryOfBirth",
1517
- errors: {
1518
- country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors)
1519
- },
1520
- labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
1521
- readonly: formUtils.isReadOnly("countryOfBirth"),
1522
- handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
1523
- }
1524
- ),
1525
- /* @__PURE__ */ jsx(
1526
- Field,
1527
- {
1528
- name: "gender",
1529
- label: businessFinancingT(($) => $["gender"]),
1530
- errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
1531
- isValid: valid?.gender,
1532
- children: (childProps) => /* @__PURE__ */ jsx(
1533
- Select,
1534
- {
1535
- ...childProps,
1536
- onChange: handleFieldChange("gender", "blur"),
1537
- name: "gender",
1538
- placeholder: commonT(($) => $["selectOne"]),
1539
- selected: data?.gender,
1540
- items: genderItems,
1541
- "aria-required": true,
1542
- "aria-invalid": !valid?.gender
1543
- }
1544
- )
1545
- }
1546
- )
1547
- ] });
1548
- }
1549
- function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
1550
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1551
- const { t: commonT } = useTranslation("common");
1552
- const {
1553
- form: { handleChangeFor, data }
1554
- } = useFormContext();
1555
- const { country, formVerificationErrors, fieldValidationErrors } = props;
1556
- const formUtils = createFormUtils(props, commonT);
1557
- const handleChange = (fieldName, mode) => handleChangeFor(
1558
- fieldName,
1559
- "soleProprietor",
1560
- mode
1561
- );
1562
- const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
1563
- const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
1564
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1565
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-company", children: [
1566
- /* @__PURE__ */ jsx(
1567
- Header,
1568
- {
1569
- title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1570
- description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
1571
- secondary: true
1572
- }
1573
- ),
1574
- /* @__PURE__ */ jsx(
1575
- ErrorPanel,
1576
- {
1577
- verificationErrors: formVerificationErrors,
1578
- validationErrors: fieldValidationErrors,
1579
- formUtils,
1580
- id: "ariaErrorField"
1581
- }
1582
- ),
1583
- /* @__PURE__ */ jsx(
1584
- BusinessFinancingSoleProprietorPersonalInformation,
1585
- {
1586
- ...personalInformationProps,
1587
- handleFieldChange: handleChange,
1588
- country,
1589
- targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1590
- sectionHeading: "personalInformation",
1591
- data: formUtils.getFieldData(
1592
- data?.soleProprietor ?? {},
1593
- soleProprietorPersonalInformationFields
1594
- )
1595
- }
1596
- ),
1597
- /* @__PURE__ */ jsx(
1598
- BusinessFinancingBusinessInformation,
1599
- {
1600
- ...businessInformationProps,
1601
- handleFieldChange: handleChange,
1602
- country,
1603
- targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1604
- sectionHeading: "businessInformation",
1605
- isSoleProprietor: true,
1606
- data: formUtils.getFieldData(data?.soleProprietor ?? {}, [
1607
- "naceCode",
1608
- "naceCodeLabel"
1609
- ])
1610
- }
1611
- ),
1612
- /* @__PURE__ */ jsx(
1613
- BusinessFinancingLegalInformation,
1614
- {
1615
- ...legalInformationProps,
1616
- country,
1617
- handleFieldChange: handleChange,
1618
- targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1619
- sectionHeading: "legalInformation",
1620
- data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
1621
- }
1622
- )
1623
- ] });
1624
- }
1625
- const ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
1626
- function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1627
- const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
1628
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1629
- const { t: commonT } = useTranslation("common");
1630
- const formUtils = createFormUtils(
1631
- props,
1632
- commonT
1633
- );
1634
- const {
1635
- form: { handleChangeFor, data, setValid }
1636
- } = useFormContext();
1637
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
1638
- setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
1639
- const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1640
- const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1641
- const businessInformationProps = getFieldProps(props, businessInformationFields);
1642
- const financialInformationProps = getFieldProps(props, financialInformationFields);
1643
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1644
- const addressCountry = getAddressCountryForParentCompany(
1645
- data?.ultimateParentCompany,
1646
- legalEntity?.organization?.registeredAddress
1647
- );
1648
- const currenciesForCurrCountry = currencyByCountry[addressCountry ?? country] ?? [];
1649
- if (currenciesForCurrCountry?.length === 1) {
1650
- setValid("currency", true, "ultimateParentCompany");
1651
- }
1652
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-ultimate-parent-company", children: [
1653
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["ultimateParentCompanyInformation"]) }),
1654
- /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"]) }),
1655
- /* @__PURE__ */ jsx(
1656
- ErrorPanel,
1657
- {
1658
- verificationErrors: formVerificationErrors,
1659
- validationErrors: fieldValidationErrors,
1660
- formUtils,
1661
- id: "ariaErrorField"
1662
- }
1663
- ),
1664
- /* @__PURE__ */ jsx(
1665
- BusinessFinancingBasicCompanyInformation,
1666
- {
1667
- ...basicCompanyInformationProps,
1668
- sectionHeading: "ultimateParentCompanyInformation",
1669
- handleFieldChange: handleChange,
1670
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
1671
- }
1672
- ),
1673
- /* @__PURE__ */ jsx(
1674
- BusinessFinancingRegisteredAddress,
1675
- {
1676
- ...registeredAddressProps,
1677
- formId: ultimateParentCompanyFormId$1,
1678
- sectionHeading: "ultimateParentCompanyAddress",
1679
- defaultData: data?.ultimateParentCompany,
1680
- handleFieldChange: handleChange,
1681
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
1682
- legalEntity
1683
- }
1684
- ),
1685
- /* @__PURE__ */ jsx(
1686
- BusinessFinancingBusinessInformation,
1687
- {
1688
- ...businessInformationProps,
1689
- hideSectionHeading: true,
1690
- country: addressCountry ?? country,
1691
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1692
- handleFieldChange: handleChange,
1693
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1694
- }
1695
- ),
1696
- isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1697
- BusinessFinancingFinancialInformation,
1698
- {
1699
- ...financialInformationProps,
1700
- country: addressCountry ?? country,
1701
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1702
- handleFieldChange: handleChange,
1703
- data: formUtils.getFieldData(
1704
- data?.ultimateParentCompany ?? {},
1705
- financialInformationFields
1706
- )
1707
- }
1708
- ),
1709
- /* @__PURE__ */ jsx(
1710
- BusinessFinancingLegalInformation,
1711
- {
1712
- ...legalInformationProps,
1713
- country: addressCountry ?? country,
1714
- sectionHeading: "legalInformation",
1715
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1716
- handleFieldChange: handleChange,
1717
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
1718
- }
1719
- )
1720
- ] });
1721
- }
1722
- const omittedSummaryKeys = [
1723
- "naceCodeLabel",
1724
- "legalFormLabel",
1725
- "currency",
1726
- "doesYourCompanyHaveLEI",
1727
- "sameAddressAsRootEntity"
1728
- ];
1729
- const customLabels = {
1730
- legalForm: "businessStructure",
1731
- naceCode: "industryAndNaceCode",
1732
- balanceSheetTotal: "totalAssets",
1733
- annualTurnover: "annualTurnover",
1734
- legalInformationInsolvency: "legalProceedings",
1735
- isCompanyOwnedByAnotherCompany: "hasParentCompany",
1736
- isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
1737
- isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
1738
- };
1739
- const isOmmitted = (key) => {
1740
- return omittedSummaryKeys.includes(key);
1741
- };
1742
- const isCustomLabel = (key) => {
1743
- return key in customLabels;
1744
- };
1745
- const BusinessFinancingSummary = ({
1746
- forms,
1747
- items,
1748
- handleEditForm,
1749
- children
1750
- }) => {
1751
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1752
- const { t: commonT } = useTranslation("common");
1753
- const formatItemForStructuredList = (data) => {
1754
- if (!data) return [];
1755
- const op = Object.entries(data);
1756
- const structuredListItems = op.map(([key, value]) => {
1757
- if (isOmmitted(key) || !value) return;
1758
- const termToUse = isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]);
1759
- return {
1760
- term: termToUse,
1761
- details: value
1762
- };
1763
- }).filter((v) => v !== void 0);
1764
- const structuredListItemsWithInnerForms = [];
1765
- structuredListItems.map((it) => {
1766
- if (typeof it?.details === "object") {
1767
- structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
1768
- } else {
1769
- structuredListItemsWithInnerForms.push(it);
1770
- }
1771
- });
1772
- return structuredListItemsWithInnerForms;
1773
- };
1774
- const processSummarySections = (forms2) => {
1775
- const sections = forms2.map(({ formId, formName }) => ({
1776
- formId,
1777
- label: commonT(($) => $[formName]),
1778
- items: formatItemForStructuredList(items[formId])
1779
- }));
1780
- return sections;
1781
- };
1782
- return /* @__PURE__ */ jsx(NewSummary, { handleEditForm, sections: processSummarySections(forms), children });
1783
- };
1784
- const getOrgAnalyticsData = (prefix, details) => {
1785
- const org = details?.organization;
1786
- const soleProp = details?.soleProprietorship;
1787
- const entity = org || soleProp;
1788
- if (!entity) return {};
1789
- return {
1790
- [`${prefix}--economicSector`]: entity?.economicSector ?? "",
1791
- [`${prefix}--legalForm`]: org?.legalForm ?? "",
1792
- [`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
1793
- };
1794
- };
1795
- const businessFinancingFormsRequiredFields = {
1796
- soleProprietor: businessFinancingForms.soleProprietor.fields,
1797
- company: businessFinancingForms.company.fields,
1798
- parentCompany: businessFinancingForms.parentCompany.fields,
1799
- ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
1800
- };
1801
- const parentCompanyFormId = businessFinancingForms.parentCompany.formId;
1802
- const companyFormId = businessFinancingForms.company.formId;
1803
- const ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
1804
- function BusinessFinancingDropin(props) {
1805
- const {
1806
- country,
1807
- rootLegalEntity,
1808
- externalOnSubmit,
1809
- externalOnSubmitLabel,
1810
- isStandaloneComponent,
1811
- handleHomeClick
1812
- } = props;
1813
- const { t: businessFinancingT } = useTranslation("businessFinancing");
1814
- const { t: commonT, i18n } = useTranslation("common");
1815
- const userEvents = useAnalyticsContext();
1816
- useRef(null);
1817
- const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
1818
- const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
1819
- const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
1820
- const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
1821
- const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
1822
- const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(
1823
- rootLegalEntity,
1824
- "soleProprietorship"
1825
- );
1826
- const derivedData = useMemo(() => {
1827
- if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading)
1828
- return void 0;
1829
- const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1830
- const dataFromResponse = {};
1831
- if (isSoleProprietor && soleProprietor) {
1832
- dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(
1833
- rootLegalEntity
1834
- );
1835
- dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(
1836
- soleProprietor.soleProprietorship,
1837
- dataFromResponse.soleProprietor
1838
- );
1839
- } else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
1840
- dataFromResponse.company = mapLegalEntityToBusinessFinancing(
1841
- rootLegalEntity
1842
- );
1843
- dataFromResponse.company = appendBusinessFinancingData(
1844
- rootLegalEntity.organization,
1845
- dataFromResponse.company
1846
- );
1847
- dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
1848
- dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
1849
- if (immediateParentCompany) {
1850
- dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(
1851
- immediateParentCompany
1852
- );
1853
- dataFromResponse.parentCompany = appendBusinessFinancingData(
1854
- immediateParentCompany.organization,
1855
- dataFromResponse.parentCompany
1856
- );
1857
- dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
1858
- }
1859
- if (ultimateParentCompany) {
1860
- dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(
1861
- ultimateParentCompany
1862
- );
1863
- dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(
1864
- ultimateParentCompany.organization,
1865
- dataFromResponse.ultimateParentCompany
1866
- );
1867
- dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
1868
- }
1869
- }
1870
- return dataFromResponse;
1871
- }, [
1872
- immediateParentCompanyIsLoading,
1873
- ultimateParentCompanyIsLoading,
1874
- soleProprietorIsLoading,
1875
- rootLegalEntity,
1876
- immediateParentCompany,
1877
- ultimateParentCompany,
1878
- soleProprietor
1879
- ]);
1880
- const datasetUtils = datasetUtilities(i18n.language);
1881
- const [problems, setProblems] = useState();
1882
- const [loadingStatus, setLoadingStatus] = useState("success");
1883
- const [showEndState, setShowEndState] = useState(false);
1884
- const { showToast } = useToastContext();
1885
- const { isSettingEnabled } = useSettingsContext();
1886
- const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
1887
- const onSubmit = async () => {
1888
- setLoadingStatus("loading");
1889
- if (!umfData) {
1890
- return;
1891
- }
1892
- const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1893
- const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(
1894
- BusinessFinancingIndices.COMPANY,
1895
- umfData,
1896
- rootLegalEntity
1897
- ) : null;
1898
- const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
1899
- const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(
1900
- BusinessFinancingIndices.PARENT_COMPANY,
1901
- umfData,
1902
- rootLegalEntity
1903
- ) : null;
1904
- const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(
1905
- BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY,
1906
- umfData,
1907
- rootLegalEntity
1908
- ) : null;
1909
- if (isSoleProprietor) {
1910
- if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
1911
- showToast({
1912
- label: businessFinancingT(($) => $["missingCompanyDetails"]),
1913
- variant: "error"
1914
- });
1915
- return;
1916
- }
1917
- try {
1918
- await handleBusinessFinancingFormSubmission(
1919
- BusinessFinancingIndices.SOLE_PROPRIETOR,
1920
- soleProprietorPayloads.individualPayload,
1921
- createLegalEntity,
1922
- updateLegalEntity,
1923
- rootLegalEntity.id
1924
- );
1925
- const solePropResponse = await handleBusinessFinancingFormSubmission(
1926
- BusinessFinancingIndices.SOLE_PROPRIETOR,
1927
- soleProprietorPayloads.solePropPayload,
1928
- createLegalEntity,
1929
- updateLegalEntity,
1930
- soleProprietor.id
1931
- );
1932
- const eventsAdditionalData = {
1933
- ...getOrgAnalyticsData("SoleProprietor", solePropResponse)
1934
- };
1935
- userEvents.addTaskEvent("Success", {
1936
- actionType: "submit",
1937
- returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
1938
- additionalData: eventsAdditionalData
1939
- });
1940
- await invalidateRootLegalEntity();
1941
- if (showBusinessFinancingFirst || isStandaloneComponent) {
1942
- setShowEndState(true);
1943
- } else {
1944
- externalOnSubmit?.({ ...umfData });
1945
- }
1946
- setProblems({});
1947
- } catch (e) {
1948
- showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
1949
- handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
1950
- } finally {
1951
- setLoadingStatus("success");
1952
- }
1953
- } else {
1954
- if (!mainEntityDetails || !rootLegalEntity) {
1955
- showToast({
1956
- label: businessFinancingT(($) => $["missingCompanyDetails"]),
1957
- variant: "error"
1958
- });
1959
- return;
1960
- }
1961
- let parentCompanyFailed = false;
1962
- let ultimateParentCompanyFailed = false;
1963
- try {
1964
- const promises = [];
1965
- if (parentCompanyBusinessFinancingDetails) {
1966
- const parentCompanyPromise = handleBusinessFinancingFormSubmission(
1967
- BusinessFinancingIndices.PARENT_COMPANY,
1968
- parentCompanyBusinessFinancingDetails,
1969
- createLegalEntity,
1970
- updateLegalEntity,
1971
- parentCompanyBusinessFinancingDetails?.id
1972
- );
1973
- promises.push(parentCompanyPromise);
1974
- }
1975
- if (ultimateParentCompanyBusinessFinancingDetails) {
1976
- const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(
1977
- BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY,
1978
- ultimateParentCompanyBusinessFinancingDetails,
1979
- createLegalEntity,
1980
- updateLegalEntity,
1981
- ultimateParentCompanyBusinessFinancingDetails?.id
1982
- );
1983
- promises.push(ultimateParentCompanyPromise);
1984
- }
1985
- const results = await Promise.allSettled(promises);
1986
- const previousEntityAssociations = rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter(
1987
- (entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany"
1988
- ) : [];
1989
- const businessFinancingEntityAssociations = [
1990
- ...previousEntityAssociations
1991
- ];
1992
- const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
1993
- results.forEach((result, index) => {
1994
- const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
1995
- if (result.status === "fulfilled") {
1996
- const response = result.value;
1997
- if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
1998
- businessFinancingEntityAssociations.push({
1999
- type: "immediateParentCompany",
2000
- legalEntityId: response.id,
2001
- associatorId: mainEntityDetails.id
2002
- });
2003
- entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
2004
- } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
2005
- businessFinancingEntityAssociations.push({
2006
- type: "ultimateParentCompany",
2007
- legalEntityId: response.id,
2008
- associatorId: mainEntityDetails.id
2009
- });
2010
- entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
2011
- }
2012
- } else {
2013
- if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
2014
- parentCompanyFailed = true;
2015
- } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
2016
- ultimateParentCompanyFailed = true;
2017
- }
2018
- handleSubmissionError(result.reason, businessFinancingType);
2019
- }
2020
- });
2021
- if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
2022
- mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
2023
- const eventsAdditionalData = {
2024
- ...getOrgAnalyticsData("Business", mainEntityDetails),
2025
- ...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
2026
- ...getOrgAnalyticsData(
2027
- "UltimateParentCompany",
2028
- ultimateParentCompanyBusinessFinancingDetails
2029
- )
2030
- };
2031
- try {
2032
- await handleBusinessFinancingFormSubmission(
2033
- BusinessFinancingIndices.COMPANY,
2034
- mainEntityDetails,
2035
- createLegalEntity,
2036
- updateLegalEntity,
2037
- mainEntityDetails?.id
2038
- );
2039
- userEvents.addTaskEvent("Success", {
2040
- actionType: "submit",
2041
- returnValue: entitiesToTrack,
2042
- additionalData: eventsAdditionalData
2043
- });
2044
- await invalidateRootLegalEntity();
2045
- if (showBusinessFinancingFirst || isStandaloneComponent) {
2046
- setShowEndState(true);
2047
- } else {
2048
- externalOnSubmit?.({ ...umfData });
2049
- }
2050
- } catch (e) {
2051
- showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
2052
- handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
2053
- }
2054
- setProblems({});
2055
- }
2056
- } catch (e) {
2057
- if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
2058
- handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
2059
- }
2060
- showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
2061
- } finally {
2062
- setLoadingStatus("success");
2063
- }
2064
- }
2065
- };
2066
- const handleSubmissionError = (error, businessFinancingType) => {
2067
- const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
2068
- ...businessFinancingIndividualApiKeyMapping,
2069
- ...businessFinancingSoleProprietorApiKeyMapping
2070
- } : businessFinancingApiKeyMapping;
2071
- if (isValidationError(error.actualError)) {
2072
- const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
2073
- setProblems((prevProblems) => ({
2074
- ...prevProblems,
2075
- validationErrors: {
2076
- ...prevProblems?.validationErrors,
2077
- [businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
2078
- }
2079
- }));
2080
- } else if (isMaintenanceModeError(error)) {
2081
- showToast({
2082
- label: commonT(($) => $["maintenanceModeMessage"]),
2083
- variant: "error",
2084
- duration: "indefinite"
2085
- });
2086
- } else {
2087
- showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
2088
- }
2089
- };
2090
- const [requiredFields, setRequiredFields] = useState(void 0);
2091
- const form = useMultiForm({
2092
- requiredFields,
2093
- defaultData: derivedData,
2094
- rules: businessFinancingMultiformRules
2095
- });
2096
- const { data: umfData = derivedData, isValid, errors, valid } = form;
2097
- const businessFinancingRequiredForms = useMemo(() => {
2098
- let updateForms = {};
2099
- if (umfData?.soleProprietor) {
2100
- updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
2101
- } else {
2102
- updateForms = { company: { ...businessFinancingForms.company } };
2103
- const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
2104
- const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
2105
- if (showParentCompany) {
2106
- updateForms = { ...updateForms, parentCompany: businessFinancingForms.parentCompany };
2107
- }
2108
- if (showParentCompany && showUltimateParentCompany) {
2109
- updateForms = {
2110
- ...updateForms,
2111
- ultimateParentCompany: businessFinancingForms.ultimateParentCompany
2112
- };
2113
- }
2114
- }
2115
- return updateForms;
2116
- }, [
2117
- umfData?.soleProprietor,
2118
- umfData?.company?.isCompanyOwnedByAnotherCompany,
2119
- umfData?.company?.isParentOwnedByAnotherCompany
2120
- ]);
2121
- useEffect(() => {
2122
- const reqs = getBusinessFinancingRequiredFields(
2123
- country,
2124
- umfData,
2125
- rootLegalEntity?.organization?.registeredAddress
2126
- );
2127
- setRequiredFields(reqs);
2128
- }, [umfData, rootLegalEntity?.organization?.registeredAddress]);
2129
- const forms = useMemo(() => {
2130
- const requiredForms = getRequiredForms(
2131
- businessFinancingRequiredForms,
2132
- businessFinancingFormsRequiredFields,
2133
- {}
2134
- );
2135
- return addValidityToForms(requiredForms, isValid, problems);
2136
- }, [businessFinancingRequiredForms, isValid, businessFinancingFormsRequiredFields, problems]);
2137
- const {
2138
- handleNextClick,
2139
- handleBackClick,
2140
- activeForm,
2141
- gotoFormByFormIndex,
2142
- gotoFormByFormId,
2143
- steps,
2144
- shouldValidate
2145
- } = useFormComposer({
2146
- problems,
2147
- forms,
2148
- onSubmit
2149
- });
2150
- const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-wrapper", children: [
2151
- selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(
2152
- AdditionalFieldsForBusinessFinancingSoleProprietor,
2153
- {
2154
- data: derivedData?.soleProprietor,
2155
- legalEntity: rootLegalEntity,
2156
- heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
2157
- id: selectedForm.formId,
2158
- country,
2159
- shouldValidate,
2160
- fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
2161
- formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
2162
- errors: errors?.soleProprietor,
2163
- valid: valid?.soleProprietor
2164
- }
2165
- ),
2166
- selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(
2167
- AdditionalFieldsForBusinessFinancingCompany,
2168
- {
2169
- data: derivedData?.company,
2170
- legalEntity: rootLegalEntity,
2171
- heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
2172
- id: companyFormId,
2173
- country,
2174
- shouldValidate,
2175
- fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
2176
- formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
2177
- errors: errors?.company,
2178
- valid: valid?.company
2179
- }
2180
- ),
2181
- selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(
2182
- AdditionalFieldsForBusinessFinancingParentCompany,
2183
- {
2184
- data: derivedData?.parentCompany,
2185
- heading: commonT(($) => $["parentCompanyInformation"]),
2186
- id: companyFormId,
2187
- country,
2188
- shouldValidate,
2189
- errors: errors?.parentCompany,
2190
- legalEntity: rootLegalEntity
2191
- }
2192
- ),
2193
- selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(
2194
- AdditionalFieldsForBusinessFinancingUltimateParentCompany,
2195
- {
2196
- data: derivedData?.ultimateParentCompany,
2197
- heading: commonT(($) => $["ultimateParentCompanyInformation"]),
2198
- id: companyFormId,
2199
- country,
2200
- shouldValidate,
2201
- errors: errors?.ultimateParentCompany,
2202
- legalEntity: rootLegalEntity
2203
- }
2204
- )
2205
- ] });
2206
- if (!derivedData?.company && !derivedData?.soleProprietor) {
2207
- return /* @__PURE__ */ jsx(Loader, {});
2208
- }
2209
- const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce(
2210
- (acc, validError) => ({ ...acc, ...validError }),
2211
- {}
2212
- );
2213
- const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce(
2214
- (acc, verifError) => ({ ...acc, ...verifError }),
2215
- {}
2216
- );
2217
- const formUtils = createFormUtils({ labels: {} }, commonT);
2218
- const handleEditForm = (formId) => {
2219
- const formIndex = forms.findIndex((form2) => form2.formId === formId);
2220
- if (formIndex >= 0) {
2221
- gotoFormByFormIndex(formIndex);
2222
- }
2223
- };
2224
- const itemsForSummary = formatDataForSummary(
2225
- i18n.language,
2226
- businessFinancingT,
2227
- datasetUtils,
2228
- umfData,
2229
- rootLegalEntity?.organization?.registeredAddress
2230
- );
2231
- const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, { items: itemsForSummary, handleEditForm, forms, children: /* @__PURE__ */ jsx(
2232
- ErrorPanel,
2233
- {
2234
- validationErrors: allValidationErrors,
2235
- verificationErrors: allVerificationErrors,
2236
- formUtils,
2237
- id: "ariaErrorField",
2238
- slot: "errorPanel"
2239
- }
2240
- ) });
2241
- return showEndState ? /* @__PURE__ */ jsx(
2242
- EndStateLayout,
2243
- {
2244
- title: businessFinancingT(($) => $["submissionReceived"]),
2245
- description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
2246
- action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, { onClick: () => externalOnSubmit?.({ ...umfData }), children: externalOnSubmitLabel || commonT(($) => $["finish"]) }) : void 0
2247
- }
2248
- ) : /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
2249
- FormFlow,
2250
- {
2251
- summaryComponent,
2252
- currentStep: steps.current,
2253
- disableNextButton: !activeForm.isValid,
2254
- forms,
2255
- activeForm,
2256
- gotoFormByFormIndex,
2257
- gotoFormByFormId,
2258
- handleBackClick,
2259
- handleCancelClick: handleHomeClick,
2260
- handleNextClick,
2261
- loadingStatus,
2262
- totalSteps: steps.total,
2263
- children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(
2264
- activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)
2265
- ) })
2266
- }
2267
- ) });
2268
- }
2269
- export {
2270
- BusinessFinancingDropin as B
2271
- };