@adyen/kyc-components 3.89.1 → 3.90.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 (159) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-jlzA4hRO.js} +42 -60
  2. package/dist/{Accordion-CW9GGywE.js → Accordion-48qDUfrn.js} +1 -1
  3. package/dist/{AccountSetupRejected-_IN29uU8.js → AccountSetupRejected-eL8cEb4U.js} +3 -3
  4. package/dist/{ActionBar-CkNDXAZ3.js → ActionBar-BO6XSNuM.js} +1 -1
  5. package/dist/{Address-CIRweyT6.js → Address-BCTZUD2J.js} +25 -56
  6. package/dist/{Alert-Dr-PTLt5.js → Alert-DlSROjS7.js} +6 -6
  7. package/dist/{Avatar-DttOKUv4.js → Avatar-1DJaB2Fj.js} +1 -1
  8. package/dist/{BusinessDetailsMultiformDropin-ByrdkEK1.js → BusinessDetailsDropin-lXErWzqC.js} +1268 -3090
  9. package/dist/{BusinessFinancingComponent-D5Edu6Jp.js → BusinessFinancingComponent-C6wgWrZx.js} +6 -5
  10. package/dist/{BusinessFinancingDropin-D2J61fEL.js → BusinessFinancingDropin-Doz0wI42.js} +23 -33
  11. package/dist/{BusinessFinancingPage-C06ar5yw.js → BusinessFinancingPage-CWkMdnqc.js} +3 -3
  12. package/dist/{BusinessTypeSelectionPage-CP0UXFG_.js → BusinessTypeSelectionPage-DFJqkG5_.js} +8 -9
  13. package/dist/{Card-thNJfUJi.js → Card-I1r9oUx8.js} +2 -2
  14. package/dist/{ConstitutionalDocument-Dzckgb-_.js → ConstitutionalDocument-DdFjrLEq.js} +3 -3
  15. package/dist/{CountryField-CJeBvrKJ.js → CountryField-BO-n2nAh.js} +6 -6
  16. package/dist/{CreateIndividualComponent-BDAKxFP2.js → CreateIndividualComponent-D14kgQET.js} +5 -5
  17. package/dist/{CreateTransferInstrumentComponent-vfia76fK.js → CreateTransferInstrumentComponent-DOM7CWHW.js} +4 -4
  18. package/dist/{Currency-CJF_TGyQ.js → Currency-U_NBiYL_.js} +7 -7
  19. package/dist/{CustomerSupport-C_fh3_q2.js → CustomerSupport-gUFWyk3X.js} +10 -10
  20. package/dist/{DebugModal-8s0KmcYQ.js → DebugModal-B-9dnXq3.js} +9 -9
  21. package/dist/{DecisionMakerDetailsPage-BcaNuUzU.js → DecisionMakerDetailsPage-Y59IaBti.js} +6 -6
  22. package/dist/{DecisionMakers-BShMorMY.js → DecisionMakers-CXX7UaII.js} +20 -20
  23. package/dist/{EmbeddedStatus-Bsq1fp5z.js → EmbeddedStatus-DY5iLZFD.js} +2 -2
  24. package/dist/{EndStateLayout-BzHmhWSo.js → EndStateLayout-CwW4wDY8.js} +1 -1
  25. package/dist/{EntityAssociation-CzUai3Yh.js → EntityAssociation-CYAh0KGI.js} +8 -8
  26. package/dist/{EntityGuidanceStatus-B6luxhbo.js → EntityGuidanceStatus-Dkb_9kLQ.js} +2 -2
  27. package/dist/FormFlow-Dgc0gB-O.js +186 -0
  28. package/dist/{FormNavigation-trlYkLTT.js → FormNavigation-BE3rLf_S.js} +3 -3
  29. package/dist/{FormWrapper-CmShqeDn.js → FormWrapper-B7su5eh3.js} +10 -10
  30. package/dist/{IndividualOnfido-BziAZ51z.js → IndividualOnfido-DH3VYYau.js} +71 -74
  31. package/dist/{IndividualOnfidoDropin-DQpZ6OI1.js → IndividualOnfidoDropin-SiWSMsi9.js} +30 -33
  32. package/dist/{InputText-DmMvZip7.js → InputText-DR70nC51.js} +6 -6
  33. package/dist/{Introduction-Wu-LBXX2.js → Introduction-C2X6DyHw.js} +4 -4
  34. package/dist/{JpAddress-Bl9Ppmv5.js → JpAddress-CvQyBExq.js} +8 -8
  35. package/dist/{LegalRepresentativeDetailsPage-Cxy69AD6.js → LegalRepresentativeDetailsPage-Wf7cQkQn.js} +4 -4
  36. package/dist/{ListItem-DvTbHRWc.js → ListItem-BBHNYCCw.js} +2 -2
  37. package/dist/{ManageIndividualComponent-DIf-I6d0.js → ManageIndividualComponent-DPh2Jp_T.js} +4 -4
  38. package/dist/{ManageTermsOfServiceComponent-BK3ywG-g.js → ManageTermsOfServiceComponent-4-iML1dO.js} +4 -4
  39. package/dist/{ManageTransferInstrumentComponent-DHfft4DJ.js → ManageTransferInstrumentComponent-D8MMBSWg.js} +12 -12
  40. package/dist/{MaybeModal-Bw31z92e.js → MaybeModal-Us27ek4u.js} +15 -4
  41. package/dist/{Modal-B-CzUny3.js → Modal-W8cfdxrr.js} +4 -4
  42. package/dist/{OnboardingDropinComponent-Dc5Z3bna.js → OnboardingDropinComponent-HHq3dL3N.js} +1406 -1731
  43. package/dist/{PayoutDetailsDropin-DrESJrLF.js → PayoutDetailsDropin-M9FYw20B.js} +62 -42
  44. package/dist/ProgressBar-B7gTQncy.js +47 -0
  45. package/dist/{Review-CN0zdu0c.js → Review-CUNKnKSZ.js} +7 -7
  46. package/dist/{RootBusinessDetailsPage-DsCMT0gE.js → RootBusinessDetailsPage-DC0qALED.js} +7 -22
  47. package/dist/{RootBusinessLinesPage-D0djzhVg.js → RootBusinessLinesPage-B8gUQ93t.js} +146 -41
  48. package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-ULrh2_YN.js} +6 -6
  49. package/dist/{SignPCIComponent-Dm45H-8u.js → SignPCIComponent-MnotetIL.js} +10 -10
  50. package/dist/{SingpassSelection-DR7s4WiD.js → SingpassSelection-BWdMU1Lv.js} +4 -4
  51. package/dist/{SoleProprietorshipPage-C2_d7XKS.js → SoleProprietorshipPage-C9mxOyGm.js} +5 -19
  52. package/dist/{SourceOfFundsPage-SHeYHpGr.js → SourceOfFundsPage-bptpOZNp.js} +25 -25
  53. package/dist/{fieldConfigurations-Kb-fhpg7.js → Spacer-D-c-0ch_.js} +34 -24
  54. package/dist/{StepProgressIndicator-yqQhirdb.js → StepProgressIndicator--8FNnauI.js} +1 -1
  55. package/dist/{StoreProvider-BHckWEYg.js → StoreProvider-D_0Pta7w.js} +130 -98
  56. package/dist/{Summary-Df0SenAt.js → Summary-D741mrWG.js} +4 -4
  57. package/dist/{TaxReportingDropin-CKin6_Er.js → TaxReportingDropin-D2gjRJag.js} +16 -16
  58. package/dist/{TrustDetailsPage-C699_2RX.js → TrustDetailsPage-Dj64OqRJ.js} +27 -27
  59. package/dist/{TrustMemberCompanyPage-Bgh-8J6_.js → TrustMemberCompanyPage-DlnCvpf5.js} +6 -22
  60. package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-D8LSPYGf.js} +4 -4
  61. package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-CN7oQduU.js} +15 -15
  62. package/dist/{TrustMembersOverview-DkpHLa-c.js → TrustMembersOverview-C2VH8NIl.js} +12 -12
  63. package/dist/{UnincorporatedPartnershipIndividualPage-uZBKkJwX.js → UnincorporatedPartnershipIndividualPage-fN2QrGh4.js} +4 -4
  64. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVa6qF3n.js → UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js} +6 -22
  65. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctl2MPKX.js → UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js} +9 -9
  66. package/dist/{UnincorporatedPartnershipMembersOverview-DZPLX8gp.js → UnincorporatedPartnershipMembersOverview-EeE4JNAc.js} +9 -9
  67. package/dist/{VerificationErrorAlert-BVoljWxM.js → VerificationErrorAlert-COgw5uh1.js} +4 -4
  68. package/dist/{ViewVerificationStatusComponent-B_gl5t76.js → ViewVerificationStatusComponent-CaPz-G-G.js} +4 -4
  69. package/dist/adyen-business-financing.js +8 -4
  70. package/dist/adyen-individual-configuration.js +2 -2
  71. package/dist/adyen-individual-status.js +2 -2
  72. package/dist/adyen-kyc-components.js +20 -20
  73. package/dist/adyen-onboarding.js +2 -2
  74. package/dist/adyen-terms-of-service-management.js +2 -2
  75. package/dist/adyen-terms-of-service-status.js +2 -2
  76. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  77. package/dist/adyen-transfer-instrument-management.js +2 -2
  78. package/dist/adyen-verification-status.js +2 -2
  79. package/dist/cross-circle-fill-maan7Z5S.js +17 -0
  80. package/dist/{debouncedInputEvent-C-zXYOuE.js → debouncedInputEvent-ZbuNEN6W.js} +2 -2
  81. package/dist/{documentUtils-l4Di7U18.js → documentUtils-XUGK4RIp.js} +3 -3
  82. package/dist/{dropinUtils-Cm6ETaTL.js → dropinUtils-Dggo6PZA.js} +4 -4
  83. package/dist/en-US-AgtwE4Fl.js +63 -0
  84. package/dist/{getFieldsWithExistingData-BdYN38hE.js → getFieldsWithExistingData-KwCfBJn2.js} +1 -1
  85. package/dist/{getName-BUZJBcAE.js → getName-B1UTZRuu.js} +2 -9
  86. package/dist/{hasDataChanged-D9Qx_JCQ.js → hasDataChanged-CSn4V18R.js} +2 -2
  87. package/dist/{iframeWidget-CemJJ3EA.js → iframeWidget-BDp1ajgy.js} +4 -4
  88. package/dist/info-filled-SQotHmT9.js +17 -0
  89. package/dist/{localizeDateString-DyXarzIl.js → localizeDateString-CZrFwyd0.js} +1 -1
  90. package/dist/{mapExistingFile-COnTFqXJ.js → mapExistingFile-D5fqNt1l.js} +2 -2
  91. package/dist/{mapFinancialReportsToFinancialInformation-BK4mXy3k.js → mapFinancialReportsToFinancialInformation-eCMwJnwj.js} +3 -3
  92. package/dist/{mapJpAddressSchemaToAddressLocalizations-BulGG0pe.js → mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js} +3 -3
  93. package/dist/{mapLegalEntityToIndividualOnfidoSchema-BMDtouhh.js → mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js} +3 -3
  94. package/dist/{mapTransferInstrumentToPayoutAccount-MpVqVhGS.js → mapTransferInstrumentToPayoutAccount-BOYDxAUf.js} +1 -1
  95. package/dist/{process-field-configurations-kh7VAcBh.js → process-field-configurations-ClLFHxX6.js} +3 -3
  96. package/dist/{resolveEnvironment-D-9wHJs2.js → resolveEnvironment-D8CEfrp4.js} +3 -3
  97. package/dist/{rules-DFisB-1M.js → rules-Cr3Ka8oq.js} +5 -5
  98. package/dist/style.css +268 -233
  99. package/dist/styles-CLV89_hH.js +268 -233
  100. package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
  101. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
  102. package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
  103. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
  104. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
  105. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
  106. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
  107. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
  108. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
  109. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
  110. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
  111. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
  112. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
  113. package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
  114. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  115. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  116. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  117. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
  118. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  119. package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
  120. package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
  121. package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
  122. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
  123. package/dist/types/context/ExperimentContext/types.d.ts +6 -5
  124. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  125. package/dist/{types-DJeg3Tz6.js → types-CR2U3VAD.js} +1 -1
  126. package/dist/{types-1iAHHNsZ.js → types-DjTezJBU.js} +1 -1
  127. package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
  128. package/dist/{types-BDHLVBb5.js → types-Gm2SleFm.js} +1 -1
  129. package/dist/{useAssociatedLegalEntity-qIkD-MFM.js → useAssociatedLegalEntity-Pgb7_79V.js} +1 -1
  130. package/dist/{useCreateLegalEntity-CDFKMwwk.js → useCreateLegalEntity-Ba2rxRgb.js} +2 -2
  131. package/dist/{useDataset-D1AsbWmY.js → useDataset-RNFlX1-i.js} +4 -4
  132. package/dist/{useForm-DzONzNQu.js → useForm-C261ZUdn.js} +10 -9
  133. package/dist/{useGlobalData-B5sNYBl5.js → useGlobalData-COSDbjgb.js} +5 -5
  134. package/dist/{useMultiForm-Dd80_VRc.js → useMultiForm--zHGgbxw.js} +3 -3
  135. package/dist/{useOnboardingStatus-YrIRg4io.js → useOnboardingStatus-DytPj9Ai.js} +1 -1
  136. package/dist/{useScenarios-BkCy7ImD.js → useScenarios-eYrKID9N.js} +2 -2
  137. package/dist/{useTermsOfServiceStatus-D2rhp6YQ.js → useTermsOfServiceStatus-BYJqq3Oi.js} +1 -1
  138. package/dist/{useToastContext-5JlKjAbN.js → useToastContext-CqIJgGTa.js} +2 -2
  139. package/dist/{useUnincorporatedPartnershipMembers-Dwj2XshB.js → useUnincorporatedPartnershipMembers-HC3erocB.js} +4 -4
  140. package/dist/{useUpdateBusinessLines-DzLgvolo.js → useUpdateBusinessLines-Dq3B1Jvy.js} +2 -2
  141. package/dist/{useUpdateLegalEntity-BzuSuul0.js → useUpdateLegalEntity-BPQX_o3v.js} +3 -3
  142. package/dist/{utils-DjzolTRQ.js → utils-B_eQ3Eny.js} +3 -3
  143. package/dist/{utils-Da-KDnEH.js → utils-BbmGXGUy.js} +6 -6
  144. package/dist/{validate-D7GAD2-j.js → validate-ArlZWHo0.js} +1 -1
  145. package/dist/{validate-B48OR9iz.js → validate-B_v0PjtX.js} +1 -1
  146. package/dist/{validationError-DzkunflV.js → validationError-BQZWqXfp.js} +1 -1
  147. package/package.json +2 -2
  148. package/dist/FormFlow-CEyVMiHY.js +0 -224
  149. package/dist/en-US-CBsokt1L.js +0 -42
  150. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
  151. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
  152. package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
  153. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
  154. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
  155. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
  156. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
  157. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
  158. /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
  159. /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
