@adyen/kyc-components 3.69.2 → 3.70.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-uuOIbTbu.js → AcceptTermsOfServiceComponent-BFnFs9-A.js} +2 -2
  2. package/dist/{AccountSetupRejected-DfumYvDY.js → AccountSetupRejected-DoFSW8-b.js} +3 -3
  3. package/dist/{BusinessTypeSelection-DSYpIVjd.js → BusinessTypeSelection-CV6SwT-Z.js} +4 -4
  4. package/dist/{CXEL7IU7-DOMbRnMv.js → CXEL7IU7-DntsPaET.js} +3 -3
  5. package/dist/{CreateIndividualComponent-B_KRyA54.js → CreateIndividualComponent-DN4rTHB3.js} +4 -4
  6. package/dist/{CustomerSupport-DN4FePLw.js → CustomerSupport-BUQvUmpN.js} +3 -3
  7. package/dist/{DebugModal-Cr4lgdwf.js → DebugModal-CsYQDZty.js} +9 -8
  8. package/dist/{DecisionMakers-Ct5sydeB.js → DecisionMakers-DsTinc1o.js} +4 -4
  9. package/dist/{EmbedShell-CcY7J5Ka.js → EmbedShell-BBbrObyW.js} +4 -4
  10. package/dist/{EventEmitter-B1hFUO9K.js → EventEmitter-FG15aEsR.js} +364 -351
  11. package/dist/{HASRA6WW-CBeULcOL.js → HASRA6WW-BZE17t4g.js} +2 -2
  12. package/dist/{I3HPI4QX-D2A4yF_s.js → I3HPI4QX-BFra40pW.js} +3 -3
  13. package/dist/{Introduction-DFbJLMaj.js → Introduction-D3gT4-kD.js} +3 -3
  14. package/dist/{Review-RQfZnNWA.js → Review-qnfkL7dh.js} +3 -3
  15. package/dist/{SingpassSelection-BeU-t-e6.js → SingpassSelection-CK5BYG8q.js} +2 -2
  16. package/dist/{TaxReportingDropin-GRg57bbo.js → TaxReportingDropin-CVMaQqSY.js} +4 -4
  17. package/dist/adyen-kyc-components.js +1 -1
  18. package/dist/adyenConfig.js +3 -3
  19. package/dist/{core-Cz8cuSX9.js → core-202iBEOY.js} +401 -154
  20. package/dist/{css-BrW9cg3e.js → css-pl6HHZXq.js} +1 -1
  21. package/dist/individual.js +8 -5
  22. package/dist/{json-DXzvRYRI.js → json-B5JUe6kg.js} +1 -1
  23. package/dist/{listToRecord-qo_EQkgv.js → listToRecord-BH14dipk.js} +2 -2
  24. package/dist/{plaintext-CMVVM8BS.js → plaintext-CQhQFzIT.js} +1 -1
  25. package/dist/style.css +6 -0
  26. package/dist/styles-CLV89_hH.js +6 -0
  27. package/dist/terms-of-service.js +8 -5
  28. package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +14 -0
  29. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +11 -0
  30. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -0
  31. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -0
  32. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.d.ts +2 -0
  33. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +8 -0
  34. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.d.ts +3 -0
  35. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +10 -0
  36. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  37. package/dist/types/context/ExperimentContext/types.d.ts +4 -0
  38. package/dist/types/embeds/utils.d.ts +2 -2
  39. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  40. package/dist/{utils-Do7EwrWz.js → utils-BF9grxx1.js} +7 -4
  41. package/dist/{yaml-D15-ZpJl.js → yaml-UEDDNlSR.js} +1 -1
  42. package/package.json +2 -1
