@adyen/kyc-components 4.13.0-beta.4 → 4.13.0-beta.6

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 (55) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Bdb6OG0V.js → AcceptTermsOfServiceComponent-CV0tEsZ8.js} +1 -1
  2. package/dist/{AdaptiveWorkflow-D7JhKxhG.js → AdaptiveWorkflow-BRSkDC27.js} +6 -6
  3. package/dist/{AdaptiveWorkflowComponent-Dy_7JhR9.js → AdaptiveWorkflowComponent-436q2Z3Q.js} +2 -2
  4. package/dist/{BusinessFinancingDropin-Bxqli70j.js → BusinessFinancingDropin-DrABikQM.js} +1 -1
  5. package/dist/{BusinessFinancingPage-DlDZmgJ8.js → BusinessFinancingPage-CSwjPgIJ.js} +2 -2
  6. package/dist/{CompanyRegistrationNumberTypeSelector-BnoX2hCa.js → CompanyRegistrationNumberTypeSelector-DiImGTFe.js} +50 -14
  7. package/dist/{ConstitutionalDocument-B5MVwJbp.js → ConstitutionalDocument-CdpVRf0I.js} +12 -8
  8. package/dist/{CustomerSupport-twU8Nkth.js → CustomerSupport-BXin9crY.js} +1 -1
  9. package/dist/{DebugModal-B2Ju7JTl.js → DebugModal-DjXxE-RN.js} +2 -2
  10. package/dist/{DecisionMakerDetailsPage-CAq5na-Z.js → DecisionMakerDetailsPage-BaOxC2U6.js} +1 -1
  11. package/dist/{IndividualDropin-BdBMJkx4.js → IndividualDropin-BVMDPYDe.js} +22 -14
  12. package/dist/{InvitedDecisionMakerComponent-C1gqGJsQ.js → InvitedDecisionMakerComponent-B40Lk4i7.js} +2 -2
  13. package/dist/{LegalRepresentativeDetailsPage-3kuEatCa.js → LegalRepresentativeDetailsPage-Csvg_gjL.js} +1 -1
  14. package/dist/{PayoutDetailsDropinMultiForm-CFXh9XH3.js → PayoutDetailsDropinMultiForm-CiTh764I.js} +1 -1
  15. package/dist/{PayoutDetailsPage-Bmgebi3K.js → PayoutDetailsPage-CLt8LJCi.js} +2 -2
  16. package/dist/{RootBusinessDetailsPage-wB4sdeGV.js → RootBusinessDetailsPage-z94WN2fb.js} +1 -1
  17. package/dist/{RootBusinessLinesPage-B-zkaI6w.js → RootBusinessLinesPage-B1SNv9er.js} +2 -2
  18. package/dist/{RootIndividualDetailsPage-Bl622oSy.js → RootIndividualDetailsPage-DE704wL6.js} +1 -1
  19. package/dist/{SignPCIComponent-CPjxKwUt.js → SignPCIComponent-BPSj_yuH.js} +1 -1
  20. package/dist/{SoleProprietorshipPage-C_cNHIqc.js → SoleProprietorshipPage-C2gjJZcb.js} +1 -1
  21. package/dist/{SourceOfFundsPage-_sMwhidd.js → SourceOfFundsPage-DItR3-Hp.js} +1 -1
  22. package/dist/{TaxInformationField-hjyqzys0.js → TaxInformationField-DlmOFIDl.js} +2 -2
  23. package/dist/{TaxReportingDropin-Xjf5BXjR.js → TaxReportingDropin-LOUIhV-w.js} +1 -1
  24. package/dist/{TrustDetailsPage-DDxllsNB.js → TrustDetailsPage-B9sH2X7l.js} +6 -8
  25. package/dist/{TrustMemberCompanyPage-DlMQRx0x.js → TrustMemberCompanyPage-BnY9tVG7.js} +1 -1
  26. package/dist/{TrustMemberIndividualPage-B5hPWglh.js → TrustMemberIndividualPage-B4Iqm4MI.js} +1 -1
  27. package/dist/{UnincorporatedPartnershipIndividualPage-Bfxq3XJj.js → UnincorporatedPartnershipIndividualPage-CUrCUB2E.js} +1 -1
  28. package/dist/{UnincorporatedPartnershipMemberCompanyPage-UiOIbfiu.js → UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js} +1 -1
  29. package/dist/adyen-business-financing.js +3 -3
  30. package/dist/adyen-individual-configuration.js +3 -3
  31. package/dist/adyen-individual-status.js +2 -2
  32. package/dist/adyen-invited-decision-maker.js +2 -2
  33. package/dist/adyen-onboarding.js +22 -22
  34. package/dist/adyen-terms-of-service-management.js +2 -2
  35. package/dist/adyen-terms-of-service-status.js +1 -1
  36. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  37. package/dist/adyen-transfer-instrument-management.js +2 -2
  38. package/dist/adyen-verification-status.js +1 -1
  39. package/dist/en-US-BqoUncE4.js +7 -0
  40. package/dist/{resolveEnvironment-BbdLeYP1.js → resolveEnvironment-BI384OW7.js} +6 -6
  41. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +1 -1
  42. package/dist/types/components/Business/forms/rules.constants.d.ts +23 -0
  43. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -1
  44. package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
  45. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -1
  46. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  47. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
  48. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  49. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  50. package/dist/{useBusinessDetailsData-DPNww87e.js → useBusinessDetailsData-Dw8VtZkI.js} +44 -26
  51. package/dist/{useMultiForm-BZBzYZ-3.js → useMultiForm-DOQ6_HoL.js} +65 -3
  52. package/dist/{useNavigate-OMOxhDbP.js → useNavigate-zhguGWRa.js} +20 -20
  53. package/dist/{utils-DQEnWBYq.js → utils-Cd8I9QM7.js} +48 -23
  54. package/package.json +1 -1
  55. package/dist/en-US-Cq6Cl6Yl.js +0 -7
