@adyen/kyc-components 3.89.0 → 3.90.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 (159) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Dw5F8ZKQ.js → AcceptTermsOfServiceComponent-C15N0ZUF.js} +42 -60
  2. package/dist/{Accordion-DP7ihhCi.js → Accordion-DxAvtqyN.js} +1 -1
  3. package/dist/{AccountSetupRejected-BjjuX_Vh.js → AccountSetupRejected-CJEC9V31.js} +3 -3
  4. package/dist/{ActionBar-LBeWfJy2.js → ActionBar-CMaTcnyU.js} +1 -1
  5. package/dist/{Address-DvJBiSDY.js → Address-DhPHns9b.js} +25 -56
  6. package/dist/{Alert-uQtl0hSh.js → Alert-4jvSqn2I.js} +6 -6
  7. package/dist/{Avatar-CDLbKRZS.js → Avatar-CowRz5rB.js} +1 -1
  8. package/dist/{BusinessDetailsMultiformDropin-DtnVx-uQ.js → BusinessDetailsDropin-CoQA-QZn.js} +1268 -3090
  9. package/dist/{BusinessFinancingComponent-DQ6OoqwG.js → BusinessFinancingComponent-BUXvPO_t.js} +6 -5
  10. package/dist/{BusinessFinancingDropin-Bw_jVxVY.js → BusinessFinancingDropin-D7HQ0fxW.js} +23 -33
  11. package/dist/{BusinessFinancingPage-BCecT_U6.js → BusinessFinancingPage-BNCloKBm.js} +3 -3
  12. package/dist/{BusinessTypeSelectionPage-Bohuv12F.js → BusinessTypeSelectionPage-ClaW0q1b.js} +8 -9
  13. package/dist/{Card-BhinbOTz.js → Card-B4wvck_n.js} +2 -2
  14. package/dist/{ConstitutionalDocument-CoMojmXO.js → ConstitutionalDocument-SKhWRnWx.js} +3 -3
  15. package/dist/{CountryField-DNOtItPS.js → CountryField-BaYyWFXk.js} +6 -6
  16. package/dist/{CreateIndividualComponent-85qgG0sT.js → CreateIndividualComponent-M_rhCRjG.js} +5 -5
  17. package/dist/{CreateTransferInstrumentComponent-D4-Yla9J.js → CreateTransferInstrumentComponent-BJxSbJY3.js} +4 -4
  18. package/dist/{Currency-6i-D39G4.js → Currency-Bl8pKCpj.js} +7 -7
  19. package/dist/{CustomerSupport-CP6NVYUM.js → CustomerSupport-BBp_kAB6.js} +10 -10
  20. package/dist/{DebugModal-BtwHvJcw.js → DebugModal-D6ROPhng.js} +9 -9
  21. package/dist/{DecisionMakerDetailsPage-DWbiEKY5.js → DecisionMakerDetailsPage-BtUhVF6C.js} +6 -6
  22. package/dist/{DecisionMakers-rPNoo6IF.js → DecisionMakers-Ctwwbd-q.js} +20 -20
  23. package/dist/{EmbeddedStatus-BCUb0GA8.js → EmbeddedStatus-B33cCsYP.js} +2 -2
  24. package/dist/{EndStateLayout-Cy7__eeV.js → EndStateLayout-C-njoytF.js} +1 -1
  25. package/dist/{EntityAssociation-BEUkGJTF.js → EntityAssociation-94E5qp1C.js} +8 -8
  26. package/dist/{EntityGuidanceStatus-Cg4xuAhZ.js → EntityGuidanceStatus-SgjcGk5p.js} +2 -2
  27. package/dist/FormFlow-Poe97Z6i.js +186 -0
  28. package/dist/{FormNavigation-Bm-rQTB6.js → FormNavigation-B0D8RWB0.js} +3 -3
  29. package/dist/{FormWrapper-BL7nl_vR.js → FormWrapper-4wa6SP_P.js} +10 -10
  30. package/dist/{IndividualOnfido-Dx7sDvU7.js → IndividualOnfido-fz_JSugv.js} +71 -74
  31. package/dist/{IndividualOnfidoDropin-BLYsnG1Z.js → IndividualOnfidoDropin-Duc8XgvR.js} +30 -33
  32. package/dist/{InputText-BFGfIa6S.js → InputText--yiwNMDS.js} +6 -6
  33. package/dist/{Introduction-WI4letTI.js → Introduction-T5fyomwa.js} +4 -4
  34. package/dist/{JpAddress-CN0KeBU3.js → JpAddress-BrDgtuyI.js} +8 -8
  35. package/dist/{LegalRepresentativeDetailsPage-sC9jXdl9.js → LegalRepresentativeDetailsPage-BK0gMJgs.js} +4 -4
  36. package/dist/{ListItem-BSmaxh8U.js → ListItem-B8H6RY9f.js} +2 -2
  37. package/dist/{ManageIndividualComponent-B2X32yuw.js → ManageIndividualComponent-BrBjHu3-.js} +4 -4
  38. package/dist/{ManageTermsOfServiceComponent-BhWr8WWC.js → ManageTermsOfServiceComponent-Dqy8vOUA.js} +4 -4
  39. package/dist/{ManageTransferInstrumentComponent-DZhADt5d.js → ManageTransferInstrumentComponent-Bx6Netyq.js} +12 -12
  40. package/dist/{MaybeModal-CM-ZFMXJ.js → MaybeModal-BwPaMUks.js} +15 -4
  41. package/dist/{Modal-BD_n0sBL.js → Modal-DupiiqVr.js} +4 -4
  42. package/dist/{OnboardingDropinComponent-BJwAxfRi.js → OnboardingDropinComponent-Do1mhuK-.js} +1406 -1731
  43. package/dist/{PayoutDetailsDropin-DLvSAnjp.js → PayoutDetailsDropin-BvEqGrIA.js} +60 -40
  44. package/dist/ProgressBar-B7gTQncy.js +47 -0
  45. package/dist/{Review-CiY3BsOG.js → Review-BBENKcjD.js} +7 -7
  46. package/dist/{RootBusinessDetailsPage-Srl5cazZ.js → RootBusinessDetailsPage-DpdZ4vqu.js} +7 -22
  47. package/dist/{RootBusinessLinesPage-Cfenkise.js → RootBusinessLinesPage-YoF28HOQ.js} +146 -41
  48. package/dist/{RootIndividualDetailsPage-DGAk88Y3.js → RootIndividualDetailsPage-DNivhou9.js} +6 -6
  49. package/dist/{SignPCIComponent-DJi8Bz9v.js → SignPCIComponent-DN5PE2Sc.js} +10 -10
  50. package/dist/{SingpassSelection-Xat6qz4U.js → SingpassSelection-uLhOFdfh.js} +4 -4
  51. package/dist/{SoleProprietorshipPage-CdgDcCTM.js → SoleProprietorshipPage-BUwCiVtH.js} +5 -19
  52. package/dist/{SourceOfFundsPage-Ua8eMuPJ.js → SourceOfFundsPage-D7B5ReUC.js} +25 -25
  53. package/dist/{fieldConfigurations-Cn3dxVBx.js → Spacer-D3By5Y6E.js} +34 -24
  54. package/dist/{StepProgressIndicator-DMCfBNo8.js → StepProgressIndicator-CvbjwImE.js} +1 -1
  55. package/dist/{StoreProvider-DNjJYfsz.js → StoreProvider-BLtYcc3h.js} +130 -98
  56. package/dist/{Summary-CAbxQN0G.js → Summary-Buc_vuRS.js} +4 -4
  57. package/dist/{TaxReportingDropin-OWQZjL5Q.js → TaxReportingDropin-1dhULaM8.js} +16 -16
  58. package/dist/{TrustDetailsPage-C7M97OVV.js → TrustDetailsPage-BtRNXF3Z.js} +27 -27
  59. package/dist/{TrustMemberCompanyPage-4kTYgCkN.js → TrustMemberCompanyPage-B2Khgije.js} +6 -22
  60. package/dist/{TrustMemberIndividualPage-VmdZ3ykT.js → TrustMemberIndividualPage-CL7Yv-FS.js} +4 -4
  61. package/dist/{TrustMemberRoleAndTypePage-DAut1Py_.js → TrustMemberRoleAndTypePage-F_7iqOo2.js} +15 -15
  62. package/dist/{TrustMembersOverview-BcS1acNZ.js → TrustMembersOverview-BfI58H5u.js} +12 -12
  63. package/dist/{UnincorporatedPartnershipIndividualPage-DzBRXrgY.js → UnincorporatedPartnershipIndividualPage-Doc7RvyT.js} +4 -4
  64. package/dist/{UnincorporatedPartnershipMemberCompanyPage-B3JCg123.js → UnincorporatedPartnershipMemberCompanyPage-D5Arebes.js} +6 -22
  65. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DxkpBhtl.js → UnincorporatedPartnershipMemberRoleAndTypePage-oCjJEXYT.js} +9 -9
  66. package/dist/{UnincorporatedPartnershipMembersOverview-CSLXoQ00.js → UnincorporatedPartnershipMembersOverview-Dh6kUlMq.js} +9 -9
  67. package/dist/{VerificationErrorAlert-BiZAvrYw.js → VerificationErrorAlert-DUpyVrCU.js} +4 -4
  68. package/dist/{ViewVerificationStatusComponent-DTi9b2nQ.js → ViewVerificationStatusComponent-BcauKtPB.js} +4 -4
  69. package/dist/adyen-business-financing.js +8 -4
  70. package/dist/adyen-individual-configuration.js +2 -2
  71. package/dist/adyen-individual-status.js +2 -2
  72. package/dist/adyen-kyc-components.js +20 -20
  73. package/dist/adyen-onboarding.js +2 -2
  74. package/dist/adyen-terms-of-service-management.js +2 -2
  75. package/dist/adyen-terms-of-service-status.js +2 -2
  76. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  77. package/dist/adyen-transfer-instrument-management.js +2 -2
  78. package/dist/adyen-verification-status.js +2 -2
  79. package/dist/cross-circle-fill-maan7Z5S.js +17 -0
  80. package/dist/{debouncedInputEvent-Bba-hcta.js → debouncedInputEvent-lq58yTg6.js} +2 -2
  81. package/dist/{documentUtils-C5RFy4hT.js → documentUtils-CdJ4Sc-B.js} +3 -3
  82. package/dist/{dropinUtils-C0F3KZO2.js → dropinUtils-L7Zcqfg9.js} +4 -4
  83. package/dist/en-US-AgtwE4Fl.js +63 -0
  84. package/dist/{getFieldsWithExistingData-DWED-oo0.js → getFieldsWithExistingData-D1vsiEEX.js} +1 -1
  85. package/dist/{getName-BCYK96HK.js → getName-Du9QmiTF.js} +2 -9
  86. package/dist/{hasDataChanged-Bb4fjyW0.js → hasDataChanged-BWko8Wa4.js} +2 -2
  87. package/dist/{iframeWidget-DHRg4j16.js → iframeWidget-CQOg-QHE.js} +4 -4
  88. package/dist/info-filled-SQotHmT9.js +17 -0
  89. package/dist/{localizeDateString-D2VELC17.js → localizeDateString-BJJ8B0Hs.js} +1 -1
  90. package/dist/{mapExistingFile-NFM0K_Ff.js → mapExistingFile-D_q68JAm.js} +2 -2
  91. package/dist/{mapFinancialReportsToFinancialInformation-DTGPz1l3.js → mapFinancialReportsToFinancialInformation-BJZ89yJV.js} +3 -3
  92. package/dist/{mapJpAddressSchemaToAddressLocalizations-CWaLWjPG.js → mapJpAddressSchemaToAddressLocalizations-CHcGrBAs.js} +3 -3
  93. package/dist/{mapLegalEntityToIndividualOnfidoSchema-cQypVW3G.js → mapLegalEntityToIndividualOnfidoSchema-Cqerm1wl.js} +3 -3
  94. package/dist/{mapTransferInstrumentToPayoutAccount-C7KdOS7n.js → mapTransferInstrumentToPayoutAccount-CboZmyKj.js} +1 -1
  95. package/dist/{process-field-configurations-C0KZNWpM.js → process-field-configurations-D7pGneC_.js} +3 -3
  96. package/dist/{resolveEnvironment-DTtUw6Ma.js → resolveEnvironment-Q9yFO0a9.js} +3 -3
  97. package/dist/{rules-BAJYGmzD.js → rules-LsdRG331.js} +5 -5
  98. package/dist/style.css +268 -233
  99. package/dist/styles-CLV89_hH.js +268 -233
  100. package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
  101. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
  102. package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
  103. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
  104. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
  105. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
  106. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
  107. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
  108. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
  109. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
  110. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
  111. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
  112. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
  113. package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
  114. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  115. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  116. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  117. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
  118. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  119. package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
  120. package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
  121. package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
  122. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
  123. package/dist/types/context/ExperimentContext/types.d.ts +6 -5
  124. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  125. package/dist/{types-ah0h1b0B.js → types-B9IVn1Zt.js} +1 -1
  126. package/dist/{types-CZiCRYe4.js → types-CBwe7M_O.js} +1 -1
  127. package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
  128. package/dist/{types-Dkw7AD_s.js → types-GIbEJ_5v.js} +1 -1
  129. package/dist/{useAssociatedLegalEntity-Bpoe0x8J.js → useAssociatedLegalEntity-BLnxc-jt.js} +1 -1
  130. package/dist/{useCreateLegalEntity-DtaRGhpP.js → useCreateLegalEntity-BD9PcstC.js} +2 -2
  131. package/dist/{useDataset-C9sM8-li.js → useDataset-BEeSTdTX.js} +4 -4
  132. package/dist/{useForm-qFwVSrMn.js → useForm-ByJEO5yi.js} +10 -9
  133. package/dist/{useGlobalData-CLwdtjOK.js → useGlobalData-CyYyTpXW.js} +5 -5
  134. package/dist/{useMultiForm-dL39Nti3.js → useMultiForm-CEmUnHA9.js} +3 -3
  135. package/dist/{useOnboardingStatus-Dt6w5foF.js → useOnboardingStatus-bt6QJFFl.js} +1 -1
  136. package/dist/{useScenarios-CYjnoPWJ.js → useScenarios-BdwSb0HX.js} +2 -2
  137. package/dist/{useTermsOfServiceStatus-CkN3EPcT.js → useTermsOfServiceStatus-B51PQgY1.js} +1 -1
  138. package/dist/{useToastContext-DWDTMVQy.js → useToastContext-DGtZBX02.js} +2 -2
  139. package/dist/{useUnincorporatedPartnershipMembers-BUD479gc.js → useUnincorporatedPartnershipMembers-C5OUWIiP.js} +4 -4
  140. package/dist/{useUpdateBusinessLines-CuSEV6Pn.js → useUpdateBusinessLines-DKicYyWN.js} +2 -2
  141. package/dist/{useUpdateLegalEntity-D8pso2fd.js → useUpdateLegalEntity-oC3jKNtm.js} +3 -3
  142. package/dist/{utils-d_sm0jYZ.js → utils-BYzUEzaG.js} +6 -6
  143. package/dist/{utils-C1IouPHe.js → utils-DaXTVI0w.js} +3 -3
  144. package/dist/{validate-D3pmCoUJ.js → validate-BTAaa27x.js} +1 -1
  145. package/dist/{validate-CUiZu8-L.js → validate-DBklijcP.js} +1 -1
  146. package/dist/{validationError-XPhMc766.js → validationError-B6JKQAKI.js} +1 -1
  147. package/package.json +2 -2
  148. package/dist/FormFlow-0LZI37J0.js +0 -224
  149. package/dist/en-US-CBsokt1L.js +0 -42
  150. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
  151. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
  152. package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
  153. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
  154. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
  155. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
  156. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
  157. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
  158. /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
  159. /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