@@ -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] = "4c749eb8-8cf9-47e4-983a-5d9ac59a7ba8", e._sentryDebugIdIdentifier = "sentry-dbid-4c749eb8-8cf9-47e4-983a-5d9ac59a7ba8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ce525bd-fbbf-4f71-bebb-3946355bd242", e._sentryDebugIdIdentifier = "sentry-dbid-9ce525bd-fbbf-4f71-bebb-3946355bd242");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,40 +10,40 @@
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { signal } from "@preact/signals";
12
12
  import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
13
- import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a1 as useMutation, a2 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a0 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, Z as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-BHckWEYg.js";
14
- import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-MpVqVhGS.js";
15
- import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-DzONzNQu.js";
16
- import { E as ExperimentNames } from "./types-CHr4VLHl.js";
17
- import { I as InputText, S as SettingNames } from "./InputText-DmMvZip7.js";
18
- import { u as useGlobalDataSlice, a as useGlobalData, c as useResetGlobalData, b as useStateContext } from "./useGlobalData-B5sNYBl5.js";
19
- import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-5JlKjAbN.js";
20
- import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-kh7VAcBh.js";
21
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Cm6ETaTL.js";
22
- import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-COnTFqXJ.js";
23
- import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-D1AsbWmY.js";
24
- import { c as currencyByCountry, C as Currencies } from "./types-1iAHHNsZ.js";
25
- import { F as FormWrapper } from "./FormWrapper-CmShqeDn.js";
26
- import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-DzkunflV.js";
27
- import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-l4Di7U18.js";
28
- import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-BUZJBcAE.js";
29
- import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CemJJ3EA.js";
13
+ import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-D_0Pta7w.js";
14
+ import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-BOYDxAUf.js";
15
+ import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-C261ZUdn.js";
16
+ import { E as ExperimentNames } from "./types-Dk94b8kx.js";
17
+ import { I as InputText, S as SettingNames } from "./InputText-DR70nC51.js";
18
+ import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-COSDbjgb.js";
19
+ import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-CqIJgGTa.js";
20
+ import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-ClLFHxX6.js";
21
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
22
+ import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-D5fqNt1l.js";
23
+ import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-RNFlX1-i.js";
24
+ import { c as currencyByCountry, C as Currencies } from "./types-DjTezJBU.js";
25
+ import { F as FormWrapper } from "./FormWrapper-B7su5eh3.js";
26
+ import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-BQZWqXfp.js";
27
+ import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-XUGK4RIp.js";
28
+ import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-B1UTZRuu.js";
29
+ import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-BDp1ajgy.js";
30
30
  import { Show } from "@preact/signals/utils";
