@adyen/kyc-components 3.95.0-beta.1 → 3.95.0-beta.2

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 (166) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BW0brynM.js → AcceptTermsOfServiceComponent-BlEaBswl.js} +16 -16
  2. package/dist/{Accordion-BM8hZAXY.js → Accordion-xQ7nYxl-.js} +1 -1
  3. package/dist/{AccountSetupRejected-BodluXLt.js → AccountSetupRejected-CPavzOgc.js} +3 -3
  4. package/dist/{ActionBar-UJRkmh5s.js → ActionBar-BCKFGEro.js} +1 -1
  5. package/dist/{Address-DI_WQl-j.js → Address-CUMHdDDB.js} +10 -10
  6. package/dist/{Alert-BZOtTqxJ.js → Alert-AsIgy5ys.js} +3 -3
  7. package/dist/{Avatar-BkSExeAD.js → Avatar-CPSU1jss.js} +1 -1
  8. package/dist/{BusinessFinancingComponent-XUA40MWu.js → BusinessFinancingComponent-C2PQs3gR.js} +5 -5
  9. package/dist/{BusinessFinancingDropin-BmdwxjTl.js → BusinessFinancingDropin-DTiURzP3.js} +29 -29
  10. package/dist/{BusinessFinancingPage-4HciuNgT.js → BusinessFinancingPage-Wadm29GW.js} +4 -4
  11. package/dist/{BusinessTypeSelectionPage-D6N0Ru4g.js → BusinessTypeSelectionPage-Cc6WG-M5.js} +9 -9
  12. package/dist/{Checkbox-HJ5QMOjP.js → Checkbox-Cjzq-IgW.js} +1 -1
  13. package/dist/{Confirm-BtVNOsTV.js → Confirm-BnJOYc76.js} +2 -2
  14. package/dist/{ConstitutionalDocument-Dhw6t4Ni.js → ConstitutionalDocument-Cuezk4yt.js} +18 -18
  15. package/dist/{ContactDetails-CbxMguHb.js → ContactDetails-Cp0fGlU3.js} +8 -8
  16. package/dist/{ContextGuidance-vOFdWDn9.js → ContextGuidance-BxC-gbkP.js} +2 -2
  17. package/dist/{CountryField-C7bj3yyn.js → CountryField-DIm2rPmp.js} +5 -5
  18. package/dist/{CreateIndividualComponent-D686ciaV.js → CreateIndividualComponent-Bn0sxDjy.js} +5 -5
  19. package/dist/{CreateTransferInstrumentComponent-C7B7UCpu.js → CreateTransferInstrumentComponent-Bz5GoylI.js} +4 -4
  20. package/dist/{Currency-hS0YWWxq.js → Currency-DGkjeLuN.js} +7 -7
  21. package/dist/{CustomerSupport-8s-w8iKy.js → CustomerSupport-CBKzdmnU.js} +11 -11
  22. package/dist/{DebugModal-BwrOlWvA.js → DebugModal-B0LNaFHQ.js} +9 -9
  23. package/dist/{DecisionMakerDetailsPage-BKYVxewR.js → DecisionMakerDetailsPage-B2qQWfwH.js} +6 -6
  24. package/dist/{DecisionMakers-Om-7b55R.js → DecisionMakers-DsEvjMgy.js} +22 -21
  25. package/dist/{Dropzone-Dayv7PAA.js → Dropzone-DN5uCyVU.js} +4 -4
  26. package/dist/{EmbeddedStatus-uhtoE0i5.js → EmbeddedStatus-Dv1_ftCI.js} +3 -3
  27. package/dist/{EndStateLayout-Bircmn4k.js → EndStateLayout-Be7knc_u.js} +1 -1
  28. package/dist/{EntityAssociation-CpwvMeU9.js → EntityAssociation-ehFx0Lsk.js} +6 -6
  29. package/dist/{EntityGuidanceStatus-BGP7anTO.js → EntityGuidanceStatus-DogG6s5I.js} +3 -3
  30. package/dist/{ErrorPanel-CTnweIrR.js → ErrorPanel-AOXcd1rV.js} +3 -3
  31. package/dist/{Field-B5icSx65.js → Field-JfW2EFGR.js} +1 -1
  32. package/dist/{FormNavigation-CwNfQJDE.js → FormNavigation-DDdhTt0b.js} +3 -3
  33. package/dist/{FormWrapper-B1OeeS_n.js → FormWrapper-Ct9HZWod.js} +9 -9
  34. package/dist/{Header-Dsxscc11.js → Header--2llFP2l.js} +1 -1
  35. package/dist/Image-BCApSFnP.js +27 -0
  36. package/dist/{Individual.rules-SVdbtMZX.js → Individual.rules-CyhqPTcX.js} +9 -10
  37. package/dist/{IndividualDropin-Cc4CEZFn.js → IndividualDropin-mVN_KUBh.js} +65 -76
  38. package/dist/{InputDate-BbhqEb0A.js → InputDate-Burmi6Sh.js} +2 -2
  39. package/dist/{InputText-DsyMVWuS.js → InputText-CDJu-sEq.js} +2 -2
  40. package/dist/{Introduction-0o7soNWJ.js → Introduction-BwKLGTUv.js} +4 -4
  41. package/dist/{JpAddress-DR9efscK.js → JpAddress-BSy0UJ3M.js} +9 -9
  42. package/dist/{LandingLayout-BmfO073v.js → LandingLayout-BwkomD3H.js} +1 -1
  43. package/dist/{LegalCompanyNameField-DUA1xhu7.js → LegalCompanyNameField-Cgt1TNEB.js} +6 -6
  44. package/dist/{LegalRepresentativeDetailsPage-Dd7C7gUQ.js → LegalRepresentativeDetailsPage-Cqajm3hR.js} +4 -4
  45. package/dist/{Link-5z1nhcfe.js → Link-C1ItzqIL.js} +1 -1
  46. package/dist/{ListItem-BFs1CkoM.js → ListItem-BIog5phF.js} +2 -2
  47. package/dist/{LoaderWrapper-D7zyni9T.js → LoaderWrapper-CZo0SNKQ.js} +1 -1
  48. package/dist/{ManageIndividualComponent-DwWloLdY.js → ManageIndividualComponent-BBOXsqnJ.js} +5 -5
  49. package/dist/{ManageTermsOfServiceComponent-DyyWEEWM.js → ManageTermsOfServiceComponent-COmlFRSF.js} +3 -3
  50. package/dist/{ManageTransferInstrumentComponent-DT93KOu6.js → ManageTransferInstrumentComponent-BVY-1aD7.js} +13 -13
  51. package/dist/{MaskedInput-Ble-w1-c.js → MaskedInput-DKifZn9r.js} +5 -5
  52. package/dist/{MaybeModal-D7DmwNpk.js → MaybeModal-CRIZCDqy.js} +2 -2
  53. package/dist/{Modal-VzVyfuvm.js → Modal-DVBgbO7M.js} +1 -1
  54. package/dist/{Name-D_X4kyiG.js → Name-7k-lHFYu.js} +5 -5
  55. package/dist/{OnboardingDropinComponent-DYT6l2t6.js → OnboardingDropinComponent-BRhZOfli.js} +55 -54
  56. package/dist/{PayoutDetailsDropin-De5xS7km.js → PayoutDetailsDropin-oy4QPb8_.js} +44 -43
  57. package/dist/{RadioGroup-CpnraQPG.js → RadioGroup-BKDP8z8a.js} +2 -2
  58. package/dist/{RadioGroupCard-BDvxdl0T.js → RadioGroupCard-BRaP96s2.js} +2 -2
  59. package/dist/{Review-BrP7xRy2.js → Review-BuZsPiQ4.js} +7 -7
  60. package/dist/{RootBusinessDetailsPage-C4io3SHK.js → RootBusinessDetailsPage-YR2zdnnH.js} +4 -4
  61. package/dist/{RootBusinessLinesPage-CknZuu0f.js → RootBusinessLinesPage-C7flPjmZ.js} +27 -26
  62. package/dist/{RootIndividualDetailsPage-D2InAZ2K.js → RootIndividualDetailsPage-Bos1Wn3a.js} +4 -4
  63. package/dist/{Select-B3w5VkGQ.js → Select-CaTtCKfk.js} +4 -4
  64. package/dist/{SignPCIComponent-B8U7Hilk.js → SignPCIComponent-BQX3rni3.js} +11 -11
  65. package/dist/{SingpassSelection-BdRZAxtT.js → SingpassSelection-CfZV_Gh8.js} +6 -6
  66. package/dist/{SoleProprietorshipPage-C64fSOwN.js → SoleProprietorshipPage-CUHHAiF8.js} +4 -4
  67. package/dist/{SourceOfFundsPage-C855dB1F.js → SourceOfFundsPage-Bco19EV7.js} +33 -32
  68. package/dist/{StepProgressIndicator-B06vG0EZ.js → StepProgressIndicator-C0V9U0YD.js} +1 -1
  69. package/dist/{StoreProvider-C-jMv9L5.js → StoreProvider-R8HTTjSj.js} +96 -97
  70. package/dist/{Summary-HNxR09dk.js → Summary-itpVUbwv.js} +6 -6
  71. package/dist/{TaskVerificationStatus-BvU5X9F0.js → TaskVerificationStatus-DMo_YL-Q.js} +1 -1
  72. package/dist/{TaxInformationField-ghLphbCF.js → TaxInformationField-BMegKexk.js} +22 -23
  73. package/dist/{TaxReportingDropin-8PKUrVeE.js → TaxReportingDropin-BefiGSvu.js} +16 -16
  74. package/dist/{TextArea-XzZ59IRn.js → TextArea-DoQSgYyO.js} +2 -2
  75. package/dist/{TileGroup-BsvBLQp4.js → TileGroup-2DhDOa2v.js} +2 -2
  76. package/dist/{TrustDetailsPage-BZamlxY7.js → TrustDetailsPage-nz98r5ao.js} +34 -34
  77. package/dist/{TrustMemberCompanyPage-DHdEuAQJ.js → TrustMemberCompanyPage-C1hkerc6.js} +5 -5
  78. package/dist/{TrustMemberIndividualPage-BLjorgiQ.js → TrustMemberIndividualPage-BP1rh_3-.js} +4 -4
  79. package/dist/{TrustMemberRoleAndTypePage-O-JmFZ6x.js → TrustMemberRoleAndTypePage-DM_SAeST.js} +22 -22
  80. package/dist/{TrustMembersOverview-CJEjx7vn.js → TrustMembersOverview-DJq55hwH.js} +12 -12
  81. package/dist/{UnincorporatedPartnershipIndividualPage-CLm7rltZ.js → UnincorporatedPartnershipIndividualPage-C3cNtO8h.js} +4 -4
  82. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DstG5mil.js → UnincorporatedPartnershipMemberCompanyPage-DwWQxBJZ.js} +5 -5
  83. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcboW2-W.js → UnincorporatedPartnershipMemberRoleAndTypePage-CD9BjZAV.js} +11 -11
  84. package/dist/{UnincorporatedPartnershipMembersOverview-C8d8pfxJ.js → UnincorporatedPartnershipMembersOverview-Ddkf3qsV.js} +9 -9
  85. package/dist/{VerificationErrorAlert-CAncqFAs.js → VerificationErrorAlert-B3lc-lS0.js} +2 -2
  86. package/dist/{ViewVerificationStatusComponent-BwndGcdj.js → ViewVerificationStatusComponent-ClqvblmK.js} +4 -4
  87. package/dist/{accountHolderUtils-B437qMYm.js → accountHolderUtils-Bt3WWiKU.js} +2 -2
  88. package/dist/adyen-business-financing.js +5 -4
  89. package/dist/adyen-individual-configuration.js +5 -4
  90. package/dist/adyen-individual-status.js +5 -4
  91. package/dist/adyen-invited-decision-maker.js +87 -0
  92. package/dist/adyen-kyc-components.js +20 -20
  93. package/dist/adyen-onboarding.js +5 -4
  94. package/dist/adyen-terms-of-service-management.js +5 -4
  95. package/dist/adyen-terms-of-service-status.js +5 -4
  96. package/dist/adyen-transfer-instrument-configuration.js +5 -4
  97. package/dist/adyen-transfer-instrument-management.js +5 -4
  98. package/dist/adyen-verification-status.js +5 -4
  99. package/dist/{bafinUtils-DFWYU0eC.js → bafinUtils-BQuOAA7n.js} +1 -1
  100. package/dist/{commonValidators-DnSqf1bK.js → commonValidators-COQPDrJD.js} +1 -1
  101. package/dist/{dropinUtils-CVk-9IZr.js → dropinUtils-DaVcEvR9.js} +4 -4
  102. package/dist/{formUtils-KRYFb23Q.js → formUtils-BXVrjV16.js} +3 -3
  103. package/dist/{getName-c86ZSHdY.js → getName-BSp8sqBk.js} +2 -2
  104. package/dist/{Image-DSSLH2Gg.js → getProblemsForEntity-D3Mk1tAO.js} +2 -17
  105. package/dist/{iframeWidget-COB6S0Zd.js → iframeWidget-D9fIYT_A.js} +4 -4
  106. package/dist/{isEmpty-DG6Y1P62.js → isEmpty-YP88OF9k.js} +2 -2
  107. package/dist/japanSupportUtils-BVEiDev9.js +16 -0
  108. package/dist/{localizeDateString-CW0xkVFv.js → localizeDateString-D4QbYS20.js} +1 -1
  109. package/dist/{mapExistingFile-BRTT2WyL.js → mapExistingFile-DrV6ETrQ.js} +4 -4
  110. package/dist/{mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js → mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js} +5 -5
  111. package/dist/{mapLegalEntityToIndividualSchema-Cu08lm2S.js → mapLegalEntityToIndividualSchema-xKiA35iB.js} +4 -4
  112. package/dist/{mapTransferInstrumentToPayoutAccount-BVOwByXx.js → mapTransferInstrumentToPayoutAccount-BGH81_rp.js} +2 -2
  113. package/dist/{patternValidators-DAtPy1-5.js → patternValidators-D1I-TyxX.js} +2 -2
  114. package/dist/{process-field-configurations-2ry-JbdI.js → process-field-configurations-CauvcVgJ.js} +3 -3
  115. package/dist/resolveEnvironment-BGOF8ZN0.js +84 -0
  116. package/dist/{roleMetadata-D9T__4VE.js → roleMetadata-IJmMKj7H.js} +2 -2
  117. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  118. package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
  119. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +1 -2
  120. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  121. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -1
  122. package/dist/types/context/ExperimentContext/types.d.ts +2 -2
  123. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
  124. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
  125. package/dist/types/types/form-rules.d.ts +0 -1
  126. package/dist/types/utils/japanSupportUtils.d.ts +2 -1
  127. package/dist/{types-C8yt1YG2.js → types-B7GElie6.js} +3 -3
  128. package/dist/{types-BstoJPXR.js → types-C71UTKFj.js} +2 -2
  129. package/dist/{types-FtiqI-S9.js → types-CbmL-OPw.js} +1 -1
  130. package/dist/{types-DHdmZe3R.js → types-L5qYiAza.js} +1 -1
  131. package/dist/{useAssociatedLegalEntity-BVu7zj1c.js → useAssociatedLegalEntity-C-xiImww.js} +1 -1
  132. package/dist/{useBusinessDetailsData-B9I865mu.js → useBusinessDetailsData-ClDMNd4T.js} +63 -68
  133. package/dist/{useBusinessLines-Coc7iGhS.js → useBusinessLines-DYARfG9m.js} +1 -1
  134. package/dist/{useCanSeeIntroduction-DG9Yn42f.js → useCanSeeIntroduction-BiE8u_KK.js} +2 -2
  135. package/dist/{useCreateLegalEntity-D1LQY6P5.js → useCreateLegalEntity-DR7rwVaq.js} +1 -1
  136. package/dist/{useDataMissingRemediations-CDMb2Iu7.js → useDataMissingRemediations-DReynHoU.js} +2 -2
  137. package/dist/{useDataset-BiERW7fi.js → useDataset-C5FlqHce.js} +2 -2
  138. package/dist/{useDeleteTransferInstrument-YSr-Fo6s.js → useDeleteTransferInstrument-B-Oi9ZLT.js} +3 -3
  139. package/dist/{useForm-ZeyqDFOi.js → useForm-BsasYish.js} +3 -3
  140. package/dist/{useFormContext-CcAa10tn.js → useFormContext-DpaS6tOQ.js} +7 -7
  141. package/dist/{useGlobalData-MctSxOcn.js → useGlobalData-CX1o5IxG.js} +2 -2
  142. package/dist/{useMultiForm-BhV8RCm4.js → useMultiForm-DEqGcJ6u.js} +4 -4
  143. package/dist/{useNavigate-CyixZ7Bd.js → useNavigate-Cj2nZ22H.js} +29 -29
  144. package/dist/{useOnboardingStatus-YzbGKkC5.js → useOnboardingStatus-Dris0Ncf.js} +1 -1
  145. package/dist/{usePciQuestionnaireList-CLwiJDxW.js → usePciQuestionnaireList-BBySNcwm.js} +1 -1
  146. package/dist/{useSalesChannels-C3oiiB07.js → useSalesChannels-BOd-o11d.js} +3 -3
  147. package/dist/{useScenarios-CGNlbMLu.js → useScenarios-HMGtblyu.js} +2 -2
  148. package/dist/{useSetting-BF2CM06n.js → useSetting-BYr76RvU.js} +2 -2
  149. package/dist/{useTaskStatus-DgRzelGp.js → useTaskStatus-BbVw9GeJ.js} +1 -1
  150. package/dist/{useTermsOfServiceStatus-IjRaxZu3.js → useTermsOfServiceStatus-ksgZfSQU.js} +1 -1
  151. package/dist/{useToastContext-C0ytklOM.js → useToastContext-BVrrLs7J.js} +1 -1
  152. package/dist/{useTrustMembers-MZLGyg68.js → useTrustMembers-1tH9uxR9.js} +4 -4
  153. package/dist/{useUnincorporatedPartnershipMembers-CtzCBX3o.js → useUnincorporatedPartnershipMembers-gG8G3tCc.js} +4 -4
  154. package/dist/{useUpdateBusinessLines-Do9Ap-zs.js → useUpdateBusinessLines-CMUHoLaq.js} +4 -4
  155. package/dist/{useUpdateLegalEntity-CrL2KyrF.js → useUpdateLegalEntity-B6ROWewZ.js} +2 -2
  156. package/dist/{utils-C8SToqFp.js → utils-BOHUVuDG.js} +3 -3
  157. package/dist/{utils-Bbxtjil1.js → utils-BgPvD8_F.js} +5 -5
  158. package/dist/{utils-DDh9Wc69.js → utils-DSoDxwnp.js} +2 -2
  159. package/dist/{utils-BtRcjM8l.js → utils-LHyfmjEK.js} +1 -1
  160. package/dist/{utils-D6lKjllx.js → utils-kWwTKQ5D.js} +2 -2
  161. package/dist/{validate-CXFzJNVc.js → validate-5WfBgXVu.js} +1 -1
  162. package/dist/{validate-B7VfZzB0.js → validate-xqnF9QqW.js} +3 -3
  163. package/dist/{validationError-Bhb_p0Dm.js → validationError-DQ-2UuzB.js} +2 -2
  164. package/package.json +6 -2
  165. package/dist/japanSupportUtils-Dl5g_UWE.js +0 -17
  166. package/dist/resolveEnvironment-CWyr9MeQ.js +0 -164
