@adyen/kyc-components 4.6.3 → 4.7.1

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 (280) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-XaeVhsGD.js → AcceptTermsOfServiceComponent-CFuKCmzi.js} +17 -18
  2. package/dist/{AccountSetupRejected-CCTKPh4T.js → AccountSetupRejected-CJO8fFLr.js} +2 -2
  3. package/dist/{ActionBar-DIFvfiMP.js → ActionBar-DW4IMRZg.js} +1 -1
  4. package/dist/{Address-CVPObm6B.js → Address-Czpdu7Iv.js} +15 -15
  5. package/dist/{Avatar-Cf37hJy8.js → Avatar-CaZQ-oyL.js} +1 -1
  6. package/dist/{BusinessFinancingComponent-MO_80E8a.js → BusinessFinancingComponent-CvmqdPg-.js} +6 -6
  7. package/dist/{BusinessFinancingDropin-C6g7xB95.js → BusinessFinancingDropin-CA5D0PgR.js} +28 -30
  8. package/dist/BusinessFinancingPage-CcCpkh2o.js +43 -0
  9. package/dist/{BusinessTypeSelectionPage-q-ohll63.js → BusinessTypeSelectionPage-DxpkzhZp.js} +9 -11
  10. package/dist/{Checkbox-CZ-K3Ygt.js → Checkbox-BbVX_nZi.js} +1 -1
  11. package/dist/{Confirm-Bfhearjt.js → Confirm-DW7YOE1F.js} +2 -2
  12. package/dist/{ConstitutionalDocument-BZcUcXNX.js → ConstitutionalDocument-CK6FFFwg.js} +37 -26
  13. package/dist/{ContactDetails-CLSUzFP_.js → ContactDetails-Dx7dJnqB.js} +9 -19
  14. package/dist/{ContextGuidance-BopbaLr-.js → ContextGuidance-C7HDkmZU.js} +1 -1
  15. package/dist/{CountryField-BJAayKID.js → CountryField-CAgo6wFJ.js} +3 -3
  16. package/dist/{CreateIndividualComponent-D2-0xOiU.js → CreateIndividualComponent-BP_biPqN.js} +6 -6
  17. package/dist/{CreateTransferInstrumentComponent-CKnK4wTB.js → CreateTransferInstrumentComponent-CAg8dLjP.js} +4 -4
  18. package/dist/{Currency-BsVi8QRc.js → Currency-DUnZGkXH.js} +7 -7
  19. package/dist/{CustomerSupport-CJTSCIsJ.js → CustomerSupport-D2iXL505.js} +10 -12
  20. package/dist/{DebugModal-B44T9eDP.js → DebugModal-CUcMO4o_.js} +7 -7
  21. package/dist/{DecisionMakerDetails-DJmL0mgp.js → DecisionMakerDetails-Bp33aJUr.js} +9 -9
  22. package/dist/{DecisionMakerDetailsPage-BBa--1Xr.js → DecisionMakerDetailsPage-DSFo-4Sk.js} +8 -8
  23. package/dist/{DecisionMakers-B9o4bDnw.js → DecisionMakers-Bnvwoz_7.js} +20 -22
  24. package/dist/{Dropzone-CHADYCWU.js → Dropzone-F8Ut9D_V.js} +4 -4
  25. package/dist/{EmbeddedStatus-CUGRqHWU.js → EmbeddedStatus-GocVl-7i.js} +2 -2
  26. package/dist/{EndStateLayout-CWFjt8_u.js → EndStateLayout-BBLxK9Q1.js} +1 -1
  27. package/dist/{EntityAssociation-COqNeSzy.js → EntityAssociation-CpVhhf1f.js} +5 -5
  28. package/dist/{EntityGuidanceStatus-BOjmARXU.js → EntityGuidanceStatus-BBdOh7as.js} +4 -4
  29. package/dist/{ErrorPanel-BFnWeBCJ.js → ErrorPanel-D3OmtL80.js} +2 -2
  30. package/dist/{Field-B8NADHt-.js → Field-ClKiPVDa.js} +1 -1
  31. package/dist/{FormNavigation-CZGO4M_r.js → FormNavigation-CbHvKnKB.js} +2 -2
  32. package/dist/{Individual.rules-CcCj7FCg.js → Individual.rules-DChMs8iu.js} +6 -6
  33. package/dist/{IndividualDropin-D4VcAQnB.js → IndividualDropin-D--ImJNx.js} +164 -121
  34. package/dist/{InputDate-BvgrweAT.js → InputDate-BajoDzsK.js} +2 -2
  35. package/dist/{InputText-D6VoNS-R.js → InputText-C8kj07ZB.js} +1 -1
  36. package/dist/{Introduction-DCEmOIU3.js → Introduction-ejHrYyaC.js} +4 -6
  37. package/dist/{InvitedDecisionMakerComponent-D-Mxf7Sa.js → InvitedDecisionMakerComponent-BUrtBWme.js} +18 -13
  38. package/dist/{JpAddress-aZ8F40cK.js → JpAddress-BpaKGrVA.js} +10 -10
  39. package/dist/{LandingLayout-Co0T9hoE.js → LandingLayout-B_Cw3o3Q.js} +5 -3
  40. package/dist/{LegalCompanyNameField-EsmoOYWn.js → LegalCompanyNameField-BRzGJ-Ov.js} +6 -6
  41. package/dist/{LegalRepresentativeDetailsPage-ChOjFSdk.js → LegalRepresentativeDetailsPage-D71SlyLs.js} +4 -4
  42. package/dist/{Link-QFSK0XUO.js → Link-DS54L_TE.js} +1 -1
  43. package/dist/{ListItem-rRlEZCTu.js → ListItem-CFcOIT6E.js} +2 -2
  44. package/dist/{LoaderWrapper-DlhbbEYS.js → LoaderWrapper-DvyhRweQ.js} +1 -1
  45. package/dist/ManageIndividualComponent-BXxl7p95.js +46 -0
  46. package/dist/{ManageTermsOfServiceComponent-B4WTTK1V.js → ManageTermsOfServiceComponent-4e_ydA_6.js} +3 -3
  47. package/dist/{ManageTransferInstrumentComponent-C716Mbf2.js → ManageTransferInstrumentComponent-D52NH0jS.js} +10 -10
  48. package/dist/{MaskedInput-Cj3Be_WU.js → MaskedInput-ApBB9ewS.js} +5 -5
  49. package/dist/{MaybeModal-nSPl0yfm.js → MaybeModal-l7k-LBMJ.js} +2 -2
  50. package/dist/{Modal-D1Yiugk1.js → Modal-C5mnAneL.js} +3 -3
  51. package/dist/{Name-Pp6IOBxl.js → Name-BVk4_a2-.js} +5 -5
  52. package/dist/{NewSummary-DKld0bET.js → NewSummary-R9k7ZbPo.js} +2 -2
  53. package/dist/{OnboardingDropinComponent-DsvTtn8J.js → OnboardingDropinComponent-45YclRJI.js} +88 -75
  54. package/dist/{PayoutDetailsDropin-DANG1pDw.js → PayoutDetailsDropin-1vKgokN-.js} +465 -228
  55. package/dist/PayoutDetailsPage-CXwueRbW.js +914 -0
  56. package/dist/{RadioGroup-DwACEtfi.js → RadioGroup-CbeNPI_8.js} +2 -2
  57. package/dist/{Review-Dsp3Zk67.js → Review-DzrxzNY0.js} +6 -6
  58. package/dist/{RootBusinessDetailsPage-mquvEyt7.js → RootBusinessDetailsPage-eStzwQJf.js} +5 -5
  59. package/dist/{RootBusinessLinesPage-DCSgZuZD.js → RootBusinessLinesPage-omnttABd.js} +28 -37
  60. package/dist/{RootIndividualDetailsPage-BALuMNT2.js → RootIndividualDetailsPage-BcxaLjad.js} +7 -7
  61. package/dist/{Select-Bp6g62Kp.js → Select-Czm2JclY.js} +3 -3
  62. package/dist/{SignPCIComponent-CfWNRHUh.js → SignPCIComponent-DXAeetcT.js} +11 -13
  63. package/dist/{SingpassSelection-Cpouo3cB.js → SingpassSelection-CPgrgp4C.js} +5 -5
  64. package/dist/{SoleProprietorshipPage-KtyWIVNn.js → SoleProprietorshipPage-DmIKoFtO.js} +4 -4
  65. package/dist/{SourceOfFundsPage-B1lV40GU.js → SourceOfFundsPage-DofHZlzT.js} +33 -35
  66. package/dist/{StepProgressIndicator-U5DG_o4X.js → StepProgressIndicator-rIXID-AK.js} +1 -1
  67. package/dist/{StoreProvider-hNCKWSzB.js → StoreProvider-Bt6bLVE-.js} +111 -91
  68. package/dist/{Summary-NFgvajMx.js → Summary-BUJLYAgF.js} +7 -20
  69. package/dist/{TaxInformationField-ef1_TQvO.js → TaxInformationField-CknxoOIl.js} +27 -23
  70. package/dist/{TaxReportingDropin-OMrPS7PX.js → TaxReportingDropin-Bn4a54-x.js} +14 -16
  71. package/dist/{TextArea-BnlstVGI.js → TextArea-CKD5zTKW.js} +1 -1
  72. package/dist/{TileGroup-DTnywnyF.js → TileGroup-UvRO_GGK.js} +2 -2
  73. package/dist/{TrustDetailsPage-D7FoWYJC.js → TrustDetailsPage-BBg2UhIm.js} +32 -41
  74. package/dist/{TrustMemberCompanyPage-BaBDjZDf.js → TrustMemberCompanyPage-sG_Tsffg.js} +6 -6
  75. package/dist/{TrustMemberIndividualPage-BLZwEIxg.js → TrustMemberIndividualPage-Cpk0LIwl.js} +6 -6
  76. package/dist/{TrustMemberRoleAndTypePage-BVMuoGHX.js → TrustMemberRoleAndTypePage-h8cM9Ltb.js} +22 -22
  77. package/dist/{TrustMembersOverview-vsUsCHml.js → TrustMembersOverview-Hqb3o_y6.js} +11 -11
  78. package/dist/{UnincorporatedPartnershipIndividualPage-BBmy3wse.js → UnincorporatedPartnershipIndividualPage-CdpFVv2I.js} +4 -4
  79. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DqFOtoRR.js → UnincorporatedPartnershipMemberCompanyPage-CuOQsMrw.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBF8M7cR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BLcsgLCP.js} +11 -11
  81. package/dist/{UnincorporatedPartnershipMembersOverview-JwdguZNL.js → UnincorporatedPartnershipMembersOverview-ClQQnnrs.js} +7 -7
  82. package/dist/{VerificationErrorAlert-CpEbIDR3.js → VerificationErrorAlert-Clxb4YjL.js} +2 -2
  83. package/dist/{ViewVerificationStatusComponent-DgOa7RsZ.js → ViewVerificationStatusComponent-yJyifkQm.js} +2 -2
  84. package/dist/adyen-business-financing.js +2 -2
  85. package/dist/adyen-individual-configuration.js +2 -2
  86. package/dist/adyen-individual-status.js +2 -2
  87. package/dist/adyen-invited-decision-maker.js +2 -2
  88. package/dist/adyen-kyc-components.js +15 -15
  89. package/dist/adyen-onboarding.js +2 -2
  90. package/dist/adyen-terms-of-service-management.js +2 -2
  91. package/dist/adyen-terms-of-service-status.js +2 -2
  92. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  93. package/dist/adyen-transfer-instrument-management.js +2 -2
  94. package/dist/adyen-verification-status.js +2 -2
  95. package/dist/{bafinUtils-Cf0EyXIO.js → bafinUtils-DsUdZgzH.js} +1 -1
  96. package/dist/{bg-BG-DMNRRZZE.js → bg-BG-89Mw-9Lv.js} +7 -7
  97. package/dist/{bg-BG-Cj3_UGTi.js → bg-BG-C9zrgb_c.js} +7 -1
  98. package/dist/{bg-BG-C6dSR1jk.js → bg-BG-dmpv4Zom.js} +2 -2
  99. package/dist/{commonValidators-Cl95UfG4.js → commonValidators-2G1K0mHC.js} +1 -1
  100. package/dist/{cs-CZ-B6atm9_Q.js → cs-CZ-6rOIfRJu.js} +2 -2
  101. package/dist/{cs-CZ-DxfB5dcV.js → cs-CZ-B-zm6HVH.js} +7 -1
  102. package/dist/{cs-CZ-DXSMRqPu.js → cs-CZ-CTxXvHtH.js} +7 -7
  103. package/dist/{da-DK-BfsYpvel.js → da-DK-CGhsIGZt.js} +7 -1
  104. package/dist/{da-DK-Cv6XUSoW.js → da-DK-C_GqHCay.js} +2 -2
  105. package/dist/{da-DK-CMVthpSr.js → da-DK-D_TOcmOO.js} +7 -7
  106. package/dist/{de-DE-BplDsJEb.js → de-DE-BmWBo3gX.js} +2 -2
  107. package/dist/{de-DE-B5TOuf7l.js → de-DE-DYzAiXHM.js} +7 -7
  108. package/dist/{de-DE-CEsDXBn-.js → de-DE-K9FyOJiI.js} +7 -1
  109. package/dist/{dropinUtils-BY7YDLvA.js → dropinUtils-D3x5I-79.js} +17 -6
  110. package/dist/{el-GR-BNNlN4l2.js → el-GR-DItzpoar.js} +7 -7
  111. package/dist/{el-GR-dRK7xHn2.js → el-GR-Fo7-xCrc.js} +2 -2
  112. package/dist/{el-GR-CM3bIzr7.js → el-GR-L-39cQfz.js} +7 -1
  113. package/dist/en-US-qlQTJNiL.js +13 -0
  114. package/dist/{es-ES-DRsix_Xn.js → es-ES-BkqlH093.js} +2 -2
  115. package/dist/{es-ES-Wcpc6fm1.js → es-ES-BmH6eADf.js} +7 -7
  116. package/dist/{es-ES-BWFP5itn.js → es-ES-TUyeIp6F.js} +7 -1
  117. package/dist/{et-EE-CcXrAAc7.js → et-EE-Cw_VydGb.js} +7 -1
  118. package/dist/{et-EE-DNC4hcxm.js → et-EE-DSZa_33d.js} +7 -7
  119. package/dist/{et-EE-BXiYapXy.js → et-EE-H8yxvhQj.js} +2 -2
  120. package/dist/{fi-FI-BftTiz0c.js → fi-FI-BfwJVwi9.js} +2 -2
  121. package/dist/{fi-FI-BJLU1JHw.js → fi-FI-DJ8BbVPT.js} +7 -7
  122. package/dist/{fi-FI-DenK0WPz.js → fi-FI-tgvQX_Iq.js} +7 -1
  123. package/dist/{formUtils-os98XaB-.js → formUtils-C1nur8r7.js} +2 -2
  124. package/dist/{fr-FR-C6jxjXAI.js → fr-FR-CzjsW73Q.js} +2 -2
  125. package/dist/{fr-FR-DodNoPid.js → fr-FR-D533_MOG.js} +7 -7
  126. package/dist/{fr-FR-BmTswZU5.js → fr-FR-ynC19lSF.js} +7 -1
  127. package/dist/{getName-t_vGHMzu.js → getName-B_JUBLVR.js} +1 -1
  128. package/dist/{getProblemsForEntity-DKjmIXBa.js → getProblemsForEntity-BSfnPYoe.js} +1 -1
  129. package/dist/{getTrustedFields-BrXqOBCX.js → getTrustedFields-CEoqo2CR.js} +1 -1
  130. package/dist/{hr-HR-SDrDZRLV.js → hr-HR--5syrowD.js} +7 -1
  131. package/dist/{hr-HR-C0NLgF1r.js → hr-HR-CIxdonpk.js} +7 -7
  132. package/dist/{hr-HR-B_TEU3r4.js → hr-HR-ZrpQrsik.js} +2 -2
  133. package/dist/{hu-HU-C3ZiFh1F.js → hu-HU--6ZxXlbV.js} +7 -7
  134. package/dist/{hu-HU-DSVf2zbX.js → hu-HU-BFiGk_QT.js} +7 -1
  135. package/dist/{hu-HU-CX83V9tu.js → hu-HU-Ds3go4h4.js} +2 -2
  136. package/dist/{isEmpty-ze-XxTHy.js → isEmpty-CpSE7NAw.js} +2 -2
  137. package/dist/{it-IT-CZ4aDoVQ.js → it-IT-B5cf2VTN.js} +7 -7
  138. package/dist/{it-IT-DJe5OflH.js → it-IT-C0Zv5ms9.js} +7 -1
  139. package/dist/{it-IT-CXlaZNIj.js → it-IT-Dx15tkIe.js} +2 -2
  140. package/dist/{ja-JP-GGV_-V6p.js → ja-JP--u211vje.js} +7 -1
  141. package/dist/{ja-JP-BpeNsNhn.js → ja-JP-DY4CJlUf.js} +7 -7
  142. package/dist/{ja-JP-A6ArIIZ8.js → ja-JP-Qu7oEIEy.js} +2 -2
  143. package/dist/{japanSupportUtils-DYEPbhFP.js → japanSupportUtils-CprkdtHL.js} +1 -1
  144. package/dist/{localizeDateString-BVk8Wvy3.js → localizeDateString-BLDvqFOU.js} +1 -1
  145. package/dist/{lt-LT-ww192lYg.js → lt-LT-BebOeKIA.js} +2 -2
  146. package/dist/{lt-LT-C8n1GZoU.js → lt-LT-CkjEvGSp.js} +7 -7
  147. package/dist/{lt-LT-C9nsCODy.js → lt-LT-D2Hrhr7v.js} +7 -1
  148. package/dist/{lv-LV-BdPdaVGy.js → lv-LV-BdZK9nQA.js} +7 -7
  149. package/dist/{lv-LV-CpHy-ZoF.js → lv-LV-CYcrO-6d.js} +2 -2
  150. package/dist/{lv-LV-Bue450PR.js → lv-LV-D04q9r-y.js} +7 -1
  151. package/dist/{mapExistingFile-BqPAjtnr.js → mapExistingFile-DUgMBW9t.js} +3 -3
  152. package/dist/{mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js → mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js} +2 -2
  153. package/dist/{mapLegalEntityToIndividualSchema-B0s8GG9o.js → mapLegalEntityToIndividualSchema-BRQ51OQI.js} +4 -4
  154. package/dist/{mapTransferInstrumentToPayoutAccount-BsiLVcTY.js → mapTransferInstrumentToPayoutAccount-DaLPVgIK.js} +2 -2
  155. package/dist/{nl-NL-4Mv4rnYy.js → nl-NL-CJ7MoBj2.js} +7 -1
  156. package/dist/{nl-NL-BwWFlBOs.js → nl-NL-FbJ2sHba.js} +2 -2
  157. package/dist/{nl-NL-B2Uku0lw.js → nl-NL-YcL7Gufl.js} +7 -7
  158. package/dist/{no-NO-JWsSd7iY.js → no-NO-B5BjEy8n.js} +2 -2
  159. package/dist/{no-NO-ByCZ3mhz.js → no-NO-C20s6CoP.js} +7 -1
  160. package/dist/{no-NO-DjOcJWnC.js → no-NO-KkYB-VQD.js} +7 -7
  161. package/dist/{omitObscuredFieldsIfUnchanged-DqCASsJA.js → omitObscuredFieldsIfUnchanged-ChSKB1LF.js} +3 -3
  162. package/dist/{patternValidators-Dx583C-1.js → patternValidators-0N8_moed.js} +2 -2
  163. package/dist/{pl-PL-DCi5Lf4k.js → pl-PL-C19Btj2D.js} +7 -1
  164. package/dist/{pl-PL-Bmaq3IC3.js → pl-PL-CPdKf-J0.js} +7 -7
  165. package/dist/{pl-PL-CLmmSNgn.js → pl-PL-DuM6hbqZ.js} +2 -2
  166. package/dist/{process-field-configurations-DIs_LC2a.js → process-field-configurations-DNb-fWox.js} +2 -2
  167. package/dist/{pt-BR-BJOww8U1.js → pt-BR-BKKQIUJP.js} +2 -2
  168. package/dist/{pt-BR-BKdT0Bpl.js → pt-BR-ERWeus3c.js} +7 -7
  169. package/dist/{pt-BR-DRz5cG4o.js → pt-BR-zOjPTIPu.js} +7 -1
  170. package/dist/{pt-PT-CL9VzmZE.js → pt-PT-CC7zlk3R.js} +2 -2
  171. package/dist/{pt-PT-C2li07N1.js → pt-PT-DUTGt5L5.js} +7 -7
  172. package/dist/{pt-PT-ChRbnn0k.js → pt-PT-t5M8xwTU.js} +7 -1
  173. package/dist/{resolveEnvironment-CoyMk9x-.js → resolveEnvironment-RNyhTkW8.js} +3 -3
  174. package/dist/{ro-RO-iPjOeKwM.js → ro-RO-BnFjok5O.js} +7 -7
  175. package/dist/{ro-RO-Cu1T3z6k.js → ro-RO-CuabgXj1.js} +2 -2
  176. package/dist/{ro-RO-Dgie5z3m.js → ro-RO-DK9gVwS9.js} +7 -1
  177. package/dist/{roleMetadata-NqHcHFCe.js → roleMetadata-CuLbD5YE.js} +3 -3
  178. package/dist/{sk-SK-bMDoNP19.js → sk-SK-2J6iKfmK.js} +7 -1
  179. package/dist/{sk-SK-3_SoEn6P.js → sk-SK-CLPd85I3.js} +7 -7
  180. package/dist/{sk-SK-CEjJ-qZG.js → sk-SK-DM1yY8DA.js} +2 -2
  181. package/dist/{sl-SI-BfO3xEJx.js → sl-SI--pDTatHh.js} +2 -2
  182. package/dist/{sl-SI-DKSu25rO.js → sl-SI-D82ccY62.js} +7 -1
  183. package/dist/{sl-SI-DbfswGh0.js → sl-SI-T9_Ty-NS.js} +7 -7
  184. package/dist/style.css +9 -21
  185. package/dist/styles-CLV89_hH.js +9 -21
  186. package/dist/{sv-SE-Blw4s8bC.js → sv-SE-3-h2VlYi.js} +7 -7
  187. package/dist/{sv-SE-CMLKzwtj.js → sv-SE-CDxyyNV0.js} +2 -2
  188. package/dist/{sv-SE-Co7Nkd06.js → sv-SE-CrBkos0z.js} +7 -1
  189. package/dist/types/api/companySearch/useCompanySearch.d.ts +289 -0
  190. package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -4
  191. package/dist/types/api/configurations/useScenarios.d.ts +1 -1
  192. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +4 -4
  193. package/dist/types/api/queryKeys.d.ts +1 -2
  194. package/dist/types/api/tinVerification/useVerifyTin.d.ts +245 -1
  195. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +6 -1
  196. package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +1 -0
  197. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
  198. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +27 -0
  199. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
  200. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
  201. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -1
  202. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +2 -0
  203. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -0
  204. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/validate.d.ts +23 -0
  205. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -4
  206. package/dist/types/components/Business/forms/rules.d.ts +6 -6
  207. package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +10 -0
  208. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -1
  209. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -4
  210. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +2 -3
  211. package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +1 -1
  212. package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +1 -1
  213. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -1
  214. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +499 -487
  215. package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
  216. package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +2 -0
  217. package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +2 -1
  218. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
  219. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +5 -0
  220. package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
  221. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
  222. package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
  223. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
  224. package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
  225. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
  226. package/dist/types/components/Shared/fields/Name/validate.d.ts +2 -1
  227. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  228. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
  229. package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
  230. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  231. package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
  232. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  233. package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
  234. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  235. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  236. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  237. package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
  238. package/dist/types/context/ToggleContext/types.d.ts +51 -56
  239. package/dist/types/core/models/api/branchAllocation.d.ts +5 -0
  240. package/dist/types/core/models/api/get-scenarios.d.ts +2 -0
  241. package/dist/types/core/models/api/organization.d.ts +2 -0
  242. package/dist/types/core/user-events.d.ts +1 -1
  243. package/dist/types/hooks/useForm/types.d.ts +1 -0
  244. package/dist/types/hooks/usePageLandedEvent.d.ts +3 -3
  245. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  246. package/dist/types/utils/validatorUtils.d.ts +1 -0
  247. package/dist/{types-CTwBMnPB.js → types-C7ANBXKc.js} +56 -61
  248. package/dist/{types-lbafosQE.js → types-CJnNafzu.js} +2 -2
  249. package/dist/{types-BRLYR2Wx.js → types-DqaPuyRe.js} +1 -1
  250. package/dist/{types-C4RAJtRF.js → types-Ds3BWDI-.js} +1 -1
  251. package/dist/{unincorporated-partnership-KMmroXu1.js → unincorporated-partnership-DDPy7qIp.js} +1 -1
  252. package/dist/{useAssociatedLegalEntity-Dlgpas6D.js → useAssociatedLegalEntity-R9-aucnr.js} +1 -1
  253. package/dist/{useBusinessDetailsData-CPww2HAm.js → useBusinessDetailsData-BKgf0j8T.js} +379 -373
  254. package/dist/{useCreateLegalEntity-D3ObXaof.js → useCreateLegalEntity-BEEy8g0o.js} +1 -1
  255. package/dist/{useForm-BSHD2KTa.js → useForm-BQaffiEa.js} +3 -3
  256. package/dist/{useFormContext-DKaDgcgR.js → useFormContext-BZwb6dry.js} +7 -7
  257. package/dist/{useGlobalData-kQ8hN10Q.js → useGlobalData-RPqQO2_m.js} +9 -9
  258. package/dist/{useMultiForm-BG8MF6DI.js → useMultiForm-DrspjU-_.js} +4 -4
  259. package/dist/{useOnboardingStatus-CZ0x4yyk.js → useOnboardingStatus-Cx2RfslI.js} +1 -1
  260. package/dist/{useScenarios-Bn3EGOHA.js → useScenarios-ZY51ox86.js} +1 -1
  261. package/dist/{useTermsOfServiceStatus-BscviiB7.js → useTermsOfServiceStatus-C_6N4XIw.js} +1 -1
  262. package/dist/{useToastContext-Bxju6PLZ.js → useToastContext-CKEFuMZU.js} +1 -1
  263. package/dist/{useUnincorporatedPartnershipMembers-CmJaMQa-.js → useUnincorporatedPartnershipMembers-B0loJKYp.js} +4 -4
  264. package/dist/{useUpdateBusinessLines-97t7rLep.js → useUpdateBusinessLines-bS2l9wAZ.js} +5 -7
  265. package/dist/{useUpdateLegalEntity-CLWcAVwj.js → useUpdateLegalEntity-5AD9uK8f.js} +2 -2
  266. package/dist/{utils-CKTSKzWR.js → utils-4YBHq5mh.js} +1 -1
  267. package/dist/{utils-8cw25Nur.js → utils-BuiPHqFZ.js} +1 -1
  268. package/dist/{utils-C1FWQvf0.js → utils-BzAU2BN1.js} +3 -3
  269. package/dist/{utils-DPRgxXmU.js → utils-CqJ09Ne0.js} +6 -6
  270. package/dist/{utils-BN54hZUe.js → utils-DpBs-qSJ.js} +2 -2
  271. package/dist/{validate-BnCwLSUb.js → validate-BMFS_55S.js} +2 -2
  272. package/dist/{validate-BxU9EEi6.js → validate-CmVYROUS.js} +3 -3
  273. package/dist/{validationError-sIV2dUoW.js → validationError-CSob70hx.js} +2 -2
  274. package/package.json +10 -10
  275. package/dist/BusinessFinancingPage-B5Nk3rx2.js +0 -43
  276. package/dist/ManageIndividualComponent-DQ9mC9zr.js +0 -46
  277. package/dist/PayoutDetailsPage-DCmlsSbE.js +0 -55
  278. package/dist/en-US-CJDkXFZ6.js +0 -13
  279. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
  280. package/dist/useTaskLandedEvent-Cee5Mvme.js +0 -25