@@ -509,7 +509,7 @@ function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, asEmb
509
509
  "../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
510
510
  "../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
511
511
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
512
- "../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
512
+ "../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
513
513
  "../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
514
514
  "../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
515
515
  "../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3d053a6a-4f16-4939-83c1-a027f30ba824", e._sentryDebugIdIdentifier = "sentry-dbid-3d053a6a-4f16-4939-83c1-a027f30ba824");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f93820a5-6786-4999-9fa7-8df3a9b3ef88", e._sentryDebugIdIdentifier = "sentry-dbid-f93820a5-6786-4999-9fa7-8df3a9b3ef88");
4
4
  } catch (e) {}
5
5
  import { i as Typography, r as useTranslation } from "./translation-BHUZ_WP7.js";
6
6
  import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
@@ -24,20 +24,20 @@ import { a as FormFlow_module_default } from "./useFormContext-DGW15-id.js";
24
24
  import { t as List } from "./List-DLrcpMVd.js";
25
25
  import { t as MaskedInput } from "./MaskedInput-WaAdSNPN.js";
26
26
  import { t as ProgressBar } from "./ProgressBar-DrvdkkV2.js";
27
- import { S as taxInformationDefaultFieldMetadata, a as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, h as getTaxIdNumberOptions, m as getDefaultTaxIdNumberType, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, x as taxInformationDefaultFieldConfig } from "./utils-DQEnWBYq.js";
27
+ import { C as taxInformationDefaultFieldConfig, _ as getTaxIdNumberOptions, a as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, g as getDefaultTaxIdNumberType, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, w as taxInformationDefaultFieldMetadata } from "./utils-Cd8I9QM7.js";
28
28
  import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
29
29
  import { t as Field } from "./Field-Vzlyifk5.js";
30
30
  import { t as Select } from "./Select-CRVpXZ1k.js";
31
31
  import { t as Checkbox } from "./Checkbox-BRuXJ18x.js";
32
32
  import { t as InputText } from "./InputText-BK_8YUd_.js";
33
- import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-Bdb6OG0V.js";
33
+ import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CV0tEsZ8.js";
34
34
  import { t as Divider } from "./Divider-BndbWx4f.js";
35
35
  import { t as ListItem } from "./ListItem-BzSnYlO1.js";
36
36
  import { t as DecisionMakers } from "./DecisionMakers-Bm-L-q92.js";
37
- import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-BnoX2hCa.js";
37
+ import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
38
38
  import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-CaT_-l9v.js";
39
- import { t as SourceOfFundsPage } from "./SourceOfFundsPage-_sMwhidd.js";
40
- import { t as TaxReportingDropin } from "./TaxReportingDropin-Xjf5BXjR.js";
39
+ import { t as SourceOfFundsPage } from "./SourceOfFundsPage-DItR3-Hp.js";
40
+ import { t as TaxReportingDropin } from "./TaxReportingDropin-LOUIhV-w.js";
41
41
  import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "preact/hooks";
42
42
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
43
43
  import { useComputed } from "@preact/signals";