@@ -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] = "f805f276-3236-4ec5-9be8-f9566e025c53", e._sentryDebugIdIdentifier = "sentry-dbid-f805f276-3236-4ec5-9be8-f9566e025c53");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d8115599-2603-496f-9131-58934cce35ab", e._sentryDebugIdIdentifier = "sentry-dbid-d8115599-2603-496f-9131-58934cce35ab");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useRef, useState, useEffect, useCallback } from "preact/hooks";
12
- import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, d$ as skipToken, Q as Icon, e0 as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d6 as Checkbox, cH as ActionBar, d5 as MaybeModal, D as ModalContent, F as ModalFooter, dJ as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-B1hFUO9K.js";
12
+ import { a as useApiContext, U as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, e1 as skipToken, R as Icon, e2 as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, o as useExperimentsContext, bk as useForm, W as Alert, H as Button, b9 as localizeDateString, L as LoaderWrapper, ba as Field, bb as Select, d8 as Checkbox, cJ as ActionBar, d7 as MaybeModal, E as ModalContent, G as ModalFooter, dL as StepProgressIndicator, Z as Spacer, K as LegalEntityType, al as getOwnSignatories, a5 as doesLegalEntityRequiresLegalRepresentative, a4 as getLegalRepresentative, cH as FormNavigation, J as useCoreContext, u as useLegalEntity, N as Loader, T as TaskTypes } from "./EventEmitter-FG15aEsR.js";
13
13
  import cx from "classnames";
14
14
  import { defineSlots } from "named-slots";
15
15
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
@@ -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] = "b0c167bd-7d13-4050-a157-d2e6f5bb90ee", e._sentryDebugIdIdentifier = "sentry-dbid-b0c167bd-7d13-4050-a157-d2e6f5bb90ee");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bf0bcb95-3de4-4f6c-8145-31aec0b9e3dd", e._sentryDebugIdIdentifier = "sentry-dbid-bf0bcb95-3de4-4f6c-8145-31aec0b9e3dd");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { i as useI18nContext, e0 as AlertIcon, bY as FormHeader } from "./EventEmitter-B1hFUO9K.js";
12
- import { D as DropinLayout } from "./core-Cz8cuSX9.js";
11
+ import { i as useI18nContext, e2 as AlertIcon, b_ as FormHeader } from "./EventEmitter-FG15aEsR.js";
12
+ import { D as DropinLayout } from "./core-202iBEOY.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -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] = "0458514f-1799-4b4a-b3b3-3e46f182d744", e._sentryDebugIdIdentifier = "sentry-dbid-0458514f-1799-4b4a-b3b3-3e46f182d744");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "34185574-992d-4d34-8f3c-d3cf816ff86b", e._sentryDebugIdIdentifier = "sentry-dbid-34185574-992d-4d34-8f3c-d3cf816ff86b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, e5 as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-B1hFUO9K.js";
13
- import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-B_KRyA54.js";
14
- import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-Cz8cuSX9.js";
12
+ import { u as useLegalEntity, N as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, o as useExperimentsContext, aq as getCapabilities, r as getLegalEntityCountry, K as LegalEntityType, bk as useForm, L as LoaderWrapper, F as Typography, ba as Field, e7 as EntityTypeRadioGroupCard, cB as RadioGroupCard, H as Button, Z as Spacer, R as Icon, a8 as hasSolePropInLegalEntity } from "./EventEmitter-FG15aEsR.js";
13
+ import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DN4rTHB3.js";
14
+ import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-202iBEOY.js";
15
15
  const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
