@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
14 lines (13 loc) • 1.05 kB
JavaScript
try {
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9a444120-e52b-4755-80ff-bae30305d7ab", e._sentryDebugIdIdentifier = "sentry-dbid-9a444120-e52b-4755-80ff-bae30305d7ab");
} catch (e) {}
import { n as HK_SG_COUNTRIES, r as euCountries } from "./country-code-CX5KqMBr.js";
import { n as LOW_RISK_COUNTRIES, t as EEA_Countries } from "./countries-BuZ6_X95.js";
//#region src/utils/country.ts
var isEuCountry = (country) => !!country && euCountries.includes(country);
var isEeaCountry = (country) => !!country && EEA_Countries.includes(country);
var isLowRiskCountry = (country) => !!country && LOW_RISK_COUNTRIES.includes(country);
var isHkSgCountry = (country) => !!country && HK_SG_COUNTRIES.includes(country);
//#endregion
export { isLowRiskCountry as i, isEuCountry as n, isHkSgCountry as r, isEeaCountry as t };