@adyen/kyc-components 3.81.0-beta.3 → 3.81.0-beta.5

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 (93) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-L-VLoVVm.js → AcceptTermsOfServiceComponent-h4RGwmfr.js} +5 -5
  2. package/dist/{AccountSetupRejected-KSsUqgS8.js → AccountSetupRejected-BtCC1DfU.js} +2 -2
  3. package/dist/{Avatar-DQWZKDyK.js → Avatar-D11TdIAz.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-JEi7zNN5.js → BusinessDetailsDropin-DMkfZAhc.js} +7 -7
  5. package/dist/{BusinessFinancingComponent-B9nSH5XY.js → BusinessFinancingComponent-Bx3WRW6i.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-BOSvl5M9.js → BusinessFinancingDropin-CuF4P-yp.js} +9 -9
  7. package/dist/{BusinessFinancingPage-L4LAbHPk.js → BusinessFinancingPage-BOVZmdFJ.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-w9pMkhBt.js → BusinessTypeSelectionPage-yupMVCzr.js} +4 -4
  9. package/dist/{CreateIndividualComponent-cHJthLBL.js → CreateIndividualComponent-0ye57Eu5.js} +3 -3
  10. package/dist/{CreateTransferInstrumentComponent-D0Sr1dH0.js → CreateTransferInstrumentComponent-Cw5cNYC5.js} +2 -2
  11. package/dist/{CustomerSupport-2kK-1XQx.js → CustomerSupport-BsZDxwv2.js} +5 -5
  12. package/dist/{DebugModal-BuQGVv0a.js → DebugModal-CgC7d1mP.js} +4 -4
  13. package/dist/{DecisionMakerDetailsPage-gDtpwLBj.js → DecisionMakerDetailsPage-CsxCXdBv.js} +17 -4
  14. package/dist/{DecisionMakers-BafJ6zYr.js → DecisionMakers-BOPprU_c.js} +10 -15
  15. package/dist/{EmbeddedStatus-B6Wa-fZ9.js → EmbeddedStatus-THcf_5VL.js} +3 -3
  16. package/dist/{EndStateLayout-DyDcIT5g.js → EndStateLayout-D4XztFnd.js} +1 -1
  17. package/dist/{FormFlow-BhhW8oFl.js → FormFlow-OxZkj1IL.js} +2 -2
  18. package/dist/{IndividualOnfidoDropin-BiQpcIMz.js → IndividualOnfidoDropin-BGSe9ayX.js} +66 -34
  19. package/dist/{Introduction-DZTFiW_i.js → Introduction-Dvmyo9sy.js} +3 -3
  20. package/dist/{LegalRepresentativeDetailsPage-B0YGVX_S.js → LegalRepresentativeDetailsPage-CwZCAmRs.js} +3 -3
  21. package/dist/{ManageIndividualComponent-2V-bNklu.js → ManageIndividualComponent-C_S_ydis.js} +4 -4
  22. package/dist/{ManageTermsOfServiceComponent-B4caG9o0.js → ManageTermsOfServiceComponent-BkLuO8oE.js} +4 -4
  23. package/dist/{ManageTransferInstrumentComponent-CjAmb5m0.js → ManageTransferInstrumentComponent-C4WfYBDB.js} +4 -4
  24. package/dist/{OnboardingDropinComponent-D4ivntVV.js → OnboardingDropinComponent-BUmJ_JVk.js} +50 -77
  25. package/dist/{Review-Bxitfh4C.js → Review-C5MFIBVb.js} +3 -3
  26. package/dist/{RootBusinessDetailsPage-I0HaXPwp.js → RootBusinessDetailsPage-C8ZJ4dmm.js} +7 -7
  27. package/dist/{RootIndividualDetailsPage-DKtpTUBC.js → RootIndividualDetailsPage-CU0x1BUz.js} +3 -3
  28. package/dist/{SignPCIComponent-DORbX1yL.js → SignPCIComponent-CPpNIBhs.js} +4 -4
  29. package/dist/{SingpassSelection-CFOZAV82.js → SingpassSelection-ByupuMKL.js} +18 -10
  30. package/dist/{SoleProprietorshipPage-BLYo2RKv.js → SoleProprietorshipPage-CNKpPAjZ.js} +3 -3
  31. package/dist/{SourceOfFundsPage-B9gXRtnw.js → SourceOfFundsPage-CraH1Im8.js} +14 -19
  32. package/dist/{StoreProvider-DTssl0d2.js → StoreProvider-BK6S-tUB.js} +448 -490
  33. package/dist/{TaskItemStatus-CYVSat-d.js → TaskItemStatus-BXv5vZOC.js} +2 -2
  34. package/dist/{TaskStatusIndicator-qrNB-v1Q.js → TaskStatusIndicator-BqoOgtJU.js} +3 -3
  35. package/dist/{TaxReportingDropin-DAFeDIp1.js → TaxReportingDropin-BYn-rCQo.js} +11 -16
  36. package/dist/{TileGroup-CGz7T1xr.js → TileGroup-ByNEsfqA.js} +2 -2
  37. package/dist/{TrustDetailsPage-CWwChw_h.js → TrustDetailsPage-BXHPOkFC.js} +5 -5
  38. package/dist/{TrustMemberCompanyPage-CfHrCwI1.js → TrustMemberCompanyPage-D3JUt2oR.js} +4 -4
  39. package/dist/{TrustMemberIndividualPage-f6pTxZ-b.js → TrustMemberIndividualPage-BKwm2PD-.js} +3 -3
  40. package/dist/{UnincorporatedPartnershipIndividualPage-CtnNK_uz.js → UnincorporatedPartnershipIndividualPage-DJAy2tiA.js} +3 -3
  41. package/dist/{UnincorporatedPartnershipMemberCompanyPage-d_rcXvWb.js → UnincorporatedPartnershipMemberCompanyPage-C_4lVNk5.js} +3 -3
  42. package/dist/{VerificationErrorAlert-Dq-OfCNA.js → VerificationErrorAlert-CN-y2ZkT.js} +2 -2
  43. package/dist/{ViewVerificationStatusComponent-D3IlyHyE.js → ViewVerificationStatusComponent-DGo_V34u.js} +3 -3
  44. package/dist/adyen-business-financing.js +2 -2
  45. package/dist/adyen-individual.js +2 -2
  46. package/dist/adyen-kyc-components.js +14 -14
  47. package/dist/adyen-manage-individual.js +2 -2
  48. package/dist/adyen-manage-terms-of-service.js +2 -2
  49. package/dist/adyen-manage-transfer-instruments.js +2 -2
  50. package/dist/adyen-onboarding.js +2 -2
  51. package/dist/adyen-terms-of-service.js +2 -2
  52. package/dist/adyen-transfer-instrument.js +2 -2
  53. package/dist/adyen-verification-status.js +2 -2
  54. package/dist/{isIdNowModalOpen-BKv0f-1W.js → bafinUtils-WzgnLHUH.js} +51 -4
  55. package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.js} +3 -3
  56. package/dist/en-US-TrwIHFh-.js +31 -0
  57. package/dist/{getFieldsWithExistingData-DGwbwOca.js → getFieldsWithExistingData-CXFYcjIh.js} +2 -2
  58. package/dist/{hasDataChanged-dfjRLGHb.js → hasDataChanged-Bh_UrmLp.js} +2 -2
  59. package/dist/{localizeDateString-DzLefmuA.js → localizeDateString-CWh-ttUS.js} +1 -1
  60. package/dist/{mapFinancialReportsToFinancialInformation-BSdQYsX3.js → mapFinancialReportsToFinancialInformation-CQMM1PgM.js} +2 -2
  61. package/dist/{resolveEnvironment-CSF9nwV8.js → resolveEnvironment-DtkNmlSt.js} +3 -3
  62. package/dist/{rules-ui4hKN9a.js → rules-ByuGwTNE.js} +2 -2
  63. package/dist/types/api/configurations/useScenarios.d.ts +2 -1
  64. package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -1
  65. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
  66. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -0
  67. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +35 -0
  68. package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +7 -0
  69. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  70. package/dist/types/components/ui/atoms/Button/Button.types.d.ts +1 -2
  71. package/dist/types/components/ui/atoms/Image/Image.d.ts +18 -0
  72. package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -1
  73. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -64
  74. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -2
  75. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -3
  76. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  77. package/dist/{useMultiForm-DYCu9P6k.js → useMultiForm-CiCxhoIc.js} +2 -2
  78. package/dist/{useOnboardingStatus-1I5prrsD.js → useOnboardingStatus-DHu80m4m.js} +1 -1
  79. package/dist/{useTermsOfServiceStatus-D1QgKXao.js → useTermsOfServiceStatus-ZzLl2fnP.js} +1 -1
  80. package/dist/{useUpdateLegalEntity-BgpKv8dc.js → useUpdateLegalEntity-CKaq6DPT.js} +2 -2
  81. package/dist/{utils-DtAyWZi1.js → utils-B2fOaECU.js} +4 -4
  82. package/dist/{validate-CTOcDHTS.js → validate-CaKWtDK0.js} +2 -2
  83. package/dist/{validate-D3pd2yc2.js → validate-DWYqp_FY.js} +2 -2
  84. package/package.json +1 -3
  85. package/dist/adyen-a-filled-czhSM_bc.js +0 -14
  86. package/dist/arrow-left-Dtc2gya1.js +0 -14
  87. package/dist/document-plus-NwgAdjyB.js +0 -17
  88. package/dist/hide-CigAXbWC.js +0 -18
  89. package/dist/idea-DwJIwJHR.js +0 -18
  90. package/dist/instant-verification-method-BGfknV9x.js +0 -28
  91. package/dist/plus-small-Dj1WRyFM.js +0 -14
  92. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +0 -3
  93. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +0 -5
