@adyen/kyc-components 4.3.0 → 4.4.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 (352) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-OMNQzzlt.js → AcceptTermsOfServiceComponent-BNYCiHcM.js} +15 -15
  2. package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-CjBJD3co.js} +2 -2
  3. package/dist/{ActionBar-CYYTQnyt.js → ActionBar-CNo6TTyu.js} +2 -2
  4. package/dist/{Address-BuvEwdEz.js → Address-Diyf6D1h.js} +17 -18
  5. package/dist/{Avatar-6Ijr-U98.js → Avatar-Brfu-Afq.js} +2 -2
  6. package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-CFjqKEuN.js} +6 -6
  7. package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-CTIycsy1.js} +30 -30
  8. package/dist/BusinessFinancingPage-CgjmgSnX.js +43 -0
  9. package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-B06fk_Rg.js} +9 -9
  10. package/dist/{Checkbox-CEt2JNWg.js → Checkbox-DNfOluUb.js} +2 -2
  11. package/dist/{Confirm-tO8eG5lI.js → Confirm-DCXKUVXM.js} +3 -3
  12. package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-Coj5aMaC.js} +18 -18
  13. package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-tXeN2x-X.js} +6 -6
  14. package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-BGYRTngC.js} +2 -2
  15. package/dist/{CountryField-BfpNTqr6.js → CountryField-pShtGZpv.js} +4 -4
  16. package/dist/CreateIndividualComponent-abEc0kLX.js +65 -0
  17. package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-Cg8q2lzu.js} +5 -5
  18. package/dist/{Currency-CIvge00Z.js → Currency-3KfPJJfd.js} +10 -10
  19. package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-dXIEfG6m.js} +10 -10
  20. package/dist/{DebugModal-CPJQfotk.js → DebugModal-xFsjUBKk.js} +9 -9
  21. package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-BdZAgdo_.js} +8 -8
  22. package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-efKmwEH6.js} +21 -22
  23. package/dist/{Dropzone-B87ivHUX.js → Dropzone-BtwqJU5w.js} +4 -4
  24. package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-Di3lXGXA.js} +3 -3
  25. package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-C63kFcwB.js} +2 -2
  26. package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-Cz6ly5Qe.js} +5 -5
  27. package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-BGC_I-s6.js} +4 -4
  28. package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-Bsb874-e.js} +2 -2
  29. package/dist/{Field-CS5lBNi-.js → Field-nIoNNk_N.js} +2 -2
  30. package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-9E9YQaln.js} +3 -3
  31. package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-HYumfmvK.js} +9 -9
  32. package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-DJfPeca6.js} +10 -7
  33. package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-FCdKMguU.js} +180 -167
  34. package/dist/{InputDate-DbPcPUic.js → InputDate-BAWkxli9.js} +2 -2
  35. package/dist/{InputText-CQMxEarX.js → InputText-DCNTJXjB.js} +2 -2
  36. package/dist/{Introduction-_K-ioq4w.js → Introduction-zRpWy7HO.js} +4 -4
  37. package/dist/{JpAddress-8qsY8wnP.js → JpAddress-B8_YLYu7.js} +10 -11
  38. package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-BkwhYMd1.js} +2 -2
  39. package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-Br-bRib5.js} +6 -6
  40. package/dist/LegalRepresentativeDetailsPage-DsfDlsBE.js +55 -0
  41. package/dist/{Link-deXxlSsM.js → Link-B5DpLekJ.js} +2 -2
  42. package/dist/{ListItem-Dtx0lKaK.js → ListItem-C9ET58aa.js} +3 -3
  43. package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-BrMjOh8d.js} +2 -2
  44. package/dist/ManageIndividualComponent-DNe0RWZb.js +46 -0
  45. package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-Dca8Fs-a.js} +4 -4
  46. package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-EZgfMS-6.js} +12 -13
  47. package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-BcdqJYu3.js} +5 -5
  48. package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-BndZ-_x7.js} +3 -3
  49. package/dist/{Modal-CyGRv-gZ.js → Modal-DFCycX68.js} +2 -2
  50. package/dist/{Name-DB6DpTUy.js → Name-TIfffXgJ.js} +5 -5
  51. package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-CvE6pJKz.js} +793 -107
  52. package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-fP0XOKYY.js} +64 -168
  53. package/dist/PayoutDetailsPage-Bg4jqe0M.js +55 -0
  54. package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-sThBOoyi.js} +2 -2
  55. package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-C6sxs8KI.js} +2 -2
  56. package/dist/{Review-BfeBbmqL.js → Review-EZfLF4rz.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-DpdikJPd.js} +5 -5
  58. package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-C-sZv7m1.js} +24 -27
  59. package/dist/RootIndividualDetailsPage-BY5WbcpR.js +61 -0
  60. package/dist/{Select-w8VBNvQR.js → Select-C90SXgWt.js} +4 -4
  61. package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-BM4bM5lG.js} +11 -11
  62. package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-Bf4TJmNp.js} +6 -6
  63. package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-DuR8s39H.js} +4 -4
  64. package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-B-4L7Rbi.js} +36 -40
  65. package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-DwIkNQ98.js} +2 -2
  66. package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-OuIcrYXq.js} +222 -209
  67. package/dist/{StructuredList-Bh1vlAFE.js → StructuredList-CNha20ka.js} +1 -1
  68. package/dist/{Summary-SxfPLeM9.js → Summary-BdZCrtmA.js} +11 -9
  69. package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-CLotsTdy.js} +22 -22
  70. package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-CCjRFYko.js} +15 -15
  71. package/dist/{TextArea-I88bxkOh.js → TextArea-DggFRd6A.js} +2 -2
  72. package/dist/{TileGroup-PHV4JXvH.js → TileGroup-Chn8t1lL.js} +3 -3
  73. package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-C61KvX6f.js} +33 -33
  74. package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-CqiLrrtT.js} +6 -6
  75. package/dist/TrustMemberIndividualPage-DOOv3UCM.js +64 -0
  76. package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-Cil5oL0H.js} +22 -23
  77. package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-5PfCpnLZ.js} +11 -11
  78. package/dist/UnincorporatedPartnershipIndividualPage-Imr8r98E.js +63 -0
  79. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-DVn8X5ZA.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-D1ZiUnfd.js} +15 -15
  81. package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-B3hUsoDk.js} +8 -8
  82. package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-C-FdjLP6.js} +23 -3
  83. package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-BrH14DRo.js} +3 -3
  84. package/dist/adyen-business-financing.js +3 -3
  85. package/dist/adyen-individual-configuration.js +3 -3
  86. package/dist/adyen-individual-status.js +3 -3
  87. package/dist/adyen-invited-decision-maker.js +8 -8
  88. package/dist/adyen-kyc-components.js +15 -16
  89. package/dist/adyen-onboarding.js +3 -3
  90. package/dist/adyen-terms-of-service-management.js +3 -3
  91. package/dist/adyen-terms-of-service-status.js +3 -3
  92. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  93. package/dist/adyen-transfer-instrument-management.js +3 -3
  94. package/dist/adyen-verification-status.js +3 -3
  95. package/dist/{bafinUtils-BABg2zgB.js → bafinUtils-IYWLuHfZ.js} +14 -2
  96. package/dist/bg-BG-CRbKoTLs.js +13 -0
  97. package/dist/{bg-BG-C6kad3Qr.js → bg-BG-Cj3_UGTi.js} +10 -1
  98. package/dist/{bg-BG-er0t4jTs.js → bg-BG-Cz7Cuw8v.js} +3 -1
  99. package/dist/bg-BG-DqRXdvRT.js +13 -0
  100. package/dist/{commonValidators-BcyFMdFA.js → commonValidators-Bv3KYb4e.js} +2 -2
  101. package/dist/{cs-CZ-CQNBae2b.js → cs-CZ-BlrV3tkx.js} +3 -1
  102. package/dist/cs-CZ-CmPmY5GZ.js +13 -0
  103. package/dist/cs-CZ-DR5Pfj3g.js +13 -0
  104. package/dist/{cs-CZ-C_GFp3nV.js → cs-CZ-DxfB5dcV.js} +10 -1
  105. package/dist/{da-DK-C60mLiV1.js → da-DK-BfsYpvel.js} +10 -1
  106. package/dist/da-DK-CG2NcTvu.js +13 -0
  107. package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
  108. package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
  109. package/dist/da-DK-DaINWU5x.js +13 -0
  110. package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
  111. package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
  112. package/dist/{de-DE-Cvz1TGdB.js → de-DE-CEsDXBn-.js} +10 -1
  113. package/dist/de-DE-KqZs1FFF.js +13 -0
  114. package/dist/de-DE-NMS4xBab.js +13 -0
  115. package/dist/{dropinUtils-Ds8fesIK.js → dropinUtils-BIMKuwjT.js} +4 -4
  116. package/dist/{el-GR-DTHQslLc.js → el-GR-BNNlN4l2.js} +2 -2
  117. package/dist/el-GR-Bn45KMp-.js +13 -0
  118. package/dist/{el-GR-DSlgFwLb.js → el-GR-CM3bIzr7.js} +10 -1
  119. package/dist/{el-GR-XRux2Wpv.js → el-GR-D6XimdV5.js} +3 -1
  120. package/dist/el-GR-DWM1mhuZ.js +13 -0
  121. package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
  122. package/dist/en-US-CEnwRsyr.js +13 -0
  123. package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
  124. package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
  125. package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
  126. package/dist/{es-ES-Dj5-YMmZ.js → es-ES-BWFP5itn.js} +10 -1
  127. package/dist/es-ES-BWe46jej.js +13 -0
  128. package/dist/es-ES-DzGJ9DrB.js +13 -0
  129. package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
  130. package/dist/{et-EE--cL_YqWe.js → et-EE-B_Wk8564.js} +3 -1
  131. package/dist/{et-EE-Bij5j-z5.js → et-EE-CcXrAAc7.js} +10 -1
  132. package/dist/et-EE-CylmXBkF.js +13 -0
  133. package/dist/et-EE-JKt5dMOQ.js +13 -0
  134. package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
  135. package/dist/{fi-FI-B2xHiSHi.js → fi-FI-DenK0WPz.js} +10 -1
  136. package/dist/fi-FI-larJ5zXy.js +13 -0
  137. package/dist/fi-FI-n9XAQuIy.js +13 -0
  138. package/dist/{formUtils-Ctj-XQBQ.js → formUtils-BFUZHoQZ.js} +3 -3
  139. package/dist/{fr-FR-CNQtWSXx.js → fr-FR-BmTswZU5.js} +10 -1
  140. package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
  141. package/dist/fr-FR-DVqpakkq.js +13 -0
  142. package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
  143. package/dist/fr-FR-iD1onxpA.js +13 -0
  144. package/dist/{getName-VMVSrxGw.js → getName-B38W_qUJ.js} +2 -2
  145. package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-1vXQVg7Q.js} +2 -2
  146. package/dist/hr-HR-C-Hn5lAD.js +13 -0
  147. package/dist/hr-HR-CAqaI1xJ.js +13 -0
  148. package/dist/{hr-HR-B6U5Rzzw.js → hr-HR-SDrDZRLV.js} +10 -1
  149. package/dist/{hr-HR-DtfHQVe0.js → hr-HR-g88yM2q1.js} +3 -1
  150. package/dist/{hu-HU-I4-KFzvz.js → hu-HU-ByRdd0O_.js} +3 -1
  151. package/dist/{hu-HU-DU-5ujQK.js → hu-HU-C3ZiFh1F.js} +2 -2
  152. package/dist/hu-HU-CRpdELm_.js +13 -0
  153. package/dist/{hu-HU-BLLoj5CX.js → hu-HU-DSVf2zbX.js} +10 -1
  154. package/dist/hu-HU-DynB7VhD.js +13 -0
  155. package/dist/{iframeWidget-CJ4GOEBG.js → iframeWidget-CjQFGMKX.js} +4 -4
  156. package/dist/{isEmpty-BNrK3WJw.js → isEmpty-CsJihz8_.js} +2 -2
  157. package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
  158. package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
  159. package/dist/{it-IT-Cr20JO4o.js → it-IT-DJe5OflH.js} +10 -1
  160. package/dist/it-IT-DkiyBNl6.js +13 -0
  161. package/dist/it-IT-M7AqGzBo.js +13 -0
  162. package/dist/ja-JP-B0Ox3Ixh.js +13 -0
  163. package/dist/ja-JP-BcGZdMJa.js +13 -0
  164. package/dist/{ja-JP-BZb5ndp9.js → ja-JP-BpeNsNhn.js} +2 -2
  165. package/dist/{ja-JP-CaUe8KW7.js → ja-JP-CbP1sVFP.js} +3 -1
  166. package/dist/{ja-JP-BeeuQ_LL.js → ja-JP-GGV_-V6p.js} +10 -1
  167. package/dist/{japanSupportUtils-B1kmKF7K.js → japanSupportUtils-Cr3OSFeT.js} +2 -2
  168. package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-aLVQhrrE.js} +2 -2
  169. package/dist/{lt-LT-0WbfHH_o.js → lt-LT-C9nsCODy.js} +10 -1
  170. package/dist/{lt-LT-BLsIcCtE.js → lt-LT-CNTNKNlX.js} +3 -1
  171. package/dist/lt-LT-DWs-lYAv.js +13 -0
  172. package/dist/lt-LT-SQmafLDX.js +13 -0
  173. package/dist/lv-LV-B5Os0zqy.js +13 -0
  174. package/dist/{lv-LV-BZN4-Xat.js → lv-LV-BdPdaVGy.js} +2 -2
  175. package/dist/{lv-LV-BuuUUumH.js → lv-LV-Bue450PR.js} +10 -1
  176. package/dist/lv-LV-CdCU8ZaR.js +13 -0
  177. package/dist/{lv-LV-C7hMdPcY.js → lv-LV-N81Dgdm3.js} +3 -1
  178. package/dist/{mapExistingFile-BU4Lq435.js → mapExistingFile-CqGVkBAW.js} +4 -4
  179. package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-BDUUUodD.js} +2 -2
  180. package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-CTNNZ_f2.js} +7 -7
  181. package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-DC5rCBeC.js} +2 -2
  182. package/dist/{nl-NL-KsfqCp2v.js → nl-NL-4Mv4rnYy.js} +10 -1
  183. package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
  184. package/dist/nl-NL-BVRcJEzp.js +13 -0
  185. package/dist/nl-NL-D7k3hkBl.js +13 -0
  186. package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
  187. package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
  188. package/dist/{no-NO-BdG6WnpB.js → no-NO-ByCZ3mhz.js} +10 -1
  189. package/dist/no-NO-DOOgOJr1.js +13 -0
  190. package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
  191. package/dist/no-NO-DlnsfTwn.js +13 -0
  192. package/dist/{patternValidators-hk7OKIOW.js → patternValidators-re9oGFvp.js} +2 -2
  193. package/dist/pl-PL-B-V8iF6C.js +13 -0
  194. package/dist/pl-PL-Bvnak7w3.js +13 -0
  195. package/dist/{pl-PL-DYxD6VJ_.js → pl-PL-CbJSQVfe.js} +3 -1
  196. package/dist/{pl-PL-DW9eaUml.js → pl-PL-DCi5Lf4k.js} +10 -1
  197. package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-BLwIIYnH.js} +3 -3
  198. package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
  199. package/dist/pt-BR-BZkPZ0kK.js +13 -0
  200. package/dist/pt-BR-Bq41lr7C.js +13 -0
  201. package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
  202. package/dist/{pt-BR-BdfWE-a1.js → pt-BR-DRz5cG4o.js} +10 -1
  203. package/dist/{pt-PT-TKg5FLat.js → pt-PT-BMOUpVLE.js} +3 -1
  204. package/dist/{pt-PT-c0ap84_F.js → pt-PT-C2li07N1.js} +2 -2
  205. package/dist/{pt-PT-ej54BPbB.js → pt-PT-ChRbnn0k.js} +10 -1
  206. package/dist/pt-PT-D-EPzKV-.js +13 -0
  207. package/dist/pt-PT-DkfqmPrD.js +13 -0
  208. package/dist/{resolveEnvironment-Dz4WVUeH.js → resolveEnvironment-CfoOtzJq.js} +3 -3
  209. package/dist/ro-RO-BEVRugNx.js +13 -0
  210. package/dist/{ro-RO-3rOfS17N.js → ro-RO-BJoL_nyS.js} +3 -1
  211. package/dist/{ro-RO-1ZFmLikG.js → ro-RO-Dgie5z3m.js} +10 -1
  212. package/dist/ro-RO-Dt2gs44k.js +13 -0
  213. package/dist/{ro-RO-BPOHV6Wp.js → ro-RO-iPjOeKwM.js} +2 -2
  214. package/dist/{roleMetadata-CCCowA5b.js → roleMetadata-DYV3rdBn.js} +3 -3
  215. package/dist/sk-SK-B6LcEArz.js +13 -0
  216. package/dist/sk-SK-Bh7WfMNd.js +13 -0
  217. package/dist/{sk-SK-CjrLvDMx.js → sk-SK-DxdxUonp.js} +3 -1
  218. package/dist/{sk-SK-Dm-pif_7.js → sk-SK-bMDoNP19.js} +10 -1
  219. package/dist/sl-SI-CxGdSydw.js +13 -0
  220. package/dist/{sl-SI-HO7231cu.js → sl-SI-DKSu25rO.js} +10 -1
  221. package/dist/sl-SI-DNbu8KiE.js +13 -0
  222. package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
  223. package/dist/style.css +80 -79
  224. package/dist/styles-CLV89_hH.js +80 -79
  225. package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
  226. package/dist/sv-SE-CgB54Aa4.js +13 -0
  227. package/dist/{sv-SE-BcJ8p_Tx.js → sv-SE-Co7Nkd06.js} +10 -1
  228. package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
  229. package/dist/sv-SE-DgMcRRS8.js +13 -0
  230. package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
  231. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -5
  232. package/dist/types/api/queryKeys.d.ts +2 -1
  233. package/dist/types/api/toggles/useToggles.d.ts +9 -0
  234. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
  235. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
  236. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
  237. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  238. package/dist/types/components/Business/forms/rules.d.ts +6 -6
  239. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +153 -153
  240. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +3 -3
  241. package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
  242. package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
  243. package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
  244. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
  245. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  246. package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
  247. package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
  248. package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
  249. package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
  250. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
  251. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
  252. package/dist/types/context/ExperimentContext/types.d.ts +4 -5
  253. package/dist/types/language/utils.d.ts +1 -1
  254. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  255. package/dist/{types-BxMBuuEz.js → types-C-ztKw54.js} +2 -2
  256. package/dist/{types-D1PsvtzF.js → types-DP1DvIeR.js} +5 -6
  257. package/dist/{types-CYkhUYV6.js → types-g6JPEyyN.js} +2 -2
  258. package/dist/{types-DU69aeMN.js → types-uVH7U0h2.js} +2 -2
  259. package/dist/{Image-kVLn7Cb2.js → unincorporated-partnership-Hoe7PA91.js} +8 -7
  260. package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-ucvdLTGT.js} +2 -2
  261. package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-CxXKyGeU.js} +68 -57
  262. package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-Bk61sk7s.js} +2 -2
  263. package/dist/{useForm-B64f0N0r.js → useForm-DQH4mGUZ.js} +3 -3
  264. package/dist/{useFormContext-B08W9NV0.js → useFormContext-ZCKflTK_.js} +7 -7
  265. package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-Byz86Dwm.js} +2 -2
  266. package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-h2cXm0Wp.js} +4 -4
  267. package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-CrRySsUj.js} +1 -1
  268. package/dist/{useScenarios-DfdvyKrI.js → useScenarios-DZTIxRUa.js} +2 -2
  269. package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-D7U4ZvId.js} +1 -1
  270. package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-B6kjomhG.js} +2 -2
  271. package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-DFI414tD.js} +5 -5
  272. package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-DwvzXYBi.js} +4 -4
  273. package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-C6sJWLoQ.js} +3 -3
  274. package/dist/{utils-CPRZoX7V.js → utils-B4lHukc_.js} +6 -6
  275. package/dist/{utils-Drnia92l.js → utils-B_vtlCcH.js} +5 -19
  276. package/dist/{utils-DTUxA3nO.js → utils-Dc5iJioT.js} +2 -2
  277. package/dist/{utils-BUyOscpp.js → utils-DppirtL5.js} +2 -2
  278. package/dist/{utils-CnulHkMn.js → utils-b2XySOaT.js} +2 -2
  279. package/dist/{validate-DlUk1wzH.js → validate-Bb8eQLcr.js} +2 -2
  280. package/dist/{validate-DLxn3LIK.js → validate-QeOupYto.js} +3 -3
  281. package/dist/{validationError-CcsgWg6J.js → validationError-YeKQde9b.js} +2 -2
  282. package/package.json +6 -6
  283. package/dist/BusinessFinancingPage-CJXuD19C.js +0 -43
  284. package/dist/CreateIndividualComponent-BXI_yAXJ.js +0 -65
  285. package/dist/LegalRepresentativeDetailsPage-C3QWHa7T.js +0 -55
  286. package/dist/ManageIndividualComponent-DvmShxf5.js +0 -46
  287. package/dist/RootIndividualDetailsPage-8nUlp7YZ.js +0 -62
  288. package/dist/TrustMemberIndividualPage-DG9KUe02.js +0 -64
  289. package/dist/UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js +0 -63
  290. package/dist/accountHolderUtils-yQ8liitv.js +0 -66
  291. package/dist/bg-BG-BNRJzjXu.js +0 -13
  292. package/dist/bg-BG-DAqp35Dx.js +0 -13
  293. package/dist/company-types-value-D_mKv5PT.js +0 -23
  294. package/dist/cs-CZ-BMnoWiIi.js +0 -13
  295. package/dist/cs-CZ-Ke47w0bj.js +0 -13
  296. package/dist/da-DK-Cx4-hLO1.js +0 -13
  297. package/dist/da-DK-D17SWJin.js +0 -13
  298. package/dist/de-DE-CL8D8vKZ.js +0 -13
  299. package/dist/de-DE-DC90bn2y.js +0 -13
  300. package/dist/el-GR-B2xt_Hn1.js +0 -13
  301. package/dist/el-GR-Dvv3-Qib.js +0 -13
  302. package/dist/en-US-CfIkXJPX.js +0 -13
  303. package/dist/es-ES-CzG-lilL.js +0 -13
  304. package/dist/es-ES-Vn4AcK9-.js +0 -13
  305. package/dist/et-EE-B7OzU-54.js +0 -13
  306. package/dist/et-EE-BeZJ4Ub1.js +0 -13
  307. package/dist/fi-FI-CWIaV6Iz.js +0 -13
  308. package/dist/fi-FI-DooPgPb1.js +0 -13
  309. package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
  310. package/dist/fr-FR-29mQrnro.js +0 -13
  311. package/dist/fr-FR-CCb4Oux7.js +0 -13
  312. package/dist/getTrustedFields-C5-mXl-l.js +0 -64
  313. package/dist/hr-HR-BAI0N9bo.js +0 -13
  314. package/dist/hr-HR-BFu1_Xrc.js +0 -13
  315. package/dist/hu-HU-BpNDP1I8.js +0 -13
  316. package/dist/hu-HU-nf030gFT.js +0 -13
  317. package/dist/it-IT-BRO0Hf5X.js +0 -13
  318. package/dist/it-IT-CToDWXlu.js +0 -13
  319. package/dist/ja-JP-B3Y0VVpN.js +0 -152
  320. package/dist/ja-JP-BkAEknQ-.js +0 -13
  321. package/dist/lt-LT-DpszrZ9m.js +0 -13
  322. package/dist/lt-LT-DxzEdyVV.js +0 -13
  323. package/dist/lv-LV-B3IqVQos.js +0 -13
  324. package/dist/lv-LV-D-j-4Dao.js +0 -13
  325. package/dist/nl-NL-C8CEGqAc.js +0 -13
  326. package/dist/nl-NL-CnvvqAEg.js +0 -13
  327. package/dist/no-NO-CIKbQbKT.js +0 -13
  328. package/dist/no-NO-DbVtqyON.js +0 -13
  329. package/dist/pl-PL-Bxtudsvi.js +0 -13
  330. package/dist/pl-PL-CTOkaDMG.js +0 -13
  331. package/dist/pt-BR-CL4JYBNe.js +0 -13
  332. package/dist/pt-BR-CLUsrQAl.js +0 -13
  333. package/dist/pt-PT-BLRgiqFj.js +0 -13
  334. package/dist/pt-PT-C-OZtnUM.js +0 -13
  335. package/dist/ro-RO-BeA_YyJ8.js +0 -13
  336. package/dist/ro-RO-Dq1NTg-A.js +0 -13
  337. package/dist/sk-SK-CMvUjDgW.js +0 -13
  338. package/dist/sk-SK-Og9MJXpR.js +0 -13
  339. package/dist/sl-SI-BslBqaxO.js +0 -13
  340. package/dist/sl-SI-CoI7iOco.js +0 -13
  341. package/dist/sv-SE-ChoPzG_G.js +0 -13
  342. package/dist/sv-SE-Dm_WHV9V.js +0 -13
  343. package/dist/unincorporated-partnership-D8XzcFAz.js +0 -17
  344. package/dist/useBusinessLines-ewWROXYV.js +0 -29
  345. package/dist/useCanSeeIntroduction-BbjNCK9Z.js +0 -48
  346. package/dist/useDataMissingRemediations-CjxCe3yc.js +0 -41
  347. package/dist/useDeleteTransferInstrument-HN2BLhyP.js +0 -32
  348. package/dist/useNavigate-BXyVMJUH.js +0 -265
  349. package/dist/usePciQuestionnaireList--rMXF8VL.js +0 -29
  350. package/dist/useSalesChannels-CGESLvW6.js +0 -65
  351. package/dist/useTaskStatus-CBWvTwlZ.js +0 -51
  352. package/dist/useTrustMembers-GEABHhkr.js +0 -163
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
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] = "849b8b62-9ab8-4451-bf89-b5e9034269ea", e._sentryDebugIdIdentifier = "sentry-dbid-849b8b62-9ab8-4451-bf89-b5e9034269ea");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ac0f54da-8f12-4984-99e6-bbfb10bed946", e._sentryDebugIdIdentifier = "sentry-dbid-ac0f54da-8f12-4984-99e6-bbfb10bed946");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,60 +11,61 @@ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { Show } from "@preact/signals/utils";
12
12
  import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