@@ -5,7 +5,7 @@ try {
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
6
6
  import { r as Loader } from "./Button-BxfzWsRl.js";
7
7
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
8
- import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-D7JhKxhG.js";
8
+ import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-BRSkDC27.js";
9
9
  import { useMemo } from "preact/hooks";
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { signal } from "@preact/signals";
@@ -66,7 +66,7 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
66
66
  "../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
67
67
  "../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
68
68
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
69
- "../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
69
+ "../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
70
70
  "../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
71
71
  "../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
72
72
  "../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
@@ -26,7 +26,7 @@ import { t as Address } from "./Address-B1WQZxTA.js";
26
26
  import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-DGW15-id.js";
27
27
  import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
28
28
  import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
29
- import { t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
29
+ import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
30
30
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
31
31
  import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-C1DzW0Hz.js";
32
32
  import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-CD5jY1NM.js";
@@ -7,7 +7,7 @@ import { r as Loader } from "./Button-BxfzWsRl.js";
7
7
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js";
8
8
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
10
- import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-Bxqli70j.js";
10
+ import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-DrABikQM.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  //#region src/components/EFP/pages/BusinessFinancingPage.tsx
13
13
  var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
@@ -52,7 +52,7 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
52
52
  "../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
53
53
  "../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
54
54
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
55
- "../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
55
+ "../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
56
56
  "../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
57
57
  "../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
58
58
  "../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
@@ -1,13 +1,13 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "10a035cc-685e-4ddf-aea8-b89fd0d2eb4c", e._sentryDebugIdIdentifier = "sentry-dbid-10a035cc-685e-4ddf-aea8-b89fd0d2eb4c");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "15e2ae07-2b51-4a9e-8980-0857c65a0b91", e._sentryDebugIdIdentifier = "sentry-dbid-15e2ae07-2b51-4a9e-8980-0857c65a0b91");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BHUZ_WP7.js";
6
6
  import { t as CountryCodes } from "./country-code-BjUoKbAN.js";
7
7
  import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
8
8
  import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-WaAdSNPN.js";
9
9
  import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
10
- import { C as businessRegistrationNumberPatterns, T as stateFormatGuidanceText, w as businessRegistrationNumberMasks } from "./utils-DQEnWBYq.js";
10
+ import { D as stateFormatGuidanceText, E as businessRegistrationNumberMasks, T as businessRegistrationNumberPatterns } from "./utils-Cd8I9QM7.js";
11
11
  import { t as Field } from "./Field-Vzlyifk5.js";
12
12
  import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
13
13
  import { useCallback, useEffect, useMemo } from "preact/hooks";
@@ -737,19 +737,55 @@ var registrationNumberDefaultFieldConfig = {
737
737
  guidanceText: state ? stateFormatGuidanceText[state] : stateFormatGuidanceText.default
738
738
  })
739
739
  };
740
- var exemptFromRegistrationNumberDefaultFieldMetadata = { label: "iDontHaveARegistrationNumber" };
740
+ var exemptFromRegistrationNumberDefaultFieldMetadata = {
741
+ label: "iDontHaveARegistrationNumber",
742
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
743
+ };
741
744
  var exemptFromRegistrationNumberDefaultFieldConfig = {
742
- [CountryCodes.Australia]: { label: "doNotHaveAcn" },
743
- [CountryCodes.Austria]: { label: "doNotHaveFirmenbuchnummer" },
744
- [CountryCodes.Finland]: { label: "doNotHaveYTunnus" },
745
- [CountryCodes.HongKong]: { label: "iDoNotHaveCompanyRegistrationNumber" },
746
- [CountryCodes.Germany]: { label: "doNotHaveHandelsregisternummerOrVereinsregisternummer" },
747
- [CountryCodes.Lithuania]: { label: "doNotHaveLtRegistrationNumber" },
748
- [CountryCodes.Luxembourg]: { label: "doNotHaveLuRegistrationNumber" },
749
- [CountryCodes.Poland]: { label: "doNotHaveRegonKrsNumber" },
750
- [CountryCodes.PuertoRico]: { label: "doNotHaveEIN" },
751
- [CountryCodes.Sweden]: { label: "doNotHaveOrganisationsnummer" },
752
- [CountryCodes.Switzerland]: { label: "doNotHaveChRegistrationNumber" }
745
+ [CountryCodes.Australia]: {
746
+ label: "thisBusinessIsntRequiredToHaveAnACN",
747
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
748
+ },
749
+ [CountryCodes.Austria]: {
750
+ label: "thisBusinessIsntRequiredToHaveAFirmenbuchnummer",
751
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
752
+ },
753
+ [CountryCodes.Finland]: {
754
+ label: "thisBusinessIsntRequiredToHaveAYTunnus",
755
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
756
+ },
757
+ [CountryCodes.HongKong]: {
758
+ label: "iDoNotHaveCompanyRegistrationNumber",
759
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
760
+ },
761
+ [CountryCodes.Germany]: {
762
+ label: "thisBusinessIsntRequiredToHaveAHandelsregisternummerOrVereinsregisternummer",
763
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
764
+ },
765
+ [CountryCodes.Lithuania]: {
766
+ label: "thisBusinessIsntRequiredToHaveALtRegistrationNumber",
767
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
768
+ },
769
+ [CountryCodes.Luxembourg]: {
770
+ label: "thisBusinessIsntRequiredToHaveALuRegistrationNumber",
771
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
772
+ },
773
+ [CountryCodes.Poland]: {
774
+ label: "thisBusinessIsntRequiredToHaveARegonKrsNumber",
775
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
776
+ },
777
+ [CountryCodes.PuertoRico]: {
778
+ label: "thisBusinessIsntRequiredToHaveAnEIN",
779
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
780
+ },
781
+ [CountryCodes.Sweden]: {
782
+ label: "thisBusinessIsntRequiredToHaveAnOrganisationsnummer",
783
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
784
+ },
785
+ [CountryCodes.Switzerland]: {
786
+ label: "thisBusinessIsntRequiredToHaveAChRegistrationNumber",
787
+ guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
788
+ }
753
789
  };