@@ -2,28 +2,26 @@
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] = "32ed46e9-297f-4948-8bd5-ebf179d36b36", e._sentryDebugIdIdentifier = "sentry-dbid-32ed46e9-297f-4948-8bd5-ebf179d36b36");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "67275444-8e77-4514-8ac9-ae9724699245", e._sentryDebugIdIdentifier = "sentry-dbid-67275444-8e77-4514-8ac9-ae9724699245");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, a1 as useMutation, k as httpPost, j as useQuery, w as skipToken, m as httpGet, P as createLogger, u as useTranslation, a0 as useAnalyticsContext, Z as useExperimentsContext, aY as getLanguageCode, B as Button, r as LegalEntityTypes, aa as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DNjJYfsz.js";
10
+ import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, w as skipToken, m as httpGet, P as createLogger, u as useTranslation, a2 as useAnalyticsContext, X as useExperimentsContext, aY as getLanguageCode, B as Button, r as LegalEntityTypes, aa as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BLtYcc3h.js";
11
11
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
12
12
  import { useState, useEffect, useCallback } from "preact/hooks";
13
- import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-DWDTMVQy.js";
14
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CkN3EPcT.js";
15
- import { C as Checkbox } from "./debouncedInputEvent-Bba-hcta.js";
16
- import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-qFwVSrMn.js";
17
- import { M as MaybeModal } from "./MaybeModal-CM-ZFMXJ.js";
18
- import { a as ModalContent, b as ModalFooter } from "./Modal-BD_n0sBL.js";
19
- import { S as Spacer, g as getLegalEntityNameBasedOnType } from "./getName-BCYK96HK.js";
20
- import { S as StepProgressIndicator } from "./StepProgressIndicator-DMCfBNo8.js";
21
- import { E as EndStateLayout } from "./EndStateLayout-Cy7__eeV.js";
22
- import { a as Alert } from "./Alert-uQtl0hSh.js";
23
- import { A as ActionBar } from "./ActionBar-LBeWfJy2.js";
24
- import { F as FormNavigation } from "./FormNavigation-Bm-rQTB6.js";
13
+ import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-DGtZBX02.js";
14
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-B51PQgY1.js";
15
+ import { C as Checkbox } from "./debouncedInputEvent-lq58yTg6.js";
16
+ import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-ByJEO5yi.js";
17
+ import { M as MaybeModal } from "./MaybeModal-BwPaMUks.js";
18
+ import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
19
+ import { E as EndStateLayout } from "./EndStateLayout-C-njoytF.js";
20
+ import { a as Alert } from "./Alert-4jvSqn2I.js";
21
+ import { F as FormNavigation } from "./FormNavigation-B0D8RWB0.js";
25
22
  import { d as downloadFile } from "./file-CiG1D0zy.js";