31
- import { s as summaryStep } from "./Summary-Df0SenAt.js";
32
- import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-CJeBvrKJ.js";
33
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-qIkD-MFM.js";
34
- import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, c as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, d as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./fieldConfigurations-Kb-fhpg7.js";
31
+ import { s as summaryStep } from "./Summary-D741mrWG.js";
32
+ import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-BO-n2nAh.js";
33
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Pgb7_79V.js";
34
+ import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-D-c-0ch_.js";
35
35
  import cx from "classnames";
36
36
  import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
37
- import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-Dwj2XshB.js";
37
+ import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-HC3erocB.js";
38
38
  import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
39
- import { M as Modal } from "./Modal-B-CzUny3.js";
40
- import { E as EndStateLayout } from "./EndStateLayout-BzHmhWSo.js";
39
+ import { M as Modal } from "./Modal-W8cfdxrr.js";
40
+ import { E as EndStateLayout } from "./EndStateLayout-CwW4wDY8.js";
41
41
  import { createContext } from "preact";
42
- import { a as Alert } from "./Alert-Dr-PTLt5.js";
43
- import { A as ActionBar } from "./ActionBar-CkNDXAZ3.js";
42
+ import { a as Alert } from "./Alert-DlSROjS7.js";
43
+ import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
44
44
  import OpenBankingSDK from "@adyen/openbankingsdk";