16
16
  const getBusinessTypeExamplesForCountry = async (country) => {
17
17
  const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
@@ -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] = "94fe624e-932e-40b2-b83e-e463f4056380", e._sentryDebugIdIdentifier = "sentry-dbid-94fe624e-932e-40b2-b83e-e463f4056380");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "769b2554-a072-460e-974d-5644ea60a048", e._sentryDebugIdIdentifier = "sentry-dbid-769b2554-a072-460e-974d-5644ea60a048");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-CBeULcOL.js";
11
- import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-B1hFUO9K.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-BZE17t4g.js";
11
+ import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-FG15aEsR.js";
12
12
  var DevtoolsPanelComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -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] = "f3409d93-db17-4575-a824-4c73568b8e31", e._sentryDebugIdIdentifier = "sentry-dbid-f3409d93-db17-4575-a824-4c73568b8e31");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c8bc2d93-b8de-43e8-8d2a-a2d772bda250", e._sentryDebugIdIdentifier = "sentry-dbid-c8bc2d93-b8de-43e8-8d2a-a2d772bda250");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { a as useApiContext, b as useQuery, d as httpGet, e as useMutation, h as httpPost, R as useInvalidateRootLegalEntity, f as useQueryClient, dq as FormContext, $ as entriesOf, aC as objectsDeepEqual, c as createLogger, c5 as TrustedFieldsProvider, aL as businessDetailsApiKeyMapping, dr as individualApiKeyMapping, ds as remediationHasFileUploadField, dt as dataMissingRemediationsToFieldsMap, k as keysOf, n as useExperimentsContext, q as getLegalEntityCountry, C as CountryCodes, a6 as isPartOfTrustFromLegalEntity, J as LegalEntityType, a7 as hasSolePropInLegalEntity, du as individualComponentsKeyMapping, aE as businessDetailsComponentsKeyMapping, j as useAnalyticsContext, cE as summaryStep, dv as ValidationResult, dw as isNotEmptyValidator, H as isEmpty, I as useCoreContext, dx as AdyenKycSdkError, dy as hasText, dz as matchesRegex, dA as trimValWithOneSpace, dB as NO_ALPHABET_REGEX, dC as EMOJI_REGEX, dD as hasRepeatedCharacters, dE as isInvalidName, dF as INDIVIDUAL_VALID_CHAR_REGEX, dG as getFormattingRegEx, dH as SPECIAL_CHARS, dI as FormRouterContext, i as useI18nContext, d5 as MaybeModal, D as ModalContent, B as ModalHeader, L as LoaderWrapper, cF as FormNavigation, F as ModalFooter, dJ as StepProgressIndicator, G as Button, Y as Spacer, cG as Summary, U as httpDelete, bJ as getLocalizedIdDocumentTypeOptions, dK as isNewlyUploadedFile, T as TaskTypes, dL as remediationPayoutApiKeyMapping, dM as remediationBusinessDetailsApiKeyMapping, dN as remediationIndividualApiKeyMapping, dO as getNestedPropertyKeys, y as cloneObject, dP as isValueObscured, bB as isTruthyValidator, dQ as emailPattern, aS as resolveFieldMetadata, bC as getSSNType, bD as defaultFieldMetadata, bE as defaultFieldConfig, dR as defaultFieldMetadata$1, dS as fieldConfig, aX as defaultFieldMetadata$2, aZ as defaultFieldConfig$1, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, g as createFormRules, bI as allowedCountriesForNominee, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bK as Scenarios, b6 as reverseMapping, dT as getNomineeFromAssociation, aD as drop, l as useToastContext, o as useSettingsContext, cm as useProviderStatus, b2 as getAssociatedLeAnalyticsPayload, bA as addressValidators, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, dU as addressFormatters, cp as setHasMotionCaptureScenario, dV as individualForms, cd as showIndividualMotionCapture, cq as getAllowedDecisionMakerRoles, z as datasetUtilities, dW as Individual, ap as getCapabilities, aQ as filterOutUnwantedAssociationsIfRootLE, aO as mapAddressLabels, dX as individualDocumentForms, b8 as localizeDateString, dY as individualDocumentMapping, dZ as individualObscuredFields, a$ as getOwnEntityAssociations, cr as hasNomineesChanged, cs as attachNomineeToRole, b0 as doArraysMatch, u as useLegalEntity, K as Loader } from "./EventEmitter-B1hFUO9K.js";