@@ -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] = "e62be7c0-7f3b-4caf-8ae0-62de460bc93d", e._sentryDebugIdIdentifier = "sentry-dbid-e62be7c0-7f3b-4caf-8ae0-62de460bc93d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16bb594a-c450-40d9-b17f-4472f6e11944", e._sentryDebugIdIdentifier = "sentry-dbid-16bb594a-c450-40d9-b17f-4472f6e11944");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,65 +11,66 @@ import { jsxs, jsx, Fragment } 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-Bn3EGOHA.js";
15
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D3ObXaof.js";
16
- import { b as useApiContext, j as httpPost, a9 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, w as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, m as useSettingsContext, H as useToggleContext, 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, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ac as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-hNCKWSzB.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CLWcAVwj.js";
18
- import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-CVPObm6B.js";
19
- import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-CLSUzFP_.js";
20
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DKaDgcgR.js";
21
- import { u as useToastContext } from "./useToastContext-Bxju6PLZ.js";
22
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DIs_LC2a.js";
23
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BY7YDLvA.js";
24
- import { u as useMultiForm } from "./useMultiForm-BG8MF6DI.js";
25
- import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BqPAjtnr.js";
26
- import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
14
+ import { u as useScenarios } from "./useScenarios-ZY51ox86.js";
15
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BEEy8g0o.js";
16
+ import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, aH as isInvalidName, aI as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aJ as getAgeToday, aK as euCountries, aL as hasText, aM as standardKatakanaValidator, aN as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aO as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aP as getAgeRangeForLegalRepresentative, aQ as isLegalRepresentativeNeeded, aR as Trans, aS as valuesOf, aT as keysOf, ah as objectsDeepEqual, aU as listToRecord, aV as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aW as useCapabilities, aX as individualApiKeyMapping, aY as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aZ as getAllowedDecisionMakerRoles, a_ as individualDocumentMapping, a$ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, b0 as individualObscuredFields, ac as getOwnEntityAssociations, b1 as hasNomineesChanged, b2 as attachNomineeToRole, b3 as doArraysMatch } from "./StoreProvider-Bt6bLVE-.js";
17
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
18
+ import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-Czpdu7Iv.js";
19
+ import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-Dx7dJnqB.js";
20
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BZwb6dry.js";
21
+ import { u as useToastContext } from "./useToastContext-CKEFuMZU.js";
22
+ import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DNb-fWox.js";
23
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D3x5I-79.js";
24
+ import { u as useMultiForm } from "./useMultiForm-DrspjU-_.js";
25
+ import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DUgMBW9t.js";
27
26
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
28
27
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
29
- import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-BN54hZUe.js";
30
- import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-B0s8GG9o.js";
31
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-sIV2dUoW.js";
32
- import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-BxU9EEi6.js";
33
- import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-ef1_TQvO.js";
34
- import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DYEPbhFP.js";
35
- import { l as localizeDateString } from "./localizeDateString-BVk8Wvy3.js";
36
- import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-DqCASsJA.js";
37
- 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, I as InputEmail } from "./MaskedInput-Cj3Be_WU.js";
38
- import { v as validatePatternOnBlur } from "./patternValidators-Dx583C-1.js";
28
+ import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-DpBs-qSJ.js";
29
+ import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BRQ51OQI.js";
30
+ import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CSob70hx.js";
31
+ import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CmVYROUS.js";
32
+ import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-CknxoOIl.js";
33
+ import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-CprkdtHL.js";
34
+ import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.js";
35
+ import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-ChSKB1LF.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, I as InputEmail } from "./MaskedInput-ApBB9ewS.js";
37
+ import { v as validatePatternOnBlur } from "./patternValidators-0N8_moed.js";
39
38
  import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