13
13
  import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
14
- import { u as useScenarios } from "./useScenarios-DfdvyKrI.js";
15
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DC4AmtL1.js";
16
- import { b as useApiContext, a3 as httpPost, a5 as CountryCodes, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as INDIVIDUAL_VALID_CHAR_REGEX, aq as isEmpty, h as TaskTypes, L as LegalEntityTypes, aB as getAgeToday, aC as euCountries, aD as hasText, aE as standardKatakanaValidator, aF as standardKanjiValidator, j as httpGet, u as useTranslation, Z as Button, r as Alert, G as Loader, aG as DecisionMakerTypes, aH as Scenarios, z as Typography, a7 as translateTranslatable, af as useI18nContext, aj as useDataset, ak as datasetIdentifier, aI as useAllowedCountries, H as useSettingsContext, v as useExperimentsContext, au as Header, aJ as getAgeRangeForLegalRepresentative, aK as isLegalRepresentativeNeeded, aL as Trans, aM as valuesOf, aN as keysOf, ab as objectsDeepEqual, aO as listToRecord, aP as pick, a8 as createLogger, q as IconButton, m as useAnalyticsContext, ag as datasetUtilities, aQ as useCapabilities, aR as individualApiKeyMapping, aS as drop, k as useAccountHolder, a4 as getLegalEntityCountry, aT as getAllowedDecisionMakerRoles, aU as filterOutUnwantedAssociationsIfRootLE, ah as cloneObject, aV as individualDocumentMapping, aW as individualObscuredFields, am as getOwnEntityAssociations, aX as hasNomineesChanged, aY as attachNomineeToRole, aZ as doArraysMatch } from "./StoreProvider-DFR6yFy8.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B1R9qggb.js";
18
- import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-BuvEwdEz.js";
19
- import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-wRdhpEXl.js";
20
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B08W9NV0.js";
21
- import { u as useToastContext } from "./useToastContext-D7Wu9TN_.js";
22
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CSUAI1_s.js";
23
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
24
- import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.js";
25
- import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BU4Lq435.js";
14
+ import { u as useScenarios } from "./useScenarios-DZTIxRUa.js";
15
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Bk61sk7s.js";
16
+ import { b as useApiContext, h as httpPost, aa as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, y as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, j as httpGet, u as useTranslation, W as Button, G as Alert, V as Loader, as as DecisionMakerTypes, at as Scenarios, O as Typography, ac as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, k as useSettingsContext, J as useExperimentsContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, m as createLogger, C as IconButton, z as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, v as useAccountHolder, a9 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ad as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-OuIcrYXq.js";
17
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C6sJWLoQ.js";
18
+ import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-Diyf6D1h.js";
19
+ import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-tXeN2x-X.js";
20
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-ZCKflTK_.js";
21
+ import { u as useToastContext } from "./useToastContext-B6kjomhG.js";
22
+ import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BLwIIYnH.js";
23
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BIMKuwjT.js";
24
+ import { u as useMultiForm } from "./useMultiForm-h2cXm0Wp.js";
25
+ import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-CqGVkBAW.js";
26
26
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
27
- import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js";
28
- import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-DTUxA3nO.js";
29
- import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-DHieAjhC.js";
30
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CcsgWg6J.js";
31
- import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-DLxn3LIK.js";
32
- import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-pIOj5IIN.js";
33
- import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-B1kmKF7K.js";
34
- import { l as localizeDateString } from "./localizeDateString-DUFhW5fN.js";
35
- import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CJ4GOEBG.js";
36
- import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-DX9qywO6.js";
37
- import { v as validatePatternOnBlur } from "./patternValidators-hk7OKIOW.js";
27
+ import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BDUUUodD.js";
28
+ import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-Dc5iJioT.js";
29
+ import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-CTNNZ_f2.js";
30
+ import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-YeKQde9b.js";
31
+ import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-QeOupYto.js";
32
+ import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-CLotsTdy.js";
33
+ import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-Cr3OSFeT.js";
34
+ import { l as localizeDateString } from "./localizeDateString-aLVQhrrE.js";
35
+ import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CjQFGMKX.js";
36
+ import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-BcdqJYu3.js";
37
+ import { v as validatePatternOnBlur } from "./patternValidators-re9oGFvp.js";
38
38
  import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
39
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BUyOscpp.js";
39
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DppirtL5.js";
40
40
  import { lazy, Suspense, memo } from "preact/compat";
41
- import { I as Image, T as TrustedFieldsProviders } from "./Image-kVLn7Cb2.js";
42
- import { M as Modal } from "./Modal-CyGRv-gZ.js";
43
- import { L as LandingLayout } from "./LandingLayout-Bx0c6vHb.js";
44
- import { C as Confirm } from "./Confirm-tO8eG5lI.js";
45
- import { a as getIndividualLegalEntityName } from "./getName-VMVSrxGw.js";
46
- import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-BABg2zgB.js";
41
+ import { I as Image } from "./unincorporated-partnership-Hoe7PA91.js";
42
+ import { M as Modal } from "./Modal-DFCycX68.js";
43
+ import { L as LandingLayout } from "./LandingLayout-BkwhYMd1.js";
44
+ import { C as Confirm } from "./Confirm-DCXKUVXM.js";
45
+ import { a as getIndividualLegalEntityName } from "./getName-B38W_qUJ.js";
46
+ import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-IYWLuHfZ.js";
47
47
  import { signal } from "@preact/signals";
48
- import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-0defccwj.js";
48
+ import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-Bsb874-e.js";
49
49
  import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
50
- import { F as Field } from "./Field-CS5lBNi-.js";
51
- import { L as Link } from "./Link-deXxlSsM.js";
50
+ import { F as Field } from "./Field-nIoNNk_N.js";
51
+ import { L as Link } from "./Link-B5DpLekJ.js";
52
52
  import { S as SettingNames } from "./types-CQ2p58-6.js";
53
- import { I as InputDate, f as formatDateObj } from "./InputDate-DbPcPUic.js";
54
- import { I as InputText } from "./InputText-CQMxEarX.js";
55
- import { C as CountryField } from "./CountryField-BfpNTqr6.js";
56
- import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-Bmyz_UGC.js";
57
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Ctj-XQBQ.js";
58
- import { C as Checkbox } from "./Checkbox-CEt2JNWg.js";
59
- import { S as Select } from "./Select-w8VBNvQR.js";
60
- import { C as ContextGuidance } from "./ContextGuidance-D-wkN66k.js";
61
- import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-BKCZ5pw4.js";
62
- import { i as isTruthyValidator } from "./commonValidators-BcyFMdFA.js";
63
- import { n as nameFields, N as Name } from "./Name-DB6DpTUy.js";
64
- import { D as Dropzone } from "./Dropzone-B87ivHUX.js";
65
- import { i as isEmpty$1 } from "./isEmpty-BNrK3WJw.js";
53
+ import { I as InputDate, f as formatDateObj } from "./InputDate-BAWkxli9.js";
54
+ import { I as InputText } from "./InputText-DCNTJXjB.js";
55
+ import { C as CountryField } from "./CountryField-pShtGZpv.js";
56
+ import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-sThBOoyi.js";
57
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BFUZHoQZ.js";
58
+ import { C as Checkbox } from "./Checkbox-DNfOluUb.js";
59
+ import { S as Select } from "./Select-C90SXgWt.js";
60
+ import { C as ContextGuidance } from "./ContextGuidance-BGYRTngC.js";
61
+ import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DJfPeca6.js";
62
+ import { i as isTruthyValidator } from "./commonValidators-Bv3KYb4e.js";
63
+ import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
64
+ import { n as nameFields, N as Name } from "./Name-TIfffXgJ.js";
65
+ import { D as Dropzone } from "./Dropzone-BtwqJU5w.js";
66
+ import { i as isEmpty$1 } from "./isEmpty-CsJihz8_.js";
66
67
  import { Onfido } from "onfido-sdk-ui";
67
- import { L as LoaderWrapper } from "./LoaderWrapper-Dg9BXOfN.js";
68
+ import { L as LoaderWrapper } from "./LoaderWrapper-BrMjOh8d.js";
68
69
  import { S as Spacer } from "./Spacer-BK3jDget.js";
69
70
  import { f as formatObject } from "./utils-DNSfZiio.js";
70
71
  import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
@@ -788,7 +789,7 @@ const additionalPersonalDetailsValidators = ({
788
789
  idNumber,
789
790
  existingIdNumber,
790
791
  formVerificationErrors,
791
- i18n,
792
+ t,
792
793
  taxIdNumberType
793
794
  }) => ({
794
795
  taxInformation: resolveFieldMetadata(
@@ -830,7 +831,7 @@ const additionalPersonalDetailsValidators = ({
830
831
  ...addressValidators({
831
832
  isExperimentEnabled,
832
833
  country,
833
- i18n
834
+ t
834
835
  })
835
836
  });
836
837
  const localizedNameValidationRulesV4 = (isExperimentEnabled = () => false, country) => {
@@ -1073,7 +1074,7 @@ const IdNowVerificationModal = ({ handleFinish }) => {
1073
1074
  size: page === 2 ? "large" : "medium",
1074
1075
  showCloseButton: !isLoading && !isStatusLoading,
1075
1076
  onClose: handleDismiss,
1076
- ariaLabel: t(($) => $["identityVerification"], { ns: "common" }),
1077
+ ariaLabel: t(($) => $["identityVerification"]),
1077
1078
  children: [
1078
1079
  page === 1 && /* @__PURE__ */ jsx("div", { className: styles$4.idnowHeader, children: /* @__PURE__ */ jsx(
1079
1080
  LandingLayout,
@@ -1085,7 +1086,7 @@ const IdNowVerificationModal = ({ handleFinish }) => {
1085
1086
  lazyLoadedImage: passportFrontGreenImage$1
1086
1087
  }
1087
1088
  ),
1088
- title: t(($) => $["identityVerification"], { ns: "common" }),
1089
+ title: t(($) => $["identityVerification"]),
1089
1090
  description: /* @__PURE__ */ jsxs(Fragment, { children: [
1090
1091
  t(($) => $["idNowDescription"], { ns: "individual" }),
1091
1092
  /* @__PURE__ */ jsx("br", {}),
@@ -1337,7 +1338,8 @@ const DriversLicense = ({
1337
1338
  guidanceText,
1338
1339
  shouldValidate
1339
1340
  }) => {
1340
- const { i18n } = useI18nContext();
1341
+ const { t: commonT } = useTranslation("common");
1342
+ const { t: individualT } = useTranslation("individual");
1341
1343
  const { dataset: auStates } = useDataset(datasetIdentifier.state("AU"));
1342
1344
  const isCountryAustralia = country === CountryCodes.Australia;
1343
1345
  const isCountryNewZealand = country === CountryCodes.NewZealand;
@@ -1357,7 +1359,7 @@ const DriversLicense = ({
1357
1359
  onChange: onIssuerStateChange,
1358
1360
  isInvalid: false,
1359
1361
  items: auStates,
1360
- placeholder: i18n.get("selectState"),
1362
+ placeholder: commonT(($) => $["selectState"]),
1361
1363
  selected: driversLicense.issuerState
1362
1364
  }
1363
1365
  )
@@ -1408,14 +1410,14 @@ const DriversLicense = ({
1408
1410
  (isCountryAustralia || isCountryNewZealand) && /* @__PURE__ */ jsx(
1409
1411
  ContextGuidance,
1410
1412
  {
1411
- title: i18n.get("whereCanIFindTheseNumbersOnMyDriversLicense"),
1413
+ title: individualT(($) => $["whereCanIFindTheseNumbersOnMyDriversLicense"]),
1412
1414
  content: /* @__PURE__ */ jsxs(Fragment, { children: [
1413
- isCountryAustralia ? `${i18n.get("whereToFindNumbersOnDriversLicense")} ` : `${i18n.get("whereToFindNumbersOnDriversLicense__NZ")} `,
1415
+ isCountryAustralia ? `${individualT(($) => $["whereToFindNumbersOnDriversLicense"])} ` : `${individualT(($) => $["whereToFindNumbersOnDriversLicense__NZ"])} `,
1414
1416
  /* @__PURE__ */ jsx(
1415
1417
  Link,
1416
1418
  {
1417
1419
  href: isCountryAustralia ? "https://www.usi.gov.au/about/forms-id/drivers-licence" : "https://www.nzta.govt.nz/driver-licences/getting-a-licence/your-driver-licence-explained/",
1418
- children: i18n.get("iStillCantFindIt")
1420
+ children: individualT(($) => $["iStillCantFindIt"])
1419
1421
  }
1420
1422
  )
1421
1423
  ] }),
@@ -1433,7 +1435,7 @@ const TypeOfIdentity = ({
1433
1435
  errorMessage,
1434
1436
  isValid
1435
1437
  }) => {
1436
- const { i18n } = useI18nContext();
1438
+ const { t } = useTranslation(["common", "individual"]);
1437
1439
  return /* @__PURE__ */ jsx(
1438
1440
  Field,
1439
1441
  {
@@ -1441,7 +1443,7 @@ const TypeOfIdentity = ({
1441
1443
  label,
1442
1444
  errorMessage,
1443
1445
  isValid,
1444
- helper: i18n.get("typeOfIdentitySubtitle"),
1446
+ helper: t(($) => $["typeOfIdentitySubtitle"], { ns: "individual" }),
1445
1447
  children: (childProps) => /* @__PURE__ */ jsx(
1446
1448
  Select,
1447
1449
  {
@@ -1450,9 +1452,9 @@ const TypeOfIdentity = ({
1450
1452
  isInvalid: false,
1451
1453
  items: availableIdentityTypesOptions.map(({ id, name }) => ({
1452
1454
  id,
1453
- name: i18n.get(name)
1455
+ name: t(($) => $[name])
1454
1456
  })),
1455
- placeholder: i18n.get("selectOne"),
1457
+ placeholder: t(($) => $["selectOne"]),
1456
1458
  selected: selectedIdentityType,
1457
1459
  onChange: (event) => setSelectedIdentityType(event.target.value)
1458
1460
  }
@@ -1691,7 +1693,7 @@ const additionalIdentityInfoFields = [
1691
1693
  "expiryDate"
1692
1694
  ];
1693
1695
  const LazyJpAddress = lazy(
1694
- async () => (await import("./JpAddress-8qsY8wnP.js")).JpAddress
1696
+ async () => (await import("./JpAddress-B8_YLYu7.js")).JpAddress
1695
1697
  );
1696
1698
  const additionalPersonalDetailsFields = [
1697
1699
  "birthDate",
@@ -2102,8 +2104,8 @@ const basicDetailsFields = [
2102
2104
  "jaKanaLastName"
2103
2105
  ];
2104
2106
  function BasicDetails(props) {
2105
- const { t } = useTranslation("common");
2106
- const { i18n } = useI18nContext();
2107
+ const { t: commonT } = useTranslation("common");
2108
+ const { t: individualT } = useTranslation("individual");
2107
2109
  const {
2108
2110
  form: { triggerValidation }
2109
2111
  } = useFormContext();
@@ -2122,7 +2124,7 @@ function BasicDetails(props) {
2122
2124
  handleFieldChange
2123
2125
  } = props;
2124
2126
  const isLegalRepresentativeDetailsTask = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
2125
- const formUtils = createFormUtils(props, t);
2127
+ const formUtils = createFormUtils(props, commonT);
2126
2128
  const localizedNameProps = getFieldProps(props, [
2127
2129
  "jaHaniFirstName",
2128
2130
  "jaHaniLastName",
@@ -2149,26 +2151,23 @@ function BasicDetails(props) {
2149
2151
  Alert,
2150
2152
  {
2151
2153
  variant: "info",
2152
- title: i18n.get({
2153
- key: "legalRepresentativeFor",
2154
- values: {
2155
- firstName: parentLegalEntity?.individual?.name.firstName || "",
2156
- lastName: parentLegalEntity?.individual?.name.lastName || ""
2157
- }
2154
+ title: individualT(($) => $["legalRepresentativeFor"], {
2155
+ firstName: parentLegalEntity?.individual?.name.firstName || "",
2156
+ lastName: parentLegalEntity?.individual?.name.lastName || ""
2158
2157
  })
2159
2158
  }
2160
2159
  ),
2161
2160
  /* @__PURE__ */ jsx(
2162
2161
  ContextGuidance,
2163
2162
  {
2164
- title: i18n.get("whyDoINeedToFillInThisInformation"),
2165
- content: i18n.get("reasonForFillingIndividualPersonalDetails"),
2163
+ title: commonT(($) => $["whyDoINeedToFillInThisInformation"]),
2164
+ content: individualT(($) => $["reasonForFillingIndividualPersonalDetails"]),
2166
2165
  titleId: "whyDoINeedToFillInThisInformation",
2167
2166
  contentId: "reasonForFillingIndividualPersonalDetails"
2168
2167
  }
2169
2168
  ),
2170
- isDecisionMakerTask(taskType) && trustedFieldsProvider === TrustedFieldsProviders.SINGPASS && readOnlyFields && /* @__PURE__ */ jsx(Typography, { color: "secondary", variant: "caption", children: i18n.get(
2171
- "weSelectedSomeRolesBasedOnMyinfoBusinessDataAboutYourCompanysAppointmentHoldersAndShareholders"
2169
+ isDecisionMakerTask(taskType) && trustedFieldsProvider === TrustedFieldsProviders.SINGPASS && readOnlyFields && /* @__PURE__ */ jsx(Typography, { color: "secondary", variant: "caption", children: individualT(
2170
+ ($) => $["weSelectedSomeRolesBasedOnMyinfoBusinessDataAboutYourCompanysAppointmentHoldersAndShareholders"]
2172
2171
  ) }),
2173
2172
  /* @__PURE__ */ jsx(
2174
2173
  LocalizedNameFields,
@@ -2440,7 +2439,7 @@ const ConflictRow = ({
2440
2439
  onSelect,
2441
2440
  showAs
2442
2441
  }) => {
2443
- const { i18n } = useI18nContext();
2442
+ const { t } = useTranslation("common");
2444
2443
  const hasOnlyProvided = !isEmpty$1(provided) && isEmpty$1(detected);
2445
2444
  const hasOnlyDetected = isEmpty$1(provided) && !isEmpty$1(detected);
2446
2445
  useEffect(() => {
@@ -2453,7 +2452,7 @@ const ConflictRow = ({
2453
2452
  }, [hasOnlyProvided, hasOnlyDetected, onSelect, selected]);
2454
2453
  if (hasOnlyProvided || hasOnlyDetected) return;
2455
2454
  return showAs === "listItem" ? /* @__PURE__ */ jsxs("div", { className: styles$3.conflictRowList, children: [
2456
- /* @__PURE__ */ jsx("dt", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: i18n.get(label) }) }),
2455
+ /* @__PURE__ */ jsx("dt", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: t(($) => $[label]) }) }),
2457
2456
  /* @__PURE__ */ jsxs("dd", { children: [
2458
2457
  /* @__PURE__ */ jsxs("div", { children: [
2459
2458
  /* @__PURE__ */ jsx(
@@ -2462,7 +2461,7 @@ const ConflictRow = ({
2462
2461
  variant: "caption",
2463
2462
  color: "tertiary",
2464
2463
  className: styles$3.conflictRowListOptionLabel,
2465
- children: i18n.get("youEntered")
2464
+ children: t(($) => $["youEntered"])
2466
2465
  }
2467
2466
  ),
2468
2467
  /* @__PURE__ */ jsx(
@@ -2482,7 +2481,7 @@ const ConflictRow = ({
2482
2481
  variant: "caption",
2483
2482
  color: "tertiary",
2484
2483
  className: styles$3.conflictRowListOptionLabel,
2485
- children: i18n.get("weDetected")
2484
+ children: t(($) => $["weDetected"])
2486
2485
  }
2487
2486
  ),
2488
2487
  /* @__PURE__ */ jsx(
@@ -2497,7 +2496,7 @@ const ConflictRow = ({
2497
2496
  ] })
2498
2497
  ] })
2499
2498
  ] }) : /* @__PURE__ */ jsxs("tr", { className: styles$3.conflictRowTable, children: [
2500
- /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: i18n.get(label) }) }),
2499
+ /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: t(($) => $[label]) }) }),
2501
2500
  /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(
2502
2501
  RadioWithLabel,
2503
2502
  {
@@ -2538,7 +2537,7 @@ const DataConflictsModal = ({
2538
2537
  onContinue,
2539
2538
  onCancel
2540
2539
  }) => {
2541
- const { i18n } = useI18nContext();
2540
+ const { t: individualT } = useTranslation("individual");
2542
2541
  const [showCancelModal, setShowCancelModal] = useState(false);
2543
2542
  const [showError, setShowError] = useState(false);
2544
2543
  const conflictItems = useMemo(
@@ -2562,13 +2561,19 @@ const DataConflictsModal = ({
2562
2561
  []
2563
2562
  // No dependencies, as setShowError and setResolutions are stable.
2564
2563
  );
2565
- return /* @__PURE__ */ jsxs(Modal, { ariaLabel: i18n.get(title), onClose: () => setShowCancelModal(true), inset: true, children: [
2564
+ return /* @__PURE__ */ jsxs(Modal, { ariaLabel: individualT(($) => $[title]), onClose: () => setShowCancelModal(true), inset: true, children: [
2566
2565
  /* @__PURE__ */ jsxs("div", { className: styles$2.dataConflictsWrapper, children: [
2567
2566
  /* @__PURE__ */ jsxs("div", { className: styles$2.dataConflictsHeader, children: [
2568
- /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: i18n.get(title) }),
2569
- /* @__PURE__ */ jsx(Typography, { variant: "body", children: i18n.get(explanation) })
2567
+ /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: individualT(($) => $[title]) }),
2568
+ /* @__PURE__ */ jsx(Typography, { variant: "body", children: individualT(($) => $[explanation]) })
2570
2569
  ] }),
2571
- showError ? /* @__PURE__ */ jsx(Alert, { variant: "error", title: i18n.get("chooseTheCorrectDetailsBeforeProceeding") }) : void 0,
2570
+ showError ? /* @__PURE__ */ jsx(
2571
+ Alert,
2572
+ {
2573
+ variant: "error",
2574
+ title: individualT(($) => $["chooseTheCorrectDetailsBeforeProceeding"])
2575
+ }
2576
+ ) : void 0,
2572
2577
  /* @__PURE__ */ jsx("dl", { className: styles$2.dataConflictsList, children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(
2573
2578
  ConflictRow,
2574
2579
  {
@@ -2585,8 +2590,8 @@ const DataConflictsModal = ({
2585
2590
  /* @__PURE__ */ jsxs("table", { className: styles$2.dataConflictsTable, children: [
2586
2591
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
2587
2592
  /* @__PURE__ */ jsx("th", {}),
2588
- /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: i18n.get("youEntered") }) }),
2589
- /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: i18n.get("weDetected") }) })
2593
+ /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: individualT(($) => $["youEntered"]) }) }),
2594
+ /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: individualT(($) => $["weDetected"]) }) })
2590
2595
  ] }) }),
2591
2596
  /* @__PURE__ */ jsx("tbody", { children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(
2592
2597
  ConflictRow,
@@ -2622,16 +2627,16 @@ const DataConflictsModal = ({
2622
2627
  };
2623
2628
  onContinue(finalData);
2624
2629
  },
2625
- children: i18n.get("confirmSelection")
2630
+ children: individualT(($) => $["confirmSelection"])
2626
2631
  }
2627
2632
  )
2628
2633
  ] }),
2629
2634
  showCancelModal && /* @__PURE__ */ jsx(
2630
2635
  Confirm,
2631
2636
  {
2632
- title: i18n.get("leaveInstantVerification"),
2633
- confirmText: i18n.get("leaveVerification"),
2634
- description: i18n.get("anyInformationFromTheUploadedDocumentWillBeLost"),
2637
+ title: individualT(($) => $["leaveInstantVerification"]),
2638
+ confirmText: individualT(($) => $["leaveVerification"]),
2639
+ description: individualT(($) => $["anyInformationFromTheUploadedDocumentWillBeLost"]),
2635
2640
  onConfirm: onCancel,
2636
2641
  onCancel: () => setShowCancelModal(false),
2637
2642
  critical: false
@@ -2803,26 +2808,27 @@ const useIdVerificationToken = ({ firstName, lastName, residencyCountry }, legal
2803
2808
  });
2804
2809
  };
2805
2810
  const containerId = "adyen-kyc-id-verification";
2806
- const getOnfidoLocaleConfig = (i18n) => {
2807
- const language = i18n.locale.substring(0, 2);
2811
+ const getOnfidoLocaleConfig = (locale, t) => {
2812
+ const language = locale.substring(0, 2);
2808
2813
  return language === "en" ? {
2809
2814
  locale: language,
2810
2815
  phrases: {
2811
- "country_select.button_primary": i18n.get("continue"),
2812
- "doc_submit.title_id_back": i18n.get("identityCardBack"),
2813
- "doc_submit.title_id_front": i18n.get("identityCardFront"),
2814
- "doc_submit.title_license_back": i18n.get("drivinglicenseBack"),
2815
- "doc_submit.title_license_front": i18n.get("drivinglicenseFront"),
2816
- "doc_submit.title_passport": i18n.get("passportPhotoPage"),
2817
- "doc_submit.title_permit_back": i18n.get("residencePermitBack"),
2818
- "doc_submit.title_permit_front": i18n.get("residencePermitFront")
2816
+ "country_select.button_primary": t(($) => $["continue"]),
2817
+ "doc_submit.title_id_back": t(($) => $["identityCardBack"]),
2818
+ "doc_submit.title_id_front": t(($) => $["identityCardFront"]),
2819
+ "doc_submit.title_license_back": t(($) => $["drivinglicenseBack"]),
2820
+ "doc_submit.title_license_front": t(($) => $["drivinglicenseFront"]),
2821
+ "doc_submit.title_passport": t(($) => $["passportPhotoPage"]),
2822
+ "doc_submit.title_permit_back": t(($) => $["residencePermitBack"]),
2823
+ "doc_submit.title_permit_front": t(($) => $["residencePermitFront"])
2819
2824
  }
2820
2825
  } : language;
2821
2826
  };
2822
2827
  const initOnfido = async ({
2823
2828
  containerEl,
2824
2829
  token,
2825
- i18n,
2830
+ t,
2831
+ locale,
2826
2832
  onIdVerificationComplete,
2827
2833
  onIdVerificationError,
2828
2834
  showMotionCapture
@@ -2848,7 +2854,7 @@ const initOnfido = async ({
2848
2854
  onComplete: onIdVerificationComplete,
2849
2855
  onError: onIdVerificationError,
2850
2856
  steps,
2851
- language: getOnfidoLocaleConfig(i18n)
2857
+ language: getOnfidoLocaleConfig(locale, t)
2852
2858
  });
2853
2859
  };
2854
2860
  const logger$3 = createLogger();
@@ -2859,7 +2865,7 @@ function IdVerification({
2859
2865
  onIdVerificationComplete
2860
2866
  }) {
2861
2867
  const containerRef = useRef(null);
2862
- const { i18n } = useI18nContext();
2868
+ const { t, i18n } = useTranslation("individual");
2863
2869
  const {
2864
2870
  data: tokenResponse,
2865
2871
  isLoading,
@@ -2875,10 +2881,10 @@ function IdVerification({
2875
2881
  onfidoSdk.current = await initOnfido({
2876
2882
  containerEl: containerRef.current,
2877
2883
  token: sdkToken,
2878
- i18n,
2884
+ t,
2885
+ locale: i18n.language,
2879
2886
  onIdVerificationError,
2880
2887
  onIdVerificationComplete,
2881
- language: getOnfidoLocaleConfig(i18n),
2882
2888
  showMotionCapture: showIndividualMotionCapture.value
2883
2889
  });
2884
2890
  })().catch(logger$3.error);
@@ -2901,8 +2907,8 @@ const OnfidoVerificationModal = ({
2901
2907
  onError,
2902
2908
  onComplete
2903
2909
  }) => {
2904
- const { i18n } = useI18nContext();
2905
- return /* @__PURE__ */ jsx(Modal, { size: "medium", onClose: closeModal, ariaLabel: i18n.get("identityVerification"), children: minimumApplicantDetails && /* @__PURE__ */ jsx(
2910
+ const { t } = useTranslation("individual");
2911
+ return /* @__PURE__ */ jsx(Modal, { size: "medium", onClose: closeModal, ariaLabel: t(($) => $["identityVerification"]), children: minimumApplicantDetails && /* @__PURE__ */ jsx(
2906
2912
  IdVerification,
2907
2913
  {
2908
2914
  minimumApplicantDetails,
@@ -2917,16 +2923,14 @@ const styles = {
2917
2923
  uploadedDocument
2918
2924
  };
2919
2925
  const UploadedDocument = ({ document: document2, onDelete, onUpdate }) => {
2920
- const { i18n } = useI18nContext();
2926
+ const { t, i18n } = useTranslation("common");
2921
2927
  return /* @__PURE__ */ jsxs("article", { className: styles.uploadedDocument, children: [
2922
2928
  /* @__PURE__ */ jsxs("div", { children: [
2923
- /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "title", children: i18n.get(document2.idDocumentType) }),
2924
- /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: i18n.get("uploadedOn", {
2925
- values: {
2926
- date: localizeDateString(document2.modificationDate, i18n.locale, {
2927
- month: "short"
2928
- }) ?? ""
2929
- }
2929
+ /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "title", children: t(($) => $[document2.idDocumentType]) }),
2930
+ /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: t(($) => $["uploadedOn"], {
2931
+ date: localizeDateString(document2.modificationDate, i18n.language, {
2932
+ month: "short"
2933
+ }) ?? ""
2930
2934
  }) })
2931
2935
  ] }),
2932
2936
  /* @__PURE__ */ jsx(Spacer, {}),
@@ -2936,10 +2940,10 @@ const UploadedDocument = ({ document: document2, onDelete, onUpdate }) => {
2936
2940
  onClick: onDelete,
2937
2941
  icon: "bin",
2938
2942
  variant: "secondary",
2939
- ariaLabel: i18n.get("delete")
2943
+ ariaLabel: t(($) => $["delete"])
2940
2944
  }
2941
2945
  ),
2942
- /* @__PURE__ */ jsx(Button, { onClick: onUpdate, variant: "secondary", children: i18n.get("update") })
2946
+ /* @__PURE__ */ jsx(Button, { onClick: onUpdate, variant: "secondary", children: t(($) => $["update"]) })
2943
2947
  ] });
2944
2948
  };
2945
2949
  const validateExtractionResult = (extractionResult) => {
@@ -2977,7 +2981,7 @@ function IdVerificationMethod(props) {
2977
2981
  fieldValidationErrors,
2978
2982
  hasLiveSelfieErrorCode
2979
2983
  } = props;
2980
- const { t, i18n } = useTranslation(["individual"]);
2984
+ const { t: individualT, i18n } = useTranslation("individual");
2981
2985
  const { t: commonT } = useTranslation("common");
2982
2986
  const userEvents = useAnalyticsContext();
2983
2987
  const { isExperimentEnabled } = useExperimentsContext();
@@ -3198,8 +3202,8 @@ function IdVerificationMethod(props) {
3198
3202
  lazyLoadedImage: passportFrontGreenImage
3199
3203
  }
3200
3204
  ),
3201
- title: commonT(($) => $["identityVerification"]),
3202
- description: showIndividualMotionCapture?.value ? t(($) => $["toHelpProtectAgainstFraudAndKeepOurServices"]) : /* @__PURE__ */ jsxs(Fragment, { children: [
3205
+ title: individualT(($) => $["identityVerification"]),
3206
+ description: showIndividualMotionCapture?.value ? individualT(($) => $["toHelpProtectAgainstFraudAndKeepOurServices"]) : /* @__PURE__ */ jsxs(Fragment, { children: [
3203
3207
  commonT(($) => $["takeOrUploadAPhoto"]),
3204
3208
  " ",
3205
3209
  /* @__PURE__ */ jsx(Link, { href: "https://onfido.com", external: true, inline: true, children: commonT(($) => $["onfido"]) })
@@ -3222,7 +3226,7 @@ function IdVerificationMethod(props) {
3222
3226
  children: commonT(($) => $["startVerification"])
3223
3227
  }
3224
3228
  ),
3225
- isExperimentEnabled("EnableVerifyByInvite") && isDecisionMakerTask(taskType) && /* @__PURE__ */ jsx(Button, { onClick: handleVerifyByInvite, variant: "secondary", fullWidth: true, children: t(($) => $["verifyByInvite"]) }),
3229
+ isExperimentEnabled("EnableVerifyByInvite") && isDecisionMakerTask(taskType) && /* @__PURE__ */ jsx(Button, { onClick: handleVerifyByInvite, variant: "secondary", fullWidth: true, children: individualT(($) => $["verifyByInvite"]) }),
3226
3230
  !showIndividualMotionCapture?.value && /* @__PURE__ */ jsx(
3227
3231
  Button,
3228
3232
  {
@@ -3244,9 +3248,9 @@ function IdVerificationMethod(props) {
3244
3248
  disclaimer: (
3245
3249
  // TODO - replace with Trans component
3246
3250
  !doesUserHaveExistingDocument && /* @__PURE__ */ jsxs(Fragment, { children: [
3247
- t(($) => $["byContinuingToUseThisService"]),
3251
+ individualT(($) => $["byContinuingToUseThisService"]),
3248
3252
  " ",
3249
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true, children: t(($) => $["onfidoFacialScanPolicy"]) }),
3253
+ /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true, children: individualT(($) => $["onfidoFacialScanPolicy"]) }),
3250
3254
  " ",
3251
3255
  /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true, children: commonT(($) => $["privacyPolicy"]) }),
3252
3256
  " ",
@@ -3271,18 +3275,18 @@ function IdVerificationMethod(props) {
3271
3275
  status === "confirmManualFlowModal" && /* @__PURE__ */ jsx(
3272
3276
  Confirm,
3273
3277
  {
3274
- title: t(($) => $["addDetailsManuallyQuestion"]),
3275
- description: t(($) => $["itCanTakeUpTo"]),
3278
+ title: individualT(($) => $["addDetailsManuallyQuestion"]),
3279
+ description: individualT(($) => $["itCanTakeUpTo"]),
3276
3280
  onCancel: handleCancelAddDetailsManually,
3277
- confirmText: t(($) => $["yesAddManually"]),
3281
+ confirmText: individualT(($) => $["yesAddManually"]),
3278
3282
  onConfirm: handleContinueViaManualEntryFlow
3279
3283
  }
3280
3284
  ),
3281
3285
  status === "confirmDeleteDocumentModal" && /* @__PURE__ */ jsx(
3282
3286
  Confirm,
3283
3287
  {
3284
- title: t(($) => $["deleteIdDocument"]),
3285
- description: t(($) => $["youMayBeAskedToReUpload"]),
3288
+ title: individualT(($) => $["deleteIdDocument"]),
3289
+ description: individualT(($) => $["youMayBeAskedToReUpload"]),
3286
3290
  confirmText: commonT(($) => $["deleteDocument"]),
3287
3291
  onCancel: handleCancelDeleteDocument,
3288
3292
  onConfirm: handleDeleteDocument,
@@ -3348,20 +3352,20 @@ const proofOfRelationshipDocumentOptions = [
3348
3352
  }
3349
3353
  ];
3350
3354
  function ProofOfRelationship({ id, ...props }) {
3351
- const { i18n } = useI18nContext();
3355
+ const { t } = useTranslation(["individual", "common"]);
3352
3356
  const [proofOfRelationshipDocumentType, setProofOfRelationshipDocumentType] = useState(
3353
3357
  proofOfRelationshipDocumentOptions[0].id
3354
3358
  );
3355
3359
  const proofOfResidencyGuidanceContent = /* @__PURE__ */ jsxs(Fragment, { children: [
3356
3360
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__subtitle", children: [
3357
3361
  " ",
3358
- i18n.get("requirements")
3362
+ t(($) => $["requirements"], { ns: "common" })
3359
3363
  ] }),
3360
3364
  /* @__PURE__ */ jsxs("ul", { children: [
3361
- /* @__PURE__ */ jsx("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
3362
- /* @__PURE__ */ jsx("li", { children: i18n.get("showAddressStateCountry") }),
3363
- /* @__PURE__ */ jsx("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
3364
- /* @__PURE__ */ jsx("li", { children: i18n.get("documentCannotBeDamaged") })
3365
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["documentAddressedToName"], { name: props.name }) }),
3366
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["showAddressStateCountry"]) }),
3367
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["fullDocumentVisibleWithReadableText"]) }),
3368
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["documentCannotBeDamaged"]) })
3365
3369
  ] })
3366
3370
  ] });
3367
3371
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
@@ -3370,8 +3374,8 @@ function ProofOfRelationship({ id, ...props }) {
3370
3374
  ...props,
3371
3375
  documentField: "proofOfRelationship",
3372
3376
  documentType: "proofOfRelationship",
3373
- heading: i18n.get("proofOfRelationship"),
3374
- guidanceHeader: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-upload__subtitle adyen-kyc-u-margin-bottom-16", children: i18n.get("proofOfResidenceDocumentTypeLabel", { values: { name: props.name } }) }),
3377
+ heading: t(($) => $["proofOfRelationship"], { ns: "common" }),
3378
+ guidanceHeader: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-upload__subtitle adyen-kyc-u-margin-bottom-16", children: t(($) => $["proofOfResidenceDocumentTypeLabel"], { name: props.name }) }),
3375
3379
  documentTypeSelect: {
3376
3380
  selectedType: proofOfRelationshipDocumentType,
3377
3381
  setSelectedType: setProofOfRelationshipDocumentType,
@@ -3416,7 +3420,7 @@ const proofOfResidenceDocumentOptions = [
3416
3420
  }
3417
3421
  ];
3418
3422
  function ProofOfResidency({ id, ...props }) {
3419
- const { i18n } = useI18nContext();
3423
+ const { t } = useTranslation(["individual", "common"]);
3420
3424
  const [proofOfResidenceDocumentType, setProofOfResidenceDocumentType] = useState(
3421
3425
  proofOfResidenceDocumentOptions[0].id
3422
3426
  );
@@ -3424,14 +3428,14 @@ function ProofOfResidency({ id, ...props }) {
3424
3428
  const proofOfResidencyGuidanceContent = /* @__PURE__ */ jsxs(Fragment, { children: [
3425
3429
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__subtitle", children: [
3426
3430
  " ",
3427
- i18n.get("requirements")
3431
+ t(($) => $["requirements"], { ns: "common" })
3428
3432
  ] }),
3429
3433
  /* @__PURE__ */ jsxs("ul", { children: [
3430
- /* @__PURE__ */ jsx("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
3431
- /* @__PURE__ */ jsx("li", { children: i18n.get("showAddressStateCountry") }),
3432
- /* @__PURE__ */ jsx("li", { children: isMortgageOrVoterRegistration ? i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 12 } }) : i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 3 } }) }),
3433
- /* @__PURE__ */ jsx("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
3434
- /* @__PURE__ */ jsx("li", { children: i18n.get("documentCannotBeDamaged") })
3434
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["documentAddressedToName"], { name: props.name }) }),
3435
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["showAddressStateCountry"]) }),
3436
+ /* @__PURE__ */ jsx("li", { children: isMortgageOrVoterRegistration ? t(($) => $["dateOnDocumentNoOlderThanXMonths"], { numberOfMonths: 12 }) : t(($) => $["dateOnDocumentNoOlderThanXMonths"], { numberOfMonths: 3 }) }),
3437
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["fullDocumentVisibleWithReadableText"]) }),
3438
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["documentCannotBeDamaged"]) })
3435
3439
  ] })
3436
3440
  ] });
3437
3441
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
@@ -3440,8 +3444,8 @@ function ProofOfResidency({ id, ...props }) {
3440
3444
  ...props,
3441
3445
  documentField: "proofOfResidency",
3442
3446
  documentType: "proofOfResidency",
3443
- heading: i18n.get("proofOfResidency"),
3444
- guidanceHeader: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-upload__subtitle adyen-kyc-u-margin-bottom-16", children: i18n.get("proofOfResidenceDocumentTypeLabel", { values: { name: props.name } }) }),
3447
+ heading: t(($) => $["proofOfResidency"], { ns: "common" }),
3448
+ guidanceHeader: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-upload__subtitle adyen-kyc-u-margin-bottom-16", children: t(($) => $["proofOfResidenceDocumentTypeLabel"], { name: props.name }) }),
3445
3449
  documentTypeSelect: {
3446
3450
  selectedType: proofOfResidenceDocumentType,
3447
3451
  setSelectedType: setProofOfResidenceDocumentType,
@@ -3460,13 +3464,13 @@ const getDisplayErrorMessage = (errorMessage, t) => {
3460
3464
  return typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : errorMessage;
3461
3465
  };
3462
3466
  const SignatoryQuestionnaireModalContent = () => {
3463
- const { i18n } = useI18nContext();
3467
+ const { t } = useTranslation("individual");
3464
3468
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3465
- /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h3", className: "adyen-kyc-u-margin-bottom-40", children: i18n.get("moreAboutAuthorizedSignatories") }),
3466
- /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: i18n.get("signatoryDescriptionQ1") }),
3467
- /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: i18n.get("signatoryDescriptionA1") }),
3468
- /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: i18n.get("signatoryDescriptionQ2") }),
3469
- /* @__PURE__ */ jsx(Typography, { el: "p", children: i18n.get("signatoryDescriptionA2") })
3469
+ /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h3", className: "adyen-kyc-u-margin-bottom-40", children: t(($) => $["moreAboutAuthorizedSignatories"]) }),
3470
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["signatoryDescriptionQ1"]) }),
3471
+ /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["signatoryDescriptionA1"]) }),
3472
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["signatoryDescriptionQ2"]) }),
3473
+ /* @__PURE__ */ jsx(Typography, { el: "p", children: t(($) => $["signatoryDescriptionA2"]) })
3470
3474
  ] });