11
+ import { a as useApiContext, b as useQuery, d as httpGet, e as useMutation, h as httpPost, U as useInvalidateRootLegalEntity, f as useQueryClient, ds as FormContext, a0 as entriesOf, aD as objectsDeepEqual, c as createLogger, c7 as TrustedFieldsProvider, aM as businessDetailsApiKeyMapping, dt as individualApiKeyMapping, du as remediationHasFileUploadField, dv as dataMissingRemediationsToFieldsMap, k as keysOf, o as useExperimentsContext, r as getLegalEntityCountry, C as CountryCodes, a7 as isPartOfTrustFromLegalEntity, K as LegalEntityType, a8 as hasSolePropInLegalEntity, dw as individualComponentsKeyMapping, aF as businessDetailsComponentsKeyMapping, j as useAnalyticsContext, cG as summaryStep, dx as ValidationResult, dy as isNotEmptyValidator, I as isEmpty, J as useCoreContext, dz as AdyenKycSdkError, dA as hasText, dB as matchesRegex, dC as trimValWithOneSpace, dD as NO_ALPHABET_REGEX, dE as EMOJI_REGEX, dF as hasRepeatedCharacters, dG as isInvalidName, dH as INDIVIDUAL_VALID_CHAR_REGEX, dI as getFormattingRegEx, dJ as SPECIAL_CHARS, dK as FormRouterContext, i as useI18nContext, d7 as MaybeModal, E as ModalContent, D as ModalHeader, L as LoaderWrapper, cH as FormNavigation, G as ModalFooter, dL as StepProgressIndicator, H as Button, Z as Spacer, cI as Summary, V as httpDelete, bL as getLocalizedIdDocumentTypeOptions, dM as isNewlyUploadedFile, T as TaskTypes, dN as remediationPayoutApiKeyMapping, dO as remediationBusinessDetailsApiKeyMapping, dP as remediationIndividualApiKeyMapping, dQ as getNestedPropertyKeys, z as cloneObject, dR as isValueObscured, bC as isTruthyValidator, dS as emailPattern, aT as resolveFieldMetadata, bD as getSSNType, bE as defaultFieldMetadata, bF as defaultFieldConfig, dT as defaultFieldMetadata$1, dU as fieldConfig, aY as defaultFieldMetadata$2, a_ as defaultFieldConfig$1, bG as getAgeToday, bH as euCountries, bI as DecisionMakerType, g as createFormRules, bK as allowedCountriesForNominee, bo as getAddressSchemaForCountry, bp as COUNTRIES_WITH_STATES_DATASET, bM as Scenarios, b7 as reverseMapping, dV as getNomineeFromAssociation, aE as drop, l as useToastContext, q as useSettingsContext, co as useProviderStatus, b3 as getAssociatedLeAnalyticsPayload, bB as addressValidators, cp as getAsyncIdNumberValidationRule, cq as getAsyncPhoneValidationRules, dW as addressFormatters, cr as setHasMotionCaptureScenario, dX as individualForms, cf as showIndividualMotionCapture, cs as getAllowedDecisionMakerRoles, A as datasetUtilities, dY as Individual, aq as getCapabilities, aR as filterOutUnwantedAssociationsIfRootLE, aP as mapAddressLabels, dZ as individualDocumentForms, b9 as localizeDateString, d_ as individualDocumentMapping, d$ as individualObscuredFields, b0 as getOwnEntityAssociations, ct as hasNomineesChanged, cu as attachNomineeToRole, b1 as doArraysMatch, u as useLegalEntity, N as Loader } from "./EventEmitter-FG15aEsR.js";
12
12
  import { useCallback, useMemo, useReducer, useState, useEffect } from "preact/hooks";
13
13
  const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