40
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CKTSKzWR.js";
39
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-4YBHq5mh.js";
41
40
  import { lazy, Suspense, memo } from "preact/compat";
42
- import { I as Image } from "./unincorporated-partnership-KMmroXu1.js";
43
- import { M as Modal } from "./Modal-D1Yiugk1.js";
44
- import { L as LandingLayout } from "./LandingLayout-Co0T9hoE.js";
45
- import { C as Confirm } from "./Confirm-Bfhearjt.js";
46
- import { a as getIndividualLegalEntityName } from "./getName-t_vGHMzu.js";
47
- import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-Cf0EyXIO.js";
41
+ import { I as Image } from "./unincorporated-partnership-DDPy7qIp.js";
42
+ import { M as Modal } from "./Modal-C5mnAneL.js";
43
+ import { L as LandingLayout } from "./LandingLayout-B_Cw3o3Q.js";
44
+ import { C as Confirm } from "./Confirm-DW7YOE1F.js";
45
+ import { a as getIndividualLegalEntityName } from "./getName-B_JUBLVR.js";
46
+ import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DsUdZgzH.js";
48
47
  import { signal } from "@preact/signals";
49
- import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-BFnWeBCJ.js";
48
+ import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-D3OmtL80.js";
50
49
  import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
51
- import { F as Field } from "./Field-B8NADHt-.js";
52
- import { L as Link } from "./Link-QFSK0XUO.js";
50
+ import { F as Field } from "./Field-ClKiPVDa.js";
51
+ import { L as Link } from "./Link-DS54L_TE.js";
53
52
  import { S as SettingNames } from "./types-Dv0COrvY.js";