@@ -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] = "3e714950-fdc2-4c8c-bc7f-314272ae1b49", e._sentryDebugIdIdentifier = "sentry-dbid-3e714950-fdc2-4c8c-bc7f-314272ae1b49");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a2930b27-7ed7-49c6-9ad1-dd32d4a66823", e._sentryDebugIdIdentifier = "sentry-dbid-a2930b27-7ed7-49c6-9ad1-dd32d4a66823");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { L as Loader, a7 as Icon, c as useTranslation, a1 as TaskStatuses, dN as KEYBOARD_KEYS } from "./StoreProvider-DTssl0d2.js";
12
+ import { L as Loader, a7 as Icon, c as useTranslation, a1 as TaskStatuses, dO as KEYBOARD_KEYS } from "./StoreProvider-BK6S-tUB.js";
13
13
  const Status = ({ text, className, iconStatusClass, icon, size = "small" }) => {
14
14
  const containerClasses = cx("adyen-kyc-status", className);
15
15
  const iconClasses = cx("adyen-kyc-status__icon", iconStatusClass, {
@@ -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] = "048654f1-5888-4d64-a8f0-850af39dd6d1", e._sentryDebugIdIdentifier = "sentry-dbid-048654f1-5888-4d64-a8f0-850af39dd6d1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b70a64e7-ee18-495b-bd1a-6d565639c63e", e._sentryDebugIdIdentifier = "sentry-dbid-b70a64e7-ee18-495b-bd1a-6d565639c63e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { c as useTranslation, a1 as TaskStatuses } from "./StoreProvider-DTssl0d2.js";
12
+ import { c as useTranslation, a1 as TaskStatuses } from "./StoreProvider-BK6S-tUB.js";
13
13
  const inTaskStatus = "adyen-kyc-in-task-status";
14
14
  const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
15
15
  const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
@@ -47,7 +47,7 @@ const getIndicatorLabelAndClassnames = ({
47
47
  }
48
48
  };
49
49
  const TaskStatusIndicator = ({ taskStatus }) => {
50
- const { t } = useTranslation();
50
+ const { t } = useTranslation("ui");
51
51
  const indicator = getIndicatorLabelAndClassnames({ taskStatus });
52
52
  if (!indicator) {
53
53
  return null;
@@ -2,21 +2,22 @@
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] = "622ef47d-d103-430b-996f-68fbb8151a04", e._sentryDebugIdIdentifier = "sentry-dbid-622ef47d-d103-430b-996f-68fbb8151a04");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16ad359d-45a8-40ce-94a3-a9b8d62cd5d8", e._sentryDebugIdIdentifier = "sentry-dbid-16ad359d-45a8-40ce-94a3-a9b8d62cd5d8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
12
- import { a as useApiContext, r as useQuery, x as httpGet, N as Typography, c as useTranslation, u as useI18nContext, bL as useFormContext, dU as Trans, bE as Link, K as Alert, aD as Field, a_ as RadioGroup, ds as getFormProps, a7 as Icon, co as isEmpty, G as Button, H as Svg, a4 as Card, bf as StructuredList, a2 as IconButton, at as isEmpty$1, bm as useInvalidateRootLegalEntity, a3 as useAnalyticsContext, d as useLegalEntity, R as ROOT_LE, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, a0 as createLogger, L as Loader } from "./StoreProvider-DTssl0d2.js";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgpKv8dc.js";
14
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BhhW8oFl.js";
15
- import { u as useMultiForm } from "./useMultiForm-DYCu9P6k.js";
12
+ import { a as useApiContext, r as useQuery, x as httpGet, N as Typography, c as useTranslation, u as useI18nContext, bM as useFormContext, dV as Trans, bF as Link, K as Alert, aE as Field, a$ as RadioGroup, dt as getFormProps, a7 as Icon, cp as isEmpty, G as Button, ao as Image, a4 as Card, bg as StructuredList, a2 as IconButton, au as isEmpty$1, bn as useInvalidateRootLegalEntity, a3 as useAnalyticsContext, d as useLegalEntity, R as ROOT_LE, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, a0 as createLogger, L as Loader } from "./StoreProvider-BK6S-tUB.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-OxZkj1IL.js";
15
+ import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
16
16
  import { signal } from "@preact/signals";
17
- import { T as TaskStatusIndicator } from "./TaskStatusIndicator-qrNB-v1Q.js";
18
- import { L as LandingLayout } from "./isIdNowModalOpen-BKv0f-1W.js";
19
- import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-D4ivntVV.js";
17
+ import { lazy } from "preact/compat";
18
+ import { T as TaskStatusIndicator } from "./TaskStatusIndicator-BqoOgtJU.js";
19
+ import { L as LandingLayout } from "./bafinUtils-WzgnLHUH.js";
20
+ import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BUmJ_JVk.js";
20
21
  const getTaxClassification = async (legalEntityId, baseUrl) => {
21
22
  return httpGet({
22
23
  baseUrl,
@@ -253,6 +254,7 @@ function TaxReporting(props) {
253
254
  renderActiveForm(propActiveForm)
254
255
  ] });
255
256
  }
257
+ const usCheckAccount = lazy(() => import("./tax-reporting-graph-DjzwRgE6.js"));
256
258
  const TaxReportingGettingStarted = ({
257
259
  handleToggleFormVisible,
258
260
  handleCancelClick,
@@ -267,14 +269,7 @@ const TaxReportingGettingStarted = ({
267
269
  !hasTaxReportingClassification && /* @__PURE__ */ jsx(
268
270
  LandingLayout,
269
271
  {
270
- media: /* @__PURE__ */ jsx(
271
- Svg,
272
- {
273
- type: "image",
274
- testId: "source-of-funds-getting-started-icon",
275
- name: "tax-reporting-graph"
276
- }
277
- ),
272
+ media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: usCheckAccount }),
278
273
  title: i18n.get("taxStatusSelfCertification"),
279
274
  description: i18n.get("toUnderstandIfYourBankAccountDetailsAreReportable"),
280
275
  actions: /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -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] = "295ac2f2-a8de-43a9-a809-247603373bf5", e._sentryDebugIdIdentifier = "sentry-dbid-295ac2f2-a8de-43a9-a809-247603373bf5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6874ffa5-4368-425a-9d6b-5f5194aa3e1d", e._sentryDebugIdIdentifier = "sentry-dbid-6874ffa5-4368-425a-9d6b-5f5194aa3e1d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { dM as useId, a7 as Icon, N as Typography, dN as KEYBOARD_KEYS, a8 as noop } from "./StoreProvider-DTssl0d2.js";
12
+ import { dN as useId, a7 as Icon, N as Typography, dO as KEYBOARD_KEYS, a8 as noop } from "./StoreProvider-BK6S-tUB.js";
13
13
  import { useRef } from "preact/hooks";
14
14
  const tileContainer = "adyen-kyc-tile-container";
15
15
  const tile = "adyen-kyc-tile";
@@ -2,17 +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] = "e1e6c155-c92c-4d81-bd06-1c088060604d", e._sentryDebugIdIdentifier = "sentry-dbid-e1e6c155-c92c-4d81-bd06-1c088060604d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6f864faf-027e-446a-97ff-42e0565b85da", e._sentryDebugIdIdentifier = "sentry-dbid-6f864faf-027e-446a-97ff-42e0565b85da");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { ch as getDocument, ci as mapExistingFile, cj as getPageName, bA as reverseMapping, bB as formatObject, d_ as operationalAddressIsSameIds, O as LegalEntityTypes, cU as createFormRules, $ as TaskTypes, fo as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, fp as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, fq as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, as as CountryCodes, fr as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, fs as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, fa as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, ft as trustComponentsKeyMapping, f6 as getDefaultVatNumberType, f5 as getDefaultRegistrationNumberType, cm as createDocumentRequest, fu as trustApiKeyMapping, fh as useStateContext, a as useApiContext, u as useI18nContext, a3 as useAnalyticsContext, bc as datasetUtilities, aa as useExperimentsContext, a9 as useToastContext, bQ as getAssociatedLeAnalyticsPayload, cr as documentApiUtils, cz as useScenarioConfiguration, cA as getPropsFromConfigurations, fv as trustForms, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, fm as FormWrapper, fw as Trust, fx as augmentWithCountryConfigs, fy as trustDocumentMapping, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, bi as cloneObject, g as getLegalEntityCountry, av as resolveFieldMetadata, e8 as registrationNumberDefaultFieldMetadata, fd as inferCompanyRegistrationNumberType, fe as getCompanyRegistrationNumberOptions, e9 as registrationNumberDefaultFieldConfig, cc as taxInformationDefaultFieldMetadata, ff as countryToTaxInfoTypeMap, cd as taxInformationDefaultFieldConfig, cI as mapAddressLabels, fz as trustConstitutionalDocumentFormId, fb as getProp, at as isEmpty, cF as composePerScenarioFormConfigurations, cq as drop, ao as getOwnEntityAssociations, d as useLegalEntity, B as skipToken, R as ROOT_LE, dt as useCapabilities, af as useCapabilityProblems, b7 as getProblemsForEntity, L as Loader, dj as keysOf, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
11
+ import { ci as getDocument, cj as mapExistingFile, ck as getPageName, bB as reverseMapping, bC as formatObject, d$ as operationalAddressIsSameIds, O as LegalEntityTypes, cV as createFormRules, $ as TaskTypes, fp as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, fq as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, fr as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, at as CountryCodes, fs as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, ft as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, fu as trustComponentsKeyMapping, f7 as getDefaultVatNumberType, f6 as getDefaultRegistrationNumberType, cn as createDocumentRequest, fv as trustApiKeyMapping, fi as useStateContext, a as useApiContext, u as useI18nContext, a3 as useAnalyticsContext, bd as datasetUtilities, aa as useExperimentsContext, a9 as useToastContext, bR as getAssociatedLeAnalyticsPayload, cs as documentApiUtils, cA as useScenarioConfiguration, cB as getPropsFromConfigurations, fw as trustForms, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, fn as FormWrapper, fx as Trust, fy as augmentWithCountryConfigs, fz as trustDocumentMapping, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, bj as cloneObject, g as getLegalEntityCountry, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, cJ as mapAddressLabels, fA as trustConstitutionalDocumentFormId, fc as getProp, au as isEmpty, cG as composePerScenarioFormConfigurations, cr as drop, ap as getOwnEntityAssociations, d as useLegalEntity, B as skipToken, R as ROOT_LE, du as useCapabilities, af as useCapabilityProblems, b6 as getProblemsForEntity, L as Loader, dk as keysOf, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { useEffect, useState, useRef, useMemo } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgpKv8dc.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-dfjRLGHb.js";
15
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DGwbwOca.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-Bh_UrmLp.js";
15
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CXFYcjIh.js";
16
16
  const mapApiDocumentToTrustDocument = (entityId) => {
17
17
  const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
18
18
  return {
@@ -2,15 +2,15 @@
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] = "a650104b-1019-4f99-a015-07dd69837152", e._sentryDebugIdIdentifier = "sentry-dbid-a650104b-1019-4f99-a015-07dd69837152");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43d0ffed-c2da-4e75-81cf-7bd80fe1ffee", e._sentryDebugIdIdentifier = "sentry-dbid-43d0ffed-c2da-4e75-81cf-7bd80fe1ffee");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b7 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
12
- import { g as useTrustMembers } from "./OnboardingDropinComponent-D4ivntVV.js";
13
- import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-JEi7zNN5.js";
11
+ import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { g as useTrustMembers } from "./OnboardingDropinComponent-BUmJ_JVk.js";
13
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DMkfZAhc.js";
14
14
  function TrustMemberCompanyPage({
15
15
  trustId,
16
16
  trustMemberCompanyId,
@@ -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] = "a5bc84f5-e63d-41f4-b4e0-9183440dc5f9", e._sentryDebugIdIdentifier = "sentry-dbid-a5bc84f5-e63d-41f4-b4e0-9183440dc5f9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f710512-e84c-436d-8b62-668fef8850d8", e._sentryDebugIdIdentifier = "sentry-dbid-9f710512-e84c-436d-8b62-668fef8850d8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b7 as getProblemsForEntity, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BiQpcIMz.js";
11
+ import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
13
13
  function TrustMemberIndividualPage({
14
14
  memberId,
15
15
  trustId,
@@ -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] = "bba7878b-88f9-4db6-87fc-e2c3ba00596c", e._sentryDebugIdIdentifier = "sentry-dbid-bba7878b-88f9-4db6-87fc-e2c3ba00596c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ac5c1f7-f83f-41e8-ac6d-cded31132754", e._sentryDebugIdIdentifier = "sentry-dbid-6ac5c1f7-f83f-41e8-ac6d-cded31132754");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b7 as getProblemsForEntity, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BiQpcIMz.js";
11
+ import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
13
13
  function UnincorporatedPartnershipIndividualPage({
14
14
  memberId,
15
15
  partnershipId,
@@ -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] = "854bc904-e069-43b4-be47-922ed2f80405", e._sentryDebugIdIdentifier = "sentry-dbid-854bc904-e069-43b4-be47-922ed2f80405");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2905bc55-ad0a-4ce0-8d45-acb67a2322c5", e._sentryDebugIdIdentifier = "sentry-dbid-2905bc55-ad0a-4ce0-8d45-acb67a2322c5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, R as ROOT_LE, B as skipToken, a$ as useUnincorporatedPartnershipMembers, af as useCapabilityProblems, L as Loader, b7 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
12
- import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-JEi7zNN5.js";
11
+ import { d as useLegalEntity, R as ROOT_LE, B as skipToken, b0 as useUnincorporatedPartnershipMembers, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DMkfZAhc.js";
13
13
  function UnincorporatedPartnershipMemberCompanyPage({
14
14
  partnershipId,
15
15
  partnershipMemberCompanyId,
@@ -2,12 +2,12 @@
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] = "1a231bfa-b8a8-4731-a4ee-dd917b273a50", e._sentryDebugIdIdentifier = "sentry-dbid-1a231bfa-b8a8-4731-a4ee-dd917b273a50");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f581354-79e8-4b82-8606-9a8fa54368b8", e._sentryDebugIdIdentifier = "sentry-dbid-8f581354-79e8-4b82-8606-9a8fa54368b8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { a as useApiContext, bm as useInvalidateRootLegalEntity, bn as useMutation, bo as httpDelete, c as useTranslation, K as Alert } from "./StoreProvider-DTssl0d2.js";
10
+ import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, bp as httpDelete, c as useTranslation, K as Alert } from "./StoreProvider-BK6S-tUB.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
13
13
  return httpDelete({
@@ -2,15 +2,15 @@
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] = "a5a5685b-783e-4325-a20c-78137b5ece9a", e._sentryDebugIdIdentifier = "sentry-dbid-a5a5685b-783e-4325-a20c-78137b5ece9a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85d014bd-ff67-43dd-92c4-90802dfc2d0b", e._sentryDebugIdIdentifier = "sentry-dbid-85d014bd-ff67-43dd-92c4-90802dfc2d0b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
12
- import { a as useApiContext, bn as useMutation, t as httpPost, a0 as createLogger, u as useI18nContext, L as Loader, K as Alert, G as Button } from "./StoreProvider-DTssl0d2.js";
13
- import { u as useOnboardingStatus } from "./useOnboardingStatus-1I5prrsD.js";
12
+ import { a as useApiContext, bo as useMutation, t as httpPost, a0 as createLogger, u as useI18nContext, L as Loader, K as Alert, G as Button } from "./StoreProvider-BK6S-tUB.js";
13
+ import { u as useOnboardingStatus } from "./useOnboardingStatus-DHu80m4m.js";
14
14
  import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
15
15
  const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
16
16
  return httpPost(
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-B9nSH5XY.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-Bx3WRW6i.js";
14
14
  const AdyenBusinessFinancing = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { C as CreateIndividualComponent } from "./CreateIndividualComponent-cHJthLBL.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { C as CreateIndividualComponent } from "./CreateIndividualComponent-0ye57Eu5.js";
14
14
  const AdyenIndividual = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -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] = "d1904d03-aa78-4784-b9c9-e1c9eff12141", e._sentryDebugIdIdentifier = "sentry-dbid-d1904d03-aa78-4784-b9c9-e1c9eff12141");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2fcaaaeb-cfc3-49fe-a1ce-0dd5e05b73b4", e._sentryDebugIdIdentifier = "sentry-dbid-2fcaaaeb-cfc3-49fe-a1ce-0dd5e05b73b4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-DTssl0d2.js";
11
- import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-L-VLoVVm.js";
12
- import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-B9nSH5XY.js";
13
- import { C as CreateIndividualComponent } from "./CreateIndividualComponent-cHJthLBL.js";
14
- import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-D0Sr1dH0.js";
15
- import { M as ManageIndividualComponent } from "./ManageIndividualComponent-2V-bNklu.js";
10
+ import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-BK6S-tUB.js";
11
+ import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-h4RGwmfr.js";
12
+ import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-Bx3WRW6i.js";
13
+ import { C as CreateIndividualComponent } from "./CreateIndividualComponent-0ye57Eu5.js";
14
+ import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-Cw5cNYC5.js";
15
+ import { M as ManageIndividualComponent } from "./ManageIndividualComponent-C_S_ydis.js";
16
16
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
17
- import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-D4ivntVV.js";
18
- import { E as EmbeddedStatus } from "./EmbeddedStatus-B6Wa-fZ9.js";
19
- import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-B4caG9o0.js";
20
- import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-CjAmb5m0.js";
21
- import { SignPCIComponent } from "./SignPCIComponent-DORbX1yL.js";
22
- import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-D3IlyHyE.js";
17
+ import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-BUmJ_JVk.js";
18
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-THcf_5VL.js";
19
+ import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BkLuO8oE.js";
20
+ import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-C4WfYBDB.js";
21
+ import { SignPCIComponent } from "./SignPCIComponent-CPpNIBhs.js";
22
+ import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DGo_V34u.js";
23
23
  import { render } from "preact";
24
24
  function ManagePCIComponent({ legalEntityId, onClick }) {
25
25
  const { i18n } = useI18nContext();
@@ -366,7 +366,7 @@ class UIElement extends BaseElement {
366
366
  experiments: this.props.experiments,
367
367
  refreshExperiments: this.props.refreshExperiments,
368
368
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
369
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.81.0-beta.3" }),
369
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.81.0-beta.5" }),
370
370
  /* @__PURE__ */ jsx(
371
371
  AnalyticsProvider,
372
372
  {
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { M as ManageIndividualComponent } from "./ManageIndividualComponent-2V-bNklu.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { M as ManageIndividualComponent } from "./ManageIndividualComponent-C_S_ydis.js";
14
14
  const AdyenManageIndividual = ({
15
15
  rootlegalentityid,
16
16
  onClick,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-B4caG9o0.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BkLuO8oE.js";
14
14
  const AdyenManageTermsOfService = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-CjAmb5m0.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-C4WfYBDB.js";
14
14
  const AdyenManageTransferInstruments = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-D4ivntVV.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-BUmJ_JVk.js";
14
14
  const AdyenOnboarding = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-L-VLoVVm.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-h4RGwmfr.js";
14
14
  const AdyenTermsOfService = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-D0Sr1dH0.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-Cw5cNYC5.js";
14
14
  const AdyenTransferInstrument = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CSF9nwV8.js";
13
- import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-D3IlyHyE.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DtkNmlSt.js";
13
+ import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DGo_V34u.js";
14
14
  const AdyenVerificationStatus = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -2,16 +2,16 @@
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] = "390ea4f5-635d-403c-bfdf-f695a8708536", e._sentryDebugIdIdentifier = "sentry-dbid-390ea4f5-635d-403c-bfdf-f695a8708536");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9d231bb1-fd43-4a1c-9eba-f76a42d3ee06", e._sentryDebugIdIdentifier = "sentry-dbid-9d231bb1-fd43-4a1c-9eba-f76a42d3ee06");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useReducer, useMemo } from "preact/hooks";
11
- import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b9 as individualComponentsKeyMapping, ba as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-DTssl0d2.js";
11
+ import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, at as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b5 as TrustedFieldsProviders, b8 as individualComponentsKeyMapping, b9 as businessDetailsComponentsKeyMapping, N as Typography, ba as DecisionMakerTypes, $ as TaskTypes, bb as Scenarios } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { jsx, jsxs } from "preact/jsx-runtime";
13
13
  import cx from "classnames";
14
- import { signal } from "@preact/signals";
14
+ import { signal, computed } from "@preact/signals";
15
15
  async function convertToSingpassLinkResponse(openIdInitiateResponse) {
16
16
  const response = await Promise.resolve(openIdInitiateResponse);
17
17
  const item = { authUrl: response.authUrl, success: true };
@@ -247,10 +247,57 @@ const LandingLayout = ({
247
247
  };
248
248
  const showIdNowModal = signal(false);
249
249
  const idNowModalChildEntityId = signal();
250
+ const shouldShowIdNowModal = computed(() => {
251
+ const idNowModalChildEntityIdValue = !!idNowModalChildEntityId.value;
252
+ return showIdNowModal.value && idNowModalChildEntityIdValue;
253
+ });
254
+ const removeIdVerificationProblemsForBafinSignatory = (problems) => {
255
+ const newProblems = structuredClone(problems);
256
+ if (Array.isArray(newProblems.missingData)) {
257
+ newProblems.missingData = newProblems.missingData.filter(
258
+ (item) => !item.remediatingActions?.some((action) => action.code === "1_301")
259
+ );
260
+ }
261
+ if (newProblems.remediationActions?.["1_301"]) {
262
+ delete newProblems.remediationActions["1_301"];
263
+ }
264
+ if (newProblems.verificationErrors?.idVerificationMethod) {
265
+ delete newProblems.verificationErrors.idVerificationMethod;
266
+ }
267
+ const formsToClean = [
268
+ "basicDetails",
269
+ "additionalPersonalDetails"
270
+ ];
271
+ formsToClean.forEach((formName) => {
272
+ const subErrors = newProblems.verificationErrors?.[formName]?.["1_30"]?.["1_3000"];
273
+ if (newProblems.verificationErrors?.[formName]?.["1_30"] && Array.isArray(subErrors)) {
274
+ newProblems.verificationErrors[formName]["1_30"]["1_3000"] = subErrors.filter(
275
+ (error) => error.code !== "1_301"
276
+ );
277
+ }
278
+ });
279
+ return newProblems;
280
+ };
281
+ const isLegalEntityAssociation = (data) => "legalEntityId" in data;
282
+ const isBafinSignatoryFlow = ({
283
+ taskType,
284
+ data,
285
+ scenarios
286
+ }) => {
287
+ if (!data || !scenarios) return false;
288
+ const isSignatory = isLegalEntityAssociation(data) ? data.type === DecisionMakerTypes.SIGNATORY : data.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY);
289
+ if (taskType === TaskTypes.DECISION_MAKER && isSignatory) {
290
+ return scenarios.includes(Scenarios.L_BAFIN);
291
+ }
292
+ return false;
293
+ };
250
294
  export {
251
295
  LandingLayout as L,
252
296
  StackLayout as S,
253
- idNowModalChildEntityId as i,
297
+ idNowModalChildEntityId as a,
298
+ shouldShowIdNowModal as b,
299
+ isBafinSignatoryFlow as i,
300
+ removeIdVerificationProblemsForBafinSignatory as r,
254
301
  showIdNowModal as s,
255
302
  useSingpassMyInfoLogin as u
256
303
  };
@@ -2,13 +2,13 @@
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] = "7682d4f2-aff2-4420-bac7-5babba4b31d2", e._sentryDebugIdIdentifier = "sentry-dbid-7682d4f2-aff2-4420-bac7-5babba4b31d2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e30bf000-f8af-4446-9168-c684c21edd52", e._sentryDebugIdIdentifier = "sentry-dbid-e30bf000-f8af-4446-9168-c684c21edd52");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/compat/jsx-runtime";
11
- const SvgDigitalWalletWithLocalCurrencies = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 1000 1000", role: "img", ...props, children: [
11
+ const SvgDigitalWallet = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 1000 1000", role: "img", ...props, children: [
12
12
  /* @__PURE__ */ jsxs("g", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, clipPath: "url(#digital-wallet-with-local-currencies_svg__a)", children: [
13
13
  /* @__PURE__ */ jsx("path", { fill: "#D1D5DA", stroke: "#00112C", d: "m649.82 254.1-29.17-3.73a52.4 52.4 0 0 0-31.92 6.03L173.55 483.17a87.9 87.9 0 0 0-43.32 97.84l68.01 280.67a52.7 52.7 0 0 0 43.89 39.81h.04l.15.02 29.9 3.83z" }),
14
14
  /* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", d: "m762.44 574.68-68.01-280.67c-8.16-33.69-46.06-50.47-76.49-33.87L202.77 486.91a87.9 87.9 0 0 0-43.32 97.84l68.01 280.67c8.16 33.69 46.06 50.47 76.49 33.87l415.17-226.76a87.9 87.9 0 0 0 43.32-97.84z" }),
@@ -42,5 +42,5 @@ const SvgDigitalWalletWithLocalCurrencies = (props) => /* @__PURE__ */ jsxs("svg
42
42
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "digital-wallet-with-local-currencies_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M127 76h745.24v848.59H127z" }) }) })
43
43
  ] });
44
44
  export {
45
- SvgDigitalWalletWithLocalCurrencies as default
45
+ SvgDigitalWallet as default
46
46
  };
@@ -0,0 +1,31 @@
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] = "d0e4aa6c-8a12-4426-b544-8646ffa5f01f", e._sentryDebugIdIdentifier = "sentry-dbid-d0e4aa6c-8a12-4426-b544-8646ffa5f01f");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ const enUS = {
11
+ addAccount: "Add account with ",
12
+ addDetails: "Add details with",
13
+ completed: "Completed",
14
+ loading: "Loading",
15
+ noOptionsFound: "No options found",
16
+ notCompleted: "Not completed",
17
+ remove: "Remove",
18
+ retrieveMyinfo: "Retrieve Myinfo with",
19
+ retrieveMyinfoBusiness: "Retrieve Myinfo business with",
20
+ stepNumberStatus: "Step %{stepNumber}: %{status}",
21
+ stepXofY: "Step %{currentStep} of %{totalSteps}",
22
+ taskComplete: "Task complete",
23
+ taskHasErrors: "Task has errors",
24
+ taskInProgress: "Task in progress",
25
+ undoWithTimer: "Undo... %{secondsLeft}",
26
+ xCharactersLeft: "%{charactersLeft} characters left",
27
+ XOfYSteps: "%{currentStep} of %{totalSteps} "
28
+ };
29
+ export {
30
+ enUS as default
31
+ };
@@ -2,12 +2,12 @@
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] = "c56e84e0-e52a-433a-aa9d-84a9033c06d8", e._sentryDebugIdIdentifier = "sentry-dbid-c56e84e0-e52a-433a-aa9d-84a9033c06d8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6af7d874-faa8-40a3-bfda-c1a45966973b", e._sentryDebugIdIdentifier = "sentry-dbid-6af7d874-faa8-40a3-bfda-c1a45966973b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { dK as getNestedPropertyKeys } from "./StoreProvider-DTssl0d2.js";
10
+ import { dL as getNestedPropertyKeys } from "./StoreProvider-BK6S-tUB.js";
11
11
  const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
12
12
  const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
13
13
  const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));