14
14
  const scenarioParams = new URLSearchParams({
@@ -901,10 +901,10 @@ function reducer({
901
901
  };
902
902
  }
903
903
  case "setRequiredFields": {
904
- const hasDefaultDataChanged = !objectsDeepEqual(defaultData, state.defaultData);
905
- if (objectsDeepEqual(requiredFields, clonedState.requiredFields) && objectsDeepEqual(newOptionalFields, clonedState.optionalFields) && !hasDefaultDataChanged) {
904
+ if (objectsDeepEqual(requiredFields, clonedState.requiredFields) && objectsDeepEqual(newOptionalFields, clonedState.optionalFields)) {
906
905
  return state;
907
906
  }
907
+ const hasDefaultDataChanged = !objectsDeepEqual(defaultData, state.defaultData);
908
908
  const updatedData = hasDefaultDataChanged ? defaultData : clonedState.data;
909
909
  const newState = init({
910
910
  requiredFields,
@@ -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] = "e502320b-79dd-4931-b0e6-142d95ad04c1", e._sentryDebugIdIdentifier = "sentry-dbid-e502320b-79dd-4931-b0e6-142d95ad04c1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "03726c64-98a9-4094-81d7-b37f66b38dba", e._sentryDebugIdIdentifier = "sentry-dbid-03726c64-98a9-4094-81d7-b37f66b38dba");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aS as resolveFieldMetadata, dR as defaultFieldMetadata, dS as fieldConfig, co as getAsyncPhoneValidationRules, bY as FormHeader, c9 as ContactDetails, cH as ActionBar, c as createLogger } from "./EventEmitter-B1hFUO9K.js";
11
+ import { u as useLegalEntity, N as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aT as resolveFieldMetadata, dT as defaultFieldMetadata, dU as fieldConfig, cq as getAsyncPhoneValidationRules, b_ as FormHeader, cb as ContactDetails, cJ as ActionBar, c as createLogger } from "./EventEmitter-FG15aEsR.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, L as useValidatePhoneNumberImperatively, N as useMultiForm } from "./CreateIndividualComponent-B_KRyA54.js";
13
+ import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, L as useValidatePhoneNumberImperatively, N as useMultiForm } from "./CreateIndividualComponent-DN4rTHB3.js";
14
14
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
15
15
  var _a, _b, _c;
16
16
  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] = "4c0d55ca-95b4-457a-aa49-26979db6554f", e._sentryDebugIdIdentifier = "sentry-dbid-4c0d55ca-95b4-457a-aa49-26979db6554f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a5182490-7da6-4aa2-8b40-2193f05da9e1", e._sentryDebugIdIdentifier = "sentry-dbid-a5182490-7da6-4aa2-8b40-2193f05da9e1");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useState } from "preact/hooks";
12
- import { G as Button, $ as entriesOf, bd as InputText, i as useI18nContext, e1 as splitTaskIdentifier, n as useExperimentsContext, o as useSettingsContext, cu as useGlobalStore, e2 as valuesOf, e3 as useTaskStatuses, M as Modal, c as createLogger, Q as Icon, S as SettingNames } from "./EventEmitter-B1hFUO9K.js";
13
- import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-qo_EQkgv.js";
12
+ import { H as Button, a0 as entriesOf, be as InputText, i as useI18nContext, e3 as splitTaskIdentifier, o as useExperimentsContext, q as useSettingsContext, cw as useGlobalStore, e4 as valuesOf, e5 as useTaskStatuses, M as Modal, c as createLogger, R as Icon, S as SettingNames } from "./EventEmitter-FG15aEsR.js";
13
+ import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BH14dipk.js";
14
14
  var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
15
15
  ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
16
16
  ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
@@ -38,6 +38,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
38
38
  ExperimentNames2["EnableCheckOnCreateBankAccount"] = "EnableCheckOnCreateBankAccount";
39
39
  ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
40
40
  ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
41
+ ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
41
42
  ExperimentNames2["CredentialBankingWeightage_EmphasizeCredentialBankingFlow"] = "CredentialBankingWeightage_EmphasizeCredentialBankingFlow";
42
43
  return ExperimentNames2;
43
44
  })(ExperimentNames || {});
@@ -175,10 +176,10 @@ const transformModule = (highlights, codeNode, scope) => {
175
176
  };
176
177
  const supportedModules = ["plaintext", "json", "yaml", "css"];
177
178
  const moduleMap = {
178
- plaintext: () => import("./plaintext-CMVVM8BS.js"),
179
- json: () => import("./json-DXzvRYRI.js"),
180
- yaml: () => import("./yaml-D15-ZpJl.js"),
181
- css: () => import("./css-BrW9cg3e.js")
179
+ plaintext: () => import("./plaintext-CQhQFzIT.js"),
180
+ json: () => import("./json-B5JUe6kg.js"),
181
+ yaml: () => import("./yaml-UEDDNlSR.js"),
182
+ css: () => import("./css-pl6HHZXq.js")
182
183
  };