54
- import { I as InputDate, f as formatDateObj } from "./InputDate-BvgrweAT.js";
55
- import { I as InputText } from "./InputText-D6VoNS-R.js";
56
- import { C as CountryField } from "./CountryField-BJAayKID.js";
57
- import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DwACEtfi.js";
58
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-os98XaB-.js";
59
- import { C as Checkbox } from "./Checkbox-CZ-K3Ygt.js";
60
- import { S as Select } from "./Select-Bp6g62Kp.js";
61
- import { C as ContextGuidance } from "./ContextGuidance-BopbaLr-.js";
62
- import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-CcCj7FCg.js";
63
- import { i as isTruthyValidator } from "./commonValidators-Cl95UfG4.js";
53
+ import { I as InputDate, f as formatDateObj } from "./InputDate-BajoDzsK.js";
54
+ import { I as InputText } from "./InputText-C8kj07ZB.js";
55
+ import { C as CountryField } from "./CountryField-CAgo6wFJ.js";
56
+ import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-CbeNPI_8.js";
57
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-C1nur8r7.js";
58
+ import { C as Checkbox } from "./Checkbox-BbVX_nZi.js";
59
+ import { S as Select } from "./Select-Czm2JclY.js";
60
+ import { C as ContextGuidance } from "./ContextGuidance-C7HDkmZU.js";
61
+ import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DChMs8iu.js";
62
+ import { i as isTruthyValidator } from "./commonValidators-2G1K0mHC.js";
64
63
  import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
