@adyen/kyc-components 2.71.1 → 2.71.3

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 (75) hide show
  1. package/README.md +0 -1
  2. package/dist/es/{4-people-CCqdlDEw.js → 4-people-CrQ1_lkt.js} +2 -2
  3. package/dist/es/adyen-kyc-components.es.js +299 -277
  4. package/dist/es/{arrow-left-Dtc2gya1.js → arrow-left-BvQ08XG_.js} +2 -2
  5. package/dist/es/{arrow-right-D_mdkZmE.js → arrow-right-BS0nSZuJ.js} +2 -2
  6. package/dist/es/{bank-gyBvaSp4.js → bank-Ce5iasfD.js} +2 -2
  7. package/dist/es/{bin-Bgdj6KzC.js → bin-DXheLYbv.js} +2 -2
  8. package/dist/es/{checkmark-tfEAu7lj.js → checkmark-BkvwdH2y.js} +2 -2
  9. package/dist/es/{checkmark-circle-nACBJ24q.js → checkmark-circle-Bs_HYw7i.js} +2 -2
  10. package/dist/es/{checkmark-circle-fill-BhvuqTl9.js → checkmark-circle-fill-BQ-GUCuT.js} +2 -2
  11. package/dist/es/{checkmark-small-63w5fAxg.js → checkmark-small-s7XfaKD5.js} +2 -2
  12. package/dist/es/{chevron-down-CkQS-knD.js → chevron-down-D-YCPRK_.js} +2 -2
  13. package/dist/es/{chevron-left-CBCMdMx6.js → chevron-left-EGqACRo2.js} +2 -2
  14. package/dist/es/{chevron-right-dIVWvPJu.js → chevron-right-Bap_0JTZ.js} +2 -2
  15. package/dist/es/{chevron-up-D93IGU9z.js → chevron-up-WyJaz_s-.js} +2 -2
  16. package/dist/es/{circle-Dgfa7GUy.js → circle-504y9uC_.js} +2 -2
  17. package/dist/es/{contract-DI03_xrF.js → contract-D5cQTwp-.js} +2 -2
  18. package/dist/es/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-CM2s6amN.js} +2 -2
  19. package/dist/es/{cross-o4n5KXxG.js → cross-hsLSHwHp.js} +2 -2
  20. package/dist/es/{document-1-DsCi9vmX.js → document-1-Bz9YHwe-.js} +2 -2
  21. package/dist/es/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
  22. package/dist/es/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
  23. package/dist/es/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
  24. package/dist/es/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
  25. package/dist/es/{document-person-DBlLin9u.js → document-person-B0phPWc-.js} +2 -2
  26. package/dist/es/{document-plus-NwgAdjyB.js → document-plus-VLYAs1Fb.js} +2 -2
  27. package/dist/es/{download-B8_c4ARV.js → download-CG_nuymh.js} +2 -2
  28. package/dist/es/{edit-1-D6f6zk9p.js → edit-1-Cftx09zU.js} +2 -2
  29. package/dist/es/{external-link-BjladU3E.js → external-link-lJsPkQGd.js} +2 -2
  30. package/dist/es/{headquarter-C6AsewcP.js → headquarter-DjOwUeVU.js} +2 -2
  31. package/dist/es/{hide-CigAXbWC.js → hide-CYvvSD4K.js} +2 -2
  32. package/dist/es/{hotel-JX0bjsSA.js → hotel-FELV3Iw2.js} +2 -2
  33. package/dist/es/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
  34. package/dist/es/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
  35. package/dist/es/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
  36. package/dist/es/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
  37. package/dist/es/{id-verification-instant-BUVBO4R3.js → id-verification-instant-Byt4Oul6.js} +2 -2
  38. package/dist/es/{id-verification-manual-B3YZALYU.js → id-verification-manual-CvcTkOSY.js} +2 -2
  39. package/dist/es/{idea-DwJIwJHR.js → idea-DCL-FW_D.js} +2 -2
  40. package/dist/es/{image-eUqBiRX_.js → image-FYEkKCbC.js} +2 -2
  41. package/dist/es/{info-Wao3PEQK.js → info-DKq722Fk.js} +2 -2
  42. package/dist/es/{instant-verification-method-CA54OgHe.js → instant-verification-method-IExplamx.js} +2 -2
  43. package/dist/es/{location-YXhcBMDy.js → location-CHomnGCd.js} +2 -2
  44. package/dist/es/{onfido-logo-Cs7hRVg3.js → onfido-logo-5ItMoZKg.js} +2 -2
  45. package/dist/es/{options-horizontal-nJ9-ButA.js → options-horizontal-CZ1OkPyD.js} +2 -2
  46. package/dist/es/{partner-COG2_Erh.js → partner-8G9YJWjj.js} +2 -2
  47. package/dist/es/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
  48. package/dist/es/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
  49. package/dist/es/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
  50. package/dist/es/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
  51. package/dist/es/{payout-iEmHhgQ4.js → payout-BeuHF0wj.js} +2 -2
  52. package/dist/es/{payout-verification-instant-BIcnFP-p.js → payout-verification-instant-C6cLlzet.js} +2 -2
  53. package/dist/es/{payout-verification-manual-DH9-DdlZ.js → payout-verification-manual-Bd7OA5Qd.js} +2 -2
  54. package/dist/es/{person-CdGfItMU.js → person-BR8LZq9h.js} +2 -2
  55. package/dist/es/{plaid-logo-RHMDew7g.js → plaid-logo-BbCkPSQQ.js} +2 -2
  56. package/dist/es/{plus-CwLva7fq.js → plus-DOnPWd2V.js} +2 -2
  57. package/dist/es/{plus-small-Dj1WRyFM.js → plus-small-OyC6T61U.js} +2 -2
  58. package/dist/es/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
  59. package/dist/es/{save-BofgDbDX.js → save-78QF2wal.js} +2 -2
  60. package/dist/es/{search-BjMkvQh0.js → search-AuGVVKrr.js} +2 -2
  61. package/dist/es/{show-uL6I-rMo.js → show-BoKwa35S.js} +2 -2
  62. package/dist/es/{store-CkhgQMl0.js → store-Bgwp0BqP.js} +2 -2
  63. package/dist/es/{tink-logo-CGHQCmGG.js → tink-logo-Bs5otA6O.js} +2 -2
  64. package/dist/es/{trustly-logo-B9WtAxlo.js → trustly-logo-Dpkew4wC.js} +2 -2
  65. package/dist/es/{upload-XDhHhAHV.js → upload-CPqQA9yj.js} +2 -2
  66. package/dist/es/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
  67. package/dist/es/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
  68. package/dist/es/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
  69. package/dist/es/{warning-circle-fill-DADaWT65.js → warning-circle-fill-C4eCiCHk.js} +2 -2
  70. package/dist/es/{warning-filled-BfAQN-BF.js → warning-filled-Pt0MRhUi.js} +2 -2
  71. package/dist/style.css +293 -287
  72. package/dist/types/components/internal/Address/components/FieldContainerComponent.d.ts +2 -1
  73. package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +0 -5
  74. package/dist/types/core/analytics.d.ts +1 -1
  75. package/package.json +51 -52
@@ -1,8 +1,11 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1
4
  ;
2
5
  {
3
6
  try {
4
7
  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] = "63c1ea62-14ce-439d-84bd-e63f6089a914", e._sentryDebugIdIdentifier = "sentry-dbid-63c1ea62-14ce-439d-84bd-e63f6089a914");
8
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e6c9854-25c1-4402-9852-2770bcb8eb48", e._sentryDebugIdIdentifier = "sentry-dbid-7e6c9854-25c1-4402-9852-2770bcb8eb48");
6
9
  } catch (e) {
7
10
  }
8
11
  }
@@ -18,16 +21,24 @@ import debounce$2 from "lodash-es/debounce";
18
21
  import isISIN from "validator/es/lib/isISIN.js";
19
22
  import { Onfido } from "onfido-sdk-ui";
20
23
  import OpenBankingSDK from "@adyen/openbankingsdk";
21
- import { jsxs as jsxs$1, jsx as jsx$1 } from "preact/compat/jsx-runtime";
22
24
  import "@adyen/adyen-document-viewer/dist/adyen-document-viewer.min.css";
23
25
  import AdyenDocumentViewer from "@adyen/adyen-document-viewer";
