@adyen/kyc-components 3.95.0-beta.0 → 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 (168) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-DQBTbYHm.js → AcceptTermsOfServiceComponent-BlEaBswl.js} +16 -16
  2. package/dist/{Accordion-CyFxp5eR.js → Accordion-xQ7nYxl-.js} +1 -1
  3. package/dist/{AccountSetupRejected-BgPC6a82.js → AccountSetupRejected-CPavzOgc.js} +3 -3
  4. package/dist/{ActionBar-DuqmbwPb.js → ActionBar-BCKFGEro.js} +1 -1
  5. package/dist/{Address-uWZO7A9W.js → Address-CUMHdDDB.js} +10 -10
  6. package/dist/{Alert-BpQzk7oa.js → Alert-AsIgy5ys.js} +3 -3
  7. package/dist/{Avatar-cL2Btfr9.js → Avatar-CPSU1jss.js} +1 -1
  8. package/dist/{BusinessFinancingComponent-DQnluWsY.js → BusinessFinancingComponent-C2PQs3gR.js} +5 -5
  9. package/dist/{BusinessFinancingDropin-TTX58HNJ.js → BusinessFinancingDropin-DTiURzP3.js} +29 -29
  10. package/dist/{BusinessFinancingPage-CARcv8Qh.js → BusinessFinancingPage-Wadm29GW.js} +4 -4
  11. package/dist/{BusinessTypeSelectionPage-BamCO_8X.js → BusinessTypeSelectionPage-Cc6WG-M5.js} +9 -9
  12. package/dist/{Checkbox-4TE31vJm.js → Checkbox-Cjzq-IgW.js} +1 -1
  13. package/dist/{Confirm-BCbTBwh3.js → Confirm-BnJOYc76.js} +2 -2
  14. package/dist/{ConstitutionalDocument-DAXsUY5o.js → ConstitutionalDocument-Cuezk4yt.js} +18 -18
  15. package/dist/{ContactDetails-DF1ERAlH.js → ContactDetails-Cp0fGlU3.js} +8 -8
  16. package/dist/{ContextGuidance-c2saCqxR.js → ContextGuidance-BxC-gbkP.js} +2 -2
  17. package/dist/{CountryField-0SyPMIyv.js → CountryField-DIm2rPmp.js} +5 -5
  18. package/dist/{CreateIndividualComponent-BEG5bcc8.js → CreateIndividualComponent-Bn0sxDjy.js} +5 -5
  19. package/dist/{CreateTransferInstrumentComponent-UEBRtXZu.js → CreateTransferInstrumentComponent-Bz5GoylI.js} +4 -4
  20. package/dist/{Currency-CYaHlY2Z.js → Currency-DGkjeLuN.js} +7 -7
  21. package/dist/{CustomerSupport-CZAM9Fzm.js → CustomerSupport-CBKzdmnU.js} +11 -11
  22. package/dist/{DebugModal-Dpm0S2dA.js → DebugModal-B0LNaFHQ.js} +9 -9
  23. package/dist/{DecisionMakerDetailsPage-CgEYI6wt.js → DecisionMakerDetailsPage-B2qQWfwH.js} +6 -6
  24. package/dist/{DecisionMakers-Dj2lHuCW.js → DecisionMakers-DsEvjMgy.js} +22 -21
  25. package/dist/{Dropzone-D-KrwtNK.js → Dropzone-DN5uCyVU.js} +4 -4
  26. package/dist/{EmbeddedStatus-Bz7OcIMW.js → EmbeddedStatus-Dv1_ftCI.js} +3 -3
  27. package/dist/{EndStateLayout-DnGdtXOr.js → EndStateLayout-Be7knc_u.js} +1 -1
  28. package/dist/{EntityAssociation-ysCVZKn5.js → EntityAssociation-ehFx0Lsk.js} +6 -6
  29. package/dist/{EntityGuidanceStatus-BHI0RfAS.js → EntityGuidanceStatus-DogG6s5I.js} +3 -3
  30. package/dist/{ErrorPanel-CAHQTbMv.js → ErrorPanel-AOXcd1rV.js} +3 -3
  31. package/dist/{Field-CApB-T06.js → Field-JfW2EFGR.js} +1 -1
  32. package/dist/{FormNavigation-DSCpClML.js → FormNavigation-DDdhTt0b.js} +3 -3
  33. package/dist/{FormWrapper-CVN-7oA1.js → FormWrapper-Ct9HZWod.js} +9 -9
  34. package/dist/{Header-DCVQMDDt.js → Header--2llFP2l.js} +1 -1
  35. package/dist/Image-BCApSFnP.js +27 -0
  36. package/dist/{Individual.rules-NaoLBYL8.js → Individual.rules-CyhqPTcX.js} +9 -10
  37. package/dist/{IndividualDropin-CfUopCha.js → IndividualDropin-mVN_KUBh.js} +65 -76
  38. package/dist/{InputDate-CiL0lNHS.js → InputDate-Burmi6Sh.js} +2 -2
  39. package/dist/{InputText-BV_-tgjA.js → InputText-CDJu-sEq.js} +2 -2
  40. package/dist/{Introduction-D1Ki78MP.js → Introduction-BwKLGTUv.js} +4 -4
  41. package/dist/{JpAddress-UoTJ6rCV.js → JpAddress-BSy0UJ3M.js} +9 -9
  42. package/dist/{LandingLayout-Cn77l9Co.js → LandingLayout-BwkomD3H.js} +1 -1
  43. package/dist/{LegalCompanyNameField-iFBtpehs.js → LegalCompanyNameField-Cgt1TNEB.js} +6 -6
  44. package/dist/{LegalRepresentativeDetailsPage-B0UoHJQJ.js → LegalRepresentativeDetailsPage-Cqajm3hR.js} +4 -4
  45. package/dist/{Link-BJyutNM5.js → Link-C1ItzqIL.js} +1 -1
  46. package/dist/{ListItem-Bgm6YMzN.js → ListItem-BIog5phF.js} +2 -2
  47. package/dist/{LoaderWrapper-C4vG5XIf.js → LoaderWrapper-CZo0SNKQ.js} +1 -1
  48. package/dist/{ManageIndividualComponent-D9R1S14p.js → ManageIndividualComponent-BBOXsqnJ.js} +5 -5
  49. package/dist/{ManageTermsOfServiceComponent-CwmatDwh.js → ManageTermsOfServiceComponent-COmlFRSF.js} +3 -3
  50. package/dist/{ManageTransferInstrumentComponent-2b76XSTc.js → ManageTransferInstrumentComponent-BVY-1aD7.js} +13 -13
  51. package/dist/{MaskedInput-BbFU7XNV.js → MaskedInput-DKifZn9r.js} +5 -5
  52. package/dist/{MaybeModal-BpIcw6KQ.js → MaybeModal-CRIZCDqy.js} +2 -2
  53. package/dist/{Modal-CJUtsR2N.js → Modal-DVBgbO7M.js} +1 -1
  54. package/dist/{Name-DTE823OG.js → Name-7k-lHFYu.js} +5 -5
  55. package/dist/{OnboardingDropinComponent-BX4esftr.js → OnboardingDropinComponent-BRhZOfli.js} +55 -54
  56. package/dist/{PayoutDetailsDropin-Cqeomvbg.js → PayoutDetailsDropin-oy4QPb8_.js} +44 -43
  57. package/dist/{RadioGroup-DzUpgP12.js → RadioGroup-BKDP8z8a.js} +2 -2
  58. package/dist/{RadioGroupCard-g4OS0871.js → RadioGroupCard-BRaP96s2.js} +2 -2
  59. package/dist/{Review-Cj1WCiGQ.js → Review-BuZsPiQ4.js} +7 -7
  60. package/dist/{RootBusinessDetailsPage-9NXM1XdC.js → RootBusinessDetailsPage-YR2zdnnH.js} +4 -4
  61. package/dist/{RootBusinessLinesPage-YxGXibwW.js → RootBusinessLinesPage-C7flPjmZ.js} +27 -26
  62. package/dist/{RootIndividualDetailsPage-DX1rjTXN.js → RootIndividualDetailsPage-Bos1Wn3a.js} +4 -4
  63. package/dist/{Select-C_6mHv91.js → Select-CaTtCKfk.js} +4 -4
  64. package/dist/{SignPCIComponent-OxWCtP3x.js → SignPCIComponent-BQX3rni3.js} +11 -11
  65. package/dist/{SingpassSelection-DE4uUTZo.js → SingpassSelection-CfZV_Gh8.js} +6 -6
  66. package/dist/{SoleProprietorshipPage-BzpFPKOl.js → SoleProprietorshipPage-CUHHAiF8.js} +4 -4
  67. package/dist/{SourceOfFundsPage-CESAo3kl.js → SourceOfFundsPage-Bco19EV7.js} +33 -32
  68. package/dist/{StepProgressIndicator-a3q7kzzC.js → StepProgressIndicator-C0V9U0YD.js} +1 -1
  69. package/dist/{StoreProvider-BL3nK1iO.js → StoreProvider-R8HTTjSj.js} +96 -97
  70. package/dist/{Summary-8HdspbcQ.js → Summary-itpVUbwv.js} +6 -6
  71. package/dist/{TaskVerificationStatus-ycoS73dK.js → TaskVerificationStatus-DMo_YL-Q.js} +1 -1
  72. package/dist/{TaxInformationField-BfDJhJG4.js → TaxInformationField-BMegKexk.js} +22 -23
  73. package/dist/{TaxReportingDropin-xYD4YqWR.js → TaxReportingDropin-BefiGSvu.js} +16 -16
  74. package/dist/{TextArea-CWY-x138.js → TextArea-DoQSgYyO.js} +2 -2
  75. package/dist/{TileGroup-DmZTiaip.js → TileGroup-2DhDOa2v.js} +2 -2
  76. package/dist/{TrustDetailsPage-JQ-U6HZk.js → TrustDetailsPage-nz98r5ao.js} +34 -34
  77. package/dist/{TrustMemberCompanyPage-WwsnSV7c.js → TrustMemberCompanyPage-C1hkerc6.js} +5 -5
  78. package/dist/{TrustMemberIndividualPage-27y1WJMM.js → TrustMemberIndividualPage-BP1rh_3-.js} +4 -4
  79. package/dist/{TrustMemberRoleAndTypePage-DHCLuLa-.js → TrustMemberRoleAndTypePage-DM_SAeST.js} +22 -22
  80. package/dist/{TrustMembersOverview-CqdtBx67.js → TrustMembersOverview-DJq55hwH.js} +12 -12
  81. package/dist/{UnincorporatedPartnershipIndividualPage-xOJ-Kusf.js → UnincorporatedPartnershipIndividualPage-C3cNtO8h.js} +4 -4
  82. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CBw2IY6X.js → UnincorporatedPartnershipMemberCompanyPage-DwWQxBJZ.js} +5 -5
  83. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-B4fDDHnW.js → UnincorporatedPartnershipMemberRoleAndTypePage-CD9BjZAV.js} +11 -11
  84. package/dist/{UnincorporatedPartnershipMembersOverview-BrBvKluu.js → UnincorporatedPartnershipMembersOverview-Ddkf3qsV.js} +9 -9
  85. package/dist/{VerificationErrorAlert-DXaYFyA9.js → VerificationErrorAlert-B3lc-lS0.js} +2 -2
  86. package/dist/{ViewVerificationStatusComponent-YY4hrQ8I.js → ViewVerificationStatusComponent-ClqvblmK.js} +4 -4
  87. package/dist/{accountHolderUtils-DP6cbO7y.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-BCq4-e97.js → bafinUtils-BQuOAA7n.js} +1 -1
  100. package/dist/{commonValidators-BXRpCFOY.js → commonValidators-COQPDrJD.js} +1 -1
  101. package/dist/{dropinUtils-DGUJjA6y.js → dropinUtils-DaVcEvR9.js} +4 -4
  102. package/dist/{formUtils-CJQolfmf.js → formUtils-BXVrjV16.js} +3 -3
  103. package/dist/{getName-C1AIqAns.js → getName-BSp8sqBk.js} +2 -2
  104. package/dist/{Image-CJu0BRVo.js → getProblemsForEntity-D3Mk1tAO.js} +2 -17
  105. package/dist/{iframeWidget-DRjCrrYZ.js → iframeWidget-D9fIYT_A.js} +4 -4
  106. package/dist/{isEmpty-C7bLX-qG.js → isEmpty-YP88OF9k.js} +2 -2
  107. package/dist/japanSupportUtils-BVEiDev9.js +16 -0
  108. package/dist/{localizeDateString-n8b2kwyK.js → localizeDateString-D4QbYS20.js} +1 -1
  109. package/dist/{mapExistingFile-DtG8dtIh.js → mapExistingFile-DrV6ETrQ.js} +4 -4
  110. package/dist/{mapJpAddressSchemaToAddressLocalizations-CpVZUxo1.js → mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js} +5 -5
  111. package/dist/{mapLegalEntityToIndividualSchema-1aYgn5km.js → mapLegalEntityToIndividualSchema-xKiA35iB.js} +4 -4
  112. package/dist/{mapTransferInstrumentToPayoutAccount-BDQGKfhP.js → mapTransferInstrumentToPayoutAccount-BGH81_rp.js} +2 -2
  113. package/dist/{patternValidators-DcjAPGFV.js → patternValidators-D1I-TyxX.js} +2 -2
  114. package/dist/{process-field-configurations-CQoldE8s.js → process-field-configurations-CauvcVgJ.js} +3 -3
  115. package/dist/resolveEnvironment-BGOF8ZN0.js +84 -0
  116. package/dist/{roleMetadata-DsoqlMAY.js → roleMetadata-IJmMKj7H.js} +2 -2
  117. package/dist/style.css +5 -5
  118. package/dist/styles-CLV89_hH.js +5 -5
  119. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  120. package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
  121. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +1 -2
  122. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  123. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -1
  124. package/dist/types/context/ExperimentContext/types.d.ts +2 -2
  125. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
  126. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
  127. package/dist/types/types/form-rules.d.ts +0 -1
  128. package/dist/types/utils/japanSupportUtils.d.ts +2 -1
  129. package/dist/{types-C8yt1YG2.js → types-B7GElie6.js} +3 -3
  130. package/dist/{types-DRTd35hZ.js → types-C71UTKFj.js} +2 -2
  131. package/dist/{types-XpRg7EOC.js → types-CbmL-OPw.js} +1 -1
  132. package/dist/{types-DujGXeMG.js → types-L5qYiAza.js} +1 -1
  133. package/dist/{useAssociatedLegalEntity-DlZrp3qi.js → useAssociatedLegalEntity-C-xiImww.js} +1 -1
  134. package/dist/{useBusinessDetailsData-gZ8moheH.js → useBusinessDetailsData-ClDMNd4T.js} +63 -68
  135. package/dist/{useBusinessLines-BD1Yg8Ja.js → useBusinessLines-DYARfG9m.js} +1 -1
  136. package/dist/{useCanSeeIntroduction-BHQYUN_d.js → useCanSeeIntroduction-BiE8u_KK.js} +2 -2
  137. package/dist/{useCreateLegalEntity-DjRvxwI5.js → useCreateLegalEntity-DR7rwVaq.js} +1 -1
  138. package/dist/{useDataMissingRemediations-KgLqbiZx.js → useDataMissingRemediations-DReynHoU.js} +2 -2
  139. package/dist/{useDataset-Bafefouf.js → useDataset-C5FlqHce.js} +2 -2
  140. package/dist/{useDeleteTransferInstrument-Cf8rmBGA.js → useDeleteTransferInstrument-B-Oi9ZLT.js} +3 -3
  141. package/dist/{useForm-Bh638xmS.js → useForm-BsasYish.js} +3 -3
  142. package/dist/{useFormContext-BilJQsMw.js → useFormContext-DpaS6tOQ.js} +7 -7
  143. package/dist/{useGlobalData-DkE5IpZB.js → useGlobalData-CX1o5IxG.js} +2 -2
  144. package/dist/{useMultiForm-djEDTyaG.js → useMultiForm-DEqGcJ6u.js} +4 -4
  145. package/dist/{useNavigate-DE0sTmpX.js → useNavigate-Cj2nZ22H.js} +29 -29
  146. package/dist/{useOnboardingStatus-DhK2qF95.js → useOnboardingStatus-Dris0Ncf.js} +1 -1
  147. package/dist/{usePciQuestionnaireList-DsgAv5Ql.js → usePciQuestionnaireList-BBySNcwm.js} +1 -1
  148. package/dist/{useSalesChannels-DUTiDcGq.js → useSalesChannels-BOd-o11d.js} +3 -3
  149. package/dist/{useScenarios-BxbmDi2R.js → useScenarios-HMGtblyu.js} +2 -2
  150. package/dist/{useSetting-DwC0bC4k.js → useSetting-BYr76RvU.js} +2 -2
  151. package/dist/{useTaskStatus-Cps0L-Yp.js → useTaskStatus-BbVw9GeJ.js} +1 -1
  152. package/dist/{useTermsOfServiceStatus-COugffxI.js → useTermsOfServiceStatus-ksgZfSQU.js} +1 -1
  153. package/dist/{useToastContext-DBDF60Ps.js → useToastContext-BVrrLs7J.js} +1 -1
  154. package/dist/{useTrustMembers-ymPJMufc.js → useTrustMembers-1tH9uxR9.js} +4 -4
  155. package/dist/{useUnincorporatedPartnershipMembers-ZlPU6E-_.js → useUnincorporatedPartnershipMembers-gG8G3tCc.js} +4 -4
  156. package/dist/{useUpdateBusinessLines-DfjB9Ur6.js → useUpdateBusinessLines-CMUHoLaq.js} +4 -4
  157. package/dist/{useUpdateLegalEntity-C8rOYkS1.js → useUpdateLegalEntity-B6ROWewZ.js} +2 -2
  158. package/dist/{utils-D1RKmLBo.js → utils-BOHUVuDG.js} +3 -3
  159. package/dist/{utils-DIBG3Hc5.js → utils-BgPvD8_F.js} +5 -5
  160. package/dist/{utils-_6SITBJE.js → utils-DSoDxwnp.js} +2 -2
  161. package/dist/{utils-Dd2ry06C.js → utils-LHyfmjEK.js} +1 -1
  162. package/dist/{utils-B8oIRKRm.js → utils-kWwTKQ5D.js} +2 -2
  163. package/dist/{validate-B6hMWJ8a.js → validate-5WfBgXVu.js} +1 -1
  164. package/dist/{validate-jqVPVUI3.js → validate-xqnF9QqW.js} +3 -3
  165. package/dist/{validationError-CsCEpxs1.js → validationError-DQ-2UuzB.js} +2 -2
  166. package/package.json +6 -2
  167. package/dist/japanSupportUtils-BucfNSWB.js +0 -17
  168. package/dist/resolveEnvironment-D-07Kfa-.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-BL3nK1iO.js";