65
- import { n as nameFields, N as Name } from "./Name-Pp6IOBxl.js";
66
- import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js";
67
- import { D as Dropzone } from "./Dropzone-CHADYCWU.js";
68
- import { i as isEmpty$1 } from "./isEmpty-ze-XxTHy.js";
64
+ import { n as nameFields, N as Name } from "./Name-BVk4_a2-.js";
65
+ import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js";
66
+ import { D as Dropzone } from "./Dropzone-F8Ut9D_V.js";
67
+ import { i as isEmpty$1 } from "./isEmpty-CpSE7NAw.js";
69
68
  import { Onfido } from "onfido-sdk-ui";
70
- import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
69
+ import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.js";
71
70
  import { S as Spacer } from "./Spacer-BK3jDget.js";
72
- import { T as TextArea } from "./TextArea-BnlstVGI.js";
71
+ import { T as TextArea } from "./TextArea-CKD5zTKW.js";
72
+ import parsePhoneNumber from "libphonenumber-js/mobile";
73
+ import phonePrefixes from "./phonePrefixes-CnL40uyX.js";
73
74
  import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
74
75
  import { f as formatObject } from "./utils-DNSfZiio.js";
75
76
  import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
@@ -780,31 +781,33 @@ const idNumberExemptDefaultConfig = {
780
781
  label: "uploadDocumentForNric"
781
782
  }