24
26
  class UserEvents {
25
27
  constructor() {
26
- this.queue = [];
27
- this.subscriptions = /* @__PURE__ */ new Set();
28
- this.updateSharedEventProperties = (props) => {
28
+ __publicField(this, "queue", []);
29
+ __publicField(this, "subscriptions", /* @__PURE__ */ new Set());
30
+ /** payload of commmon props sent in every event */
31
+ __publicField(this, "baseTrackingPayload");
32
+ /** properties not set with every event but that may be shared between some events
33
+ * ex. `page` value for `Interacted with form field` events
34
+ */
35
+ __publicField(this, "sharedEventProperties");
36
+ /**
37
+ * Sets params that may be shared between events
38
+ * */
39
+ __publicField(this, "updateSharedEventProperties", (props) => {
29
40
  this.sharedEventProperties = { ...this.sharedEventProperties, ...props };
30
- };
41
+ });
31
42
  this.baseTrackingPayload = {
32
43
  category: "onboarding",
33
44
  subCategory: "hosted onboarding"
@@ -1687,6 +1698,11 @@ class Language {
1687
1698
  customTranslations = {},
1688
1699
  allowedLocales = [FALLBACK_LOCALE]
1689
1700
  }) {
1701
+ __publicField(this, "supportedLocales");
1702
+ __publicField(this, "translations");
1703
+ __publicField(this, "customTranslations");
1704
+ __publicField(this, "languageCode");
1705
+ __publicField(this, "locale");
1690
1706
  this.customTranslations = formatCustomTranslations(allowedLocales, customTranslations);
1691
1707
  const localesFromCustomTranslations = Object.keys(this.customTranslations);
1692
1708
  this.supportedLocales = [
@@ -2191,46 +2207,61 @@ const formUtilities = (props, i18n) => ({
2191
2207
  (acc, [key, val]) => fieldKeys.includes(key) ? { ...acc, [key]: val } : acc,
2192
2208
  {}
2193
2209
  ),
2194
- getFieldErrors: (formErrors, fieldProblems, fieldKeys) => Object.keys(formErrors).reduce((acc, key) => {
2195
- var _a;
2196
- if (fieldKeys.includes(key)) {
2197
- const error = (_a = formErrors == null ? void 0 : formErrors[key]) == null ? void 0 : _a.errorMessage;
2198
- return error ? { ...acc, [key]: error } : { ...acc, [key]: Boolean(fieldProblems == null ? void 0 : fieldProblems[key]) };
2199
- }
2200
- return acc;
2201
- }, {}),
2202
- getFieldLabels: (fieldKeys, fallbackLabelKeys) => fieldKeys.reduce((acc, field) => {
2203
- var _a, _b;
2204
- let translationKey = ((_a = props.labels) == null ? void 0 : _a[field]) ?? (fallbackLabelKeys == null ? void 0 : fallbackLabelKeys[field]) ?? field;
2205
- if (props.labels && !((_b = props.labels) == null ? void 0 : _b[field]) && Object.keys(props.labels).length) {
2206
- const parentKey = Object.keys(props.labels).find(
2207
- (fieldKey) => {
2208
- var _a2;
2209
- return typeof ((_a2 = props.labels) == null ? void 0 : _a2[fieldKey]) === "object";
2210
+ getFieldErrors: (formErrors, fieldProblems, fieldKeys) => Object.keys(formErrors).reduce(
2211
+ (acc, key) => {
2212
+ var _a;
2213
+ if (fieldKeys.includes(key)) {
2214
+ const error = (_a = formErrors == null ? void 0 : formErrors[key]) == null ? void 0 : _a.errorMessage;
2215
+ return error ? { ...acc, [key]: error } : { ...acc, [key]: Boolean(fieldProblems == null ? void 0 : fieldProblems[key]) };
2216
+ }
2217
+ return acc;
2218
+ },
2219
+ {}
2220
+ ),
2221
+ getFieldLabels: (fieldKeys, fallbackLabelKeys) => fieldKeys.reduce(
2222
+ (acc, field) => {
2223
+ var _a, _b;
2224
+ let translationKey = ((_a = props.labels) == null ? void 0 : _a[field]) ?? (fallbackLabelKeys == null ? void 0 : fallbackLabelKeys[field]) ?? field;
2225
+ if (props.labels && !((_b = props.labels) == null ? void 0 : _b[field]) && Object.keys(props.labels).length) {
2226
+ const parentKey = Object.keys(props.labels).find(
2227
+ (fieldKey) => {
2228
+ var _a2;
2229
+ return typeof ((_a2 = props.labels) == null ? void 0 : _a2[fieldKey]) === "object";
2230
+ }
2231
+ );
2232
+ if (parentKey) {
2233
+ const nestedLabel = props.labels[parentKey][field];
2234
+ translationKey = nestedLabel ?? translationKey;
2210
2235
  }
2211
- );
2212
- if (parentKey) {
2213
- const nestedLabel = props.labels[parentKey][field];
2214
- translationKey = nestedLabel ?? translationKey;
2215
2236
  }
2216
- }
2217
- return { ...acc, [field]: i18n.get(translationKey) };
2218
- }, {}),
2219
- getFieldPlaceholders: (fieldKeys, fallbackPlaceholderKeys) => fieldKeys.reduce((acc, field) => {
2220
- var _a, _b;
2221
- const translationKey = (fallbackPlaceholderKeys == null ? void 0 : fallbackPlaceholderKeys[field]) ? ((_a = props.placeholders) == null ? void 0 : _a[field]) ?? (fallbackPlaceholderKeys == null ? void 0 : fallbackPlaceholderKeys[field]) : (_b = props.placeholders) == null ? void 0 : _b[field];
2222
- return translationKey ? { ...acc, [field]: i18n.get(translationKey) } : acc;
2223
- }, {}),
2224
- getFieldHelperText: (fieldKeys, fallbackHelperTextKeys) => fieldKeys.reduce((acc, field) => {
2225
- var _a, _b;
2226
- const translatable = (fallbackHelperTextKeys == null ? void 0 : fallbackHelperTextKeys[field]) ? ((_a = props.helperText) == null ? void 0 : _a[field]) ?? (fallbackHelperTextKeys == null ? void 0 : fallbackHelperTextKeys[field]) : (_b = props.helperText) == null ? void 0 : _b[field];
2227
- return translatable ? { ...acc, [field]: i18n.get(translatable) } : acc;
2228
- }, {}),
2229
- getFieldGuidanceText: (fieldKeys, fallbackGuidanceTextKeys) => fieldKeys.reduce((acc, field) => {
2230
- var _a, _b;
2231
- const translatable = (fallbackGuidanceTextKeys == null ? void 0 : fallbackGuidanceTextKeys[field]) ? ((_a = props.guidanceText) == null ? void 0 : _a[field]) ?? (fallbackGuidanceTextKeys == null ? void 0 : fallbackGuidanceTextKeys[field]) : (_b = props.guidanceText) == null ? void 0 : _b[field];
2232
- return translatable ? { ...acc, [field]: i18n.get(translatable) } : acc;
2233
- }, {})
2237
+ return { ...acc, [field]: i18n.get(translationKey) };
2238
+ },
2239
+ {}
2240
+ ),
2241
+ getFieldPlaceholders: (fieldKeys, fallbackPlaceholderKeys) => fieldKeys.reduce(
2242
+ (acc, field) => {
2243
+ var _a, _b;
2244
+ const translationKey = (fallbackPlaceholderKeys == null ? void 0 : fallbackPlaceholderKeys[field]) ? ((_a = props.placeholders) == null ? void 0 : _a[field]) ?? (fallbackPlaceholderKeys == null ? void 0 : fallbackPlaceholderKeys[field]) : (_b = props.placeholders) == null ? void 0 : _b[field];
2245
+ return translationKey ? { ...acc, [field]: i18n.get(translationKey) } : acc;
2246
+ },
2247
+ {}
2248
+ ),
2249
+ getFieldHelperText: (fieldKeys, fallbackHelperTextKeys) => fieldKeys.reduce(
2250
+ (acc, field) => {
2251
+ var _a, _b;
2252
+ const translatable = (fallbackHelperTextKeys == null ? void 0 : fallbackHelperTextKeys[field]) ? ((_a = props.helperText) == null ? void 0 : _a[field]) ?? (fallbackHelperTextKeys == null ? void 0 : fallbackHelperTextKeys[field]) : (_b = props.helperText) == null ? void 0 : _b[field];
2253
+ return translatable ? { ...acc, [field]: i18n.get(translatable) } : acc;
2254
+ },
2255
+ {}
2256
+ ),
2257
+ getFieldGuidanceText: (fieldKeys, fallbackGuidanceTextKeys) => fieldKeys.reduce(
2258
+ (acc, field) => {
2259
+ var _a, _b;
2260
+ const translatable = (fallbackGuidanceTextKeys == null ? void 0 : fallbackGuidanceTextKeys[field]) ? ((_a = props.guidanceText) == null ? void 0 : _a[field]) ?? (fallbackGuidanceTextKeys == null ? void 0 : fallbackGuidanceTextKeys[field]) : (_b = props.guidanceText) == null ? void 0 : _b[field];
2261
+ return translatable ? { ...acc, [field]: i18n.get(translatable) } : acc;
2262
+ },
2263
+ {}
2264
+ )
2234
2265
  });
2235
2266
  const mergeFieldMetadataIntoProps = (fieldName, metadata, otherProps) => {
2236
2267
  const existingProps = otherProps ?? {};
@@ -2309,124 +2340,124 @@ const isInvalidName = (input) => {
2309
2340
  };
2310
2341
  const svgs = {
2311
2342
  // icons
2312
- "arrow-left": lazy(() => import("./arrow-left-Dtc2gya1.js")),
2313
- "arrow-right": lazy(() => import("./arrow-right-D_mdkZmE.js")),
2314
- bank: lazy(() => import("./bank-gyBvaSp4.js")),
2315
- bin: lazy(() => import("./bin-Bgdj6KzC.js")),
2316
- check: lazy(() => import("./checkmark-tfEAu7lj.js")),
2343
+ "arrow-left": lazy(() => import("./arrow-left-BvQ08XG_.js")),
2344
+ "arrow-right": lazy(() => import("./arrow-right-BS0nSZuJ.js")),
2345
+ bank: lazy(() => import("./bank-Ce5iasfD.js")),
2346
+ bin: lazy(() => import("./bin-DXheLYbv.js")),
2347
+ check: lazy(() => import("./checkmark-BkvwdH2y.js")),
2317
2348
  checkmark: lazy(
2318
- () => import("./checkmark-circle-fill-BhvuqTl9.js")
2349
+ () => import("./checkmark-circle-fill-BQ-GUCuT.js")
2319
2350
  ),
2320
2351
  "checkmark-circle-fill": lazy(
2321
- () => import("./checkmark-circle-fill-BhvuqTl9.js")
2352
+ () => import("./checkmark-circle-fill-BQ-GUCuT.js")
2322
2353
  ),
2323
2354
  "checkmark-small": lazy(
2324
- () => import("./checkmark-small-63w5fAxg.js")
2355
+ () => import("./checkmark-small-s7XfaKD5.js")
2325
2356
  ),
2326
- "chevron-down": lazy(() => import("./chevron-down-CkQS-knD.js")),
2327
- "chevron-right": lazy(() => import("./chevron-right-dIVWvPJu.js")),
2328
- "chevron-left": lazy(() => import("./chevron-left-CBCMdMx6.js")),
2329
- "chevron-up": lazy(() => import("./chevron-up-D93IGU9z.js")),
2330
- circle: lazy(() => import("./circle-Dgfa7GUy.js")),
2331
- company: lazy(() => import("./headquarter-C6AsewcP.js")),
2332
- "company-2": lazy(() => import("./hotel-JX0bjsSA.js")),
2333
- contract: lazy(() => import("./contract-DI03_xrF.js")),
2357
+ "chevron-down": lazy(() => import("./chevron-down-D-YCPRK_.js")),
2358
+ "chevron-right": lazy(() => import("./chevron-right-Bap_0JTZ.js")),
2359
+ "chevron-left": lazy(() => import("./chevron-left-EGqACRo2.js")),
2360
+ "chevron-up": lazy(() => import("./chevron-up-WyJaz_s-.js")),
2361
+ circle: lazy(() => import("./circle-504y9uC_.js")),
2362
+ company: lazy(() => import("./headquarter-DjOwUeVU.js")),
2363
+ "company-2": lazy(() => import("./hotel-FELV3Iw2.js")),
2364
+ contract: lazy(() => import("./contract-D5cQTwp-.js")),
2334
2365
  "controlling-person": lazy(
2335
- () => import("./document-person-DBlLin9u.js")
2366
+ () => import("./document-person-B0phPWc-.js")
2336
2367
  ),
2337
- cross: lazy(() => import("./cross-o4n5KXxG.js")),
2338
- "decision-maker": lazy(() => import("./person-CdGfItMU.js")),
2339
- document: lazy(() => import("./document-1-DsCi9vmX.js")),
2340
- download: lazy(() => import("./download-B8_c4ARV.js")),
2341
- edit: lazy(() => import("./edit-1-D6f6zk9p.js")),
2342
- "external-link": lazy(() => import("./external-link-BjladU3E.js")),
2368
+ cross: lazy(() => import("./cross-hsLSHwHp.js")),
2369
+ "decision-maker": lazy(() => import("./person-BR8LZq9h.js")),
2370
+ document: lazy(() => import("./document-1-Bz9YHwe-.js")),
2371
+ download: lazy(() => import("./download-CG_nuymh.js")),
2372
+ edit: lazy(() => import("./edit-1-Cftx09zU.js")),
2373
+ "external-link": lazy(() => import("./external-link-lJsPkQGd.js")),
2343
2374
  "field-error": lazy(
2344
- () => import("./warning-circle-fill-DADaWT65.js")
2375
+ () => import("./warning-circle-fill-C4eCiCHk.js")
2345
2376
  ),
2346
- hide: lazy(() => import("./hide-CigAXbWC.js")),
2347
- "info-circle": lazy(() => import("./info-Wao3PEQK.js")),
2348
- image: lazy(() => import("./image-eUqBiRX_.js")),
2349
- "light-bulb": lazy(() => import("./idea-DwJIwJHR.js")),
2350
- location: lazy(() => import("./location-YXhcBMDy.js")),
2377
+ hide: lazy(() => import("./hide-CYvvSD4K.js")),
2378
+ "info-circle": lazy(() => import("./info-DKq722Fk.js")),
2379
+ image: lazy(() => import("./image-FYEkKCbC.js")),
2380
+ "light-bulb": lazy(() => import("./idea-DCL-FW_D.js")),
2381
+ location: lazy(() => import("./location-CHomnGCd.js")),
2351
2382
  "more-horiz": lazy(
2352
- () => import("./options-horizontal-nJ9-ButA.js")
2383
+ () => import("./options-horizontal-CZ1OkPyD.js")
2353
2384
  ),
2354
- "new-document": lazy(() => import("./document-plus-NwgAdjyB.js")),
2355
- payout: lazy(() => import("./payout-iEmHhgQ4.js")),
2356
- pci: lazy(() => import("./checkmark-circle-nACBJ24q.js")),
2357
- plus: lazy(() => import("./plus-CwLva7fq.js")),
2358
- "plus-small": lazy(() => import("./plus-small-Dj1WRyFM.js")),
2359
- remove: lazy(() => import("./cross-circle-fill-small-CHMDaA3q.js")),
2360
- save: lazy(() => import("./save-BofgDbDX.js")),
2361
- search: lazy(() => import("./search-BjMkvQh0.js")),
2362
- show: lazy(() => import("./show-uL6I-rMo.js")),
2363
- store: lazy(() => import("./store-CkhgQMl0.js")),
2364
- trust: lazy(() => import("./partner-COG2_Erh.js")),
2365
- user: lazy(() => import("./person-CdGfItMU.js")),
2385
+ "new-document": lazy(() => import("./document-plus-VLYAs1Fb.js")),
2386
+ payout: lazy(() => import("./payout-BeuHF0wj.js")),
2387
+ pci: lazy(() => import("./checkmark-circle-Bs_HYw7i.js")),
2388
+ plus: lazy(() => import("./plus-DOnPWd2V.js")),
2389
+ "plus-small": lazy(() => import("./plus-small-OyC6T61U.js")),
2390
+ remove: lazy(() => import("./cross-circle-fill-small-CM2s6amN.js")),
2391
+ save: lazy(() => import("./save-78QF2wal.js")),
2392
+ search: lazy(() => import("./search-AuGVVKrr.js")),
2393
+ show: lazy(() => import("./show-BoKwa35S.js")),
2394
+ store: lazy(() => import("./store-Bgwp0BqP.js")),
2395
+ trust: lazy(() => import("./partner-8G9YJWjj.js")),
2396
+ user: lazy(() => import("./person-BR8LZq9h.js")),
2366
2397
  "user-business": lazy(
2367
- () => import("./document-person-DBlLin9u.js")
2398
+ () => import("./document-person-B0phPWc-.js")
2368
2399
  ),
2369
- upload: lazy(() => import("./upload-XDhHhAHV.js")),
2370
- "users-3": lazy(() => import("./4-people-CCqdlDEw.js")),
2371
- warning: lazy(() => import("./warning-filled-BfAQN-BF.js")),
2400
+ upload: lazy(() => import("./upload-CPqQA9yj.js")),
2401
+ "users-3": lazy(() => import("./4-people-CrQ1_lkt.js")),
2402
+ warning: lazy(() => import("./warning-filled-Pt0MRhUi.js")),
2372
2403
  // images
2373
2404
  "document-blurred": lazy(
2374
- () => import("./document-blurred-2Zpodj3_.js")
2405
+ () => import("./document-blurred-BiWap0xs.js")
2375
2406
  ),
2376
2407
  "document-cutoff": lazy(
2377
- () => import("./document-cut-off-ClS7RiOp.js")
2408
+ () => import("./document-cut-off-aQezqOif.js")
2378
2409
  ),
2379
2410
  "document-expired": lazy(
2380
- () => import("./document-expired-CjksBq-N.js")
2411
+ () => import("./document-expired-BhBXaWWQ.js")
2381
2412
  ),
2382
2413
  "document-front": lazy(
2383
- () => import("./document-front-DiAairT3.js")
2414
+ () => import("./document-front-DYuhZGeQ.js")
2384
2415
  ),
2385
- "us-check": lazy(() => import("./us-check-CYY6Crhr.js")),
2416
+ "us-check": lazy(() => import("./us-check-C1rTBsCY.js")),
2386
2417
  "us-check-routing-number": lazy(
2387
- () => import("./us-check-routing-number-DUbhsYAR.js")
2418
+ () => import("./us-check-routing-number-s_KaAGSM.js")
2388
2419
  ),
2389
2420
  "us-check-account-number": lazy(
2390
- () => import("./us-check-account-number-C7KE5YzX.js")
2421
+ () => import("./us-check-account-number-9lI1dXNC.js")
2391
2422
  ),
2392
2423
  "id-blurred": lazy(
2393
- () => import("./id-blurred-9dzBOWCE.js")
2424
+ () => import("./id-blurred-B5lHEP8M.js")
2394
2425
  ),
2395
2426
  "id-cutoff": lazy(
2396
- () => import("./id-cut-off-CohJCI2h.js")
2427
+ () => import("./id-cut-off-Ba1FRzKO.js")
2397
2428
  ),
2398
2429
  "id-front": lazy(
2399
- () => import("./id-front-CSZfvdRg.js")
2430
+ () => import("./id-front-CpNWN6nG.js")
2400
2431
  ),
2401
2432
  "id-glare": lazy(
2402
- () => import("./id-glare-Q2JWo5ts.js")
2433
+ () => import("./id-glare-DgCQON8k.js")
2403
2434
  ),
2404
2435
  "passport-blurred": lazy(
2405
- () => import("./passport-blurred-B4UDQfmc.js")
2436
+ () => import("./passport-blurred-CVG493IJ.js")
2406
2437
  ),
2407
2438
  "passport-cutoff": lazy(
2408
- () => import("./passport-cut-off-C0N2mgLk.js")
2439
+ () => import("./passport-cut-off-COzA_TmB.js")
2409
2440
  ),
2410
2441
  "passport-front": lazy(
2411
- () => import("./passport-front-BwA7wR91.js")
2442
+ () => import("./passport-front-WJleLixT.js")
2412
2443
  ),
2413
2444
  "passport-glare": lazy(
2414
- () => import("./passport-glare-Mg2ixsYA.js")
2445
+ () => import("./passport-glare-BP5WnJZj.js")
2415
2446
  ),
2416
2447
  "instant-verification-method": lazy(
2417
- () => import("./instant-verification-method-CA54OgHe.js")
2448
+ () => import("./instant-verification-method-IExplamx.js")
2418
2449
  ),
2419
2450
  "id-verification-instant": lazy(
2420
- () => import("./id-verification-instant-BUVBO4R3.js")
2451
+ () => import("./id-verification-instant-Byt4Oul6.js")
2421
2452
  ),
2422
2453
  "id-verification-manual": lazy(
2423
- () => import("./id-verification-manual-B3YZALYU.js")
2454
+ () => import("./id-verification-manual-CvcTkOSY.js")
2424
2455
  ),
2425
2456
  "payout-verification-instant": lazy(
2426
- () => import("./payout-verification-instant-BIcnFP-p.js")
2457
+ () => import("./payout-verification-instant-C6cLlzet.js")
2427
2458
  ),
2428
2459
  "payout-verification-manual": lazy(
2429
- () => import("./payout-verification-manual-DH9-DdlZ.js")
2460
+ () => import("./payout-verification-manual-Bd7OA5Qd.js")
2430
2461
  ),
2431
2462
  "singpass-verification-instant": lazy(
2432
2463
  () => Promise.resolve().then(() => singpassVerificationInstant)
@@ -2435,19 +2466,19 @@ const svgs = {
2435
2466
  () => Promise.resolve().then(() => singpassVerificationManual)
2436
2467
  ),
2437
2468
  // These do not have a good equivalent in the icon package for now
2438
- review: lazy(() => import("./review-CxIN9azU.js")),
2469
+ review: lazy(() => import("./review-D4TUjcWF.js")),
2439
2470
  // id verification
2440
2471
  "onfido-logo": lazy(
2441
- () => import("./onfido-logo-Cs7hRVg3.js")
2472
+ () => import("./onfido-logo-5ItMoZKg.js")
2442
2473
  ),
2443
- "tink-logo": lazy(() => import("./tink-logo-CGHQCmGG.js")),
2474
+ "tink-logo": lazy(() => import("./tink-logo-Bs5otA6O.js")),
2444
2475
  "singpass-logo": lazy(
2445
2476
  () => Promise.resolve().then(() => singpassLogo)
2446
2477
  ),
2447
2478
  // payout verification
2448
- "plaid-logo": lazy(() => import("./plaid-logo-RHMDew7g.js")),
2479
+ "plaid-logo": lazy(() => import("./plaid-logo-BbCkPSQQ.js")),
2449
2480
  "trustly-logo": lazy(
2450
- () => import("./trustly-logo-B9WtAxlo.js")
2481
+ () => import("./trustly-logo-Dpkew4wC.js")
2451
2482
  )
2452
2483
  };
2453
2484
  const unscalableIconNames = [
@@ -2486,7 +2517,7 @@ const Svg = ({ className, name, testId, alt, type }) => {
2486
2517
  logger$D.error(`No such svg: "${name}"`);
2487
2518
  return null;
2488
2519
  }
2489
- return /* @__PURE__ */ jsx("span", { className: cx(`adyen-kyc-${type}`, className), "data-testid": testId, children: /* @__PURE__ */ jsx(Suspense, { fallback: null, children: viewBox ? /* @__PURE__ */ jsx(LazyLoadedSvg, { alt, "aria-hidden": type === "icon", viewBox }) : /* @__PURE__ */ jsx(LazyLoadedSvg, { alt, "aria-hidden": type === "icon" }) }) });
2520
+ return /* @__PURE__ */ jsx("span", { className: cx(`adyen-kyc-${type}`, className), "data-testid": testId, children: /* @__PURE__ */ jsx(Suspense, { fallback: null, children: viewBox ? /* @__PURE__ */ jsx(LazyLoadedSvg, { title: alt, "aria-hidden": type === "icon", viewBox }) : /* @__PURE__ */ jsx(LazyLoadedSvg, { title: alt, "aria-hidden": type === "icon" }) }) });
2490
2521
  };
2491
2522
  const Icon = ({ name, className, ...props }) => /* @__PURE__ */ jsx(Svg, { type: "icon", className, name, ...props });
2492
2523
  const Loader = ({ inline = false, size = "large", dot = false }) => /* @__PURE__ */ jsx("div", { className: `adyen-kyc-loader__wrapper ${inline ? "adyen-kyc-loader__wrapper--inline" : ""}`, children: /* @__PURE__ */ jsx(
@@ -3069,6 +3100,7 @@ function useResetGlobalData(caller) {
3069
3100
  }
3070
3101
  class ValidationResult {
3071
3102
  constructor(results) {
3103
+ __publicField(this, "validationResults");
3072
3104
  this.validationResults = results;
3073
3105
  }
3074
3106
  /** Checks if all validation rules have passed */
@@ -11746,7 +11778,6 @@ const financialInfoValidationRules = {
11746
11778
  };
11747
11779
  const financialInformationReportedValueOptions = "adyen-kyc-financial-information-reported-value-options";
11748
11780
  const styles$6 = {
11749
- "financial-information-reported-value-options": "adyen-kyc-financial-information-reported-value-options",
11750
11781
  financialInformationReportedValueOptions
11751
11782
  };
11752
11783
  const logger$y = createLogger("InputCurrency");
@@ -11794,9 +11825,7 @@ const InputCurrency = ({
11794
11825
  const reportedValue = "adyen-kyc-reported-value";
11795
11826
  const reportedValueInput = "adyen-kyc-reported-value-input";
11796
11827
  const styles$5 = {
11797
- "reported-value": "adyen-kyc-reported-value",
11798
11828
  reportedValue,
11799
- "reported-value-input": "adyen-kyc-reported-value-input",
11800
11829
  reportedValueInput
11801
11830
  };
11802
11831
  const ReportedValue = ({
@@ -13089,7 +13118,7 @@ function FieldContainerComponent({
13089
13118
  setSearchText("");
13090
13119
  setResetSearch(true);
13091
13120
  }, [data.country]);
13092
- const formUtils = formUtilities({ data }, i18n);
13121
+ const formUtils = formUtilities({}, i18n);
13093
13122
  const errorMessage = formUtils.getErrorMessage(fieldName, errors ?? {}, fieldProblems);
13094
13123
  const value = data[fieldName];
13095
13124
  const labelKey = getKeyForField(fieldName, data.country);
@@ -13381,12 +13410,10 @@ function AddressComponent({
13381
13410
  );
13382
13411
  const formUtils = formUtilities(
13383
13412
  {
13384
- data,
13385
13413
  labels: labels2,
13386
13414
  placeholders,
13387
13415
  helperText,
13388
13416
  readOnly,
13389
- allFields,
13390
13417
  requiredFields: schema,
13391
13418
  optionalFields,
13392
13419
  readOnlyFields,
@@ -13482,14 +13509,10 @@ const registrationAddressFields = [
13482
13509
  ];
13483
13510
  const registrationAddressForms = {
13484
13511
  registrationAddress: {
13485
- formId: "registrationAddress",
13486
- formName: "registeredAddress",
13487
- fields: ["address"]
13512
+ formId: "registrationAddress"
13488
13513
  },
13489
13514
  operationalAddress: {
13490
- formId: "operationalAddress",
13491
- formName: "operationalAddressHeader",
13492
- fields: ["address"]
13515
+ formId: "operationalAddress"
13493
13516
  }
13494
13517
  };
13495
13518
  const registrationAddressFormID = registrationAddressForms.registrationAddress.formId;
@@ -13537,7 +13560,6 @@ function RegistrationAddressComponent(props) {
13537
13560
  optionalFields: registrationAddressOptionalFields,
13538
13561
  readOnlyFields: registrationAddressReadOnlyFields,
13539
13562
  obscuredFields: registrationAddressObscuredFields,
13540
- verifyFields: registrationAddressVerifyFields,
13541
13563
  trustedFields: registrationAddressTrustedFields
13542
13564
  };
13543
13565
  const formUtils = formUtilities(mergedProps, i18n);
@@ -15586,9 +15608,7 @@ const useIdVerificationToken = ({
15586
15608
  const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
15587
15609
  const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
15588
15610
  const styles$4 = {
15589
- "loader-wrapper-loader": "adyen-kyc-loader-wrapper-loader",
15590
15611
  loaderWrapperLoader,
15591
- "loader-wrapper-loader-active": "adyen-kyc-loader-wrapper-loader-active",
15592
15612
  loaderWrapperLoaderActive
15593
15613
  };
15594
15614
  const LoaderWrapper = ({
@@ -16310,9 +16330,6 @@ function PhoneInputComponent(props) {
16310
16330
  )
16311
16331
  ] });
16312
16332
  }
16313
- PhoneInputComponent.defaultProps = {
16314
- phoneLabel: "telephoneNumber"
16315
- };
16316
16333
  const PhoneInput = memo(
16317
16334
  PhoneInputComponent,
16318
16335
  (prevProps, nextProps) => prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate
@@ -18290,7 +18307,7 @@ function PersonalDetailsComponent(props) {
18290
18307
  const isDecisionMakerTask = props.taskType === TaskTypes.DECISION_MAKER || props.taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER;
18291
18308
  const isTopLevelEntity = props.taskType === TaskTypes.INDIVIDUAL;
18292
18309
  const isLegalRepresentativeDetailsTask = props.taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
18293
- const countryRequiringNationality = ((_c = (_b = props.parentLegalEntity) == null ? void 0 : _b.organization) == null ? void 0 : _c.registeredAddress.country) || ((_d = props.data) == null ? void 0 : _d.residencyCountry);
18310
+ const countryRequiringNationality = ((_b = props.data) == null ? void 0 : _b.residencyCountry) || ((_d = (_c = props.parentLegalEntity) == null ? void 0 : _c.organization) == null ? void 0 : _d.registeredAddress.country);
18294
18311
  const requiredFieldsByTask = (props.requiredFields || personalDetailsFields).filter(
18295
18312
  (field) => !canChangeEntityType && (field !== "role" || field === "role" && isDecisionMakerTask) || canChangeEntityType && (field !== "role" || field === "role" && isDecisionMakerTask) || field === "relationship" && isLegalRepresentativeDetailsTask
18296
18313
  );
@@ -19696,6 +19713,7 @@ const bankVerificationValidationRules = {
19696
19713
  class AdyenKycSdkError extends Error {
19697
19714
  constructor(message, sourceError) {
19698
19715
  super(message);
19716
+ __publicField(this, "sourceError");
19699
19717
  this.name = this.constructor.name;
19700
19718
  this.sourceError = sourceError;
19701
19719
  const stack = [];
@@ -19815,6 +19833,9 @@ const processValidationErrors$1 = async (response) => {
19815
19833
  class ValidationError extends Error {
19816
19834
  constructor(message, validationDetails) {
19817
19835
  super(message);
19836
+ __publicField(this, "invalidFields");
19837
+ __publicField(this, "errorCode");
19838
+ __publicField(this, "sourceError");
19818
19839
  this.invalidFields = validationDetails == null ? void 0 : validationDetails.invalidFields;
19819
19840
  this.errorCode = validationDetails == null ? void 0 : validationDetails.errorCode;
19820
19841
  this.sourceError = validationDetails;
@@ -19899,8 +19920,15 @@ const callbackErrorHandler = async (response) => {
19899
19920
  let activeWidget;
19900
19921
  class IFrameWidget {
19901
19922
  constructor(iframeElement, url, vendor, sdkToken2) {
19902
- this.mountInProgress = false;
19903
- this.waitForResponse = async () => new Promise((resolve, reject) => {
19923
+ __publicField(this, "vendor");
19924
+ __publicField(this, "iframeUrl");
19925
+ __publicField(this, "iframeElement");
19926
+ __publicField(this, "iframeWindow");
19927
+ __publicField(this, "listener");
19928
+ __publicField(this, "mountInProgress", false);
19929
+ __publicField(this, "sdkToken");
19930
+ __publicField(this, "iframeUrlState");
19931
+ __publicField(this, "waitForResponse", async () => new Promise((resolve, reject) => {
19904
19932
  this.listener = async (message) => {
19905
19933
  try {
19906
19934
  const result = await this.handleMessage(message);
@@ -19911,7 +19939,7 @@ class IFrameWidget {
19911
19939
  }
19912
19940
  };
19913
19941
  window.addEventListener("message", this.listener);
19914
- });
19942
+ }));
19915
19943
  try {
19916
19944
  this.iframeUrl = new URL(url);
19917
19945
  } catch (err) {
@@ -21647,9 +21675,7 @@ const skeletonCircle = "adyen-kyc-skeleton-circle";
21647
21675
  const skeletonText = "adyen-kyc-skeleton-text";
21648
21676
  const styles$3 = {
21649
21677
  skeleton,
21650
- "skeleton-circle": "adyen-kyc-skeleton-circle",
21651
21678
  skeletonCircle,
21652
- "skeleton-text": "adyen-kyc-skeleton-text",
21653
21679
  skeletonText
21654
21680
  };
21655
21681
  const Skeleton = ({
@@ -21672,17 +21698,11 @@ const preferInstantVerificationMethodInstantButton = "adyen-kyc-prefer-instant-v
21672
21698
  const preferInstantVerificationMethodActions = "adyen-kyc-prefer-instant-verification-method-actions";
21673
21699
  const preferInstantVerificationMethodManualButtonDarker = "adyen-kyc-prefer-instant-verification-method-manual-button-darker";
21674
21700
  const styles$2 = {
21675
- "prefer-instant-verification-method": "adyen-kyc-prefer-instant-verification-method",
21676
21701
  preferInstantVerificationMethod,
21677
- "prefer-instant-verification-method-card": "adyen-kyc-prefer-instant-verification-method-card",
21678
21702
  preferInstantVerificationMethodCard,
21679
- "prefer-instant-verification-method-image": "adyen-kyc-prefer-instant-verification-method-image",
21680
21703
  preferInstantVerificationMethodImage,
21681
- "prefer-instant-verification-method-instant-button": "adyen-kyc-prefer-instant-verification-method-instant-button",
21682
21704
  preferInstantVerificationMethodInstantButton,
21683
- "prefer-instant-verification-method-actions": "adyen-kyc-prefer-instant-verification-method-actions",
21684
21705
  preferInstantVerificationMethodActions,
21685
- "prefer-instant-verification-method-manual-button-darker": "adyen-kyc-prefer-instant-verification-method-manual-button-darker",
21686
21706
  preferInstantVerificationMethodManualButtonDarker
21687
21707
  };
21688
21708
  const PreferInstantVerificationMethod = ({
@@ -22708,7 +22728,9 @@ const hasMinRequiredDecisionMakerCount = (rootLegalEntity) => {
22708
22728
  const decisionMakerCountRange = getDecisionMakerRequirements(registeredCountry);
22709
22729
  return decisionMakerCountRange.every((requirements) => {
22710
22730
  const { roleTypes, min } = requirements;
22711
- return roleTypes.some((role) => min ? (existingDecisionMakerCount == null ? void 0 : existingDecisionMakerCount[role]) ?? min <= 0 : true);
22731
+ return roleTypes.some(
22732
+ (role) => min ? (existingDecisionMakerCount == null ? void 0 : existingDecisionMakerCount[role]) ?? min <= 0 : true
22733
+ );
22712
22734
  });
22713
22735
  };
22714
22736
  const isPartOfTrustFromLegalEntity = (legalEntity) => {
@@ -23723,8 +23745,8 @@ const getLinkedRemedidationFormFields = (acc, field) => {
23723
23745
  }
23724
23746
  };
23725
23747
  function setInvalidInputError(parentVerificationError, entityProblems) {
23726
- var _a, _b;
23727
- const processedSubErrors = (_a = parentVerificationError == null ? void 0 : parentVerificationError.subErrors) == null ? void 0 : _a.reduce(
23748
+ var _a;
23749
+ const processedSubErrors = ((parentVerificationError == null ? void 0 : parentVerificationError.subErrors) ?? [parentVerificationError]).reduce(
23728
23750
  (acc, { code, remediatingActions }) => {
23729
23751
  const mappedRemActions = remediatingActions == null ? void 0 : remediatingActions.reduce(
23730
23752
  (acc2, remediatingAction) => {
@@ -23770,7 +23792,7 @@ function setInvalidInputError(parentVerificationError, entityProblems) {
23770
23792
  childErrorsWithRemActions: {}
23771
23793
  }
23772
23794
  );
23773
- const allUniqueForms = new Set((_b = processedSubErrors == null ? void 0 : processedSubErrors.allForms) == null ? void 0 : _b.filter(Boolean));
23795
+ const allUniqueForms = new Set((_a = processedSubErrors == null ? void 0 : processedSubErrors.allForms) == null ? void 0 : _a.filter(Boolean));
23774
23796
  allUniqueForms == null ? void 0 : allUniqueForms.forEach((formId) => {
23775
23797
  if (!(entityProblems == null ? void 0 : entityProblems.verificationErrors[formId])) {
23776
23798
  entityProblems.verificationErrors[formId] = {};
@@ -24929,13 +24951,16 @@ const getFieldsWithExistingData = (legalEntity) => {
24929
24951
  };
24930
24952
  const getNestedTrustedFields = (field, data, trustedFields) => {
24931
24953
  if (trustedFields && (data == null ? void 0 : data[field]) && typeof data[field] === "object") {
24932
- return trustedFields.reduce((fields, trustedField) => {
24933
- const splitField = trustedField.split(".");
24934
- if (splitField[0] === field) {
24935
- return [...fields, splitField[1]];
24936
- }
24937
- return fields;
24938
- }, []);
24954
+ return trustedFields.reduce(
24955
+ (fields, trustedField) => {
24956
+ const splitField = trustedField.split(".");
24957
+ if (splitField[0] === field) {
24958
+ return [...fields, splitField[1]];
24959
+ }
24960
+ return fields;
24961
+ },
24962
+ []
24963
+ );
24939
24964
  }
24940
24965
  return [];
24941
24966
  };
@@ -24968,13 +24993,9 @@ const structuredListListItem = "adyen-kyc-structured-list-list-item";
24968
24993
  const structuredListLabel = "adyen-kyc-structured-list-label";
24969
24994
  const structuredListValue = "adyen-kyc-structured-list-value";
24970
24995
  const styles$1 = {
24971
- "structured-list": "adyen-kyc-structured-list",
24972
24996
  structuredList,
24973
- "structured-list-list-item": "adyen-kyc-structured-list-list-item",
24974
24997
  structuredListListItem,
24975
- "structured-list-label": "adyen-kyc-structured-list-label",
24976
24998
  structuredListLabel,
24977
- "structured-list-value": "adyen-kyc-structured-list-value",
24978
24999
  structuredListValue
24979
25000
  };
24980
25001
  const StructuredList = ({ items }) => {
@@ -28907,8 +28928,6 @@ function CompanyDropinComponent({
28907
28928
  data,
28908
28929
  country,
28909
28930
  taskType,
28910
- requiredFields,
28911
- isSettingEnabled,
28912
28931
  isExperimentEnabled,
28913
28932
  accountHolder
28914
28933
  }),
@@ -30408,7 +30427,6 @@ const TaskItemStatus = ({ status, statusLabel, downloadHandler }) => {
30408
30427
  className: "adyen-kyc-status--download",
30409
30428
  role: "button",
30410
30429
  tabIndex: 0,
30411
- icon: "download",
30412
30430
  onClick: handleDownloadClick,
30413
30431
  children: [
30414
30432
  statusLabel || i18n.get("download"),
@@ -30791,22 +30809,25 @@ const DecisionMakersComponent = ({
30791
30809
  legalEntityId: legalEntityResponse.id,
30792
30810
  problems: capabilityProblems
30793
30811
  });
30794
- const mappedDecisionMakers = decisionMakers == null ? void 0 : decisionMakers.reduce((mappedDecisionMakers2, decisionMaker) => {
30795
- var _a2;
30796
- const mappedDecisionMaker = mappedDecisionMakers2[decisionMaker.legalEntityId];
30797
- const decisionMakerType = decisionMaker.type;
30798
- mappedDecisionMakers2[decisionMaker.legalEntityId] = {
30799
- reference: decisionMaker.legalEntityId,
30800
- types: mappedDecisionMaker ? [...mappedDecisionMaker.types, decisionMakerType] : [decisionMakerType],
30801
- status: getTaskStatus(EntityType.LEGAL_ENTITY, capabilityProblems, legalEntityResponse, [
30802
- decisionMaker.legalEntityId
30803
- ]),
30804
- name: decisionMaker.name,
30805
- legalEntityType: decisionMaker.entityType,
30806
- problems: (_a2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _a2[decisionMaker.legalEntityId]
30807
- };
30808
- return mappedDecisionMakers2;
30809
- }, {});
30812
+ const mappedDecisionMakers = decisionMakers == null ? void 0 : decisionMakers.reduce(
30813
+ (mappedDecisionMakers2, decisionMaker) => {
30814
+ var _a2;
30815
+ const mappedDecisionMaker = mappedDecisionMakers2[decisionMaker.legalEntityId];
30816
+ const decisionMakerType = decisionMaker.type;
30817
+ mappedDecisionMakers2[decisionMaker.legalEntityId] = {
30818
+ reference: decisionMaker.legalEntityId,
30819
+ types: mappedDecisionMaker ? [...mappedDecisionMaker.types, decisionMakerType] : [decisionMakerType],
30820
+ status: getTaskStatus(EntityType.LEGAL_ENTITY, capabilityProblems, legalEntityResponse, [
30821
+ decisionMaker.legalEntityId
30822
+ ]),
30823
+ name: decisionMaker.name,
30824
+ legalEntityType: decisionMaker.entityType,
30825
+ problems: (_a2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _a2[decisionMaker.legalEntityId]
30826
+ };
30827
+ return mappedDecisionMakers2;
30828
+ },
30829
+ {}
30830
+ );
30810
30831
  const uniqueDecisionMakers = mappedDecisionMakers ? Object.values(mappedDecisionMakers) : [];
30811
30832
  const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
30812
30833
  useEffect(() => {
@@ -31347,9 +31368,9 @@ function ReviewComponent({
31347
31368
  );
31348
31369
  return /* @__PURE__ */ jsx(DropinLayout, { content, footer });
31349
31370
  }
31350
- const SvgSingpassLogo = (props) => /* @__PURE__ */ jsxs$1("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 93 16", role: "img", ...props, children: [
31351
- /* @__PURE__ */ jsx$1("path", { fill: "#F4333D", d: "M5.88 11.8c-2.54 0-4.34-.85-5.13-1.57l1.69-2.48a5.5 5.5 0 0 0 3.44 1.36c.92 0 1.33-.27 1.33-.77 0-.38-.32-.68-1.3-.9l-2-.47c-1.96-.46-2.89-1.65-2.89-3.3C1.02 1.42 2.82.1 5.5.1c2.07 0 3.73.63 4.54 1.35L8.35 3.92A4.5 4.5 0 0 0 5.5 2.75c-.86 0-1.24.3-1.24.74 0 .45.4.7 1.17.88l2 .45c2.05.45 3.04 1.56 3.04 3.18 0 2.32-1.73 3.81-4.59 3.81m12-.22h3.38V5.52c0-1.48.72-2.4 2.12-2.4 1.32 0 2.02.76 2.02 2.4v6.06h3.37V4.67c0-3.02-1.5-4.58-4.09-4.58q-2.2 0-3.42 1.74V1.1c0-.5-.29-.8-.78-.8h-2.59v11.27M42.46.32v9.75c0 4.24-2.75 5.93-6.12 5.93-2.25 0-4.12-.59-5.24-1.6l1.75-2.61a5 5 0 0 0 3.49 1.37c1.73 0 2.74-1.1 2.74-2.64V9.8c-.8 1.02-1.98 1.47-3.41 1.47-2.73 0-5.09-2.39-5.09-5.59S32.93.09 35.66.09a3.9 3.9 0 0 1 3.41 1.7V1.1c0-.5.3-.8.8-.8zM39.2 5.68c0-1.46-1.1-2.61-2.63-2.61A2.57 2.57 0 0 0 34 5.68a2.6 2.6 0 0 0 2.57 2.61 2.56 2.56 0 0 0 2.63-2.61m18 .27c0 3.47-2.35 5.86-5.28 5.86-1.53 0-2.74-.45-3.62-1.46v5.38h-3.37V.32h2.59c.5 0 .78.29.78.79v.67A4.2 4.2 0 0 1 51.91.1c2.93 0 5.29 2.39 5.29 5.86m-3.4 0c0-1.69-1.2-2.88-2.78-2.88a2.77 2.77 0 0 0-2.83 2.88 2.8 2.8 0 0 0 2.83 2.89c1.58 0 2.77-1.2 2.77-2.89M70.91.32v11.26h-3.38v-1.46a4.2 4.2 0 0 1-3.62 1.69c-2.92 0-5.28-2.39-5.28-5.86S61 .09 63.92.09c1.53 0 2.8.54 3.62 1.7V1.1c0-.5.3-.8.79-.8zm-3.26 5.63a2.8 2.8 0 0 0-2.84-2.88c-1.57 0-2.76 1.19-2.76 2.88 0 1.7 1.19 2.89 2.76 2.89 1.6 0 2.84-1.2 2.84-2.89m10.1 5.86c2.85 0 4.58-1.49 4.58-3.8 0-1.63-.99-2.73-3.03-3.19l-2-.45c-.77-.18-1.18-.43-1.18-.88s.39-.74 1.24-.74c1.04 0 2.11.5 2.86 1.17l1.68-2.48C81.11.72 79.44.1 77.37.1 74.7.1 72.9 1.42 72.9 3.68c0 1.64.92 2.83 2.88 3.29l2 .47c.99.22 1.3.52 1.3.9 0 .5-.4.77-1.33.77a5.5 5.5 0 0 1-3.44-1.36l-1.68 2.48c.78.72 2.58 1.58 5.12 1.58m10.65 0C91.27 11.8 93 10.32 93 8c0-1.63-.99-2.73-3.04-3.19l-2-.45c-.76-.18-1.17-.43-1.17-.88s.38-.74 1.24-.74c1.03 0 2.11.5 2.86 1.17l1.68-2.48C91.77.72 90.1.1 88.03.1c-2.68 0-4.47 1.33-4.47 3.59 0 1.64.92 2.83 2.87 3.29l2 .47c1 .22 1.3.52 1.3.9 0 .5-.4.77-1.32.77a5.5 5.5 0 0 1-3.44-1.36l-1.69 2.48c.8.72 2.6 1.58 5.13 1.58" }),
31352
- /* @__PURE__ */ jsx$1("path", { fill: "#000", d: "M13.8 3.92c1.1 0 1.95-.86 1.95-1.96S14.9 0 13.8 0s-1.96.86-1.96 1.96.85 1.96 1.96 1.96m-2.12 7.66h4.23l-.9-7a5 5 0 0 1-2.43 0z" })
31371
+ const SvgSingpassLogo = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 93 16", role: "img", ...props, children: [
31372
+ /* @__PURE__ */ jsx("path", { fill: "#F4333D", d: "M5.88 11.8c-2.54 0-4.34-.85-5.13-1.57l1.69-2.48a5.5 5.5 0 0 0 3.44 1.36c.92 0 1.33-.27 1.33-.77 0-.38-.32-.68-1.3-.9l-2-.47c-1.96-.46-2.89-1.65-2.89-3.3C1.02 1.42 2.82.1 5.5.1c2.07 0 3.73.63 4.54 1.35L8.35 3.92A4.5 4.5 0 0 0 5.5 2.75c-.86 0-1.24.3-1.24.74 0 .45.4.7 1.17.88l2 .45c2.05.45 3.04 1.56 3.04 3.18 0 2.32-1.73 3.81-4.59 3.81m12-.22h3.38V5.52c0-1.48.72-2.4 2.12-2.4 1.32 0 2.02.76 2.02 2.4v6.06h3.37V4.67c0-3.02-1.5-4.58-4.09-4.58q-2.2 0-3.42 1.74V1.1c0-.5-.29-.8-.78-.8h-2.59v11.27M42.46.32v9.75c0 4.24-2.75 5.93-6.12 5.93-2.25 0-4.12-.59-5.24-1.6l1.75-2.61a5 5 0 0 0 3.49 1.37c1.73 0 2.74-1.1 2.74-2.64V9.8c-.8 1.02-1.98 1.47-3.41 1.47-2.73 0-5.09-2.39-5.09-5.59S32.93.09 35.66.09a3.9 3.9 0 0 1 3.41 1.7V1.1c0-.5.3-.8.8-.8zM39.2 5.68c0-1.46-1.1-2.61-2.63-2.61A2.57 2.57 0 0 0 34 5.68a2.6 2.6 0 0 0 2.57 2.61 2.56 2.56 0 0 0 2.63-2.61m18 .27c0 3.47-2.35 5.86-5.28 5.86-1.53 0-2.74-.45-3.62-1.46v5.38h-3.37V.32h2.59c.5 0 .78.29.78.79v.67A4.2 4.2 0 0 1 51.91.1c2.93 0 5.29 2.39 5.29 5.86m-3.4 0c0-1.69-1.2-2.88-2.78-2.88a2.77 2.77 0 0 0-2.83 2.88 2.8 2.8 0 0 0 2.83 2.89c1.58 0 2.77-1.2 2.77-2.89M70.91.32v11.26h-3.38v-1.46a4.2 4.2 0 0 1-3.62 1.69c-2.92 0-5.28-2.39-5.28-5.86S61 .09 63.92.09c1.53 0 2.8.54 3.62 1.7V1.1c0-.5.3-.8.79-.8zm-3.26 5.63a2.8 2.8 0 0 0-2.84-2.88c-1.57 0-2.76 1.19-2.76 2.88 0 1.7 1.19 2.89 2.76 2.89 1.6 0 2.84-1.2 2.84-2.89m10.1 5.86c2.85 0 4.58-1.49 4.58-3.8 0-1.63-.99-2.73-3.03-3.19l-2-.45c-.77-.18-1.18-.43-1.18-.88s.39-.74 1.24-.74c1.04 0 2.11.5 2.86 1.17l1.68-2.48C81.11.72 79.44.1 77.37.1 74.7.1 72.9 1.42 72.9 3.68c0 1.64.92 2.83 2.88 3.29l2 .47c.99.22 1.3.52 1.3.9 0 .5-.4.77-1.33.77a5.5 5.5 0 0 1-3.44-1.36l-1.68 2.48c.78.72 2.58 1.58 5.12 1.58m10.65 0C91.27 11.8 93 10.32 93 8c0-1.63-.99-2.73-3.04-3.19l-2-.45c-.76-.18-1.17-.43-1.17-.88s.38-.74 1.24-.74c1.03 0 2.11.5 2.86 1.17l1.68-2.48C91.77.72 90.1.1 88.03.1c-2.68 0-4.47 1.33-4.47 3.59 0 1.64.92 2.83 2.87 3.29l2 .47c1 .22 1.3.52 1.3.9 0 .5-.4.77-1.32.77a5.5 5.5 0 0 1-3.44-1.36l-1.69 2.48c.8.72 2.6 1.58 5.13 1.58" }),
31373
+ /* @__PURE__ */ jsx("path", { fill: "#000", d: "M13.8 3.92c1.1 0 1.95-.86 1.95-1.96S14.9 0 13.8 0s-1.96.86-1.96 1.96.85 1.96 1.96 1.96m-2.12 7.66h4.23l-.9-7a5 5 0 0 1-2.43 0z" })
31353
31374
  ] });
31354
31375
  const singpassLogo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31355
31376
  __proto__: null,
@@ -31431,57 +31452,57 @@ const SingpassBanner = (props) => {
31431
31452
  }
31432
31453
  );
31433
31454
  };
31434
- const SvgSingpassVerificationInstant = (props) => /* @__PURE__ */ jsxs$1("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 146 95", role: "img", ...props, children: [
31435
- /* @__PURE__ */ jsx$1("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M55.82 76.52a6.1 6.1 0 0 0 6.11 6.11h76.67a6.1 6.1 0 0 0 6.11-6.11V21.46H55.83z" }),
31436
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M138.6 13.88H61.93a6.1 6.1 0 0 0-6.11 6.11v1.47h88.88V20a6.1 6.1 0 0 0-6.11-6.11z" }),
31437
- /* @__PURE__ */ jsx$1("path", { fill: "#fff", d: "m30.16 94.33 3.47-2.6a41 41 0 0 0 8.1-8.1l2.6-3.48 6.07-2.02 13.53-1.69a3.04 3.04 0 0 0-.71-6.03l-8.6.96.7-3.47 12.66-1.58a3.04 3.04 0 0 0-.71-6.03L56.6 61.48l.8-3.96 10.58-1.32a3.04 3.04 0 0 0-.71-6.03l-8.6.95.8-3.98 8.5-1.06a3.04 3.04 0 0 0-.7-6.03L52.42 41.7l-22.26 2.47V41a4.86 4.86 0 0 0-4.86-4.86c-.68 0-1.22.55-1.22 1.22v2.7c0 1.42-.36 2.8-1.07 4.02L17.2 54.25c-.8 1.4-1.4 2.93-1.75 4.51L11.93 74.6" }),
31438
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "m30.16 94.33 3.47-2.6a41 41 0 0 0 8.1-8.1l2.6-3.48 6.07-2.02 13.53-1.69a3.04 3.04 0 0 0-.71-6.03l-8.6.96.7-3.47 12.66-1.58a3.04 3.04 0 0 0-.71-6.03L56.6 61.48l.8-3.96 10.58-1.32a3.04 3.04 0 0 0-.71-6.03l-8.6.95.8-3.98 8.5-1.06a3.04 3.04 0 0 0-.7-6.03L52.42 41.7l-22.26 2.47V41a4.86 4.86 0 0 0-4.86-4.86c-.68 0-1.22.55-1.22 1.22v2.7c0 1.42-.36 2.8-1.07 4.02L17.2 54.25c-.8 1.4-1.4 2.93-1.75 4.51L11.93 74.6" }),
31439
- /* @__PURE__ */ jsx$1("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M30.15 44.19h-6.07V62.4h6.07z" }),
31440
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M42.8 76.1a11 11 0 0 0 1.4 3.63l.14.24" }),
31441
- /* @__PURE__ */ jsx$1("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.16 1.11H33.74a6.1 6.1 0 0 0-6.1 6.11v61.05a6.1 6.1 0 0 0 6.1 6.1h24.42a6.1 6.1 0 0 0 6.1-6.1V7.22a6.1 6.1 0 0 0-6.1-6.1" }),
31442
- /* @__PURE__ */ jsx$1("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M62.74 7.22a4.6 4.6 0 0 0-4.58-4.58H33.74a4.6 4.6 0 0 0-4.58 4.58v53.42h33.58z" }),
31443
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M45.94 69.8a3.05 3.05 0 1 0 0-6.1 3.05 3.05 0 0 0 0 6.1" }),
31444
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M29.16 60.64v7.63a4.6 4.6 0 0 0 4.58 4.58h24.42a4.6 4.6 0 0 0 4.58-4.58v-7.63" }),
31445
- /* @__PURE__ */ jsx$1("path", { fill: "#fff", d: "M30.16 76.63v-7.24c0-3.2-.95-6.32-2.72-8.98a5 5 0 0 1-.58-4.26l2.67-8q.62-1.87.62-3.84v-3.3a4.86 4.86 0 0 0-4.86-4.85c-.67 0-1.22.54-1.22 1.21v2.71c0 1.41-.36 2.79-1.07 4.01l-5.8 10.18q-1.22 2.13-1.76 4.52L11.92 74.6 1.32 85.33" }),
31446
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M30.16 76.63v-7.24c0-3.2-.95-6.32-2.72-8.98a5 5 0 0 1-.58-4.26l2.67-8q.62-1.87.62-3.84v-3.3a4.86 4.86 0 0 0-4.86-4.85c-.67 0-1.22.54-1.22 1.21v2.71c0 1.41-.36 2.79-1.07 4.01l-5.8 10.18q-1.22 2.13-1.76 4.52L11.92 74.6 1.32 85.33" }),
31447
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.16 2.64H33.74a4.6 4.6 0 0 0-4.56 4.16h33.54a4.6 4.6 0 0 0-4.56-4.16" }),
31448
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.3 28.37H33.95v3.74H58.3z" }),
31449
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M46.12 42.77H33.95v3.74h12.17z" }),
31450
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M36.72 30.24h18.8" }),
31451
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.3 35.46H33.95v3.74H58.3z" }),
31452
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M37.86 36.19v2.3m.82-1.96-1.62 1.61m1.62 0-1.62-1.61m1.94.81h-2.28m12.15-1.15v2.3m.82-1.96-1.62 1.61m1.62 0-1.62-1.61m1.95.81h-2.29m6.65-1.15v2.3m.82-1.96-1.63 1.61m1.63 0-1.63-1.61m1.95.81h-2.28m-9.87-1.15v2.3m.81-1.96-1.62 1.61m1.62 0-1.62-1.61m1.96.81h-2.3" }),
31453
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M33.9 21.3h18.82M33.9 24.97h8.4" }),
31454
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M119.82 43.55h-39.1v6.02h39.1z" }),
31455
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M100.27 61.31H80.7v6.02h19.56z" }),
31456
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M85.17 46.56h30.2" }),
31457
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M119.82 52.25h-39.1v6.02h39.1z" }),
31458
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M86.73 53.7v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.67 1.1h-3.13m19.61-1.56v3.13m1.1-2.68-2.21 2.21m2.21 0-2.21-2.2m2.67 1.1h-3.13m10.59-1.56v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.66 1.1h-3.12M95.75 53.7v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.66 1.1H94.2" }),
31459
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M80.65 34.88h30.2m-30.2 3.21h13.47" })
31455
+ const SvgSingpassVerificationInstant = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 146 95", role: "img", ...props, children: [
31456
+ /* @__PURE__ */ jsx("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M55.82 76.52a6.1 6.1 0 0 0 6.11 6.11h76.67a6.1 6.1 0 0 0 6.11-6.11V21.46H55.83z" }),
31457
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M138.6 13.88H61.93a6.1 6.1 0 0 0-6.11 6.11v1.47h88.88V20a6.1 6.1 0 0 0-6.11-6.11z" }),
31458
+ /* @__PURE__ */ jsx("path", { fill: "#fff", d: "m30.16 94.33 3.47-2.6a41 41 0 0 0 8.1-8.1l2.6-3.48 6.07-2.02 13.53-1.69a3.04 3.04 0 0 0-.71-6.03l-8.6.96.7-3.47 12.66-1.58a3.04 3.04 0 0 0-.71-6.03L56.6 61.48l.8-3.96 10.58-1.32a3.04 3.04 0 0 0-.71-6.03l-8.6.95.8-3.98 8.5-1.06a3.04 3.04 0 0 0-.7-6.03L52.42 41.7l-22.26 2.47V41a4.86 4.86 0 0 0-4.86-4.86c-.68 0-1.22.55-1.22 1.22v2.7c0 1.42-.36 2.8-1.07 4.02L17.2 54.25c-.8 1.4-1.4 2.93-1.75 4.51L11.93 74.6" }),
31459
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "m30.16 94.33 3.47-2.6a41 41 0 0 0 8.1-8.1l2.6-3.48 6.07-2.02 13.53-1.69a3.04 3.04 0 0 0-.71-6.03l-8.6.96.7-3.47 12.66-1.58a3.04 3.04 0 0 0-.71-6.03L56.6 61.48l.8-3.96 10.58-1.32a3.04 3.04 0 0 0-.71-6.03l-8.6.95.8-3.98 8.5-1.06a3.04 3.04 0 0 0-.7-6.03L52.42 41.7l-22.26 2.47V41a4.86 4.86 0 0 0-4.86-4.86c-.68 0-1.22.55-1.22 1.22v2.7c0 1.42-.36 2.8-1.07 4.02L17.2 54.25c-.8 1.4-1.4 2.93-1.75 4.51L11.93 74.6" }),
31460
+ /* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M30.15 44.19h-6.07V62.4h6.07z" }),
31461
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M42.8 76.1a11 11 0 0 0 1.4 3.63l.14.24" }),
31462
+ /* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.16 1.11H33.74a6.1 6.1 0 0 0-6.1 6.11v61.05a6.1 6.1 0 0 0 6.1 6.1h24.42a6.1 6.1 0 0 0 6.1-6.1V7.22a6.1 6.1 0 0 0-6.1-6.1" }),
31463
+ /* @__PURE__ */ jsx("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M62.74 7.22a4.6 4.6 0 0 0-4.58-4.58H33.74a4.6 4.6 0 0 0-4.58 4.58v53.42h33.58z" }),
31464
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M45.94 69.8a3.05 3.05 0 1 0 0-6.1 3.05 3.05 0 0 0 0 6.1" }),
31465
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M29.16 60.64v7.63a4.6 4.6 0 0 0 4.58 4.58h24.42a4.6 4.6 0 0 0 4.58-4.58v-7.63" }),
31466
+ /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M30.16 76.63v-7.24c0-3.2-.95-6.32-2.72-8.98a5 5 0 0 1-.58-4.26l2.67-8q.62-1.87.62-3.84v-3.3a4.86 4.86 0 0 0-4.86-4.85c-.67 0-1.22.54-1.22 1.21v2.71c0 1.41-.36 2.79-1.07 4.01l-5.8 10.18q-1.22 2.13-1.76 4.52L11.92 74.6 1.32 85.33" }),
31467
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M30.16 76.63v-7.24c0-3.2-.95-6.32-2.72-8.98a5 5 0 0 1-.58-4.26l2.67-8q.62-1.87.62-3.84v-3.3a4.86 4.86 0 0 0-4.86-4.85c-.67 0-1.22.54-1.22 1.21v2.71c0 1.41-.36 2.79-1.07 4.01l-5.8 10.18q-1.22 2.13-1.76 4.52L11.92 74.6 1.32 85.33" }),
31468
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.16 2.64H33.74a4.6 4.6 0 0 0-4.56 4.16h33.54a4.6 4.6 0 0 0-4.56-4.16" }),
31469
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.3 28.37H33.95v3.74H58.3z" }),
31470
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M46.12 42.77H33.95v3.74h12.17z" }),
31471
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M36.72 30.24h18.8" }),
31472
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M58.3 35.46H33.95v3.74H58.3z" }),
31473
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M37.86 36.19v2.3m.82-1.96-1.62 1.61m1.62 0-1.62-1.61m1.94.81h-2.28m12.15-1.15v2.3m.82-1.96-1.62 1.61m1.62 0-1.62-1.61m1.95.81h-2.29m6.65-1.15v2.3m.82-1.96-1.63 1.61m1.63 0-1.63-1.61m1.95.81h-2.28m-9.87-1.15v2.3m.81-1.96-1.62 1.61m1.62 0-1.62-1.61m1.96.81h-2.3" }),
31474
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M33.9 21.3h18.82M33.9 24.97h8.4" }),
31475
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M119.82 43.55h-39.1v6.02h39.1z" }),
31476
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M100.27 61.31H80.7v6.02h19.56z" }),
31477
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M85.17 46.56h30.2" }),
31478
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M119.82 52.25h-39.1v6.02h39.1z" }),
31479
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M86.73 53.7v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.67 1.1h-3.13m19.61-1.56v3.13m1.1-2.68-2.21 2.21m2.21 0-2.21-2.2m2.67 1.1h-3.13m10.59-1.56v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.66 1.1h-3.12M95.75 53.7v3.13m1.1-2.68-2.2 2.21m2.2 0-2.2-2.2m2.66 1.1H94.2" }),
31480
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M80.65 34.88h30.2m-30.2 3.21h13.47" })
31460
31481
  ] });
31461
31482
  const singpassVerificationInstant = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31462
31483
  __proto__: null,
31463
31484
  default: SvgSingpassVerificationInstant
31464
31485
  }, Symbol.toStringTag, { value: "Module" }));
31465
- const SvgSingpassVerificationManual = (props) => /* @__PURE__ */ jsxs$1("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 102 100", role: "img", ...props, children: [
31466
- /* @__PURE__ */ jsx$1("path", { fill: "#EEF0F3", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M66.82 10.09H2.9c-1.19 0-2.15.96-2.15 2.15v84.05c0 1.19.96 2.15 2.15 2.15h63.9c1.2 0 2.15-.96 2.15-2.15V12.24c0-1.19-.96-2.15-2.14-2.15" }),
31467
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 35.7H9.02v3.94h16.42z" }),
31468
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M24.44 55.91H9.02v1.97h15.42z" }),
31469
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M55.77 35.7H29.16v3.94h26.61z" }),
31470
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 29.58H20.4m-11.38-3.4h20.14" }),
31471
- /* @__PURE__ */ jsx$1("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 51.75h18.9" }),
31472
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M24.44 69.35H9.02v1.97h15.42z" }),
31473
- /* @__PURE__ */ jsx$1("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 65.19h18.9" }),
31474
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M48 55.91H32.57v1.97h15.41z" }),
31475
- /* @__PURE__ */ jsx$1("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M32.58 51.75h18.9" }),
31476
- /* @__PURE__ */ jsx$1("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M48 69.35H32.57v1.97h15.41z" }),
31477
- /* @__PURE__ */ jsx$1("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M32.58 65.19h18.9" }),
31478
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 82.5h9.46M9.02 86h25.8" }),
31479
- /* @__PURE__ */ jsx$1("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M83.1.79H19.17c-1.18 0-2.14.96-2.14 2.15v84.05c0 1.19.96 2.15 2.14 2.15H83.1c1.19 0 2.15-.96 2.15-2.15V2.94c0-1.19-.96-2.15-2.15-2.15" }),
31480
- /* @__PURE__ */ jsx$1("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M64.64 16.78h-39.1v6.01h39.1zm0 11.71h-39.1v6.01h39.1zm0 11.71h-39.1v6.01h39.1z" }),
31481
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 10.14h22.54" }),
31482
- /* @__PURE__ */ jsx$1("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 51.9h22.54m-22.54 5.7h32.82M25.44 68.99h26.54m-26.54 5.69H37.4" }),
31483
- /* @__PURE__ */ jsx$1("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M54.4 10.14h17.28M27.93 41.7v2.84m-.4-2.94h.8m-.8 3.2h.8m-.8-25.02h7.83m3.49 0h9.75M27.7 31.5h14.32m9.96-11.72h2.85" }),
31484
- /* @__PURE__ */ jsx$1("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "m79.81 76.03 1.96 21.5a1.12 1.12 0 0 0 1.93.68l6.59-6.82q.2-.2.46-.28l9.01-2.96c.9-.3 1.05-1.52.23-2.02L81.51 74.96a1.12 1.12 0 0 0-1.69 1.06z" })
31486
+ const SvgSingpassVerificationManual = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 102 100", role: "img", ...props, children: [
31487
+ /* @__PURE__ */ jsx("path", { fill: "#EEF0F3", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M66.82 10.09H2.9c-1.19 0-2.15.96-2.15 2.15v84.05c0 1.19.96 2.15 2.15 2.15h63.9c1.2 0 2.15-.96 2.15-2.15V12.24c0-1.19-.96-2.15-2.14-2.15" }),
31488
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 35.7H9.02v3.94h16.42z" }),
31489
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M24.44 55.91H9.02v1.97h15.42z" }),
31490
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M55.77 35.7H29.16v3.94h26.61z" }),
31491
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 29.58H20.4m-11.38-3.4h20.14" }),
31492
+ /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 51.75h18.9" }),
31493
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M24.44 69.35H9.02v1.97h15.42z" }),
31494
+ /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 65.19h18.9" }),
31495
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M48 55.91H32.57v1.97h15.41z" }),
31496
+ /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M32.58 51.75h18.9" }),
31497
+ /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M48 69.35H32.57v1.97h15.41z" }),
31498
+ /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M32.58 65.19h18.9" }),
31499
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M9.02 82.5h9.46M9.02 86h25.8" }),
31500
+ /* @__PURE__ */ jsx("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M83.1.79H19.17c-1.18 0-2.14.96-2.14 2.15v84.05c0 1.19.96 2.15 2.14 2.15H83.1c1.19 0 2.15-.96 2.15-2.15V2.94c0-1.19-.96-2.15-2.15-2.15" }),
31501
+ /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M64.64 16.78h-39.1v6.01h39.1zm0 11.71h-39.1v6.01h39.1zm0 11.71h-39.1v6.01h39.1z" }),
31502
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 10.14h22.54" }),
31503
+ /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M25.44 51.9h22.54m-22.54 5.7h32.82M25.44 68.99h26.54m-26.54 5.69H37.4" }),
31504
+ /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M54.4 10.14h17.28M27.93 41.7v2.84m-.4-2.94h.8m-.8 3.2h.8m-.8-25.02h7.83m3.49 0h9.75M27.7 31.5h14.32m9.96-11.72h2.85" }),
31505
+ /* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "m79.81 76.03 1.96 21.5a1.12 1.12 0 0 0 1.93.68l6.59-6.82q.2-.2.46-.28l9.01-2.96c.9-.3 1.05-1.52.23-2.02L81.51 74.96a1.12 1.12 0 0 0-1.69 1.06z" })
31485
31506
  ] });
31486
31507
  const singpassVerificationManual = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31487
31508
  __proto__: null,
@@ -32632,7 +32653,6 @@ function IndividualDropinComponent({
32632
32653
  data,
32633
32654
  country,
32634
32655
  taskType,
32635
- isEmbeddedDropin,
32636
32656
  isExperimentEnabled,
32637
32657
  rootLegalEntity: parentLegalEntity
32638
32658
  }),
@@ -33309,7 +33329,6 @@ function PayoutDetailsDropinComponent({
33309
33329
  });
33310
33330
  }, []);
33311
33331
  const { getConfigurationData, provider } = useBankConfigurationHandlers({
33312
- isEmbeddedDropin,
33313
33332
  handleGetBankVerificationVendors,
33314
33333
  bankAccountCountry: bankAccountCountry ?? defaultPayoutCountry,
33315
33334
  getConfiguration: getConfiguration2,
@@ -33339,8 +33358,6 @@ function PayoutDetailsDropinComponent({
33339
33358
  const fieldsFromCustomRules = useMemo(
33340
33359
  () => rules$1({
33341
33360
  data,
33342
- country: bankAccountCountry ?? defaultPayoutCountry,
33343
- taskType,
33344
33361
  requiredFields
33345
33362
  }),
33346
33363
  [bankAccountCountry, data, taskType]
@@ -35137,9 +35154,7 @@ function SolePropDropinComponent({
35137
35154
  () => rules$3({
35138
35155
  data,
35139
35156
  country,
35140
- taskType,
35141
- requiredFields,
35142
- isSettingEnabled
35157
+ taskType
35143
35158
  }),
35144
35159
  [country, data, taskType, requiredFields, isSettingEnabled]
35145
35160
  );
@@ -35440,10 +35455,7 @@ function TrustDropinComponent({
35440
35455
  const fieldsFromCustomRules = useMemo(
35441
35456
  () => rules({
35442
35457
  data,
35443
- country,
35444
- taskType,
35445
- requiredFields,
35446
- isSettingEnabled
35458
+ country
35447
35459
  }),
35448
35460
  [country, data, taskType, requiredFields, isSettingEnabled]
35449
35461
  );
@@ -37359,15 +37371,10 @@ const embeddedStatusAvatar = "adyen-kyc-embedded-status-avatar";
37359
37371
  const embeddedStatusLight = "adyen-kyc-embedded-status-light";
37360
37372
  const embeddedStatusInfo = "adyen-kyc-embedded-status-info";
37361
37373
  const styles = {
37362
- "embedded-status": "adyen-kyc-embedded-status",
37363
37374
  embeddedStatus,
37364
- "embedded-status-loading": "adyen-kyc-embedded-status-loading",
37365
37375
  embeddedStatusLoading,
37366
- "embedded-status-avatar": "adyen-kyc-embedded-status-avatar",
37367
37376
  embeddedStatusAvatar,
37368
- "embedded-status-light": "adyen-kyc-embedded-status-light",
37369
37377
  embeddedStatusLight,
37370
- "embedded-status-info": "adyen-kyc-embedded-status-info",
37371
37378
  embeddedStatusInfo
37372
37379
  };
37373
37380
  const statusToTag = (status) => {
@@ -39313,7 +39320,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
39313
39320
  };
39314
39321
  };
39315
39322
  const useAnalytics = ({ onUserEvent, legalEntityId, componentName }) => {
39316
- const sdkVersion = "2.71.1";
39323
+ const sdkVersion = "2.71.3";
39317
39324
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
39318
39325
  const loadingContext = `${base}api/${COMPONENTS_API_VERSION}/`;
39319
39326
  useEffect(() => {
@@ -39655,7 +39662,7 @@ const ConfigurationApiProvider = ({
39655
39662
  [authContext, rootLegalEntityId]
39656
39663
  );
39657
39664
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
39658
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.71.1" }),
39665
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.71.3" }),
39659
39666
  children
39660
39667
  ] });
39661
39668
  };
@@ -40107,30 +40114,34 @@ function ToastContextProvider({ children }) {
40107
40114
  }
40108
40115
  class EventEmitter {
40109
40116
  constructor() {
40110
- this.listeners = {
40117
+ __publicField(this, "listeners", {
40111
40118
  next: [],
40112
40119
  back: [],
40113
40120
  validate: [],
40114
40121
  updateLocale: [],
40115
40122
  updateExpiry: []
40116
- };
40117
- this.on = (eventName, listener) => {
40123
+ });
40124
+ __publicField(this, "on", (eventName, listener) => {
40118
40125
  this.listeners[eventName].push(listener);
40119
- };
40120
- this.off = (eventName, toRemove) => {
40126
+ });
40127
+ __publicField(this, "off", (eventName, toRemove) => {
40121
40128
  this.listeners[eventName] = this.listeners[eventName].filter(
40122
40129
  (listener) => listener !== toRemove
40123
40130
  );
40124
- };
40125
- this.emit = (eventName, ...data) => {
40131
+ });
40132
+ __publicField(this, "emit", (eventName, ...data) => {
40126
40133
  this.listeners[eventName].forEach((listener) => listener(data[0]));
40127
- };
40134
+ });
40128
40135
  }
40129
40136
  }
40130
40137
  class BaseElement {
40131
40138
  constructor(props) {
40132
- this._id = `${this.constructor.name}-${uuidv4()}`;
40133
- this.eventEmitter = new EventEmitter();
40139
+ __publicField(this, "_id", `${this.constructor.name}-${uuidv4()}`);
40140
+ __publicField(this, "props");
40141
+ __publicField(this, "_node");
40142
+ __publicField(this, "_component");
40143
+ __publicField(this, "eventEmitter", new EventEmitter());
40144
+ __publicField(this, "_parentInstance");
40134
40145
  this.props = { ...props };
40135
40146
  this._parentInstance = this.props._parentInstance;
40136
40147
  this.remove = this.remove.bind(this);
@@ -40271,7 +40282,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40271
40282
  };
40272
40283
  const copyToClipboard = async () => {
40273
40284
  const toCopy = {
40274
- sdkVersion: "2.71.1",
40285
+ sdkVersion: "2.71.3",
40275
40286
  experiments: Object.fromEntries(allExperimentsWithValues),
40276
40287
  settings: Object.fromEntries(allSettingsWithValues)
40277
40288
  };
@@ -40336,7 +40347,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40336
40347
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40337
40348
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40338
40349
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40339
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.71.1" })
40350
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.71.3" })
40340
40351
  ] }) }),
40341
40352
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40342
40353
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
@@ -40470,7 +40481,7 @@ const getBaseTracking = (componentProps) => {
40470
40481
  class UIElement extends BaseElement {
40471
40482
  constructor() {
40472
40483
  super(...arguments);
40473
- this.render = () => {
40484
+ __publicField(this, "render", () => {
40474
40485
  const Component = this.props.component;
40475
40486
  const rootLegalEntityId = getRootLegalEntityId(
40476
40487
  this.props.componentProps
@@ -40481,7 +40492,7 @@ class UIElement extends BaseElement {
40481
40492
  userEvents.updateBaseTrackingPayload({
40482
40493
  ...baseTracking,
40483
40494
  componentName: this.props.componentName,
40484
- sdkVersion: "2.71.1",
40495
+ sdkVersion: "2.71.3",
40485
40496
  userAgent: navigator.userAgent
40486
40497
  });
40487
40498
  return /* @__PURE__ */ jsx(SettingsProvider, { settings: this.props.settings, children: /* @__PURE__ */ jsx(
@@ -40532,7 +40543,7 @@ class UIElement extends BaseElement {
40532
40543
  )
40533
40544
  }
40534
40545
  ) });
40535
- };
40546
+ });
40536
40547
  }
40537
40548
  }
40538
40549
  const normalizeEnvironment = (env) => env.endsWith("/") ? env : `${env}/`;
@@ -41009,8 +41020,9 @@ const validateForComponent = (componentName, options) => {
41009
41020
  };
41010
41021
  class Core {
41011
41022
  constructor(coreOptions) {
41012
- this.components = [];
41013
- this.create = (componentName, componentOptions) => {
41023
+ __publicField(this, "options");
41024
+ __publicField(this, "components", []);
41025
+ __publicField(this, "create", (componentName, componentOptions) => {
41014
41026
  validateForComponent(componentName, componentOptions);
41015
41027
  const component = componentsMap[componentName];
41016
41028
  const mergedOptions = {
@@ -41026,40 +41038,50 @@ class Core {
41026
41038
  });
41027
41039
  this.components.push(uiElement);
41028
41040
  return uiElement;
41029
- };
41030
- this.update = (options) => {
41041
+ });
41042
+ /**
41043
+ * Updates global configurations, resets the internal state and remounts each element.
41044
+ * @param options - props to update
41045
+ * @returns this - the element instance
41046
+ */
41047
+ __publicField(this, "update", (options) => {
41031
41048
  this.options = this.getUpdatedOptions(options);
41032
41049
  this.components.forEach((c) => c.update(this.options));
41033
41050
  return this;
41034
- };
41035
- this.updateLocale = ({ locale }) => {
41051
+ });
41052
+ __publicField(this, "updateLocale", ({ locale }) => {
41036
41053
  this.options = this.getUpdatedOptions({ locale });
41037
41054
  this.components.forEach((c) => c.updateLocale(this.options));
41038
41055
  return this;
41039
- };
41040
- this.updateExpiry = ({ expiry }) => {
41056
+ });
41057
+ __publicField(this, "updateExpiry", ({ expiry }) => {
41041
41058
  this.options = this.getUpdatedOptions({ expiry });
41042
41059
  this.components.forEach((c) => c.updateExpiry(this.options));
41043
41060
  return this;
41044
- };
41045
- this.remove = (component) => {
41061
+ });
41062
+ /**
41063
+ * Remove the reference of a component
41064
+ * @param component - reference to the component to be removed
41065
+ * @returns this - the element instance
41066
+ */
41067
+ __publicField(this, "remove", (component) => {
41046
41068
  this.components = this.components.filter((c) => c._id !== component._id);
41047
41069
  component.unmount();
41048
41070
  return this;
41049
- };
41050
- this.getUpdatedOptions = (options) => {
41071
+ });
41072
+ __publicField(this, "getUpdatedOptions", (options) => {
41051
41073
  const newOptions = { ...this.options, ...options };
41052
41074
  validateCoreOptions(newOptions);
41053
41075
  newOptions.loadingContext = normalizeEnvironment(newOptions.environment);
41054
41076
  if (!newOptions.locale) newOptions.locale = FALLBACK_LOCALE;
41055
41077
  return newOptions;
41056
- };
41057
- this.initializeSession = () => {
41078
+ });
41079
+ __publicField(this, "initializeSession", () => {
41058
41080
  if (this.options.sdkToken && this.options.getSdkToken) {
41059
41081
  setSdkToken(this.options.sdkToken);
41060
41082
  setSdkTokenHandler(this.options.getSdkToken);
41061
41083
  }
41062
- };
41084
+ });
41063
41085
  this.options = this.getUpdatedOptions(coreOptions);
41064
41086
  this.initializeSession();
41065
41087
  }