11
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-_6SITBJE.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-BucfNSWB.js";
14
- import { i as isBafinSignatoryFlow } from "./bafinUtils-BCq4-e97.js";
15
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-Dd2ry06C.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-BxbmDi2R.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-BL3nK1iO.js";
16
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DjRvxwI5.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8rOYkS1.js";
18
- import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-uWZO7A9W.js";
19
- import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-DF1ERAlH.js";
20
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BilJQsMw.js";
21
- import { u as useToastContext } from "./useToastContext-DBDF60Ps.js";
22
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CQoldE8s.js";
23
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DGUJjA6y.js";
24
- import { u as useMultiForm } from "./useMultiForm-djEDTyaG.js";
25
- import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DtG8dtIh.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-CpVZUxo1.js";
28
- import { b as addressFields, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels } from "./utils-_6SITBJE.js";
29
- import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-1aYgn5km.js";
30
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CsCEpxs1.js";
31
- import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-jqVPVUI3.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-BfDJhJG4.js";
34
- import { i as isCompatibleJapanVersion } from "./japanSupportUtils-BucfNSWB.js";
35
- import { l as localizeDateString } from "./localizeDateString-n8b2kwyK.js";
36
- import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-DRjCrrYZ.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-BbFU7XNV.js";
38
- import { v as validatePatternOnBlur } from "./patternValidators-DcjAPGFV.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-Dd2ry06C.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-CJu0BRVo.js";
43
- import { M as Modal } from "./Modal-CJUtsR2N.js";
44
- import { L as LandingLayout } from "./LandingLayout-Cn77l9Co.js";
45
- import { a as Alert } from "./Alert-BpQzk7oa.js";
46
- import { C as Confirm } from "./Confirm-BCbTBwh3.js";
47
- import { a as getIndividualLegalEntityName } from "./getName-C1AIqAns.js";
48
- import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-BCq4-e97.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-CAHQTbMv.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-CApB-T06.js";
53
- import { H as Header } from "./Header-DCVQMDDt.js";
54
- import { L as Link } from "./Link-BJyutNM5.js";
55
- import { S as SettingNames } from "./TaskVerificationStatus-ycoS73dK.js";
56
- import { I as InputDate, f as formatDateObj } from "./InputDate-CiL0lNHS.js";
57
- import { I as InputText } from "./InputText-BV_-tgjA.js";
58
- import { C as CountryField } from "./CountryField-0SyPMIyv.js";
59
- import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DzUpgP12.js";
60
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CJQolfmf.js";
61
- import { C as Checkbox } from "./Checkbox-4TE31vJm.js";
62
- import { S as Select } from "./Select-C_6mHv91.js";
63
- import { u as useDataset } from "./useDataset-Bafefouf.js";
64
- import { C as ContextGuidance } from "./ContextGuidance-c2saCqxR.js";
65
- import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-NaoLBYL8.js";
66
- import { i as isTruthyValidator } from "./commonValidators-BXRpCFOY.js";
67
- import { n as nameFields, N as Name } from "./Name-DTE823OG.js";
68
- import { D as Dropzone } from "./Dropzone-D-KrwtNK.js";
69
- import { i as isEmpty$1 } from "./isEmpty-C7bLX-qG.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-C4vG5XIf.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-UoTJ6rCV.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-BV_-tgjA.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-BL3nK1iO.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-BL3nK1iO.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-a3q7kzzC.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-BHQYUN_d.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-BL3nK1iO.js";
14
- import { F as Field } from "./Field-CApB-T06.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-Bh638xmS.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-BV_-tgjA.js";
20
- import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BbFU7XNV.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-uWZO7A9W.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-CWY-x138.js";
25
- import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-CpVZUxo1.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-BL3nK1iO.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-BL3nK1iO.js";
11
- import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-DcjAPGFV.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-CApB-T06.js";
14
- import { K as KEYBOARD_KEYS } from "./Modal-CJUtsR2N.js";
15
- import { I as InputText } from "./InputText-BV_-tgjA.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-BL3nK1iO.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-CJu0BRVo.js";
14
- import { I as IndividualOnfidoDropin } from "./IndividualDropin-CfUopCha.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-BL3nK1iO.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-cL2Btfr9.js";
13
- import { r as Icon } from "./StoreProvider-BL3nK1iO.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-BL3nK1iO.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-BL3nK1iO.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-DhK2qF95.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-Bz7OcIMW.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-BL3nK1iO.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-BL3nK1iO.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-COugffxI.js";
13
- import { E as EmbeddedStatus } from "./EmbeddedStatus-Bz7OcIMW.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