@adyen/kyc-components 3.70.1 → 3.70.4

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 (34) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-CB9-JTUt.js → AcceptTermsOfServiceComponent-BI-piG2u.js} +1 -1
  2. package/dist/{AccountSetupRejected-CqLBw5jj.js → AccountSetupRejected-Dn8WSlT3.js} +2 -2
  3. package/dist/{BusinessDetailsDropin-C2l2G1h-.js → BusinessDetailsDropin-CoRAL_0f.js} +11 -6
  4. package/dist/{BusinessTypeSelection-BPm-Ovqu.js → BusinessTypeSelection-C5IzfnzR.js} +3 -3
  5. package/dist/{CXEL7IU7-o9JixlwU.js → CXEL7IU7-Cc1zZH1V.js} +2 -2
  6. package/dist/{CreateIndividualComponent-dJGcyu7c.js → CreateIndividualComponent-wlhR96DR.js} +1 -1
  7. package/dist/{CustomerSupport-D2nVqTfU.js → CustomerSupport-Dm02rX5E.js} +2 -2
  8. package/dist/{DebugModal-CzJuefka.js → DebugModal-BJGcqLa7.js} +8 -8
  9. package/dist/{DecisionMakers-GSJzp8Dy.js → DecisionMakers-C9VRyN-z.js} +3 -3
  10. package/dist/{EmbedShell-CZxhSCfV.js → EmbedShell-hJSmRFU-.js} +3 -3
  11. package/dist/{EventEmitter-DCsy8L3G.js → EventEmitter-Cq-82eYj.js} +11 -6
  12. package/dist/{HASRA6WW-hI5dFUfC.js → HASRA6WW-D4n872gE.js} +1 -1
  13. package/dist/{I3HPI4QX-nKWqWjPL.js → I3HPI4QX-CYgU-Kw-.js} +2 -2
  14. package/dist/{Introduction-DiIuVjE5.js → Introduction-CC0_eYC9.js} +3 -3
  15. package/dist/{Review-DOVTA4VU.js → Review-wnQ1x7NE.js} +2 -2
  16. package/dist/{SingpassSelection-CFv29p4c.js → SingpassSelection-BXSPue0v.js} +1 -1
  17. package/dist/{SourceOfFunds.module-C0GmIKME.js → SourceOfFunds.module-Cs51Y5p9.js} +1 -1
  18. package/dist/{SourceOfFundsDropin-r9zoGSGu.js → SourceOfFundsDropin-SJgyVC2h.js} +4 -4
  19. package/dist/{TaskItemStatus-Daz5-VtS.js → TaskItemStatus-CuAn_5X4.js} +1 -1
  20. package/dist/{TaxReportingDropin-CPmYYjKL.js → TaxReportingDropin-B-PMN93r.js} +4 -4
  21. package/dist/{TrustDropin-DFo-Q1R4.js → TrustDropin-DWudYQtC.js} +3 -3
  22. package/dist/adyen-kyc-components.js +1 -1
  23. package/dist/adyenConfig.js +2 -2
  24. package/dist/{core-CqzEqOHR.js → core-CEOtQFGb.js} +20 -20
  25. package/dist/{css-5_E8YQjp.js → css-CiEdFdmv.js} +1 -1
  26. package/dist/individual.js +4 -4
  27. package/dist/{json-BGzAswza.js → json-DpUNFPoc.js} +1 -1
  28. package/dist/{plaintext-DrQEkqmR.js → plaintext-BgkI_7Jp.js} +1 -1
  29. package/dist/terms-of-service.js +4 -4
  30. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  31. package/dist/{utils-D6eedwqH.js → utils-BVzbR6pu.js} +1 -1
  32. package/dist/{utils-CDvhIv8J.js → utils-BgAflqaa.js} +3 -3
  33. package/dist/{yaml-Bz5oWQ_7.js → yaml-CR7EMTmU.js} +1 -1
  34. package/package.json +1 -1
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useRef, useState, useEffect, useCallback } from "preact/hooks";
12
- import { u as useApiContext, X as useInvalidateRootLegalEntity, c as useMutation, h as httpPost, a as useQuery, b as httpGet, a8 as skipToken, V as Icon, e as useI18nContext, J as Typography, dm as globalStyles, bv as AlertIcon, db as KEYBOARD_KEYS, f as useAnalyticsContext, ak as noop, a3 as createLogger, t as useToastContext, g as useExperimentsContext, aB as useForm, Z as Alert, B as Button, bc as localizeDateString, L as LoaderWrapper, aH as Field, b7 as Select, b8 as Checkbox, aT as ActionBar, M as MaybeModal, i as ModalContent, k as ModalFooter, S as Spacer, O as LegalEntityType, ar as getOwnSignatories, a9 as doesLegalEntityRequiresLegalRepresentative, a7 as getLegalRepresentative, N as useLegalEntity, Q as Loader, T as TaskTypes, W as ROOT_LE } from "./EventEmitter-DCsy8L3G.js";
12
+ import { u as useApiContext, X as useInvalidateRootLegalEntity, c as useMutation, h as httpPost, a as useQuery, b as httpGet, a8 as skipToken, V as Icon, e as useI18nContext, J as Typography, dm as globalStyles, bv as AlertIcon, db as KEYBOARD_KEYS, f as useAnalyticsContext, ak as noop, a3 as createLogger, t as useToastContext, g as useExperimentsContext, aB as useForm, Z as Alert, B as Button, bc as localizeDateString, L as LoaderWrapper, aH as Field, b7 as Select, b8 as Checkbox, aT as ActionBar, M as MaybeModal, i as ModalContent, k as ModalFooter, S as Spacer, O as LegalEntityType, ar as getOwnSignatories, a9 as doesLegalEntityRequiresLegalRepresentative, a7 as getLegalRepresentative, N as useLegalEntity, Q as Loader, T as TaskTypes, W as ROOT_LE } from "./EventEmitter-Cq-82eYj.js";
13
13
  import cx from "classnames";
14
14
  import { defineSlots } from "named-slots";
