@adyen/kyc-components 3.42.0 → 3.42.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.
- package/dist/es/{4-people-D6QtSVKs.js → 4-people-BTQ6Okmp.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +280 -251
- package/dist/es/{arrow-left-BEzGkXpC.js → arrow-left-DEX29gr8.js} +1 -1
- package/dist/es/{arrow-right-BjEeO3KT.js → arrow-right-BSLTMCIA.js} +1 -1
- package/dist/es/{bank-aQ-d38gw.js → bank-BwbpmObN.js} +1 -1
- package/dist/es/{bg-BG-DlNb6qPG.js → bg-BG-CMCcwscy.js} +1 -1
- package/dist/es/{bin-bsB-Y4ck.js → bin-D7a-dmmy.js} +1 -1
- package/dist/es/{checkmark-xXnQ1txg.js → checkmark-DS0ypPvH.js} +1 -1
- package/dist/es/{checkmark-circle-BtJq7UOd.js → checkmark-circle-D_pSWXBi.js} +1 -1
- package/dist/es/{checkmark-circle-fill-CvjPOjLX.js → checkmark-circle-fill-hZq1T5e9.js} +1 -1
- package/dist/es/{checkmark-small-BBb7kspz.js → checkmark-small-4ciES6ZR.js} +1 -1
- package/dist/es/{chevron-down-cwUHqMf-.js → chevron-down-CSdvSDZq.js} +1 -1
- package/dist/es/{chevron-left-Dil1SOFc.js → chevron-left-Ctf1pv5s.js} +1 -1
- package/dist/es/{chevron-right-DduG1z3W.js → chevron-right-B5NJn8is.js} +1 -1
- package/dist/es/{chevron-up-BxJjU4qP.js → chevron-up-CXPd5NYI.js} +1 -1
- package/dist/es/{circle-6lECxps_.js → circle-F380_Tya.js} +1 -1
- package/dist/es/{contract-eoS4QHqq.js → contract-DFZ6WwMd.js} +1 -1
- package/dist/es/{cross-D07ekYNj.js → cross-CzBW8i1Z.js} +1 -1
- package/dist/es/{cross-circle-fill-small-BlVHmgEE.js → cross-circle-fill-small-ChSvrRGZ.js} +1 -1
- package/dist/es/{cs-CZ-Bx2-t2jA.js → cs-CZ-CWoauekB.js} +1 -1
- package/dist/es/{da-DK-DZKs_7ov.js → da-DK-DzEKTJHc.js} +1 -1
- package/dist/es/{de-DE-BWqkcynd.js → de-DE-B6M2anx6.js} +1 -1
- package/dist/es/{document-1-C9nOU6ue.js → document-1-BN3bKHzc.js} +1 -1
- package/dist/es/{document-blurred-DahFl1PS.js → document-blurred-gtj03M4x.js} +1 -1
- package/dist/es/{document-cut-off-DvTLiuKG.js → document-cut-off-D2vCeeIS.js} +1 -1
- package/dist/es/{document-expired-9WrL7EOP.js → document-expired-_4Syh1xW.js} +1 -1
- package/dist/es/{document-front-3vni6BPX.js → document-front-9Glzn7ZR.js} +1 -1
- package/dist/es/{document-person-BtZueizv.js → document-person-BPjqMJVL.js} +1 -1
- package/dist/es/{document-plus-rMgW2WHB.js → document-plus-BfF1HyQ-.js} +1 -1
- package/dist/es/{download-CFv1FJiG.js → download-Doa1e9Lk.js} +1 -1
- package/dist/es/{edit-1-D0WowfoU.js → edit-1-CfwIJ2-1.js} +1 -1
- package/dist/es/{el-GR-C0KVWWIs.js → el-GR-CuqLWzR5.js} +1 -1
- package/dist/es/{es-ES-CJcNPC8D.js → es-ES-9XfSDirr.js} +1 -1
- package/dist/es/{et-EE-mSpIUjYI.js → et-EE-pmwl_J2R.js} +1 -1
- package/dist/es/{external-link-CFqOeGuG.js → external-link-B2BGNXtd.js} +1 -1
- package/dist/es/{fi-FI-Cv3CtFxs.js → fi-FI-DgJSRyPl.js} +1 -1
- package/dist/es/{fr-FR-BtYKoCfy.js → fr-FR-BUhY0q6T.js} +1 -1
- package/dist/es/{headquarter-BLIrCwyW.js → headquarter-BVHLaPzn.js} +1 -1
- package/dist/es/{hide-BGJTDL7D.js → hide-CWI5yHxd.js} +1 -1
- package/dist/es/{hotel-vkY3VQfs.js → hotel-DLFFe_Ls.js} +1 -1
- package/dist/es/{hr-HR-Dc3ZkcUT.js → hr-HR-Cu45hWKx.js} +1 -1
- package/dist/es/{hu-HU-B23BksI7.js → hu-HU-igEUooEp.js} +1 -1
- package/dist/es/{id-blurred-D7gYl9k-.js → id-blurred-A45CVnPk.js} +1 -1
- package/dist/es/{id-cut-off-CA2XZkGD.js → id-cut-off-DMoJYcGr.js} +1 -1
- package/dist/es/{id-front-DE9bgcNR.js → id-front-CTIDY7Nu.js} +1 -1
- package/dist/es/{id-glare-B4eo1qmG.js → id-glare-DRN1UgPb.js} +1 -1
- package/dist/es/{id-verification-instant-BqRJktgt.js → id-verification-instant-JpZYE7gU.js} +1 -1
- package/dist/es/{id-verification-manual-DWEm9SCh.js → id-verification-manual-CnkUMBXD.js} +1 -1
- package/dist/es/{idea-BLbDr266.js → idea-CtaTpGVP.js} +1 -1
- package/dist/es/{image-CUREwKTh.js → image-Ol9hzDvF.js} +1 -1
- package/dist/es/{info-nb2fz598.js → info-B_8Cr-vS.js} +1 -1
- package/dist/es/{instant-verification-method-BQBv6dnq.js → instant-verification-method-DIOSivq4.js} +1 -1
- package/dist/es/{it-IT-D2D8df6o.js → it-IT-DTdhIzgZ.js} +1 -1
- package/dist/es/{location-DVtOhIb5.js → location-BGfgcQ71.js} +1 -1
- package/dist/es/{lt-LT-94eUKnwE.js → lt-LT-7Ir7WV1z.js} +1 -1
- package/dist/es/{lv-LV-LsgAwAkf.js → lv-LV-NrrHCjUD.js} +1 -1
- package/dist/es/{nl-NL-aj7D61S3.js → nl-NL-CfA_NFx-.js} +1 -1
- package/dist/es/{no-NO-FqTZe4aj.js → no-NO-CWloqbTr.js} +1 -1
- package/dist/es/{onfido-logo-nlG6WUB3.js → onfido-logo-i_oduqdE.js} +1 -1
- package/dist/es/{options-horizontal-4DhvBzRx.js → options-horizontal-Ba20yF0F.js} +1 -1
- package/dist/es/{partner-CGiUWmWi.js → partner-B9xMZpSw.js} +1 -1
- package/dist/es/{passport-blurred-CBU2I2SP.js → passport-blurred-Cw3cn4-0.js} +1 -1
- package/dist/es/{passport-cut-off-mZcGaKPv.js → passport-cut-off-B0WAEH9S.js} +1 -1
- package/dist/es/{passport-front-BytyK6Ls.js → passport-front-DOkc7OdE.js} +1 -1
- package/dist/es/{passport-glare-D9em3mjY.js → passport-glare-DZiLpHLG.js} +1 -1
- package/dist/es/{payout-BJ5TX2Dq.js → payout-DW4sSAG5.js} +1 -1
- package/dist/es/{payout-verification-instant-DmxF80hN.js → payout-verification-instant-D9r3JgYA.js} +1 -1
- package/dist/es/{payout-verification-manual-ZznQn_RV.js → payout-verification-manual-BVzHrwSY.js} +1 -1
- package/dist/es/{person-Cb7Dslki.js → person-lPJ07vyF.js} +1 -1
- package/dist/es/{pl-PL-CeDF1kZg.js → pl-PL-BXvZOf8S.js} +1 -1
- package/dist/es/{plaid-logo-C0W0p2X3.js → plaid-logo-4nYeR9iX.js} +1 -1
- package/dist/es/{plus-DEpFek7s.js → plus-BPprgrc7.js} +1 -1
- package/dist/es/{plus-small-CjisKI1p.js → plus-small-S4gFIjlj.js} +1 -1
- package/dist/es/{pt-PT-DXDG2_Kw.js → pt-PT-BBmTWd3M.js} +1 -1
- package/dist/es/{review-NcGTPSE0.js → review-C4CnZ2XP.js} +1 -1
- package/dist/es/{ro-RO-CqZ3C4QL.js → ro-RO-CPB_OIDF.js} +1 -1
- package/dist/es/{save-CJ7-Fima.js → save-BueTh8B0.js} +1 -1
- package/dist/es/{search-CnNLc5WO.js → search-BvJVZbOV.js} +1 -1
- package/dist/es/{show-ioP9Mj56.js → show-Cm_JGm0K.js} +1 -1
- package/dist/es/{sk-SK-DFfGxfE8.js → sk-SK-C0ojvkCe.js} +1 -1
- package/dist/es/{sl-SI-D-w7-teP.js → sl-SI-qgUAiBJ9.js} +1 -1
- package/dist/es/{store-faCt3vVh.js → store-BLl8m644.js} +1 -1
- package/dist/es/{sv-SE-Cx4vp_qe.js → sv-SE-CJ7RsMEw.js} +1 -1
- package/dist/es/{tink-logo-Da0hYhtE.js → tink-logo-WImtH5CL.js} +1 -1
- package/dist/es/{trustly-logo-Cpg1aUwi.js → trustly-logo-YJslAOYF.js} +1 -1
- package/dist/es/{upload-CZHjK5gx.js → upload-XwV0PfcC.js} +1 -1
- package/dist/es/{us-check-account-number-Bro0EFtl.js → us-check-account-number-CHnzmLNd.js} +1 -1
- package/dist/es/{us-check-uvu8od19.js → us-check-o5Ax_0LS.js} +1 -1
- package/dist/es/{us-check-routing-number-9Q53x-qH.js → us-check-routing-number-BtVf7GH3.js} +1 -1
- package/dist/es/{warning-circle-fill-BWvKRCCf.js → warning-circle-fill-FaaY90uz.js} +1 -1
- package/dist/es/{warning-filled-CjOyKWdo.js → warning-filled-Od0v7tGX.js} +1 -1
- package/dist/es/{webinar-BIBF_Xio.js → webinar-DgBtUiyw.js} +1 -1
- package/dist/style.css +0 -1
- package/dist/types/components/BankDocument/types.d.ts +4 -3
- package/dist/types/components/internal/Address/utils.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/SelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +8 -9
- package/dist/types/core/context/ExperimentContext/types.d.ts +0 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/package.json +3 -2
|
@@ -3,12 +3,11 @@ import { useContext, useState, useCallback, useEffect, useMemo, useReducer, useI
|
|
|
3
3
|
import { createContext, isValidElement, createElement, render } from "preact";
|
|
4
4
|
import { sanitize } from "isomorphic-dompurify";
|
|
5
5
|
import cx from "classnames";
|
|
6
|
-
import { lazy, Suspense, forwardRef, memo, useMemo as useMemo$1 } from "preact/compat";
|
|
6
|
+
import React, { lazy, Suspense, forwardRef, memo, useMemo as useMemo$1 } from "preact/compat";
|
|
7
7
|
import isISIN from "validator/es/lib/isISIN.js";
|
|
8
8
|
import { Onfido } from "onfido-sdk-ui";
|
|
9
9
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
10
|
-
import
|
|
11
|
-
import { jsxs as jsxs$1, jsx as jsx$1 } from "react/jsx-runtime";
|
|
10
|
+
import { jsxs as jsxs$1, jsx as jsx$1 } from "preact/compat/jsx-runtime";
|
|
12
11
|
import "@adyen/adyen-document-viewer/dist/adyen-document-viewer.min.css";
|
|
13
12
|
import AdyenDocumentViewer from "@adyen/adyen-document-viewer";
|
|
14
13
|
const ConfigurationApiContext = createContext(void 0);
|
|
@@ -82,6 +81,7 @@ const defaultLocaleTranslations = {
|
|
|
82
81
|
accountNumber: "Account number",
|
|
83
82
|
accountNumberOrIbanVisible: "Includes your account number or IBAN",
|
|
84
83
|
accountNumberVisible: "Includes your account number",
|
|
84
|
+
accountNumberFullOrPartialVisible: "Includes your full or partial account number",
|
|
85
85
|
accountVerification: "Account Verification",
|
|
86
86
|
acknowledgePciRequirements: "We hereby acknowledge that we must remain compliant with the aforementioned PCI DSS requirements at all times as long as we want to receive payments. Consequently, we must continuously reassess our environment and implement any additional PCI DSS requirements if our environment changes.",
|
|
87
87
|
actionNeeded: "Action needed",
|
|
@@ -301,6 +301,7 @@ const defaultLocaleTranslations = {
|
|
|
301
301
|
customerSupport: "Customer support",
|
|
302
302
|
cyRegistrationNumber: "Αριθμός Εγγραφής",
|
|
303
303
|
dateCannotBeInTheFuture: "Date cannot be in the future",
|
|
304
|
+
datedInTheLastXMonths: "Dated in the last %{number} months",
|
|
304
305
|
dateOfIncorporation: "Date of incorporation",
|
|
305
306
|
dateOfTotalAssetsCalculation: "The date on which total assets and annual turnover were calculated is often the balance sheet date.",
|
|
306
307
|
dateOnDocumentNoOlderThanXMonths: "Date on the document is no older than %{numberOfMonths} months",
|
|
@@ -726,6 +727,7 @@ const defaultLocaleTranslations = {
|
|
|
726
727
|
hasToBeOfficialDocumentFromBank: "Includes the bank logo, bank name, or bank-specific font",
|
|
727
728
|
helpUsVerifyCompany: "Help us verify this company.",
|
|
728
729
|
hideDetails: "Hide details",
|
|
730
|
+
highResolutionCheck: "High-resolution image showing the full check with clearly visible security features",
|
|
729
731
|
hkid: "HKID Number",
|
|
730
732
|
howDoesVerificationWithOurPartnerWorks: "How does verification with our partner %{provider} work?",
|
|
731
733
|
howVerificationWithOnfidoWork: "How does verification with our partner Onfido work?",
|
|
@@ -865,7 +867,6 @@ const defaultLocaleTranslations = {
|
|
|
865
867
|
isTrustOperationAddressSame: "Is there a different address for your trust's operations?",
|
|
866
868
|
isYourNameMissingFromSigners: "Is your name missing from the list of signers?",
|
|
867
869
|
issuedByTheTaxAuthority: "Issued by the tax authority or government of the country where the company is registered",
|
|
868
|
-
issuedInTheLastXMonths: "Issued in the last %{number} months",
|
|
869
870
|
issuedOrSignedByALegalRepresentative: "Issued or signed by a legal representative in the last 12 months",
|
|
870
871
|
issuerState: "Issuing state",
|
|
871
872
|
jobTitle: "Job title",
|
|
@@ -2233,129 +2234,129 @@ const isInvalidName = (input) => {
|
|
|
2233
2234
|
return invalidNames.has(input || "");
|
|
2234
2235
|
};
|
|
2235
2236
|
const icons = {
|
|
2236
|
-
"arrow-left": lazy(() => import("./arrow-left-
|
|
2237
|
-
"arrow-right": lazy(() => import("./arrow-right-
|
|
2238
|
-
bank: lazy(() => import("./bank-
|
|
2239
|
-
bin: lazy(() => import("./bin-
|
|
2240
|
-
check: lazy(() => import("./checkmark-
|
|
2237
|
+
"arrow-left": lazy(() => import("./arrow-left-DEX29gr8.js")),
|
|
2238
|
+
"arrow-right": lazy(() => import("./arrow-right-BSLTMCIA.js")),
|
|
2239
|
+
bank: lazy(() => import("./bank-BwbpmObN.js")),
|
|
2240
|
+
bin: lazy(() => import("./bin-D7a-dmmy.js")),
|
|
2241
|
+
check: lazy(() => import("./checkmark-DS0ypPvH.js")),
|
|
2241
2242
|
checkmark: lazy(
|
|
2242
|
-
() => import("./checkmark-circle-fill-
|
|
2243
|
+
() => import("./checkmark-circle-fill-hZq1T5e9.js")
|
|
2243
2244
|
),
|
|
2244
2245
|
"checkmark-circle-fill": lazy(
|
|
2245
|
-
() => import("./checkmark-circle-fill-
|
|
2246
|
+
() => import("./checkmark-circle-fill-hZq1T5e9.js")
|
|
2246
2247
|
),
|
|
2247
2248
|
"checkmark-small": lazy(
|
|
2248
|
-
() => import("./checkmark-small-
|
|
2249
|
+
() => import("./checkmark-small-4ciES6ZR.js")
|
|
2249
2250
|
),
|
|
2250
|
-
"chevron-down": lazy(() => import("./chevron-down-
|
|
2251
|
-
"chevron-right": lazy(() => import("./chevron-right-
|
|
2252
|
-
"chevron-left": lazy(() => import("./chevron-left-
|
|
2253
|
-
"chevron-up": lazy(() => import("./chevron-up-
|
|
2254
|
-
circle: lazy(() => import("./circle-
|
|
2255
|
-
company: lazy(() => import("./headquarter-
|
|
2256
|
-
"company-2": lazy(() => import("./hotel-
|
|
2257
|
-
contract: lazy(() => import("./contract-
|
|
2251
|
+
"chevron-down": lazy(() => import("./chevron-down-CSdvSDZq.js")),
|
|
2252
|
+
"chevron-right": lazy(() => import("./chevron-right-B5NJn8is.js")),
|
|
2253
|
+
"chevron-left": lazy(() => import("./chevron-left-Ctf1pv5s.js")),
|
|
2254
|
+
"chevron-up": lazy(() => import("./chevron-up-CXPd5NYI.js")),
|
|
2255
|
+
circle: lazy(() => import("./circle-F380_Tya.js")),
|
|
2256
|
+
company: lazy(() => import("./headquarter-BVHLaPzn.js")),
|
|
2257
|
+
"company-2": lazy(() => import("./hotel-DLFFe_Ls.js")),
|
|
2258
|
+
contract: lazy(() => import("./contract-DFZ6WwMd.js")),
|
|
2258
2259
|
"controlling-person": lazy(
|
|
2259
|
-
() => import("./document-person-
|
|
2260
|
+
() => import("./document-person-BPjqMJVL.js")
|
|
2260
2261
|
),
|
|
2261
|
-
cross: lazy(() => import("./cross-
|
|
2262
|
-
"decision-maker": lazy(() => import("./person-
|
|
2263
|
-
document: lazy(() => import("./document-1-
|
|
2264
|
-
download: lazy(() => import("./download-
|
|
2265
|
-
edit: lazy(() => import("./edit-1-
|
|
2266
|
-
"external-link": lazy(() => import("./external-link-
|
|
2262
|
+
cross: lazy(() => import("./cross-CzBW8i1Z.js")),
|
|
2263
|
+
"decision-maker": lazy(() => import("./person-lPJ07vyF.js")),
|
|
2264
|
+
document: lazy(() => import("./document-1-BN3bKHzc.js")),
|
|
2265
|
+
download: lazy(() => import("./download-Doa1e9Lk.js")),
|
|
2266
|
+
edit: lazy(() => import("./edit-1-CfwIJ2-1.js")),
|
|
2267
|
+
"external-link": lazy(() => import("./external-link-B2BGNXtd.js")),
|
|
2267
2268
|
"field-error": lazy(
|
|
2268
|
-
() => import("./warning-circle-fill-
|
|
2269
|
+
() => import("./warning-circle-fill-FaaY90uz.js")
|
|
2269
2270
|
),
|
|
2270
|
-
hide: lazy(() => import("./hide-
|
|
2271
|
-
"info-circle": lazy(() => import("./info-
|
|
2272
|
-
image: lazy(() => import("./image-
|
|
2273
|
-
"light-bulb": lazy(() => import("./idea-
|
|
2274
|
-
location: lazy(() => import("./location-
|
|
2271
|
+
hide: lazy(() => import("./hide-CWI5yHxd.js")),
|
|
2272
|
+
"info-circle": lazy(() => import("./info-B_8Cr-vS.js")),
|
|
2273
|
+
image: lazy(() => import("./image-Ol9hzDvF.js")),
|
|
2274
|
+
"light-bulb": lazy(() => import("./idea-CtaTpGVP.js")),
|
|
2275
|
+
location: lazy(() => import("./location-BGfgcQ71.js")),
|
|
2275
2276
|
"more-horiz": lazy(
|
|
2276
|
-
() => import("./options-horizontal-
|
|
2277
|
+
() => import("./options-horizontal-Ba20yF0F.js")
|
|
2277
2278
|
),
|
|
2278
|
-
"new-document": lazy(() => import("./document-plus-
|
|
2279
|
-
payout: lazy(() => import("./payout-
|
|
2280
|
-
pci: lazy(() => import("./checkmark-circle-
|
|
2281
|
-
plus: lazy(() => import("./plus-
|
|
2282
|
-
"plus-small": lazy(() => import("./plus-small-
|
|
2283
|
-
remove: lazy(() => import("./cross-circle-fill-small-
|
|
2284
|
-
save: lazy(() => import("./save-
|
|
2285
|
-
search: lazy(() => import("./search-
|
|
2286
|
-
show: lazy(() => import("./show-
|
|
2287
|
-
store: lazy(() => import("./store-
|
|
2288
|
-
trust: lazy(() => import("./partner-
|
|
2289
|
-
user: lazy(() => import("./person-
|
|
2279
|
+
"new-document": lazy(() => import("./document-plus-BfF1HyQ-.js")),
|
|
2280
|
+
payout: lazy(() => import("./payout-DW4sSAG5.js")),
|
|
2281
|
+
pci: lazy(() => import("./checkmark-circle-D_pSWXBi.js")),
|
|
2282
|
+
plus: lazy(() => import("./plus-BPprgrc7.js")),
|
|
2283
|
+
"plus-small": lazy(() => import("./plus-small-S4gFIjlj.js")),
|
|
2284
|
+
remove: lazy(() => import("./cross-circle-fill-small-ChSvrRGZ.js")),
|
|
2285
|
+
save: lazy(() => import("./save-BueTh8B0.js")),
|
|
2286
|
+
search: lazy(() => import("./search-BvJVZbOV.js")),
|
|
2287
|
+
show: lazy(() => import("./show-Cm_JGm0K.js")),
|
|
2288
|
+
store: lazy(() => import("./store-BLl8m644.js")),
|
|
2289
|
+
trust: lazy(() => import("./partner-B9xMZpSw.js")),
|
|
2290
|
+
user: lazy(() => import("./person-lPJ07vyF.js")),
|
|
2290
2291
|
"user-business": lazy(
|
|
2291
|
-
() => import("./document-person-
|
|
2292
|
+
() => import("./document-person-BPjqMJVL.js")
|
|
2292
2293
|
),
|
|
2293
|
-
upload: lazy(() => import("./upload-
|
|
2294
|
-
"users-3": lazy(() => import("./4-people-
|
|
2295
|
-
warning: lazy(() => import("./warning-filled-
|
|
2296
|
-
webinar: lazy(() => import("./webinar-
|
|
2294
|
+
upload: lazy(() => import("./upload-XwV0PfcC.js")),
|
|
2295
|
+
"users-3": lazy(() => import("./4-people-BTQ6Okmp.js")),
|
|
2296
|
+
warning: lazy(() => import("./warning-filled-Od0v7tGX.js")),
|
|
2297
|
+
webinar: lazy(() => import("./webinar-DgBtUiyw.js"))
|
|
2297
2298
|
};
|
|
2298
2299
|
const customIcons = {
|
|
2299
|
-
review: lazy(() => import("./review-
|
|
2300
|
+
review: lazy(() => import("./review-C4CnZ2XP.js"))
|
|
2300
2301
|
};
|
|
2301
2302
|
const images = {
|
|
2302
2303
|
"document-blurred": lazy(
|
|
2303
|
-
() => import("./document-blurred-
|
|
2304
|
+
() => import("./document-blurred-gtj03M4x.js")
|
|
2304
2305
|
),
|
|
2305
2306
|
"document-cutoff": lazy(
|
|
2306
|
-
() => import("./document-cut-off-
|
|
2307
|
+
() => import("./document-cut-off-D2vCeeIS.js")
|
|
2307
2308
|
),
|
|
2308
2309
|
"document-expired": lazy(
|
|
2309
|
-
() => import("./document-expired-
|
|
2310
|
+
() => import("./document-expired-_4Syh1xW.js")
|
|
2310
2311
|
),
|
|
2311
2312
|
"document-front": lazy(
|
|
2312
|
-
() => import("./document-front-
|
|
2313
|
+
() => import("./document-front-9Glzn7ZR.js")
|
|
2313
2314
|
),
|
|
2314
|
-
"us-check": lazy(() => import("./us-check-
|
|
2315
|
+
"us-check": lazy(() => import("./us-check-o5Ax_0LS.js")),
|
|
2315
2316
|
"us-check-routing-number": lazy(
|
|
2316
|
-
() => import("./us-check-routing-number-
|
|
2317
|
+
() => import("./us-check-routing-number-BtVf7GH3.js")
|
|
2317
2318
|
),
|
|
2318
2319
|
"us-check-account-number": lazy(
|
|
2319
|
-
() => import("./us-check-account-number-
|
|
2320
|
+
() => import("./us-check-account-number-CHnzmLNd.js")
|
|
2320
2321
|
),
|
|
2321
2322
|
"id-blurred": lazy(
|
|
2322
|
-
() => import("./id-blurred-
|
|
2323
|
+
() => import("./id-blurred-A45CVnPk.js")
|
|
2323
2324
|
),
|
|
2324
2325
|
"id-cutoff": lazy(
|
|
2325
|
-
() => import("./id-cut-off-
|
|
2326
|
+
() => import("./id-cut-off-DMoJYcGr.js")
|
|
2326
2327
|
),
|
|
2327
2328
|
"id-front": lazy(
|
|
2328
|
-
() => import("./id-front-
|
|
2329
|
+
() => import("./id-front-CTIDY7Nu.js")
|
|
2329
2330
|
),
|
|
2330
2331
|
"id-glare": lazy(
|
|
2331
|
-
() => import("./id-glare-
|
|
2332
|
+
() => import("./id-glare-DRN1UgPb.js")
|
|
2332
2333
|
),
|
|
2333
2334
|
"passport-blurred": lazy(
|
|
2334
|
-
() => import("./passport-blurred-
|
|
2335
|
+
() => import("./passport-blurred-Cw3cn4-0.js")
|
|
2335
2336
|
),
|
|
2336
2337
|
"passport-cutoff": lazy(
|
|
2337
|
-
() => import("./passport-cut-off-
|
|
2338
|
+
() => import("./passport-cut-off-B0WAEH9S.js")
|
|
2338
2339
|
),
|
|
2339
2340
|
"passport-front": lazy(
|
|
2340
|
-
() => import("./passport-front-
|
|
2341
|
+
() => import("./passport-front-DOkc7OdE.js")
|
|
2341
2342
|
),
|
|
2342
2343
|
"passport-glare": lazy(
|
|
2343
|
-
() => import("./passport-glare-
|
|
2344
|
+
() => import("./passport-glare-DZiLpHLG.js")
|
|
2344
2345
|
),
|
|
2345
2346
|
"instant-verification-method": lazy(
|
|
2346
|
-
() => import("./instant-verification-method-
|
|
2347
|
+
() => import("./instant-verification-method-DIOSivq4.js")
|
|
2347
2348
|
),
|
|
2348
2349
|
"id-verification-instant": lazy(
|
|
2349
|
-
() => import("./id-verification-instant-
|
|
2350
|
+
() => import("./id-verification-instant-JpZYE7gU.js")
|
|
2350
2351
|
),
|
|
2351
2352
|
"id-verification-manual": lazy(
|
|
2352
|
-
() => import("./id-verification-manual-
|
|
2353
|
+
() => import("./id-verification-manual-CnkUMBXD.js")
|
|
2353
2354
|
),
|
|
2354
2355
|
"payout-verification-instant": lazy(
|
|
2355
|
-
() => import("./payout-verification-instant-
|
|
2356
|
+
() => import("./payout-verification-instant-D9r3JgYA.js")
|
|
2356
2357
|
),
|
|
2357
2358
|
"payout-verification-manual": lazy(
|
|
2358
|
-
() => import("./payout-verification-manual-
|
|
2359
|
+
() => import("./payout-verification-manual-BVzHrwSY.js")
|
|
2359
2360
|
),
|
|
2360
2361
|
"singpass-verification-instant": lazy(
|
|
2361
2362
|
() => Promise.resolve().then(() => singpassVerificationInstant)
|
|
@@ -2365,16 +2366,16 @@ const images = {
|
|
|
2365
2366
|
),
|
|
2366
2367
|
// id verification
|
|
2367
2368
|
"onfido-logo": lazy(
|
|
2368
|
-
() => import("./onfido-logo-
|
|
2369
|
+
() => import("./onfido-logo-i_oduqdE.js")
|
|
2369
2370
|
),
|
|
2370
|
-
"tink-logo": lazy(() => import("./tink-logo-
|
|
2371
|
+
"tink-logo": lazy(() => import("./tink-logo-WImtH5CL.js")),
|
|
2371
2372
|
"singpass-logo": lazy(
|
|
2372
2373
|
() => Promise.resolve().then(() => singpassLogo)
|
|
2373
2374
|
),
|
|
2374
2375
|
// payout verification
|
|
2375
|
-
"plaid-logo": lazy(() => import("./plaid-logo-
|
|
2376
|
+
"plaid-logo": lazy(() => import("./plaid-logo-4nYeR9iX.js")),
|
|
2376
2377
|
"trustly-logo": lazy(
|
|
2377
|
-
() => import("./trustly-logo-
|
|
2378
|
+
() => import("./trustly-logo-YJslAOYF.js")
|
|
2378
2379
|
)
|
|
2379
2380
|
};
|
|
2380
2381
|
const svgs = {
|
|
@@ -2923,7 +2924,6 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
2923
2924
|
ExperimentNames2["EnableKompanySearchByRegistrationNumber"] = "EnableKompanySearchByRegistrationNumber";
|
|
2924
2925
|
ExperimentNames2["EnableNewAddressComponent"] = "EnableNewAddressComponent";
|
|
2925
2926
|
ExperimentNames2["EnableNewPhoneField"] = "EnableNewPhoneField";
|
|
2926
|
-
ExperimentNames2["EnableBankDocumentLimitedToBankStatement"] = "EnableBankDocumentLimitedToBankStatement";
|
|
2927
2927
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
2928
2928
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
2929
2929
|
ExperimentNames2["ShowSingPassButtonForCompanies"] = "ShowSingPassButtonForCompanies";
|
|
@@ -4101,6 +4101,7 @@ const SelectListItem = ({
|
|
|
4101
4101
|
);
|
|
4102
4102
|
const VISIBLE_ITEMS = 5;
|
|
4103
4103
|
function SelectList({
|
|
4104
|
+
selectListId,
|
|
4104
4105
|
active,
|
|
4105
4106
|
items,
|
|
4106
4107
|
showList,
|
|
@@ -4110,7 +4111,8 @@ function SelectList({
|
|
|
4110
4111
|
isSearch,
|
|
4111
4112
|
loading,
|
|
4112
4113
|
getSearchItem,
|
|
4113
|
-
|
|
4114
|
+
onKeyDown,
|
|
4115
|
+
onSelect
|
|
4114
4116
|
}) {
|
|
4115
4117
|
const { i18n } = useI18nContext();
|
|
4116
4118
|
const listRef = useRef(null);
|
|
@@ -4120,8 +4122,8 @@ function SelectList({
|
|
|
4120
4122
|
useEffect(() => {
|
|
4121
4123
|
var _a, _b, _c;
|
|
4122
4124
|
if (listRef.current && itemHeight === 0 && showList) {
|
|
4123
|
-
const
|
|
4124
|
-
setItemHeight(
|
|
4125
|
+
const height2 = ((_c = (_b = (_a = listRef.current) == null ? void 0 : _a.firstElementChild) == null ? void 0 : _b.firstElementChild) == null ? void 0 : _c.clientHeight) || 0;
|
|
4126
|
+
setItemHeight(height2);
|
|
4125
4127
|
}
|
|
4126
4128
|
}, [itemHeight, showList]);
|
|
4127
4129
|
const filteredItems = items.filter((item) => {
|
|
@@ -4157,16 +4159,13 @@ function SelectList({
|
|
|
4157
4159
|
}
|
|
4158
4160
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropdown-element adyen-kyc-dropdown-element--no-options", children: i18n.get("noOptionsFound") });
|
|
4159
4161
|
}
|
|
4160
|
-
if (isSearch && (!textFilter || textFilter.length < 3)) {
|
|
4161
|
-
return null;
|
|
4162
|
-
}
|
|
4163
4162
|
if (visibleItems.length) {
|
|
4164
4163
|
return visibleItems.map((item) => /* @__PURE__ */ jsx(
|
|
4165
4164
|
SelectListItem,
|
|
4166
4165
|
{
|
|
4167
4166
|
item,
|
|
4168
|
-
onKeyDown: (event) =>
|
|
4169
|
-
onSelect: () =>
|
|
4167
|
+
onKeyDown: (event) => onKeyDown(event, item),
|
|
4168
|
+
onSelect: () => onSelect(item),
|
|
4170
4169
|
selected: !!active.find((activeItem) => activeItem.id === item.id),
|
|
4171
4170
|
isMulti,
|
|
4172
4171
|
isSearch,
|
|
@@ -4177,10 +4176,10 @@ function SelectList({
|
|
|
4177
4176
|
}
|
|
4178
4177
|
return null;
|
|
4179
4178
|
};
|
|
4180
|
-
const
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
);
|
|
4179
|
+
const height = useMemo(() => {
|
|
4180
|
+
if (loading) return "auto";
|
|
4181
|
+
return totalItems > VISIBLE_ITEMS && itemHeight ? `${itemHeight * (VISIBLE_ITEMS - 1)}px` : "auto";
|
|
4182
|
+
}, [itemHeight, totalItems, loading]);
|
|
4184
4183
|
return /* @__PURE__ */ jsx(
|
|
4185
4184
|
"div",
|
|
4186
4185
|
{
|
|
@@ -4190,13 +4189,13 @@ function SelectList({
|
|
|
4190
4189
|
"adyen-kyc-dropdown-list": true,
|
|
4191
4190
|
"adyen-kyc-dropdown-list--active": showList
|
|
4192
4191
|
}),
|
|
4193
|
-
id:
|
|
4192
|
+
id: selectListId,
|
|
4194
4193
|
role: "listbox",
|
|
4195
4194
|
onScroll: handleScroll,
|
|
4196
4195
|
style: {
|
|
4197
4196
|
overflowY: totalItems > VISIBLE_ITEMS ? "auto" : "hidden",
|
|
4198
4197
|
position: "absolute",
|
|
4199
|
-
height
|
|
4198
|
+
height
|
|
4200
4199
|
},
|
|
4201
4200
|
ref: listRef,
|
|
4202
4201
|
children: /* @__PURE__ */ jsx(
|
|
@@ -4383,7 +4382,7 @@ function debounce(func, wait, options) {
|
|
|
4383
4382
|
}
|
|
4384
4383
|
const SELECTLIST_MAX_HEIGHT = 145;
|
|
4385
4384
|
const Select = ({
|
|
4386
|
-
items
|
|
4385
|
+
items,
|
|
4387
4386
|
className = "",
|
|
4388
4387
|
classNameModifiers = [],
|
|
4389
4388
|
filterable = true,
|
|
@@ -4402,7 +4401,7 @@ const Select = ({
|
|
|
4402
4401
|
resetSearch = false,
|
|
4403
4402
|
loading = false,
|
|
4404
4403
|
getSearchItem,
|
|
4405
|
-
searchText,
|
|
4404
|
+
searchText = "",
|
|
4406
4405
|
onSearchTextChange,
|
|
4407
4406
|
showSearchList
|
|
4408
4407
|
}) => {
|
|
@@ -4417,18 +4416,17 @@ const Select = ({
|
|
|
4417
4416
|
const [isShowListAbove, setIsShowListAbove] = useState(false);
|
|
4418
4417
|
const [scrollParent, setScrollParent] = useState(null);
|
|
4419
4418
|
const debouncedOnSearch = useCallback(debounce(onSearch, 500), [onSearch]);
|
|
4420
|
-
const closeList = () => {
|
|
4421
|
-
if (!onSearchTextChange) setTextFilter(null);
|
|
4419
|
+
const closeList = useCallback(() => {
|
|
4422
4420
|
setIsShowList(false);
|
|
4423
4421
|
if (toggleButtonRef.current) toggleButtonRef.current.focus();
|
|
4424
|
-
};
|
|
4422
|
+
}, []);
|
|
4425
4423
|
const showList = () => {
|
|
4426
4424
|
let sp = scrollParent;
|
|
4427
4425
|
if (!sp) {
|
|
4428
4426
|
sp = getScrollParent(toggleButtonRef.current);
|
|
4429
4427
|
setScrollParent(sp);
|
|
4430
4428
|
}
|
|
4431
|
-
if (sp
|
|
4429
|
+
if (sp && toggleButtonRef.current) {
|
|
4432
4430
|
const { bottom: scrollParentBottomPosition } = sp.getBoundingClientRect();
|
|
4433
4431
|
const { bottom: toggleButtonBottomPosition } = toggleButtonRef.current.getBoundingClientRect();
|
|
4434
4432
|
if (scrollParentBottomPosition - toggleButtonBottomPosition > SELECTLIST_MAX_HEIGHT) {
|
|
@@ -4439,26 +4437,30 @@ const Select = ({
|
|
|
4439
4437
|
}
|
|
4440
4438
|
setIsShowList(true);
|
|
4441
4439
|
};
|
|
4442
|
-
const
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4440
|
+
const handleSelect = useCallback(
|
|
4441
|
+
(selectedItem) => {
|
|
4442
|
+
if (readonly) return;
|
|
4443
|
+
if (isMulti) {
|
|
4444
|
+
const isAlreadySelected = active.find((item) => item.id === selectedItem.id);
|
|
4445
|
+
const newActiveItems = isAlreadySelected ? [...active.filter((i) => i.id !== selectedItem.id).map((i) => i.id)] : [...active.map((i) => i.id), selectedItem.id];
|
|
4446
|
+
onChange({ target: { value: newActiveItems, name: name ?? "" } });
|
|
4447
|
+
} else {
|
|
4448
|
+
const handleOnChange = onChange;
|
|
4449
|
+
closeList();
|
|
4450
|
+
handleOnChange({
|
|
4451
|
+
target: { value: selectedItem.id, name: name ?? "" }
|
|
4452
|
+
});
|
|
4453
|
+
}
|
|
4454
|
+
if (showSearchList) setIsShowList(showSearchList);
|
|
4455
|
+
},
|
|
4456
|
+
[active, closeList, isMulti, name, onChange, readonly, showSearchList]
|
|
4457
|
+
);
|
|
4456
4458
|
const handleButtonKeyDown = (e) => {
|
|
4457
4459
|
var _a;
|
|
4458
4460
|
if (e.key === KEYBOARD_KEYS.enter && filterable && isShowList && textFilter) {
|
|
4459
4461
|
const value = e.currentTarget.value || e.target.value;
|
|
4460
4462
|
const selectedItem = items.find((item) => item.id === value);
|
|
4461
|
-
if (selectedItem
|
|
4463
|
+
if (selectedItem) {
|
|
4462
4464
|
handleSelect(selectedItem);
|
|
4463
4465
|
showList();
|
|
4464
4466
|
} else {
|
|
@@ -4481,7 +4483,8 @@ const Select = ({
|
|
|
4481
4483
|
}
|
|
4482
4484
|
};
|
|
4483
4485
|
const handleClickOutside = (e) => {
|
|
4484
|
-
|
|
4486
|
+
var _a;
|
|
4487
|
+
if (!((_a = selectContainerRef.current) == null ? void 0 : _a.contains(e.target))) {
|
|
4485
4488
|
setIsShowList(false);
|
|
4486
4489
|
}
|
|
4487
4490
|
};
|
|
@@ -4513,22 +4516,23 @@ const Select = ({
|
|
|
4513
4516
|
break;
|
|
4514
4517
|
}
|
|
4515
4518
|
};
|
|
4516
|
-
const handleTextFilter = (
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
debouncedOnSearch(value);
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4519
|
+
const handleTextFilter = useCallback(
|
|
4520
|
+
(e) => {
|
|
4521
|
+
const { value } = e.target;
|
|
4522
|
+
if (isSearch) debouncedOnSearch(value);
|
|
4523
|
+
if (!onSearchTextChange) {
|
|
4524
|
+
setTextFilter(value.toLowerCase());
|
|
4525
|
+
return;
|
|
4526
|
+
}
|
|
4527
|
+
onSearchTextChange(value);
|
|
4523
4528
|
setTextFilter(value);
|
|
4524
|
-
}
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
};
|
|
4529
|
+
},
|
|
4530
|
+
[debouncedOnSearch, isSearch, onSearchTextChange]
|
|
4531
|
+
);
|
|
4528
4532
|
const toggleList = (e) => {
|
|
4529
4533
|
e.preventDefault();
|
|
4530
4534
|
if (isShowList) {
|
|
4531
|
-
|
|
4535
|
+
setIsShowList(false);
|
|
4532
4536
|
} else {
|
|
4533
4537
|
showList();
|
|
4534
4538
|
}
|
|
@@ -4547,7 +4551,7 @@ const Select = ({
|
|
|
4547
4551
|
}
|
|
4548
4552
|
}, [isShowList]);
|
|
4549
4553
|
useEffect(() => {
|
|
4550
|
-
setIsShowList(showSearchList);
|
|
4554
|
+
if (showSearchList !== void 0) setIsShowList(showSearchList);
|
|
4551
4555
|
}, [showSearchList]);
|
|
4552
4556
|
useEffect(() => {
|
|
4553
4557
|
document.addEventListener("click", handleClickOutside, true);
|
|
@@ -4575,7 +4579,7 @@ const Select = ({
|
|
|
4575
4579
|
/* @__PURE__ */ jsx(
|
|
4576
4580
|
SelectButton,
|
|
4577
4581
|
{
|
|
4578
|
-
id: uniqueId ??
|
|
4582
|
+
id: uniqueId ?? void 0,
|
|
4579
4583
|
active,
|
|
4580
4584
|
filterInputRef,
|
|
4581
4585
|
filterable,
|
|
@@ -4589,8 +4593,8 @@ const Select = ({
|
|
|
4589
4593
|
showList: isShowList,
|
|
4590
4594
|
toggleButtonRef,
|
|
4591
4595
|
toggleList,
|
|
4592
|
-
ariaDescribedBy: uniqueId ? `${uniqueId}${ARIA_ERROR_SUFFIX}` :
|
|
4593
|
-
isMulti,
|
|
4596
|
+
ariaDescribedBy: uniqueId ? `${uniqueId}${ARIA_ERROR_SUFFIX}` : "",
|
|
4597
|
+
isMulti: Boolean(isMulti),
|
|
4594
4598
|
showSelectedItemsAsTags,
|
|
4595
4599
|
isSearch,
|
|
4596
4600
|
hideSearchIcon: !!onSearchTextChange,
|
|
@@ -4609,7 +4613,7 @@ const Select = ({
|
|
|
4609
4613
|
selectListRef,
|
|
4610
4614
|
showList: isShowList,
|
|
4611
4615
|
textFilter,
|
|
4612
|
-
isMulti,
|
|
4616
|
+
isMulti: Boolean(isMulti),
|
|
4613
4617
|
showAbove: isShowListAbove,
|
|
4614
4618
|
isSearch,
|
|
4615
4619
|
getSearchItem,
|
|
@@ -12761,7 +12765,8 @@ const SearchAddress = ({
|
|
|
12761
12765
|
}) => {
|
|
12762
12766
|
const { i18n } = useI18nContext();
|
|
12763
12767
|
const [items, setItems] = useState([]);
|
|
12764
|
-
const [
|
|
12768
|
+
const [isSearchLoading, setSearchLoading] = useState(false);
|
|
12769
|
+
const [isFindLoading, setFindLoading] = useState(false);
|
|
12765
12770
|
const [resetSearch, setResetSearch] = useState(false);
|
|
12766
12771
|
const [searchText, setSearchText] = useState(null);
|
|
12767
12772
|
const [showSearchList, setShowSearchList] = useState(false);
|
|
@@ -12778,14 +12783,18 @@ const SearchAddress = ({
|
|
|
12778
12783
|
}, [data.country]);
|
|
12779
12784
|
const onFindAddress = async (selectedAddressId) => {
|
|
12780
12785
|
try {
|
|
12786
|
+
setFindLoading(true);
|
|
12781
12787
|
const response = await handleFindAddress(selectedAddressId);
|
|
12782
12788
|
autocompleteAddressForm(response);
|
|
12783
12789
|
} catch (e) {
|
|
12784
12790
|
logger$I.error(e);
|
|
12791
|
+
} finally {
|
|
12792
|
+
setFindLoading(false);
|
|
12785
12793
|
}
|
|
12786
12794
|
};
|
|
12787
12795
|
const onDrilldown = async (selectedAddress) => {
|
|
12788
12796
|
try {
|
|
12797
|
+
setSearchLoading(true);
|
|
12789
12798
|
const response = await handleAddressSearch(
|
|
12790
12799
|
{ text: selectedAddress.text, country: data.country, container: selectedAddress.id },
|
|
12791
12800
|
legalEntityId
|
|
@@ -12793,13 +12802,14 @@ const SearchAddress = ({
|
|
|
12793
12802
|
setItems((response == null ? void 0 : response.results) || []);
|
|
12794
12803
|
} catch (e) {
|
|
12795
12804
|
logger$I.error(e);
|
|
12805
|
+
} finally {
|
|
12806
|
+
setSearchLoading(false);
|
|
12796
12807
|
}
|
|
12797
12808
|
};
|
|
12798
12809
|
const onChange = (e) => {
|
|
12799
12810
|
const selectedAddressId = e.target.value;
|
|
12800
12811
|
handleChangeFor("searchAddress", "blur")(selectedAddressId);
|
|
12801
12812
|
setResetSearch(false);
|
|
12802
|
-
setLoading(true);
|
|
12803
12813
|
const selectedAddress = items.filter((i) => i.id === selectedAddressId)[0];
|
|
12804
12814
|
if (selectedAddress.type === "Address") {
|
|
12805
12815
|
onFindAddress(selectedAddress.id);
|
|
@@ -12810,7 +12820,6 @@ const SearchAddress = ({
|
|
|
12810
12820
|
setSearchText(`${selectedAddress.text}`);
|
|
12811
12821
|
setShowSearchList(true);
|
|
12812
12822
|
}
|
|
12813
|
-
setLoading(false);
|
|
12814
12823
|
};
|
|
12815
12824
|
const formatAddressItem2 = (item) => {
|
|
12816
12825
|
if (item.description.includes("Addresses")) {
|
|
@@ -12834,8 +12843,8 @@ const SearchAddress = ({
|
|
|
12834
12843
|
if (!text) {
|
|
12835
12844
|
setItems([]);
|
|
12836
12845
|
} else {
|
|
12837
|
-
setLoading(true);
|
|
12838
12846
|
try {
|
|
12847
|
+
setSearchLoading(true);
|
|
12839
12848
|
const response = await handleAddressSearch({ text, country: data.country }, legalEntityId);
|
|
12840
12849
|
if (response == null ? void 0 : response.results) {
|
|
12841
12850
|
const modifiedItems = response.results.map(formatAddressItem2);
|
|
@@ -12845,8 +12854,9 @@ const SearchAddress = ({
|
|
|
12845
12854
|
}
|
|
12846
12855
|
} catch (e) {
|
|
12847
12856
|
logger$I.error(e);
|
|
12857
|
+
} finally {
|
|
12858
|
+
setSearchLoading(false);
|
|
12848
12859
|
}
|
|
12849
|
-
setLoading(false);
|
|
12850
12860
|
}
|
|
12851
12861
|
};
|
|
12852
12862
|
const getFormattedText2 = (highlightItems, text) => {
|
|
@@ -12927,7 +12937,7 @@ const SearchAddress = ({
|
|
|
12927
12937
|
isSearch: true,
|
|
12928
12938
|
resetSearch,
|
|
12929
12939
|
onSearch: getSearchItems,
|
|
12930
|
-
loading,
|
|
12940
|
+
loading: isSearchLoading || isFindLoading,
|
|
12931
12941
|
getSearchItem: generateSearchListItem2,
|
|
12932
12942
|
isInvalid: false,
|
|
12933
12943
|
searchText,
|
|
@@ -13588,106 +13598,129 @@ function FieldContainer({
|
|
|
13588
13598
|
const { i18n } = useI18nContext();
|
|
13589
13599
|
useEffect(() => {
|
|
13590
13600
|
setItems([]);
|
|
13591
|
-
setSearchText("");
|
|
13592
13601
|
setResetSearch(true);
|
|
13593
13602
|
}, [data.country]);
|
|
13603
|
+
const [searchText, setSearchText] = useState(data.address ?? "");
|
|
13604
|
+
useEffect(() => setSearchText(data.address ?? ""), [data.address]);
|
|
13594
13605
|
const formUtils = createFormUtils({ data }, i18n);
|
|
13595
13606
|
const errorMessage = formUtils.getErrorMessage(fieldName, errors ?? {}, fieldProblems);
|
|
13596
13607
|
const value = data[fieldName];
|
|
13597
13608
|
const labelKey = getKeyForField(fieldName, data.country);
|
|
13609
|
+
const [isSearchLoading, setSearchLoading] = useState(false);
|
|
13610
|
+
const [isFindLoading, setFindLoading] = useState(false);
|
|
13598
13611
|
const [items, setItems] = useState([]);
|
|
13599
|
-
const [loading, setLoading] = useState(false);
|
|
13600
13612
|
const [resetSearch, setResetSearch] = useState(false);
|
|
13601
13613
|
const [showSearchList, setShowSearchList] = useState(false);
|
|
13602
13614
|
const [selectedAddressId, setSelectedAddressId] = useState();
|
|
13603
|
-
const
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13615
|
+
const setAddressField = useCallback(
|
|
13616
|
+
({ houseNumberOrName, street }) => {
|
|
13617
|
+
const hasHouseNumber = !!houseNumberOrName;
|
|
13618
|
+
if (hasHouseNumber) {
|
|
13619
|
+
const isHouseNumberFirst = data.country ? COUNTRIES_WITH_HOUSE_NUMBER_FIRST.includes(data.country) : false;
|
|
13620
|
+
const needsComma = data.country ? COUNTRIES_WITH_COMMA_SEPARATED.includes(data.country) : false;
|
|
13621
|
+
const formattedAddress = isHouseNumberFirst ? `${houseNumberOrName}${needsComma ? ", " : " "}${street}` : `${street}${needsComma ? ", " : " "}${houseNumberOrName}`;
|
|
13622
|
+
return handleChangeFor("address", "input")(formattedAddress);
|
|
13623
|
+
}
|
|
13624
|
+
return handleChangeFor("address", "input")(street);
|
|
13625
|
+
},
|
|
13626
|
+
[data.country, handleChangeFor]
|
|
13627
|
+
);
|
|
13628
|
+
const getSearchItems = useCallback(
|
|
13629
|
+
async (text) => {
|
|
13630
|
+
if (!text || !data.country) return setItems([]);
|
|
13631
|
+
try {
|
|
13632
|
+
setSearchLoading(true);
|
|
13633
|
+
const response = await (handleAddressSearch == null ? void 0 : handleAddressSearch(
|
|
13634
|
+
{ text, country: data.country },
|
|
13635
|
+
legalEntityId
|
|
13636
|
+
));
|
|
13637
|
+
if (response == null ? void 0 : response.results) {
|
|
13638
|
+
setItems(response.results.map(formatAddressItem));
|
|
13639
|
+
} else {
|
|
13640
|
+
setItems([]);
|
|
13641
|
+
}
|
|
13642
|
+
} catch (e) {
|
|
13643
|
+
logger$H.error(e);
|
|
13644
|
+
} finally {
|
|
13645
|
+
setSearchLoading(false);
|
|
13626
13646
|
}
|
|
13627
|
-
}
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
case "otherAddressInformation":
|
|
13645
|
-
handleChangeFor("otherAddressInformation", "blur")(response.street2 ?? " ");
|
|
13646
|
-
break;
|
|
13647
|
-
case "city":
|
|
13648
|
-
handleChangeFor("city", "input")(response.city ?? " ");
|
|
13649
|
-
break;
|
|
13650
|
-
case "postalCode":
|
|
13651
|
-
handleChangeFor("postalCode", "input")(response.postalCode ?? " ");
|
|
13652
|
-
break;
|
|
13653
|
-
case "stateOrProvince":
|
|
13654
|
-
handleChangeFor("stateOrProvince", "input")(response.stateOrProvince ?? " ");
|
|
13655
|
-
break;
|
|
13656
|
-
default:
|
|
13657
|
-
break;
|
|
13658
|
-
}
|
|
13659
|
-
});
|
|
13647
|
+
},
|
|
13648
|
+
[data.country, handleAddressSearch, legalEntityId]
|
|
13649
|
+
);
|
|
13650
|
+
const onDrilldown = useCallback(
|
|
13651
|
+
async (address) => {
|
|
13652
|
+
if (!data.country || !handleAddressSearch) return;
|
|
13653
|
+
try {
|
|
13654
|
+
setSearchLoading(true);
|
|
13655
|
+
const response = await handleAddressSearch(
|
|
13656
|
+
{ text: address.text, country: data.country, container: address.id },
|
|
13657
|
+
legalEntityId
|
|
13658
|
+
);
|
|
13659
|
+
setItems((response == null ? void 0 : response.results) ?? []);
|
|
13660
|
+
} catch (e) {
|
|
13661
|
+
logger$H.error(e);
|
|
13662
|
+
} finally {
|
|
13663
|
+
setSearchLoading(false);
|
|
13660
13664
|
}
|
|
13661
|
-
}
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
|
|
13687
|
-
|
|
13688
|
-
|
|
13689
|
-
|
|
13690
|
-
|
|
13665
|
+
},
|
|
13666
|
+
[data.country, handleAddressSearch, legalEntityId]
|
|
13667
|
+
);
|
|
13668
|
+
const onFindAddress = useCallback(
|
|
13669
|
+
async (addressId) => {
|
|
13670
|
+
try {
|
|
13671
|
+
setFindLoading(true);
|
|
13672
|
+
const response = await (handleFindAddress == null ? void 0 : handleFindAddress(addressId));
|
|
13673
|
+
if (response) {
|
|
13674
|
+
schema == null ? void 0 : schema.forEach((field) => {
|
|
13675
|
+
switch (field) {
|
|
13676
|
+
case "country":
|
|
13677
|
+
handleChangeFor("country", "input")(response.country ?? " ");
|
|
13678
|
+
break;
|
|
13679
|
+
case "address":
|
|
13680
|
+
setAddressField(response);
|
|
13681
|
+
break;
|
|
13682
|
+
case "otherAddressInformation":
|
|
13683
|
+
handleChangeFor("otherAddressInformation", "blur")(response.street2 ?? " ");
|
|
13684
|
+
break;
|
|
13685
|
+
case "city":
|
|
13686
|
+
handleChangeFor("city", "input")(response.city ?? " ");
|
|
13687
|
+
break;
|
|
13688
|
+
case "postalCode":
|
|
13689
|
+
handleChangeFor("postalCode", "input")(response.postalCode ?? " ");
|
|
13690
|
+
break;
|
|
13691
|
+
case "stateOrProvince":
|
|
13692
|
+
handleChangeFor("stateOrProvince", "input")(response.stateOrProvince ?? " ");
|
|
13693
|
+
break;
|
|
13694
|
+
default:
|
|
13695
|
+
break;
|
|
13696
|
+
}
|
|
13697
|
+
});
|
|
13698
|
+
}
|
|
13699
|
+
} catch (e) {
|
|
13700
|
+
logger$H.error(e);
|
|
13701
|
+
} finally {
|
|
13702
|
+
setFindLoading(false);
|
|
13703
|
+
}
|
|
13704
|
+
},
|
|
13705
|
+
[handleChangeFor, handleFindAddress, schema, setAddressField]
|
|
13706
|
+
);
|
|
13707
|
+
const handleOnChange = useCallback(
|
|
13708
|
+
(e) => {
|
|
13709
|
+
const addressId = e.target.value;
|
|
13710
|
+
setSelectedAddressId(addressId);
|
|
13711
|
+
const selectedAddress = items.filter((i) => i.id === addressId)[0];
|
|
13712
|
+
if (selectedAddress.type === "Address") {
|
|
13713
|
+
onFindAddress(selectedAddress.id);
|
|
13714
|
+
setSearchText(data.address ?? "");
|
|
13715
|
+
setShowSearchList(false);
|
|
13716
|
+
} else {
|
|
13717
|
+
onDrilldown(selectedAddress);
|
|
13718
|
+
setSearchText(`${selectedAddress.text}`);
|
|
13719
|
+
setShowSearchList(true);
|
|
13720
|
+
}
|
|
13721
|
+
},
|
|
13722
|
+
[data.address, items, onDrilldown, onFindAddress]
|
|
13723
|
+
);
|
|
13691
13724
|
const renderField = (field) => {
|
|
13692
13725
|
switch (field) {
|
|
13693
13726
|
case "address":
|
|
@@ -13711,7 +13744,7 @@ function FieldContainer({
|
|
|
13711
13744
|
name: ""
|
|
13712
13745
|
})),
|
|
13713
13746
|
selected: selectedAddressId,
|
|
13714
|
-
loading,
|
|
13747
|
+
loading: isSearchLoading || isFindLoading,
|
|
13715
13748
|
onChange: handleOnChange,
|
|
13716
13749
|
onSearch: getSearchItems,
|
|
13717
13750
|
onSearchTextChange: (text) => handleChangeFor("address", "input")(text),
|
|
@@ -20540,11 +20573,12 @@ var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
|
|
|
20540
20573
|
BankDocumentRequirement2["ACCOUNT_NAME_WITH_TRUST"] = "bankAccountNameWithTrust";
|
|
20541
20574
|
BankDocumentRequirement2["ACCOUNT_NUMBER_OR_IBAN"] = "accountNumberOrIbanVisible";
|
|
20542
20575
|
BankDocumentRequirement2["ACCOUNT_NUMBER"] = "accountNumberVisible";
|
|
20543
|
-
BankDocumentRequirement2["
|
|
20544
|
-
BankDocumentRequirement2["DATE_ON_DOCUMENT"] = "
|
|
20576
|
+
BankDocumentRequirement2["ACCOUNT_NUMBER_FULL_OR_PARTIAL"] = "accountNumberFullOrPartialVisible";
|
|
20577
|
+
BankDocumentRequirement2["DATE_ON_DOCUMENT"] = "datedInTheLastXMonths";
|
|
20545
20578
|
BankDocumentRequirement2["COUNTRY_OF_BANK"] = "showsCountryOfBankAccount";
|
|
20546
20579
|
BankDocumentRequirement2["OFFICIAL_DOCUMENT"] = "hasToBeOfficialDocumentFromBank";
|
|
20547
20580
|
BankDocumentRequirement2["STAMP_OR_SIGNATURE"] = "hasBankStampOrBankSignature";
|
|
20581
|
+
BankDocumentRequirement2["HIGH_RESOLUTION_CHECK"] = "highResolutionCheck";
|
|
20548
20582
|
return BankDocumentRequirement2;
|
|
20549
20583
|
})(BankDocumentRequirement || {});
|
|
20550
20584
|
const accountNameRequirement = {
|
|
@@ -20635,16 +20669,14 @@ const applyNamedModifiers = (country, documentModifiers) => {
|
|
|
20635
20669
|
}
|
|
20636
20670
|
};
|
|
20637
20671
|
const getBankDocumentRequirements = (country, documentType, documentModifiers) => {
|
|
20638
|
-
const
|
|
20639
|
-
|
|
20640
|
-
{ key: BankDocumentRequirement.OFFICIAL_DOCUMENT }
|
|
20672
|
+
const isBasedInUS = country === "US";
|
|
20673
|
+
const baseRequirements = isBasedInUS ? [{ key: BankDocumentRequirement.OFFICIAL_DOCUMENT }] : [
|
|
20674
|
+
{ key: BankDocumentRequirement.OFFICIAL_DOCUMENT },
|
|
20675
|
+
{ key: BankDocumentRequirement.COUNTRY_OF_BANK }
|
|
20641
20676
|
];
|
|
20642
|
-
const accountNumberRequirement =
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
] : [{ key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN }];
|
|
20646
|
-
const requireLast12Months = documentType !== BankDocumentTypes.SCREENSHOT_OF_BANK;
|
|
20647
|
-
const requireStampOrSignature = documentType === BankDocumentTypes.DEPOSIT_SLIP || documentType === BankDocumentTypes.A_LETTER_FROM_YOUR_BANK;
|
|
20677
|
+
const accountNumberRequirement = isBasedInUS ? documentType === BankDocumentTypes.CHECK || documentType === BankDocumentTypes.DEPOSIT_SLIP ? [{ key: BankDocumentRequirement.ACCOUNT_NUMBER }] : [{ key: BankDocumentRequirement.ACCOUNT_NUMBER_FULL_OR_PARTIAL }] : [{ key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN }];
|
|
20678
|
+
const requireLast12Months = isBasedInUS ? documentType === BankDocumentTypes.A_LETTER_FROM_YOUR_BANK || documentType === BankDocumentTypes.BANK_STATEMENT : documentType !== BankDocumentTypes.SCREENSHOT_OF_BANK;
|
|
20679
|
+
const requireStampOrSignature = !isBasedInUS && (documentType === BankDocumentTypes.DEPOSIT_SLIP || documentType === BankDocumentTypes.A_LETTER_FROM_YOUR_BANK);
|
|
20648
20680
|
const requirements = [
|
|
20649
20681
|
applyNamedModifiers(country, documentModifiers),
|
|
20650
20682
|
...accountNumberRequirement,
|
|
@@ -20659,6 +20691,9 @@ const getBankDocumentRequirements = (country, documentType, documentModifiers) =
|
|
|
20659
20691
|
if (requireStampOrSignature) {
|
|
20660
20692
|
requirements.push({ key: BankDocumentRequirement.STAMP_OR_SIGNATURE });
|
|
20661
20693
|
}
|
|
20694
|
+
if (isBasedInUS && documentType === BankDocumentTypes.CHECK) {
|
|
20695
|
+
requirements.push({ key: BankDocumentRequirement.HIGH_RESOLUTION_CHECK });
|
|
20696
|
+
}
|
|
20662
20697
|
return requirements;
|
|
20663
20698
|
};
|
|
20664
20699
|
const BankDocumentRequirements = ({
|
|
@@ -20707,14 +20742,8 @@ function BankDocument(props) {
|
|
|
20707
20742
|
description,
|
|
20708
20743
|
heading
|
|
20709
20744
|
} = props;
|
|
20710
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
20711
20745
|
const { i18n } = useI18nContext();
|
|
20712
|
-
const
|
|
20713
|
-
"EnableBankDocumentLimitedToBankStatement"
|
|
20714
|
-
);
|
|
20715
|
-
const [documentType, setDocumentType] = useState(
|
|
20716
|
-
bankDocumentLimitedToBankStatement ? BankDocumentTypes.BANK_STATEMENT : void 0
|
|
20717
|
-
);
|
|
20746
|
+
const [documentType, setDocumentType] = useState();
|
|
20718
20747
|
const stateRef = useRef({ setState: null });
|
|
20719
20748
|
const isBankStatementOptional = (optionalFields == null ? void 0 : optionalFields.includes("bankStatementDocument")) ?? false;
|
|
20720
20749
|
const formUtils = createFormUtils(props, i18n);
|
|
@@ -20801,7 +20830,7 @@ function BankDocument(props) {
|
|
|
20801
20830
|
}
|
|
20802
20831
|
),
|
|
20803
20832
|
formUtils.isVisibleField("bankStatementDocument") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
20804
|
-
!usingExistingUploadedDocuments &&
|
|
20833
|
+
!usingExistingUploadedDocuments && /* @__PURE__ */ jsx(
|
|
20805
20834
|
Field,
|
|
20806
20835
|
{
|
|
20807
20836
|
name: "documentType",
|
|
@@ -20821,7 +20850,7 @@ function BankDocument(props) {
|
|
|
20821
20850
|
)
|
|
20822
20851
|
}
|
|
20823
20852
|
),
|
|
20824
|
-
documentType
|
|
20853
|
+
documentType ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
20825
20854
|
country ? /* @__PURE__ */ jsx(
|
|
20826
20855
|
BankDocumentRequirements,
|
|
20827
20856
|
{
|
|
@@ -20861,7 +20890,7 @@ function BankDocument(props) {
|
|
|
20861
20890
|
}
|
|
20862
20891
|
) : null
|
|
20863
20892
|
] }),
|
|
20864
|
-
|
|
20893
|
+
documentType || usingExistingUploadedDocuments ? /* @__PURE__ */ jsx(
|
|
20865
20894
|
Field,
|
|
20866
20895
|
{
|
|
20867
20896
|
className: "adyen-kyc-bank-document__document-description",
|
|
@@ -23564,9 +23593,9 @@ function PayoutDetails(props) {
|
|
|
23564
23593
|
const verifyInstantly = ((_a = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _a.payoutVerificationMethod) === "instantVerification";
|
|
23565
23594
|
const showBankVerification = !isExperimentEnabled("EnablePreferInstantVerificationFlow") || isProviderWidgetInline(provider == null ? void 0 : provider.name);
|
|
23566
23595
|
const bankCountry = ((_b = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _b.bankCountry) ?? country;
|
|
23567
|
-
const bankDocumentDescription =
|
|
23596
|
+
const bankDocumentDescription = i18n.get(
|
|
23568
23597
|
legalEntityResponse.type === "individual" ? "bankStatementIndividualDescription" : "bankStatementNonIndividualDescription"
|
|
23569
|
-
)
|
|
23598
|
+
);
|
|
23570
23599
|
useEffect(() => resetData(), [resetData]);
|
|
23571
23600
|
useEffect(() => {
|
|
23572
23601
|
if ((activeForm == null ? void 0 : activeForm.formId) === summaryStep.formId && verifyInstantly) {
|
|
@@ -43954,7 +43983,7 @@ const ConfigurationApiProvider = ({
|
|
|
43954
43983
|
}) => {
|
|
43955
43984
|
const authContext = useAuthContext();
|
|
43956
43985
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
43957
|
-
const sdkVersion = "3.42.
|
|
43986
|
+
const sdkVersion = "3.42.2";
|
|
43958
43987
|
useAnalytics({
|
|
43959
43988
|
onUserEvent,
|
|
43960
43989
|
legalEntityId: rootLegalEntityId,
|
|
@@ -44073,7 +44102,7 @@ const useAllowedLocales = () => {
|
|
|
44073
44102
|
}, []);
|
|
44074
44103
|
return allowedLocales;
|
|
44075
44104
|
};
|
|
44076
|
-
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-
|
|
44105
|
+
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-CMCcwscy.js"), "./locales/cs-CZ.json": () => import("./cs-CZ-CWoauekB.js"), "./locales/da-DK.json": () => import("./da-DK-DzEKTJHc.js"), "./locales/de-DE.json": () => import("./de-DE-B6M2anx6.js"), "./locales/el-GR.json": () => import("./el-GR-CuqLWzR5.js"), "./locales/en-US.instructions.json": () => import("./en-US.instructions-DLPEHGI-.js"), "./locales/en-US.json": () => Promise.resolve().then(() => enUS), "./locales/es-ES.json": () => import("./es-ES-9XfSDirr.js"), "./locales/et-EE.json": () => import("./et-EE-pmwl_J2R.js"), "./locales/fi-FI.json": () => import("./fi-FI-DgJSRyPl.js"), "./locales/fr-FR.json": () => import("./fr-FR-BUhY0q6T.js"), "./locales/hr-HR.json": () => import("./hr-HR-Cu45hWKx.js"), "./locales/hu-HU.json": () => import("./hu-HU-igEUooEp.js"), "./locales/it-IT.json": () => import("./it-IT-DTdhIzgZ.js"), "./locales/lt-LT.json": () => import("./lt-LT-7Ir7WV1z.js"), "./locales/lv-LV.json": () => import("./lv-LV-NrrHCjUD.js"), "./locales/nl-NL.json": () => import("./nl-NL-CfA_NFx-.js"), "./locales/no-NO.json": () => import("./no-NO-CWloqbTr.js"), "./locales/pl-PL.json": () => import("./pl-PL-BXvZOf8S.js"), "./locales/pt-PT.json": () => import("./pt-PT-BBmTWd3M.js"), "./locales/ro-RO.json": () => import("./ro-RO-CPB_OIDF.js"), "./locales/sk-SK.json": () => import("./sk-SK-C0ojvkCe.js"), "./locales/sl-SI.json": () => import("./sl-SI-qgUAiBJ9.js"), "./locales/sv-SE.json": () => import("./sv-SE-CJ7RsMEw.js") });
|
|
44077
44106
|
const loadLocale = async (locale) => {
|
|
44078
44107
|
const importForLocale = localeImports[`./locales/${locale}.json`];
|
|
44079
44108
|
if (!importForLocale) {
|
|
@@ -44799,7 +44828,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44799
44828
|
const { i18n } = useI18nContext();
|
|
44800
44829
|
const [tab, setTab] = useState("metadata");
|
|
44801
44830
|
const metadata = {
|
|
44802
|
-
sdkVersion: "3.42.
|
|
44831
|
+
sdkVersion: "3.42.2",
|
|
44803
44832
|
locale: i18n.locale,
|
|
44804
44833
|
rootLegalEntityId
|
|
44805
44834
|
};
|