@@ -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] = "d6708fbb-23f2-4312-929c-139fea38a4fd", e._sentryDebugIdIdentifier = "sentry-dbid-d6708fbb-23f2-4312-929c-139fea38a4fd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3ec01b0e-be69-4c00-accd-d117fb6f10a2", e._sentryDebugIdIdentifier = "sentry-dbid-3ec01b0e-be69-4c00-accd-d117fb6f10a2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { a0 as CountryCodes, ax as DecisionMakerTypes, j as TaskTypes, g as getLegalEntityCountry, bc as getAvailableDecisionMakerRoleTypes, bd as allowedCountriesForNominee, ay as Scenarios, be as isLowRiskCountry } from "./StoreProvider-C-jMv9L5.js";
11
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DDh9Wc69.js";
10
+ import { a0 as CountryCodes, ax as DecisionMakerTypes, j as TaskTypes, g as getLegalEntityCountry, bb as getAvailableDecisionMakerRoleTypes, bc as allowedCountriesForNominee, ay as Scenarios, bd as isLowRiskCountry } from "./StoreProvider-R8HTTjSj.js";
11
+ import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DSoDxwnp.js";
12
12
  import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
13
- import { i as isCompatibleJapanVersion } from "./japanSupportUtils-Dl5g_UWE.js";
14
- import { i as isBafinSignatoryFlow } from "./bafinUtils-DFWYU0eC.js";
15
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BtRcjM8l.js";
13
+ import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-BVEiDev9.js";
14
+ import { i as isBafinSignatoryFlow } from "./bafinUtils-BQuOAA7n.js";
15
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-LHyfmjEK.js";
16
16
  const REQUIRED = "REQUIRED";