15
15
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { e as useI18nContext, bv as AlertIcon, aE as FormHeader } from "./EventEmitter-DCsy8L3G.js";
12
- import { D as DropinLayout } from "./core-CqzEqOHR.js";
11
+ import { e as useI18nContext, bv as AlertIcon, aE as FormHeader } from "./EventEmitter-Cq-82eYj.js";
12
+ import { D as DropinLayout } from "./core-CEOtQFGb.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -2,17 +2,17 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1f165b67-5566-4808-937a-e5cdce16972a", e._sentryDebugIdIdentifier = "sentry-dbid-1f165b67-5566-4808-937a-e5cdce16972a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c9a1e73e-a453-4c3c-be9e-856ef76f1f94", e._sentryDebugIdIdentifier = "sentry-dbid-c9a1e73e-a453-4c3c-be9e-856ef76f1f94");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useCallback, useRef, useEffect, useMemo } from "preact/hooks";
12
- import { u as useApiContext, c as useMutation, h as httpPost, e as useI18nContext, dj as MemoizedDocumentUpload, dt as List, C as CountryCodes, af as CompanyTypesValue, bl as useGlobalData, du as getForms, T as TaskTypes, dv as BasicInformation, br as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, O as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, b3 as objectsDeepEqual, a3 as createLogger, a2 as entriesOf, bS as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, q as keysOf, bt as isUndefinedOrNull, r as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bN as businessDetailsApiKeyMapping, d4 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, G as datasetUtilities, cF as mapAddressLabels, dH as companyTypeMetadata, K as isEmpty$1, cE as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, ay as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dO as getKeyForField, b9 as drop, aR as getOwnEntityAssociations, cK as doArraysMatch, ag as useAccountHolder, t as useToastContext, f as useAnalyticsContext, g as useExperimentsContext, v as useSettingsContext, z as useStateContext, E as SettingNames, dP as setIsBankAccountRequestedForOrganization, bq as getAssociatedLeAnalyticsPayload, A as getCapabilityProblems, dQ as rules, a1 as Confirm, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-DCsy8L3G.js";
13
- import { B as formatObject, g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, s as augmentWithCountryConfigs, E as composePerScenarioFormConfigurations, D as getProp, k as isValidationError, p as processValidationErrors, q as isMaintenanceModeError, v as getFileExtention, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, M as getFieldsWithExistingData, h as getRequiredForms, i as addValidityToForms, y as useCreateLegalEntity, z as useUpdateLegalEntity, j as useFormComposer, t as trackNavigation } from "./CreateIndividualComponent-dJGcyu7c.js";
14
- import { m as mapFinancialReportsToFinancialInformation, d as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-CqzEqOHR.js";
15
- import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CDvhIv8J.js";
12
+ import { u as useApiContext, c as useMutation, h as httpPost, e as useI18nContext, dj as MemoizedDocumentUpload, dt as List, C as CountryCodes, af as CompanyTypesValue, bl as useGlobalData, du as getForms, T as TaskTypes, dv as BasicInformation, br as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, O as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, b3 as objectsDeepEqual, a3 as createLogger, a2 as entriesOf, bS as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, q as keysOf, bt as isUndefinedOrNull, r as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bN as businessDetailsApiKeyMapping, d4 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, G as datasetUtilities, cF as mapAddressLabels, dH as companyTypeMetadata, K as isEmpty$1, cE as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, ay as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dO as getKeyForField, b9 as drop, aR as getOwnEntityAssociations, cK as doArraysMatch, ag as useAccountHolder, t as useToastContext, f as useAnalyticsContext, g as useExperimentsContext, v as useSettingsContext, z as useStateContext, E as SettingNames, dP as setIsBankAccountRequestedForOrganization, bq as getAssociatedLeAnalyticsPayload, A as getCapabilityProblems, dQ as rules, a1 as Confirm, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-Cq-82eYj.js";
13
+ import { B as formatObject, g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, s as augmentWithCountryConfigs, E as composePerScenarioFormConfigurations, D as getProp, k as isValidationError, p as processValidationErrors, q as isMaintenanceModeError, v as getFileExtention, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, M as getFieldsWithExistingData, h as getRequiredForms, i as addValidityToForms, y as useCreateLegalEntity, z as useUpdateLegalEntity, j as useFormComposer, t as trackNavigation } from "./CreateIndividualComponent-wlhR96DR.js";
14
+ import { m as mapFinancialReportsToFinancialInformation, d as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-CEOtQFGb.js";
15
+ import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BgAflqaa.js";
16
16
  import cx from "classnames";
17
17
  import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
18
18
  const clearCompanyData = async (legalEntityId, baseUrl) => {
@@ -1297,7 +1297,12 @@ const businessDetailsFieldsPerScenario = {
1297
1297
  stateOrProvince: { rule: "countryUsingCompanySearch" },
1298
1298
  ...financialInformationBase
1299
1299
  },
1300
- L1: { ...businessDetailsBase, ...financialInformationBase },
1300
+ L1: {
1301
+ ...businessDetailsBase,
1302
+ ...financialInformationBase,
1303
+ /* Temporary override for TSD-43260 */
1304
+ taxInformation: { rule: "canadaOverrideTaxInfo" }
1305
+ },
1301
1306
  L: {
1302
1307
  ...businessDetailsBase,
1303
1308
  ...taxInformationBase,
@@ -9,9 +9,9 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { N as useLegalEntity, Q as Loader, W as ROOT_LE, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, g as useExperimentsContext, dr as getCapabilities, w as getLegalEntityCountry, O as LegalEntityType, aB as useForm, L as LoaderWrapper, J as Typography, aH as Field, ds as EntityTypeRadioGroupCard, aK as RadioGroupCard, B as Button, S as Spacer, V as Icon, ac as hasSolePropInLegalEntity } from "./EventEmitter-DCsy8L3G.js";
13
- import { z as useUpdateLegalEntity } from "./CreateIndividualComponent-dJGcyu7c.js";
14
- import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CDvhIv8J.js";
12
+ import { N as useLegalEntity, Q as Loader, W as ROOT_LE, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, g as useExperimentsContext, dr as getCapabilities, w as getLegalEntityCountry, O as LegalEntityType, aB as useForm, L as LoaderWrapper, J as Typography, aH as Field, ds as EntityTypeRadioGroupCard, aK as RadioGroupCard, B as Button, S as Spacer, V as Icon, ac as hasSolePropInLegalEntity } from "./EventEmitter-Cq-82eYj.js";
13
+ import { z as useUpdateLegalEntity } from "./CreateIndividualComponent-wlhR96DR.js";
14
+ import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-BgAflqaa.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`];
@@ -7,8 +7,8 @@
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-hI5dFUfC.js";
11
- import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-DCsy8L3G.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-D4n872gE.js";
11
+ import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-Cq-82eYj.js";
12
12
  var DevtoolsPanelComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { aw as TrustMemberTypes, O as LegalEntityType, y as getLegalEntityNameBasedOnType, a3 as createLogger, N as useLegalEntity, a8 as skipToken, aR as getOwnEntityAssociations, W as ROOT_LE, g as useExperimentsContext, a$ as mapEntityAssociationsToUnincorporatedPartnershipMembers, A as getCapabilityProblems, w as getLegalEntityCountry, C as CountryCodes, T as TaskTypes, u as useApiContext, a as useQuery, b as httpGet, c as useMutation, h as httpPost, X as useInvalidateRootLegalEntity, d as useQueryClient, bM as FormContext, b5 as TrustedFieldsProvider, bN as businessDetailsApiKeyMapping, bO as individualApiKeyMapping, q as keysOf, bP as remediationHasFileUploadField, bQ as dataMissingRemediationsToFieldsMap, ab as isPartOfTrustFromLegalEntity, ac as hasSolePropInLegalEntity, bR as individualComponentsKeyMapping, bS as businessDetailsComponentsKeyMapping, f as useAnalyticsContext, s as summaryStep, b3 as objectsDeepEqual, bT as ValidationResult, bU as isNotEmptyValidator, K as isEmpty, an as useSignalValue, bV as AdyenKycSdkError, bW as payoutAccountFormat, bX as hasText, bY as matchesRegex, bZ as trimValWithOneSpace, b_ as NO_ALPHABET_REGEX, b$ as EMOJI_REGEX, c0 as hasRepeatedCharacters, c1 as isInvalidName, c2 as INDIVIDUAL_VALID_CHAR_REGEX, c3 as getFormattingRegEx, c4 as SPECIAL_CHARS, c5 as FormRouterContext, e as useI18nContext, M as MaybeModal, L as LoaderWrapper, l as Summary, B as Button, a0 as IconButton, a1 as Confirm, Y as httpDelete, c6 as getLocalizedIdDocumentTypeOptions, c7 as isNewlyUploadedFile, c8 as remediationPayoutApiKeyMapping, c9 as remediationBusinessDetailsApiKeyMapping, ca as remediationIndividualApiKeyMapping, cb as getNestedPropertyKeys, F as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, ay as resolveFieldMetadata, cf as getSSNType, cg as defaultFieldMetadata, ch as defaultFieldConfig, ci as defaultFieldMetadata$1, cj as fieldConfig, ck as defaultFieldMetadata$2, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as DecisionMakerType, m as createFormRules, cp as allowedCountriesForNominee, bm as getAddressSchemaForCountry, bn as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, ba as reverseMapping, cr as getNomineeFromAssociation, b9 as drop, ag as useAccountHolder, t as useToastContext, v as useSettingsContext, cs as useProviderStatus, bq as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as setHasMotionCaptureScenario, cy as individualDocumentMapping, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, G as datasetUtilities, cC as Individual, cD as individualObscuredFields, cE as filterOutUnwantedAssociationsIfRootLE, cF as mapAddressLabels, cG as individualDocumentForms, bc as localizeDateString, cH as hasNomineesChanged, cI as attachNomineeToRole, cJ as idVerificationProviderId, cK as doArraysMatch, cL as getAvailableDecisionMakerRoleTypes, aH as Field, b7 as Select, cM as licenseCardNumberDefaultMetadata, cN as licenseCardNumberDefaultConfig, ax as mergeFieldMetadataIntoProps, aG as createFormUtils, cO as useFormContext, aC as getFieldProps, cP as idNumberFields, cQ as IdentityNumber, cR as additionallIdNumberOptions, cS as MaskedInput, bg as InputDate, cT as formatDateObj, cU as DriversLicense, cV as addressFields, bu as useAllowedCountries, cW as getDefaultTaxIdNumberType, aE as FormHeader, aF as ErrorPanel, J as Typography, aN as CountryField, bo as Address, bp as getAddressSchemaLabelsByCountry, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, aD as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, Z as Alert, aZ as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, aM as Name, be as InputText, d3 as ContactDetails, d4 as isEmpty$1, d5 as RadioWithLabel, I as Modal, bd as Link, d6 as Svg, d7 as pick, d8 as IdVerification, S as Spacer, a4 as useDataset, a5 as datasetIdentifier, Q as Loader, aa as ProviderButton, d9 as IdDocumentManualUpload, da as useId, V as Icon, db as KEYBOARD_KEYS, ak as noop, dc as idDocumentUploadFields, dd as useFormRouterContext, br as getFormProps, de as useCapabilities, df as setShowIndividualMotionCapture, dg as shouldShowMotionCapture, dh as hasMotionCaptureScenario, di as MemoizedProofOfRelationship, dj as MemoizedDocumentUpload, dk as MemoizedProofOfResidencyUpload, ah as EntityType } from "./EventEmitter-DCsy8L3G.js";
11
+ import { aw as TrustMemberTypes, O as LegalEntityType, y as getLegalEntityNameBasedOnType, a3 as createLogger, N as useLegalEntity, a8 as skipToken, aR as getOwnEntityAssociations, W as ROOT_LE, g as useExperimentsContext, a$ as mapEntityAssociationsToUnincorporatedPartnershipMembers, A as getCapabilityProblems, w as getLegalEntityCountry, C as CountryCodes, T as TaskTypes, u as useApiContext, a as useQuery, b as httpGet, c as useMutation, h as httpPost, X as useInvalidateRootLegalEntity, d as useQueryClient, bM as FormContext, b5 as TrustedFieldsProvider, bN as businessDetailsApiKeyMapping, bO as individualApiKeyMapping, q as keysOf, bP as remediationHasFileUploadField, bQ as dataMissingRemediationsToFieldsMap, ab as isPartOfTrustFromLegalEntity, ac as hasSolePropInLegalEntity, bR as individualComponentsKeyMapping, bS as businessDetailsComponentsKeyMapping, f as useAnalyticsContext, s as summaryStep, b3 as objectsDeepEqual, bT as ValidationResult, bU as isNotEmptyValidator, K as isEmpty, an as useSignalValue, bV as AdyenKycSdkError, bW as payoutAccountFormat, bX as hasText, bY as matchesRegex, bZ as trimValWithOneSpace, b_ as NO_ALPHABET_REGEX, b$ as EMOJI_REGEX, c0 as hasRepeatedCharacters, c1 as isInvalidName, c2 as INDIVIDUAL_VALID_CHAR_REGEX, c3 as getFormattingRegEx, c4 as SPECIAL_CHARS, c5 as FormRouterContext, e as useI18nContext, M as MaybeModal, L as LoaderWrapper, l as Summary, B as Button, a0 as IconButton, a1 as Confirm, Y as httpDelete, c6 as getLocalizedIdDocumentTypeOptions, c7 as isNewlyUploadedFile, c8 as remediationPayoutApiKeyMapping, c9 as remediationBusinessDetailsApiKeyMapping, ca as remediationIndividualApiKeyMapping, cb as getNestedPropertyKeys, F as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, ay as resolveFieldMetadata, cf as getSSNType, cg as defaultFieldMetadata, ch as defaultFieldConfig, ci as defaultFieldMetadata$1, cj as fieldConfig, ck as defaultFieldMetadata$2, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as DecisionMakerType, m as createFormRules, cp as allowedCountriesForNominee, bm as getAddressSchemaForCountry, bn as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, ba as reverseMapping, cr as getNomineeFromAssociation, b9 as drop, ag as useAccountHolder, t as useToastContext, v as useSettingsContext, cs as useProviderStatus, bq as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as setHasMotionCaptureScenario, cy as individualDocumentMapping, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, G as datasetUtilities, cC as Individual, cD as individualObscuredFields, cE as filterOutUnwantedAssociationsIfRootLE, cF as mapAddressLabels, cG as individualDocumentForms, bc as localizeDateString, cH as hasNomineesChanged, cI as attachNomineeToRole, cJ as idVerificationProviderId, cK as doArraysMatch, cL as getAvailableDecisionMakerRoleTypes, aH as Field, b7 as Select, cM as licenseCardNumberDefaultMetadata, cN as licenseCardNumberDefaultConfig, ax as mergeFieldMetadataIntoProps, aG as createFormUtils, cO as useFormContext, aC as getFieldProps, cP as idNumberFields, cQ as IdentityNumber, cR as additionallIdNumberOptions, cS as MaskedInput, bg as InputDate, cT as formatDateObj, cU as DriversLicense, cV as addressFields, bu as useAllowedCountries, cW as getDefaultTaxIdNumberType, aE as FormHeader, aF as ErrorPanel, J as Typography, aN as CountryField, bo as Address, bp as getAddressSchemaLabelsByCountry, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, aD as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, Z as Alert, aZ as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, aM as Name, be as InputText, d3 as ContactDetails, d4 as isEmpty$1, d5 as RadioWithLabel, I as Modal, bd as Link, d6 as Svg, d7 as pick, d8 as IdVerification, S as Spacer, a4 as useDataset, a5 as datasetIdentifier, Q as Loader, aa as ProviderButton, d9 as IdDocumentManualUpload, da as useId, V as Icon, db as KEYBOARD_KEYS, ak as noop, dc as idDocumentUploadFields, dd as useFormRouterContext, br as getFormProps, de as useCapabilities, df as setShowIndividualMotionCapture, dg as shouldShowMotionCapture, dh as hasMotionCaptureScenario, di as MemoizedProofOfRelationship, dj as MemoizedDocumentUpload, dk as MemoizedProofOfResidencyUpload, ah as EntityType } from "./EventEmitter-Cq-82eYj.js";
12
12
  import { useMemo, useCallback, useReducer, useState, useEffect, useRef } from "preact/hooks";
13
13
  import cx from "classnames";
14
14
  import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { N as useLegalEntity, Q as Loader, W as ROOT_LE, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, d as useQueryClient, ay as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, aE as FormHeader, d3 as ContactDetails, aT as ActionBar, a3 as createLogger } from "./EventEmitter-DCsy8L3G.js";
11
+ import { N as useLegalEntity, Q as Loader, W as ROOT_LE, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, d as useQueryClient, ay as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, aE as FormHeader, d3 as ContactDetails, aT as ActionBar, a3 as createLogger } from "./EventEmitter-Cq-82eYj.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { z as useUpdateLegalEntity, H as contactDetailsValidationRules, I as useValidatePhoneNumberImperatively, J as useMultiForm } from "./CreateIndividualComponent-dJGcyu7c.js";
13
+ import { z as useUpdateLegalEntity, H as contactDetailsValidationRules, I as useValidatePhoneNumberImperatively, J as useMultiForm } from "./CreateIndividualComponent-wlhR96DR.js";
14
14
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
15
15
  var _a, _b, _c;
16
16
  return {
@@ -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] = "ab45000c-d3f2-4b37-bd96-bcaa9aee7e3e", e._sentryDebugIdIdentifier = "sentry-dbid-ab45000c-d3f2-4b37-bd96-bcaa9aee7e3e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ff27e160-dd08-4dd6-b72d-3d90d09b6354", e._sentryDebugIdIdentifier = "sentry-dbid-ff27e160-dd08-4dd6-b72d-3d90d09b6354");
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 { B as Button, a2 as entriesOf, be as InputText, e as useI18nContext, dn as splitTaskIdentifier, g as useExperimentsContext, v as useSettingsContext, an as useSignalValue, ao as useGlobalStore, dp as valuesOf, I as Modal, a3 as createLogger, V as Icon, E as SettingNames } from "./EventEmitter-DCsy8L3G.js";
12
+ import { B as Button, a2 as entriesOf, be as InputText, e as useI18nContext, dn as splitTaskIdentifier, g as useExperimentsContext, v as useSettingsContext, an as useSignalValue, ao as useGlobalStore, dp as valuesOf, I as Modal, a3 as createLogger, V as Icon, E as SettingNames } from "./EventEmitter-Cq-82eYj.js";
13
13
  import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
14
- import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-Daz5-VtS.js";
14
+ import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-CuAn_5X4.js";
15
15
  var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
16
16
  ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
17
17
  ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
@@ -177,10 +177,10 @@ const transformModule = (highlights, codeNode, scope) => {
177
177
  };
178
178
  const supportedModules = ["plaintext", "json", "yaml", "css"];
179
179
  const moduleMap = {
180
- plaintext: () => import("./plaintext-DrQEkqmR.js"),
181
- json: () => import("./json-BGzAswza.js"),
182
- yaml: () => import("./yaml-Bz5oWQ_7.js"),
183
- css: () => import("./css-5_E8YQjp.js")
180
+ plaintext: () => import("./plaintext-BgkI_7Jp.js"),
181
+ json: () => import("./json-DpUNFPoc.js"),
182
+ yaml: () => import("./yaml-CR7EMTmU.js"),
183
+ css: () => import("./css-CiEdFdmv.js")
184
184
  };
185
185
  const getModule = async (name) => {
186
186
  if (!supportedModules.includes(name)) {
@@ -471,7 +471,7 @@ const DebugModal = ({ onExit }) => {
471
471
  const [tab, setTab] = useState("metadata");
472
472
  const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
473
473
  const metadata = {
474
- sdkVersion: "3.70.1",
474
+ sdkVersion: "3.70.4",
475
475
  locale: i18n.locale,
476
476
  rootLegalEntityId: rootLegalEntity.id
477
477
  };
@@ -9,9 +9,9 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { N as useLegalEntity, Q as Loader, W as ROOT_LE, ap as useGetTaskStatus, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, b6 as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cB as getAllowedDecisionMakerRoles, aE as FormHeader, aZ as ContextGuidance, co as DecisionMakerType, Z as Alert, al as CardGroup, B as Button, aT as ActionBar } from "./EventEmitter-DCsy8L3G.js";
13
- import { z as useUpdateLegalEntity } from "./CreateIndividualComponent-dJGcyu7c.js";
14
- import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-CqzEqOHR.js";
12
+ import { N as useLegalEntity, Q as Loader, W as ROOT_LE, ap as useGetTaskStatus, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, b6 as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cB as getAllowedDecisionMakerRoles, aE as FormHeader, aZ as ContextGuidance, co as DecisionMakerType, Z as Alert, al as CardGroup, B as Button, aT as ActionBar } from "./EventEmitter-Cq-82eYj.js";
13
+ import { z as useUpdateLegalEntity } from "./CreateIndividualComponent-wlhR96DR.js";
14
+ import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-CEOtQFGb.js";
15
15
  const DecisionMakers = (props) => {
16
16
  const { data, isLoading } = useLegalEntity(ROOT_LE);
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] = "33c2f0d0-3ec9-465d-9a7d-b2ee12a2139c", e._sentryDebugIdIdentifier = "sentry-dbid-33c2f0d0-3ec9-465d-9a7d-b2ee12a2139c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "55596270-1f39-4302-81ef-46ecdcf4ae81", e._sentryDebugIdIdentifier = "sentry-dbid-55596270-1f39-4302-81ef-46ecdcf4ae81");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
- import { dl as refreshSession, B as Button, Q as Loader, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bx as EventEmitter, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, bL as setSdkTokenHandler } from "./EventEmitter-DCsy8L3G.js";
11
+ import { dl as refreshSession, B as Button, Q as Loader, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bx as EventEmitter, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, bL as setSdkTokenHandler } from "./EventEmitter-Cq-82eYj.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  function injectCss(shadowRoot) {
14
14
  {
@@ -57,7 +57,7 @@ const EmbedShell = ({
57
57
  }
58
58
  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: [
59
59
  /* @__PURE__ */ jsxs(StoreProvider, { children: [
60
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.1" }),
60
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.4" }),
61
61
  /* @__PURE__ */ jsx(
62
62
  AnalyticsProvider,
63
63
  {
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
19
19
  {
20
20
  try {
21
21
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
22
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f1d13fe-c7e2-41d6-a854-55856822e5a3", e._sentryDebugIdIdentifier = "sentry-dbid-8f1d13fe-c7e2-41d6-a854-55856822e5a3");
22
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80242ce1-14cc-4f19-9cf7-ddf9683521ee", e._sentryDebugIdIdentifier = "sentry-dbid-80242ce1-14cc-4f19-9cf7-ddf9683521ee");
23
23
  } catch (e) {
24
24
  }
25
25
  }
@@ -16290,6 +16290,11 @@ const rules = ({
16290
16290
  if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) {
16291
16291
  return "REQUIRED";
16292
16292
  }
16293
+ },
16294
+ canadaOverrideTaxInfo: () => {
16295
+ if (country === CountryCodes.Canada && taskType === TaskTypes.BUSINESS_DETAILS) {
16296
+ return "REQUIRED";
16297
+ }
16293
16298
  }
16294
16299
  });
16295
16300
  function TaxIdNumberTypeSelector({
@@ -31857,7 +31862,7 @@ var TanstackQueryDevtools = (_l = class {
31857
31862
  if (__privateGet(this, _Component)) {
31858
31863
  Devtools = __privateGet(this, _Component);
31859
31864
  } else {
31860
- Devtools = lazy(() => import("./I3HPI4QX-nKWqWjPL.js"));
31865
+ Devtools = lazy(() => import("./I3HPI4QX-CYgU-Kw-.js"));
31861
31866
  __privateSet(this, _Component, Devtools);
31862
31867
  }
31863
31868
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -31979,7 +31984,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
31979
31984
  if (__privateGet(this, _Component2)) {
31980
31985
  Devtools = __privateGet(this, _Component2);
31981
31986
  } else {
31982
- Devtools = lazy(() => import("./CXEL7IU7-o9JixlwU.js"));
31987
+ Devtools = lazy(() => import("./CXEL7IU7-Cc1zZH1V.js"));
31983
31988
  __privateSet(this, _Component2, Devtools);
31984
31989
  }
31985
31990
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -32186,7 +32191,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
32186
32191
  };
32187
32192
  };
32188
32193
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
32189
- const sdkVersion = "3.70.1";
32194
+ const sdkVersion = "3.70.4";
32190
32195
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
32191
32196
  const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
32192
32197
  useEffect(() => {
@@ -32249,7 +32254,7 @@ const AnalyticsProvider = ({
32249
32254
  const { onboardingVersion } = useVersion();
32250
32255
  const userEvents2 = useMemo(() => createUserEvents(), []);
32251
32256
  const sessionData = {
32252
- sdkVersion: "3.70.1",
32257
+ sdkVersion: "3.70.4",
32253
32258
  componentName,
32254
32259
  userAgent: navigator.userAgent,
32255
32260
  legalEntityId,
@@ -32634,7 +32639,7 @@ function StateProvider({
32634
32639
  );
32635
32640
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
32636
32641
  }
32637
- const DebugModal = lazy$1(async () => (await import("./DebugModal-CzJuefka.js").then((n) => n.D)).DebugModal);
32642
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-BJGcqLa7.js").then((n) => n.D)).DebugModal);
32638
32643
  const DebugListener = () => {
32639
32644
  const [debugUiOpen, setDebugUiOpen] = useState(false);
32640
32645
  const { isSettingEnabled } = useSettingsContext();
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10
10
  }
11
11
  }
12
12
  ;
13
- import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-DCsy8L3G.js";
13
+ import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-Cq-82eYj.js";
14
14
  var isNonNullable = (i2) => i2 != null;
15
15
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
16
16
  function chain(callbacks) {
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-hI5dFUfC.js";
11
- import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-DCsy8L3G.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-D4n872gE.js";
11
+ import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-Cq-82eYj.js";
12
12
  var DevtoolsComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -9,10 +9,10 @@
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
12
- import { T as TaskTypes, O as LegalEntityType, dq as getTranslationKeysByPrefix, e as useI18nContext, f as useAnalyticsContext, B as Button } from "./EventEmitter-DCsy8L3G.js";
13
- import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-CB9-JTUt.js";
12
+ import { T as TaskTypes, O as LegalEntityType, dq as getTranslationKeysByPrefix, e as useI18nContext, f as useAnalyticsContext, B as Button } from "./EventEmitter-Cq-82eYj.js";
13
+ import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-BI-piG2u.js";
14
14
  import { useMemo } from "preact/compat";
15
- import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-CqzEqOHR.js";
15
+ import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-CEOtQFGb.js";
16
16
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
17
17
  var IntroductionScreens = ((IntroductionScreens2) => {
18
18
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { u as useApiContext, c as useMutation, h as httpPost, e as useI18nContext, t as useToastContext, L as LoaderWrapper, aE as FormHeader, b8 as Checkbox, aT as ActionBar } from "./EventEmitter-DCsy8L3G.js";
13
- import { D as DropinLayout } from "./core-CqzEqOHR.js";
12
+ import { u as useApiContext, c as useMutation, h as httpPost, e as useI18nContext, t as useToastContext, L as LoaderWrapper, aE as FormHeader, b8 as Checkbox, aT as ActionBar } from "./EventEmitter-Cq-82eYj.js";
13
+ import { D as DropinLayout } from "./core-CEOtQFGb.js";
14
14
  const confirmReview = async (legalEntityId, baseUrl) => {
15
15
  return httpPost({
16
16
  baseUrl,
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { e as useI18nContext, aB as useForm, J as Typography, aH as Field, aK as RadioGroupCard, B as Button, d6 as Svg, O as LegalEntityType } from "./EventEmitter-DCsy8L3G.js";
12
+ import { e as useI18nContext, aB as useForm, J as Typography, aH as Field, aK as RadioGroupCard, B as Button, d6 as Svg, O as LegalEntityType } from "./EventEmitter-Cq-82eYj.js";
13
13
  const setupAccountMethods = ["singpass", "manual"];
14
14
  const setupAccountMethodFields = ["setupAccountMethod"];
15
15
  const getSingpassSelectionDisabled = (legalEntityType) => {
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { e as useI18nContext, R as TaskStatus } from "./EventEmitter-DCsy8L3G.js";
12
+ import { e as useI18nContext, R as TaskStatus } from "./EventEmitter-Cq-82eYj.js";
13
13
  const inTaskStatus = "adyen-kyc-in-task-status";
14
14
  const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
15
15
  const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
@@ -9,11 +9,11 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
12
- import { u as useApiContext, a as useQuery, b as httpGet, X as useInvalidateRootLegalEntity, c as useMutation, h as httpPost, O as LegalEntityType, bc as localizeDateString, J as Typography, e4 as Currencies, e as useI18nContext, aH as Field, e5 as InputGroup, b7 as Select, be as InputText, bg as InputDate, aL as TextArea, b0 as RadioGroup, aN as CountryField, I as Modal, Z as Alert, B as Button, a1 as Confirm, V as Icon, K as isEmpty, aB as useForm, bk as useGlobalDataSlice, aF as ErrorPanel, aG as createFormUtils, Q as Loader, br as getFormProps, _ as Card, $ as StructuredList, a0 as IconButton, d4 as isEmpty$1, d6 as Svg, dt as List, t as useToastContext, a3 as createLogger, e6 as Dropzone, d as useQueryClient, N as useLegalEntity, z as useStateContext, f as useAnalyticsContext, e7 as useLegalEntities, W as ROOT_LE } from "./EventEmitter-DCsy8L3G.js";
13
- import { B as formatObject, T as TileGroup, c as createDocumentRequest, y as useCreateLegalEntity, z as useUpdateLegalEntity, e as getPropsFromConfigurations, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, d as documentApiUtils } from "./CreateIndividualComponent-dJGcyu7c.js";
14
- import { v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-CqzEqOHR.js";
12
+ import { u as useApiContext, a as useQuery, b as httpGet, X as useInvalidateRootLegalEntity, c as useMutation, h as httpPost, O as LegalEntityType, bc as localizeDateString, J as Typography, e4 as Currencies, e as useI18nContext, aH as Field, e5 as InputGroup, b7 as Select, be as InputText, bg as InputDate, aL as TextArea, b0 as RadioGroup, aN as CountryField, I as Modal, Z as Alert, B as Button, a1 as Confirm, V as Icon, K as isEmpty, aB as useForm, bk as useGlobalDataSlice, aF as ErrorPanel, aG as createFormUtils, Q as Loader, br as getFormProps, _ as Card, $ as StructuredList, a0 as IconButton, d4 as isEmpty$1, d6 as Svg, dt as List, t as useToastContext, a3 as createLogger, e6 as Dropzone, d as useQueryClient, N as useLegalEntity, z as useStateContext, f as useAnalyticsContext, e7 as useLegalEntities, W as ROOT_LE } from "./EventEmitter-Cq-82eYj.js";
13
+ import { B as formatObject, T as TileGroup, c as createDocumentRequest, y as useCreateLegalEntity, z as useUpdateLegalEntity, e as getPropsFromConfigurations, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, d as documentApiUtils } from "./CreateIndividualComponent-wlhR96DR.js";
14
+ import { v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-CEOtQFGb.js";
15
15
  import { signal } from "@preact/signals";
16
- import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-C0GmIKME.js";
16
+ import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-Cs51Y5p9.js";
17
17
  import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
18
18
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
19
19
  import isURL from "validator/es/lib/isURL.js";
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { Q as Loader, V as Icon, e as useI18nContext, R as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-DCsy8L3G.js";
12
+ import { Q as Loader, V as Icon, e as useI18nContext, R as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-Cq-82eYj.js";
13
13
  const tag = "adyen-kyc-tag";
14
14
  const tagGrey = "adyen-kyc-tag-grey";
15
15
  const tagBlue = "adyen-kyc-tag-blue";
@@ -9,11 +9,11 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
12
- import { u as useApiContext, a as useQuery, b as httpGet, J as Typography, e as useI18nContext, cO as useFormContext, Z as Alert, aH as Field, b0 as RadioGroup, br as getFormProps, V as Icon, d4 as isEmpty, d6 as Svg, B as Button, _ as Card, $ as StructuredList, a0 as IconButton, K as isEmpty$1, X as useInvalidateRootLegalEntity, f as useAnalyticsContext, N as useLegalEntity, a3 as createLogger, Q as Loader, W as ROOT_LE } from "./EventEmitter-DCsy8L3G.js";
13
- import { z as useUpdateLegalEntity, J as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-dJGcyu7c.js";
12
+ import { u as useApiContext, a as useQuery, b as httpGet, J as Typography, e as useI18nContext, cO as useFormContext, Z as Alert, aH as Field, b0 as RadioGroup, br as getFormProps, V as Icon, d4 as isEmpty, d6 as Svg, B as Button, _ as Card, $ as StructuredList, a0 as IconButton, K as isEmpty$1, X as useInvalidateRootLegalEntity, f as useAnalyticsContext, N as useLegalEntity, a3 as createLogger, Q as Loader, W as ROOT_LE } from "./EventEmitter-Cq-82eYj.js";
13
+ import { z as useUpdateLegalEntity, J as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-wlhR96DR.js";
14
14
  import { signal } from "@preact/signals";
15
- import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-C0GmIKME.js";
16
- import { n as normalizedTaskStatusStore } from "./core-CqzEqOHR.js";
15
+ import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-Cs51Y5p9.js";
16
+ import { n as normalizedTaskStatusStore } from "./core-CEOtQFGb.js";
17
17
  const getTaxClassification = async (legalEntityId, baseUrl) => {
18
18
  return httpGet({
19
19
  baseUrl,
@@ -9,9 +9,9 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useEffect, useState, useRef, useMemo } from "preact/hooks";
12
- import { g as getDocument, m as mapExistingFile, a as getPageName, B as formatObject, c as createDocumentRequest, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, M as getFieldsWithExistingData, h as getRequiredForms, i as addValidityToForms, y as useCreateLegalEntity, z as useUpdateLegalEntity, j as useFormComposer, s as augmentWithCountryConfigs, D as getProp, k as isValidationError, p as processValidationErrors, q as isMaintenanceModeError, E as composePerScenarioFormConfigurations } from "./CreateIndividualComponent-dJGcyu7c.js";
13
- import { ba as reverseMapping, dC as operationalAddressIsSameIds, dU as updateTaxInformation, O as LegalEntityType, m as createFormRules, T as TaskTypes, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, C as CountryCodes, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d_ as trustComponentsKeyMapping, d$ as trustApiKeyMapping, z as useStateContext, u as useApiContext, e as useI18nContext, f as useAnalyticsContext, G as datasetUtilities, v as useSettingsContext, g as useExperimentsContext, t as useToastContext, bq as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, F as cloneObject, ay as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cF as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, K as isEmpty, b9 as drop, aR as getOwnEntityAssociations } from "./EventEmitter-DCsy8L3G.js";
14
- import { F as FormWrapper, h as hasDataChanged } from "./core-CqzEqOHR.js";
12
+ import { g as getDocument, m as mapExistingFile, a as getPageName, B as formatObject, c as createDocumentRequest, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, M as getFieldsWithExistingData, h as getRequiredForms, i as addValidityToForms, y as useCreateLegalEntity, z as useUpdateLegalEntity, j as useFormComposer, s as augmentWithCountryConfigs, D as getProp, k as isValidationError, p as processValidationErrors, q as isMaintenanceModeError, E as composePerScenarioFormConfigurations } from "./CreateIndividualComponent-wlhR96DR.js";
13
+ import { ba as reverseMapping, dC as operationalAddressIsSameIds, dU as updateTaxInformation, O as LegalEntityType, m as createFormRules, T as TaskTypes, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, C as CountryCodes, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d_ as trustComponentsKeyMapping, d$ as trustApiKeyMapping, z as useStateContext, u as useApiContext, e as useI18nContext, f as useAnalyticsContext, G as datasetUtilities, v as useSettingsContext, g as useExperimentsContext, t as useToastContext, bq as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, F as cloneObject, ay as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cF as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, K as isEmpty, b9 as drop, aR as getOwnEntityAssociations } from "./EventEmitter-Cq-82eYj.js";
14
+ import { F as FormWrapper, h as hasDataChanged } from "./core-CEOtQFGb.js";
15
15
  const mapApiDocumentToTrustDocument = (entityId) => {
16
16
  const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
17
17
  return {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-CqzEqOHR.js";
10
+ import { C as Core } from "./core-CEOtQFGb.js";
11
11
  if (CSS.supports("container", "foo / inline-size") === false) {
12
12
  import("container-query-polyfill");
13
13
  }
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-CqzEqOHR.js";
11
- import { p as propsToCoreOptions } from "./utils-D6eedwqH.js";
10
+ import { C as Core } from "./core-CEOtQFGb.js";
11
+ import { p as propsToCoreOptions } from "./utils-BVzbR6pu.js";
12
12
  const loadAdyenConfig = async (config) => {
13
13
  if (!config.environment) {
14
14
  config.environment = "live";
@@ -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] = "92cb32d3-6cac-4206-945f-c4a25f75e55c", e._sentryDebugIdIdentifier = "sentry-dbid-92cb32d3-6cac-4206-945f-c4a25f75e55c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93a87bc5-ba4a-4829-a190-cc6b0c707dca", e._sentryDebugIdIdentifier = "sentry-dbid-93a87bc5-ba4a-4829-a190-cc6b0c707dca");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useApiContext, a as useQuery, h as httpPost, b as httpGet, c as useMutation, d as useQueryClient, e as useI18nContext, f as useAnalyticsContext, g as useExperimentsContext, M as MaybeModal, i as ModalContent, j as ModalHeader, L as LoaderWrapper, s as summaryStep, k as ModalFooter, B as Button, S as Spacer, l as Summary, m as createFormRules, o as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, q as keysOf, r as summaryItem, C as CountryCodes, t as useToastContext, v as useSettingsContext, w as getLegalEntityCountry, x as currencyByCountry, y as getLegalEntityNameBasedOnType, T as TaskTypes, z as useStateContext, A as getCapabilityProblems, D as isProviderWidgetInline, E as SettingNames, F as cloneObject, G as datasetUtilities, H as payoutSteps, I as Modal, J as Typography, P as PayoutDetails, K as isEmpty, N as useLegalEntity, O as LegalEntityType, Q as Loader, R as TaskStatus, U as Skeleton, V as Icon, W as ROOT_LE, X as useInvalidateRootLegalEntity, Y as httpDelete, Z as Alert, _ as Card, $ as StructuredList, a0 as IconButton, a1 as Confirm, a2 as entriesOf, a3 as createLogger, a4 as useDataset, a5 as datasetIdentifier, a6 as useLocalStorage, a7 as getLegalRepresentative, a8 as skipToken, a9 as doesLegalEntityRequiresLegalRepresentative, aa as ProviderButton, ab as isPartOfTrustFromLegalEntity, ac as hasSolePropInLegalEntity, ad as hasOwnEntityAssociationOfType, ae as isEmptyEntity, af as CompanyTypesValue, ag as useAccountHolder, ah as EntityType, ai as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aj as handleKeys, ak as noop, al as CardGroup, am as useSetting, an as useSignalValue, ao as useGlobalStore, ap as useGetTaskStatus, aq as isPartOfUnincorporatedPartnership, ar as getOwnSignatories, as as getOwnDecisionMakersLegalEntityIds, at as getOwnSolePropProblems, au as getOwnTrustProblems, av as getOwnUnincorporatedPartnershipProblems, aw as TrustMemberTypes, ax as mergeFieldMetadataIntoProps, ay as resolveFieldMetadata, az as defaultFieldMetadata, aA as defaultFieldConfig, aB as useForm, aC as getFieldProps, aD as nameFields, aE as FormHeader, aF as ErrorPanel, aG as createFormUtils, aH as Field, aI as MultiSelectList, aJ as makeSelectItemForRole, aK as RadioGroupCard, aL as TextArea, aM as Name, aN as CountryField, aO as COUNTRY_FIELD, aP as LegalCompanyNameField, aQ as LEGAL_COMPANY_NAME_FIELD, aR as getOwnEntityAssociations, aS as getRoleName, aT as ActionBar, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as deleteUnincorporatedPartnershipMember, a$ as mapEntityAssociationsToUnincorporatedPartnershipMembers, b0 as RadioGroup, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 as getPayoutAccountHolderName, b5 as TrustedFieldsProvider, b6 as getOwnDecisionMakers, b7 as Select, b8 as Checkbox, b9 as drop, ba as reverseMapping, bb as eeaCountries, bc as localizeDateString, bd as Link, be as InputText, bf as InputNumber, bg as InputDate, bh as Currency, bi as CURRENCY_FIELD, bj as InputCurrency, bk as useGlobalDataSlice, bl as useGlobalData, bm as getAddressSchemaForCountry, bn as COUNTRIES_WITH_STATES_DATASET, bo as Address, bp as getAddressSchemaLabelsByCountry, bq as getAssociatedLeAnalyticsPayload, br as getFormProps, bs as listify, bt as isUndefinedOrNull, bu as useAllowedCountries, bv as AlertIcon, bw as uuidv4, bx as EventEmitter, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, n as normalizeEnvironment, bJ as FALLBACK_LOCALE, bK as setSdkToken, bL as setSdkTokenHandler } from "./EventEmitter-DCsy8L3G.js";
11
- import { F as FormNavigation, S as StepProgressIndicator, u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, b as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CB9-JTUt.js";
12
- import { t as trackNavigation, F as FormRouterContextProvider, 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, o as omitObscuredFieldsIfUnchanged, k as isValidationError, p as processValidationErrors, l as isIdDocumentUploadError, n as isBankStatementUploadError, q as isMaintenanceModeError, r as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, s as augmentWithCountryConfigs, v as getFileExtention, w as useAssociatedLegalEntity, x as useTrustMembers, y as useCreateLegalEntity, z as useUpdateLegalEntity, A as useSingpassMyInfoLogin, B as formatObject, D as getProp, E as composePerScenarioFormConfigurations, G as fieldsPerScenario, C as CreateIndividualComponent } from "./CreateIndividualComponent-dJGcyu7c.js";
10
+ import { u as useApiContext, a as useQuery, h as httpPost, b as httpGet, c as useMutation, d as useQueryClient, e as useI18nContext, f as useAnalyticsContext, g as useExperimentsContext, M as MaybeModal, i as ModalContent, j as ModalHeader, L as LoaderWrapper, s as summaryStep, k as ModalFooter, B as Button, S as Spacer, l as Summary, m as createFormRules, o as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, q as keysOf, r as summaryItem, C as CountryCodes, t as useToastContext, v as useSettingsContext, w as getLegalEntityCountry, x as currencyByCountry, y as getLegalEntityNameBasedOnType, T as TaskTypes, z as useStateContext, A as getCapabilityProblems, D as isProviderWidgetInline, E as SettingNames, F as cloneObject, G as datasetUtilities, H as payoutSteps, I as Modal, J as Typography, P as PayoutDetails, K as isEmpty, N as useLegalEntity, O as LegalEntityType, Q as Loader, R as TaskStatus, U as Skeleton, V as Icon, W as ROOT_LE, X as useInvalidateRootLegalEntity, Y as httpDelete, Z as Alert, _ as Card, $ as StructuredList, a0 as IconButton, a1 as Confirm, a2 as entriesOf, a3 as createLogger, a4 as useDataset, a5 as datasetIdentifier, a6 as useLocalStorage, a7 as getLegalRepresentative, a8 as skipToken, a9 as doesLegalEntityRequiresLegalRepresentative, aa as ProviderButton, ab as isPartOfTrustFromLegalEntity, ac as hasSolePropInLegalEntity, ad as hasOwnEntityAssociationOfType, ae as isEmptyEntity, af as CompanyTypesValue, ag as useAccountHolder, ah as EntityType, ai as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aj as handleKeys, ak as noop, al as CardGroup, am as useSetting, an as useSignalValue, ao as useGlobalStore, ap as useGetTaskStatus, aq as isPartOfUnincorporatedPartnership, ar as getOwnSignatories, as as getOwnDecisionMakersLegalEntityIds, at as getOwnSolePropProblems, au as getOwnTrustProblems, av as getOwnUnincorporatedPartnershipProblems, aw as TrustMemberTypes, ax as mergeFieldMetadataIntoProps, ay as resolveFieldMetadata, az as defaultFieldMetadata, aA as defaultFieldConfig, aB as useForm, aC as getFieldProps, aD as nameFields, aE as FormHeader, aF as ErrorPanel, aG as createFormUtils, aH as Field, aI as MultiSelectList, aJ as makeSelectItemForRole, aK as RadioGroupCard, aL as TextArea, aM as Name, aN as CountryField, aO as COUNTRY_FIELD, aP as LegalCompanyNameField, aQ as LEGAL_COMPANY_NAME_FIELD, aR as getOwnEntityAssociations, aS as getRoleName, aT as ActionBar, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as deleteUnincorporatedPartnershipMember, a$ as mapEntityAssociationsToUnincorporatedPartnershipMembers, b0 as RadioGroup, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 as getPayoutAccountHolderName, b5 as TrustedFieldsProvider, b6 as getOwnDecisionMakers, b7 as Select, b8 as Checkbox, b9 as drop, ba as reverseMapping, bb as eeaCountries, bc as localizeDateString, bd as Link, be as InputText, bf as InputNumber, bg as InputDate, bh as Currency, bi as CURRENCY_FIELD, bj as InputCurrency, bk as useGlobalDataSlice, bl as useGlobalData, bm as getAddressSchemaForCountry, bn as COUNTRIES_WITH_STATES_DATASET, bo as Address, bp as getAddressSchemaLabelsByCountry, bq as getAssociatedLeAnalyticsPayload, br as getFormProps, bs as listify, bt as isUndefinedOrNull, bu as useAllowedCountries, bv as AlertIcon, bw as uuidv4, bx as EventEmitter, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, n as normalizeEnvironment, bJ as FALLBACK_LOCALE, bK as setSdkToken, bL as setSdkTokenHandler } from "./EventEmitter-Cq-82eYj.js";
11
+ import { F as FormNavigation, S as StepProgressIndicator, u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, b as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-BI-piG2u.js";
12
+ import { t as trackNavigation, F as FormRouterContextProvider, 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, o as omitObscuredFieldsIfUnchanged, k as isValidationError, p as processValidationErrors, l as isIdDocumentUploadError, n as isBankStatementUploadError, q as isMaintenanceModeError, r as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, s as augmentWithCountryConfigs, v as getFileExtention, w as useAssociatedLegalEntity, x as useTrustMembers, y as useCreateLegalEntity, z as useUpdateLegalEntity, A as useSingpassMyInfoLogin, B as formatObject, D as getProp, E as composePerScenarioFormConfigurations, G as fieldsPerScenario, C as CreateIndividualComponent } from "./CreateIndividualComponent-wlhR96DR.js";
13
13
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
14
14
  import { useState, useCallback, useMemo, useEffect, useRef } from "preact/hooks";
15
15
  import cx from "classnames";
16
- import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-Daz5-VtS.js";
16
+ import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-CuAn_5X4.js";
17
17
  import { lazy, Suspense } from "preact/compat";
18
18
  import { signal } from "@preact/signals";
19
19
  import { render } from "preact";
@@ -2408,7 +2408,7 @@ function TaskList({
2408
2408
  onNavigateToTask: handleOnNavigateToTaskCustomerSupport,
2409
2409
  icon: "webinar",
2410
2410
  titleKey: "customerSupport",
2411
- status: ((_h = normalizedTasks == null ? void 0 : normalizedTasks.BUSINESS_FINANCING) == null ? void 0 : _h.status) ?? TaskStatus.DETAILS_REQUIRED
2411
+ status: ((_h = normalizedTasks == null ? void 0 : normalizedTasks.CUSTOMER_SUPPORT) == null ? void 0 : _h.status) ?? TaskStatus.DETAILS_REQUIRED
2412
2412
  }
2413
2413
  )
2414
2414
  ]
@@ -4763,50 +4763,50 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
4763
4763
  return hasOwnEntityAssocation || !!hasOrganizationType;
4764
4764
  };
4765
4765
  const Introduction = lazy(
4766
- async () => (await import("./Introduction-DiIuVjE5.js")).Introduction
4766
+ async () => (await import("./Introduction-CC0_eYC9.js")).Introduction
4767
4767
  );
4768
4768
  const BusinessTypeSelection = lazy(
4769
- async () => (await import("./BusinessTypeSelection-BPm-Ovqu.js")).BusinessTypeSelection
4769
+ async () => (await import("./BusinessTypeSelection-C5IzfnzR.js")).BusinessTypeSelection
4770
4770
  );
4771
4771
  const SingpassSelection = lazy(
4772
- async () => (await import("./SingpassSelection-CFv29p4c.js")).SingpassSelection
4772
+ async () => (await import("./SingpassSelection-BXSPue0v.js")).SingpassSelection
4773
4773
  );
4774
4774
  const AccountSetupRejected = lazy(
4775
- async () => (await import("./AccountSetupRejected-CqLBw5jj.js")).AccountSetupRejected
4775
+ async () => (await import("./AccountSetupRejected-Dn8WSlT3.js")).AccountSetupRejected
4776
4776
  );
4777
4777
  const DecisionMakers = lazy(
4778
- async () => (await import("./DecisionMakers-GSJzp8Dy.js")).DecisionMakers
4778
+ async () => (await import("./DecisionMakers-C9VRyN-z.js")).DecisionMakers
4779
4779
  );
4780
4780
  const CustomerSupport = lazy(
4781
- async () => (await import("./CustomerSupport-D2nVqTfU.js")).CustomerSupport
4781
+ async () => (await import("./CustomerSupport-Dm02rX5E.js")).CustomerSupport
4782
4782
  );
4783
- const Review = lazy(async () => (await import("./Review-DOVTA4VU.js")).Review);
4783
+ const Review = lazy(async () => (await import("./Review-wnQ1x7NE.js")).Review);
4784
4784
  const SignPCIComponent$2 = lazy(
4785
4785
  async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
4786
4786
  );
4787
4787
  const AcceptTermsOfService = lazy(
4788
- async () => (await import("./AcceptTermsOfServiceComponent-CB9-JTUt.js").then((n) => n.c)).AcceptTermsOfServiceComponent
4788
+ async () => (await import("./AcceptTermsOfServiceComponent-BI-piG2u.js").then((n) => n.c)).AcceptTermsOfServiceComponent
4789
4789
  );
4790
4790
  const TaxReportingDropin = lazy(
4791
- async () => (await import("./TaxReportingDropin-CPmYYjKL.js")).TaxReportingDropin
4791
+ async () => (await import("./TaxReportingDropin-B-PMN93r.js")).TaxReportingDropin
4792
4792
  );
4793
4793
  const PayoutDetailsDropin = lazy(
4794
4794
  async () => (await Promise.resolve().then(() => PayoutDetailsDropin$2)).PayoutDetailsDropin
4795
4795
  );
4796
4796
  const BusinessDetailsDropin = lazy(
4797
- async () => (await import("./BusinessDetailsDropin-C2l2G1h-.js")).BusinessDetailsDropin
4797
+ async () => (await import("./BusinessDetailsDropin-CoRAL_0f.js")).BusinessDetailsDropin
4798
4798
  );
4799
4799
  const HighExposureDropin$2 = lazy(
4800
4800
  async () => (await Promise.resolve().then(() => HighExposureDropin$1)).HighExposureDropin
4801
4801
  );
4802
4802
  const TrustDropin = lazy(
4803
- async () => (await import("./TrustDropin-DFo-Q1R4.js")).TrustDropin
4803
+ async () => (await import("./TrustDropin-DWudYQtC.js")).TrustDropin
4804
4804
  );
4805
4805
  const SourceOfFundsDropin = lazy(
4806
- async () => (await import("./SourceOfFundsDropin-r9zoGSGu.js")).SourceOfFundsDropin
4806
+ async () => (await import("./SourceOfFundsDropin-SJgyVC2h.js")).SourceOfFundsDropin
4807
4807
  );
4808
4808
  const IndividualOuter = lazy(
4809
- async () => (await import("./CreateIndividualComponent-dJGcyu7c.js").then((n) => n.N)).IndividualOuter
4809
+ async () => (await import("./CreateIndividualComponent-wlhR96DR.js").then((n) => n.N)).IndividualOuter
4810
4810
  );
4811
4811
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
4812
4812
  const logger$1 = createLogger();
@@ -8329,7 +8329,7 @@ class UIElement extends BaseElement {
8329
8329
  baseUrl: this.props.baseUrl,
8330
8330
  children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
8331
8331
  /* @__PURE__ */ jsxs(StoreProvider, { children: [
8332
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.1" }),
8332
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.4" }),
8333
8333
  /* @__PURE__ */ jsx(
8334
8334
  AnalyticsProvider,
8335
8335
  {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-CzJuefka.js";
10
+ import { c as cssProps } from "./DebugModal-BJGcqLa7.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -9,10 +9,10 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { render } from "preact";
12
- import { i as injectCss, E as EmbedShell } from "./EmbedShell-CZxhSCfV.js";
13
- import { n as normalizeEnvironment } from "./EventEmitter-DCsy8L3G.js";
14
- import { C as CreateIndividualComponent } from "./CreateIndividualComponent-dJGcyu7c.js";
15
- import { e as environmentMap } from "./utils-D6eedwqH.js";
12
+ import { i as injectCss, E as EmbedShell } from "./EmbedShell-hJSmRFU-.js";
13
+ import { n as normalizeEnvironment } from "./EventEmitter-Cq-82eYj.js";
14
+ import { C as CreateIndividualComponent } from "./CreateIndividualComponent-wlhR96DR.js";
15
+ import { e as environmentMap } from "./utils-BVzbR6pu.js";
16
16
  class AdyenIndividual extends HTMLElement {
17
17
  constructor() {
18
18
  super();
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-CzJuefka.js";
10
+ import { c as cssProps } from "./DebugModal-BJGcqLa7.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-CzJuefka.js";
10
+ import { c as cssProps } from "./DebugModal-BJGcqLa7.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text }
13
13
  };
@@ -9,10 +9,10 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { render } from "preact";
12
- import { i as injectCss, E as EmbedShell } from "./EmbedShell-CZxhSCfV.js";
13
- import { n as normalizeEnvironment } from "./EventEmitter-DCsy8L3G.js";
14
- import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CB9-JTUt.js";
15
- import { e as environmentMap } from "./utils-D6eedwqH.js";
12
+ import { i as injectCss, E as EmbedShell } from "./EmbedShell-hJSmRFU-.js";
13
+ import { n as normalizeEnvironment } from "./EventEmitter-Cq-82eYj.js";
14
+ import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-BI-piG2u.js";
15
+ import { e as environmentMap } from "./utils-BVzbR6pu.js";
16
16
  class AdyenTermsOfService extends HTMLElement {
17
17
  constructor() {
18
18
  super();
@@ -32,5 +32,6 @@ export declare const rules: ({ data, country, taskType, isExperimentEnabled, acc
32
32
  isEInvoicingCodeEnabled: () => "REQUIRED";
33
33
  ifCountryUsAndTinFailed: () => "REQUIRED";
34
34
  businessRequiresCompanyType: () => "REQUIRED";
35
+ canadaOverrideTaxInfo: () => "REQUIRED";
35
36
  };
36
37
  export type BusinessRules = ReturnType<typeof rules>;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { n as normalizeEnvironment } from "./EventEmitter-DCsy8L3G.js";
10
+ import { n as normalizeEnvironment } from "./EventEmitter-Cq-82eYj.js";
11
11
  const environmentMap = Object.freeze({
12
12
  live: "https://live.adyen.com/",
13
13
  test: "https://test.adyen.com/"
@@ -7,9 +7,9 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { w as getLegalEntityCountry, dr as getCapabilities, O as LegalEntityType, ad as hasOwnEntityAssociationOfType, af as CompanyTypesValue, C as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-DCsy8L3G.js";
11
- import { e as allowIndividualWithoutSoleProp } from "./core-CqzEqOHR.js";
12
- import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-dJGcyu7c.js";
10
+ import { w as getLegalEntityCountry, dr as getCapabilities, O as LegalEntityType, ad as hasOwnEntityAssociationOfType, af as CompanyTypesValue, C as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-Cq-82eYj.js";
11
+ import { e as allowIndividualWithoutSoleProp } from "./core-CEOtQFGb.js";
12
+ import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-wlhR96DR.js";
13
13
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
14
14
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
15
15
  CountryCodes.UnitedStates,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-CzJuefka.js";
10
+ import { c as cssProps } from "./DebugModal-BJGcqLa7.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.70.1",
3
+ "version": "3.70.4",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",