UNPKG

@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.

8 lines (7 loc) 581 B
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] = "c3bf74e7-05e8-4f73-90eb-f653a3fc6ec3", e._sentryDebugIdIdentifier = "sentry-dbid-c3bf74e7-05e8-4f73-90eb-f653a3fc6ec3"); } catch (e) {} var convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248)); //#endregion export { convertFullToHalf as t };