782
783
  };
783
- const nameValidationRulesV4 = {
784
- firstName: [
785
- {
786
- modes: ["blur"],
787
- validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
788
- errorMessage: "nameMustContainLetters"
789
- },
790
- {
791
- modes: ["blur"],
792
- validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
793
- errorMessage: "checkForTypos"
794
- }
795
- ],
796
- lastName: [
797
- {
798
- modes: ["blur"],
799
- validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
800
- errorMessage: "nameMustContainLetters"
801
- },
802
- {
803
- modes: ["blur"],
804
- validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
805
- errorMessage: "checkForTypos"
806
- }
807
- ]
784
+ const nameValidationRulesV4 = (isFeatureEnabled = () => false) => {
785
+ return {
786
+ firstName: [
787
+ {
788
+ modes: ["blur"],
789
+ validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
790
+ errorMessage: "nameMustContainLetters"
791
+ },
792
+ {
793
+ modes: ["blur"],
794
+ validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
795
+ errorMessage: "checkForTypos"
796
+ }
797
+ ],
798
+ lastName: [
799
+ {
800
+ modes: ["blur"],
801
+ validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
802
+ errorMessage: "nameMustContainLetters"
803
+ },
804
+ {
805
+ modes: ["blur"],
806
+ validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
807
+ errorMessage: "checkForTypos"
808
+ }
809
+ ]
810
+ };
808
811
  };
809
812
  const isNotOutOfRangeBirthDateValidatorRule = {
810
813
  modes: ["blur"],
@@ -870,7 +873,7 @@ const additionalPersonalDetailsValidators = ({
870
873
  }
871
874
  return baseValidators;
872
875
  })(),
873
- ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
876
+ ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
874
877
  ...contactDetailsValidationRules,
875
878
  idNumber: (() => {
876
879
  const derivedIdNumberType = country === CountryCodes.UnitedStates || country === CountryCodes.PuertoRico ? getSSNType(formVerificationErrors, existingIdNumber) : idNumberType;
@@ -951,7 +954,7 @@ const basicDetailsValidators = ({
951
954
  country
952
955
  }) => ({
953
956
  ...contactDetailsValidationRules,
954
- ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
957
+ ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
955
958
  ...localizedNameValidationRulesV4(isFeatureEnabled, country)
956
959
  });
957
960
  const onfidoDocumentTypeMapping = [
@@ -1862,7 +1865,7 @@ const additionalIdentityInfoFields = [
1862
1865
  "expiryDate"
1863
1866
  ];
1864
1867
  const LazyJpAddress = lazy(
1865
- async () => (await import("./JpAddress-aZ8F40cK.js")).JpAddress
1868
+ async () => (await import("./JpAddress-BpaKGrVA.js")).JpAddress
1866
1869
  );
1867
1870
  const additionalPersonalDetailsFields = [
1868
1871
  "birthDate",
@@ -3421,20 +3424,18 @@ function IdVerificationMethod(props) {
3421
3424
  onUpdate: handleUpdateExistingDocument
3422
3425
  }
3423
3426
  ),
3424
- disclaimer: (
3425
- // TODO - replace with Trans component
3426
- !doesUserHaveExistingDocument && /* @__PURE__ */ jsxs(Fragment, { children: [
3427
- individualT(($) => $["byContinuingToUseThisService"]),
3428
- " ",
3429
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true, children: individualT(($) => $["onfidoFacialScanPolicy"]) }),
3430
- " ",
3431
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true, children: commonT(($) => $["privacyPolicy"]) }),
3432
- " ",
3433
- commonT(($) => $["and"]),
3434
- " ",
3435
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/terms-of-service/", external: true, inline: true, children: commonT(($) => $["termsOfService"]) }),
3436
- "."
3437
- ] })
3427
+ disclaimer: !doesUserHaveExistingDocument && /* @__PURE__ */ jsx(
3428
+ Trans,
3429
+ {
3430
+ t: individualT,
3431
+ ns: "individual",
3432
+ i18nKey: ($) => showIndividualMotionCapture?.value ? $["byContinuingYouAcceptOnfidoPoliciesWithFacialScan"] : $["byContinuingYouAcceptOnfidoPolicies"],
3433
+ components: {
3434
+ facialScanLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true }),
3435
+ privacyLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true }),
3436
+ termsLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/terms-of-service/", external: true, inline: true })
3437
+ }
3438
+ }
3438
3439
  )
3439
3440
  }
3440
3441
  ),
@@ -3490,13 +3491,22 @@ function IdVerificationMethod(props) {
3490
3491
  ) : void 0
3491
3492
  ] });
3492
3493
  }
3494
+ const isPhoneNumberMobile = (phoneNumber) => {
3495
+ const phoneCountryCode = phoneNumber?.phoneCountryCode ? phoneNumber?.phoneCountryCode : void 0;
3496
+ const parsedPhoneNumber = parsePhoneNumber(phoneNumber.number, phoneCountryCode);
3497
+ return Boolean(
3498
+ parsedPhoneNumber && (parsedPhoneNumber.getType() === "MOBILE" || parsedPhoneNumber.getType() === "FIXED_LINE_OR_MOBILE")
3499
+ );
3500
+ };
3493
3501
  const validateSenderNameNotEmpty = {
3494
3502
  modes: ["blur"],
3495
3503
  validate: (senderName) => !isEmpty(senderName),
3496
3504
  errorMessage: "fieldIsRequired"
3497
3505
  };