26
- import { l as localizeDateString } from "./localizeDateString-D2VELC17.js";
23
+ import { g as getLegalEntityNameBasedOnType } from "./getName-Du9QmiTF.js";
24
+ import { l as localizeDateString } from "./localizeDateString-BJJ8B0Hs.js";
27
25
  import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
28
26
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
29
27
  return httpPost(
@@ -91,10 +89,14 @@ const useTermsOfService = (data, options) => {
91
89
  });
92
90
  };
93
91
  const tosSignedAlert = "adyen-kyc-tos-signed-alert";
92
+ const tosContainer = "adyen-kyc-tos-container";
94
93
  const tosContent = "adyen-kyc-tos-content";
94
+ const tosActions = "adyen-kyc-tos-actions";
95
95
  const styles = {
96
96
  tosSignedAlert,
97
- tosContent
97
+ tosContainer,
98
+ tosContent,
99
+ tosActions
98
100
  };
99
101
  const logger$1 = createLogger();
100
102
  const FALLBACK_LANGUAGE_CODE$1 = "en";
@@ -178,7 +180,6 @@ const logger = createLogger();
178
180
  const FALLBACK_LANGUAGE_CODE = "en";
179
181
  function ServiceAgreementDropin({
180
182
  legalEntityResponse,
181
- handleHomeClick,
182
183
  handleAddSigner,
183
184
  handleSign,
184
185
  serviceAgreementTypes,
@@ -186,6 +187,7 @@ function ServiceAgreementDropin({
186
187
  asEmbedded = false,
187
188
  asModal = false,
188
189
  handleCloseClick,
190
+ showInitialBackButton = false,
189
191
  onComplete
190
192
  }) {
191
193
  const { t, i18n } = useTranslation(["contract", "common"]);
@@ -294,13 +296,6 @@ function ServiceAgreementDropin({
294
296
  });
295
297
  }
296
298
  };
297
- const goHome = () => {
298
- userEvents.addPageEvent("Clicked button", {
299
- actionType: "back",
300
- label: "goToOverview"
301
- });
302
- handleHomeClick();
303
- };
304
299
  const handleExpandSection = useCallback((title) => {
305
300
  userEvents.addFieldEvent("Clicked accordion", {
306
301
  actionType: "open",
@@ -446,8 +441,8 @@ function ServiceAgreementDropin({
446
441
  showSectionNumbering: true
447
442
  }
448
443
  ),
449
- signedAlert,
450
- /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-top-16", children: /* @__PURE__ */ jsx(
444
+ /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-top-16", children: signedAlert }),
445
+ /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-y-16", children: /* @__PURE__ */ jsx(
451
446
  Button,
452
447
  {
453
448
  variant: "secondary",
@@ -504,20 +499,7 @@ function ServiceAgreementDropin({
504
499
  )
505
500
  }
506
501
  )
507
- ] }),
508
- !asEmbedded && /* @__PURE__ */ jsx(
509
- ActionBar,
510
- {
511
- onHome: goHome,
512
- homeButtonLabel: t(($) => $["goToOverview"], { ns: "common" }),
513
- onNext: canSign ? handleSignClick : () => gotoForm(activeFormIndex + 1),
514
- nextButtonLabel: t(($) => $[canSign ? "sign" : "continue"], { ns: "common" }),
515
- nextButtonDisabled: forms.length === 0 || !canSign && isLastStep,
516
- onBack: () => gotoForm(activeFormIndex - 1),
517
- hideBackButton: activeFormIndex === 0,
518
- backButtonLabel: t(($) => $["previous"], { ns: "common" })
519
- }
520
- )
502
+ ] })
521
503
  ]
