@adyen/kyc-components 3.69.1 → 3.70.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Cnv5ZPl5.js → AcceptTermsOfServiceComponent-DGnbaEif.js} +2 -2
  2. package/dist/{AccountSetupRejected-CghDwOps.js → AccountSetupRejected-BUjkuj8y.js} +3 -3
  3. package/dist/{BusinessTypeSelection-DeZuB2cX.js → BusinessTypeSelection-DqYdtKWT.js} +4 -4
  4. package/dist/{CXEL7IU7-HK-98F6d.js → CXEL7IU7-D4uuriQj.js} +2 -2
  5. package/dist/{CreateIndividualComponent-CXcGc6Fg.js → CreateIndividualComponent-DArsdfFf.js} +2 -2
  6. package/dist/{CustomerSupport-BWMKG7BY.js → CustomerSupport-Dt_GbO2W.js} +3 -3
  7. package/dist/{DebugModal-DlUYp71H.js → DebugModal-DqSAxc2y.js} +9 -8
  8. package/dist/{DecisionMakers-jM2qEJYz.js → DecisionMakers-DCP-NbPE.js} +4 -4
  9. package/dist/{EmbedShell-CAeuW7V3.js → EmbedShell-D1F1J3bv.js} +4 -4
  10. package/dist/{EventEmitter-BdbTrGMk.js → EventEmitter-B5nDiK-t.js} +173 -162
  11. package/dist/{HASRA6WW-Bu-29-oR.js → HASRA6WW-yCLwR-7b.js} +1 -1
  12. package/dist/{I3HPI4QX-DB3vUJvp.js → I3HPI4QX-DmhzJNXt.js} +2 -2
  13. package/dist/{Introduction-BleGRaa4.js → Introduction-Dhm3WEef.js} +3 -3
  14. package/dist/{Review-B8zggWg2.js → Review-B5Drv-UX.js} +3 -3
  15. package/dist/{SingpassSelection-DC-hVP9Y.js → SingpassSelection-Djfz5Puu.js} +2 -2
  16. package/dist/{TaxReportingDropin-DqSPuzE8.js → TaxReportingDropin-CpStwino.js} +4 -4
  17. package/dist/adyen-kyc-components.js +1 -1
  18. package/dist/adyenConfig.js +1 -1
  19. package/dist/{core-B13TZF_D.js → core-BY7J00UO.js} +401 -153
  20. package/dist/{css-D1NPnwah.js → css-CWOdPM3V.js} +1 -1
  21. package/dist/individual.js +2 -2
  22. package/dist/{json-BfY90MIx.js → json-B7P51psT.js} +1 -1
  23. package/dist/{listToRecord-CAqI3h_G.js → listToRecord-BwWy8lby.js} +1 -1
  24. package/dist/{plaintext-BtvmsVMu.js → plaintext-C3KsPoAZ.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 +2 -2
  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/utils/entityStatusUtil.d.ts +1 -1
  39. package/dist/{yaml-DdX1lwgo.js → yaml-Cv3Lis4l.js} +1 -1
  40. package/package.json +2 -1
@@ -2,18 +2,18 @@
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] = "26f04b86-7dcf-405a-b429-ceda429a2e66", e._sentryDebugIdIdentifier = "sentry-dbid-26f04b86-7dcf-405a-b429-ceda429a2e66");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0cca162f-9363-4031-956c-7b6594216dc7", e._sentryDebugIdIdentifier = "sentry-dbid-0cca162f-9363-4031-956c-7b6594216dc7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as useInvalidateRootLegalEntity, U as httpDelete, V as Alert, W as Card, X as StructuredList, Y as Spacer, Z as IconButton, _ as Confirm, $ as entriesOf, a0 as useDataset, a1 as datasetIdentifier, a2 as useLocalStorage, a3 as getLegalRepresentative, a4 as doesLegalEntityRequiresLegalRepresentative, a5 as ProviderButton, a6 as isPartOfTrustFromLegalEntity, a7 as hasSolePropInLegalEntity, a8 as hasOwnEntityAssociationOfType, a9 as isEmptyEntity, aa as CompanyTypesValue, ab as EntityType, ac as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ad as handleKeys, ae as noop, af as CardGroup, ag as useSetting, ah as useTasks, ai as useGetTaskStatus, aj as isPartOfUnincorporatedPartnership, ak as getOwnSignatories, al as getOwnDecisionMakersLegalEntityIds, am as getOwnSolePropProblems, an as getOwnTrustProblems, ao as getOwnUnincorporatedPartnershipProblems, ap as getCapabilities, aq as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES, ar as MemoizedDocumentUpload, as as List, at as useGlobalData, au as getForms, av as BasicInformation, aw as getFormProps, ax as CompanyStructure, ay as AdditionalInformation, az as MemoizedConstitutionalDocument, aA as FinancialInformation, aB as StateCodesUS, aC as objectsDeepEqual, aD as drop, aE as businessDetailsComponentsKeyMapping, aF as solePropBusinessDetailsKeyMapping, aG as operationalAddressIsSameIds, aH as COUNTRIES_USING_COMPANY_SEARCH, aI as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aJ as isUndefinedOrNull, aK as solePropBusinessDetailsApiKeyMapping, aL as businessDetailsApiKeyMapping, aM as isEmpty$1, aN as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aO as mapAddressLabels, aP as companyTypeMetadata, aQ as filterOutUnwantedAssociationsIfRootLE, aR as documentFormsIds, aS as resolveFieldMetadata, aT as defaultFieldMetadata, aU as inferCompanyRegistrationNumberType, aV as getCompanyRegistrationNumberOptions, aW as defaultFieldConfig, aX as defaultFieldMetadata$1, aY as countryToTaxInfoTypeMap, aZ as defaultFieldConfig$1, a_ as getKeyForField, a$ as getOwnEntityAssociations, b0 as doArraysMatch, b1 as setIsBankAccountRequestedForOrganization, b2 as getAssociatedLeAnalyticsPayload, b3 as rules$2, b4 as solePropBusinessDetailsDocumentMapping, b5 as businessDetailsDocumentMapping, b6 as reverseMapping, b7 as eeaCountries, b8 as localizeDateString, b9 as Field, ba as Select, bb as RadioGroup, bc as Link, bd as InputText, be as InputNumber, bf as InputDate, bg as Currency, bh as CURRENCY_FIELD, bi as InputCurrency, bj as useForm, bk as useGlobalDataSlice, bl as ErrorPanel, bm as createFormUtils, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bp as Address, bq as getAddressSchemaLabelsByCountry, br as Currencies, bs as InputGroup, bt as TextArea, bu as CountryField, bv as useId, bw as KEYBOARD_KEYS, bx as Svg, by as Dropzone, bz as useLegalEntities, bA as addressValidators, bB as isTruthyValidator, bC as getSSNType, bD as defaultFieldMetadata$2, bE as defaultFieldConfig$2, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, bI as allowedCountriesForNominee, bJ as getLocalizedIdDocumentTypeOptions, bK as Scenarios, bL as licenseCardNumberDefaultMetadata, bM as licenseCardNumberDefaultConfig, bN as mergeFieldMetadataIntoProps, bO as useFormContext, bP as getFieldProps, bQ as idNumberFields, bR as IdentityNumber, bS as additionallIdNumberOptions, bT as MaskedInput, bU as formatDateObj, bV as DriversLicense, bW as addressFields, bX as getDefaultTaxIdNumberType, bY as FormHeader, bZ as IndividualIdNumberTypeSelector, b_ as TaxInformationField, b$ as PatriotActDisclosure, c0 as nameFields, c1 as decisionMakerRoleFields, c2 as nomineeFields, c3 as contactDetailFields, c4 as ContextGuidance, c5 as TrustedFieldsProvider, c6 as DecisionMakerRole, c7 as NomineeDecisionMakerRole, c8 as Name, c9 as ContactDetails, ca as RadioWithLabel, cb as pick, cc as IdVerification, cd as showIndividualMotionCapture, ce as IdDocumentManualUpload, cf as idDocumentUploadFields, cg as useFormRouterContext, ch as setShowIndividualMotionCapture, ci as shouldShowMotionCapture, cj as hasMotionCaptureScenario, ck as MemoizedProofOfRelationship, cl as MemoizedProofOfResidencyUpload, cm as useProviderStatus, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, cp as setHasMotionCaptureScenario, cq as getAllowedDecisionMakerRoles, cr as hasNomineesChanged, cs as attachNomineeToRole, ct as TrustMemberTypes, cu as useGlobalStore, cv as defaultFieldMetadata$3, cw as defaultFieldConfig$3, cx as MultiSelectList, cy as makeSelectItemForRole, cz as RadioGroupCard, cA as COUNTRY_FIELD, cB as LegalCompanyNameField, cC as LEGAL_COMPANY_NAME_FIELD, cD as getRoleName, cE as summaryStep, cF as FormNavigation, cG as Summary, cH as ActionBar, cI as updateTaxInformation, cJ as TrustTypes, cK as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, cL as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, cM as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, cN as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, cO as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, cP as trustComponentsKeyMapping, cQ as trustApiKeyMapping, cR as trustDocumentMapping, cS as trustForms, cT as Trust, cU as trustTypeOptions, cV as trustConstitutionalDocumentFormId, cW as UnincorporatedPartnershipMemberTypes, cX as getDecisionMakerDescriptionMap, cY as TRUST_DEFAULT_DESCRIPTIONS_MAP, cZ as getRoleTagVariant, c_ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, c$ as deleteUnincorporatedPartnershipMember, d0 as mapEntityAssociationsToUnincorporatedPartnershipMembers, d1 as hasAllCapabilitiesResolved, d2 as hasRejectedCapabilities, d3 as getPayoutAccountHolderName, d4 as getOwnDecisionMakers, d5 as MaybeModal, d6 as Checkbox, d7 as listify, d8 as uuidv4, d9 as EventEmitter, da as SettingsProvider, db as ExperimentsContextProvider, dc as ApiProvider, dd as QueryClientProvider, de as StoreProvider, df as AnalyticsProvider, dg as CoreProvider, dh as I18nProvider, di as DebugListener, dj as ToastContextProvider, dk as StateProvider, dl as ReactQueryDevtools2, dm as FALLBACK_LOCALE, dn as setSdkToken, dp as setSdkTokenHandler } from "./EventEmitter-BdbTrGMk.js";
11
- import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-Cnv5ZPl5.js";
12
- import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useValidatePhoneNumberImperatively, M as useVerifyIdNumber, N as useMultiForm, O as useScenarios, P as mandateIdVerificationForMotionCapture, Q as mapApiDocumentToIndividualDocuments, R as useIdVerificationStartCheck, T as FormContextProvider, U as mapIndividualDocumentToApiDocument, V as mergeAttachments, W as onfidoDocumentTypeMapping, X as IndividualDropin, Y as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-CXcGc6Fg.js";
10
+ import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as useInvalidateRootLegalEntity, U as httpDelete, V as Alert, W as Card, X as StructuredList, Y as Spacer, Z as IconButton, _ as Confirm, $ as entriesOf, a0 as useDataset, a1 as datasetIdentifier, a2 as useLocalStorage, a3 as getLegalRepresentative, a4 as doesLegalEntityRequiresLegalRepresentative, a5 as ProviderButton, a6 as isPartOfTrustFromLegalEntity, a7 as hasSolePropInLegalEntity, a8 as hasOwnEntityAssociationOfType, a9 as isEmptyEntity, aa as CompanyTypesValue, ab as EntityType, ac as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ad as handleKeys, ae as noop, af as CardGroup, ag as useSetting, ah as useTasks, ai as useGetTaskStatus, aj as isPartOfUnincorporatedPartnership, ak as getOwnSignatories, al as getOwnDecisionMakersLegalEntityIds, am as getOwnSolePropProblems, an as getOwnTrustProblems, ao as getOwnUnincorporatedPartnershipProblems, ap as getCapabilities, aq as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES, ar as MemoizedDocumentUpload, as as List, at as useGlobalData, au as getForms, av as BasicInformation, aw as getFormProps, ax as CompanyStructure, ay as AdditionalInformation, az as MemoizedConstitutionalDocument, aA as FinancialInformation, aB as StateCodesUS, aC as objectsDeepEqual, aD as drop, aE as businessDetailsComponentsKeyMapping, aF as solePropBusinessDetailsKeyMapping, aG as operationalAddressIsSameIds, aH as COUNTRIES_USING_COMPANY_SEARCH, aI as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aJ as isUndefinedOrNull, aK as solePropBusinessDetailsApiKeyMapping, aL as businessDetailsApiKeyMapping, aM as isEmpty$1, aN as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aO as mapAddressLabels, aP as companyTypeMetadata, aQ as filterOutUnwantedAssociationsIfRootLE, aR as documentFormsIds, aS as resolveFieldMetadata, aT as defaultFieldMetadata, aU as inferCompanyRegistrationNumberType, aV as getCompanyRegistrationNumberOptions, aW as defaultFieldConfig, aX as defaultFieldMetadata$1, aY as countryToTaxInfoTypeMap, aZ as defaultFieldConfig$1, a_ as getKeyForField, a$ as getOwnEntityAssociations, b0 as doArraysMatch, b1 as setIsBankAccountRequestedForOrganization, b2 as getAssociatedLeAnalyticsPayload, b3 as rules$2, b4 as solePropBusinessDetailsDocumentMapping, b5 as businessDetailsDocumentMapping, b6 as reverseMapping, b7 as eeaCountries, b8 as localizeDateString, b9 as Field, ba as Select, bb as RadioGroup, bc as Link, bd as InputText, be as InputNumber, bf as InputDate, bg as Currency, bh as CURRENCY_FIELD, bi as InputCurrency, bj as useForm, bk as useGlobalDataSlice, bl as ErrorPanel, bm as createFormUtils, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bp as Address, bq as getAddressSchemaLabelsByCountry, br as Currencies, bs as InputGroup, bt as TextArea, bu as CountryField, bv as useId, bw as KEYBOARD_KEYS, bx as Svg, by as Dropzone, bz as useLegalEntities, bA as addressValidators, bB as isTruthyValidator, bC as getSSNType, bD as defaultFieldMetadata$2, bE as defaultFieldConfig$2, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, bI as getAvailableDecisionMakerRoleTypes, bJ as allowedCountriesForNominee, bK as getLocalizedIdDocumentTypeOptions, bL as Scenarios, bM as licenseCardNumberDefaultMetadata, bN as licenseCardNumberDefaultConfig, bO as mergeFieldMetadataIntoProps, bP as useFormContext, bQ as getFieldProps, bR as idNumberFields, bS as IdentityNumber, bT as additionallIdNumberOptions, bU as MaskedInput, bV as formatDateObj, bW as DriversLicense, bX as addressFields, bY as getDefaultTaxIdNumberType, bZ as FormHeader, b_ as IndividualIdNumberTypeSelector, b$ as TaxInformationField, c0 as PatriotActDisclosure, c1 as nameFields, c2 as decisionMakerRoleFields, c3 as nomineeFields, c4 as contactDetailFields, c5 as ContextGuidance, c6 as TrustedFieldsProvider, c7 as DecisionMakerRole, c8 as NomineeDecisionMakerRole, c9 as Name, ca as ContactDetails, cb as RadioWithLabel, cc as pick, cd as IdVerification, ce as showIndividualMotionCapture, cf as IdDocumentManualUpload, cg as idDocumentUploadFields, ch as useFormRouterContext, ci as setShowIndividualMotionCapture, cj as shouldShowMotionCapture, ck as hasMotionCaptureScenario, cl as MemoizedProofOfRelationship, cm as MemoizedProofOfResidencyUpload, cn as useProviderStatus, co as getAsyncIdNumberValidationRule, cp as getAsyncPhoneValidationRules, cq as setHasMotionCaptureScenario, cr as getAllowedDecisionMakerRoles, cs as hasNomineesChanged, ct as attachNomineeToRole, cu as TrustMemberTypes, cv as useGlobalStore, cw as defaultFieldMetadata$3, cx as defaultFieldConfig$3, cy as MultiSelectList, cz as makeSelectItemForRole, cA as RadioGroupCard, cB as COUNTRY_FIELD, cC as LegalCompanyNameField, cD as LEGAL_COMPANY_NAME_FIELD, cE as getRoleName, cF as summaryStep, cG as FormNavigation, cH as Summary, cI as ActionBar, cJ as updateTaxInformation, cK as TrustTypes, cL as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, cM as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, cN as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, cO as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, cP as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, cQ as trustComponentsKeyMapping, cR as trustApiKeyMapping, cS as trustDocumentMapping, cT as trustForms, cU as Trust, cV as trustTypeOptions, cW as trustConstitutionalDocumentFormId, cX as UnincorporatedPartnershipMemberTypes, cY as getDecisionMakerDescriptionMap, cZ as TRUST_DEFAULT_DESCRIPTIONS_MAP, c_ as getRoleTagVariant, c$ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, d0 as deleteUnincorporatedPartnershipMember, d1 as mapEntityAssociationsToUnincorporatedPartnershipMembers, d2 as hasAllCapabilitiesResolved, d3 as hasRejectedCapabilities, d4 as getPayoutAccountHolderName, d5 as getOwnDecisionMakers, d6 as MaybeModal, d7 as Checkbox, d8 as listify, d9 as uuidv4, da as EventEmitter, db as SettingsProvider, dc as ExperimentsContextProvider, dd as ApiProvider, de as QueryClientProvider, df as StoreProvider, dg as AnalyticsProvider, dh as CoreProvider, di as I18nProvider, dj as DebugListener, dk as ToastContextProvider, dl as StateProvider, dm as ReactQueryDevtools2, dn as FALLBACK_LOCALE, dp as setSdkToken, dq as setSdkTokenHandler } from "./EventEmitter-B5nDiK-t.js";
11
+ import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DGnbaEif.js";
12
+ import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useValidatePhoneNumberImperatively, M as useVerifyIdNumber, N as useMultiForm, O as useScenarios, P as mandateIdVerificationForMotionCapture, Q as mapApiDocumentToIndividualDocuments, R as useIdVerificationStartCheck, T as FormContextProvider, U as mapIndividualDocumentToApiDocument, V as mergeAttachments, W as onfidoDocumentTypeMapping, X as IndividualDropin, Y as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-DArsdfFf.js";
13
13
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
14
14
  import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