3471
3475
  };
3472
3476
  function SignatoryQuestionnaire(props) {
@@ -3523,7 +3527,15 @@ function SignatoryQuestionnaire(props) {
3523
3527
  errorMessage: getDisplayErrorMessage(errorMessage, t)
3524
3528
  }
3525
3529
  ),
3526
- isModalOpen && /* @__PURE__ */ jsx(Modal, { onClose: closeModal, ariaLabel: t(($) => $["moreAboutAuthorizedSignatories"]), inset: true, children: /* @__PURE__ */ jsx(SignatoryQuestionnaireModalContent, {}) })
3530
+ isModalOpen && /* @__PURE__ */ jsx(
3531
+ Modal,
3532
+ {
3533
+ onClose: closeModal,
3534
+ ariaLabel: t(($) => $["moreAboutAuthorizedSignatories"], { ns: "individual" }),
3535
+ inset: true,
3536
+ children: /* @__PURE__ */ jsx(SignatoryQuestionnaireModalContent, {})
3537
+ }
3538
+ )
3527
3539
  ] });
3528
3540
  }
3529
3541
  const useGuidanceQuestionnaire = ({
@@ -4541,8 +4553,7 @@ function IndividualDropin({
4541
4553
  }) {
4542
4554
  const { baseUrl, rootLegalEntityId } = useApiContext();
4543
4555
  const { accountHolder, setAccountHolder } = useAccountHolder();
4544
- const { i18n } = useI18nContext();
4545
- const { t } = useTranslation("individual");
4556
+ const { t, i18n } = useTranslation(["common", "individual"]);
4546
4557
  const userEvents = useAnalyticsContext();
4547
4558
  const { showToast, clearToasts } = useToastContext();
4548
4559
  const { isExperimentEnabled } = useExperimentsContext();
@@ -4632,14 +4643,14 @@ function IndividualDropin({
4632
4643
  idNumber: data2?.additionalPersonalDetails?.idNumber,
4633
4644
  existingIdNumber: dataFromResponse.additionalPersonalDetails?.idNumber,
4634
4645
  formVerificationErrors: problems?.verificationErrors?.additionalPersonalDetails,
4635
- i18n,
4646
+ t,
4636
4647
  taxIdNumberType: data2?.additionalPersonalDetails?.taxInformation?.length ? data2?.additionalPersonalDetails?.taxInformation[0]?.type : void 0
4637
4648
  })
4638
4649
  }),
4639
4650
  [
4640
4651
  country,
4641
4652
  dataFromResponse.additionalPersonalDetails?.idNumber,
4642
- i18n,
4653
+ t,
4643
4654
  isExperimentEnabled,
4644
4655
  isSettingEnabled,
4645
4656
  problems?.verificationErrors?.additionalPersonalDetails,
@@ -4763,7 +4774,7 @@ function IndividualDropin({
4763
4774
  setExistingAttachments(res[0].attachments);
4764
4775
  setDocuments(mapApiDocumentToIndividualDocuments(legalEntityResponse?.id));
4765
4776
  }).catch(() => {
4766
- showToast({ label: i18n.get("failedToFetchRelevantDocuments"), variant: "error" });
4777
+ showToast({ label: t(($) => $["failedToFetchRelevantDocuments"]), variant: "error" });
4767
4778
  });
4768
4779
  }, []);