754
790
  /**
755
791
  * Returns the helper text for the business registration number field.
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11a68448-f92c-408b-b9d8-459e72e5567c", e._sentryDebugIdIdentifier = "sentry-dbid-11a68448-f92c-408b-b9d8-459e72e5567c");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1ffd3be5-7f4a-4afd-b006-716cb9be23b5", e._sentryDebugIdIdentifier = "sentry-dbid-1ffd3be5-7f4a-4afd-b006-716cb9be23b5");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BHUZ_WP7.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
@@ -13,7 +13,7 @@ import "./Address-B1WQZxTA.js";
13
13
  import "./ErrorPanel-CzX5ev6p.js";
14
14
  import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
15
15
  import "./validate-J6U_ulFs.js";
16
- import { r as MemoizedDocumentUpload } from "./TaxInformationField-hjyqzys0.js";
16
+ import { r as MemoizedDocumentUpload } from "./TaxInformationField-DlmOFIDl.js";
17
17
  import { t as uppercase } from "./uppercase-DKruhEuk.js";
18
18
  import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
19
19
  import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
@@ -23,7 +23,7 @@ import "./useForm-CbSEaCrl.js";
23
23
  import { t as InputText } from "./InputText-BK_8YUd_.js";
24
24
  import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
25
25
  import "./ContextGuidance-BRGAWzeW.js";
26
- import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-BnoX2hCa.js";
26
+ import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
27
27
  import { memo } from "preact/compat";
28
28
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1 } from "preact/hooks";
29
29
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -34,16 +34,19 @@ var BUSINESS_REGISTRATION_NUMBER_FIELD = [
34
34
  "registrationNumberType",
35
35
  "exemptedFromRegistrationNumber"
36
36
  ];
37
- function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType, invertCompanyTypeFilter }) {
37
+ function BusinessRegistrationNumberField({ data, valid, errors, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType, invertCompanyTypeFilter }) {
38
38
  const { t } = useTranslation("common");
39
+ const { isFeatureEnabled } = useToggleContext();
39
40
  const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType, invertCompanyTypeFilter);
40
41
  const defaultType = getDefaultRegistrationNumberType(data.registrationNumber, country, companyType, invertCompanyTypeFilter);
41
42
  const showExemptedOption = canExempt && !!registrationNumberOptions && registrationNumberOptions.length > 1;
43
+ const showExemptionGuidance = isFeatureEnabled("EnableUnifiedCompanySearch") && companyType !== "trust" && companyType !== "soleProprietorship" && !!data.exemptedFromRegistrationNumber;
42
44
  const registrationNumberType = data.exemptedFromRegistrationNumber ? "exempted" : data.registrationNumberType ? data.registrationNumberType : defaultType;
43
45
  const fieldMetadata = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
44
46
  registrationNumberType: registrationNumberType === "exempted" ? void 0 : registrationNumberType,
45
47
  state
46
48
  }, registrationNumberDefaultFieldMetadata);
49
+ const exemptionFieldMetadata = resolveFieldMetadata(exemptFromRegistrationNumberDefaultFieldConfig[country], {}, exemptFromRegistrationNumberDefaultFieldMetadata);
47
50
  const handleRegistrationNumberChange = (e, mode) => {
48
51
  const value = typeof e === "string" ? e : e.currentTarget.value;
49
52
  handleChangeFor("registrationNumber", mode)(value);
@@ -75,7 +78,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
75
78
  invertCompanyTypeFilter,
76
79
  setSelected: handleCompanyRegistrationNumberTypeChange,
77
80
  selected: registrationNumberType,
78
- exemptedOptionLabel: showExemptedOption ? labels.exemptedFromRegistrationNumber : void 0
81
+ exemptedOptionLabel: showExemptedOption ? translateTranslatable(t, exemptionFieldMetadata.label) : void 0
79
82
  }),
80
83
  /* @__PURE__ */ jsx(MaskedInput, {
81
84
  "aria-required": true,
@@ -83,7 +86,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
83
86
  name: "registrationNumber",
84
87
  type: "text",
85
88
  value: data?.registrationNumber ?? "",
86
- label: labels.registrationNumber ?? "",
89
+ label: translateTranslatable(t, fieldMetadata.label) ?? "",
87
90
  formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
88
91
  errorMessage: errors.registrationNumber,
89
92
  isValid: Boolean(valid.registrationNumber),
@@ -94,10 +97,11 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
94
97
  readonly,
95
98
  shouldValidate: !optional && shouldValidate,
96
99
  helper: helperText,
97
- ...mask
100
+ ...fieldMetadata.mask
98
101
  }),