17
17
  const OPTIONAL = "OPTIONAL";
18
18
  const ID_NUMBER_EXEMPT_COUNTRIES = [
@@ -120,8 +120,7 @@ const individualOnfidoRules = ({
120
120
  taskType,
121
121
  isExperimentEnabled = () => false,
122
122
  rootLegalEntity,
123
- problems,
124
- version
123
+ problems
125
124
  }) => createFormRules({
126
125
  countryUsesTaxId: () => {
127
126
  const hasTaxScenario = matchingScenario?.includes(Scenarios.L_TAXINFO);
@@ -288,7 +287,7 @@ const individualOnfidoRules = ({
288
287
  return addressSchema.includes("address") ? "REQUIRED" : void 0;
289
288
  },
290
289
  otherAddressInfoIfRequiredForCountry: () => {
291
- if (isCompatibleJapanVersion(country, version)) {
290
+ if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
292
291
  return "REQUIRED";
293
292
  }
294
293
  const addressSchema = getAddressSchemaForCountry(data?.additionalPersonalDetails?.country);
@@ -371,7 +370,7 @@ const individualOnfidoRules = ({
371
370
  },
372
371
  japanSpecificField: () => {
373
372
  const targetCountry = taskType === TaskTypes.DECISION_MAKER && rootLegalEntity?.organization?.registeredAddress.country || country;
374
- if (isCompatibleJapanVersion(targetCountry, version)) {
373
+ if (isJapanLocalizationEnabled(isExperimentEnabled, targetCountry)) {
375
374
  return "REQUIRED";
376
375
  }
377
376
  }
@@ -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] = "565b8381-a9c9-4b4b-8cf9-8be45e5f4c69", e._sentryDebugIdIdentifier = "sentry-dbid-565b8381-a9c9-4b4b-8cf9-8be45e5f4c69");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "56f7791d-e46e-42c3-86fa-f9a0b55e412e", e._sentryDebugIdIdentifier = "sentry-dbid-56f7791d-e46e-42c3-86fa-f9a0b55e412e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,64 +11,64 @@ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { Show } from "@preact/signals/utils";
12
12
  import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
13
13
  import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
14
- import { u as useScenarios } from "./useScenarios-CGNlbMLu.js";
15
- import { b as useApiContext, $ as httpPost, a0 as CountryCodes, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, aq as isInvalidName, ar as INDIVIDUAL_VALID_CHAR_REGEX, ai as isEmpty, j as TaskTypes, o as LegalEntityTypes, as as getAgeToday, at as euCountries, au as hasText, av as standardKatakanaValidator, aw as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, L as Loader, ax as DecisionMakerTypes, ay as Scenarios, z as Typography, ab as useI18nContext, B as useSettingsContext, v as useExperimentsContext, az as useVersionConfiguration, aA as getAgeRangeForLegalRepresentative, aB as isLegalRepresentativeNeeded, aC as Trans, aD as keysOf, a6 as objectsDeepEqual, aE as listToRecord, aF as pick, a3 as createLogger, t as IconButton, p as useAnalyticsContext, a2 as translateStringOrObject, aG as individualOnfidoApiKeyMapping, aH as drop, m as useAccountHolder, g as getLegalEntityCountry, aI as getAllowedDecisionMakerRoles, aJ as filterOutUnwantedAssociationsIfRootLE, ac as cloneObject, aK as individualOnfidoDocumentMapping, aL as individualOnfidoObscuredFields, aa as getOwnEntityAssociations, aM as hasNomineesChanged, aN as attachNomineeToRole, aO as doArraysMatch } from "./StoreProvider-C-jMv9L5.js";
16
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D1LQY6P5.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CrL2KyrF.js";
18
- import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-DI_WQl-j.js";
19
- import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-CbxMguHb.js";
20
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CcAa10tn.js";
21
- import { u as useToastContext } from "./useToastContext-C0ytklOM.js";
22
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-2ry-JbdI.js";
23
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CVk-9IZr.js";
24
- import { u as useMultiForm } from "./useMultiForm-BhV8RCm4.js";
25
- import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BRTT2WyL.js";
14
+ import { u as useScenarios } from "./useScenarios-HMGtblyu.js";
15
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DR7rwVaq.js";
16
+ import { b as useApiContext, $ as httpPost, a0 as CountryCodes, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, aq as isInvalidName, ar as INDIVIDUAL_VALID_CHAR_REGEX, ai as isEmpty, j as TaskTypes, o as LegalEntityTypes, as as getAgeToday, at as euCountries, au as hasText, av as standardKatakanaValidator, aw as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, L as Loader, ax as DecisionMakerTypes, ay as Scenarios, z as Typography, aa as useI18nContext, B as useSettingsContext, v as useExperimentsContext, az as getAgeRangeForLegalRepresentative, aA as isLegalRepresentativeNeeded, aB as Trans, aC as keysOf, a6 as objectsDeepEqual, aD as listToRecord, aE as pick, a3 as createLogger, t as IconButton, p as useAnalyticsContext, a2 as translateStringOrObject, aF as individualOnfidoApiKeyMapping, aG as drop, m as useAccountHolder, g as getLegalEntityCountry, aH as getAllowedDecisionMakerRoles, aI as filterOutUnwantedAssociationsIfRootLE, ab as cloneObject, aJ as individualOnfidoDocumentMapping, aK as individualOnfidoObscuredFields, ae as getOwnEntityAssociations, aL as hasNomineesChanged, aM as attachNomineeToRole, aN as doArraysMatch } from "./StoreProvider-R8HTTjSj.js";
17
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6ROWewZ.js";
18
+ import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-CUMHdDDB.js";
19
+ import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-Cp0fGlU3.js";
20
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DpaS6tOQ.js";
21
+ import { u as useToastContext } from "./useToastContext-BVrrLs7J.js";
22
+ import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CauvcVgJ.js";
23
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DaVcEvR9.js";
24
+ import { u as useMultiForm } from "./useMultiForm-DEqGcJ6u.js";
25
+ import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DrV6ETrQ.js";
26
26
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
27
- import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js";
28
- import { b as addressFields, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels } from "./utils-DDh9Wc69.js";
29
- import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-Cu08lm2S.js";
30
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Bhb_p0Dm.js";
31
- import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-B7VfZzB0.js";
27
+ import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js";
28
+ import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-DSoDxwnp.js";
29
+ import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-xKiA35iB.js";
30
+ import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DQ-2UuzB.js";
31
+ import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-xqnF9QqW.js";
32
32
  import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
33
- import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-ghLphbCF.js";
34
- import { i as isCompatibleJapanVersion } from "./japanSupportUtils-Dl5g_UWE.js";
35
- import { l as localizeDateString } from "./localizeDateString-CW0xkVFv.js";
36
- import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-COB6S0Zd.js";
37
- import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-Ble-w1-c.js";
38
- import { v as validatePatternOnBlur } from "./patternValidators-DAtPy1-5.js";
33
+ import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-BMegKexk.js";
34
+ import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-BVEiDev9.js";
35
+ import { l as localizeDateString } from "./localizeDateString-D4QbYS20.js";
36
+ import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-D9fIYT_A.js";
37
+ import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-DKifZn9r.js";
38
+ import { v as validatePatternOnBlur } from "./patternValidators-D1I-TyxX.js";
39
39
  import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
40
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BtRcjM8l.js";
40
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-LHyfmjEK.js";
41
41
  import { lazy, Suspense, memo } from "preact/compat";
42
- import { I as Image, T as TrustedFieldsProviders } from "./Image-DSSLH2Gg.js";
43
- import { M as Modal } from "./Modal-VzVyfuvm.js";
44
- import { L as LandingLayout } from "./LandingLayout-BmfO073v.js";
45
- import { a as Alert } from "./Alert-BZOtTqxJ.js";
46
- import { C as Confirm } from "./Confirm-BtVNOsTV.js";
47
- import { a as getIndividualLegalEntityName } from "./getName-c86ZSHdY.js";
48
- import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DFWYU0eC.js";
42
+ import { I as Image, T as TrustedFieldsProviders } from "./Image-BCApSFnP.js";
43
+ import { M as Modal } from "./Modal-DVBgbO7M.js";
44
+ import { L as LandingLayout } from "./LandingLayout-BwkomD3H.js";
45
+ import { a as Alert } from "./Alert-AsIgy5ys.js";
46
+ import { C as Confirm } from "./Confirm-BnJOYc76.js";
47
+ import { a as getIndividualLegalEntityName } from "./getName-BSp8sqBk.js";
48
+ import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-BQuOAA7n.js";
49
49
  import { signal } from "@preact/signals";
50
- import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-CTnweIrR.js";
50
+ import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-AOXcd1rV.js";
51
51
  import { g as getFieldProps, a as getFormProps } from "./getProps-O8Fpl_k_.js";
52
- import { F as Field } from "./Field-B5icSx65.js";
53
- import { H as Header } from "./Header-Dsxscc11.js";
54
- import { L as Link } from "./Link-5z1nhcfe.js";
55
- import { S as SettingNames } from "./TaskVerificationStatus-BvU5X9F0.js";
56
- import { I as InputDate, f as formatDateObj } from "./InputDate-BbhqEb0A.js";
57
- import { I as InputText } from "./InputText-DsyMVWuS.js";
58
- import { C as CountryField } from "./CountryField-C7bj3yyn.js";
59
- import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-CpnraQPG.js";
60
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-KRYFb23Q.js";
61
- import { C as Checkbox } from "./Checkbox-HJ5QMOjP.js";
62
- import { S as Select } from "./Select-B3w5VkGQ.js";
63
- import { u as useDataset } from "./useDataset-BiERW7fi.js";
64
- import { C as ContextGuidance } from "./ContextGuidance-vOFdWDn9.js";
65
- import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-SVdbtMZX.js";
66
- import { i as isTruthyValidator } from "./commonValidators-DnSqf1bK.js";
67
- import { n as nameFields, N as Name } from "./Name-D_X4kyiG.js";
68
- import { D as Dropzone } from "./Dropzone-Dayv7PAA.js";
69
- import { i as isEmpty$1 } from "./isEmpty-DG6Y1P62.js";
52
+ import { F as Field } from "./Field-JfW2EFGR.js";
53
+ import { H as Header } from "./Header--2llFP2l.js";
54
+ import { L as Link } from "./Link-C1ItzqIL.js";
55
+ import { S as SettingNames } from "./TaskVerificationStatus-DMo_YL-Q.js";
56
+ import { I as InputDate, f as formatDateObj } from "./InputDate-Burmi6Sh.js";
57
+ import { I as InputText } from "./InputText-CDJu-sEq.js";
58
+ import { C as CountryField } from "./CountryField-DIm2rPmp.js";
59
+ import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-BKDP8z8a.js";
60
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BXVrjV16.js";
61
+ import { C as Checkbox } from "./Checkbox-Cjzq-IgW.js";
62
+ import { S as Select } from "./Select-CaTtCKfk.js";
63
+ import { u as useDataset } from "./useDataset-C5FlqHce.js";
64
+ import { C as ContextGuidance } from "./ContextGuidance-BxC-gbkP.js";
65
+ import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-CyhqPTcX.js";
66
+ import { i as isTruthyValidator } from "./commonValidators-COQPDrJD.js";
67
+ import { n as nameFields, N as Name } from "./Name-7k-lHFYu.js";
68
+ import { D as Dropzone } from "./Dropzone-DN5uCyVU.js";
69
+ import { i as isEmpty$1 } from "./isEmpty-YP88OF9k.js";
70
70
  import { Onfido } from "onfido-sdk-ui";
71
- import { L as LoaderWrapper } from "./LoaderWrapper-D7zyni9T.js";
71
+ import { L as LoaderWrapper } from "./LoaderWrapper-CZo0SNKQ.js";
72
72
  import { S as Spacer } from "./Spacer-BK3jDget.js";
73
73
  import { f as formatObject } from "./utils-DNSfZiio.js";
74
74
  import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
@@ -837,8 +837,8 @@ const additionalPersonalDetailsValidators = ({
837
837
  i18n
838
838
  })
839
839
  });
840
- const localizedNameValidationRulesV4 = (country, version) => {
841
- if (isCompatibleJapanVersion(country, version)) {
840
+ const localizedNameValidationRulesV4 = (isExperimentEnabled = () => false, country) => {
841
+ if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
842
842
  return {
843
843
  jaHaniFirstName: [
844
844
  {
@@ -894,12 +894,11 @@ const localizedNameValidationRulesV4 = (country, version) => {
894
894
  };
895
895
  const basicDetailsValidators = ({
896
896
  isExperimentEnabled = () => false,
897
- country,
898
- version
897
+ country
899
898
  }) => ({
900
899
  ...contactDetailsValidationRules,
901
900
  ...isExperimentEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
902
- ...localizedNameValidationRulesV4(country, version)
901
+ ...localizedNameValidationRulesV4(isExperimentEnabled, country)
903
902
  });
904
903
  const onfidoDocumentTypeMapping = [
905
904
  { id: "driversLicense", name: "driversLicense", hasBackPage: true },
@@ -1698,7 +1697,7 @@ const additionalIdentityInfoFields = [
1698
1697
  "expiryDate"
1699
1698
  ];
1700
1699
  const LazyJpAddress = lazy(
1701
- async () => (await import("./JpAddress-DR9efscK.js")).JpAddress
1700
+ async () => (await import("./JpAddress-BSy0UJ3M.js")).JpAddress
1702
1701
  );
1703
1702
  const additionalPersonalDetailsFields = [
1704
1703
  "birthDate",
@@ -1717,7 +1716,6 @@ function AdditionalPersonalDetails(props) {
1717
1716
  const [showLegalRepresentativePrompt, setShowLegalRepresentativePrompt] = useState(false);
1718
1717
  const { isSettingEnabled } = useSettingsContext();
1719
1718
  const { isExperimentEnabled } = useExperimentsContext();
1720
- const { data: versionData } = useVersionConfiguration();
1721
1719
  const { form } = useFormContext();
1722
1720
  const isExperimentAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
1723
1721
  const isSettingsEnforceLegalAgeEnabled = isSettingEnabled(SettingNames.EnforceLegalAge);
@@ -1798,7 +1796,7 @@ function AdditionalPersonalDetails(props) {
1798
1796
  handleChangeFor: handleFieldChange
1799
1797
  }
1800
1798
  ),
1801
- isCompatibleJapanVersion(country, versionData?.version) ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
1799
+ isJapanLocalizationEnabled(isExperimentEnabled, country) ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
1802
1800
  LazyJpAddress,
1803
1801
  {
1804
1802
  ...jpAddressProps,
@@ -4303,6 +4301,9 @@ const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEn
4303
4301
  delete legalEntity?.individual?.phone;
4304
4302
  }
4305
4303
  }
4304
+ if (legalEntity.individual.residentialAddress.country && legalEntity.individual.residentialAddress.stateOrProvince && !COUNTRIES_WITH_STATES_DATASET.includes(legalEntity.individual.residentialAddress.country)) {
4305
+ legalEntity.individual.residentialAddress.stateOrProvince = "";
4306
+ }
4306
4307
  return legalEntity;
4307
4308
  };
4308
4309
  const identityOnfidoBase = {
@@ -4531,7 +4532,6 @@ function IndividualOnfidoDropin({
4531
4532
  const userEvents = useAnalyticsContext();
4532
4533
  const { showToast, clearToasts } = useToastContext();
4533
4534
  const { isExperimentEnabled } = useExperimentsContext();
4534
- const { data: versionData } = useVersionConfiguration();
4535
4535
  const { isSettingEnabled } = useSettingsContext();
4536
4536
  const queryClient = useQueryClient();
4537
4537
  const defaultCountry = "NL";
@@ -4597,8 +4597,7 @@ function IndividualOnfidoDropin({
4597
4597
  (data2) => ({
4598
4598
  basicDetails: basicDetailsValidators({
4599
4599
  isExperimentEnabled,
4600
- country,
4601
- version: versionData?.version
4600
+ country
4602
4601
  }),
4603
4602
  additionalPersonalDetails: additionalPersonalDetailsValidators({
4604
4603
  country: data2?.additionalPersonalDetails?.country ?? country,
@@ -4695,19 +4694,9 @@ function IndividualOnfidoDropin({
4695
4694
  taskType,
4696
4695
  isExperimentEnabled,
4697
4696
  rootLegalEntity: parentLegalEntity,
4698
- problems,
4699
- version: versionData?.version
4697
+ problems
4700
4698
  }),
4701
- [
4702
- country,
4703
- matchingScenario,
4704
- data,
4705
- isExperimentEnabled,
4706
- parentLegalEntity,
4707
- taskType,
4708
- problems,
4709
- versionData?.version
4710
- ]
4699
+ [country, matchingScenario, data, isExperimentEnabled, parentLegalEntity, taskType, problems]
4711
4700
  );
4712
4701
  useEffect(() => {
4713
4702
  const derivedProps2 = getPropsFromConfigurations({
@@ -5046,7 +5035,7 @@ function IndividualOnfidoDropin({
5046
5035
  );
5047
5036
  }
5048
5037
  if (data.additionalPersonalDetails) {
5049
- if (isCompatibleJapanVersion(country, versionData?.version)) {
5038
+ if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
5050
5039
  summaryData.additionalPersonalDetails = {
5051
5040
  ...drop(...JP_ADDRESS_REQUIRED_FIELDS).from(summaryData.additionalPersonalDetails),
5052
5041
  ...mapJpAddressSummary(data.additionalPersonalDetails, datasetUtils)
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4a2019a2-8578-4fc4-8262-8b97740917a6", e._sentryDebugIdIdentifier = "sentry-dbid-4a2019a2-8578-4fc4-8262-8b97740917a6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "beef0602-3e73-42e9-a49f-8be7b7981235", e._sentryDebugIdIdentifier = "sentry-dbid-beef0602-3e73-42e9-a49f-8be7b7981235");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as InputBase } from "./InputText-DsyMVWuS.js";
12
+ import { a as InputBase } from "./InputText-CDJu-sEq.js";
13
13
  const checkDateInputSupport = () => {
14
14
  const input = document.createElement("input");
15
15
  input.setAttribute("type", "date");
@@ -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] = "e22f4afc-a088-4514-baac-f38da13ee4f5", e._sentryDebugIdIdentifier = "sentry-dbid-e22f4afc-a088-4514-baac-f38da13ee4f5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "640ed60b-e92d-4e2b-97e7-e20154b2b172", e._sentryDebugIdIdentifier = "sentry-dbid-640ed60b-e92d-4e2b-97e7-e20154b2b172");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
11
11
  import { forwardRef } from "preact/compat";
12
12
  import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
13
13
  import cx from "classnames";
14
- import { p as useAnalyticsContext } from "./StoreProvider-C-jMv9L5.js";
14
+ import { p as useAnalyticsContext } from "./StoreProvider-R8HTTjSj.js";
15
15
  import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
16
16
  const InputBase = forwardRef((props, ref) => {
17
17
  const userEvents = useAnalyticsContext();
@@ -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] = "f92a47ea-f62e-4c2c-9ef7-63b2afec1e82", e._sentryDebugIdIdentifier = "sentry-dbid-f92a47ea-f62e-4c2c-9ef7-63b2afec1e82");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8af77aac-e017-40cf-9261-f10e3f8e284c", e._sentryDebugIdIdentifier = "sentry-dbid-8af77aac-e017-40cf-9261-f10e3f8e284c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { j as TaskTypes, o as LegalEntityTypes, u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, p as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jMv9L5.js";
10
+ import { j as TaskTypes, o as LegalEntityTypes, u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, p as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { S as StepProgressIndicator } from "./StepProgressIndicator-B06vG0EZ.js";
13
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-C0V9U0YD.js";
14
14
  import { useMemo } from "preact/compat";
15
- import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./useCanSeeIntroduction-DG9Yn42f.js";
15
+ import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./useCanSeeIntroduction-BiE8u_KK.js";
16
16
  const IntroductionScreens = {
17
17
  PROLOGUE: "PROLOGUE",
18
18
  INDIVIDUAL: TaskTypes.INDIVIDUAL,
@@ -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] = "8df4e759-e312-4f9a-9810-48c3560c0da6", e._sentryDebugIdIdentifier = "sentry-dbid-8df4e759-e312-4f9a-9810-48c3560c0da6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "57bce6aa-4209-4103-8e0b-f5e7c60043e9", e._sentryDebugIdIdentifier = "sentry-dbid-57bce6aa-4209-4103-8e0b-f5e7c60043e9");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,19 +10,19 @@
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
12
  import { useQuery } from "@tanstack/preact-query";
13
- import { b as useApiContext, k as httpGet, a7 as noop, u as useTranslation, ab as useI18nContext, v as useExperimentsContext, p as useAnalyticsContext, a0 as CountryCodes, z as Typography, a3 as createLogger } from "./StoreProvider-C-jMv9L5.js";
14
- import { F as Field } from "./Field-B5icSx65.js";
13
+ import { b as useApiContext, k as httpGet, a7 as noop, u as useTranslation, aa as useI18nContext, v as useExperimentsContext, p as useAnalyticsContext, a0 as CountryCodes, z as Typography, a3 as createLogger } from "./StoreProvider-R8HTTjSj.js";
14
+ import { F as Field } from "./Field-JfW2EFGR.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { u as useForm } from "./useForm-ZeyqDFOi.js";
17
+ import { u as useForm } from "./useForm-BsasYish.js";
18
18
  import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
19
- import { I as InputText } from "./InputText-DsyMVWuS.js";
20
- import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-Ble-w1-c.js";
19
+ import { I as InputText } from "./InputText-CDJu-sEq.js";
20
+ import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-DKifZn9r.js";
21
21
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
22
- import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-DI_WQl-j.js";
22
+ import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-CUMHdDDB.js";
23
23
  import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
24
- import { c as convertFullToHalf } from "./TextArea-XzZ59IRn.js";
25
- import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js";
24
+ import { c as convertFullToHalf } from "./TextArea-DoQSgYyO.js";
25
+ import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js";
26
26
  const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
27
27
  baseUrl,
28
28
  path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { z as Typography } from "./StoreProvider-C-jMv9L5.js";
11
+ import { z as Typography } from "./StoreProvider-R8HTTjSj.js";
12
12
  import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
13
13
  const landingLayoutImage = "adyen-kyc-landing-layout-image";
14
14
  const landingLayoutActions = "adyen-kyc-landing-layout-actions";
@@ -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] = "e3ddc450-fc78-4dc6-81b9-44f4dad53663", e._sentryDebugIdIdentifier = "sentry-dbid-e3ddc450-fc78-4dc6-81b9-44f4dad53663");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "19467828-7bbb-4e78-9ec2-2b1cac9cc1b2", e._sentryDebugIdIdentifier = "sentry-dbid-19467828-7bbb-4e78-9ec2-2b1cac9cc1b2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { a0 as CountryCodes } from "./StoreProvider-C-jMv9L5.js";
11
- import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-DAtPy1-5.js";
10
+ import { a0 as CountryCodes } from "./StoreProvider-R8HTTjSj.js";
11
+ import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-D1I-TyxX.js";
12
12
  import { jsx } from "preact/jsx-runtime";
13
- import { F as Field } from "./Field-B5icSx65.js";
14
- import { K as KEYBOARD_KEYS } from "./Modal-VzVyfuvm.js";
15
- import { I as InputText } from "./InputText-DsyMVWuS.js";
13
+ import { F as Field } from "./Field-JfW2EFGR.js";
14
+ import { K as KEYBOARD_KEYS } from "./Modal-DVBgbO7M.js";
15
+ import { I as InputText } from "./InputText-CDJu-sEq.js";
16
16
  const defaultFieldMetadata = {
17
17
  label: "legalCompanyName",
18
18
  validators: validateNotEmptyOnBlur
@@ -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] = "74165c50-f8e5-4ac0-afa0-8709f4cd4509", e._sentryDebugIdIdentifier = "sentry-dbid-74165c50-f8e5-4ac0-afa0-8709f4cd4509");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ded95bf8-4bfc-453a-9dd1-b6a022bfdc21", e._sentryDebugIdIdentifier = "sentry-dbid-ded95bf8-4bfc-453a-9dd1-b6a022bfdc21");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a8 as EntityTypes, a7 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jMv9L5.js";
10
+ import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a8 as EntityTypes, a7 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  import { skipToken } from "@tanstack/preact-query";
13
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-DSSLH2Gg.js";
14
- import { I as IndividualOnfidoDropin } from "./IndividualDropin-Cc4CEZFn.js";
13
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3Mk1tAO.js";
14
+ import { I as IndividualOnfidoDropin } from "./IndividualDropin-mVN_KUBh.js";
15
15
  function LegalRepresentativeDetailsPage({
16
16
  legalRepresentativeId,
17
17
  asModal = false,
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { r as Icon } from "./StoreProvider-C-jMv9L5.js";
12
+ import { r as Icon } from "./StoreProvider-R8HTTjSj.js";
13
13
  const link = "adyen-kyc-link";
14
14
  const linkDefault = "adyen-kyc-link-default";
15
15
  const linkInline = "adyen-kyc-link-inline";
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { A as Avatar } from "./Avatar-BkSExeAD.js";
13
- import { r as Icon } from "./StoreProvider-C-jMv9L5.js";
12
+ import { A as Avatar } from "./Avatar-CPSU1jss.js";
13
+ import { r as Icon } from "./StoreProvider-R8HTTjSj.js";
14
14
  const listItem = "adyen-kyc-list-item";
15
15
  const listItemInteractive = "adyen-kyc-list-item-interactive";
16
16
  const listItemText = "adyen-kyc-list-item-text";
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { L as Loader } from "./StoreProvider-C-jMv9L5.js";
12
+ import { L as Loader } from "./StoreProvider-R8HTTjSj.js";
13
13
  const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
14
14
  const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
15
15
  const styles = {
@@ -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] = "3a0b6907-7231-45bc-b9ed-db9ed2100fca", e._sentryDebugIdIdentifier = "sentry-dbid-3a0b6907-7231-45bc-b9ed-db9ed2100fca");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a7529caf-dd02-438e-bff9-ccb75fa6966b", e._sentryDebugIdIdentifier = "sentry-dbid-a7529caf-dd02-438e-bff9-ccb75fa6966b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-C-jMv9L5.js";
10
+ import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-R8HTTjSj.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { u as useOnboardingStatus } from "./useOnboardingStatus-YzbGKkC5.js";
12
+ import { u as useOnboardingStatus } from "./useOnboardingStatus-Dris0Ncf.js";
13
13
  import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
14
- import { E as EmbeddedStatus } from "./EmbeddedStatus-uhtoE0i5.js";
14
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-Dv1_ftCI.js";
15
15
  function ManageIndividualComponent({
16
16
  legalEntityId,
17
17
  onClick
@@ -20,7 +20,7 @@ function ManageIndividualComponent({
20
20
  const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
21
21
  currentLegalEntityId.value = legalEntityId;
22
22
  addResourceBundles(i18n, [
23
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-Dp1J1L2X.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bd9Zz7z4.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DmFDgnbC.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DRuKxSOy.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Cezskrdn.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C-jMv9L5.js").then((n) => n.bG), "../../../language/locales/es-ES.json": () => import("./es-ES-DzB4V6UZ.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BkHzGD3D.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cxkp0GQA.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-DsEmssxk.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DU4nvY6g.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-D6frnZmR.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-VFXgXyRA.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B_Q8X66O.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-CE-GdWrg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-dv7fqeBS.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwIRHJgf.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-u56mEoG3.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-zqT41Yjw.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-fMKntiMG.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C6pZR9Bc.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B5BQrf6C.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Bz4T7upD.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--RTGDByj.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dryy3JLw.js") }), `../../../language/locales/${lang}.json`, 6) }
23
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-Dp1J1L2X.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bd9Zz7z4.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DmFDgnbC.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DRuKxSOy.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Cezskrdn.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-R8HTTjSj.js").then((n) => n.bF), "../../../language/locales/es-ES.json": () => import("./es-ES-DzB4V6UZ.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BkHzGD3D.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cxkp0GQA.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-DsEmssxk.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DU4nvY6g.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-D6frnZmR.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-VFXgXyRA.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B_Q8X66O.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-CE-GdWrg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-dv7fqeBS.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwIRHJgf.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-u56mEoG3.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-zqT41Yjw.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-fMKntiMG.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C6pZR9Bc.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B5BQrf6C.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Bz4T7upD.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--RTGDByj.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dryy3JLw.js") }), `../../../language/locales/${lang}.json`, 6) }
24
24
  ]);
25
25
  const { data: legalEntityData } = useLegalEntity(ROOT_LE);
26
26
  const { isPending, data: onboardingStatusData } = useOnboardingStatus({
@@ -7,10 +7,10 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jMv9L5.js";
10
+ import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-IjRaxZu3.js";
13
- import { E as EmbeddedStatus } from "./EmbeddedStatus-uhtoE0i5.js";
12
+ import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-ksgZfSQU.js";
13
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-Dv1_ftCI.js";
14
14
  function ManageTermsOfServiceComponent({
15
15
  legalEntityId,
16
16
  onClick