4769
4780
  const forms = useMemo(() => {
@@ -4978,19 +4989,19 @@ function IndividualDropin({
4978
4989
  if (isValidationError(e)) {
4979
4990
  const getErrors = processValidationErrors(e, TaskTypes.INDIVIDUAL);
4980
4991
  if (getErrors && !Object.keys(getErrors).length) {
4981
- showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
4992
+ showToast({ label: t(($) => $["failedToUpdateDetails"]), variant: "error" });
4982
4993
  eventsAdditionalData.unmappedErrorNames = e.invalidFields?.map((field) => field.name).filter(Boolean);
4983
4994
  } else {
4984
4995
  setValidationErrors(getErrors);
4985
4996
  }
4986
4997
  } else if (isMaintenanceModeError(e)) {
4987
4998
  showToast({
4988
- label: i18n.get("maintenanceModeMessage"),
4999
+ label: t(($) => $["maintenanceModeMessage"]),
4989
5000
  variant: "error",
4990
5001
  duration: "indefinite"
4991
5002
  });
4992
5003
  } else {
4993
- showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
5004
+ showToast({ label: t(($) => $["failedToUpdateDetails"]), variant: "error" });
4994
5005
  }
4995
5006
  setLoadingStatus("success");
4996
5007
  userEvents.addTaskEvent("Encountered error", {
@@ -5001,7 +5012,7 @@ function IndividualDropin({
5001
5012
  });
5002
5013
  }
5003
5014
  };
5004
- const datasetUtils = datasetUtilities(i18n.locale);
5015
+ const datasetUtils = datasetUtilities(i18n.language);
5005
5016
  const formatIdDocument = (idDocument) => {
5006
5017
  if (!idDocument) return void 0;
5007
5018
  const documentType = idDocument?.instantIdVerificationData ? onfidoDocumentTypeMapping.find(
@@ -5012,7 +5023,7 @@ function IndividualDropin({
5012
5023
  const backPage = idDocument.idBackPage?.[0];
5013
5024
  if (!frontPage) return void 0;
5014
5025
  return {
5015
- documentType: i18n.get(documentType.name),
5026
+ documentType: t(($) => $[documentType.name]),
5016
5027
  ...backPage && documentType.hasBackPage ? {
5017
5028
  frontPage: frontPage.name,
5018
5029
  backPage: backPage.name
@@ -5080,12 +5091,14 @@ function IndividualDropin({
5080
5091
  }
5081
5092
  }
5082
5093
  if (summaryData.basicDetails?.accountHolder) {
5083
- summaryData.basicDetails.accountHolder = i18n.get(summaryData.basicDetails.accountHolder);
5094
+ summaryData.basicDetails.accountHolder = t(
5095
+ ($) => $[summaryData.basicDetails.accountHolder]
5096
+ );
5084
5097
  }
5085
5098
  if (summaryData.additionalPersonalDetails?.birthDate) {
5086
5099
  summaryData.additionalPersonalDetails.birthDate = localizeDateString(
5087
5100
  summaryData.additionalPersonalDetails.birthDate,
5088
- i18n.locale
5101
+ i18n.language
5089
5102
  );
5090
5103
  }
5091
5104
  if (isManualVerificationOrExistingDoc(summaryData.idVerificationMethod?.idVerificationMethod) || summaryData.proofOfResidency) {
@@ -5104,7 +5117,7 @@ function IndividualDropin({
5104
5117
  }
5105
5118
  }
5106
5119
  if (summaryData?.signatoryQuestionnaire) {
5107
- summaryData.signatoryQuestionnaire = data?.signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.YES ? [i18n.get("signatorySummaryLabel")] : [];
5120
+ summaryData.signatoryQuestionnaire = data?.signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.YES ? [t(($) => $["signatorySummaryLabel"])] : [];
5108
5121
  }
5109
5122
  if (summaryData?.uboQuestionnaire) {
5110
5123
  const roleFieldToLabelMap = {
@@ -5113,7 +5126,7 @@ function IndividualDropin({
5113
5126
  isDirector: "directorSummaryLabel"
5114
5127
  };
5115
5128
  summaryData.uboQuestionnaire = Object.keys(roleFieldToLabelMap).flatMap(
5116
- (field) => data?.uboQuestionnaire?.[field] === GuidanceQuestionValues.YES ? [t(($) => $[roleFieldToLabelMap[field]])] : []
5129
+ (field) => data?.uboQuestionnaire?.[field] === GuidanceQuestionValues.YES ? [t(($) => $[roleFieldToLabelMap[field]], { ns: "individual" })] : []
5117
5130
  );
5118
5131
  }
5119
5132
  return summaryData;