99
102
  canExempt && !showExemptedOption && /* @__PURE__ */ jsx(Field, {
100
103
  name: "exemptedFromRegistrationNumber",
104
+ formatGuidance: showExemptionGuidance ? translateTranslatable(t, exemptionFieldMetadata.guidanceText) : void 0,
101
105
  children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
102
106
  ...childProps,
103
107
  "aria-required": false,
@@ -105,7 +109,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
105
109
  name: "exemptedFromRegistrationNumber",
106
110
  value: "exemptedFromRegistrationNumber",
107
111
  checked: Boolean(data.exemptedFromRegistrationNumber),
108
- label: labels?.exemptedFromRegistrationNumber,
112
+ label: translateTranslatable(t, exemptionFieldMetadata.label),
109
113
  readonly,
110
114
  onChange: handleExemptedFromRegistrationNumber
111
115
  })
@@ -14,7 +14,7 @@ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfJs-A1X.js";
14
14
  import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-63BkotMl.js";
15
15
  import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
16
16
  import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
17
- import { t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
17
+ import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
18
18
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
19
19
  import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
20
20
  import { t as Spacer } from "./Spacer-D1yp_1Io.js";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f87d8e9-23a6-43cc-a8d3-5d591e616318", e._sentryDebugIdIdentifier = "sentry-dbid-4f87d8e9-23a6-43cc-a8d3-5d591e616318");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5e0421d8-7c4e-447b-a97c-ff6f15e5205b", e._sentryDebugIdIdentifier = "sentry-dbid-5e0421d8-7c4e-447b-a97c-ff6f15e5205b");
4
4
  } catch (e) {}
5
5
  import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
6
6
  import { t as Button } from "./Button-BxfzWsRl.js";
@@ -349,7 +349,7 @@ var DebugModal = ({ onExit }) => {
349
349
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
350
350
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
351
351
  const metadata = {
352
- sdkVersion: "4.13.0-beta.4",
352
+ sdkVersion: "4.13.0-beta.6",
353
353
  locale: i18n.language,
354
354
  rootLegalEntityId: rootLegalEntity.id
355
355
  };
@@ -15,7 +15,7 @@ import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProb
15
15
  import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
16
16
  import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DJ5gJYKz.js";
17
17
  import { t as useScenarios } from "./useScenarios-D2TFpeEU.js";
18
- import { t as IndividualDropin } from "./IndividualDropin-BdBMJkx4.js";
18
+ import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
19
19
  import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-D2yayvPr.js";
20
20
  import { jsx } from "preact/jsx-runtime";
21
21
  import { skipToken } from "@tanstack/preact-query";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7a0d99b6-265d-4972-973f-c7a7893349a8", e._sentryDebugIdIdentifier = "sentry-dbid-7a0d99b6-265d-4972-973f-c7a7893349a8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "084f41fc-dcf5-4b7d-9d4d-34641418b024", e._sentryDebugIdIdentifier = "sentry-dbid-084f41fc-dcf5-4b7d-9d4d-34641418b024");
4
4
  } catch (e) {}
5
5
  import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BHUZ_WP7.js";
6
6
  import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
@@ -49,7 +49,7 @@ import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurati
49
49
  import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
50
50
  import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
51
51
  import { n as preTranslatedSummaryItem } from "./summaryItem-Dehjwp8D.js";
52
- import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
52
+ import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
53
53
  import { i as useScenarioConfiguration, n as getPage, r as getPageName, s as AdyenKycSdkError, t as mapExistingFile } from "./mapExistingFile-AUOevYJs.js";
54
54
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
55
55
  import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, n as InputEmail, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