3498
- const v4NameRules = nameValidationRulesV4.firstName ?? [];
3499
- const senderNameRules = Array.isArray(v4NameRules) ? v4NameRules : [v4NameRules];
3506
+ const senderNameRules = (isFeatureEnabled = () => false) => {
3507
+ const v4NameRules = nameValidationRulesV4(isFeatureEnabled).firstName ?? [];
3508
+ return Array.isArray(v4NameRules) ? v4NameRules : [v4NameRules];
3509
+ };
3500
3510
  const validateMessageNotEmpty = {
3501
3511
  modes: ["blur"],
3502
3512
  validate: (message) => !isEmpty(message),
@@ -3512,17 +3522,29 @@ const validateEmailFormat = {
3512
3522
  validate: (email) => email ? emailPattern.test(email) : true,
3513
3523
  errorMessage: "invalidEmail"
3514
3524
  };
3515
- const validatePhoneNotEmpty = {
3525
+ const validateMobilePhoneNumberNotEmpty = {
3516
3526
  modes: ["blur"],
3517
- validate: (phone) => !isEmpty(phone?.number),
3527
+ validate: (phone) => {
3528
+ if (phone?.number && phone?.phoneCountryCode) {
3529
+ const listOfPhonePrefixes = phonePrefixes;
3530
+ const prefix = listOfPhonePrefixes[phone?.phoneCountryCode];
3531
+ return Boolean(phone.number.replace(prefix, "").trim().length);
3532
+ }
3533
+ return false;
3534
+ },
3518
3535
  errorMessage: "fieldIsRequired"
3519
3536
  };
3520
- const inviteDetailsValidators = {
3521
- senderName: [validateSenderNameNotEmpty, ...senderNameRules],
3537
+ const validateMobilePhoneNumber = {
3538
+ modes: ["blur"],
3539
+ validate: (phone) => Boolean(phone?.number && isPhoneNumberMobile(phone)),
3540
+ errorMessage: "invalidPhoneNumber"
3541
+ };
3542
+ const inviteDetailsValidators = (isFeatureEnabled = () => false) => ({
3543
+ senderName: [validateSenderNameNotEmpty, ...senderNameRules(isFeatureEnabled)],
3522
3544
  message: [validateMessageNotEmpty],
3523
3545
  email: [validateEmailNotEmpty, validateEmailFormat],
3524
- phoneNumber: [validatePhoneNotEmpty]
3525
- };
3546
+ phoneNumber: [validateMobilePhoneNumberNotEmpty, validateMobilePhoneNumber]
3547
+ });
3526
3548
  const inviteDetailsFields = [
3527
3549
  "senderName",
3528
3550
  "message",
@@ -3574,10 +3596,22 @@ function InviteDetails(props) {
3574
3596
  useEffect(() => {
3575
3597
  if (!handleFieldChange) return;
3576
3598
  handleFieldChange("email", "input")(data?.email);
3577
- handleFieldChange("phoneNumber", "input")(data?.phoneNumber);
3599
+ if (!data?.phoneNumber || !isPhoneNumberMobile(data.phoneNumber)) {
3600
+ handleFieldChange(
3601
+ "phoneNumber",
3602
+ "input"
3603
+ )({ number: "", phoneCountryCode: country, type: "mobile" });
3604
+ handleBasicDetailsChangeFor(
3605
+ "phoneNumber",
3606
+ "basicDetails",
3607
+ "input"
3608
+ )({ number: "", phoneCountryCode: country, type: "mobile" });
3609
+ } else {
3610
+ handleFieldChange("phoneNumber", "input")(data?.phoneNumber);
3611
+ }
3578
3612
  }, []);
3579
3613
  const emailValue = data?.email ?? basicDetails.email ?? "";
3580
- const phoneValue = data?.phoneNumber ?? basicDetails.phoneNumber;
3614
+ const phoneValue = data?.phoneNumber ?? basicDetails?.phoneNumber;
3581
3615
  if (!handleFieldChange) {
3582
3616
  return null;
3583
3617
  }
@@ -3617,7 +3651,7 @@ function InviteDetails(props) {
3617
3651
  data: { phoneNumber: phoneValue },
3618
3652
  valid: { phoneNumber: valid.phoneNumber ?? true },
3619
3653
  errors: { phoneNumber: errors.phoneNumber?.errorMessage },
3620
- labels: { phoneNumber: t(($) => $["mobileNumber"]) },
3654
+ label: t(($) => $["mobileNumber"]),
3621
3655
  placeholder: getPhonePlaceholder(country),
3622
3656
  optional: false,
3623
3657
  readonly: false,
@@ -4341,19 +4375,6 @@ function Individual(props) {
4341
4375
  () => isInvitedEntity ? invitedEntityDetails?.roles : calculateRoles(data),
4342
4376
  [data, invitedEntityDetails, isInvitedEntity]
4343
4377
  );
4344
- const basicDetailsReadOnlyFields = useMemo(() => {
4345
- if (!isInvitedEntity) {
4346
- return [];
4347
- }
4348
- const potentialFields = [
4349
- "firstName",
4350
- "lastName",
4351
- "jobTitle",
4352
- "email",
4353
- "phoneNumber"
4354
- ];
4355
- return potentialFields.filter((field) => !!data?.basicDetails?.[field]);
4356
- }, [data?.basicDetails, isInvitedEntity]);
4357
4378
  useEffect(() => {
4358
4379
  const currentRoles = data?.basicDetails?.role ?? [];
4359
4380
  if (areArraysDifferent(newRoles, currentRoles)) {
@@ -4422,8 +4443,7 @@ function Individual(props) {
4422
4443
  errors: errors?.basicDetails,
4423
4444
  fieldValidationErrors: fieldValidationErrors?.basicDetails,
4424
4445
  valid: valid?.basicDetails,
4425
- handleFieldChange: handleFieldChange("basicDetails"),
4426
- readOnlyFields: basicDetailsReadOnlyFields
4446
+ handleFieldChange: handleFieldChange("basicDetails")
4427
4447
  }
4428
4448
  );
4429
4449
  case idVerificationMethodFormID:
@@ -5018,7 +5038,6 @@ function IndividualDropin({
5018
5038
  [propProblems, validationErrors]
5019
5039
  );
5020
5040
  const hasVerificationErrors = propProblems?.verificationErrors && Object.keys(propProblems.verificationErrors).length > 0;
5021
- useTaskLandedEvent("DECISION_MAKER_OVERVIEW");
5022
5041
  const individualFieldValidations = useCallback(
5023
5042
  (data2) => ({
5024
5043
  basicDetails: basicDetailsValidators({
@@ -5038,7 +5057,7 @@ function IndividualDropin({
5038
5057
  t,
5039
5058
  taxIdNumberType: data2?.additionalPersonalDetails?.taxInformation?.length ? data2?.additionalPersonalDetails?.taxInformation[0]?.type : void 0
5040
5059
  }),
5041
- inviteDetails: inviteDetailsValidators
5060
+ inviteDetails: inviteDetailsValidators(isFeatureEnabled)
5042
5061
  }),
5043
5062
  [
5044
5063
  country,
@@ -5147,6 +5166,28 @@ function IndividualDropin({
5147
5166
  legalEntityTrustedFields: [],
5148
5167
  remediationFieldAsOptional: true
5149
5168
  });
5169
+ if (isInvitedEntity && derivedProps2 && dataFromResponse?.basicDetails) {
5170
+ const basicDetailsData = dataFromResponse.basicDetails;
5171
+ const potentialFields = ["jobTitle", "email", "phoneNumber"];
5172
+ const hiddenFields = new Set(
5173
+ potentialFields.filter((field) => Boolean(basicDetailsData[field]))
5174
+ );
5175
+ if (hiddenFields.size > 0) {
5176
+ const filterFields = (fields) => fields?.filter(
5177
+ (field) => !hiddenFields.has(field)
5178
+ );
5179
+ if (derivedProps2.requiredFields?.basicDetails) {
5180
+ derivedProps2.requiredFields.basicDetails = filterFields(
5181
+ derivedProps2.requiredFields.basicDetails
5182
+ );
5183
+ }
5184
+ if (derivedProps2.optionalFields?.basicDetails) {
5185
+ derivedProps2.optionalFields.basicDetails = filterFields(
5186
+ derivedProps2.optionalFields.basicDetails
5187
+ );
5188
+ }
5189
+ }
5190
+ }
5150
5191
  const updatedDerivedProps = mandateIdVerificationForMotionCapture(
5151
5192
  showIndividualMotionCapture?.value,
5152
5193
  derivedProps2
@@ -5159,7 +5200,9 @@ function IndividualDropin({
5159
5200
  legalEntityResponse,
5160
5201
  fieldsFromCustomRules,
5161
5202
  problems?.remediationActions,
5162
- problems?.missingData
5203
+ problems?.missingData,
5204
+ isInvitedEntity,
5205
+ dataFromResponse?.basicDetails
5163
5206
  ]);
5164
5207
  useEffect(() => {
5165
5208
  if (!legalEntityResponse?.documentDetails?.length) return;
@@ -2,14 +2,14 @@
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] = "4a2019a2-8578-4fc4-8262-8b97740917a6", e._sentryDebugIdIdentifier = "sentry-dbid-4a2019a2-8578-4fc4-8262-8b97740917a6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4fa75247-03fc-400d-a0fd-32a61ddc86d1", e._sentryDebugIdIdentifier = "sentry-dbid-4fa75247-03fc-400d-a0fd-32a61ddc86d1");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as InputBase } from "./InputText-D6VoNS-R.js";
12
+ import { a as InputBase } from "./InputText-C8kj07ZB.js";
13
13
  const checkDateInputSupport = () => {
14
14
  const input = document.createElement("input");
15
15
  input.setAttribute("type", "date");
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
11
11
  import { forwardRef } from "preact/compat";
12
12
  import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
13
13
  import cx from "classnames";
14
- import { x as useAnalyticsContext } from "./StoreProvider-hNCKWSzB.js";
14
+ import { x as useAnalyticsContext } from "./StoreProvider-Bt6bLVE-.js";
15
15
  import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
16
16
  const InputBase = forwardRef((props, ref) => {
17
17
  const userEvents = useAnalyticsContext();
@@ -2,18 +2,17 @@
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] = "d5c532ab-ea67-4938-871c-28da9223c618", e._sentryDebugIdIdentifier = "sentry-dbid-d5c532ab-ea67-4938-871c-28da9223c618");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bfd69ad8-d824-4ed6-b16a-45dce6e30ff4", e._sentryDebugIdIdentifier = "sentry-dbid-bfd69ad8-d824-4ed6-b16a-45dce6e30ff4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-hNCKWSzB.js";
10
+ import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Bt6bLVE-.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { S as StepProgressIndicator } from "./StepProgressIndicator-U5DG_o4X.js";
13
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-rIXID-AK.js";
14
14
  import { useMemo } from "preact/compat";
15
- import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-DsvTtn8J.js";
16
- import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
15
+ import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-45YclRJI.js";
17
16
  const IntroductionScreens = {
18
17
  PROLOGUE: "PROLOGUE",
19
18
  INDIVIDUAL: TaskTypes.INDIVIDUAL,
@@ -163,7 +162,6 @@ const IntroductionInner = ({
163
162
  const pageEventDetails = {
164
163
  page: introductionScreens?.length ? introductionScreens[activeIndex] : void 0
165
164
  };
166
- useTaskLandedEvent("INTRODUCTION");
167
165
  useEffect(() => {
168
166
  if (!introductionScreens?.length) {
169
167
  onExitIntroduction();
@@ -2,24 +2,24 @@
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] = "d96b2bbe-ff56-4a1d-94cd-2a419b476b4f", e._sentryDebugIdIdentifier = "sentry-dbid-d96b2bbe-ff56-4a1d-94cd-2a419b476b4f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "91d46fb3-2dcb-4f87-b2d7-73e144ba5111", e._sentryDebugIdIdentifier = "sentry-dbid-91d46fb3-2dcb-4f87-b2d7-73e144ba5111");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-hNCKWSzB.js";
10
+ import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, O as StackLayout, U as Loader, N as Typography, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Bt6bLVE-.js";
11
11
  import { jsx, jsxs } from "preact/jsx-runtime";
12
12
  import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
13
13
  import { useQuery } from "@tanstack/preact-query";
14
- import { a as getIndividualLegalEntityName } from "./getName-t_vGHMzu.js";
14
+ import { a as getIndividualLegalEntityName } from "./getName-B_JUBLVR.js";
15
15
  import { lazy } from "preact/compat";
16
- import { I as Image } from "./unincorporated-partnership-KMmroXu1.js";
17
- import { L as LandingLayout } from "./LandingLayout-Co0T9hoE.js";
16
+ import { I as Image } from "./unincorporated-partnership-DDPy7qIp.js";
17
+ import { L as LandingLayout } from "./LandingLayout-B_Cw3o3Q.js";
18
18
  import { L as List } from "./List-BAzyC6sw.js";
19
- import { L as ListItem } from "./ListItem-rRlEZCTu.js";
20
- import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-DJmL0mgp.js";
21
- import { u as useTaskStatus } from "./getTrustedFields-BrXqOBCX.js";
22
- import { I as IndividualDropin } from "./IndividualDropin-D4VcAQnB.js";
19
+ import { L as ListItem } from "./ListItem-CFcOIT6E.js";
20
+ import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-Bp33aJUr.js";
21
+ import { u as useTaskStatus } from "./getTrustedFields-CEoqo2CR.js";
22
+ import { I as IndividualDropin } from "./IndividualDropin-D--ImJNx.js";
23
23
  const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
24
24
  return httpGet({
25
25
  baseUrl,
@@ -101,7 +101,11 @@ const InvitedDecisionMakerSubmitSuccess = ({
101
101
  [decisionMaker, decisionMakerStatus]
102
102
  );
103
103
  if (isLoading) {
104
- return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsx(Loader, {}) });
104
+ return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsxs(StackLayout, { align: "center", gap: "xSmall", children: [
105
+ /* @__PURE__ */ jsx(Loader, { shortMessage: "", longMessage: "" }),
106
+ /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: t(($) => $["verifyingYourDetails"]) }),
107
+ /* @__PURE__ */ jsx(Typography, { variant: "body", el: "p", color: "secondary", children: t(($) => $["thisUsuallyTakesAbout15Seconds"]) })
108
+ ] }) });
105
109
  }
106
110
  return /* @__PURE__ */ jsxs("div", { className: styles.invitedDecisionMakersContainer, children: [
107
111
  /* @__PURE__ */ jsx(
@@ -141,9 +145,9 @@ function InvitedDecisionMakerComponent({
141
145
  }
142
146
  const { i18n } = useTranslation();
143
147
  addResourceBundles(i18n, [
144
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-hNCKWSzB.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
148
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Bt6bLVE-.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
145
149
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
146
- { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
150
+ { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-qlQTJNiL.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
147
151
  ]);
148
152
  const [step, setStep] = useState("landingStep");
149
153
  const { data: invitedIndividualLe } = useLegalEntity(invitedIndividualId);
@@ -190,7 +194,8 @@ function InvitedDecisionMakerComponent({
190
194
  legalEntityResponse: invitedIndividualLe,
191
195
  problems: void 0,
192
196
  country,
193
- handleHomeClick: noop,
197
+ asModal: true,
198
+ handleHomeClick: () => setStep("landingStep"),
194
199
  isInvitedEntity: true,
195
200
  invitedEntityDetails,
196
201
  onSubmit: handleSubmitSuccess