183
184
  const getModule = async (name) => {
184
185
  if (!supportedModules.includes(name)) {
@@ -469,7 +470,7 @@ const DebugModal = ({ onExit }) => {
469
470
  const [tab, setTab] = useState("metadata");
470
471
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
471
472
  const metadata = {
472
- sdkVersion: "3.69.2",
473
+ sdkVersion: "3.70.0-beta.1",
473
474
  locale: i18n.locale,
474
475
  rootLegalEntityId: rootLegalEntity.id
475
476
  };
@@ -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] = "7bf568c4-5d46-4391-9508-bcbe4f97099b", e._sentryDebugIdIdentifier = "sentry-dbid-7bf568c4-5d46-4391-9508-bcbe4f97099b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f1b63eb4-7ad0-40eb-8b50-9dae814d2a36", e._sentryDebugIdIdentifier = "sentry-dbid-f1b63eb4-7ad0-40eb-8b50-9dae814d2a36");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { u as useLegalEntity, K as Loader, ai as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, d4 as getOwnDecisionMakers, e6 as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cq as getAllowedDecisionMakerRoles, bY as FormHeader, c4 as ContextGuidance, bH as DecisionMakerType, V as Alert, af as CardGroup, G as Button, cH as ActionBar } from "./EventEmitter-B1hFUO9K.js";
13
- import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-B_KRyA54.js";
14
- import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-Cz8cuSX9.js";
12
+ import { u as useLegalEntity, N as Loader, aj as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, d6 as getOwnDecisionMakers, bJ as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cs as getAllowedDecisionMakerRoles, b_ as FormHeader, c6 as ContextGuidance, bI as DecisionMakerType, W as Alert, ag as CardGroup, H as Button, cJ as ActionBar } from "./EventEmitter-FG15aEsR.js";
13
+ import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DN4rTHB3.js";
14
+ import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-202iBEOY.js";
15
15
  const DecisionMakers = (props) => {
16
16
  const { data, isLoading } = useLegalEntity();
17
17
  if (isLoading || !data) {
@@ -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] = "ca1d072b-597c-46cc-9b41-28e921cb90d4", e._sentryDebugIdIdentifier = "sentry-dbid-ca1d072b-597c-46cc-9b41-28e921cb90d4");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8798c446-2e86-4d35-a461-077947d63211", e._sentryDebugIdIdentifier = "sentry-dbid-8798c446-2e86-4d35-a461-077947d63211");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
- import { d_ as refreshSession, G as Button, K as Loader, da as SettingsProvider, db as ExperimentsContextProvider, dc as ApiProvider, dd as QueryClientProvider, de as StoreProvider, df as AnalyticsProvider, dg as CoreProvider, dh as I18nProvider, d9 as EventEmitter, di as DebugListener, dj as ToastContextProvider, dk as StateProvider, dl as ReactQueryDevtools2, dp as setSdkTokenHandler } from "./EventEmitter-B1hFUO9K.js";
11
+ import { e0 as refreshSession, H as Button, N as Loader, dc as SettingsProvider, dd as ExperimentsContextProvider, de as ApiProvider, df as QueryClientProvider, dg as StoreProvider, dh as AnalyticsProvider, di as CoreProvider, dj as I18nProvider, db as EventEmitter, dk as DebugListener, dl as ToastContextProvider, dm as StateProvider, dn as ReactQueryDevtools2, dr as setSdkTokenHandler } from "./EventEmitter-FG15aEsR.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  function injectCss(shadowRoot) {
14
14
  {
@@ -37,7 +37,7 @@ const EmbedShell = ({
37
37
  }) => {
38
38
  const eventEmitter = new EventEmitter();
39
39
  const [isLoading, setIsLoading] = useState(true);
40
- const [hasError, setHasError] = useState(true);
40
+ const [hasError, setHasError] = useState(false);
41
41
  setSdkTokenHandler(getSdkToken);
42
42
  useEffect(() => {
43
43
  refreshSession().then((hasRefreshed) => {
@@ -58,7 +58,7 @@ const EmbedShell = ({
58
58
  }
59
59
  return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
60
60
  /* @__PURE__ */ jsxs(StoreProvider, { children: [
61
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.69.2" }),
61
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.0-beta.1" }),
62
62
  /* @__PURE__ */ jsx(
63
63
  AnalyticsProvider,
64
64
  {