15
15
  import cx from "classnames";
16
- import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-CAqI3h_G.js";
16
+ import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BwWy8lby.js";
17
17
  import { lazy, Suspense } from "preact/compat";
18
18
  import { signal } from "@preact/signals";
19
19
  import isURL from "validator/es/lib/isURL.js";
@@ -47,12 +47,12 @@ const getCheck = async (legalEntityId, baseUrl, data) => {
47
47
  data
48
48
  );
49
49
  };
50
- const useCheck = (data, options) => {
50
+ const useCheck = (data, options2) => {
51
51
  const { rootLegalEntityId, baseUrl: url } = useApiContext();
52
52
  return useQuery({
53
53
  queryKey: ["checkAsAService", data],
54
54
  queryFn: () => getCheck(rootLegalEntityId.value, url.value, data),
55
- ...options
55
+ ...options2
56
56
  });
57
57
  };
58
58
  const getBankVerificationProviders = async (legalEntityId, baseUrl, queryParams) => {
@@ -67,12 +67,12 @@ const getBankVerificationProviders = async (legalEntityId, baseUrl, queryParams)
67
67
  path: `legalEntities/${legalEntityId}/transferInstruments/trusted/providers?${providerParams}`
68
68
  });
69
69
  };
70
- const useBankVerificationProviders = (queryParams, options) => {
70
+ const useBankVerificationProviders = (queryParams, options2) => {
71
71
  const { rootLegalEntityId, baseUrl } = useApiContext();
72
72
  return useQuery({
73
73
  queryKey: ["bankVerificationProviders", queryParams],
74
74
  queryFn: () => getBankVerificationProviders(rootLegalEntityId.value, baseUrl.value, queryParams),
75
- ...options
75
+ ...options2
76
76
  });
77
77
  };
78
78
  const createTransferInstrument = async (rootLegalEntityId, baseUrl, transferInstrument) => {
@@ -93,11 +93,11 @@ const createTrustedTransferInstrument = async (legalEntityId, baseUrl, data) =>
93
93
  data
94
94
  );
95
95
  };
96
- const useCreateTrustedTransferInstrument = (options) => {
96
+ const useCreateTrustedTransferInstrument = (options2) => {
97
97
  const { rootLegalEntityId, baseUrl } = useApiContext();
98
98
  return useMutation({
99
99
  mutationFn: (data) => createTrustedTransferInstrument(rootLegalEntityId.value, baseUrl.value, data),
100
- ...options
100
+ ...options2
101
101
  });
102
102
  };
103
103
  const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
@@ -106,13 +106,13 @@ const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentI
106
106
  path: `legalEntities/${legalEntityId}/transferInstruments/${transferInstrumentId}`
107
107
  });
108
108
  };
109
- const useTransferInstrument = (transferInstrumentId = "", options) => {
109
+ const useTransferInstrument = (transferInstrumentId = "", options2) => {
110
110
  const { rootLegalEntityId, baseUrl } = useApiContext();
111
111
  return useQuery({
112
112
  queryKey: ["transferInstrument", transferInstrumentId],
113
113
  queryFn: () => getTransferInstrument(rootLegalEntityId.value, baseUrl.value, transferInstrumentId),
114
114
  enabled: !!transferInstrumentId,
115
- ...options
115
+ ...options2
116
116
  });
117
117
  };
118
118
  const updateTransferInstrument = async (legalEntityId, baseUrl, transferInstrument, transferInstrumentId) => {
@@ -124,7 +124,7 @@ const updateTransferInstrument = async (legalEntityId, baseUrl, transferInstrume
124
124
  transferInstrument
125
125
  );
126
126
  };
127
- const useUpdateTransferInstrument = (options) => {
127
+ const useUpdateTransferInstrument = (options2) => {
128
128
  const { rootLegalEntityId, baseUrl } = useApiContext();
129
129
  const queryClient = useQueryClient();
130
130
  return useMutation({
@@ -141,7 +141,7 @@ const useUpdateTransferInstrument = (options) => {
141
141
  queryKey: ["transferInstruments"]
142
142
  });
143
143
  },
144
- ...options
144
+ ...options2
145
145
  });
146
146
  };