@@ -60,13 +60,13 @@ import { i as isValidationError, o as processValidationErrors, s as isMaintenanc
60
60
  import { c as getDocument, d as getIdDocument, f as mergeAttachments, o as createDocumentRequest, s as documentApiUtils, u as getFileExtention } from "./validate-J6U_ulFs.js";
61
61
  import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Bx8jBrij.js";
62
62
  import { r as formatObject } from "./utils--gwzjjeS.js";
63
- import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-hjyqzys0.js";
63
+ import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-DlmOFIDl.js";
64
64
  import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DqvGrGbm.js";
65
65
  import { t as localizeDateString } from "./localizeDateString-Bni_Kn5k.js";
66
66
  import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Bl-KmvQB.js";
67
67
  import { t as uppercase } from "./uppercase-DKruhEuk.js";
68
68
  import { o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
69
- import { S as taxInformationDefaultFieldMetadata, _ as taxIdNumberOptions, m as getDefaultTaxIdNumberType, x as taxInformationDefaultFieldConfig } from "./utils-DQEnWBYq.js";
69
+ import { C as taxInformationDefaultFieldConfig, g as getDefaultTaxIdNumberType, w as taxInformationDefaultFieldMetadata, y as taxIdNumberOptions } from "./utils-Cd8I9QM7.js";
70
70
  import { r as addressValidators } from "./validate-CaRbtwlX.js";
71
71
  import { n as emailPattern } from "./basePatterns-B0FC-Crd.js";
72
72
  import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
@@ -1121,7 +1121,8 @@ var setHasMotionCaptureScenario = (scenarios) => {
1121
1121
  hasMotionCaptureScenario.value = scenarios?.some((scenario) => scenario === Scenarios.L_MOTION || scenario === Scenarios.L1_ID);
1122
1122
  };
1123
1123
  var allowedRolesForMotionCapture = [DecisionMakerTypes.SIGNATORY];
1124
- var shouldShowMotionCapture = ({ capabilities, userRoles, taskType, hasMotionScenario, isInvitedEntity = false }) => {
1124
+ var shouldShowMotionCapture = ({ capabilities, userRoles, taskType, hasMotionScenario, hasLiveSelfieError, isInvitedEntity = false }) => {
1125
+ if (hasLiveSelfieError) return true;
1125
1126
  if (isInvitedEntity) return shouldShowMotionCaptureForInvitedEntity({
1126
1127
  capabilities,
1127
1128
  userRoles
@@ -2693,7 +2694,7 @@ var logger$2 = createLogger();
2693
2694
  var passportFrontGreenImage = lazy(() => import("./passport-front-green-BB3zGc3y.js"));
2694
2695
  var idVerificationMethodFields = ["idVerificationMethod", "idDocument"];
2695
2696
  function IdVerificationMethod(props) {
2696
- const { legalEntityId, taskType, handlers, formVerificationErrors, fieldValidationErrors, hasLiveSelfieErrorCode } = props;
2697
+ const { legalEntityId, taskType, handlers, formVerificationErrors, fieldValidationErrors, hasLiveSelfieErrorCode, isInvitedEntity } = props;
2697
2698
  const { t: individualT, i18n } = useTranslation("individual");
2698
2699
  const { t: commonT } = useTranslation("common");
2699
2700
  const userEvents = useAnalyticsContext();
@@ -2860,8 +2861,8 @@ function IdVerificationMethod(props) {
2860
2861
  handleFieldChange("idDocument")(void 0);
2861
2862
  }
2862
2863
  };
2863
- if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod", false, "idVerificationMethod");
2864
- const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" ? false : hasExistingDocument;
2864
+ if (hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod", false, "idVerificationMethod");
2865
+ const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) ? false : hasExistingDocument;
2865
2866
  const handleCancelDeleteDocument = () => {
2866
2867
  setStatus("ready");
2867
2868
  userEvents.addPageEvent("Clicked button", {
@@ -2886,7 +2887,8 @@ function IdVerificationMethod(props) {
2886
2887
  };
2887
2888
  const modalProvidedData = resolvedData || comparableExistingData;
2888
2889
  const formUtils = createFormUtils(props, commonT);
2889
- const verifyIdentityDescription = isDecisionMakerTask(taskType) && isFeatureEnabled("EnableVerifyByInvite") ? individualT(($) => $["weNeedToVerifyTheDecisionMakersIdentity"]) : showIndividualMotionCapture?.value ? individualT(($) => $["toHelpProtectAgainstFraudAndKeepOurServices"]) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
2890
+ const showInviteOption = isFeatureEnabled("EnableVerifyByInvite") && isDecisionMakerTask(taskType) && !isInvitedEntity;
2891
+ const verifyIdentityDescription = showInviteOption ? individualT(($) => $["weNeedToVerifyTheDecisionMakersIdentity"]) : showIndividualMotionCapture?.value ? individualT(($) => $["toHelpProtectAgainstFraudAndKeepOurServices"]) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
2890
2892
  commonT(($) => $["takeOrUploadAPhoto"]),
2891
2893
  " ",
2892
2894
  /* @__PURE__ */ jsx(Link, {
@@ -2929,7 +2931,7 @@ function IdVerificationMethod(props) {
2929
2931
  fullWidth: true,
2930
2932
  children: commonT(($) => $["addDetailsManually"])
2931
2933
  }),
2932
- isFeatureEnabled("EnableVerifyByInvite") && isDecisionMakerTask(taskType) && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
2934
+ showInviteOption && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
2933
2935
  className: IdVerificationMethod_module_default.orSeparator,
2934
2936
  children: individualT(($) => $["or"])
2935
2937
  }), /* @__PURE__ */ jsx(Button, {
@@ -3745,7 +3747,7 @@ var manualIdUploadFormID = individualForms.manualIdUpload.formId;
3745
3747
  var proofOfResidencyFormID = individualForms.proofOfResidency.formId;
3746
3748
  var proofOfNationalIdFormID = individualForms.proofOfNationalId.formId;
3747
3749
  var proofOfRelationshipFormID = individualForms.proofOfRelationship.formId;
3748
- var LIVE_SELFIE_ERROR_CODE = "2_8210";
3750
+ var LIVE_SELFIE_ERROR_CODE$1 = "2_8210";
3749
3751
  function Individual(props) {
3750
3752
  const { t: commonT } = useTranslation("common");
3751
3753
  const { t: individualT } = useTranslation("individual");
@@ -3837,12 +3839,14 @@ function Individual(props) {
3837
3839
  data?.basicDetails?.role,
3838
3840
  setFormData
3839
3841
  ]);
3842
+ const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE$1 && problem.type === "dataMissing");
3840
3843
  const hasMotionCaptureScenarioValue = hasMotionCaptureScenario?.value;
3841
3844
  useEffect$1(() => {
3842
3845
  setShowIndividualMotionCapture(shouldShowMotionCapture({
3843
3846
  capabilities: isInvitedEntity ? invitedEntityDetails?.rootCapabilities : capabilities,
3844
3847
  userRoles: data?.basicDetails?.role,
3845
3848
  taskType,
3849
+ hasLiveSelfieError: hasLiveSelfieErrorCode,
3846
3850
  hasMotionScenario: data?.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY) && scenarios?.includes(Scenarios.L_BAFIN) ? false : hasMotionCaptureScenarioValue,
3847
3851
  isInvitedEntity
3848
3852
  }));
@@ -3852,12 +3856,12 @@ function Individual(props) {
3852
3856
  taskType,
3853
3857
  capabilities,
3854
3858
  hasMotionCaptureScenarioValue,
3859
+ hasLiveSelfieErrorCode,
3855
3860
  isInvitedEntity,
3856
3861
  invitedEntityDetails?.rootCapabilities
3857
3862
  ]);
3858
3863
  const fullName = `${data?.basicDetails?.firstName} ${data?.basicDetails?.lastName}`;
3859
3864
  const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(fieldName, formName, mode);
3860
- const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE && problem.type === "dataMissing");
3861
3865
  const renderActiveForm = (activeForm) => {
3862
3866
  switch (activeForm.formId) {
3863
3867
  case signatoryQuestionnaireFormID: return /* @__PURE__ */ jsx(SignatoryQuestionnaire, {
@@ -3905,7 +3909,8 @@ function Individual(props) {
3905
3909
  },
3906
3910
  formVerificationErrors: problems?.verificationErrors?.idVerificationMethod,
3907
3911
  fieldValidationErrors: problems?.validationErrors?.idVerificationMethod,
3908
- hasLiveSelfieErrorCode
3912
+ hasLiveSelfieErrorCode,
3913
+ isInvitedEntity
3909
3914
  });
3910
3915
  case inviteDetailsFormID: return /* @__PURE__ */ jsx(InviteDetails, {
3911
3916
  country: countryOfResidence,
@@ -4285,6 +4290,7 @@ var individualFieldsPerScenario = {
4285
4290
  };
4286
4291
  //#endregion
4287
4292
  //#region src/components/Individual/tasks/IndividualDropin/IndividualDropin.tsx
4293
+ var LIVE_SELFIE_ERROR_CODE = "2_8210";
4288
4294
  var parseIndividualScenarios = (scenarios) => composePerScenarioFormConfigurations(scenarios, individualFieldsPerScenario);
4289
4295
  var parseConfiguration = ({ scenarios }) => parseIndividualScenarios(scenarios);
4290
4296
  var logger = createLogger();
@@ -4449,6 +4455,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
4449
4455
  taskType,
4450
4456
  problems
4451
4457
  ]);
4458
+ const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE && problem.type === "dataMissing");
4452
4459
  useEffect$1(() => {
4453
4460
  const derivedProps = getPropsFromConfigurations({
4454
4461
  scenarioConfiguration: fieldConfigurations,
@@ -4485,7 +4492,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
4485
4492
  if (derivedProps.optionalFields?.basicDetails) derivedProps.optionalFields.basicDetails = filterFields(derivedProps.optionalFields.basicDetails);
4486
4493
  }
4487
4494
  }
4488
- const updatedDerivedProps = mandateIdVerificationForMotionCapture(showIndividualMotionCapture?.value, derivedProps);
4495
+ const updatedDerivedProps = mandateIdVerificationForMotionCapture(hasLiveSelfieErrorCode || showIndividualMotionCapture?.value, derivedProps);
4489
4496
  if (updatedDerivedProps) setDerivedProps(updatedDerivedProps);
4490
4497
  }, [
4491
4498
  fieldConfigurations,
@@ -4493,6 +4500,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
4493
4500
  fieldsFromCustomRules,
4494
4501
  problems?.remediationActions,
4495
4502
  problems?.missingData,
4503
+ hasLiveSelfieErrorCode,
4496
4504
  isInvitedEntity,
4497
4505
  dataFromResponse?.basicDetails
4498
4506
  ]);
@@ -16,7 +16,7 @@ import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
16
16
  import { t as useAnalyticsContext } from "./useAnalyticsContext-pNSIB8AZ.js";
17
17
  import { t as Image } from "./Image-BBLBIviv.js";
18
18
  import { t as getIndividualLegalEntityName } from "./getName-BtgdCWSR.js";
19
- import { t as IndividualDropin } from "./IndividualDropin-BdBMJkx4.js";
19
+ import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
20
20
  import { t as List } from "./List-DLrcpMVd.js";
21
21
  import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
22
22
  import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
@@ -277,7 +277,7 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
277
277
  "../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
278
278
  "../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
279
279
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
280
- "../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
280
+ "../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
281
281
  "../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
282
282
  "../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
283
283
  "../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
11
11
  import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
12
12
  import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
13
13
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
14
- import { t as IndividualDropin } from "./IndividualDropin-BdBMJkx4.js";
14
+ import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
15
15
  import { jsx } from "preact/jsx-runtime";
16
16
  import { skipToken } from "@tanstack/preact-query";
17
17
  //#region src/components/Individual/pages/LegalRepresentativeDetailsPage.tsx
@@ -41,7 +41,7 @@ import { t as trackNavigation } from "./trackNavigation-LvCP5Vyc.js";
41
41
  import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
42
42
  import { n as summaryStep } from "./Summary-DESUnetK.js";
43
43
  import { r as summaryItem } from "./summaryItem-Dehjwp8D.js";
44
- import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
44
+ import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
45
45
  import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, o as payoutAccountFormat, r as getPageName, t as mapExistingFile } from "./mapExistingFile-AUOevYJs.js";
46
46
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
47
47
  import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
@@ -8,8 +8,8 @@ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js"
8
8
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
9
9
  import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
10
10
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
11
- import { t as useNavigate } from "./useNavigate-OMOxhDbP.js";
12
- import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-CFXh9XH3.js";
11
+ import { t as useNavigate } from "./useNavigate-zhguGWRa.js";
12
+ import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-CiTh764I.js";
13
13
  import { jsx } from "preact/jsx-runtime";
14
14
  import { useParams } from "wouter-preact";
15
15
  //#region src/components/BankAccount/pages/PayoutDetailsPage.tsx
@@ -11,7 +11,7 @@ import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
11
11
  import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
12
12
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
13
13
  import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DwS9T-_E.js";
14
- import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-DPNww87e.js";
14
+ import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Dw8VtZkI.js";
15
15
  import { jsx } from "preact/jsx-runtime";
16
16
  //#region src/components/Business/pages/RootBusinessDetailsPage.tsx
17
17
  var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
@@ -32,7 +32,7 @@ import { t as List } from "./List-DLrcpMVd.js";
32
32
  import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
33
33
  import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
34
34
  import { n as summaryStep } from "./Summary-DESUnetK.js";
35
- import { t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
35
+ import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
36
36
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
37
37
  import { t as Field } from "./Field-Vzlyifk5.js";
38
38
  import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
@@ -47,7 +47,7 @@ import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
47
47
  import { t as ListItem } from "./ListItem-BzSnYlO1.js";
48
48
  import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-CaT_-l9v.js";
49
49
  import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-Cuqk72uG.js";
50
- import { t as SignPCIComponent } from "./SignPCIComponent-CPjxKwUt.js";
50
+ import { t as SignPCIComponent } from "./SignPCIComponent-BPSj_yuH.js";
51
51
  import { lazy } from "preact/compat";
52
52
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
53
53
  import cx from "classnames";
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-BBkbuta4.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
16
16
  import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DwS9T-_E.js";
17
17
  import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
18
- import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-BdBMJkx4.js";
18
+ import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
19
19
  import { jsx } from "preact/jsx-runtime";
20
20
  //#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
21
21
  function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
@@ -238,7 +238,7 @@ function SignPCIComponent({ modalView = false, onClose, onSigned, onUnmount, sel
238
238
  "../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
239
239
  "../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
240
240
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
241
- "../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
241
+ "../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
242
242
  "../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
243
243
  "../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
244
244
  "../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
@@ -10,7 +10,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
10
10
  import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
11
11
  import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
12
12
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
13
- import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-DPNww87e.js";
13
+ import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Dw8VtZkI.js";
14
14
  import { jsx } from "preact/jsx-runtime";
15
15
  import { skipToken } from "@tanstack/preact-query";
16
16
  //#region src/components/SoleProprietorship/pages/SoleProprietorshipPage.tsx
@@ -33,7 +33,7 @@ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getR
33
33
  import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
34
34
  import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
35
35
  import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
36
- import { t as useMultiForm } from "./useMultiForm-BZBzYZ-3.js";
36
+ import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
37
37
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
38
38
  import { o as createDocumentRequest, s as documentApiUtils } from "./validate-J6U_ulFs.js";
39
39
  import { r as formatObject } from "./utils--gwzjjeS.js";