45
45
  import { T as Tag } from "./Tag-DdkVScyr.js";
46
- import { C as Card } from "./Card-thNJfUJi.js";
46
+ import { C as Card } from "./Card-I1r9oUx8.js";
47
47
  const getCheck = async (legalEntityId, baseUrl, data) => {
48
48
  return httpPost(
49
49
  {
@@ -411,7 +411,7 @@ function FilePicker({
411
411
  setDragged(false);
412
412
  };
413
413
  const handleFilesChosen = (e) => {
414
- const fileInput2 = e.target;
414
+ const fileInput2 = e.currentTarget;
415
415
  if (fileInput2.files) addFiles(fileInput2.files);
416
416
  };
417
417
  const addFiles = (newFiles) => {
@@ -1337,7 +1337,7 @@ function BankDocumentClassification(props) {
1337
1337
  ref: inputRef,
1338
1338
  className: "adyen-kyc-dropzone__input",
1339
1339
  onChange: (e) => {
1340
- const fileInput = e.target;
1340
+ const fileInput = e.currentTarget;
1341
1341
  if (fileInput?.files?.length) handleDocumentUpload([...fileInput.files]);
1342
1342
  },
1343
1343
  type: "file",
@@ -1846,7 +1846,7 @@ function BankVerification(props) {
1846
1846
  }
1847
1847
  }, [bankInfoValidated, formIsActive]);
1848
1848
  if (isPayoutVerificationMethodPageRedesignEnabled && provider) {
1849
- if (bankInfoValidated) {
1849
+ if (bankInfoValidated || !showInstantVerificationPayoutModal.value) {
1850
1850
  return null;
1851
1851
  }
1852
1852
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -3458,7 +3458,8 @@ const PayoutVerificationMethodOptionCard = ({
3458
3458
  payoutVerificationMethod,
3459
3459
  methodsMetadata,
3460
3460
  bankInfoValidated,
3461
- instantVerificationAvailable
3461
+ instantVerificationAvailable,
3462
+ enabledUnbiasedSelectionOnCardClick
3462
3463
  }) => {
3463
3464
  const isInstantVerificationCard = payoutMethod === "instantVerification";
3464
3465
  const isCardDisabled = bankInfoValidated || isInstantVerificationCard && !instantVerificationAvailable;
@@ -3471,7 +3472,7 @@ const PayoutVerificationMethodOptionCard = ({
3471
3472
  }),
3472
3473
  bodyClassName: styles.payoutVerificationMethodCardBody,
3473
3474
  onClick: () => selectVerificationMethod(payoutMethod),
3474
- stateful: true,
3475
+ stateful: !enabledUnbiasedSelectionOnCardClick,
3475
3476
  active: payoutMethod === payoutVerificationMethod,
3476
3477
  disabled: isCardDisabled,
3477
3478
  children: [
@@ -3538,9 +3539,10 @@ function PayoutVerificationMethod(props) {
3538
3539
  const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
3539
3540
  SettingNames.AllowIntraRegionCrossBorderPayout
3540
3541
  );
3541
- const enabledUnbiasedVerificationMethod = isExperimentEnabled(
3542
- "BankVerificationMethodAutonomy_UnbiasedSelection"
3542
+ const enabledUnbiasedSelectionOnCardClick = isExperimentEnabled(
3543
+ ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnCardClick
3543
3544
  );
3545
+ const enabledUnbiasedVerificationMethod = enabledUnbiasedSelectionOnCardClick || isExperimentEnabled(ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnContinue);
3544
3546
  const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
3545
3547
  const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
3546
3548
  ...props,
@@ -3676,7 +3678,8 @@ function PayoutVerificationMethod(props) {
3676
3678
  methodsMetadata,
3677
3679
  payoutVerificationMethod: data.payoutVerificationMethod,
3678
3680
  instantVerificationAvailable,
3679
- bankInfoValidated
3681
+ bankInfoValidated,
3682
+ enabledUnbiasedSelectionOnCardClick
3680
3683
  }
3681
3684
  ),
3682
3685
  /* @__PURE__ */ jsx(
@@ -3687,7 +3690,8 @@ function PayoutVerificationMethod(props) {
3687
3690
  subtitle: t(($) => $["enterYourAccountsDetailsOnYourOwn"]),
3688
3691
  selectVerificationMethod,
3689
3692
  methodsMetadata,
3690
- payoutVerificationMethod: data.payoutVerificationMethod
3693
+ payoutVerificationMethod: data.payoutVerificationMethod,
3694
+ enabledUnbiasedSelectionOnCardClick
3691
3695
  }
3692
3696
  )
3693
3697
  ] }) : /* @__PURE__ */ jsx(
@@ -3900,7 +3904,7 @@ function PayoutDetails(props) {
3900
3904
  ) })
3901
3905
  }
3902
3906
  ),
3903
- verifyInstantly ? /* @__PURE__ */ jsx(
3907
+ !showInstantVerificationPayoutModal.value && /* @__PURE__ */ jsx(Fragment, { children: verifyInstantly ? /* @__PURE__ */ jsx(
3904
3908
  "div",
3905
3909
  {
3906
3910
  className: activeForm?.formId !== PayoutAccountVerificationFormID ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
@@ -3975,7 +3979,7 @@ function PayoutDetails(props) {
3975
3979
  )
3976
3980
  }
3977
3981
  )
3978
- ] }),
3982
+ ] }) }),
3979
3983
  /* @__PURE__ */ jsx(Show, { when: showPayoutVerificationMethodError, children: /* @__PURE__ */ jsx(
3980
3984
  Confirm,
3981
3985
  {
@@ -4287,9 +4291,10 @@ function PayoutDetailsDropin({
4287
4291
  );
4288
4292
  const [documents, setDocuments] = useState();
4289
4293
  const [isCaasCalled, setIsCaasCalled] = useState(false);
4290
- const enabledUnbiasedVerificationMethod = isExperimentEnabled(
4291
- "BankVerificationMethodAutonomy_UnbiasedSelection"
4294
+ const enabledUnbiasedSelectionOnCardClick = isExperimentEnabled(
4295
+ ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnCardClick
4292
4296
  );
4297
+ const enabledUnbiasedVerificationMethod = enabledUnbiasedSelectionOnCardClick || isExperimentEnabled(ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnContinue);
4293
4298
  const isPayoutVerificationMethodPageRedesignEnabled = isExperimentEnabled(
4294
4299
  ExperimentNames.EnablePayoutVerificationMethodPageRedesign
4295
4300
  );
@@ -4703,7 +4708,7 @@ function PayoutDetailsDropin({
4703
4708
  handleNextClick();
4704
4709
  }
4705
4710
  }
4706
- if (!data?.payoutVerificationMethod?.payoutVerificationMethod) {
4711
+ if (!data?.payoutVerificationMethod?.payoutVerificationMethod && !enabledUnbiasedSelectionOnCardClick) {
4707
4712
  showPayoutVerificationMethodError.value = true;
4708
4713
  return;
4709
4714
  }
@@ -4735,6 +4740,20 @@ function PayoutDetailsDropin({
4735
4740
  const { header: invalidFieldHeader, content: invalidFieldContent } = getInvalidFieldsErrorMessage(
4736
4741
  checkAsAServiceResultErrors ?? []
4737
4742
  );
4743
+ const prevPayoutVerificationMethodRef = useRef(
4744
+ data.payoutVerificationMethod?.payoutVerificationMethod
4745
+ );
4746
+ useEffect(() => {
4747
+ const payoutVerificationMethod = data.payoutVerificationMethod?.payoutVerificationMethod;
4748
+ if (payoutVerificationMethod && enabledUnbiasedSelectionOnCardClick && payoutVerificationMethod !== prevPayoutVerificationMethodRef.current) {
4749
+ prevPayoutVerificationMethodRef.current = payoutVerificationMethod;
4750
+ handleFormNextClick();
4751
+ }
4752
+ }, [
4753
+ data.payoutVerificationMethod?.payoutVerificationMethod,
4754
+ enabledUnbiasedSelectionOnCardClick,
4755
+ handleFormNextClick
4756
+ ]);
4738
4757
  return /* @__PURE__ */ jsxs(
4739
4758
  LoaderWrapper,
4740
4759
  {
@@ -4787,6 +4806,7 @@ function PayoutDetailsDropin({
4787
4806
  canSubmit: canSubmit(),
4788
4807
  problems,
4789
4808
  steps,
4809
+ hideNextButton: enabledUnbiasedSelectionOnCardClick && activeForm.formId === "payoutVerificationMethod",
4790
4810
  children: (!isTransferInstrumentLoading || isSubmitting) && /* @__PURE__ */ jsx(
4791
4811
  PayoutDetails,
4792
4812
  {
@@ -0,0 +1,47 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c6d20d48-407b-4be4-af37-07c4e78a2962", e._sentryDebugIdIdentifier = "sentry-dbid-c6d20d48-407b-4be4-af37-07c4e78a2962");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsx, jsxs } from "preact/jsx-runtime";
11
+ import cx from "classnames";
12
+ const progressBar = "adyen-kyc-progress-bar";
13
+ const progressBarRounded = "adyen-kyc-progress-bar-rounded";
14
+ const progressBarIndicator = "adyen-kyc-progress-bar-indicator";
15
+ const styles = {
16
+ progressBar,
17
+ progressBarRounded,
18
+ progressBarIndicator
19
+ };
20
+ const ProgressBar = ({ progress, ariaLabel, rounded = false }) => {
21
+ const clamp = (value) => {
22
+ return Math.min(Math.max(value, 0), 100);
23
+ };
24
+ const clampedProgress = clamp(progress);
25
+ const cssWidth = `${clampedProgress}%`;
26
+ const className = cx(styles.progressBar, {
27
+ [styles.progressBarRounded]: rounded
28
+ });
29
+ return /* @__PURE__ */ jsx(
30
+ "div",
31
+ {
32
+ className,
33
+ role: "progressbar",
34
+ "aria-label": ariaLabel,
35
+ "aria-valuenow": clampedProgress,
36
+ "aria-valuemin": 0,
37
+ "aria-valuemax": 100,
38
+ children: /* @__PURE__ */ jsxs("div", { className: styles.progressBarIndicator, style: { width: cssWidth }, children: [
39
+ progress,
40
+ "%"
41
+ ] })
42
+ }
43
+ );
44
+ };
45
+ export {
46
+ ProgressBar as P
47
+ };
@@ -2,19 +2,19 @@
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] = "4e276e33-74a2-4b80-9368-600ce45aa81e", e._sentryDebugIdIdentifier = "sentry-dbid-4e276e33-74a2-4b80-9368-600ce45aa81e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f4ee3b2-ba8f-4a74-9e58-0dcc4a417413", e._sentryDebugIdIdentifier = "sentry-dbid-8f4ee3b2-ba8f-4a74-9e58-0dcc4a417413");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { b as useApiContext, a1 as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-BHckWEYg.js";
13
- import { C as Checkbox } from "./debouncedInputEvent-C-zXYOuE.js";
14
- import { H as Header } from "./CountryField-CJeBvrKJ.js";
15
- import { L as LoaderWrapper } from "./useForm-DzONzNQu.js";
16
- import { a as useToastContext } from "./useToastContext-5JlKjAbN.js";
17
- import { A as ActionBar } from "./ActionBar-CkNDXAZ3.js";
12
+ import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-D_0Pta7w.js";
13
+ import { C as Checkbox } from "./debouncedInputEvent-ZbuNEN6W.js";
14
+ import { H as Header } from "./CountryField-BO-n2nAh.js";
15
+ import { L as LoaderWrapper } from "./useForm-C261ZUdn.js";
16
+ import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
17
+ import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
18
18
  import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
19
19
  const confirmReview = async (legalEntityId, baseUrl) => {
20
20
  return httpPost({
@@ -2,55 +2,40 @@
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] = "48458fbd-329b-4829-996f-26ce85adb1fa", e._sentryDebugIdIdentifier = "sentry-dbid-48458fbd-329b-4829-996f-26ce85adb1fa");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3a29ca55-0ce2-4bb5-9763-51ba5329a05c", e._sentryDebugIdIdentifier = "sentry-dbid-3a29ca55-0ce2-4bb5-9763-51ba5329a05c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useTranslation, K as useAccountHolder, c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, a as addResourceBundles, L as Loader, q as isPartOfTrustFromLegalEntity, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BHckWEYg.js";
10
+ import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { i as useCapabilityProblems, j as getProblemsForEntity } from "./fieldConfigurations-Kb-fhpg7.js";
13
- import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-Dc5Z3bna.js";
14
- import { B as BusinessDetailsMultiformDropin, a as BusinessDetailsDropin } from "./BusinessDetailsMultiformDropin-ByrdkEK1.js";
12
+ import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
13
+ import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-HHq3dL3N.js";
14
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-lXErWzqC.js";
15
15
  const RootBusinessDetailsPage = ({
16
16
  onSubmit,
17
17
  handleHomeClick
18
18
  }) => {
19
19
  const { i18n } = useTranslation();
20
- const { accountHolder } = useAccountHolder();
21
20
  const { data: rootLe } = useLegalEntity(ROOT_LE);
22
21
  const capabilityProblems = useCapabilityProblems();
23
- const { isExperimentEnabled } = useExperimentsContext();
24
22
  addResourceBundles(i18n, [
25
23
  { ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DNp7JUA6.js"), "../language/cs-CZ.json": () => import("./cs-CZ-B58kCXel.js"), "../language/da-DK.json": () => import("./da-DK-DEdQ-QPp.js"), "../language/de-DE.json": () => import("./de-DE-DrSSblam.js"), "../language/el-GR.json": () => import("./el-GR-z3YMr7LZ.js"), "../language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../language/es-ES.json": () => import("./es-ES-ShWaSuJd.js"), "../language/et-EE.json": () => import("./et-EE-BApmUBuH.js"), "../language/fi-FI.json": () => import("./fi-FI-ChApf7lf.js"), "../language/fr-FR.json": () => import("./fr-FR-Q3urMjbl.js"), "../language/hr-HR.json": () => import("./hr-HR-jGIf2Gtl.js"), "../language/hu-HU.json": () => import("./hu-HU-BjcOaEwh.js"), "../language/it-IT.json": () => import("./it-IT-vdMlF0Ha.js"), "../language/ja-JP.json": () => import("./ja-JP-DsGXGCjF.js"), "../language/lt-LT.json": () => import("./lt-LT-Y9aKpjC4.js"), "../language/lv-LV.json": () => import("./lv-LV-Bm1fntV2.js"), "../language/nl-NL.json": () => import("./nl-NL-C3YJkSIj.js"), "../language/no-NO.json": () => import("./no-NO-D4BECLky.js"), "../language/pl-PL.json": () => import("./pl-PL-xxcCzZvq.js"), "../language/pt-BR.json": () => import("./pt-BR-gh27BC86.js"), "../language/pt-PT.json": () => import("./pt-PT-DYihdcJx.js"), "../language/ro-RO.json": () => import("./ro-RO-Di-C4PpC.js"), "../language/sk-SK.json": () => import("./sk-SK-B0hEG-HR.js"), "../language/sl-SI.json": () => import("./sl-SI-DdjgSySI.js"), "../language/sv-SE.json": () => import("./sv-SE-BHkYspm-.js") }), `../language/${lang}.json`, 3) }
26
24
  ]);
27
25
  if (!rootLe) {
28
26
  return /* @__PURE__ */ jsx(Loader, {});
29
27
  }
30
- const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(rootLe);
31
28
  const entityProblems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
32
29
  const country = getLegalEntityCountry(rootLe);
33
30
  const initialForms = Object.keys(getForms(country));
34
31
  const problemsByTask = filterProblemsByTaskForms(entityProblems, initialForms);
35
- return isExperimentEnabled("EnableBusinessDetailsMultiForm") ? /* @__PURE__ */ jsx(
36
- BusinessDetailsMultiformDropin,
37
- {
38
- taskType: TaskTypes.BUSINESS_DETAILS,
39
- taskName: hasTrust ? "businessTrusteeDetails" : "businessDetails",
40
- legalEntityResponse: rootLe,
41
- problems: problemsByTask,
42
- country: getLegalEntityCountry(rootLe),
43
- onSubmit,
44
- handleHomeClick
45
- }
46
- ) : /* @__PURE__ */ jsx(
32
+ return /* @__PURE__ */ jsx(
47
33
  BusinessDetailsDropin,
48
34
  {
49
35
  taskType: TaskTypes.BUSINESS_DETAILS,
50
- taskName: hasTrust ? "businessTrusteeDetails" : "businessDetails",
51
36
  legalEntityResponse: rootLe,
52
37
  problems: problemsByTask,
53
- country: getLegalEntityCountry(rootLe),
38
+ country,
54
39
  onSubmit,
55
40
  handleHomeClick
56
41
  }