147
147
  function isTransferInstrument(account) {
@@ -256,7 +256,7 @@ const formatAccountVerificationSummary = (data) => {
256
256
  return summary2;
257
257
  };
258
258
  const caasModalFooter = "adyen-kyc-caas-modal-footer";
259
- const styles$f = {
259
+ const styles$g = {
260
260
  caasModalFooter
261
261
  };
262
262
  const obscuredPayoutFields = ["bankAccountNumber", "iban"];
@@ -856,7 +856,7 @@ function PayoutDetailsDropin({
856
856
  children: [
857
857
  /* @__PURE__ */ jsx(ModalHeader, { children: i18n.get(invalidFieldHeader) }),
858
858
  /* @__PURE__ */ jsx(ModalContent, { children: /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: i18n.get(invalidFieldContent) }) }),
859
- /* @__PURE__ */ jsx(ModalFooter, { children: /* @__PURE__ */ jsxs("div", { className: styles$f.caasModalFooter, children: [
859
+ /* @__PURE__ */ jsx(ModalFooter, { children: /* @__PURE__ */ jsxs("div", { className: styles$g.caasModalFooter, children: [
860
860
  /* @__PURE__ */ jsx(
861
861
  Button,
862
862
  {
@@ -995,12 +995,12 @@ const getOnboardingStatus = async (legalEntityId, baseUrl) => {
995
995
  path: `legalEntities/${legalEntityId}/onboardingStatus`
996
996
  });
997
997
  };
998
- const useOnboardingStatus = (options) => {
998
+ const useOnboardingStatus = (options2) => {
999
999
  const { rootLegalEntityId, baseUrl } = useApiContext();
1000
1000
  return useQuery({
1001
1001
  queryKey: ["onboardingStatus"],
1002
1002
  queryFn: () => getOnboardingStatus(rootLegalEntityId.value, baseUrl.value),
1003
- ...options
1003
+ ...options2
1004
1004
  });
1005
1005
  };
1006
1006
  var OnboardingStatus = /* @__PURE__ */ ((OnboardingStatus2) => {
@@ -1017,7 +1017,7 @@ const embeddedStatusAvatar = "adyen-kyc-embedded-status-avatar";
1017
1017
  const embeddedStatusLight = "adyen-kyc-embedded-status-light";
1018
1018
  const embeddedStatusActionIndicator = "adyen-kyc-embedded-status-action-indicator";
1019
1019
  const embeddedStatusInfo = "adyen-kyc-embedded-status-info";
1020
- const styles$e = {
1020
+ const styles$f = {
1021
1021
  embeddedStatus,
1022
1022
  embeddedStatusLoading,
1023
1023
  embeddedStatusAvatar,
@@ -1067,22 +1067,22 @@ const EmbeddedStatus = ({
1067
1067
  "button",
1068
1068
  {
1069
1069
  type: "button",
1070
- className: cx(className, styles$e.embeddedStatus, "adyen-kyc-externalComponent", {
1071
- [styles$e.embeddedStatusLoading]: loading,
1072
- [styles$e.embeddedStatusLight]: light
1070
+ className: cx(className, styles$f.embeddedStatus, "adyen-kyc-externalComponent", {
1071
+ [styles$f.embeddedStatusLoading]: loading,
1072
+ [styles$f.embeddedStatusLight]: light
1073
1073
  }),
1074
1074
  onClick,
1075
1075
  ...props,
1076
1076
  children: [
1077
- /* @__PURE__ */ jsx("section", { className: styles$e.embeddedStatusAvatar, children: loading ? /* @__PURE__ */ jsx(Skeleton, { height: "100%", width: "100%", circle: true }) : /* @__PURE__ */ jsx(Icon, { className: styles$e.embeddedStatusIcon, name: iconName }) }),
1078
- /* @__PURE__ */ jsx("section", { className: styles$e.embeddedStatusInfo, children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
1077
+ /* @__PURE__ */ jsx("section", { className: styles$f.embeddedStatusAvatar, children: loading ? /* @__PURE__ */ jsx(Skeleton, { height: "100%", width: "100%", circle: true }) : /* @__PURE__ */ jsx(Icon, { className: styles$f.embeddedStatusIcon, name: iconName }) }),
1078
+ /* @__PURE__ */ jsx("section", { className: styles$f.embeddedStatusInfo, children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
1079
1079
  /* @__PURE__ */ jsx(Skeleton, { text: true, width: "20ch", height: "1em" }),
1080
1080
  /* @__PURE__ */ jsx(Skeleton, { text: true, width: "90%", height: "1em" })
1081
1081
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1082
1082
  /* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: title }),
1083
1083
  /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "secondary", children: subtitle })
1084
1084
  ] }) }),
1085
- actionIndicator ? /* @__PURE__ */ jsx("section", { className: styles$e.embeddedStatusButton, children: loading ? /* @__PURE__ */ jsx(Skeleton, { width: "5em", height: "2em" }) : /* @__PURE__ */ jsx(Typography, { variant: "body-stronger", className: styles$e.embeddedStatusActionIndicator, children: i18n.get(actionIndicator.labelKey) }) }) : (statusTag == null ? void 0 : statusTag.translationKey) && /* @__PURE__ */ jsx("section", { className: styles$e.embeddedStatusTag, children: loading ? /* @__PURE__ */ jsx(Skeleton, { width: "8ch", height: "1em" }) : /* @__PURE__ */ jsx(Tag, { variant: statusTag.variant, children: i18n.get(statusTag.translationKey) }) })
1085
+ actionIndicator ? /* @__PURE__ */ jsx("section", { className: styles$f.embeddedStatusButton, children: loading ? /* @__PURE__ */ jsx(Skeleton, { width: "5em", height: "2em" }) : /* @__PURE__ */ jsx(Typography, { variant: "body-stronger", className: styles$f.embeddedStatusActionIndicator, children: i18n.get(actionIndicator.labelKey) }) }) : (statusTag == null ? void 0 : statusTag.translationKey) && /* @__PURE__ */ jsx("section", { className: styles$f.embeddedStatusTag, children: loading ? /* @__PURE__ */ jsx(Skeleton, { width: "8ch", height: "1em" }) : /* @__PURE__ */ jsx(Tag, { variant: statusTag.variant, children: i18n.get(statusTag.translationKey) }) })
1086
1086
  ]
1087
1087
  }
1088
1088
  );
@@ -1125,12 +1125,12 @@ const getPciStatus = async (legalEntityId, baseUrl, data) => {
1125
1125
  data
1126
1126
  );
1127
1127
  };
1128
- const usePciStatus = (data, options) => {
1128
+ const usePciStatus = (data, options2) => {
1129
1129
  const { rootLegalEntityId, baseUrl } = useApiContext();
1130
1130
  return useQuery({
1131
1131
  queryKey: ["pciStatus", data],
1132
1132
  queryFn: () => getPciStatus(rootLegalEntityId.value, baseUrl.value, data),
1133
- ...options
1133
+ ...options2
1134
1134
  });
1135
1135
  };
1136
1136
  function useSalesChannelsSettings() {
@@ -1200,7 +1200,7 @@ const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrume
1200
1200
  path: `legalEntities/${legalEntityId}/transferInstruments/${transferInstrumentId}`
1201
1201
  });
1202
1202
  };
1203
- const useDeleteTransferInstrument = (options) => {
1203
+ const useDeleteTransferInstrument = (options2) => {
1204
1204
  const { rootLegalEntityId, baseUrl } = useApiContext();
1205
1205
  const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
1206
1206
  return useMutation({
@@ -1208,7 +1208,7 @@ const useDeleteTransferInstrument = (options) => {
1208
1208
  onSuccess: async () => {
1209
1209
  await invalidateRootLegalEntity();
1210
1210
  },
1211
- ...options
1211
+ ...options2
1212
1212
  });
1213
1213
  };
1214
1214
  const getTransferInstruments = async (legalEntityId, baseUrl) => {
@@ -1217,12 +1217,12 @@ const getTransferInstruments = async (legalEntityId, baseUrl) => {
1217
1217
  path: `legalEntities/${legalEntityId}/transferInstruments`
1218
1218
  });
1219
1219
  };
1220
- const useTransferInstruments = (options) => {
1220
+ const useTransferInstruments = (options2) => {
1221
1221
  const { rootLegalEntityId, baseUrl } = useApiContext();
1222
1222
  return useQuery({
1223
1223
  queryKey: ["transferInstruments"],
1224
1224
  queryFn: () => getTransferInstruments(rootLegalEntityId.value, baseUrl.value),
1225
- ...options
1225
+ ...options2
1226
1226
  });
1227
1227
  };
1228
1228
  const VerificationErrorAlert = ({
@@ -1540,12 +1540,12 @@ const getTaskTypes = async (id, baseUrl) => {
1540
1540
  path: `legalEntities/${id}/configurations/tasks`
1541
1541
  });
1542
1542
  };
1543
- const useTaskTypes = (options) => {
1543
+ const useTaskTypes = (options2) => {
1544
1544
  const { rootLegalEntityId, baseUrl } = useApiContext();
1545
1545
  return useQuery({
1546
1546
  queryKey: ["taskTypes"],
1547
1547
  queryFn: () => getTaskTypes(rootLegalEntityId.value, baseUrl.value),
1548
- ...options
1548
+ ...options2
1549
1549
  });
1550
1550
  };
1551
1551
  const getHasSeenIntroductionStorageKey = (legalEntityId) => `COMPLETED_INTRO-${legalEntityId}`;
@@ -1676,12 +1676,12 @@ const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
1676
1676
  path: `legalEntities/${legalEntityId}/pci/questionnaires`
1677
1677
  });
1678
1678
  };
1679
- const usePciQuestionnaireList = (options) => {
1679
+ const usePciQuestionnaireList = (options2) => {
1680
1680
  const { rootLegalEntityId, baseUrl } = useApiContext();
1681
1681
  return useQuery({
1682
1682
  queryKey: ["pciQuestionnaireList"],
1683
1683
  queryFn: () => getPciQuestionnaireList(rootLegalEntityId.value, baseUrl.value),
1684
- ...options
1684
+ ...options2
1685
1685
  });
1686
1686
  };
1687
1687
  const getTaskStatus = async (legalEntityId, baseUrl) => {
@@ -1690,12 +1690,12 @@ const getTaskStatus = async (legalEntityId, baseUrl) => {
1690
1690
  path: `legalEntities/${legalEntityId}/taskStatus`
1691
1691
  });
1692
1692
  };
1693
- const useTaskStatus = (options) => {
1693
+ const useTaskStatus = (options2) => {
1694
1694
  const { rootLegalEntityId, baseUrl } = useApiContext();
1695
1695
  return useQuery({
1696
1696
  queryKey: ["taskStatus"],
1697
1697
  queryFn: () => getTaskStatus(rootLegalEntityId.value, baseUrl.value),
1698
- ...options
1698
+ ...options2
1699
1699
  });
1700
1700
  };
1701
1701
  const useLegalEntityType = ({
@@ -2479,14 +2479,14 @@ const clearCompanyData = async (legalEntityId, baseUrl) => {
2479
2479
  path: `legalEntities/${legalEntityId}/companyDataset/clearCompanyData`
2480
2480
  });
2481
2481
  };
2482
- const useClearCompanyData = (options) => {
2482
+ const useClearCompanyData = (options2) => {
2483
2483
  const { rootLegalEntityId, baseUrl } = useApiContext();
2484
2484
  return useMutation({
2485
2485
  mutationFn: () => {
2486
2486
  return clearCompanyData(rootLegalEntityId.value, baseUrl.value);
2487
2487
  },
2488
2488
  retry: 0,
2489
- ...options
2489
+ ...options2
2490
2490
  });
2491
2491
  };
2492
2492
  const getCompanyDataset = async (rootLegalEntityId, baseUrl, data) => {
@@ -2498,14 +2498,14 @@ const getCompanyDataset = async (rootLegalEntityId, baseUrl, data) => {
2498
2498
  data
2499
2499
  );
2500
2500
  };
2501
- const useCompanyDataset = (options) => {
2501
+ const useCompanyDataset = (options2) => {
2502
2502
  const { rootLegalEntityId, baseUrl } = useApiContext();
2503
2503
  return useMutation({
2504
2504
  mutationFn: (payload) => {
2505
2505
  return getCompanyDataset(rootLegalEntityId.value, baseUrl.value, payload);
2506
2506
  },
2507
2507
  retry: 0,
2508
- ...options
2508
+ ...options2
2509
2509
  });
2510
2510
  };
2511
2511
  const refreshCompanyDataset = async (rootLegalEntityId, baseUrl, data) => {
@@ -2517,14 +2517,14 @@ const refreshCompanyDataset = async (rootLegalEntityId, baseUrl, data) => {
2517
2517
  data
2518
2518
  );
2519
2519
  };
2520
- const useRefreshCompanyDataset = (options) => {
2520
+ const useRefreshCompanyDataset = (options2) => {
2521
2521
  const { rootLegalEntityId, baseUrl } = useApiContext();
2522
2522
  return useMutation({
2523
2523
  mutationFn: (payload) => {
2524
2524
  return refreshCompanyDataset(rootLegalEntityId.value, baseUrl.value, payload);
2525
2525
  },
2526
2526
  retry: 0,
2527
- ...options
2527
+ ...options2
2528
2528
  });
2529
2529
  };
2530
2530
  const companyDeepSearch = async (rootLegalEntityId, baseUrl, data) => {
@@ -2536,14 +2536,14 @@ const companyDeepSearch = async (rootLegalEntityId, baseUrl, data) => {
2536
2536
  data
2537
2537
  );
2538
2538
  };
2539
- const useCompanyDeepSearch = (options) => {
2539
+ const useCompanyDeepSearch = (options2) => {
2540
2540
  const { rootLegalEntityId, baseUrl } = useApiContext();
2541
2541
  return useMutation({
2542
2542
  mutationFn: (payload) => {
2543
2543
  return companyDeepSearch(rootLegalEntityId.value, baseUrl.value, payload);
2544
2544
  },
2545
2545
  retry: 0,
2546
- ...options
2546
+ ...options2
2547
2547
  });
2548
2548
  };
2549
2549
  const companyIndexSearch = async (rootLegalEntityId, baseUrl, data) => {
@@ -2555,14 +2555,14 @@ const companyIndexSearch = async (rootLegalEntityId, baseUrl, data) => {
2555
2555
  data
2556
2556
  );
2557
2557
  };
2558
- const useCompanyIndexSearch = (options) => {
2558
+ const useCompanyIndexSearch = (options2) => {
2559
2559
  const { rootLegalEntityId, baseUrl } = useApiContext();
2560
2560
  return useMutation({
2561
2561
  mutationFn: (payload) => {
2562
2562
  return companyIndexSearch(rootLegalEntityId.value, baseUrl.value, payload);
2563
2563
  },
2564
2564
  retry: 0,
2565
- ...options
2565
+ ...options2
2566
2566
  });
2567
2567
  };
2568
2568
  const companyRegistrationNumberDeepSearch = async (rootLegalEntityId, baseUrl, data) => {
@@ -2574,14 +2574,14 @@ const companyRegistrationNumberDeepSearch = async (rootLegalEntityId, baseUrl, d
2574
2574
  data
2575
2575
  );
2576
2576
  };
2577
- const useCompanyRegistrationNumberDeepSearch = (options) => {
2577
+ const useCompanyRegistrationNumberDeepSearch = (options2) => {
2578
2578
  const { rootLegalEntityId, baseUrl } = useApiContext();
2579
2579
  return useMutation({
2580
2580
  mutationFn: (payload) => {
2581
2581
  return companyRegistrationNumberDeepSearch(rootLegalEntityId.value, baseUrl.value, payload);
2582
2582
  },
2583
2583
  retry: 0,
2584
- ...options
2584
+ ...options2
2585
2585
  });
2586
2586
  };
2587
2587
  const companyRegistrationNumberIndexSearch = async (rootLegalEntityId, baseUrl, data) => {
@@ -2593,14 +2593,14 @@ const companyRegistrationNumberIndexSearch = async (rootLegalEntityId, baseUrl,
2593
2593
  data
2594
2594
  );
2595
2595
  };
2596
- const useCompanyRegistrationNumberIndexSearch = (options) => {
2596
+ const useCompanyRegistrationNumberIndexSearch = (options2) => {
2597
2597
  const { rootLegalEntityId, baseUrl } = useApiContext();
2598
2598
  return useMutation({
2599
2599
  mutationFn: (payload) => {
2600
2600
  return companyRegistrationNumberIndexSearch(rootLegalEntityId.value, baseUrl.value, payload);
2601
2601
  },
2602
2602
  retry: 0,
2603
- ...options
2603
+ ...options2
2604
2604
  });
2605
2605
  };
2606
2606
  const verifyTin = async (legalEntityId, baseUrl, data) => {
@@ -2612,11 +2612,11 @@ const verifyTin = async (legalEntityId, baseUrl, data) => {
2612
2612
  data
2613
2613
  );
2614
2614
  };
2615
- const useVerifyTin = (options) => {
2615
+ const useVerifyTin = (options2) => {
2616
2616
  const { rootLegalEntityId, baseUrl } = useApiContext();
2617
2617
  return useMutation({
2618
2618
  mutationFn: (data) => verifyTin(rootLegalEntityId.value, baseUrl.value, data),
2619
- ...options
2619
+ ...options2
2620
2620
  });
2621
2621
  };
2622
2622
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
@@ -5511,12 +5511,12 @@ const getLegalForms = async (countryCode, baseUrl) => {
5511
5511
  path: `datasets/legalForms/${countryCode}`
5512
5512
  });
5513
5513
  };
5514
- const useLegalForms = (countryCode, options) => {
5514
+ const useLegalForms = (countryCode, options2) => {
5515
5515
  const { baseUrl } = useApiContext();
5516
5516
  return useQuery({
5517
5517
  queryKey: ["legalForms", countryCode],
5518
5518
  queryFn: () => getLegalForms(countryCode, baseUrl.value),
5519
- ...options
5519
+ ...options2
5520
5520
  });
5521
5521
  };
5522
5522
  function LegalFormField({
@@ -5578,12 +5578,12 @@ const getNaceCodes = async (baseUrl) => {
5578
5578
  path: `datasets/naceCodes`
5579
5579
  });
5580
5580
  };
5581
- const useNaceCodes = (options) => {
5581
+ const useNaceCodes = (options2) => {
5582
5582
  const { baseUrl } = useApiContext();
5583
5583
  return useQuery({
5584
5584
  queryKey: ["naceCodes"],
5585
5585
  queryFn: () => getNaceCodes(baseUrl.value),
5586
- ...options
5586
+ ...options2
5587
5587
  });
5588
5588
  };
5589
5589
  function NaceCodeField({
@@ -6747,6 +6747,15 @@ function AdditionalFieldsForHighExposureUltimateParentCompany(props) {
6747
6747
  )
6748
6748
  ] });
6749
6749
  }
6750
+ const getOrgAnalyticsData = (prefix, details) => {
6751
+ const org = details == null ? void 0 : details.organization;
6752
+ if (!org) return [];
6753
+ return [
6754
+ `${prefix}--economicSector: ${org == null ? void 0 : org.economicSector}`,
6755
+ `${prefix}--legalForm: ${org == null ? void 0 : org.legalForm}`,
6756
+ `${prefix}--statusOfLegalProceeding: ${org == null ? void 0 : org.statusOfLegalProceeding}`
6757
+ ];
6758
+ };
6750
6759
  const highExposureFormsRequiredFields = {
6751
6760
  company: highExposureForms.company.fields,
6752
6761
  parentCompany: highExposureForms.parentCompany.fields,
@@ -6971,6 +6980,11 @@ function HighExposureDropin(props) {
6971
6980
  });
6972
6981
  if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
6973
6982
  companyExposureDetails.entityAssociations = [...highExposureEntityAssociations];
6983
+ const eventsAdditionalData = [
6984
+ ...getOrgAnalyticsData("Business", companyExposureDetails),
6985
+ ...getOrgAnalyticsData("ParentCompany", parentCompanyExposureDetails),
6986
+ ...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyExposureDetails)
6987
+ ];
6974
6988
  try {
6975
6989
  await handleHighExposureFormSubmission(
6976
6990
  HighExposureIndex.COMPANY,
@@ -6981,7 +6995,8 @@ function HighExposureDropin(props) {
6981
6995
  );
6982
6996
  userEvents.addTaskEvent("Success", {
6983
6997
  actionType: "submit",
6984
- returnValue: entitiesToTrack
6998
+ returnValue: entitiesToTrack,
6999
+ additionalData: eventsAdditionalData
6985
7000
  });
6986
7001
  await invalidateRootLegalEntity();
6987
7002
  if (showBusinessFinancingFirst || isStandaloneComponent) {
@@ -7140,12 +7155,12 @@ const getBusinessLines = async (legalEntityId, baseUrl) => {
7140
7155
  path: `legalEntities/${legalEntityId}/businessLines`
7141
7156
  });
7142
7157
  };
7143
- const useBusinessLines = (options) => {
7158
+ const useBusinessLines = (options2) => {
7144
7159
  const { rootLegalEntityId, baseUrl } = useApiContext();
7145
7160
  return useQuery({
7146
7161
  queryKey: ["businessLines"],
7147
7162
  queryFn: () => getBusinessLines(rootLegalEntityId.value, baseUrl.value),
7148
- ...options
7163
+ ...options2
7149
7164
  });
7150
7165
  };
7151
7166
  const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
@@ -7157,7 +7172,7 @@ const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data)
7157
7172
  data
7158
7173
  );
7159
7174
  };
7160
- const useUpdateSourceOfFunds = (options) => {
7175
+ const useUpdateSourceOfFunds = (options2) => {
7161
7176
  const { rootLegalEntityId, baseUrl } = useApiContext();
7162
7177
  const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
7163
7178
  return useMutation({
@@ -7165,7 +7180,7 @@ const useUpdateSourceOfFunds = (options) => {
7165
7180
  onSuccess: async () => {
7166
7181
  await invalidateRootLegalEntity();
7167
7182
  },
7168
- ...options
7183
+ ...options2
7169
7184
  });
7170
7185
  };
7171
7186
  const sourceOfFundsBaseMapping = {
@@ -7203,12 +7218,12 @@ const getSourceOfFundsTypes = async (baseUrl) => {
7203
7218
  path: `datasets/sourceOfFundsTypes`
7204
7219
  });
7205
7220
  };
7206
- const useSourceOfFundsTypes = (options) => {
7221
+ const useSourceOfFundsTypes = (options2) => {
7207
7222
  const { baseUrl } = useApiContext();
7208
7223
  return useQuery({
7209
7224
  queryKey: ["sourceOfFundsTypes"],
7210
7225
  queryFn: () => getSourceOfFundsTypes(baseUrl.value),
7211
- ...options
7226
+ ...options2
7212
7227
  });
7213
7228
  };
7214
7229
  const sourceOfFunds = "adyen-kyc-source-of-funds";
@@ -9267,7 +9282,7 @@ const tileTitle = "adyen-kyc-tile-title";
9267
9282
  const tileCheckbox = "adyen-kyc-tile-checkbox";
9268
9283
  const tileContainerHorizontal = "adyen-kyc-tile-container-horizontal";
9269
9284
  const tileLabel = "adyen-kyc-tile-label";
9270
- const styles$d = {
9285
+ const styles$e = {
9271
9286
  tileContainer,
9272
9287
  tile,
9273
9288
  tileIcon,
@@ -9309,15 +9324,15 @@ function Tile({
9309
9324
  return /* @__PURE__ */ jsxs(
9310
9325
  "div",
9311
9326
  {
9312
- className: cx(styles$d.tileContainer, {
9313
- [styles$d.tileContainerHorizontal]: isHorizontal
9327
+ className: cx(styles$e.tileContainer, {
9328
+ [styles$e.tileContainerHorizontal]: isHorizontal
9314
9329
  }),
9315
9330
  children: [
9316
9331
  /* @__PURE__ */ jsx(
9317
9332
  "input",
9318
9333
  {
9319
9334
  ref: inputNode,
9320
- className: styles$d.tileCheckbox,
9335
+ className: styles$e.tileCheckbox,
9321
9336
  disabled,
9322
9337
  checked: !!checked,
9323
9338
  value,
@@ -9331,10 +9346,10 @@ function Tile({
9331
9346
  tabIndex: disabled ? -1 : 0
9332
9347
  }
9333
9348
  ),
9334
- /* @__PURE__ */ jsxs("label", { htmlFor: idUse, className: styles$d.tile, children: [
9335
- icon && /* @__PURE__ */ jsx("div", { className: styles$d.tileIcon, children: /* @__PURE__ */ jsx(Icon, { name: icon, testId: icon }) }),
9336
- /* @__PURE__ */ jsxs("div", { className: styles$d.tileLabel, children: [
9337
- /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "body-strongest", className: styles$d.tileTitle, children: label }),
9349
+ /* @__PURE__ */ jsxs("label", { htmlFor: idUse, className: styles$e.tile, children: [
9350
+ icon && /* @__PURE__ */ jsx("div", { className: styles$e.tileIcon, children: /* @__PURE__ */ jsx(Icon, { name: icon, testId: icon }) }),
9351
+ /* @__PURE__ */ jsxs("div", { className: styles$e.tileLabel, children: [
9352
+ /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "body-strongest", className: styles$e.tileTitle, children: label }),
9338
9353
  subTitle && /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: subTitle })
9339
9354
  ] })
9340
9355
  ] })
@@ -9346,7 +9361,7 @@ const tileGroup = "adyen-kyc-tile-group";
9346
9361
  const tileGroupError = "adyen-kyc-tile-group-error";
9347
9362
  const tileGroupErrorIcon = "adyen-kyc-tile-group-error-icon";
9348
9363
  const tileGroupHorizontal = "adyen-kyc-tile-group-horizontal";
9349
- const styles$c = {
9364
+ const styles$d = {
9350
9365
  tileGroup,
9351
9366
  tileGroupError,
9352
9367
  tileGroupErrorIcon,
@@ -9366,15 +9381,15 @@ function TileGroup({
9366
9381
  const name = nameProp ?? uniqName;
9367
9382
  const finalName = allowMultiple ? `${name}[]` : name;
9368
9383
  return /* @__PURE__ */ jsxs(Fragment, { children: [
9369
- !!errorMessage && /* @__PURE__ */ jsxs("div", { "aria-live": "polite", className: styles$c.tileGroupError, children: [
9370
- /* @__PURE__ */ jsx("span", { className: styles$c.tileGroupErrorIcon, children: /* @__PURE__ */ jsx(Icon, { name: "field-error" }) }),
9384
+ !!errorMessage && /* @__PURE__ */ jsxs("div", { "aria-live": "polite", className: styles$d.tileGroupError, children: [
9385
+ /* @__PURE__ */ jsx("span", { className: styles$d.tileGroupErrorIcon, children: /* @__PURE__ */ jsx(Icon, { name: "field-error" }) }),
9371
9386
  errorMessage
9372
9387
  ] }),
9373
9388
  /* @__PURE__ */ jsx(
9374
9389
  "div",
9375
9390
  {
9376
- className: cx(styles$c.tileGroup, {
9377
- [styles$c.tileGroupHorizontal]: isHorizontal
9391
+ className: cx(styles$d.tileGroup, {
9392
+ [styles$d.tileGroupHorizontal]: isHorizontal
9378
9393
  }),
9379
9394
  children: tiles.map((tile2, index) => {
9380
9395
  const { value, id, icon, subTitle, label, disabled } = tile2;
@@ -9408,7 +9423,7 @@ function choiceIsSelected({ value }, selected, allowMultiple) {
9408
9423
  }
9409
9424
  function updateSelectedChoices({ value }, checked, selected, allowMultiple) {
9410
9425
  if (!allowMultiple) {
9411
- return value;
9426
+ return checked ? value : "";
9412
9427
  }
9413
9428
  if (Array.isArray(selected)) {
9414
9429
  if (checked) {
@@ -9580,7 +9595,7 @@ const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success
9580
9595
  const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
9581
9596
  const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
9582
9597
  const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
9583
- const styles$b = {
9598
+ const styles$c = {
9584
9599
  inTaskStatus,
9585
9600
  inTaskStatusIndicator,
9586
9601
  inTaskStatusIndicatorSuccess,
@@ -9594,19 +9609,19 @@ const getIndicatorLabelAndClassnames = ({
9594
9609
  if (taskStatus === TaskStatus.FINISHED) {
9595
9610
  return {
9596
9611
  indicatorLabel: "taskComplete",
9597
- indicatorClassname: styles$b.inTaskStatusIndicatorSuccess
9612
+ indicatorClassname: styles$c.inTaskStatusIndicatorSuccess
9598
9613
  };
9599
9614
  }
9600
9615
  if (taskStatus === TaskStatus.PROCESSING) {
9601
9616
  return {
9602
9617
  indicatorLabel: "taskInProgress",
9603
- indicatorClassname: styles$b.inTaskStatusIndicatorWarning
9618
+ indicatorClassname: styles$c.inTaskStatusIndicatorWarning
9604
9619
  };
9605
9620
  }
9606
9621
  if (taskStatus === TaskStatus.ERROR) {
9607
9622
  return {
9608
9623
  indicatorLabel: "taskHasErrors",
9609
- indicatorClassname: styles$b.inTaskStatusIndicatorError
9624
+ indicatorClassname: styles$c.inTaskStatusIndicatorError
9610
9625
  };
9611
9626
  }
9612
9627
  };
@@ -9617,15 +9632,15 @@ const TaskStatusIndicator = ({ taskStatus }) => {
9617
9632
  return null;
9618
9633
  }
9619
9634
  const { indicatorLabel, indicatorClassname } = indicator;
9620
- return /* @__PURE__ */ jsxs("div", { className: styles$b.inTaskStatus, children: [
9635
+ return /* @__PURE__ */ jsxs("div", { className: styles$c.inTaskStatus, children: [
9621
9636
  /* @__PURE__ */ jsx(
9622
9637
  "div",
9623
9638
  {
9624
9639
  "data-testid": "task-status-indicator",
9625
- className: cx(styles$b.inTaskStatusIndicator, indicatorClassname)
9640
+ className: cx(styles$c.inTaskStatusIndicator, indicatorClassname)
9626
9641
  }
9627
9642
  ),
9628
- /* @__PURE__ */ jsx("div", { className: styles$b.inTaskStatusLabel, children: i18n.get(indicatorLabel) })
9643
+ /* @__PURE__ */ jsx("div", { className: styles$c.inTaskStatusLabel, children: i18n.get(indicatorLabel) })
9629
9644
  ] });
9630
9645
  };
9631
9646
  function SourceOfFundsGettingStartedCard(props) {
@@ -10764,6 +10779,20 @@ const individualOnfidoRules = ({
10764
10779
  },
10765
10780
  idVerificationRequired: () => {
10766
10781
  return REQUIRED;
10782
+ },
10783
+ isGuidedDecisionMakersFlowEnabled: () => {
10784
+ if (isExperimentEnabled("EnableGuidedDecisionMakersFlow")) {
10785
+ return "REQUIRED";
10786
+ }
10787
+ },
10788
+ isDirectorRequiredForCountry: () => {
10789
+ const availableDecisionMakers = getAvailableDecisionMakerRoleTypes(country);
10790
+ const isDirectorRequired = availableDecisionMakers.some(
10791
+ (maker) => maker.roleType === DecisionMakerType.DIRECTOR
10792
+ );
10793
+ if (isDirectorRequired) {
10794
+ return "REQUIRED";
10795
+ }
10767
10796
  }
10768
10797
  });
10769
10798
  const TypeOfIdentity = ({
@@ -11057,8 +11086,6 @@ const countriesRequiringNationality = [
11057
11086
  function AdditionalPersonalDetails(props) {
11058
11087
  const { i18n } = useI18nContext();
11059
11088
  const { allowedCountries } = useCoreContext();
11060
- const { form } = useFormContext();
11061
- const { handleChangeFor } = form;
11062
11089
  const {
11063
11090
  country: defaultCountry,
11064
11091
  data,
@@ -11068,7 +11095,8 @@ function AdditionalPersonalDetails(props) {
11068
11095
  valid,
11069
11096
  fieldValidationErrors,
11070
11097
  errors = {},
11071
- taskType
11098
+ taskType,
11099
+ handleFieldChange
11072
11100
  } = props;
11073
11101
  const country = (data == null ? void 0 : data.country) ?? defaultCountry;
11074
11102
  const isIndividual = taskType === TaskTypes.INDIVIDUAL;
@@ -11088,10 +11116,6 @@ function AdditionalPersonalDetails(props) {
11088
11116
  ),
11089
11117
  props
11090
11118
  );
11091
- const handleFieldChange = useCallback(
11092
- (fieldName, mode = "input") => handleChangeFor(fieldName, "additionalPersonalDetails", mode),
11093
- [handleChangeFor]
11094
- );
11095
11119
  const formUtils = createFormUtils(mergedProps, i18n);
11096
11120
  const birthDateErrorMessage = formUtils.getErrorMessage(
11097
11121
  "birthDate",
@@ -11099,6 +11123,9 @@ function AdditionalPersonalDetails(props) {
11099
11123
  fieldValidationErrors
11100
11124
  );
11101
11125
  const addressProps = getFieldProps(props, addressFields);
11126
+ if (!handleFieldChange) {
11127
+ return;
11128
+ }
11102
11129
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
11103
11130
  /* @__PURE__ */ jsx(FormHeader, { heading }),
11104
11131
  /* @__PURE__ */ jsx(
@@ -11247,7 +11274,7 @@ function BasicDetails(props) {
11247
11274
  var _a, _b, _c, _d;
11248
11275
  const { i18n } = useI18nContext();
11249
11276
  const { form } = useFormContext();
11250
- const { handleChangeFor, triggerValidation } = form;
11277
+ const { triggerValidation } = form;
11251
11278
  const {
11252
11279
  country,
11253
11280
  data,
@@ -11261,7 +11288,8 @@ function BasicDetails(props) {
11261
11288
  allowedRoles,
11262
11289
  trustedRoles,
11263
11290
  fieldValidationErrors,
11264
- errors
11291
+ errors,
11292
+ handleFieldChange
11265
11293
  } = props;
11266
11294
  const isDecisionMakerTask = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
11267
11295
  const isLegalRepresentativeDetailsTask = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
@@ -11273,7 +11301,9 @@ function BasicDetails(props) {
11273
11301
  nameFields
11274
11302
  );
11275
11303
  const contactDetailsFormProps = getFieldProps(props, contactDetailFields);
11276
- const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "basicDetails", mode);
11304
+ if (!handleFieldChange) {
11305
+ return;
11306
+ }
11277
11307
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
11278
11308
  /* @__PURE__ */ jsx(FormHeader, { heading }),
11279
11309
  /* @__PURE__ */ jsx(
@@ -11383,11 +11413,11 @@ const extractDocumentInformation = async (legalEntityId, baseUrl, data) => httpP
11383
11413
  },
11384
11414
  data
11385
11415
  );
11386
- const useExtractDocumentInformation = (options) => {
11416
+ const useExtractDocumentInformation = (options2) => {
11387
11417
  const { rootLegalEntityId, baseUrl } = useApiContext();
11388
11418
  return useMutation({
11389
11419
  mutationFn: (data) => extractDocumentInformation(rootLegalEntityId.value, baseUrl.value, data),
11390
- ...options
11420
+ ...options2
11391
11421
  });
11392
11422
  };
11393
11423
  const appendWithPreSeparator = (existing, separator, appendix) => existing.length === 0 ? appendix : `${existing}${separator}${appendix}`;
@@ -11405,7 +11435,7 @@ const addressToString = ({ address, otherAddressInformation, postalCode, city, s
11405
11435
  const conflictRowTable = "adyen-kyc-conflict-row-table";
11406
11436
  const conflictRowList = "adyen-kyc-conflict-row-list";
11407
11437
  const conflictRowListOptionLabel = "adyen-kyc-conflict-row-list-option-label";
11408
- const styles$a = {
11438
+ const styles$b = {
11409
11439
  conflictRowTable,
11410
11440
  conflictRowList,
11411
11441
  conflictRowListOptionLabel
@@ -11431,7 +11461,7 @@ const ConflictRow = ({
11431
11461
  }
11432
11462
  }, [hasOnlyProvided, hasOnlyDetected, onSelect, selected]);
11433
11463
  if (hasOnlyProvided || hasOnlyDetected) return;
11434
- return showAs === "listItem" ? /* @__PURE__ */ jsxs("div", { className: styles$a.conflictRowList, children: [
11464
+ return showAs === "listItem" ? /* @__PURE__ */ jsxs("div", { className: styles$b.conflictRowList, children: [
11435
11465
  /* @__PURE__ */ jsx("dt", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: i18n.get(label) }) }),
11436
11466
  /* @__PURE__ */ jsxs("dd", { children: [
11437
11467
  /* @__PURE__ */ jsxs("div", { children: [
@@ -11440,7 +11470,7 @@ const ConflictRow = ({
11440
11470
  {
11441
11471
  variant: "caption",
11442
11472
  color: "tertiary",
11443
- className: styles$a.conflictRowListOptionLabel,
11473
+ className: styles$b.conflictRowListOptionLabel,
11444
11474
  children: i18n.get("original")
11445
11475
  }
11446
11476
  ),
@@ -11460,7 +11490,7 @@ const ConflictRow = ({
11460
11490
  {
11461
11491
  variant: "caption",
11462
11492
  color: "tertiary",
11463
- className: styles$a.conflictRowListOptionLabel,
11493
+ className: styles$b.conflictRowListOptionLabel,
11464
11494
  children: i18n.get("detected")
11465
11495
  }
11466
11496
  ),
@@ -11475,7 +11505,7 @@ const ConflictRow = ({
11475
11505
  )
11476
11506
  ] })
11477
11507
  ] })
11478
- ] }) : /* @__PURE__ */ jsxs("tr", { className: styles$a.conflictRowTable, children: [
11508
+ ] }) : /* @__PURE__ */ jsxs("tr", { className: styles$b.conflictRowTable, children: [
11479
11509
  /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", children: i18n.get(label) }) }),
11480
11510
  /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(
11481
11511
  RadioWithLabel,
@@ -11501,7 +11531,7 @@ const dataConflictsWrapper = "adyen-kyc-data-conflicts-wrapper";
11501
11531
  const dataConflictsHeader = "adyen-kyc-data-conflicts-header";
11502
11532
  const dataConflictsTable = "adyen-kyc-data-conflicts-table";
11503
11533
  const dataConflictsList = "adyen-kyc-data-conflicts-list";
11504
- const styles$9 = {
11534
+ const styles$a = {
11505
11535
  dataConflictsWrapper,
11506
11536
  dataConflictsHeader,
11507
11537
  dataConflictsTable,
@@ -11553,13 +11583,13 @@ const DataConflictsModal = ({
11553
11583
  // No dependencies, as setShowError and setResolutions are stable.
11554
11584
  );
11555
11585
  return /* @__PURE__ */ jsxs(Modal, { ariaLabel: i18n.get(title), onClose: () => setShowCancelModal(true), inset: true, children: [
11556
- /* @__PURE__ */ jsxs("div", { className: styles$9.dataConflictsWrapper, children: [
11557
- /* @__PURE__ */ jsxs("div", { className: styles$9.dataConflictsHeader, children: [
11586
+ /* @__PURE__ */ jsxs("div", { className: styles$a.dataConflictsWrapper, children: [
11587
+ /* @__PURE__ */ jsxs("div", { className: styles$a.dataConflictsHeader, children: [
11558
11588
  /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: i18n.get(title) }),
11559
11589
  /* @__PURE__ */ jsx(Typography, { variant: "body", children: i18n.get(explanation) })
11560
11590
  ] }),
11561
11591
  showError ? /* @__PURE__ */ jsx(Alert, { variant: "error", title: i18n.get("chooseTheCorrectDetailsBeforeProceeding") }) : void 0,
11562
- /* @__PURE__ */ jsx("dl", { className: styles$9.dataConflictsList, children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(
11592
+ /* @__PURE__ */ jsx("dl", { className: styles$a.dataConflictsList, children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(
11563
11593
  ConflictRow,
11564
11594
  {
11565
11595
  showAs: "listItem",
@@ -11572,7 +11602,7 @@ const DataConflictsModal = ({
11572
11602
  },
11573
11603
  property
11574
11604
  )) }),
11575
- /* @__PURE__ */ jsxs("table", { className: styles$9.dataConflictsTable, children: [
11605
+ /* @__PURE__ */ jsxs("table", { className: styles$a.dataConflictsTable, children: [
11576
11606
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
11577
11607
  /* @__PURE__ */ jsx("th", {}),
11578
11608
  /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: i18n.get("original") }) }),
@@ -11647,12 +11677,12 @@ const formatId = (id, i18n) => {
11647
11677
  }
11648
11678
  };
11649
11679
  const verificationDisclaimer = "adyen-kyc-verification-disclaimer";
11650
- const styles$8 = {
11680
+ const styles$9 = {
11651
11681
  verificationDisclaimer
11652
11682
  };
11653
11683
  const IdVerificationDisclaimer = () => {
11654
11684
  const { i18n } = useI18nContext();
11655
- return /* @__PURE__ */ jsxs(Typography, { variant: "caption", color: "tertiary", className: styles$8.verificationDisclaimer, children: [
11685
+ return /* @__PURE__ */ jsxs(Typography, { variant: "caption", color: "tertiary", className: styles$9.verificationDisclaimer, children: [
11656
11686
  i18n.get("ifYouChooseToUseOnfido"),
11657
11687
  " ",
11658
11688
  /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true, children: i18n.get("onfidoPrivacyPolicy") }),
@@ -11665,25 +11695,25 @@ const IdVerificationDisclaimer = () => {
11665
11695
  const verificationHeader = "adyen-kyc-verification-header";
11666
11696
  const verificationHeaderImage = "adyen-kyc-verification-header-image";
11667
11697
  const verificationHeaderContent = "adyen-kyc-verification-header-content";
11668
- const styles$7 = {
11698
+ const styles$8 = {
11669
11699
  verificationHeader,
11670
11700
  verificationHeaderImage,
11671
11701
  verificationHeaderContent
11672
11702
  };
11673
11703
  const IdVerificationHeader = () => {
11674
11704
  const { i18n } = useI18nContext();
11675
- return /* @__PURE__ */ jsxs("div", { className: styles$7.verificationHeader, children: [
11705
+ return /* @__PURE__ */ jsxs("div", { className: styles$8.verificationHeader, children: [
11676
11706
  /* @__PURE__ */ jsx(
11677
11707
  Svg,
11678
11708
  {
11679
- className: styles$7.verificationHeaderImage,
11709
+ className: styles$8.verificationHeaderImage,
11680
11710
  type: "image",
11681
11711
  name: "passport-front-green",
11682
11712
  title: i18n.get("instantIDVerificationDescription")
11683
11713
  }
11684
11714
  ),
11685
11715
  /* @__PURE__ */ jsx(Typography, { variant: "title-l", children: i18n.get("capturePersonalDetails") }),
11686
- /* @__PURE__ */ jsxs(Typography, { variant: "body", color: "primary", className: styles$7.verificationHeaderContent, children: [
11716
+ /* @__PURE__ */ jsxs(Typography, { variant: "body", color: "primary", className: styles$8.verificationHeaderContent, children: [
11687
11717
  i18n.get("takeOrUploadAPhoto"),
11688
11718
  " ",
11689
11719
  /* @__PURE__ */ jsx(Link, { href: "https://onfido.com", external: true, inline: true, children: i18n.get("onfido") })
@@ -11692,7 +11722,7 @@ const IdVerificationHeader = () => {
11692
11722
  };
11693
11723
  const verifyOnfidoContainer = "adyen-kyc-verify-onfido-container";
11694
11724
  const verifyOnfidoContent = "adyen-kyc-verify-onfido-content";
11695
- const styles$6 = {
11725
+ const styles$7 = {
11696
11726
  verifyOnfidoContainer,
11697
11727
  verifyOnfidoContent
11698
11728
  };
@@ -11836,12 +11866,12 @@ const OnfidoVerificationModal = ({
11836
11866
  ) });
11837
11867
  };
11838
11868
  const uploadedDocument = "adyen-kyc-uploaded-document";
11839
- const styles$5 = {
11869
+ const styles$6 = {
11840
11870
  uploadedDocument
11841
11871
  };
11842
11872
  const UploadedDocument = ({ document: document2, onDelete, onUpdate }) => {
11843
11873
  const { i18n } = useI18nContext();
11844
- return /* @__PURE__ */ jsxs("article", { className: styles$5.uploadedDocument, children: [
11874
+ return /* @__PURE__ */ jsxs("article", { className: styles$6.uploadedDocument, children: [
11845
11875
  /* @__PURE__ */ jsxs("div", { children: [
11846
11876
  /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "title", children: i18n.get(document2.idDocumentType) }),
11847
11877
  /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: i18n.get("uploadedOn", {
@@ -11909,7 +11939,8 @@ function IdVerificationMethod({ legalEntityId, handlers }) {
11909
11939
  clearError();
11910
11940
  userEvents.addPageEvent("Clicked button", {
11911
11941
  actionType: "add",
11912
- label: "instantVerification"
11942
+ label: "instantVerification",
11943
+ returnValue: "launchingOnfido"
11913
11944
  });
11914
11945
  setStatus("onfidoModal");
11915
11946
  handleFieldChange("idVerificationMethod")("instantVerification");
@@ -11951,6 +11982,11 @@ function IdVerificationMethod({ legalEntityId, handlers }) {
11951
11982
  setFormData("additionalPersonalDetails", resolvedSchema.additionalPersonalDetails);
11952
11983
  handleFieldChange("ocrExtractedData")(void 0);
11953
11984
  setStatus("ready");
11985
+ userEvents.addPageEvent("Success", {
11986
+ actionType: "submit",
11987
+ returnType: "ocrExtraction",
11988
+ returnValue: "resolvedConflictsAfterOcrExtraction"
11989
+ });
11954
11990
  handlers.handleContinueToAdditionalDetails();
11955
11991
  };
11956
11992
  const handleContinueViaManualEntryFlow = () => {
@@ -11979,27 +12015,31 @@ function IdVerificationMethod({ legalEntityId, handlers }) {
11979
12015
  label: "cancelDeleteDocument"
11980
12016
  });
11981
12017
  };
11982
- const handleCancelUpdateDocument = () => {
12018
+ const handleCancelAddDetailsManually = () => {
11983
12019
  setStatus("ready");
11984
12020
  userEvents.addPageEvent("Clicked button", {
11985
12021
  actionType: "cancel",
11986
- label: "cancelUpdateDocument"
12022
+ label: "cancelAddDetailsManually"
11987
12023
  });
11988
12024
  };
11989
- const handleUpdateDocument = () => {
12025
+ const handleUpdateExistingDocument = () => {
12026
+ userEvents.addPageEvent("Clicked button", {
12027
+ actionType: "change",
12028
+ label: "updateExistingDocument"
12029
+ });
11990
12030
  launchOnfido();
11991
12031
  handlers.handleUpdateDocument();
11992
12032
  };
11993
12033
  const datasetUtils = datasetUtilities(i18n.locale);
11994
- return /* @__PURE__ */ jsxs("div", { className: styles$6.verifyOnfidoContainer, children: [
12034
+ return /* @__PURE__ */ jsxs("div", { className: styles$7.verifyOnfidoContainer, children: [
11995
12035
  /* @__PURE__ */ jsx(IdVerificationHeader, {}),
11996
12036
  error ? /* @__PURE__ */ jsx(Alert, { variant: "error", title: i18n.get(error) }) : void 0,
11997
- /* @__PURE__ */ jsx("div", { className: styles$6.verifyOnfidoContent, children: hasExistingDocument ? /* @__PURE__ */ jsx(
12037
+ /* @__PURE__ */ jsx("div", { className: styles$7.verifyOnfidoContent, children: hasExistingDocument ? /* @__PURE__ */ jsx(
11998
12038
  UploadedDocument,
11999
12039
  {
12000
12040
  document: existingDocument,
12001
12041
  onDelete: () => setStatus("confirmDeleteDocumentModal"),
12002
- onUpdate: handleUpdateDocument
12042
+ onUpdate: handleUpdateExistingDocument
12003
12043
  }
12004
12044
  ) : /* @__PURE__ */ jsxs(Fragment, { children: [
12005
12045
  /* @__PURE__ */ jsx(
@@ -12038,7 +12078,7 @@ function IdVerificationMethod({ legalEntityId, handlers }) {
12038
12078
  {
12039
12079
  title: i18n.get("addDetailsManuallyQuestion"),
12040
12080
  description: i18n.get("itCanTakeUpTo"),
12041
- onCancel: handleCancelUpdateDocument,
12081
+ onCancel: handleCancelAddDetailsManually,
12042
12082
  confirmText: i18n.get("yesAddManually"),
12043
12083
  onConfirm: handleContinueViaManualEntryFlow
12044
12084
  }
@@ -12095,8 +12135,168 @@ const ManualIdUpload = () => {
12095
12135
  }
12096
12136
  );
12097
12137
  };
12138
+ const guidanceQuestion = "adyen-kyc-guidance-question";
12139
+ const options = "adyen-kyc-options";
12140
+ const styles$5 = {
12141
+ guidanceQuestion,
12142
+ options
12143
+ };
12144
+ const GuidanceQuestion = (props) => {
12145
+ const {
12146
+ descriptionLinkText,
12147
+ errorMessage,
12148
+ name,
12149
+ noLabel,
12150
+ onChange,
12151
+ onDescriptionLinkClick,
12152
+ question,
12153
+ value,
12154
+ yesLabel
12155
+ } = props;
12156
+ const { i18n } = useI18nContext();
12157
+ const handleChange = (selectedValue) => {
12158
+ const newValue = selectedValue || null;
12159
+ onChange(newValue);
12160
+ };
12161
+ const yesTileLabel = yesLabel ?? i18n.get("yes");
12162
+ const noTileLabel = noLabel ?? i18n.get("no");
12163
+ return /* @__PURE__ */ jsxs("div", { className: styles$5.guidanceQuestion, children: [
12164
+ /* @__PURE__ */ jsx(Typography, { variant: "body", el: "p", children: question }),
12165
+ descriptionLinkText && onDescriptionLinkClick && /* @__PURE__ */ jsx(Button, { variant: "link", onClick: onDescriptionLinkClick, children: descriptionLinkText }),
12166
+ /* @__PURE__ */ jsx(Field, { name, className: styles$5.options, children: () => /* @__PURE__ */ jsx(
12167
+ TileGroup,
12168
+ {
12169
+ allowMultiple: false,
12170
+ errorMessage,
12171
+ isHorizontal: true,
12172
+ maxSelected: 1,
12173
+ name,
12174
+ onChange: handleChange,
12175
+ selected: value || "",
12176
+ tiles: [
12177
+ { label: yesTileLabel, value: "yes" },
12178
+ { label: noTileLabel, value: "no" }
12179
+ ]
12180
+ }
12181
+ ) })
12182
+ ] });
12183
+ };
12184
+ function SignatoryQuestionnaire(props) {
12185
+ const { i18n } = useI18nContext();
12186
+ const {
12187
+ data,
12188
+ formVerificationErrors,
12189
+ heading,
12190
+ fieldValidationErrors,
12191
+ handleDescriptionLinkClick,
12192
+ handleFieldChange
12193
+ } = props;
12194
+ const formUtils = createFormUtils(props, i18n);
12195
+ if (!handleFieldChange) {
12196
+ return;
12197
+ }
12198
+ return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
12199
+ /* @__PURE__ */ jsx(FormHeader, { heading }),
12200
+ /* @__PURE__ */ jsx(
12201
+ ErrorPanel,
12202
+ {
12203
+ verificationErrors: formVerificationErrors,
12204
+ validationErrors: fieldValidationErrors,
12205
+ formUtils,
12206
+ id: "ariaErrorField"
12207
+ }
12208
+ ),
12209
+ /* @__PURE__ */ jsx(
12210
+ GuidanceQuestion,
12211
+ {
12212
+ name: "isSignatory",
12213
+ value: data == null ? void 0 : data.isSignatory,
12214
+ onChange: handleFieldChange("isSignatory"),
12215
+ onDescriptionLinkClick: handleDescriptionLinkClick,
12216
+ question: i18n.get("signatoryQuestion"),
12217
+ descriptionLinkText: i18n.get("whatDoesThisMean")
12218
+ }
12219
+ )
12220
+ ] });
12221
+ }
12222
+ const uboQuestionnaireFields = [
12223
+ "isOwner",
12224
+ "isControllingPerson",
12225
+ "isDirector"
12226
+ ];
12227
+ function UboQuestionnaire(props) {
12228
+ const { i18n } = useI18nContext();
12229
+ const {
12230
+ data,
12231
+ description,
12232
+ formVerificationErrors,
12233
+ heading,
12234
+ fieldValidationErrors,
12235
+ handleDescriptionLinkClick,
12236
+ handleFieldChange
12237
+ } = props;
12238
+ const formUtils = createFormUtils(props, i18n);
12239
+ if (!handleFieldChange) {
12240
+ return;
12241
+ }
12242
+ return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
12243
+ /* @__PURE__ */ jsx(FormHeader, { heading, description }),
12244
+ /* @__PURE__ */ jsx(
12245
+ ErrorPanel,
12246
+ {
12247
+ verificationErrors: formVerificationErrors,
12248
+ validationErrors: fieldValidationErrors,
12249
+ formUtils,
12250
+ id: "ariaErrorField"
12251
+ }
12252
+ ),
12253
+ formUtils.isRequiredField("isDirector") && /* @__PURE__ */ jsx(
12254
+ GuidanceQuestion,
12255
+ {
12256
+ name: "isDirector",
12257
+ value: data == null ? void 0 : data.isDirector,
12258
+ onChange: handleFieldChange("isDirector"),
12259
+ onDescriptionLinkClick: handleDescriptionLinkClick,
12260
+ question: i18n.get("directorQuestion"),
12261
+ descriptionLinkText: i18n.get("whatDoesThisMean")
12262
+ }
12263
+ ),
12264
+ /* @__PURE__ */ jsx(
12265
+ GuidanceQuestion,
12266
+ {
12267
+ name: "isOwner",
12268
+ value: data == null ? void 0 : data.isOwner,
12269
+ onChange: handleFieldChange("isOwner"),
12270
+ onDescriptionLinkClick: handleDescriptionLinkClick,
12271
+ question: i18n.get("ownerQuestion"),
12272
+ descriptionLinkText: i18n.get("whatDoesThisMean")
12273
+ }
12274
+ ),
12275
+ /* @__PURE__ */ jsx(
12276
+ GuidanceQuestion,
12277
+ {
12278
+ name: "isControllingPerson",
12279
+ value: data == null ? void 0 : data.isControllingPerson,
12280
+ onChange: handleFieldChange("isControllingPerson"),
12281
+ onDescriptionLinkClick: handleDescriptionLinkClick,
12282
+ question: i18n.get("controllingPersonQuestion"),
12283
+ descriptionLinkText: i18n.get("whatDoesThisMean")
12284
+ }
12285
+ )
12286
+ ] });
12287
+ }
12098
12288
  const logger$4 = createLogger();
12099
12289
  const individualOnfidoForms = {
12290
+ signatoryQuestionnaire: {
12291
+ formId: "signatoryQuestionnaire",
12292
+ formName: "authorizedSignatory",
12293
+ fields: ["isSignatory"]
12294
+ },
12295
+ uboQuestionnaire: {
12296
+ formId: "uboQuestionnaire",
12297
+ formName: "beneficialOwnership",
12298
+ fields: uboQuestionnaireFields
12299
+ },
12100
12300
  basicDetails: {
12101
12301
  formId: "basicDetails",
12102
12302
  formName: "basicInformationFormName",
@@ -12133,6 +12333,8 @@ const individualOnfidoForms = {
12133
12333
  fields: ["proofOfRelationship"]
12134
12334
  }
12135
12335
  };
12336
+ const signatoryQuestionnaireFormID = individualOnfidoForms.signatoryQuestionnaire.formId;
12337
+ const uboQuestionnaireFormID = individualOnfidoForms.uboQuestionnaire.formId;
12136
12338
  const basicDetailsFormID = individualOnfidoForms.basicDetails.formId;
12137
12339
  const additionalPersonalDetailsFormID = individualOnfidoForms.additionalPersonalDetails.formId;
12138
12340
  const idVerificationMethodFormID = individualOnfidoForms.idVerificationMethod.formId;
@@ -12160,6 +12362,8 @@ function IndividualOnfido(props) {
12160
12362
  legalEntityId
12161
12363
  } = props;
12162
12364
  const basicDetailsFormProps = getFormProps(props, basicDetailsFormID);
12365
+ const signatoryQuestionnaireFormProps = getFormProps(props, signatoryQuestionnaireFormID);
12366
+ const uboQuestionnaireFormProps = getFormProps(props, uboQuestionnaireFormID);
12163
12367
  const additionalPersonalDetailsFormProps = getFormProps(props, additionalPersonalDetailsFormID);
12164
12368
  const proofOfResidencyFormProps = getFormProps(props, proofOfResidencyFormID);
12165
12369
  const proofOfNationalIdFormProps = getFormProps(props, proofOfNationalIdFormID);
@@ -12193,8 +12397,33 @@ function IndividualOnfido(props) {
12193
12397
  }, [(_b = data == null ? void 0 : data.basicDetails) == null ? void 0 : _b.role, parentLegalEntity == null ? void 0 : parentLegalEntity.capabilities, taskType, capabilities]);
12194
12398
  const fullName = `${(_c = data == null ? void 0 : data.basicDetails) == null ? void 0 : _c.firstName} ${(_d = data == null ? void 0 : data.basicDetails) == null ? void 0 : _d.lastName}`;
12195
12399
  const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(fieldName, formName, mode);
12400
+ const handleDescriptionLinkClick = () => {
12401
+ };
12196
12402
  const renderActiveForm = (activeForm) => {
12197
12403
  switch (activeForm.formId) {
12404
+ case signatoryQuestionnaireFormID:
12405
+ return /* @__PURE__ */ jsx(
12406
+ SignatoryQuestionnaire,
12407
+ {
12408
+ ...signatoryQuestionnaireFormProps,
12409
+ heading: i18n.get("signatoryQuestionnaireHeader"),
12410
+ id: signatoryQuestionnaireFormID,
12411
+ handleFieldChange: handleFieldChange("signatoryQuestionnaire"),
12412
+ handleDescriptionLinkClick
12413
+ }
12414
+ );
12415
+ case uboQuestionnaireFormID:
12416
+ return /* @__PURE__ */ jsx(
12417
+ UboQuestionnaire,
12418
+ {
12419
+ ...uboQuestionnaireFormProps,
12420
+ heading: i18n.get("uboQuestionnaireHeader"),
12421
+ description: i18n.get("uboQuestionnaireDescription"),
12422
+ id: uboQuestionnaireFormID,
12423
+ handleFieldChange: handleFieldChange("uboQuestionnaire"),
12424
+ handleDescriptionLinkClick
12425
+ }
12426
+ );
12198
12427
  case basicDetailsFormID:
12199
12428
  return /* @__PURE__ */ jsx(
12200
12429
  BasicDetails,
@@ -12212,7 +12441,8 @@ function IndividualOnfido(props) {
12212
12441
  trustedRoles,
12213
12442
  errors: errors == null ? void 0 : errors.basicDetails,
12214
12443
  fieldValidationErrors: fieldValidationErrors == null ? void 0 : fieldValidationErrors.basicDetails,
12215
- valid: valid == null ? void 0 : valid.basicDetails
12444
+ valid: valid == null ? void 0 : valid.basicDetails,
12445
+ handleFieldChange: handleFieldChange("basicDetails")
12216
12446
  }
12217
12447
  );
12218
12448
  case idVerificationMethodFormID:
@@ -12239,7 +12469,8 @@ function IndividualOnfido(props) {
12239
12469
  errors: errors == null ? void 0 : errors.additionalPersonalDetails,
12240
12470
  fieldValidationErrors: fieldValidationErrors == null ? void 0 : fieldValidationErrors.additionalPersonalDetails,
12241
12471
  valid: valid == null ? void 0 : valid.additionalPersonalDetails,
12242
- taskType
12472
+ taskType,
12473
+ handleFieldChange: handleFieldChange("additionalPersonalDetails")
12243
12474
  }
12244
12475
  );
12245
12476
  case manualIdUploadFormID:
@@ -12484,6 +12715,23 @@ const identityOnfidoBase = {
12484
12715
  },
12485
12716
  idBackPage: {
12486
12717
  rule: "backPageIfRequiredForIdType"
12718
+ },
12719
+ // Fields required for Guided decision makers flow
12720
+ isSignatory: {
12721
+ rules: ["isGuidedDecisionMakersFlowEnabled", "requiredIfDecisionMakerTask"]
12722
+ },
12723
+ isOwner: {
12724
+ rules: ["isGuidedDecisionMakersFlowEnabled", "requiredIfDecisionMakerTask"]
12725
+ },
12726
+ isControllingPerson: {
12727
+ rules: ["isGuidedDecisionMakersFlowEnabled", "requiredIfDecisionMakerTask"]
12728
+ },
12729
+ isDirector: {
12730
+ rules: [
12731
+ "isGuidedDecisionMakersFlowEnabled",
12732
+ "requiredIfDecisionMakerTask",
12733
+ "isDirectorRequiredForCountry"
12734
+ ]
12487
12735
  }
12488
12736
  };
12489
12737
  const identityNumber = {
@@ -15234,8 +15482,8 @@ const actionsMenu = "adyen-kyc-actions-menu";
15234
15482
  const styles$3 = {
15235
15483
  actionsMenu
15236
15484
  };
15237
- const ActionsMenu = ({ options, open, setOpen }) => {
15238
- const menuItems = options.map(({ label, onSelect, icon }) => /* @__PURE__ */ jsx(
15485
+ const ActionsMenu = ({ options: options2, open, setOpen }) => {
15486
+ const menuItems = options2.map(({ label, onSelect, icon }) => /* @__PURE__ */ jsx(
15239
15487
  Button,
15240
15488
  {
15241
15489
  onClick: (event) => {
@@ -16283,32 +16531,32 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
16283
16531
  return hasOwnEntityAssocation || !!hasOrganizationType;
16284
16532
  };
16285
16533
  const Introduction = lazy(
16286
- async () => (await import("./Introduction-BleGRaa4.js")).Introduction
16534
+ async () => (await import("./Introduction-Dhm3WEef.js")).Introduction
16287
16535
  );
16288
16536
  const BusinessTypeSelection = lazy(
16289
- async () => (await import("./BusinessTypeSelection-DeZuB2cX.js")).BusinessTypeSelection
16537
+ async () => (await import("./BusinessTypeSelection-DqYdtKWT.js")).BusinessTypeSelection
16290
16538
  );
16291
16539
  const SingpassSelection = lazy(
16292
- async () => (await import("./SingpassSelection-DC-hVP9Y.js")).SingpassSelection
16540
+ async () => (await import("./SingpassSelection-Djfz5Puu.js")).SingpassSelection
16293
16541
  );
16294
16542
  const AccountSetupRejected = lazy(
16295
- async () => (await import("./AccountSetupRejected-CghDwOps.js")).AccountSetupRejected
16543
+ async () => (await import("./AccountSetupRejected-BUjkuj8y.js")).AccountSetupRejected
16296
16544
  );
16297
16545
  const DecisionMakers = lazy(
16298
- async () => (await import("./DecisionMakers-jM2qEJYz.js")).DecisionMakers
16546
+ async () => (await import("./DecisionMakers-DCP-NbPE.js")).DecisionMakers
16299
16547
  );
16300
16548
  const CustomerSupport = lazy(
16301
- async () => (await import("./CustomerSupport-BWMKG7BY.js")).CustomerSupport
16549
+ async () => (await import("./CustomerSupport-Dt_GbO2W.js")).CustomerSupport
16302
16550
  );
16303
- const Review = lazy(async () => (await import("./Review-B8zggWg2.js")).Review);
16551
+ const Review = lazy(async () => (await import("./Review-B5Drv-UX.js")).Review);
16304
16552
  const SignPCIComponent$2 = lazy(
16305
16553
  async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
16306
16554
  );
16307
16555
  const AcceptTermsOfService = lazy(
16308
- async () => (await import("./AcceptTermsOfServiceComponent-Cnv5ZPl5.js").then((n) => n.b)).AcceptTermsOfServiceComponent
16556
+ async () => (await import("./AcceptTermsOfServiceComponent-DGnbaEif.js").then((n) => n.b)).AcceptTermsOfServiceComponent
16309
16557
  );
16310
16558
  const TaxReportingDropin = lazy(
16311
- async () => (await import("./TaxReportingDropin-DqSPuzE8.js")).TaxReportingDropin
16559
+ async () => (await import("./TaxReportingDropin-CpStwino.js")).TaxReportingDropin
16312
16560
  );
16313
16561
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
16314
16562
  const logger$1 = createLogger();
@@ -17038,12 +17286,12 @@ const getPciTemplate = async (legalEntityId, baseUrl, data) => {
17038
17286
  data
17039
17287
  );
17040
17288
  };
17041
- const usePciTemplate = (data, options) => {
17289
+ const usePciTemplate = (data, options2) => {
17042
17290
  const { rootLegalEntityId, baseUrl } = useApiContext();
17043
17291
  return useQuery({
17044
17292
  queryKey: ["pciTemplate", data],
17045
17293
  queryFn: () => getPciTemplate(rootLegalEntityId.value, baseUrl.value, data),
17046
- ...options
17294
+ ...options2
17047
17295
  });
17048
17296
  };
17049
17297
  const signPci = async (legalEntityId, baseUrl, data) => {
@@ -17055,7 +17303,7 @@ const signPci = async (legalEntityId, baseUrl, data) => {
17055
17303
  data
17056
17304
  );
17057
17305
  };
17058
- const useSignPci = (options) => {
17306
+ const useSignPci = (options2) => {
17059
17307
  const { rootLegalEntityId, baseUrl } = useApiContext();
17060
17308
  const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
17061
17309
  return useMutation({
@@ -17063,7 +17311,7 @@ const useSignPci = (options) => {
17063
17311
  onSuccess: async () => {
17064
17312
  await invalidateRootLegalEntity();
17065
17313
  },
17066
- ...options
17314
+ ...options2
17067
17315
  });
17068
17316
  };
17069
17317
  const pciValidationRules = {
@@ -17337,11 +17585,11 @@ const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
17337
17585
  data
17338
17586
  );
17339
17587
  };
17340
- const useGenerateOnboardingLink = (options) => {
17588
+ const useGenerateOnboardingLink = (options2) => {
17341
17589
  const { rootLegalEntityId, baseUrl } = useApiContext();
17342
17590
  return useMutation({
17343
17591
  mutationFn: (data) => generateOnboardingLink(rootLegalEntityId.value, baseUrl.value, data),
17344
- ...options
17592
+ ...options2
17345
17593
  });
17346
17594
  };
17347
17595
  const coerceError = (err) => {
@@ -17604,11 +17852,11 @@ Missing or invalid parameters. Specify ${listify(
17604
17852
  );
17605
17853
  }
17606
17854
  };
17607
- const validateComponentOptions = (componentName, options) => {
17855
+ const validateComponentOptions = (componentName, options2) => {
17608
17856
  const propertiesSchema = componentsSchemaMap[componentName];
17609
17857
  if (!isUndefinedOrNull(propertiesSchema)) {
17610
17858
  const schemaParentsPaths = [];
17611
- validateOptionsSchema({ expected: propertiesSchema, received: options, schemaParentsPaths });
17859
+ validateOptionsSchema({ expected: propertiesSchema, received: options2, schemaParentsPaths });
17612
17860
  }
17613
17861
  };
17614
17862
  const validateOptionsSchema = ({
@@ -17675,9 +17923,9 @@ const validateOptionsSchema = ({
17675
17923
  }
17676
17924
  });
17677
17925
  };
17678
- const validateForComponent = (componentName, options) => {
17926
+ const validateForComponent = (componentName, options2) => {
17679
17927
  validateComponentName(componentName);
17680
- validateComponentOptions(componentName, options);
17928
+ validateComponentOptions(componentName, options2);
17681
17929
  };
17682
17930
  class BaseElement {
17683
17931
  constructor(props) {
@@ -17769,7 +18017,7 @@ class UIElement extends BaseElement {
17769
18017
  baseUrl: this.props.baseUrl,
17770
18018
  children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
17771
18019
  /* @__PURE__ */ jsxs(StoreProvider, { children: [
17772
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.69.1" }),
18020
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.0-beta.0" }),
17773
18021
  /* @__PURE__ */ jsx(
17774
18022
  AnalyticsProvider,
17775
18023
  {
@@ -17811,8 +18059,8 @@ class Core {
17811
18059
  this.components.push(uiElement);
17812
18060
  return uiElement;
17813
18061
  };
17814
- this.update = (options) => {
17815
- this.options = this.getUpdatedOptions(options);
18062
+ this.update = (options2) => {
18063
+ this.options = this.getUpdatedOptions(options2);
17816
18064
  this.components.forEach((c) => c.update(this.options));
17817
18065
  return this;
17818
18066
  };
@@ -17831,8 +18079,8 @@ class Core {
17831
18079
  component.unmount();
17832
18080
  return this;
17833
18081
  };
17834
- this.getUpdatedOptions = (options) => {
17835
- const newOptions = { ...this.options, ...options };
18082
+ this.getUpdatedOptions = (options2) => {
18083
+ const newOptions = { ...this.options, ...options2 };
17836
18084
  validateCoreOptions(newOptions);
17837
18085
  newOptions.baseUrl = normalizeEnvironment(newOptions.environment);
17838
18086
  if (!newOptions.locale) newOptions.locale = FALLBACK_LOCALE;