522
504
  }
523
505
  );
@@ -543,32 +525,32 @@ function ServiceAgreementDropin({
543
525
  action: /* @__PURE__ */ jsx(Button, { onClick: handleFinishClick, fullWidth: true, children: t(($) => $["finish"], { ns: "common" }) })
544
526
  }
545
527
  );
546
- return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: /* @__PURE__ */ jsxs(ModalContent, { children: [
528
+ const progress = Math.floor(currentStep / (totalSteps - 1) * 100);
529
+ return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: /* @__PURE__ */ jsxs("div", { className: styles.tosContainer, children: [
547
530
  /* @__PURE__ */ jsxs("article", { className: styles.tosContent, children: [
548
531
  !asEmbedded && sidebar,
549
532
  endScreen || content
550
533
  ] }),
551
- asEmbedded && !hasFinished && /* @__PURE__ */ jsxs(ModalFooter, { children: [
534
+ !hasFinished && /* @__PURE__ */ jsxs("div", { children: [
552
535
  /* @__PURE__ */ jsx(
553
- StepProgressIndicator,
536
+ ProgressBar,
554
537
  {
555
- activeStepIndex: currentStep ?? 0,
556
- stepsCount: totalSteps ?? 3,
557
- circles: true,
558
- thick: true
538
+ ariaLabel: t(($) => $["progress"], { ns: "common" }),
539
+ progress
559
540
  }
560
541
  ),
561
- /* @__PURE__ */ jsx(Spacer, {}),
562
- !asModal && !isFirstStep && /* @__PURE__ */ jsx(
563
- Button,
564
- {
565
- icon: "chevron-left",
566
- onClick: () => gotoForm(activeFormIndex - 1),
567
- variant: "secondary",
568
- children: t(($) => $["back"], { ns: "common" })
569
- }
570
- ),
571
- /* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["signAndContinue"]) : t(($) => $["continue"], { ns: "common" }) })
542
+ /* @__PURE__ */ jsxs("div", { className: styles.tosActions, children: [
543
+ isFirstStep ? showInitialBackButton && /* @__PURE__ */ jsx(Button, { onClick: handleCloseClick, variant: "secondary", children: t(($) => $["cancel"], { ns: "common" }) }) : /* @__PURE__ */ jsx(
544
+ Button,
545
+ {
546
+ icon: "chevron-left",
547
+ onClick: () => gotoForm(activeFormIndex - 1),
548
+ variant: "secondary",
549
+ children: t(($) => $["back"], { ns: "common" })
550
+ }
551
+ ),
552
+ /* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["signAndContinue"]) : t(($) => $["continue"], { ns: "common" }) })
553
+ ] })
572
554
  ] })
573
555
  ] }) });
574
556
  }
@@ -589,7 +571,7 @@ function AcceptTermsOfServiceComponent({
589
571
  }
590
572
  const { i18n } = useTranslation();
591
573
  addResourceBundles(i18n, [
592
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DNjJYfsz.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
574
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BLtYcc3h.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
593
575
  { ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) },
594
576
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) }
595
577
  ]);
@@ -645,11 +627,11 @@ function AcceptTermsOfServiceComponent({
645
627
  legalEntityResponse: legalEntity,
646
628
  serviceAgreementTypes: serviceAgreementStatus?.termsOfServiceTypes ?? [],
647
629
  serviceAgreementAcceptanceInfos: serviceAgreementAcceptanceInfos?.data ?? [],
648
- handleHomeClick: handleOnClose,
649
630
  handleSign,
650
631
  asEmbedded,
651
632
  asModal: modalView,
652
633
  handleCloseClick: handleOnClose,
634
+ showInitialBackButton: !!onClose,
653
635
  onComplete: handleOnComplete,
654
636
  handleAddSigner
655
637
  }
@@ -10,7 +10,7 @@
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { defineSlots } from "named-slots";
13
- import { a3 as Icon, G as Typography, y as Skeleton } from "./StoreProvider-DNjJYfsz.js";
13
+ import { a3 as Icon, G as Typography, y as Skeleton } from "./StoreProvider-BLtYcc3h.js";
14
14
  const accordion = "adyen-kyc-accordion";
15
15
  const accordionSummary = "adyen-kyc-accordion-summary";
16
16
  const accordionBasic = "adyen-kyc-accordion-basic";
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { H as Header } from "./CountryField-DNOtItPS.js";
12
- import { A as AlertIcon } from "./Alert-uQtl0hSh.js";
11
+ import { H as Header } from "./CountryField-BaYyWFXk.js";
12
+ import { A as AlertIcon } from "./Alert-4jvSqn2I.js";
13
13
  import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
14
- import { u as useTranslation } from "./StoreProvider-DNjJYfsz.js";
14
+ import { u as useTranslation } from "./StoreProvider-BLtYcc3h.js";
15
15
  function AccountSetupRejected() {
16
16
  const { t } = useTranslation("common");
17
17
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { B as Button } from "./StoreProvider-DNjJYfsz.js";
11
+ import { B as Button } from "./StoreProvider-BLtYcc3h.js";
12
12
  const ActionBar = ({
13
13
  onNext,
14
14
  onBack,
@@ -2,37 +2,23 @@
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] = "d9312e86-8c2c-442f-9d8b-f69bce9ea2d4", e._sentryDebugIdIdentifier = "sentry-dbid-d9312e86-8c2c-442f-9d8b-f69bce9ea2d4");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fde0ea2b-eda8-438f-b058-6ed389011bf5", e._sentryDebugIdIdentifier = "sentry-dbid-fde0ea2b-eda8-438f-b058-6ed389011bf5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { $ as entriesOf, u as useTranslation, a0 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, z as translateStringOrObject, C as CountryCodes, aO as getFormattingRegEx, aP as SPECIAL_CHARS, aQ as trimValWithOneSpace, P as createLogger, aE as matchesRegex, aC as hasText, aD as isValidMinLength, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aI as isInvalidName, aR as ADDRESS_VALID_CHAR_REGEX, aH as hasRepeatedCharacters, V as useI18nContext, Z as useExperimentsContext, aS as getMaxLengthByFieldAndCountry } from "./StoreProvider-DNjJYfsz.js";
11
10
  import { useContext, useMemo, useCallback, useState, useEffect } from "preact/hooks";
12
11
  import { createContext } from "preact";
13
12
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
14
13
  import cx from "classnames";
15
- import { b as useId } from "./useToastContext-DWDTMVQy.js";
16
- import { R as Radio, s as summaryItem, c as createFormUtils, C as CountryField } from "./CountryField-DNOtItPS.js";
17
- import { a as InputBase, I as InputText } from "./InputText-BFGfIa6S.js";
18
- import { F as Field, S as Select, u as useForm } from "./useForm-qFwVSrMn.js";
19
- import { u as useDebouncedCallback } from "./debouncedInputEvent-Bba-hcta.js";
20
- import { u as useDataset, d as datasetIdentifier } from "./useDataset-C9sM8-li.js";
14
+ import { u as useTranslation, a2 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, z as translateStringOrObject, C as CountryCodes, aO as getFormattingRegEx, aP as SPECIAL_CHARS, aQ as trimValWithOneSpace, P as createLogger, aE as matchesRegex, aC as hasText, aD as isValidMinLength, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aI as isInvalidName, aR as ADDRESS_VALID_CHAR_REGEX, aH as hasRepeatedCharacters, V as useI18nContext, X as useExperimentsContext, a0 as entriesOf, aS as getMaxLengthByFieldAndCountry } from "./StoreProvider-BLtYcc3h.js";
15
+ import { b as useId } from "./useToastContext-DGtZBX02.js";
16
+ import { R as Radio, s as summaryItem, c as createFormUtils, C as CountryField } from "./CountryField-BaYyWFXk.js";
17
+ import { a as InputBase, I as InputText } from "./InputText--yiwNMDS.js";
18
+ import { F as Field, S as Select, u as useForm } from "./useForm-ByJEO5yi.js";
19
+ import { u as useDebouncedCallback } from "./debouncedInputEvent-lq58yTg6.js";
20
+ import { u as useDataset, d as datasetIdentifier } from "./useDataset-BEeSTdTX.js";
21
21
  const FormContext = createContext(null);
22
- const operationalAddressIsSameIds = {
23
- OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
24
- OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
25
- };
26
- const operationalAddressIsSameItems = [
27
- {
28
- id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME,
29
- name: "operationalAddressIsSameItemName"
30
- },
31
- {
32
- id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME,
33
- name: "operationalAddressIsNotSameItemName"
34
- }
35
- ];
36
22
  const getNestedTrustedFields = (field, data, trustedFields) => {
37
23
  if (trustedFields && data?.[field] && typeof data[field] === "object") {
38
24
  return trustedFields.reduce(
@@ -55,20 +41,6 @@ const mapAddressData = (verifiedBusiness) => ({
55
41
  postalCode: verifiedBusiness.zipCode ?? "",
56
42
  stateOrProvince: verifiedBusiness.state ?? ""
57
43
  });
58
- const applyVerifiedBusinessData = (verifiedBusiness, handleChangeFor) => {
59
- if (!verifiedBusiness) return;
60
- entriesOf(verifiedBusiness).forEach(([key, value]) => {
61
- switch (key) {
62
- case "isPrincipalAddress":
63
- if (value)
64
- handleChangeFor(
65
- "operationalAddressIsSame",
66
- "input"
67
- )(operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME);
68
- break;
69
- }
70
- });
71
- };
72
44
  const isDateOlderThanAYear = (dateString) => {
73
45
  if (!dateString) {
74
46
  return false;
@@ -184,8 +156,8 @@ function InputDate(props) {
184
156
  const isDateInputSupported = useMemo(checkDateInputSupport, []);
185
157
  const { onInput } = props;
186
158
  const handleInput = (e) => {
187
- const { value } = e.target;
188
- e.target.value = formatDate(value);
159
+ const { value } = e.currentTarget;
160
+ e.currentTarget.value = formatDate(value);
189
161
  onInput(e);
190
162
  };
191
163
  if (isDateInputSupported) {
@@ -1323,26 +1295,23 @@ export {
1323
1295
  InputDate as I,
1324
1296
  RadioGroup as R,
1325
1297
  STATE_FIELD as S,
1326
- operationalAddressIsSameItems as a,
1298
+ useAddressCleanse as a,
1327
1299
  formatAddressForCleanse as b,
1328
- applyVerifiedBusinessData as c,
1329
- getNestedTrustedFields as d,
1330
- getAddressSchemaLabelsByCountry as e,
1300
+ getNestedTrustedFields as c,
1301
+ getAddressSchemaLabelsByCountry as d,
1302
+ StateField as e,
1331
1303
  formatDateObj as f,
1332
1304
  getAddressSchemaForCountry as g,
1333
- StateField as h,
1334
- useFormContext as i,
1335
- useProviderStatus as j,
1336
- isDateOlderThanAYear as k,
1337
- addressFields as l,
1305
+ useProviderStatus as h,
1306
+ isDateOlderThanAYear as i,
1307
+ addressFields as j,
1308
+ RadioWithLabel as k,
1309
+ addressValidators as l,
1338
1310
  mapAddressData as m,
1339
- RadioWithLabel as n,
1340
- operationalAddressIsSameIds as o,
1341
- addressValidators as p,
1342
- addressFormatters as q,
1343
- mapAddressLabels as r,
1344
- getKeyForField as s,
1345
- addressValidationRulesV4 as t,
1346
- useAddressCleanse as u,
1347
- addressValidationRules as v
1311
+ addressFormatters as n,
1312
+ mapAddressLabels as o,
1313
+ getKeyForField as p,
1314
+ addressValidationRulesV4 as q,
1315
+ addressValidationRules as r,
1316
+ useFormContext as u
1348
1317
  };
@@ -2,7 +2,7 @@
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] = "7bf6fd03-d656-4364-a5be-17b6b3e589d4", e._sentryDebugIdIdentifier = "sentry-dbid-7bf6fd03-d656-4364-a5be-17b6b3e589d4");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b5ea8645-7eda-4efd-94fa-e0168e87ee98", e._sentryDebugIdIdentifier = "sentry-dbid-b5ea8645-7eda-4efd-94fa-e0168e87ee98");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,8 +11,8 @@ import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { isValidElement } from "preact";
13
13
  import { useState } from "preact/hooks";
14
- import { A as Accordion } from "./Accordion-DP7ihhCi.js";
15
- import { u as useTranslation, G as Typography, B as Button, a3 as Icon } from "./StoreProvider-DNjJYfsz.js";
14
+ import { A as Accordion } from "./Accordion-DxAvtqyN.js";
15
+ import { u as useTranslation, G as Typography, B as Button, a3 as Icon } from "./StoreProvider-BLtYcc3h.js";
16
16
  const alert = "adyen-kyc-alert";
17
17
  const alertWithoutIcon = "adyen-kyc-alert-without-icon";
18
18
  const alertExplanation = "adyen-kyc-alert-explanation";
@@ -142,15 +142,15 @@ const Alert = ({
142
142
  const AlertIcon = ({ variant }) => {
143
143
  switch (variant) {
144
144
  case "success":
145
- return /* @__PURE__ */ jsx(Icon, { name: "check" });
145
+ return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
146
146
  case "error":
147
- return /* @__PURE__ */ jsx(Icon, { name: "field-error" });
147
+ return /* @__PURE__ */ jsx(Icon, { name: "error" });
148
148
  case "warning":
149
149
  return /* @__PURE__ */ jsx(Icon, { name: "warning" });
150
150
  case "info":
151
151
  case "basic":
152
152
  default:
153
- return /* @__PURE__ */ jsx(Icon, { name: "info-circle" });
153
+ return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
154
154
  }
155
155
  };
156
156
  export {
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { a3 as Icon } from "./StoreProvider-DNjJYfsz.js";
12
+ import { a3 as Icon } from "./StoreProvider-BLtYcc3h.js";
13
13
  const avatar = "adyen-kyc-avatar";
14
14
  const avatarLabel = "adyen-kyc-avatar-label";
15
15
  const avatarPrimary = "adyen-kyc-avatar-primary";