@eid-easy/eideasy-widget 3.1.0 → 3.3.0
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/eideasy-widget.mjs +673 -663
- package/dist/eideasy-widget.umd.js +2 -2
- package/package.json +3 -3
package/dist/eideasy-widget.mjs
CHANGED
|
@@ -8416,7 +8416,7 @@ function requireEideasyBrowserClient() {
|
|
|
8416
8416
|
e2.exports = r2;
|
|
8417
8417
|
}, 2824: (e2, t2, n2) => {
|
|
8418
8418
|
var r2 = n2(7805), i2 = n2(3290), o2 = n2(1961), a = n2(3007), s = n2(5529), c = n2(2428), u = n2(6449), l = n2(3693), d = n2(3656), p2 = n2(1882), g = n2(3805), f = n2(1331), h2 = n2(7167), y = n2(4974), T = n2(9884);
|
|
8419
|
-
e2.exports = function(e3, t3, n3,
|
|
8419
|
+
e2.exports = function(e3, t3, n3, m, S2, I, E) {
|
|
8420
8420
|
var C = y(e3, n3), v = y(t3, n3), A = E.get(v);
|
|
8421
8421
|
if (A) r2(e3, n3, A);
|
|
8422
8422
|
else {
|
|
@@ -8425,7 +8425,7 @@ function requireEideasyBrowserClient() {
|
|
|
8425
8425
|
var N = u(v), R = !N && d(v), O = !N && !R && h2(v);
|
|
8426
8426
|
b = v, N || R || O ? u(C) ? b = C : l(C) ? b = a(C) : R ? (_ = false, b = i2(v, true)) : O ? (_ = false, b = o2(v, true)) : b = [] : f(v) || c(v) ? (b = C, c(C) ? b = T(C) : g(C) && !p2(C) || (b = s(v))) : _ = false;
|
|
8427
8427
|
}
|
|
8428
|
-
_ && (E.set(v, b),
|
|
8428
|
+
_ && (E.set(v, b), S2(b, v, m, I, E), E.delete(v)), r2(e3, n3, b);
|
|
8429
8429
|
}
|
|
8430
8430
|
};
|
|
8431
8431
|
}, 2865: (e2, t2, n2) => {
|
|
@@ -8667,7 +8667,7 @@ function requireEideasyBrowserClient() {
|
|
|
8667
8667
|
return this.size += this.has(e3) ? 0 : 1, n3[e3] = r2 && void 0 === t3 ? "__lodash_hash_undefined__" : t3, this;
|
|
8668
8668
|
};
|
|
8669
8669
|
}, 5861: (e2, t2, n2) => {
|
|
8670
|
-
var r2 = n2(5580), i2 = n2(8223), o2 = n2(2804), a = n2(6545), s = n2(8303), c = n2(2552), u = n2(7473), l = "[object Map]", d = "[object Promise]", p2 = "[object Set]", g = "[object WeakMap]", f = "[object DataView]", h2 = u(r2), y = u(i2), T = u(o2),
|
|
8670
|
+
var r2 = n2(5580), i2 = n2(8223), o2 = n2(2804), a = n2(6545), s = n2(8303), c = n2(2552), u = n2(7473), l = "[object Map]", d = "[object Promise]", p2 = "[object Set]", g = "[object WeakMap]", f = "[object DataView]", h2 = u(r2), y = u(i2), T = u(o2), m = u(a), S2 = u(s), I = c;
|
|
8671
8671
|
(r2 && I(new r2(new ArrayBuffer(1))) != f || i2 && I(new i2()) != l || o2 && I(o2.resolve()) != d || a && I(new a()) != p2 || s && I(new s()) != g) && (I = function(e3) {
|
|
8672
8672
|
var t3 = c(e3), n3 = "[object Object]" == t3 ? e3.constructor : void 0, r3 = n3 ? u(n3) : "";
|
|
8673
8673
|
if (r3) switch (r3) {
|
|
@@ -8677,9 +8677,9 @@ function requireEideasyBrowserClient() {
|
|
|
8677
8677
|
return l;
|
|
8678
8678
|
case T:
|
|
8679
8679
|
return d;
|
|
8680
|
-
case S2:
|
|
8681
|
-
return p2;
|
|
8682
8680
|
case m:
|
|
8681
|
+
return p2;
|
|
8682
|
+
case S2:
|
|
8683
8683
|
return g;
|
|
8684
8684
|
}
|
|
8685
8685
|
return t3;
|
|
@@ -8982,17 +8982,17 @@ function requireEideasyBrowserClient() {
|
|
|
8982
8982
|
return false;
|
|
8983
8983
|
};
|
|
8984
8984
|
}, 9999: (e2, t2, n2) => {
|
|
8985
|
-
var r2 = n2(7217), i2 = n2(3729), o2 = n2(6547), a = n2(4733), s = n2(3838), c = n2(3290), u = n2(3007), l = n2(2271), d = n2(8948), p2 = n2(2), g = n2(3349), f = n2(5861), h2 = n2(6189), y = n2(7199), T = n2(5529),
|
|
8985
|
+
var r2 = n2(7217), i2 = n2(3729), o2 = n2(6547), a = n2(4733), s = n2(3838), c = n2(3290), u = n2(3007), l = n2(2271), d = n2(8948), p2 = n2(2), g = n2(3349), f = n2(5861), h2 = n2(6189), y = n2(7199), T = n2(5529), m = n2(6449), S2 = n2(3656), I = n2(7730), E = n2(3805), C = n2(8440), v = n2(5950), A = n2(7241), b = "[object Arguments]", _ = "[object Function]", N = "[object Object]", R = {};
|
|
8986
8986
|
R[b] = R["[object Array]"] = R["[object ArrayBuffer]"] = R["[object DataView]"] = R["[object Boolean]"] = R["[object Date]"] = R["[object Float32Array]"] = R["[object Float64Array]"] = R["[object Int8Array]"] = R["[object Int16Array]"] = R["[object Int32Array]"] = R["[object Map]"] = R["[object Number]"] = R[N] = R["[object RegExp]"] = R["[object Set]"] = R["[object String]"] = R["[object Symbol]"] = R["[object Uint8Array]"] = R["[object Uint8ClampedArray]"] = R["[object Uint16Array]"] = R["[object Uint32Array]"] = true, R["[object Error]"] = R[_] = R["[object WeakMap]"] = false, e2.exports = function e3(t3, n3, O, M, D, U) {
|
|
8987
8987
|
var w, k = 1 & n3, L = 2 & n3, G = 4 & n3;
|
|
8988
8988
|
if (O && (w = D ? O(t3, M, D, U) : O(t3)), void 0 !== w) return w;
|
|
8989
8989
|
if (!E(t3)) return t3;
|
|
8990
|
-
var B =
|
|
8990
|
+
var B = m(t3);
|
|
8991
8991
|
if (B) {
|
|
8992
8992
|
if (w = h2(t3), !k) return u(t3, w);
|
|
8993
8993
|
} else {
|
|
8994
8994
|
var P = f(t3), j = P == _ || "[object GeneratorFunction]" == P;
|
|
8995
|
-
if (
|
|
8995
|
+
if (S2(t3)) return c(t3, k);
|
|
8996
8996
|
if (P == N || P == b || j && !D) {
|
|
8997
8997
|
if (w = L || j ? {} : T(t3), !k) return L ? d(t3, s(w, t3)) : l(t3, a(w, t3));
|
|
8998
8998
|
} else {
|
|
@@ -9049,7 +9049,7 @@ function requireEideasyBrowserClient() {
|
|
|
9049
9049
|
}, i.nmd = (e2) => (e2.paths = [], e2.children || (e2.children = []), e2);
|
|
9050
9050
|
var o = {};
|
|
9051
9051
|
return (() => {
|
|
9052
|
-
i.r(o), i.d(o, { allMethods: () => c, createClient: () =>
|
|
9052
|
+
i.r(o), i.d(o, { allMethods: () => c, createClient: () => lu, default: () => du, getMethodByHandlingModule: () => u, logLevels: () => xt, methodActionTypes: () => a, methodTypes: () => r2, moduleNames: () => s });
|
|
9053
9053
|
var e2 = {};
|
|
9054
9054
|
function t2(e3) {
|
|
9055
9055
|
return t2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
|
|
@@ -9074,7 +9074,7 @@ function requireEideasyBrowserClient() {
|
|
|
9074
9074
|
}(n3)) in e3 ? Object.defineProperty(e3, n3, { value: r3, enumerable: true, configurable: true, writable: true }) : e3[n3] = r3, e3;
|
|
9075
9075
|
}
|
|
9076
9076
|
i.r(e2), i.d(e2, { hasBrowserEnv: () => Ee2, hasStandardBrowserEnv: () => ve2, hasStandardBrowserWebWorkerEnv: () => Ae2, navigator: () => Ce2, origin: () => be2 });
|
|
9077
|
-
const r2 = { IDENTIFICATION: "identification", SIGNATURE: "signature" }, a = { BE_ID_LOGIN: "be-id-login", EE_ID_LOGIN: "ee-id-login", FI_ID_LOGIN: "fi-id-login", PT_ID_LOGIN: "pt-id-login", LV_ID_LOGIN: "lv-id-login", LT_ID_LOGIN: "lt-id-login", RS_ID_LOGIN: "rs-id-login", EE_MOBILE_ID: "mid-login", EE_WEB_EID_LOGIN: "ee-web-eid-login", LV_EPARAKSTS_MOBILE_LOGIN: "lv-eparaksts-mobile-login", LV_EPARAKSTS_ID_LOGIN: "lv-eparaksts-id-login", LT_MOBILE_ID: "lt-mobile-id", SMART_ID: "smartid", FREJA_EID_LOGIN: "freja-eid-login", ZEALID_LOGIN: "zealid-login", CZ_MOJEID: "mojeid", EDOAPP_EID_LOGIN: "edoapp-eid-login", AT_HANDY_SIGNATUR_LOGIN: "at-handy-signatur-login", FI_FTN_LOGIN: "finnish-ftn-login", ITSME_LOGIN: "itsme-login", ITSME_LOGIN_BASIC: "itsme-login-basic", ITSME_LOGIN_STANDARD: "itsme-login-standard", SE_BANKID_LOGIN: "swedish-bankid-login", IDIN_LOGIN: "idin-login", VERIFAI_LOGIN: "verifai-login", YOONIK_LOGIN: "yoonik-login", PL_MOJEID_LOGIN: "pl-mojeid-login", MIT_ID_LOGIN: "mit-id-login", MIT_ID_2_LOGIN: "mit-id-2-login", NORWEGIAN_BANKID_LOGIN: "norwegian-bankid-login", FTN_LOGIN: "ftn-login", IDIN_CUSTOMER_ID_LOGIN: "idin-customer-id-login", GB_ONE_ID_LOGIN: "gb-one-id-login", VERIFF_LOGIN: "veriff-login", LIDENTITE_NUMERIQUE_LOGIN: "lidentite-numerique-login", GOOGLE_WALLET_LOGIN: "google-wallet-login", AT_EUDI_WALLET_LOGIN: "at-eudi-wallet-login", SPID_LOGIN: "spid-login", EVROTRUST_LOGIN: "evrotrust-login", ZEAL_ID_SIGNATURE: "zealid-signature", EE_IDCARD_SIGNATURE: "id-signature", EE_MOBILEID_SIGNATURE: "mid-signature", LT_MOBILEID_SIGNATURE: "lt-mid-signature", SMARTID_SIGNATURE: "smart-id-signature", BE_IDCARD_SIGNATURE: "be-id-signature", LV_IDCARD_SIGNATURE: "lv-id-signature", LT_IDCARD_SIGNATURE: "lt-id-signature", FI_IDCARD_SIGNATURE: "fi-id-signature", LU_IDCARD_SIGNATURE: "lu-id-signature", PT_IDCARD_SIGNATURE: "pt-id-signature", HR_IDCARD_SIGNATURE: "hr-id-signature", CZ_IDCARD_SIGNATURE: "cz-id-signature", CERTEUROPE_USB_TOKEN_SIGNATURE: "certeurope-usb-token-signature", CERTSIGN_USB_TOKEN_SIGNATURE: "certsign-usb-token-signature", LV_EPARAKSTS_MOBILE_SIGNATURE: "lv-eparaksts-mobile-signature", AT_HANDY_SIGNATUR_SIGNATURE: "at-handy-signatur-signature", REGISTRU_CENTRAS_SIGNATURE: "registru-centras-signature", OTP_EMAIL: "otp-email-non-qualified", FI_FTN_ADVANCED_FULL_SIGNATURE: "fi-ftn-advanced-full-signature", FI_FTN_ADVANCED_SIGNATURE: "fi-ftn-advanced-signature", FI_FTN_QUALIFIED_SIGNATURE: "fi-ftn-qes-signature", EVROTRUST_SIGNATURE: "evrotrust-signature", EVROTRUST_GEDA_SIGNATURE: "evrotrust-geda-signature", CZ_MOJEID_ADVANCED_SIGNATURE: "cz-mojeid-advanced-signature", SERPRO_ID_ADVANCED_SIGNATURE: "serpro-id-advanced-signature", CZ_BANKID_ADVANCED_SIGNATURE: "cz-bankid-advanced-signature", ABA_DO_QES_SIGNATURE: "aba-do-qes-signature", GOOGLE_SIGNATURE: "google-signature", SE_BANKID_SIGNATURE: "swedish-bankid-signature", D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE: "d-trust-sign-me-qes-signature", D_TRUST_SIGN_ME_ADVANCED_SIGNATURE: "d-trust-sign-me-adv-signature", CHAVE_MOVEL_QUALIFIED_SIGNATURE: "chave-movel-qes-signature", CL_ECERT_ADVANCED_SIGNATURE: "cl-ecert-advanced-signature", MIT_ID_SIMPLE_SIGNATURE: "mit-id-simple-signature", DK_MITID_ADVANCED_SIGNATURE: "dk-mitid-advanced-signature", DK_MITID_QES_SIGNATURE: "dk-mitid-qes-signature", SE_BANK_ID_ADVANCED_SIGNATURE: "se-bankid-advanced-signature", SE_BANK_ID_QES_SIGNATURE: "se-bankid-qes-signature", SE_BANK_ID_ADVANCED_HASH_SIGNATURE: "se-bankid-adv-hash-signature", DK_MIT_ID_ADVANCED_HASH_SIGNATURE: "dk-mitid-adv-hash-signature", NO_BANK_ID_ADVANCED_HASH_SIGNATURE: "no-bankid-adv-hash-signature", IT_SPID_QUALIFIED_HASH_SIGNATURE: "it-spid-qes-hash-signature", NORWEGIAN_BANKID_ADVANCED_SIGNATURE: "norwegian-bankid-adv-signature", NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE: "no-bankid-adv-light-signature", IDIN_SIMPLE_SIGNATURE: "idin-simple-signature", VERIFAI_SIMPLE_SIGNATURE: "verifai-simple-signature", SPID_QUALIFIED_SIGNATURE: "spid-qes-signature", FREJA_SIMPLE_SIGNATURE: "freja-simple-signature", AUDKENNI_QUALIFIED_SIGNATURE: "audkenni-qes-signature", YES_COM_QUALIFIED_SIGNATURE: "yes-com-qes-signature", SIMPLY_SIGN_QES_SIGNATURE: "simply-sign-qes-signature", UANATACA_QUALIFIED_SIGNATURE: "uanataca-qes-signature", INFOCERT_QUALIFIED_SIGNATURE: "infocert-qes-signature", CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE: "certsign-webapi-qes-signature", HALCOM_QUALIFIED_SIGNATURE: "halcom-qes-signature", SWISS_ID_QUALIFIED_SIGNATURE: "swiss-id-qes-signature", SWISS_COM_QUALIFIED_SIGNATURE: "swiss-com-qes-signature", SE_FREJA_EID_ADVANCED_SIGNATURE: "se-frejaeid-advanced-signature", SE_FREJA_EID_QES_SIGNATURE: "se-frejaeid-qes-signature", ITSME_QES_SIGNATURE: "itsme-qes-signature", FR_IDENT_ADVANCED_SIGNATURE: "fr-ident-advanced-signature", GB_ONE_ID_ADVANCED_SIGNATURE: "gb-one-id-advanced-signature", HANDWRITTEN_SIMPLE_SIGNATURE: "handwritten-simple-signature", HARICA_QES_SIGNATURE: "harica-qes-signature", VERIFF_ADVANCED_SIGNATURE: "veriff-advanced-signature", LT_ID_QES_SIGNATURE: "lt-id-qes-signature", CERT_STORE_QES_SIGNATURE: "cert-store-qes-signature", CERT_STORE_ADVANCED_SIGNATURE: "cert-store-advanced-signature", CERT_STORE_ADV_UNVERIFIED_SIGN: "cert-store-adv-unverified-sign", BUYPASS_QES_SIGNATURE: "buypass-qes-signature", FI_FTN_INTESI_ADS_SIGNATURE: "fi-ftn-intesi-adv-signature", TRUST_ASIA_SIGNATURE: "trust-asia-signature", MSC_TRUST_GATE_SIGNATURE: "msc-trust-gate-signature", GSE_ADV_SIGNATURE: "gse-adv-signature", CERTME_QES_SIGNATURE: "certme-qes-signature", ES_LLEIDA_ADV_SIGNATURE: "es-lleida-advanced-signature", ADACOM_QES_SIGNATURE: "adacom-qes-signature", ADACOM_ONE_SHOT_QES_SIGNATURE: "adacom-one-shot-qes-signature", DIIA_QES_SIGNATURE: "diia-qes-signature", EMUDHRA_QES_SIGNATURE: "emudhra-qes-signature", MX_PSC_WORLD_ADVANCED_SIGNATURE: "mx-psc-world-adv-signature", TRANS_SPED_QES_SIGNATURE: "trans-sped-qes-signature", VIDA_ADVANCED_SIGNATURE: "vida-advanced-signature", VN_BKAV_TOKEN_SIGNATURE: "vn-bkav-token-signature", VN_CA2_TOKEN_SIGNATURE: "vn-ca2-token-signature", VN_FAST_TOKEN_SIGNATURE: "vn-fast-token-signature", VN_FPT_TOKEN_SIGNATURE: "vn-fpt-token-signature", VN_SMART_TOKEN_SIGNATURE: "vn-smart-token-signature", VN_VIETTEL_TOKEN_SIGNATURE: "vn-viettel-token-signature", VN_VNPT_TOKEN_SIGNATURE: "vn-vnpt-token-signature", DIGILOGIX_QES_SIGNATURE: "digilogix-qes-signature", BUYPASS_ADVANCED_SIGNATURE: "buypass-adv-signature", IGNISIGN_ADVANCED_SIGNATURE: "ignisign-advanced-signature", B_TRUST_QES_SIGNATURE: "b-trust-qes-signature", ES_AUTOFIRMA_SIGNATURE: "es-autofirma-signature", LOCAL_ADV_UNVERIFIED_SIGNATURE: "local-adv-unverified-signature" }, s = { idCard: "idCard", mobileId: "mobileId", webEid: "webEid", eParakstsMobile: "eParakstsMobile", eParakstsSmartCard: "eParakstsSmartCard", smartId: "smartId", frejaEid: "frejaEid", zealId: "zealId", mojeId: "mojeId", edoAppEid: "edoAppEid", atHandy: "atHandy", itsme: "itsme", itsmeBasic: "itsmeBasic", itsmeStandard: "itsmeStandard", seBankId: "seBankId", idin: "idin", idinCustomerId: "idinCustomerId", verifai: "verifai", yoonik: "yoonik", plMojeId: "plMojeId", mitId: "mitId", mitId2: "mitId2", norwegianBankId: "norwegianBankId", ftn: "ftn", gbOneId: "gbOneId", veriff: "veriff", lIdentiteNumerique: "lIdentiteNumerique", googleWallet: "googleWallet", eudiWallet: "eudiWallet", spid: "spid", evrotrust: "evrotrust", idCardSignature: "idCardSignature", certEuropeUsbTokenSignature: "certEuropeUsbTokenSignature", certSignUsbTokenSignature: "certSignUsbTokenSignature", mobileIdSignature: "mobileIdSignature", smartIdSignature: "smartIdSignature", evroTrustSignature: "evroTrustSignature", evroTrustGedaSignature: "evroTrustGedaSignature", otpSignature: "otpSignature", eParakstsMobileSignature: "eParakstsMobileSignature", ftnAdvancedFullSignature: "ftnAdvancedFullSignature", mitIdAdvancedSignature: "mitIdAdvancedSignature", mitIdQesSignature: "mitIdQesSignature", seBankIdAdvancedSignature: "seBankIdAdvancedSignature", seBankIdQesSignature: "seBankIdQesSignature", seBankIdAdvancedHashSignature: "seBankIdAdvancedHashSignature", dkMitIdAdvancedHashSignature: "dkMitIdAdvancedHashSignature", noBankIdAdvancedHashSignature: "noBankIdAdvancedHashSignature", itSpidQualifiedHashSignature: "itSpidQualifiedHashSignature", ftnSignature: "ftnSignature", ftnQesSignature: "ftnQesSignature", atHandySignature: "atHandySignature", zealIdSignature: "zealIdSignature", mojeIdSignature: "mojeIdSignature", serproIdAdvancedSignature: "serproIdAdvancedSignature", czBankIDSignature: "czBankIDSignature", abaDoSignature: "abaDoSignature", googleSignature: "googleSignature", seBankIdSignature: "seBankIdSignature", dTrustSignMeSignature: "dTrustSignMeSignature", dTrustSignMeAdvSignature: "dTrustSignMeAdvSignature", chaveMovelSignature: "chaveMovelSignature", eCertChileSignature: "eCertChileSignature", mitIdSignature: "mitIdSignature", noBankIdAdvSignature: "noBankIdAdvSignature", noBankIdAdvLightSignature: "noBankIdAdvLightSignature", idinSignature: "idinSignature", verifaiSignature: "verifaiSignature", spidQesSignature: "spidQesSignature", frejaSimpleSignature: "frejaSimpleSignature", audkenniQesSignature: "audkenniQesSignature", yesComQesSignature: "yesComQesSignature", simplySignQesSignature: "simplySignQesSignature", uanatacaQesSignature: "uanatacaQesSignature", infoCertQesSignature: "infoCertQesSignature", certsignWebapiQesSignature: "certsignWebapiQesSignature", halcomQesSignature: "halcomQesSignature", swissIdQesSignature: "swissIdQesSignature", swissComQesSignature: "swissComQesSignature", frejaAdvancedSignature: "frejaAdvancedSignature", frejaQesSignature: "frejaQesSignature", itsmeQesSignature: "itsmeQesSignature", frIdentAdvancedSignature: "frIdentAdvancedSignature", gbOneIdAdvancedSignature: "gbOneIdAdvancedSignature", handwrittenSignature: "handwrittenSignature", haricaQesSignature: "haricaQesSignature", veriffAdvancedSignature: "veriffAdvancedSignature", ltIdQesSignature: "ltIdQesSignature", buypassQesSignature: "buypassQesSignature", intesiFtnAdvSignature: "intesiFtnAdvSignature", certStoreQesSignature: "certStoreQesSignature", certStoreAdvancedSignature: "certStoreAdvancedSignature", certStoreAdvancedUnverifiedSignature: "certStoreAdvancedUnverifiedSignature", trustAsiaSignature: "trustAsiaSignature", mscTrustGateSignature: "mscTrustGateSignature", gseAdvSignature: "gseAdvSignature", certMeQesSignature: "certMeQesSignature", esLleidaAdvSignature: "esLleidaAdvSignature", adacomQesSignature: "adacomQesSignature", adacomOneShotQesSignature: "adacomOneShotQesSignature", diiaQesSignature: "diiaQesSignature", emudhraQesSignature: "emudhraQesSignature", mxPscWorldAdvancedSignature: "mxPscWorldAdvancedSignature", transSpedQesSignature: "transSpedQesSignature", vidaAdvancedSignature: "vidaAdvancedSignature", vnBkavTokenSignature: "vnBkavTokenSignature", vnCa2TokenSignature: "vnCa2TokenSignature", vnFastTokenSignature: "vnFastTokenSignature", vnFptTokenSignature: "vnFptTokenSignature", vnSmartTokenSignature: "vnSmartTokenSignature", vnViettelTokenSignature: "vnViettelTokenSignature", vnVnptTokenSignature: "vnVnptTokenSignature", digilogixQesSignature: "digilogixQesSignature", buypassAdvancedSignature: "buypassAdvancedSignature", igniSignAdvancedSignature: "igniSignAdvancedSignature", bTrustQesSignature: "bTrustQesSignature", esAutofirmaSignature: "esAutofirmaSignature", localAdvUnverifiedSignature: "localAdvUnverifiedSignature" }, c = Object.freeze({ [r2.IDENTIFICATION]: [{ actionType: a.BE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["BE"] }, { actionType: a.EE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["EE"] }, { actionType: a.FI_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["FI"] }, { actionType: a.LV_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LV"] }, { actionType: a.LT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LT"] }, { actionType: a.PT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["PT"] }, { actionType: a.RS_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["RS"] }, { actionType: a.LV_EPARAKSTS_MOBILE_LOGIN, handlingModule: s.eParakstsMobile, supportedCountries: ["LV"] }, { actionType: a.LV_EPARAKSTS_ID_LOGIN, handlingModule: s.eParakstsSmartCard, supportedCountries: ["LV"] }, { actionType: a.LT_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["LT"] }, { actionType: a.EE_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["EE"] }, { actionType: a.SMART_ID, handlingModule: s.smartId, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EE_WEB_EID_LOGIN, handlingModule: s.webEid, supportedCountries: ["EE"] }, { actionType: a.FREJA_EID_LOGIN, handlingModule: s.frejaEid, supportedCountries: ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "IS", "LI", "NO", "AL", "BA", "GE", "MK", "RS", "GB", "UA", "AR", "BR", "CL", "CO", "CA", "MX", "PE", "US", "AU", "HK", "JP", "NZ", "SG", "KR", "TW", "GL", "AX"] }, { actionType: a.ZEALID_LOGIN, handlingModule: s.zealId, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RO", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID, handlingModule: s.mojeId, supportedCountries: ["CZ"] }, { actionType: a.EDOAPP_EID_LOGIN, handlingModule: s.edoAppEid, supportedCountries: ["PL"] }, { actionType: a.FI_FTN_LOGIN, handlingModule: s.finnishTrustNetwork, supportedCountries: ["FI"] }, { actionType: a.AT_HANDY_SIGNATUR_LOGIN, handlingModule: s.atHandy, supportedCountries: ["AT"] }, { actionType: a.ITSME_LOGIN, handlingModule: s.itsme, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.ITSME_LOGIN_BASIC, handlingModule: s.itsmeBasic, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.ITSME_LOGIN_STANDARD, handlingModule: s.itsmeStandard, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.SE_BANKID_LOGIN, handlingModule: s.seBankId, supportedCountries: ["SE"] }, { actionType: a.IDIN_LOGIN, handlingModule: s.idin, supportedCountries: ["NL"] }, { actionType: a.IDIN_CUSTOMER_ID_LOGIN, handlingModule: s.idinCustomerId, supportedCountries: ["NL"] }, { actionType: a.VERIFAI_LOGIN, handlingModule: s.verifai, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.YOONIK_LOGIN, handlingModule: s.yoonik, supportedCountries: ["WORLD"] }, { actionType: a.PL_MOJEID_LOGIN, handlingModule: s.plMojeId, supportedCountries: ["PL"] }, { actionType: a.MIT_ID_LOGIN, handlingModule: s.mitId, supportedCountries: ["DK"] }, { actionType: a.MIT_ID_2_LOGIN, handlingModule: s.mitId2, supportedCountries: ["DK"] }, { actionType: a.NORWEGIAN_BANKID_LOGIN, handlingModule: s.norwegianBankId, supportedCountries: ["NO"] }, { actionType: a.FTN_LOGIN, handlingModule: s.ftn, supportedCountries: ["FI"] }, { actionType: a.GB_ONE_ID_LOGIN, handlingModule: s.gbOneId, supportedCountries: ["GB"] }, { actionType: a.VERIFF_LOGIN, handlingModule: s.veriff, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LIDENTITE_NUMERIQUE_LOGIN, handlingModule: s.lIdentiteNumerique, supportedCountries: ["FR"] }, { actionType: a.GOOGLE_WALLET_LOGIN, handlingModule: s.googleWallet, supportedCountries: ["US"] }, { actionType: a.AT_EUDI_WALLET_LOGIN, handlingModule: s.eudiWallet, supportedCountries: ["AT"] }, { actionType: a.SPID_LOGIN, handlingModule: s.spid, supportedCountries: ["IT"] }, { actionType: a.EVROTRUST_LOGIN, handlingModule: s.evrotrust, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "KE", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }], [r2.SIGNATURE]: [{ actionType: a.EE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["EE"] }, { actionType: a.LV_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LV"] }, { actionType: a.LT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LT"] }, { actionType: a.FI_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.PT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["PT"] }, { actionType: a.BE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["BE"] }, { actionType: a.HR_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["HR"] }, { actionType: a.CZ_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["CZ"] }, { actionType: a.CERTEUROPE_USB_TOKEN_SIGNATURE, handlingModule: s.certEuropeUsbTokenSignature, supportedCountries: ["FR"] }, { actionType: a.CERTSIGN_USB_TOKEN_SIGNATURE, handlingModule: s.certSignUsbTokenSignature, supportedCountries: ["RO"] }, { actionType: a.EE_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["EE"] }, { actionType: a.LT_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["LT"] }, { actionType: a.SMARTID_SIGNATURE, handlingModule: s.smartIdSignature, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EVROTRUST_SIGNATURE, handlingModule: s.evroTrustSignature, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }, { actionType: a.EVROTRUST_GEDA_SIGNATURE, handlingModule: s.evroTrustGedaSignature, supportedCountries: ["KE"] }, { actionType: a.ITSME_QES_SIGNATURE, handlingModule: s.itsmeQesSignature, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.OTP_EMAIL, handlingModule: s.otpSignature, supportedCountries: ["WORLD"] }, { actionType: a.LV_EPARAKSTS_MOBILE_SIGNATURE, handlingModule: s.eParakstsMobileSignature, supportedCountries: ["LV"] }, { actionType: a.FI_FTN_ADVANCED_SIGNATURE, handlingModule: s.ftnSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_ADVANCED_FULL_SIGNATURE, handlingModule: s.ftnAdvancedFullSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_QUALIFIED_SIGNATURE, handlingModule: s.ftnQesSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.AT_HANDY_SIGNATUR_SIGNATURE, handlingModule: s.atHandySignature, supportedCountries: ["AT"] }, { actionType: a.ZEAL_ID_SIGNATURE, handlingModule: s.zealIdSignature, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID_ADVANCED_SIGNATURE, handlingModule: s.mojeIdSignature, supportedCountries: ["CZ"] }, { actionType: a.SERPRO_ID_ADVANCED_SIGNATURE, handlingModule: s.serproIdAdvancedSignature, supportedCountries: ["BR"] }, { actionType: a.MX_PSC_WORLD_ADVANCED_SIGNATURE, handlingModule: s.mxPscWorldAdvancedSignature, supportedCountries: ["MX"] }, { actionType: a.TRANS_SPED_QES_SIGNATURE, handlingModule: s.transSpedQesSignature, supportedCountries: ["AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BH", "BD", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CY", "CZ", "DK", "DJ", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GT", "GN", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MR", "MU", "MX", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TJ", "TZ", "TH", "TL", "TG", "TO", "TN", "TR", "TM", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.CZ_BANKID_ADVANCED_SIGNATURE, handlingModule: s.czBankIDSignature, supportedCountries: ["CZ"] }, { actionType: a.ABA_DO_QES_SIGNATURE, handlingModule: s.abaDoSignature, supportedCountries: ["DO"] }, { actionType: a.GOOGLE_SIGNATURE, handlingModule: s.googleSignature, supportedCountries: ["WORLD"] }, { actionType: a.SE_BANKID_SIGNATURE, handlingModule: s.seBankIdSignature, supportedCountries: ["SE"] }, { actionType: a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE, handlingModule: s.dTrustSignMeSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE, handlingModule: s.dTrustSignMeAdvSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.CHAVE_MOVEL_QUALIFIED_SIGNATURE, handlingModule: s.chaveMovelSignature, supportedCountries: ["PT"] }, { actionType: a.CL_ECERT_ADVANCED_SIGNATURE, handlingModule: s.eCertChileSignature, supportedCountries: ["CL"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE, handlingModule: s.noBankIdAdvSignature, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE, handlingModule: s.noBankIdAdvLightSignature, supportedCountries: ["NO"] }, { actionType: a.MIT_ID_SIMPLE_SIGNATURE, handlingModule: s.mitIdSignature, supportedCountries: ["DK", "GL"] }, { actionType: a.IDIN_SIMPLE_SIGNATURE, handlingModule: s.idinSignature, supportedCountries: ["NL"] }, { actionType: a.SPID_QUALIFIED_SIGNATURE, handlingModule: s.spidQesSignature, supportedCountries: ["IT"] }, { actionType: a.VERIFAI_SIMPLE_SIGNATURE, handlingModule: s.verifaiSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.FREJA_SIMPLE_SIGNATURE, handlingModule: s.frejaSimpleSignature, supportedCountries: ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "IS", "LI", "NO", "AL", "BA", "GE", "MK", "RS", "GB", "UA", "AR", "BR", "CL", "CO", "CA", "MX", "PE", "US", "AU", "HK", "JP", "NZ", "SG", "KR", "TW", "GL", "AX"] }, { actionType: a.AUDKENNI_QUALIFIED_SIGNATURE, handlingModule: s.audkenniQesSignature, supportedCountries: ["IS"] }, { actionType: a.YES_COM_QUALIFIED_SIGNATURE, handlingModule: s.yesComQesSignature, supportedCountries: ["DE"] }, { actionType: a.SIMPLY_SIGN_QES_SIGNATURE, handlingModule: s.simplySignQesSignature, supportedCountries: ["PL"] }, { actionType: a.UANATACA_QUALIFIED_SIGNATURE, handlingModule: s.uanatacaQesSignature, supportedCountries: ["ES"] }, { actionType: a.INFOCERT_QUALIFIED_SIGNATURE, handlingModule: s.infoCertQesSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DE", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE, handlingModule: s.certsignWebapiQesSignature, supportedCountries: ["RO"] }, { actionType: a.HALCOM_QUALIFIED_SIGNATURE, handlingModule: s.halcomQesSignature, supportedCountries: ["SI"] }, { actionType: a.SWISS_ID_QUALIFIED_SIGNATURE, handlingModule: s.swissIdQesSignature, supportedCountries: ["CH"] }, { actionType: a.SWISS_COM_QUALIFIED_SIGNATURE, handlingModule: s.swissComQesSignature, supportedCountries: ["CH"] }, { actionType: a.DK_MITID_ADVANCED_SIGNATURE, handlingModule: s.mitIdAdvancedSignature, supportedCountries: ["DK"] }, { actionType: a.DK_MITID_QES_SIGNATURE, handlingModule: s.mitIdQesSignature, supportedCountries: ["DK"] }, { actionType: a.SE_BANK_ID_ADVANCED_SIGNATURE, handlingModule: s.seBankIdAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_QES_SIGNATURE, handlingModule: s.seBankIdQesSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.seBankIdAdvancedHashSignature, supportedCountries: ["SE"] }, { actionType: a.DK_MIT_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.dkMitIdAdvancedHashSignature, supportedCountries: ["DK"] }, { actionType: a.NO_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.noBankIdAdvancedHashSignature, supportedCountries: ["NO"] }, { actionType: a.IT_SPID_QUALIFIED_HASH_SIGNATURE, handlingModule: s.itSpidQualifiedHashSignature, supportedCountries: ["IT"] }, { actionType: a.SE_FREJA_EID_ADVANCED_SIGNATURE, handlingModule: s.frejaAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_FREJA_EID_QES_SIGNATURE, handlingModule: s.frejaQesSignature, supportedCountries: ["SE"] }, { actionType: a.FR_IDENT_ADVANCED_SIGNATURE, handlingModule: s.frIdentAdvancedSignature, supportedCountries: ["FR"] }, { actionType: a.GB_ONE_ID_ADVANCED_SIGNATURE, handlingModule: s.gbOneIdAdvancedSignature, supportedCountries: ["GB"] }, { actionType: a.HANDWRITTEN_SIMPLE_SIGNATURE, handlingModule: s.handwrittenSignature, supportedCountries: ["WORLD"] }, { actionType: a.HARICA_QES_SIGNATURE, handlingModule: s.haricaQesSignature, supportedCountries: ["GR"] }, { actionType: a.VERIFF_ADVANCED_SIGNATURE, handlingModule: s.veriffAdvancedSignature, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LT_ID_QES_SIGNATURE, handlingModule: s.ltIdQesSignature, supportedCountries: ["LT"] }, { actionType: a.CERT_STORE_QES_SIGNATURE, handlingModule: s.certStoreQesSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADVANCED_SIGNATURE, handlingModule: s.certStoreAdvancedSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADV_UNVERIFIED_SIGN, handlingModule: s.certStoreAdvancedUnverifiedSignature, supportedCountries: ["WORLD"] }, { actionType: a.BUYPASS_QES_SIGNATURE, handlingModule: s.buypassQesSignature, supportedCountries: ["NO"] }, { actionType: a.FI_FTN_INTESI_ADS_SIGNATURE, handlingModule: s.intesiFtnAdvSignature, supportedCountries: ["FI"] }, { actionType: a.TRUST_ASIA_SIGNATURE, handlingModule: s.trustAsiaSignature, supportedCountries: ["CN"] }, { actionType: a.MSC_TRUST_GATE_SIGNATURE, handlingModule: s.mscTrustGateSignature, supportedCountries: ["MY"] }, { actionType: a.GSE_ADV_SIGNATURE, handlingModule: s.gseAdvSignature, supportedCountries: ["CO"] }, { actionType: a.CERTME_QES_SIGNATURE, handlingModule: s.certMeQesSignature, supportedCountries: ["RO"] }, { actionType: a.ES_LLEIDA_ADV_SIGNATURE, handlingModule: s.esLleidaAdvSignature, supportedCountries: ["ES"] }, { actionType: a.ADACOM_QES_SIGNATURE, handlingModule: s.adacomQesSignature, supportedCountries: ["GR"] }, { actionType: a.ADACOM_ONE_SHOT_QES_SIGNATURE, handlingModule: s.adacomOneShotQesSignature, supportedCountries: ["AL", "AR", "AU", "AT", "BD", "BE", "BR", "BG", "CA", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DO", "EC", "EG", "EE", "FI", "FR", "DE", "GB", "GR", "HU", "IS", "IE", "IN", "IL", "IT", "JP", "KE", "LV", "LT", "LU", "MY", "MT", "MX", "MK", "NL", "NZ", "NO", "PK", "PA", "PE", "PL", "PT", "KR", "RO", "RS", "SG", "SK", "SI", "ZA", "ES", "SE", "CH", "TW", "TH", "TR", "UA", "AE", "UY", "US", "VE", "VN"] }, { actionType: a.DIIA_QES_SIGNATURE, handlingModule: s.diiaQesSignature, supportedCountries: ["UA"] }, { actionType: a.EMUDHRA_QES_SIGNATURE, handlingModule: s.emudhraQesSignature, supportedCountries: ["IN"] }, { actionType: a.VIDA_ADVANCED_SIGNATURE, handlingModule: s.vidaAdvancedSignature, supportedCountries: ["ID"] }, { actionType: a.VN_BKAV_TOKEN_SIGNATURE, handlingModule: s.vnBkavTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_CA2_TOKEN_SIGNATURE, handlingModule: s.vnCa2TokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FAST_TOKEN_SIGNATURE, handlingModule: s.vnFastTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FPT_TOKEN_SIGNATURE, handlingModule: s.vnFptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_SMART_TOKEN_SIGNATURE, handlingModule: s.vnSmartTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VIETTEL_TOKEN_SIGNATURE, handlingModule: s.vnViettelTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VNPT_TOKEN_SIGNATURE, handlingModule: s.vnVnptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.DIGILOGIX_QES_SIGNATURE, handlingModule: s.digilogixQesSignature, supportedCountries: ["AR"] }, { actionType: a.BUYPASS_ADVANCED_SIGNATURE, handlingModule: s.buypassAdvancedSignature, supportedCountries: ["NO"] }, { actionType: a.IGNISIGN_ADVANCED_SIGNATURE, handlingModule: s.igniSignAdvancedSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.B_TRUST_QES_SIGNATURE, handlingModule: s.bTrustQesSignature, supportedCountries: ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GU", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "FM", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "ZM", "ZW"] }, { actionType: a.ES_AUTOFIRMA_SIGNATURE, handlingModule: s.esAutofirmaSignature, supportedCountries: ["ES"] }, { actionType: a.LOCAL_ADV_UNVERIFIED_SIGNATURE, handlingModule: s.localAdvUnverifiedSignature, supportedCountries: ["WORLD"] }] }), u = function(e3, t3, n3) {
|
|
9077
|
+
const r2 = { IDENTIFICATION: "identification", SIGNATURE: "signature" }, a = { BE_ID_LOGIN: "be-id-login", EE_ID_LOGIN: "ee-id-login", FI_ID_LOGIN: "fi-id-login", PT_ID_LOGIN: "pt-id-login", LV_ID_LOGIN: "lv-id-login", LT_ID_LOGIN: "lt-id-login", RS_ID_LOGIN: "rs-id-login", EE_MOBILE_ID: "mid-login", EE_WEB_EID_LOGIN: "ee-web-eid-login", LV_EPARAKSTS_MOBILE_LOGIN: "lv-eparaksts-mobile-login", LV_EPARAKSTS_ID_LOGIN: "lv-eparaksts-id-login", LT_MOBILE_ID: "lt-mobile-id", SMART_ID: "smartid", FREJA_EID_LOGIN: "freja-eid-login", ZEALID_LOGIN: "zealid-login", CZ_MOJEID: "mojeid", EDOAPP_EID_LOGIN: "edoapp-eid-login", AT_HANDY_SIGNATUR_LOGIN: "at-handy-signatur-login", FI_FTN_LOGIN: "finnish-ftn-login", ITSME_LOGIN: "itsme-login", ITSME_LOGIN_BASIC: "itsme-login-basic", ITSME_LOGIN_STANDARD: "itsme-login-standard", SE_BANKID_LOGIN: "swedish-bankid-login", IDIN_LOGIN: "idin-login", VERIFAI_LOGIN: "verifai-login", YOONIK_LOGIN: "yoonik-login", PL_MOJEID_LOGIN: "pl-mojeid-login", MIT_ID_LOGIN: "mit-id-login", MIT_ID_2_LOGIN: "mit-id-2-login", NORWEGIAN_BANKID_LOGIN: "norwegian-bankid-login", NORWEGIAN_BANKID_2_LOGIN: "norwegian-bankid-2-login", FTN_LOGIN: "ftn-login", IDIN_CUSTOMER_ID_LOGIN: "idin-customer-id-login", GB_ONE_ID_LOGIN: "gb-one-id-login", VERIFF_LOGIN: "veriff-login", LIDENTITE_NUMERIQUE_LOGIN: "lidentite-numerique-login", GOOGLE_WALLET_LOGIN: "google-wallet-login", AT_EUDI_WALLET_LOGIN: "at-eudi-wallet-login", SPID_LOGIN: "spid-login", EVROTRUST_LOGIN: "evrotrust-login", ZEAL_ID_SIGNATURE: "zealid-signature", EE_IDCARD_SIGNATURE: "id-signature", EE_MOBILEID_SIGNATURE: "mid-signature", LT_MOBILEID_SIGNATURE: "lt-mid-signature", SMARTID_SIGNATURE: "smart-id-signature", BE_IDCARD_SIGNATURE: "be-id-signature", LV_IDCARD_SIGNATURE: "lv-id-signature", LT_IDCARD_SIGNATURE: "lt-id-signature", FI_IDCARD_SIGNATURE: "fi-id-signature", LU_IDCARD_SIGNATURE: "lu-id-signature", PT_IDCARD_SIGNATURE: "pt-id-signature", HR_IDCARD_SIGNATURE: "hr-id-signature", CZ_IDCARD_SIGNATURE: "cz-id-signature", CERTEUROPE_USB_TOKEN_SIGNATURE: "certeurope-usb-token-signature", CERTSIGN_USB_TOKEN_SIGNATURE: "certsign-usb-token-signature", LV_EPARAKSTS_MOBILE_SIGNATURE: "lv-eparaksts-mobile-signature", AT_HANDY_SIGNATUR_SIGNATURE: "at-handy-signatur-signature", REGISTRU_CENTRAS_SIGNATURE: "registru-centras-signature", OTP_EMAIL: "otp-email-non-qualified", FI_FTN_ADVANCED_FULL_SIGNATURE: "fi-ftn-advanced-full-signature", FI_FTN_ADVANCED_SIGNATURE: "fi-ftn-advanced-signature", FI_FTN_QUALIFIED_SIGNATURE: "fi-ftn-qes-signature", EVROTRUST_SIGNATURE: "evrotrust-signature", EVROTRUST_GEDA_SIGNATURE: "evrotrust-geda-signature", CZ_MOJEID_ADVANCED_SIGNATURE: "cz-mojeid-advanced-signature", SERPRO_ID_ADVANCED_SIGNATURE: "serpro-id-advanced-signature", CZ_BANKID_ADVANCED_SIGNATURE: "cz-bankid-advanced-signature", ABA_DO_QES_SIGNATURE: "aba-do-qes-signature", GOOGLE_SIGNATURE: "google-signature", SE_BANKID_SIGNATURE: "swedish-bankid-signature", D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE: "d-trust-sign-me-qes-signature", D_TRUST_SIGN_ME_ADVANCED_SIGNATURE: "d-trust-sign-me-adv-signature", CHAVE_MOVEL_QUALIFIED_SIGNATURE: "chave-movel-qes-signature", CL_ECERT_ADVANCED_SIGNATURE: "cl-ecert-advanced-signature", MIT_ID_SIMPLE_SIGNATURE: "mit-id-simple-signature", DK_MITID_ADVANCED_SIGNATURE: "dk-mitid-advanced-signature", DK_MITID_QES_SIGNATURE: "dk-mitid-qes-signature", SE_BANK_ID_ADVANCED_SIGNATURE: "se-bankid-advanced-signature", SE_BANK_ID_QES_SIGNATURE: "se-bankid-qes-signature", SE_BANK_ID_ADVANCED_HASH_SIGNATURE: "se-bankid-adv-hash-signature", DK_MIT_ID_ADVANCED_HASH_SIGNATURE: "dk-mitid-adv-hash-signature", NO_BANK_ID_ADVANCED_HASH_SIGNATURE: "no-bankid-adv-hash-signature", IT_SPID_QUALIFIED_HASH_SIGNATURE: "it-spid-qes-hash-signature", NORWEGIAN_BANKID_ADVANCED_SIGNATURE: "norwegian-bankid-adv-signature", NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE: "no-bankid-adv-light-signature", IDIN_SIMPLE_SIGNATURE: "idin-simple-signature", VERIFAI_SIMPLE_SIGNATURE: "verifai-simple-signature", SPID_QUALIFIED_SIGNATURE: "spid-qes-signature", FREJA_SIMPLE_SIGNATURE: "freja-simple-signature", AUDKENNI_QUALIFIED_SIGNATURE: "audkenni-qes-signature", YES_COM_QUALIFIED_SIGNATURE: "yes-com-qes-signature", SIMPLY_SIGN_QES_SIGNATURE: "simply-sign-qes-signature", UANATACA_QUALIFIED_SIGNATURE: "uanataca-qes-signature", INFOCERT_QUALIFIED_SIGNATURE: "infocert-qes-signature", CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE: "certsign-webapi-qes-signature", HALCOM_QUALIFIED_SIGNATURE: "halcom-qes-signature", SWISS_ID_QUALIFIED_SIGNATURE: "swiss-id-qes-signature", SWISS_COM_QUALIFIED_SIGNATURE: "swiss-com-qes-signature", SE_FREJA_EID_ADVANCED_SIGNATURE: "se-frejaeid-advanced-signature", SE_FREJA_EID_QES_SIGNATURE: "se-frejaeid-qes-signature", ITSME_QES_SIGNATURE: "itsme-qes-signature", FR_IDENT_ADVANCED_SIGNATURE: "fr-ident-advanced-signature", GB_ONE_ID_ADVANCED_SIGNATURE: "gb-one-id-advanced-signature", HANDWRITTEN_SIMPLE_SIGNATURE: "handwritten-simple-signature", HARICA_QES_SIGNATURE: "harica-qes-signature", VERIFF_ADVANCED_SIGNATURE: "veriff-advanced-signature", LT_ID_QES_SIGNATURE: "lt-id-qes-signature", CERT_STORE_QES_SIGNATURE: "cert-store-qes-signature", CERT_STORE_ADVANCED_SIGNATURE: "cert-store-advanced-signature", CERT_STORE_ADV_UNVERIFIED_SIGN: "cert-store-adv-unverified-sign", BUYPASS_QES_SIGNATURE: "buypass-qes-signature", FI_FTN_INTESI_ADS_SIGNATURE: "fi-ftn-intesi-adv-signature", TRUST_ASIA_SIGNATURE: "trust-asia-signature", MSC_TRUST_GATE_SIGNATURE: "msc-trust-gate-signature", GSE_ADV_SIGNATURE: "gse-adv-signature", CERTME_QES_SIGNATURE: "certme-qes-signature", ES_LLEIDA_ADV_SIGNATURE: "es-lleida-advanced-signature", ADACOM_QES_SIGNATURE: "adacom-qes-signature", ADACOM_ONE_SHOT_QES_SIGNATURE: "adacom-one-shot-qes-signature", DIIA_QES_SIGNATURE: "diia-qes-signature", EMUDHRA_QES_SIGNATURE: "emudhra-qes-signature", MX_PSC_WORLD_ADVANCED_SIGNATURE: "mx-psc-world-adv-signature", TRANS_SPED_QES_SIGNATURE: "trans-sped-qes-signature", VIDA_ADVANCED_SIGNATURE: "vida-advanced-signature", VN_BKAV_TOKEN_SIGNATURE: "vn-bkav-token-signature", VN_CA2_TOKEN_SIGNATURE: "vn-ca2-token-signature", VN_FAST_TOKEN_SIGNATURE: "vn-fast-token-signature", VN_FPT_TOKEN_SIGNATURE: "vn-fpt-token-signature", VN_SMART_TOKEN_SIGNATURE: "vn-smart-token-signature", VN_VIETTEL_TOKEN_SIGNATURE: "vn-viettel-token-signature", VN_VNPT_TOKEN_SIGNATURE: "vn-vnpt-token-signature", DIGILOGIX_QES_SIGNATURE: "digilogix-qes-signature", BUYPASS_ADVANCED_SIGNATURE: "buypass-adv-signature", IGNISIGN_ADVANCED_SIGNATURE: "ignisign-advanced-signature", B_TRUST_QES_SIGNATURE: "b-trust-qes-signature", ES_AUTOFIRMA_SIGNATURE: "es-autofirma-signature", LOCAL_ADV_UNVERIFIED_SIGNATURE: "local-adv-unverified-signature" }, s = { idCard: "idCard", mobileId: "mobileId", webEid: "webEid", eParakstsMobile: "eParakstsMobile", eParakstsSmartCard: "eParakstsSmartCard", smartId: "smartId", frejaEid: "frejaEid", zealId: "zealId", mojeId: "mojeId", edoAppEid: "edoAppEid", atHandy: "atHandy", itsme: "itsme", itsmeBasic: "itsmeBasic", itsmeStandard: "itsmeStandard", seBankId: "seBankId", idin: "idin", idinCustomerId: "idinCustomerId", verifai: "verifai", yoonik: "yoonik", plMojeId: "plMojeId", mitId: "mitId", mitId2: "mitId2", norwegianBankId: "norwegianBankId", norwegianBankId2: "norwegianBankId2", ftn: "ftn", gbOneId: "gbOneId", veriff: "veriff", lIdentiteNumerique: "lIdentiteNumerique", googleWallet: "googleWallet", eudiWallet: "eudiWallet", spid: "spid", evrotrust: "evrotrust", idCardSignature: "idCardSignature", certEuropeUsbTokenSignature: "certEuropeUsbTokenSignature", certSignUsbTokenSignature: "certSignUsbTokenSignature", mobileIdSignature: "mobileIdSignature", smartIdSignature: "smartIdSignature", evroTrustSignature: "evroTrustSignature", evroTrustGedaSignature: "evroTrustGedaSignature", otpSignature: "otpSignature", eParakstsMobileSignature: "eParakstsMobileSignature", ftnAdvancedFullSignature: "ftnAdvancedFullSignature", mitIdAdvancedSignature: "mitIdAdvancedSignature", mitIdQesSignature: "mitIdQesSignature", seBankIdAdvancedSignature: "seBankIdAdvancedSignature", seBankIdQesSignature: "seBankIdQesSignature", seBankIdAdvancedHashSignature: "seBankIdAdvancedHashSignature", dkMitIdAdvancedHashSignature: "dkMitIdAdvancedHashSignature", noBankIdAdvancedHashSignature: "noBankIdAdvancedHashSignature", itSpidQualifiedHashSignature: "itSpidQualifiedHashSignature", ftnSignature: "ftnSignature", ftnQesSignature: "ftnQesSignature", atHandySignature: "atHandySignature", zealIdSignature: "zealIdSignature", mojeIdSignature: "mojeIdSignature", serproIdAdvancedSignature: "serproIdAdvancedSignature", czBankIDSignature: "czBankIDSignature", abaDoSignature: "abaDoSignature", googleSignature: "googleSignature", seBankIdSignature: "seBankIdSignature", dTrustSignMeSignature: "dTrustSignMeSignature", dTrustSignMeAdvSignature: "dTrustSignMeAdvSignature", chaveMovelSignature: "chaveMovelSignature", eCertChileSignature: "eCertChileSignature", mitIdSignature: "mitIdSignature", noBankIdAdvSignature: "noBankIdAdvSignature", noBankIdAdvLightSignature: "noBankIdAdvLightSignature", idinSignature: "idinSignature", verifaiSignature: "verifaiSignature", spidQesSignature: "spidQesSignature", frejaSimpleSignature: "frejaSimpleSignature", audkenniQesSignature: "audkenniQesSignature", yesComQesSignature: "yesComQesSignature", simplySignQesSignature: "simplySignQesSignature", uanatacaQesSignature: "uanatacaQesSignature", infoCertQesSignature: "infoCertQesSignature", certsignWebapiQesSignature: "certsignWebapiQesSignature", halcomQesSignature: "halcomQesSignature", swissIdQesSignature: "swissIdQesSignature", swissComQesSignature: "swissComQesSignature", frejaAdvancedSignature: "frejaAdvancedSignature", frejaQesSignature: "frejaQesSignature", itsmeQesSignature: "itsmeQesSignature", frIdentAdvancedSignature: "frIdentAdvancedSignature", gbOneIdAdvancedSignature: "gbOneIdAdvancedSignature", handwrittenSignature: "handwrittenSignature", haricaQesSignature: "haricaQesSignature", veriffAdvancedSignature: "veriffAdvancedSignature", ltIdQesSignature: "ltIdQesSignature", buypassQesSignature: "buypassQesSignature", intesiFtnAdvSignature: "intesiFtnAdvSignature", certStoreQesSignature: "certStoreQesSignature", certStoreAdvancedSignature: "certStoreAdvancedSignature", certStoreAdvancedUnverifiedSignature: "certStoreAdvancedUnverifiedSignature", trustAsiaSignature: "trustAsiaSignature", mscTrustGateSignature: "mscTrustGateSignature", gseAdvSignature: "gseAdvSignature", certMeQesSignature: "certMeQesSignature", esLleidaAdvSignature: "esLleidaAdvSignature", adacomQesSignature: "adacomQesSignature", adacomOneShotQesSignature: "adacomOneShotQesSignature", diiaQesSignature: "diiaQesSignature", emudhraQesSignature: "emudhraQesSignature", mxPscWorldAdvancedSignature: "mxPscWorldAdvancedSignature", transSpedQesSignature: "transSpedQesSignature", vidaAdvancedSignature: "vidaAdvancedSignature", vnBkavTokenSignature: "vnBkavTokenSignature", vnCa2TokenSignature: "vnCa2TokenSignature", vnFastTokenSignature: "vnFastTokenSignature", vnFptTokenSignature: "vnFptTokenSignature", vnSmartTokenSignature: "vnSmartTokenSignature", vnViettelTokenSignature: "vnViettelTokenSignature", vnVnptTokenSignature: "vnVnptTokenSignature", digilogixQesSignature: "digilogixQesSignature", buypassAdvancedSignature: "buypassAdvancedSignature", igniSignAdvancedSignature: "igniSignAdvancedSignature", bTrustQesSignature: "bTrustQesSignature", esAutofirmaSignature: "esAutofirmaSignature", localAdvUnverifiedSignature: "localAdvUnverifiedSignature" }, c = Object.freeze({ [r2.IDENTIFICATION]: [{ actionType: a.BE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["BE"] }, { actionType: a.EE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["EE"] }, { actionType: a.FI_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["FI"] }, { actionType: a.LV_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LV"] }, { actionType: a.LT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LT"] }, { actionType: a.PT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["PT"] }, { actionType: a.RS_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["RS"] }, { actionType: a.LV_EPARAKSTS_MOBILE_LOGIN, handlingModule: s.eParakstsMobile, supportedCountries: ["LV"] }, { actionType: a.LV_EPARAKSTS_ID_LOGIN, handlingModule: s.eParakstsSmartCard, supportedCountries: ["LV"] }, { actionType: a.LT_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["LT"] }, { actionType: a.EE_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["EE"] }, { actionType: a.SMART_ID, handlingModule: s.smartId, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EE_WEB_EID_LOGIN, handlingModule: s.webEid, supportedCountries: ["EE"] }, { actionType: a.FREJA_EID_LOGIN, handlingModule: s.frejaEid, supportedCountries: ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "IS", "LI", "NO", "AL", "BA", "GE", "MK", "RS", "GB", "UA", "AR", "BR", "CL", "CO", "CA", "MX", "PE", "US", "AU", "HK", "JP", "NZ", "SG", "KR", "TW", "GL", "AX"] }, { actionType: a.ZEALID_LOGIN, handlingModule: s.zealId, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RO", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID, handlingModule: s.mojeId, supportedCountries: ["CZ"] }, { actionType: a.EDOAPP_EID_LOGIN, handlingModule: s.edoAppEid, supportedCountries: ["PL"] }, { actionType: a.FI_FTN_LOGIN, handlingModule: s.finnishTrustNetwork, supportedCountries: ["FI"] }, { actionType: a.AT_HANDY_SIGNATUR_LOGIN, handlingModule: s.atHandy, supportedCountries: ["AT"] }, { actionType: a.ITSME_LOGIN, handlingModule: s.itsme, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.ITSME_LOGIN_BASIC, handlingModule: s.itsmeBasic, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.ITSME_LOGIN_STANDARD, handlingModule: s.itsmeStandard, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.SE_BANKID_LOGIN, handlingModule: s.seBankId, supportedCountries: ["SE"] }, { actionType: a.IDIN_LOGIN, handlingModule: s.idin, supportedCountries: ["NL"] }, { actionType: a.IDIN_CUSTOMER_ID_LOGIN, handlingModule: s.idinCustomerId, supportedCountries: ["NL"] }, { actionType: a.VERIFAI_LOGIN, handlingModule: s.verifai, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.YOONIK_LOGIN, handlingModule: s.yoonik, supportedCountries: ["WORLD"] }, { actionType: a.PL_MOJEID_LOGIN, handlingModule: s.plMojeId, supportedCountries: ["PL"] }, { actionType: a.MIT_ID_LOGIN, handlingModule: s.mitId, supportedCountries: ["DK"] }, { actionType: a.MIT_ID_2_LOGIN, handlingModule: s.mitId2, supportedCountries: ["DK"] }, { actionType: a.NORWEGIAN_BANKID_LOGIN, handlingModule: s.norwegianBankId, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_2_LOGIN, handlingModule: s.norwegianBankId2, supportedCountries: ["NO"] }, { actionType: a.FTN_LOGIN, handlingModule: s.ftn, supportedCountries: ["FI"] }, { actionType: a.GB_ONE_ID_LOGIN, handlingModule: s.gbOneId, supportedCountries: ["GB"] }, { actionType: a.VERIFF_LOGIN, handlingModule: s.veriff, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LIDENTITE_NUMERIQUE_LOGIN, handlingModule: s.lIdentiteNumerique, supportedCountries: ["FR"] }, { actionType: a.GOOGLE_WALLET_LOGIN, handlingModule: s.googleWallet, supportedCountries: ["US"] }, { actionType: a.AT_EUDI_WALLET_LOGIN, handlingModule: s.eudiWallet, supportedCountries: ["AT"] }, { actionType: a.SPID_LOGIN, handlingModule: s.spid, supportedCountries: ["IT"] }, { actionType: a.EVROTRUST_LOGIN, handlingModule: s.evrotrust, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "KE", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }], [r2.SIGNATURE]: [{ actionType: a.EE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["EE"] }, { actionType: a.LV_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LV"] }, { actionType: a.LT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LT"] }, { actionType: a.FI_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.PT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["PT"] }, { actionType: a.BE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["BE"] }, { actionType: a.HR_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["HR"] }, { actionType: a.CZ_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["CZ"] }, { actionType: a.CERTEUROPE_USB_TOKEN_SIGNATURE, handlingModule: s.certEuropeUsbTokenSignature, supportedCountries: ["FR"] }, { actionType: a.CERTSIGN_USB_TOKEN_SIGNATURE, handlingModule: s.certSignUsbTokenSignature, supportedCountries: ["RO"] }, { actionType: a.EE_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["EE"] }, { actionType: a.LT_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["LT"] }, { actionType: a.SMARTID_SIGNATURE, handlingModule: s.smartIdSignature, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EVROTRUST_SIGNATURE, handlingModule: s.evroTrustSignature, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }, { actionType: a.EVROTRUST_GEDA_SIGNATURE, handlingModule: s.evroTrustGedaSignature, supportedCountries: ["KE"] }, { actionType: a.ITSME_QES_SIGNATURE, handlingModule: s.itsmeQesSignature, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK"] }, { actionType: a.OTP_EMAIL, handlingModule: s.otpSignature, supportedCountries: ["WORLD"] }, { actionType: a.LV_EPARAKSTS_MOBILE_SIGNATURE, handlingModule: s.eParakstsMobileSignature, supportedCountries: ["LV"] }, { actionType: a.FI_FTN_ADVANCED_SIGNATURE, handlingModule: s.ftnSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_ADVANCED_FULL_SIGNATURE, handlingModule: s.ftnAdvancedFullSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_QUALIFIED_SIGNATURE, handlingModule: s.ftnQesSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.AT_HANDY_SIGNATUR_SIGNATURE, handlingModule: s.atHandySignature, supportedCountries: ["AT"] }, { actionType: a.ZEAL_ID_SIGNATURE, handlingModule: s.zealIdSignature, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID_ADVANCED_SIGNATURE, handlingModule: s.mojeIdSignature, supportedCountries: ["CZ"] }, { actionType: a.SERPRO_ID_ADVANCED_SIGNATURE, handlingModule: s.serproIdAdvancedSignature, supportedCountries: ["BR"] }, { actionType: a.MX_PSC_WORLD_ADVANCED_SIGNATURE, handlingModule: s.mxPscWorldAdvancedSignature, supportedCountries: ["MX"] }, { actionType: a.TRANS_SPED_QES_SIGNATURE, handlingModule: s.transSpedQesSignature, supportedCountries: ["AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BH", "BD", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CY", "CZ", "DK", "DJ", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GT", "GN", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MR", "MU", "MX", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TJ", "TZ", "TH", "TL", "TG", "TO", "TN", "TR", "TM", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.CZ_BANKID_ADVANCED_SIGNATURE, handlingModule: s.czBankIDSignature, supportedCountries: ["CZ"] }, { actionType: a.ABA_DO_QES_SIGNATURE, handlingModule: s.abaDoSignature, supportedCountries: ["DO"] }, { actionType: a.GOOGLE_SIGNATURE, handlingModule: s.googleSignature, supportedCountries: ["WORLD"] }, { actionType: a.SE_BANKID_SIGNATURE, handlingModule: s.seBankIdSignature, supportedCountries: ["SE"] }, { actionType: a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE, handlingModule: s.dTrustSignMeSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE, handlingModule: s.dTrustSignMeAdvSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.CHAVE_MOVEL_QUALIFIED_SIGNATURE, handlingModule: s.chaveMovelSignature, supportedCountries: ["PT"] }, { actionType: a.CL_ECERT_ADVANCED_SIGNATURE, handlingModule: s.eCertChileSignature, supportedCountries: ["CL"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE, handlingModule: s.noBankIdAdvSignature, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE, handlingModule: s.noBankIdAdvLightSignature, supportedCountries: ["NO"] }, { actionType: a.MIT_ID_SIMPLE_SIGNATURE, handlingModule: s.mitIdSignature, supportedCountries: ["DK", "GL"] }, { actionType: a.IDIN_SIMPLE_SIGNATURE, handlingModule: s.idinSignature, supportedCountries: ["NL"] }, { actionType: a.SPID_QUALIFIED_SIGNATURE, handlingModule: s.spidQesSignature, supportedCountries: ["IT"] }, { actionType: a.VERIFAI_SIMPLE_SIGNATURE, handlingModule: s.verifaiSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.FREJA_SIMPLE_SIGNATURE, handlingModule: s.frejaSimpleSignature, supportedCountries: ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "IS", "LI", "NO", "AL", "BA", "GE", "MK", "RS", "GB", "UA", "AR", "BR", "CL", "CO", "CA", "MX", "PE", "US", "AU", "HK", "JP", "NZ", "SG", "KR", "TW", "GL", "AX"] }, { actionType: a.AUDKENNI_QUALIFIED_SIGNATURE, handlingModule: s.audkenniQesSignature, supportedCountries: ["IS"] }, { actionType: a.YES_COM_QUALIFIED_SIGNATURE, handlingModule: s.yesComQesSignature, supportedCountries: ["DE"] }, { actionType: a.SIMPLY_SIGN_QES_SIGNATURE, handlingModule: s.simplySignQesSignature, supportedCountries: ["PL"] }, { actionType: a.UANATACA_QUALIFIED_SIGNATURE, handlingModule: s.uanatacaQesSignature, supportedCountries: ["ES"] }, { actionType: a.INFOCERT_QUALIFIED_SIGNATURE, handlingModule: s.infoCertQesSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DE", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE, handlingModule: s.certsignWebapiQesSignature, supportedCountries: ["RO"] }, { actionType: a.HALCOM_QUALIFIED_SIGNATURE, handlingModule: s.halcomQesSignature, supportedCountries: ["SI"] }, { actionType: a.SWISS_ID_QUALIFIED_SIGNATURE, handlingModule: s.swissIdQesSignature, supportedCountries: ["CH"] }, { actionType: a.SWISS_COM_QUALIFIED_SIGNATURE, handlingModule: s.swissComQesSignature, supportedCountries: ["CH"] }, { actionType: a.DK_MITID_ADVANCED_SIGNATURE, handlingModule: s.mitIdAdvancedSignature, supportedCountries: ["DK"] }, { actionType: a.DK_MITID_QES_SIGNATURE, handlingModule: s.mitIdQesSignature, supportedCountries: ["DK"] }, { actionType: a.SE_BANK_ID_ADVANCED_SIGNATURE, handlingModule: s.seBankIdAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_QES_SIGNATURE, handlingModule: s.seBankIdQesSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.seBankIdAdvancedHashSignature, supportedCountries: ["SE"] }, { actionType: a.DK_MIT_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.dkMitIdAdvancedHashSignature, supportedCountries: ["DK"] }, { actionType: a.NO_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.noBankIdAdvancedHashSignature, supportedCountries: ["NO"] }, { actionType: a.IT_SPID_QUALIFIED_HASH_SIGNATURE, handlingModule: s.itSpidQualifiedHashSignature, supportedCountries: ["IT"] }, { actionType: a.SE_FREJA_EID_ADVANCED_SIGNATURE, handlingModule: s.frejaAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_FREJA_EID_QES_SIGNATURE, handlingModule: s.frejaQesSignature, supportedCountries: ["SE"] }, { actionType: a.FR_IDENT_ADVANCED_SIGNATURE, handlingModule: s.frIdentAdvancedSignature, supportedCountries: ["FR"] }, { actionType: a.GB_ONE_ID_ADVANCED_SIGNATURE, handlingModule: s.gbOneIdAdvancedSignature, supportedCountries: ["GB"] }, { actionType: a.HANDWRITTEN_SIMPLE_SIGNATURE, handlingModule: s.handwrittenSignature, supportedCountries: ["WORLD"] }, { actionType: a.HARICA_QES_SIGNATURE, handlingModule: s.haricaQesSignature, supportedCountries: ["GR"] }, { actionType: a.VERIFF_ADVANCED_SIGNATURE, handlingModule: s.veriffAdvancedSignature, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LT_ID_QES_SIGNATURE, handlingModule: s.ltIdQesSignature, supportedCountries: ["LT"] }, { actionType: a.CERT_STORE_QES_SIGNATURE, handlingModule: s.certStoreQesSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADVANCED_SIGNATURE, handlingModule: s.certStoreAdvancedSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADV_UNVERIFIED_SIGN, handlingModule: s.certStoreAdvancedUnverifiedSignature, supportedCountries: ["WORLD"] }, { actionType: a.BUYPASS_QES_SIGNATURE, handlingModule: s.buypassQesSignature, supportedCountries: ["NO"] }, { actionType: a.FI_FTN_INTESI_ADS_SIGNATURE, handlingModule: s.intesiFtnAdvSignature, supportedCountries: ["FI"] }, { actionType: a.TRUST_ASIA_SIGNATURE, handlingModule: s.trustAsiaSignature, supportedCountries: ["CN"] }, { actionType: a.MSC_TRUST_GATE_SIGNATURE, handlingModule: s.mscTrustGateSignature, supportedCountries: ["MY"] }, { actionType: a.GSE_ADV_SIGNATURE, handlingModule: s.gseAdvSignature, supportedCountries: ["CO"] }, { actionType: a.CERTME_QES_SIGNATURE, handlingModule: s.certMeQesSignature, supportedCountries: ["RO"] }, { actionType: a.ES_LLEIDA_ADV_SIGNATURE, handlingModule: s.esLleidaAdvSignature, supportedCountries: ["ES"] }, { actionType: a.ADACOM_QES_SIGNATURE, handlingModule: s.adacomQesSignature, supportedCountries: ["GR"] }, { actionType: a.ADACOM_ONE_SHOT_QES_SIGNATURE, handlingModule: s.adacomOneShotQesSignature, supportedCountries: ["AL", "AR", "AU", "AT", "BD", "BE", "BR", "BG", "CA", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DO", "EC", "EG", "EE", "FI", "FR", "DE", "GB", "GR", "HU", "IS", "IE", "IN", "IL", "IT", "JP", "KE", "LV", "LT", "LU", "MY", "MT", "MX", "MK", "NL", "NZ", "NO", "PK", "PA", "PE", "PL", "PT", "KR", "RO", "RS", "SG", "SK", "SI", "ZA", "ES", "SE", "CH", "TW", "TH", "TR", "UA", "AE", "UY", "US", "VE", "VN"] }, { actionType: a.DIIA_QES_SIGNATURE, handlingModule: s.diiaQesSignature, supportedCountries: ["UA"] }, { actionType: a.EMUDHRA_QES_SIGNATURE, handlingModule: s.emudhraQesSignature, supportedCountries: ["IN"] }, { actionType: a.VIDA_ADVANCED_SIGNATURE, handlingModule: s.vidaAdvancedSignature, supportedCountries: ["ID"] }, { actionType: a.VN_BKAV_TOKEN_SIGNATURE, handlingModule: s.vnBkavTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_CA2_TOKEN_SIGNATURE, handlingModule: s.vnCa2TokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FAST_TOKEN_SIGNATURE, handlingModule: s.vnFastTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FPT_TOKEN_SIGNATURE, handlingModule: s.vnFptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_SMART_TOKEN_SIGNATURE, handlingModule: s.vnSmartTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VIETTEL_TOKEN_SIGNATURE, handlingModule: s.vnViettelTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VNPT_TOKEN_SIGNATURE, handlingModule: s.vnVnptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.DIGILOGIX_QES_SIGNATURE, handlingModule: s.digilogixQesSignature, supportedCountries: ["AR"] }, { actionType: a.BUYPASS_ADVANCED_SIGNATURE, handlingModule: s.buypassAdvancedSignature, supportedCountries: ["NO"] }, { actionType: a.IGNISIGN_ADVANCED_SIGNATURE, handlingModule: s.igniSignAdvancedSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.B_TRUST_QES_SIGNATURE, handlingModule: s.bTrustQesSignature, supportedCountries: ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GU", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "FM", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "ZM", "ZW"] }, { actionType: a.ES_AUTOFIRMA_SIGNATURE, handlingModule: s.esAutofirmaSignature, supportedCountries: ["ES"] }, { actionType: a.LOCAL_ADV_UNVERIFIED_SIGNATURE, handlingModule: s.localAdvUnverifiedSignature, supportedCountries: ["WORLD"] }] }), u = function(e3, t3, n3) {
|
|
9078
9078
|
const r3 = c[e3];
|
|
9079
9079
|
if (t3 && n3) {
|
|
9080
9080
|
const i2 = r3.find(function(e4) {
|
|
@@ -9098,20 +9098,20 @@ function requireEideasyBrowserClient() {
|
|
|
9098
9098
|
return e3.apply(t3, arguments);
|
|
9099
9099
|
};
|
|
9100
9100
|
}
|
|
9101
|
-
const { toString: g } = Object.prototype, { getPrototypeOf: f } = Object, { iterator: h2, toStringTag: y } = Symbol, T = (
|
|
9101
|
+
const { toString: g } = Object.prototype, { getPrototypeOf: f } = Object, { iterator: h2, toStringTag: y } = Symbol, T = (m = /* @__PURE__ */ Object.create(null), (e3) => {
|
|
9102
9102
|
const t3 = g.call(e3);
|
|
9103
|
-
return
|
|
9103
|
+
return m[t3] || (m[t3] = t3.slice(8, -1).toLowerCase());
|
|
9104
9104
|
});
|
|
9105
|
-
var
|
|
9106
|
-
const
|
|
9105
|
+
var m;
|
|
9106
|
+
const S2 = (e3) => (e3 = e3.toLowerCase(), (t3) => T(t3) === e3), I = (e3) => (t3) => typeof t3 === e3, { isArray: E } = Array, C = I("undefined");
|
|
9107
9107
|
function v(e3) {
|
|
9108
9108
|
return null !== e3 && !C(e3) && null !== e3.constructor && !C(e3.constructor) && _(e3.constructor.isBuffer) && e3.constructor.isBuffer(e3);
|
|
9109
9109
|
}
|
|
9110
|
-
const A =
|
|
9110
|
+
const A = S2("ArrayBuffer"), b = I("string"), _ = I("function"), N = I("number"), R = (e3) => null !== e3 && "object" == typeof e3, O = (e3) => {
|
|
9111
9111
|
if ("object" !== T(e3)) return false;
|
|
9112
9112
|
const t3 = f(e3);
|
|
9113
9113
|
return !(null !== t3 && t3 !== Object.prototype && null !== Object.getPrototypeOf(t3) || y in e3 || h2 in e3);
|
|
9114
|
-
}, M =
|
|
9114
|
+
}, M = S2("Date"), D = S2("File"), U = S2("Blob"), w = S2("FileList"), k = S2("URLSearchParams"), [L, G, B, P] = ["ReadableStream", "Request", "Response", "Headers"].map(S2);
|
|
9115
9115
|
function j(e3, t3, { allOwnKeys: n3 = false } = {}) {
|
|
9116
9116
|
if (null == e3) return;
|
|
9117
9117
|
let r3, i2;
|
|
@@ -9133,13 +9133,13 @@ function requireEideasyBrowserClient() {
|
|
|
9133
9133
|
}
|
|
9134
9134
|
const x = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : commonjsGlobal, V = (e3) => !C(e3) && e3 !== x, K = (H = "undefined" != typeof Uint8Array && f(Uint8Array), (e3) => H && e3 instanceof H);
|
|
9135
9135
|
var H;
|
|
9136
|
-
const q =
|
|
9136
|
+
const q = S2("HTMLFormElement"), Q = (({ hasOwnProperty: e3 }) => (t3, n3) => e3.call(t3, n3))(Object.prototype), Z2 = S2("RegExp"), W = (e3, t3) => {
|
|
9137
9137
|
const n3 = Object.getOwnPropertyDescriptors(e3), r3 = {};
|
|
9138
9138
|
j(n3, (n4, i2) => {
|
|
9139
9139
|
let o2;
|
|
9140
9140
|
false !== (o2 = t3(n4, i2, e3)) && (r3[i2] = o2 || n4);
|
|
9141
9141
|
}), Object.defineProperties(e3, r3);
|
|
9142
|
-
}, z =
|
|
9142
|
+
}, z = S2("AsyncFunction"), J = (Y2 = "function" == typeof setImmediate, X2 = _(x.postMessage), Y2 ? setImmediate : X2 ? ($ = `axios@${Math.random()}`, ee = [], x.addEventListener("message", ({ source: e3, data: t3 }) => {
|
|
9143
9143
|
e3 === x && t3 === $ && ee.length && ee.shift()();
|
|
9144
9144
|
}, false), (e3) => {
|
|
9145
9145
|
ee.push(e3), x.postMessage($, "*");
|
|
@@ -9178,7 +9178,7 @@ function requireEideasyBrowserClient() {
|
|
|
9178
9178
|
e3 = false !== n3 && f(e3);
|
|
9179
9179
|
} while (e3 && (!n3 || n3(e3, t3)) && e3 !== Object.prototype);
|
|
9180
9180
|
return t3;
|
|
9181
|
-
}, kindOf: T, kindOfTest:
|
|
9181
|
+
}, kindOf: T, kindOfTest: S2, endsWith: (e3, t3, n3) => {
|
|
9182
9182
|
e3 = String(e3), (void 0 === n3 || n3 > e3.length) && (n3 = e3.length), n3 -= t3.length;
|
|
9183
9183
|
const r3 = e3.indexOf(t3, n3);
|
|
9184
9184
|
return -1 !== r3 && r3 === n3;
|
|
@@ -9342,7 +9342,7 @@ function requireEideasyBrowserClient() {
|
|
|
9342
9342
|
}
|
|
9343
9343
|
return e3;
|
|
9344
9344
|
}
|
|
9345
|
-
const
|
|
9345
|
+
const me2 = class {
|
|
9346
9346
|
constructor() {
|
|
9347
9347
|
this.handlers = [];
|
|
9348
9348
|
}
|
|
@@ -9360,7 +9360,7 @@ function requireEideasyBrowserClient() {
|
|
|
9360
9360
|
null !== t3 && e3(t3);
|
|
9361
9361
|
});
|
|
9362
9362
|
}
|
|
9363
|
-
},
|
|
9363
|
+
}, Se2 = { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, Ie2 = { isBrowser: true, classes: { URLSearchParams: "undefined" != typeof URLSearchParams ? URLSearchParams : he2, FormData: "undefined" != typeof FormData ? FormData : null, Blob: "undefined" != typeof Blob ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }, Ee2 = "undefined" != typeof window && "undefined" != typeof document, Ce2 = "object" == typeof navigator && navigator || void 0, ve2 = Ee2 && (!Ce2 || ["ReactNative", "NativeScript", "NS"].indexOf(Ce2.product) < 0), Ae2 = "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope && "function" == typeof self.importScripts, be2 = Ee2 && window.location.href || "http://localhost", _e2 = { ...e2, ...Ie2 }, Ne2 = function(e3) {
|
|
9364
9364
|
function t3(e4, n3, r3, i2) {
|
|
9365
9365
|
let o2 = e4[i2++];
|
|
9366
9366
|
if ("__proto__" === o2) return true;
|
|
@@ -9383,7 +9383,7 @@ function requireEideasyBrowserClient() {
|
|
|
9383
9383
|
}), n3;
|
|
9384
9384
|
}
|
|
9385
9385
|
return null;
|
|
9386
|
-
}, Re2 = { transitional:
|
|
9386
|
+
}, Re2 = { transitional: Se2, adapter: ["xhr", "http", "fetch"], transformRequest: [function(e3, t3) {
|
|
9387
9387
|
const n3 = t3.getContentType() || "", r3 = n3.indexOf("application/json") > -1, i2 = ne.isObject(e3);
|
|
9388
9388
|
if (i2 && ne.isHTMLForm(e3) && (e3 = new FormData(e3)), ne.isFormData(e3)) return r3 ? JSON.stringify(Ne2(e3)) : e3;
|
|
9389
9389
|
if (ne.isArrayBuffer(e3) || ne.isBuffer(e3) || ne.isStream(e3) || ne.isFile(e3) || ne.isBlob(e3) || ne.isReadableStream(e3)) return e3;
|
|
@@ -9715,7 +9715,7 @@ function requireEideasyBrowserClient() {
|
|
|
9715
9715
|
n3(new ae("Network Error", ae.ERR_NETWORK, e3, h3)), h3 = null;
|
|
9716
9716
|
}, h3.ontimeout = function() {
|
|
9717
9717
|
let t4 = r3.timeout ? "timeout of " + r3.timeout + "ms exceeded" : "timeout exceeded";
|
|
9718
|
-
const i3 = r3.transitional ||
|
|
9718
|
+
const i3 = r3.transitional || Se2;
|
|
9719
9719
|
r3.timeoutErrorMessage && (t4 = r3.timeoutErrorMessage), n3(new ae(t4, i3.clarifyTimeoutError ? ae.ETIMEDOUT : ae.ECONNABORTED, e3, h3)), h3 = null;
|
|
9720
9720
|
}, void 0 === i2 && o2.setContentType(null), "setRequestHeader" in h3 && ne.forEach(o2.toJSON(), function(e4, t4) {
|
|
9721
9721
|
h3.setRequestHeader(t4, e4);
|
|
@@ -9905,19 +9905,19 @@ function requireEideasyBrowserClient() {
|
|
|
9905
9905
|
return typeof n3 === e3 || "a" + (t3 < 1 ? "n " : " ") + e3;
|
|
9906
9906
|
};
|
|
9907
9907
|
});
|
|
9908
|
-
const
|
|
9908
|
+
const mt = {};
|
|
9909
9909
|
Tt.transitional = function(e3, t3, n3) {
|
|
9910
9910
|
function r3(e4, t4) {
|
|
9911
9911
|
return "[Axios v" + yt + "] Transitional option '" + e4 + "'" + t4 + (n3 ? ". " + n3 : "");
|
|
9912
9912
|
}
|
|
9913
9913
|
return (n4, i2, o2) => {
|
|
9914
9914
|
if (false === e3) throw new ae(r3(i2, " has been removed" + (t3 ? " in " + t3 : "")), ae.ERR_DEPRECATED);
|
|
9915
|
-
return t3 && !
|
|
9915
|
+
return t3 && !mt[i2] && (mt[i2] = true, console.warn(r3(i2, " has been deprecated since v" + t3 + " and will be removed in the near future"))), !e3 || e3(n4, i2, o2);
|
|
9916
9916
|
};
|
|
9917
9917
|
}, Tt.spelling = function(e3) {
|
|
9918
9918
|
return (t3, n3) => (console.warn(`${n3} is likely a misspelling of ${e3}`), true);
|
|
9919
9919
|
};
|
|
9920
|
-
const
|
|
9920
|
+
const St = { assertOptions: function(e3, t3, n3) {
|
|
9921
9921
|
if ("object" != typeof e3) throw new ae("options must be an object", ae.ERR_BAD_OPTION_VALUE);
|
|
9922
9922
|
const r3 = Object.keys(e3);
|
|
9923
9923
|
let i2 = r3.length;
|
|
@@ -9930,10 +9930,10 @@ function requireEideasyBrowserClient() {
|
|
|
9930
9930
|
}
|
|
9931
9931
|
if (true !== n3) throw new ae("Unknown option " + o2, ae.ERR_BAD_OPTION);
|
|
9932
9932
|
}
|
|
9933
|
-
}, validators: Tt }, It =
|
|
9933
|
+
}, validators: Tt }, It = St.validators;
|
|
9934
9934
|
class Et {
|
|
9935
9935
|
constructor(e3) {
|
|
9936
|
-
this.defaults = e3 || {}, this.interceptors = { request: new
|
|
9936
|
+
this.defaults = e3 || {}, this.interceptors = { request: new me2(), response: new me2() };
|
|
9937
9937
|
}
|
|
9938
9938
|
async request(e3, t3) {
|
|
9939
9939
|
try {
|
|
@@ -9954,7 +9954,7 @@ function requireEideasyBrowserClient() {
|
|
|
9954
9954
|
_request(e3, t3) {
|
|
9955
9955
|
"string" == typeof e3 ? (t3 = t3 || {}).url = e3 : t3 = e3 || {}, t3 = ze2(this.defaults, t3);
|
|
9956
9956
|
const { transitional: n3, paramsSerializer: r3, headers: i2 } = t3;
|
|
9957
|
-
void 0 !== n3 &&
|
|
9957
|
+
void 0 !== n3 && St.assertOptions(n3, { silentJSONParsing: It.transitional(It.boolean), forcedJSONParsing: It.transitional(It.boolean), clarifyTimeoutError: It.transitional(It.boolean) }, false), null != r3 && (ne.isFunction(r3) ? t3.paramsSerializer = { serialize: r3 } : St.assertOptions(r3, { encode: It.function, serialize: It.function }, true)), void 0 !== t3.allowAbsoluteUrls || (void 0 !== this.defaults.allowAbsoluteUrls ? t3.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t3.allowAbsoluteUrls = true), St.assertOptions(t3, { baseUrl: It.spelling("baseURL"), withXsrfToken: It.spelling("withXSRFToken") }, true), t3.method = (t3.method || this.defaults.method || "get").toLowerCase();
|
|
9958
9958
|
let o2 = i2 && ne.merge(i2.common, i2[t3.method]);
|
|
9959
9959
|
i2 && ne.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (e4) => {
|
|
9960
9960
|
delete i2[e4];
|
|
@@ -10298,17 +10298,17 @@ function requireEideasyBrowserClient() {
|
|
|
10298
10298
|
const { i18n: a2, config: s2, monitoringService: c2, iframeMessenger: u2, logger: l2 } = i2;
|
|
10299
10299
|
return Object.freeze({ MODULE_NAME: e3, start: function() {
|
|
10300
10300
|
let e4 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
10301
|
-
const r4 = yn(yn({}, Vt), n3), i3 = yn(yn({}, s2), e4), d2 = Ft({ rawSettings: i3, schema: r4 }), { success: p3, fail: g2, finished: f2 } = d2, h3 = e4.language || a2.getCurrentLanguage(), y2 = o2.CancelToken.source(), T2 = y2.token,
|
|
10301
|
+
const r4 = yn(yn({}, Vt), n3), i3 = yn(yn({}, s2), e4), d2 = Ft({ rawSettings: i3, schema: r4 }), { success: p3, fail: g2, finished: f2 } = d2, h3 = e4.language || a2.getCurrentLanguage(), y2 = o2.CancelToken.source(), T2 = y2.token, m2 = { onCancelByUser: function() {
|
|
10302
10302
|
}, onRefreshByUser: function() {
|
|
10303
|
-
} },
|
|
10304
|
-
|
|
10303
|
+
} }, S3 = function(e5) {
|
|
10304
|
+
m2.onCancelByUser = e5;
|
|
10305
10305
|
}, I2 = function(e5) {
|
|
10306
|
-
|
|
10306
|
+
m2.onRefreshByUser = e5;
|
|
10307
10307
|
}, E2 = function() {
|
|
10308
10308
|
y2.cancel();
|
|
10309
10309
|
}, C2 = function() {
|
|
10310
10310
|
var e5 = nn(function* () {
|
|
10311
|
-
yield t3(yn(yn({}, d2), {}, { language: h3, i18n: a2, monitoringService: c2, cancelToken: T2, cancel: E2, setOnCancelByUser:
|
|
10311
|
+
yield t3(yn(yn({}, d2), {}, { language: h3, i18n: a2, monitoringService: c2, cancelToken: T2, cancel: E2, setOnCancelByUser: S3, setOnRefreshByUser: I2, apiClient: o2, iframeMessenger: u2, logger: l2 })).then(function(e6) {
|
|
10312
10312
|
p3(e6);
|
|
10313
10313
|
}).catch(function(e6) {
|
|
10314
10314
|
l2.error(e6), c2.dispatch({ message: JSON.stringify(gn(e6)) }), g2(an(e6));
|
|
@@ -10321,14 +10321,14 @@ function requireEideasyBrowserClient() {
|
|
|
10321
10321
|
return C2().catch(function(e5) {
|
|
10322
10322
|
l2.error(e5), c2.dispatch({ message: JSON.stringify(gn(e5)) }), g2(an(e5)), f2(an(e5));
|
|
10323
10323
|
}), Object.freeze({ cancel: function() {
|
|
10324
|
-
|
|
10324
|
+
m2.onCancelByUser(), E2();
|
|
10325
10325
|
}, refresh: function() {
|
|
10326
|
-
|
|
10326
|
+
m2.onRefreshByUser();
|
|
10327
10327
|
} });
|
|
10328
10328
|
} });
|
|
10329
10329
|
};
|
|
10330
10330
|
};
|
|
10331
|
-
function
|
|
10331
|
+
function mn(e3, t3) {
|
|
10332
10332
|
var n3 = Object.keys(e3);
|
|
10333
10333
|
if (Object.getOwnPropertySymbols) {
|
|
10334
10334
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -10338,12 +10338,12 @@ function requireEideasyBrowserClient() {
|
|
|
10338
10338
|
}
|
|
10339
10339
|
return n3;
|
|
10340
10340
|
}
|
|
10341
|
-
function
|
|
10341
|
+
function Sn(e3) {
|
|
10342
10342
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
10343
10343
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
10344
|
-
t3 % 2 ?
|
|
10344
|
+
t3 % 2 ? mn(Object(r3), true).forEach(function(t4) {
|
|
10345
10345
|
n2(e3, t4, r3[t4]);
|
|
10346
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
10346
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : mn(Object(r3)).forEach(function(t4) {
|
|
10347
10347
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
10348
10348
|
});
|
|
10349
10349
|
}
|
|
@@ -10356,13 +10356,13 @@ function requireEideasyBrowserClient() {
|
|
|
10356
10356
|
return a2 = yield sn(function() {
|
|
10357
10357
|
let e5 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t4 = e5.apiEndpoints.inCurrentMode.readCard({ countryCode: e5.countryCode, clientId: e5.clientId });
|
|
10358
10358
|
return e5.nonce && (t4 += "?nonce=".concat(e5.nonce)), i2.get({ url: t4, cancelToken: e5.cancelToken });
|
|
10359
|
-
})(
|
|
10359
|
+
})(Sn(Sn({}, e4), {}, { language: n3, cancelToken: t3 })).catch(function(e5) {
|
|
10360
10360
|
throw "ECONNABORTED" === e5.code && (e5.userMessage = o2.t("id-card-read-timeout")), e5;
|
|
10361
10361
|
}), a2 = yield sn(function() {
|
|
10362
10362
|
let e5 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
10363
10363
|
const t4 = u(r2.IDENTIFICATION, In, e5.countryCode);
|
|
10364
10364
|
return i2.post({ url: e5.apiEndpoints.inCurrentMode.identityFinish(), data: { token: e5.data.token, country: e5.countryCode, method: t4.actionType, lang: e5.language }, cancelToken: e5.cancelToken });
|
|
10365
|
-
})(
|
|
10365
|
+
})(Sn(Sn({}, e4), {}, { cancelToken: t3, language: n3, data: a2.data })), a2;
|
|
10366
10366
|
});
|
|
10367
10367
|
return function(t3) {
|
|
10368
10368
|
return e3.apply(this, arguments);
|
|
@@ -10827,12 +10827,12 @@ function requireEideasyBrowserClient() {
|
|
|
10827
10827
|
return function(t3) {
|
|
10828
10828
|
return e3.apply(this, arguments);
|
|
10829
10829
|
};
|
|
10830
|
-
}()), fr2 = Xn({ moduleName: s.seBankId, createModuleCreator: Tn }), hr = Xn({ moduleName: s.idin, createModuleCreator: Tn }), yr = Xn({ moduleName: s.idinCustomerId, createModuleCreator: Tn }), Tr = s.verifai,
|
|
10830
|
+
}()), fr2 = Xn({ moduleName: s.seBankId, createModuleCreator: Tn }), hr = Xn({ moduleName: s.idin, createModuleCreator: Tn }), yr = Xn({ moduleName: s.idinCustomerId, createModuleCreator: Tn }), Tr = s.verifai, mr = function(e3) {
|
|
10831
10831
|
let { apiEndpoints: t3, clientId: n3, redirectUri: r3, language: i2 } = e3;
|
|
10832
10832
|
return { data: { redirect_uri: t3.inCurrentMode.verifai({ clientId: n3, redirectUri: r3, language: i2 }) } };
|
|
10833
|
-
},
|
|
10833
|
+
}, Sr = Tn(Tr, function() {
|
|
10834
10834
|
var e3 = nn(function* (e4) {
|
|
10835
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 } = e4, a2 = yield sn(
|
|
10835
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 } = e4, a2 = yield sn(mr)({ apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 });
|
|
10836
10836
|
return sn(t3, { shouldFormatResult: false })(a2);
|
|
10837
10837
|
});
|
|
10838
10838
|
return function(t3) {
|
|
@@ -10849,8 +10849,8 @@ function requireEideasyBrowserClient() {
|
|
|
10849
10849
|
return function(t3) {
|
|
10850
10850
|
return e3.apply(this, arguments);
|
|
10851
10851
|
};
|
|
10852
|
-
}()), vr = Xn({ moduleName: s.plMojeId, createModuleCreator: Tn }), Ar = Xn({ moduleName: s.mitId, createModuleCreator: Tn }), br = Xn({ moduleName: s.mitId2, createModuleCreator: Tn }), _r = Xn({ moduleName: s.norwegianBankId, createModuleCreator: Tn }), Nr = Xn({ moduleName: s.
|
|
10853
|
-
function
|
|
10852
|
+
}()), vr = Xn({ moduleName: s.plMojeId, createModuleCreator: Tn }), Ar = Xn({ moduleName: s.mitId, createModuleCreator: Tn }), br = Xn({ moduleName: s.mitId2, createModuleCreator: Tn }), _r = Xn({ moduleName: s.norwegianBankId, createModuleCreator: Tn }), Nr = Xn({ moduleName: s.norwegianBankId2, createModuleCreator: Tn }), Rr = Xn({ moduleName: s.ftn, createModuleCreator: Tn }), Or = Xn({ moduleName: s.gbOneId, createModuleCreator: Tn }), Mr = Xn({ moduleName: s.veriff, createModuleCreator: Tn }), Dr = Xn({ moduleName: s.lIdentiteNumerique, createModuleCreator: Tn });
|
|
10853
|
+
function Ur(e3, t3) {
|
|
10854
10854
|
var n3 = Object.keys(e3);
|
|
10855
10855
|
if (Object.getOwnPropertySymbols) {
|
|
10856
10856
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -10860,18 +10860,18 @@ function requireEideasyBrowserClient() {
|
|
|
10860
10860
|
}
|
|
10861
10861
|
return n3;
|
|
10862
10862
|
}
|
|
10863
|
-
function
|
|
10863
|
+
function wr(e3) {
|
|
10864
10864
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
10865
10865
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
10866
|
-
t3 % 2 ?
|
|
10866
|
+
t3 % 2 ? Ur(Object(r3), true).forEach(function(t4) {
|
|
10867
10867
|
n2(e3, t4, r3[t4]);
|
|
10868
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
10868
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : Ur(Object(r3)).forEach(function(t4) {
|
|
10869
10869
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
10870
10870
|
});
|
|
10871
10871
|
}
|
|
10872
10872
|
return e3;
|
|
10873
10873
|
}
|
|
10874
|
-
const
|
|
10874
|
+
const kr = s.googleWallet, Lr = function() {
|
|
10875
10875
|
var e3 = nn(function* (e4) {
|
|
10876
10876
|
const t3 = function(e5) {
|
|
10877
10877
|
let { monitoringService: t4, moduleName: n4 } = e5;
|
|
@@ -10918,7 +10918,7 @@ function requireEideasyBrowserClient() {
|
|
|
10918
10918
|
};
|
|
10919
10919
|
}(), c2 = function() {
|
|
10920
10920
|
var e5 = nn(function* (e6) {
|
|
10921
|
-
const t4 = u(r2.IDENTIFICATION,
|
|
10921
|
+
const t4 = u(r2.IDENTIFICATION, kr);
|
|
10922
10922
|
return o2.post({ cancelToken: e6.cancelToken, url: e6.apiEndpoints.inCurrentMode.identityFinish(), data: { token: e6.token, claim_id: e6.claimId, document_type: e6.documentType, method: t4.actionType, lang: e6.language } });
|
|
10923
10923
|
});
|
|
10924
10924
|
return function(t4) {
|
|
@@ -10926,23 +10926,23 @@ function requireEideasyBrowserClient() {
|
|
|
10926
10926
|
};
|
|
10927
10927
|
}(), l2 = yield sn(function() {
|
|
10928
10928
|
let e5 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
10929
|
-
const t4 = u(r2.IDENTIFICATION,
|
|
10929
|
+
const t4 = u(r2.IDENTIFICATION, kr);
|
|
10930
10930
|
return { data: { url: e5.apiEndpoints.inCurrentMode.integrationIframe({ clientId: e5.clientId, actionType: t4.actionType, docId: "" }) } };
|
|
10931
|
-
})(
|
|
10932
|
-
yield sn(a2, { shouldFormatResult: false })(
|
|
10931
|
+
})(wr(wr({}, e4), {}, { cancelToken: n3 }));
|
|
10932
|
+
yield sn(a2, { shouldFormatResult: false })(wr(wr({}, e4), {}, { cancelToken: n3, iframeUrl: l2.data.url })).catch(function(e5) {
|
|
10933
10933
|
throw e5;
|
|
10934
10934
|
});
|
|
10935
10935
|
const d2 = yield sn(function(e5) {
|
|
10936
|
-
const t4 = u(r2.IDENTIFICATION,
|
|
10936
|
+
const t4 = u(r2.IDENTIFICATION, kr);
|
|
10937
10937
|
return o2.post({ cancelToken: e5.cancelToken, url: e5.apiEndpoints.inCurrentMode.identityStart(), data: { country: e5.countryCode, method: t4.actionType, lang: e5.language, document_type: e5.documentType } });
|
|
10938
|
-
})(
|
|
10939
|
-
return sn(c2)(
|
|
10938
|
+
})(wr(wr({}, e4), {}, { cancelToken: n3, language: i2 })), p3 = yield sn(s2, { shouldFormatResult: false })(wr(wr({}, e4), {}, { requestObject: d2.data.object, data: wr({}, d2.data), cancelToken: n3, language: i2 }));
|
|
10939
|
+
return sn(c2)(wr(wr({}, e4), {}, { token: p3.token, claimId: d2.data.token, cancelToken: n3 }));
|
|
10940
10940
|
});
|
|
10941
10941
|
return function(t3) {
|
|
10942
10942
|
return e3.apply(this, arguments);
|
|
10943
10943
|
};
|
|
10944
|
-
}(),
|
|
10945
|
-
function
|
|
10944
|
+
}(), Gr = Tn(kr, Lr, { countryCode: { type: "string", required: true }, documentType: { type: "string", required: true } });
|
|
10945
|
+
function Br(e3, t3) {
|
|
10946
10946
|
var n3 = Object.keys(e3);
|
|
10947
10947
|
if (Object.getOwnPropertySymbols) {
|
|
10948
10948
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -10952,33 +10952,33 @@ function requireEideasyBrowserClient() {
|
|
|
10952
10952
|
}
|
|
10953
10953
|
return n3;
|
|
10954
10954
|
}
|
|
10955
|
-
function
|
|
10955
|
+
function Pr(e3) {
|
|
10956
10956
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
10957
10957
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
10958
|
-
t3 % 2 ?
|
|
10958
|
+
t3 % 2 ? Br(Object(r3), true).forEach(function(t4) {
|
|
10959
10959
|
n2(e3, t4, r3[t4]);
|
|
10960
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
10960
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : Br(Object(r3)).forEach(function(t4) {
|
|
10961
10961
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
10962
10962
|
});
|
|
10963
10963
|
}
|
|
10964
10964
|
return e3;
|
|
10965
10965
|
}
|
|
10966
|
-
const
|
|
10966
|
+
const jr = s.eudiWallet, Fr = Tn(jr, function() {
|
|
10967
10967
|
var e3 = nn(function* (e4) {
|
|
10968
10968
|
const { cancelToken: t3, language: n3, apiClient: i2, started: o2 = function() {
|
|
10969
10969
|
}, pollInterval: a2 = 1e3, documentType: s2 } = e4;
|
|
10970
10970
|
let c2;
|
|
10971
10971
|
return c2 = yield sn(function(e5) {
|
|
10972
|
-
const t4 = u(r2.IDENTIFICATION,
|
|
10972
|
+
const t4 = u(r2.IDENTIFICATION, jr, e5.countryCode);
|
|
10973
10973
|
return i2.post({ url: e5.apiEndpoints.inCurrentMode.identityStart(), data: { country: e5.countryCode, method: t4.actionType, lang: e5.language, document_type: e5.documentType }, cancelToken: e5.cancelToken });
|
|
10974
|
-
})(
|
|
10974
|
+
})(Pr(Pr({}, e4), {}, { cancelToken: t3, language: n3, documentType: s2 })), o2(c2), c2 = yield sn(function(e5) {
|
|
10975
10975
|
const t4 = 6e5 / a2;
|
|
10976
10976
|
let n4 = 0;
|
|
10977
10977
|
return vn({ fn: function() {
|
|
10978
10978
|
return function(e6) {
|
|
10979
|
-
const t5 = u(r2.IDENTIFICATION,
|
|
10979
|
+
const t5 = u(r2.IDENTIFICATION, jr, e6.countryCode);
|
|
10980
10980
|
return i2.post({ url: e6.apiEndpoints.inCurrentMode.identityFinish(), data: { token: e6.data.token, method: t5.actionType, timeout: 2, lang: e6.language }, cancelToken: e6.cancelToken });
|
|
10981
|
-
}(
|
|
10981
|
+
}(Pr(Pr({}, e5.config), {}, { data: e5.data, cancelToken: e5.cancelToken, language: e5.language }));
|
|
10982
10982
|
}, shouldContinue: function(e6) {
|
|
10983
10983
|
const { result: r3 } = e6, i3 = r3 && r3.data && r3.data.status, o3 = Mt(e6.error), a3 = e6.error && !e6.error.response && !o3;
|
|
10984
10984
|
a3 && (n4 += 1);
|
|
@@ -10990,19 +10990,19 @@ function requireEideasyBrowserClient() {
|
|
|
10990
10990
|
return function(t3) {
|
|
10991
10991
|
return e3.apply(this, arguments);
|
|
10992
10992
|
};
|
|
10993
|
-
}(), { countryCode: { type: "string", required: true }, documentType: { type: "string", required: true } }),
|
|
10993
|
+
}(), { countryCode: { type: "string", required: true }, documentType: { type: "string", required: true } }), xr = s.spid, Vr = function(e3) {
|
|
10994
10994
|
let { apiEndpoints: t3, clientId: n3, redirectUri: r3, language: i2 } = e3;
|
|
10995
10995
|
return { data: { redirect_uri: t3.inCurrentMode.spid({ clientId: n3, redirectUri: r3, language: i2 }) } };
|
|
10996
|
-
},
|
|
10996
|
+
}, Kr = Tn(xr, function() {
|
|
10997
10997
|
var e3 = nn(function* (e4) {
|
|
10998
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 } = e4, a2 = yield sn(
|
|
10998
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 } = e4, a2 = yield sn(Vr)({ apiEndpoints: n3, clientId: r3, redirectUri: i2, language: o2 });
|
|
10999
10999
|
return sn(t3, { shouldFormatResult: false })(a2);
|
|
11000
11000
|
});
|
|
11001
11001
|
return function(t3) {
|
|
11002
11002
|
return e3.apply(this, arguments);
|
|
11003
11003
|
};
|
|
11004
11004
|
}());
|
|
11005
|
-
function
|
|
11005
|
+
function Hr(e3, t3) {
|
|
11006
11006
|
var n3 = Object.keys(e3);
|
|
11007
11007
|
if (Object.getOwnPropertySymbols) {
|
|
11008
11008
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -11012,33 +11012,33 @@ function requireEideasyBrowserClient() {
|
|
|
11012
11012
|
}
|
|
11013
11013
|
return n3;
|
|
11014
11014
|
}
|
|
11015
|
-
function
|
|
11015
|
+
function qr(e3) {
|
|
11016
11016
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
11017
11017
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
11018
|
-
t3 % 2 ?
|
|
11018
|
+
t3 % 2 ? Hr(Object(r3), true).forEach(function(t4) {
|
|
11019
11019
|
n2(e3, t4, r3[t4]);
|
|
11020
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
11020
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : Hr(Object(r3)).forEach(function(t4) {
|
|
11021
11021
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
11022
11022
|
});
|
|
11023
11023
|
}
|
|
11024
11024
|
return e3;
|
|
11025
11025
|
}
|
|
11026
|
-
const
|
|
11026
|
+
const Qr = s.evrotrust, Zr = Tn(Qr, function() {
|
|
11027
11027
|
var e3 = nn(function* (e4) {
|
|
11028
11028
|
const { cancelToken: t3, language: n3, apiClient: i2, started: o2 = function() {
|
|
11029
11029
|
}, phone: a2, pollInterval: s2 = 1e3 } = e4;
|
|
11030
11030
|
let c2;
|
|
11031
11031
|
return c2 = yield sn(function(e5) {
|
|
11032
|
-
const t4 = u(r2.IDENTIFICATION,
|
|
11032
|
+
const t4 = u(r2.IDENTIFICATION, Qr, e5.countryCode);
|
|
11033
11033
|
return i2.post({ url: e5.apiEndpoints.inCurrentMode.identityStart(), data: { phone: e5.phone, country: e5.countryCode, method: t4.actionType, lang: e5.language }, cancelToken: e5.cancelToken });
|
|
11034
|
-
})(
|
|
11034
|
+
})(qr(qr({}, e4), {}, { cancelToken: t3, language: n3, phone: a2 })), o2(c2), c2 = yield sn(function(e5) {
|
|
11035
11035
|
const t4 = 6e5 / s2;
|
|
11036
11036
|
let n4 = 0;
|
|
11037
11037
|
return vn({ fn: function() {
|
|
11038
11038
|
return function(e6) {
|
|
11039
|
-
const t5 = u(r2.IDENTIFICATION,
|
|
11039
|
+
const t5 = u(r2.IDENTIFICATION, Qr, e6.countryCode);
|
|
11040
11040
|
return i2.post({ url: e6.apiEndpoints.inCurrentMode.identityFinish(), data: { token: e6.data.token, method: t5.actionType, timeout: 2, lang: e6.language }, cancelToken: e6.cancelToken });
|
|
11041
|
-
}(
|
|
11041
|
+
}(qr(qr({}, e5.config), {}, { data: e5.data, cancelToken: e5.cancelToken, language: e5.language }));
|
|
11042
11042
|
}, shouldContinue: function(e6) {
|
|
11043
11043
|
const { result: r3 } = e6, i3 = r3 && r3.data && r3.data.status, o3 = Mt(e6.error), a3 = e6.error && !e6.error.response && !o3;
|
|
11044
11044
|
a3 && (n4 += 1);
|
|
@@ -11050,12 +11050,12 @@ function requireEideasyBrowserClient() {
|
|
|
11050
11050
|
return function(t3) {
|
|
11051
11051
|
return e3.apply(this, arguments);
|
|
11052
11052
|
};
|
|
11053
|
-
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true } }),
|
|
11053
|
+
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true } }), Wr = function() {
|
|
11054
11054
|
let { message: e3 = "", userMessage: t3 = "", details: n3 = {} } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
11055
11055
|
this.message = e3, this.userMessage = t3, this.details = n3, this.stack = new Error().stack;
|
|
11056
11056
|
};
|
|
11057
|
-
(
|
|
11058
|
-
const
|
|
11057
|
+
(Wr.prototype = new Error()).name = "MethodException";
|
|
11058
|
+
const zr = Wr, Jr = { iframeHolder: { type: "object" }, docId: { type: "string", required: true }, signingCertificate: { type: "string", required: false } }, Yr = function(e3) {
|
|
11059
11059
|
let { moduleName: t3, createModuleCreator: n3 } = e3;
|
|
11060
11060
|
const i2 = function(e4) {
|
|
11061
11061
|
let { countryCode: n4, clientId: i3, docId: o3, apiEndpoints: a3 } = e4;
|
|
@@ -11064,13 +11064,13 @@ function requireEideasyBrowserClient() {
|
|
|
11064
11064
|
}, o2 = function(e4, t4) {
|
|
11065
11065
|
if (e4 instanceof Error) throw e4;
|
|
11066
11066
|
let n4;
|
|
11067
|
-
throw "no_certificates" === e4.result && (n4 = t4.t("no_certificates")), new
|
|
11067
|
+
throw "no_certificates" === e4.result && (n4 = t4.t("no_certificates")), new zr({ userMessage: n4, message: e4.message, details: e4 });
|
|
11068
11068
|
}, a2 = function() {
|
|
11069
11069
|
var e4 = nn(function(e5) {
|
|
11070
11070
|
let { iframeHolder: t4, iframeUrl: n4, monitor: r3, iframeMessenger: i3, cancelToken: o3 } = e5;
|
|
11071
11071
|
return function* () {
|
|
11072
11072
|
const e6 = document.createElement("iframe");
|
|
11073
|
-
e6.setAttribute("src", n4), e6.setAttribute("referrerpolicy", "origin"), e6.setAttribute("allow", "clipboard-write"), e6.style.width = "100%", e6.style.height = "100%", e6.style.position = "relative", e6.style.border = "0", t4.innerHTML = "", r3.log("Trying to create iframe with src: ".concat(n4)), t4.appendChild(e6);
|
|
11073
|
+
e6.setAttribute("src", n4), e6.setAttribute("referrerpolicy", "origin"), e6.setAttribute("allow", "clipboard-write;local-network-access"), e6.style.width = "100%", e6.style.height = "100%", e6.style.position = "relative", e6.style.border = "0", t4.innerHTML = "", r3.log("Trying to create iframe with src: ".concat(n4)), t4.appendChild(e6);
|
|
11074
11074
|
try {
|
|
11075
11075
|
return yield i3.send({ iframe: e6, message: { operation: "ready" }, cancelToken: o3 }), new Promise(function(t5) {
|
|
11076
11076
|
t5(e6);
|
|
@@ -11113,7 +11113,7 @@ function requireEideasyBrowserClient() {
|
|
|
11113
11113
|
return _n({ pollInterval: 2e3, maxPollDuration: 36e4, fn: d2, fnArgs: [{ data: t4, apiClient: n4, apiEndpoints: r3, language: i3, cancelToken: o3, docId: a3, clientId: s3, signatures: c3, actionType: u2 }] }).start();
|
|
11114
11114
|
}, f2 = function() {
|
|
11115
11115
|
var e4 = nn(function(e5) {
|
|
11116
|
-
let { countryCode: n4, clientId: d3, apiEndpoints: f3, iframeHolder: h3, i18n: y2, iframeMessenger: T2, docId:
|
|
11116
|
+
let { countryCode: n4, clientId: d3, apiEndpoints: f3, iframeHolder: h3, i18n: y2, iframeMessenger: T2, docId: m2, cancelToken: S3, apiClient: I2, monitoringService: E2, action: C2, redirect: v2, signingCertificate: A2 } = e5;
|
|
11117
11117
|
return function* () {
|
|
11118
11118
|
const e6 = function(e7) {
|
|
11119
11119
|
let { monitoringService: t4, moduleName: n5 } = e7;
|
|
@@ -11123,116 +11123,116 @@ function requireEideasyBrowserClient() {
|
|
|
11123
11123
|
const i3 = JSON.stringify(gn(r3));
|
|
11124
11124
|
t4.dispatch({ message: "".concat(n5, ": ").concat(e8, ", reason: ").concat(i3) });
|
|
11125
11125
|
} });
|
|
11126
|
-
}({ monitoringService: E2, moduleName: t3 }), b2 = u(r2.SIGNATURE, t3, n4), _2 = yield sn(i2, { shouldFormatResult: false })({ countryCode: n4, clientId: d3, docId:
|
|
11126
|
+
}({ monitoringService: E2, moduleName: t3 }), b2 = u(r2.SIGNATURE, t3, n4), _2 = yield sn(i2, { shouldFormatResult: false })({ countryCode: n4, clientId: d3, docId: m2, apiEndpoints: f3 }), N2 = yield sn(a2, { shouldFormatResult: false })({ iframeUrl: _2, iframeHolder: h3, i18n: y2, monitor: e6, iframeMessenger: T2, cancelToken: S3 }).catch(function(e7) {
|
|
11127
11127
|
return o2(e7, y2);
|
|
11128
11128
|
});
|
|
11129
11129
|
let R2 = A2;
|
|
11130
|
-
if (R2 || (R2 = (yield sn(s2)({ iframeMessenger: T2, iframe: N2, country: n4, monitor: e6, cancelToken:
|
|
11130
|
+
if (R2 || (R2 = (yield sn(s2)({ iframeMessenger: T2, iframe: N2, country: n4, monitor: e6, cancelToken: S3 }).catch(function(e7) {
|
|
11131
11131
|
return o2(e7, y2);
|
|
11132
11132
|
})).data.certificate), "cscApiAuthorizeCredential" === C2) {
|
|
11133
|
-
const e7 = yield sn(p3)({ certificate: R2, actionType: b2.actionType, country: n4, cancelToken:
|
|
11133
|
+
const e7 = yield sn(p3)({ certificate: R2, actionType: b2.actionType, country: n4, cancelToken: S3, apiEndpoints: f3, apiClient: I2 });
|
|
11134
11134
|
return sn(v2, { shouldFormatResult: false })(e7);
|
|
11135
11135
|
}
|
|
11136
|
-
const O2 = yield sn(c2)({ certificate: R2, clientId: d3, docId:
|
|
11136
|
+
const O2 = yield sn(c2)({ certificate: R2, clientId: d3, docId: m2, countryCode: n4, cancelToken: S3, apiEndpoints: f3, apiClient: I2, monitor: e6, actionType: b2.actionType }), M2 = yield sn(l2, { shouldFormatResult: false })({ iframeMessenger: T2, iframe: N2, hexDigests: [O2.data.hexDigest], signedInfoDigests: O2.data.signedInfoDigests, certificate: A2, monitor: e6, cancelToken: S3 }).catch(function(e7) {
|
|
11137
11137
|
return o2(e7, y2);
|
|
11138
11138
|
});
|
|
11139
|
-
return sn(g2)({ signatures: M2.signatures, clientId: d3, docId:
|
|
11139
|
+
return sn(g2)({ signatures: M2.signatures, clientId: d3, docId: m2, cancelToken: S3, apiEndpoints: f3, apiClient: I2, actionType: b2.actionType });
|
|
11140
11140
|
}();
|
|
11141
11141
|
});
|
|
11142
11142
|
return function(t4) {
|
|
11143
11143
|
return e4.apply(this, arguments);
|
|
11144
11144
|
};
|
|
11145
11145
|
}();
|
|
11146
|
-
return n3(t3, f2,
|
|
11147
|
-
},
|
|
11146
|
+
return n3(t3, f2, Jr);
|
|
11147
|
+
}, Xr = Yr({ moduleName: s.idCardSignature, createModuleCreator: Tn }), $r = s.mobileIdSignature, ei = function(e3) {
|
|
11148
11148
|
let { certificate: t3, country: n3, phone: r3, idcode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 } = e3;
|
|
11149
11149
|
const c2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
11150
11150
|
return s2.post({ url: c2, withCredentials: false, data: { sign_type: "mid-signature", certificate: t3, country: n3, phone: r3, idcode: i2 }, cancelToken: o2 });
|
|
11151
|
-
},
|
|
11151
|
+
}, ti = function(e3) {
|
|
11152
11152
|
let { phone: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2 } = e3;
|
|
11153
11153
|
const l2 = a2.inCurrentMode.startSigning();
|
|
11154
11154
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: "mobile-id", phone: t3, idcode: n3, country: c2, lang: u2 }, cancelToken: o2 });
|
|
11155
|
-
},
|
|
11155
|
+
}, ni = function(e3) {
|
|
11156
11156
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11157
11157
|
return n3.post({ url: r3.inCurrentMode.completeSignatureMobileId(), withCredentials: false, data: { token: t3.token, doc_id: a2, timeout: 2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
11158
|
-
},
|
|
11158
|
+
}, ri = function(e3) {
|
|
11159
11159
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11160
|
-
return _n({ pollInterval: 2e3, maxPollDuration: 12e4, fn:
|
|
11161
|
-
},
|
|
11160
|
+
return _n({ pollInterval: 2e3, maxPollDuration: 12e4, fn: ni, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
11161
|
+
}, ii = Tn($r, function() {
|
|
11162
11162
|
var e3 = nn(function(e4) {
|
|
11163
11163
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, idcode: l2, phone: d2, countryCode: p3, started: g2, action: f2, redirect: h3 } = e4;
|
|
11164
11164
|
return function* () {
|
|
11165
11165
|
if ("cscApiAuthorizeCredential" === f2) {
|
|
11166
|
-
const e6 = yield sn(
|
|
11166
|
+
const e6 = yield sn(ei)({ country: p3, idcode: l2, phone: d2, cancelToken: i2, apiEndpoints: o2, apiClient: a2 });
|
|
11167
11167
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
11168
11168
|
}
|
|
11169
|
-
const e5 = u(r2.SIGNATURE,
|
|
11169
|
+
const e5 = u(r2.SIGNATURE, $r, p3);
|
|
11170
11170
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11171
|
-
const y2 = yield sn(
|
|
11172
|
-
return g2(y2), sn(
|
|
11171
|
+
const y2 = yield sn(ti)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, idcode: l2, phone: d2, countryCode: p3 });
|
|
11172
|
+
return g2(y2), sn(ri)({ data: y2.data, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
11173
11173
|
}();
|
|
11174
11174
|
});
|
|
11175
11175
|
return function(t3) {
|
|
11176
11176
|
return e3.apply(this, arguments);
|
|
11177
11177
|
};
|
|
11178
|
-
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
11178
|
+
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }), oi = s.smartIdSignature, ai = function(e3) {
|
|
11179
11179
|
let { contractId: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, waitForChallengeCode: l2 } = e3;
|
|
11180
11180
|
const d2 = a2.inCurrentMode.startSigning();
|
|
11181
11181
|
return s2.post({ url: d2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: "smart-id", idcode: n3, country: c2, lang: u2, wait_for_challenge_code: l2 }, cancelToken: o2 });
|
|
11182
|
-
},
|
|
11182
|
+
}, si = function(e3) {
|
|
11183
11183
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11184
11184
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSmartId(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2, timeout: 2 }, cancelToken: o2 });
|
|
11185
|
-
},
|
|
11185
|
+
}, ci = function(e3) {
|
|
11186
11186
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, onTryComplete: c2, setOnRefreshByUser: u2 } = e3;
|
|
11187
11187
|
const l2 = _n({ pollInterval: 2e3, maxPollDuration: 12e4, onPoll: function(e4) {
|
|
11188
11188
|
c2({ data: e4 && e4.result && e4.result.data || {} });
|
|
11189
|
-
}, fn:
|
|
11189
|
+
}, fn: si, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] });
|
|
11190
11190
|
return new Promise(function(e4, t4) {
|
|
11191
11191
|
l2.start({ setOnRefreshByUser: u2 }).then(e4).catch(t4);
|
|
11192
11192
|
});
|
|
11193
|
-
},
|
|
11193
|
+
}, ui = function(e3) {
|
|
11194
11194
|
let { country: t3, cancelToken: n3, apiEndpoints: r3, apiClient: i2, idcode: o2 } = e3;
|
|
11195
11195
|
const a2 = r3.inCurrentMode.cscApiAuthorizeCredential();
|
|
11196
11196
|
return i2.post({ url: a2, withCredentials: false, data: { sign_type: "smart-id-signature", country: t3, idcode: o2 }, cancelToken: n3 });
|
|
11197
|
-
},
|
|
11197
|
+
}, li = Tn(oi, function() {
|
|
11198
11198
|
var e3 = nn(function(e4) {
|
|
11199
|
-
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, idcode: d2, countryCode: p3, started: g2, action: f2, redirect: h3, onTryComplete: y2, waitForChallengeCode: T2 = true, setOnRefreshByUser:
|
|
11199
|
+
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, idcode: d2, countryCode: p3, started: g2, action: f2, redirect: h3, onTryComplete: y2, waitForChallengeCode: T2 = true, setOnRefreshByUser: m2 } = e4;
|
|
11200
11200
|
return function* () {
|
|
11201
|
-
const e5 = u(r2.SIGNATURE,
|
|
11201
|
+
const e5 = u(r2.SIGNATURE, oi, p3);
|
|
11202
11202
|
if ("cscApiAuthorizeCredential" === f2) {
|
|
11203
|
-
const e6 = yield sn(
|
|
11203
|
+
const e6 = yield sn(ui)({ country: p3, idcode: d2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 });
|
|
11204
11204
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
11205
11205
|
}
|
|
11206
11206
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11207
|
-
const
|
|
11208
|
-
return g2(
|
|
11207
|
+
const S3 = yield sn(ai)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: d2, countryCode: p3, contractId: i2, waitForChallengeCode: T2 });
|
|
11208
|
+
return g2(S3), sn(ci)({ data: S3.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3, onTryComplete: y2, setOnRefreshByUser: m2 });
|
|
11209
11209
|
}();
|
|
11210
11210
|
});
|
|
11211
11211
|
return function(t3) {
|
|
11212
11212
|
return e3.apply(this, arguments);
|
|
11213
11213
|
};
|
|
11214
|
-
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
11214
|
+
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, docId: { type: "string", required: true } }), di = { countryCode: { type: "string", required: true }, idcode: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }, pi = function(e3) {
|
|
11215
11215
|
let { country: t3, phone: n3, email: r3, idcode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, signType: c2 } = e3;
|
|
11216
11216
|
const u2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
11217
11217
|
return s2.post({ url: u2, withCredentials: false, data: { sign_type: c2, country: t3, phone: n3, email: r3, idcode: i2 }, cancelToken: o2 });
|
|
11218
|
-
},
|
|
11218
|
+
}, gi = function(e3) {
|
|
11219
11219
|
let { contractId: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, email: l2, phone: d2, actionType: p3 } = e3;
|
|
11220
11220
|
const g2 = a2.inCurrentMode.startSigning();
|
|
11221
11221
|
return s2.post({ url: g2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: p3, idcode: n3, email: l2, phone: d2, country: c2, lang: u2 }, cancelToken: o2 });
|
|
11222
|
-
},
|
|
11222
|
+
}, fi2 = function(e3, t3, n3) {
|
|
11223
11223
|
const i2 = function(e4, t4, n4) {
|
|
11224
11224
|
return function() {
|
|
11225
11225
|
var i3 = nn(function(i4) {
|
|
11226
|
-
let { clientId: o2, docId: a2, contractId: s2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, monitoringService: p3, language: g2, idcode: f2, phone: h3, email: y2, countryCode: T2, started:
|
|
11226
|
+
let { clientId: o2, docId: a2, contractId: s2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, monitoringService: p3, language: g2, idcode: f2, phone: h3, email: y2, countryCode: T2, started: m2, action: S3, redirect: I2, setOnRefreshByUser: E2, logger: C2 } = i4;
|
|
11227
11227
|
return function* () {
|
|
11228
11228
|
const i5 = u(r2.SIGNATURE, e4, T2);
|
|
11229
|
-
if (p3.dispatch({ message: "".concat(i5.actionType, ": signing started") }), C2.info("".concat(i5.actionType, ": signing started")), "cscApiAuthorizeCredential" ===
|
|
11229
|
+
if (p3.dispatch({ message: "".concat(i5.actionType, ": signing started") }), C2.info("".concat(i5.actionType, ": signing started")), "cscApiAuthorizeCredential" === S3) {
|
|
11230
11230
|
C2.info("".concat(i5.actionType, ": cscApiAuthorizeCredential called"));
|
|
11231
|
-
const e5 = yield sn(
|
|
11231
|
+
const e5 = yield sn(pi)({ country: T2, idcode: f2, phone: h3, email: y2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, signType: t4 });
|
|
11232
11232
|
return C2.info("".concat(i5.actionType, ": authorizationResult"), e5), sn(I2, { shouldFormatResult: false })(e5);
|
|
11233
11233
|
}
|
|
11234
|
-
const v2 = yield sn(
|
|
11235
|
-
return C2.info("".concat(i5.actionType, ": signing start result"), v2),
|
|
11234
|
+
const v2 = yield sn(gi)({ clientId: o2, docId: a2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, language: g2, idcode: f2, phone: h3, email: y2, countryCode: T2, contractId: s2, actionType: i5.actionType });
|
|
11235
|
+
return C2.info("".concat(i5.actionType, ": signing start result"), v2), m2(v2), sn(function() {
|
|
11236
11236
|
const e5 = _n({ pollInterval: 2e3, fn: function() {
|
|
11237
11237
|
return d2.post({ url: n4(l2), withCredentials: false, data: { token: v2.data.token, doc_id: a2, lang: g2, client_id: o2 }, cancelToken: c2 });
|
|
11238
11238
|
}, fnTimeoutMs: 15e3, logger: C2, fnArgs: [] });
|
|
@@ -11247,12 +11247,12 @@ function requireEideasyBrowserClient() {
|
|
|
11247
11247
|
};
|
|
11248
11248
|
}();
|
|
11249
11249
|
}(e3, t3, n3);
|
|
11250
|
-
return Tn(e3, i2,
|
|
11251
|
-
},
|
|
11250
|
+
return Tn(e3, i2, di);
|
|
11251
|
+
}, hi = fi2(s.evroTrustSignature, "evrotrust-signature", function(e3) {
|
|
11252
11252
|
return e3.inCurrentMode.completeSignatureEvrotrust();
|
|
11253
|
-
}),
|
|
11253
|
+
}), yi = fi2(s.evroTrustGedaSignature, "evrotrust-geda-signature", function(e3) {
|
|
11254
11254
|
return e3.inCurrentMode.completeSignatureEvrotrustGeda();
|
|
11255
|
-
}),
|
|
11255
|
+
}), Ti = s.otpSignature, mi = function() {
|
|
11256
11256
|
var e3 = nn(function(e4) {
|
|
11257
11257
|
let { language: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, actionType: s2 } = e4;
|
|
11258
11258
|
return function* () {
|
|
@@ -11271,31 +11271,31 @@ function requireEideasyBrowserClient() {
|
|
|
11271
11271
|
e5.isCancel = true, i2(e5);
|
|
11272
11272
|
}), n3({ data: t3.data }, e4, i2);
|
|
11273
11273
|
});
|
|
11274
|
-
},
|
|
11274
|
+
}, Ii = function(e3) {
|
|
11275
11275
|
let { apiClient: t3, apiEndpoints: n3, language: r3, cancelToken: i2, docId: o2, clientId: a2, emailToken: s2, smsToken: c2, handwrittenSignatureData: u2, handwrittenSignatureDataUrl: l2 } = e3;
|
|
11276
11276
|
return t3.post({ url: n3.inCurrentMode.completeOtp(), withCredentials: false, data: { doc_id: o2, timeout: 2, lang: r3, client_id: a2, email_token: s2, sms_token: c2, handwritten_signature_data: u2, handwritten_signature_data_url: l2 }, cancelToken: i2 });
|
|
11277
|
-
},
|
|
11277
|
+
}, Ei = Tn(Ti, function() {
|
|
11278
11278
|
var e3 = nn(function(e4) {
|
|
11279
11279
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2, started: h3, confirmationCodeRequest: y2, setOnCancelByUser: T2 } = e4;
|
|
11280
11280
|
return function* () {
|
|
11281
|
-
const e5 = u(r2.SIGNATURE,
|
|
11281
|
+
const e5 = u(r2.SIGNATURE, Ti, l2);
|
|
11282
11282
|
if (console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), !p3 && !d2) {
|
|
11283
|
-
const r3 = yield sn(
|
|
11283
|
+
const r3 = yield sn(mi)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, actionType: e5.actionType });
|
|
11284
11284
|
h3(r3);
|
|
11285
11285
|
const s3 = yield sn(Si, { shouldFormatResult: false })({ startSigningResult: r3, confirmationCodeRequest: y2, setOnCancelByUser: T2 });
|
|
11286
11286
|
p3 = s3.smsToken, d2 = s3.emailToken;
|
|
11287
11287
|
}
|
|
11288
|
-
return sn(
|
|
11288
|
+
return sn(Ii)({ apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 });
|
|
11289
11289
|
}();
|
|
11290
11290
|
});
|
|
11291
11291
|
return function(t3) {
|
|
11292
11292
|
return e3.apply(this, arguments);
|
|
11293
11293
|
};
|
|
11294
|
-
}(), { docId: { type: "string", required: true }, emailToken: { type: "string" }, smsToken: { type: "string" } }),
|
|
11294
|
+
}(), { docId: { type: "string", required: true }, emailToken: { type: "string" }, smsToken: { type: "string" } }), Ci = { docId: { type: "string", required: true }, confirmedBySigner: { validator: (e3) => [null, true, false].includes(e3) } }, vi = function(e3) {
|
|
11295
11295
|
let { certificate: t3, country: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
11296
11296
|
const s2 = i2.inCurrentMode.cscApiAuthorizeCredentialRedirect();
|
|
11297
11297
|
return o2.post({ url: s2, withCredentials: false, data: { sign_type: a2, certificate: t3, country: n3 }, cancelToken: r3 });
|
|
11298
|
-
},
|
|
11298
|
+
}, Ai = function(e3) {
|
|
11299
11299
|
let { moduleName: t3, createModuleCreator: n3 } = e3;
|
|
11300
11300
|
const i2 = function(e4) {
|
|
11301
11301
|
let { contractId: t4, clientId: n4, docId: r3, cancelToken: i3, apiEndpoints: o3, apiClient: a2, language: s2, actionType: c2, confirmedBySigner: u2, country: l2 } = e4;
|
|
@@ -11307,7 +11307,7 @@ function requireEideasyBrowserClient() {
|
|
|
11307
11307
|
return function* () {
|
|
11308
11308
|
const e6 = u(r2.SIGNATURE, t3, g2);
|
|
11309
11309
|
if ("cscApiAuthorizeCredential" === y2) {
|
|
11310
|
-
const t4 = yield sn(
|
|
11310
|
+
const t4 = yield sn(vi)({ country: g2, cancelToken: s2, apiEndpoints: c2, apiClient: l2, actionType: e6.actionType });
|
|
11311
11311
|
return sn(f2, { shouldFormatResult: false })(t4);
|
|
11312
11312
|
}
|
|
11313
11313
|
d2.dispatch({ message: "".concat(e6.actionType, ": signing started") });
|
|
@@ -11319,46 +11319,46 @@ function requireEideasyBrowserClient() {
|
|
|
11319
11319
|
return e4.apply(this, arguments);
|
|
11320
11320
|
};
|
|
11321
11321
|
}();
|
|
11322
|
-
return n3(t3, o2,
|
|
11323
|
-
},
|
|
11322
|
+
return n3(t3, o2, Ci);
|
|
11323
|
+
}, bi = Ai({ moduleName: s.eParakstsMobileSignature, createModuleCreator: Tn }), _i = Ai({ moduleName: s.ftnAdvancedFullSignature, createModuleCreator: Tn }), Ni = Ai({ moduleName: s.ftnSignature, createModuleCreator: Tn }), Ri = Ai({ moduleName: s.atHandySignature, createModuleCreator: Tn }), Oi = s.zealIdSignature, Mi = function(e3) {
|
|
11324
11324
|
let { apiEndpoints: t3, clientId: n3, docId: r3 } = e3;
|
|
11325
11325
|
return { data: { redirect_uri: t3.inCurrentMode.startZealIdSignature({ clientId: n3, docId: r3 }) } };
|
|
11326
|
-
},
|
|
11326
|
+
}, Di = Tn(Oi, function() {
|
|
11327
11327
|
var e3 = nn(function* (e4) {
|
|
11328
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, docId: i2 } = e4, o2 = yield sn(
|
|
11328
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, docId: i2 } = e4, o2 = yield sn(Mi)({ apiEndpoints: n3, clientId: r3, docId: i2 });
|
|
11329
11329
|
return sn(t3, { shouldFormatResult: false })(o2);
|
|
11330
11330
|
});
|
|
11331
11331
|
return function(t3) {
|
|
11332
11332
|
return e3.apply(this, arguments);
|
|
11333
11333
|
};
|
|
11334
|
-
}()),
|
|
11334
|
+
}()), Ui = Ai({ moduleName: s.mojeIdSignature, createModuleCreator: Tn }), wi = Ai({ moduleName: s.serproIdAdvancedSignature, createModuleCreator: Tn }), ki = Ai({ moduleName: s.czBankIDSignature, createModuleCreator: Tn }), Li = Ai({ moduleName: s.abaDoSignature, createModuleCreator: Tn }), Gi = Ai({ moduleName: s.googleSignature, createModuleCreator: Tn }), Bi = Ai({ moduleName: s.seBankIdSignature, createModuleCreator: Tn }), Pi = s.dTrustSignMeSignature, ji = function(e3) {
|
|
11335
11335
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2 } = e3;
|
|
11336
11336
|
const l2 = o2.inCurrentMode.startSigning();
|
|
11337
11337
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2 }, cancelToken: i2 });
|
|
11338
|
-
},
|
|
11338
|
+
}, Fi = Tn(Pi, function() {
|
|
11339
11339
|
var e3 = nn(function(e4) {
|
|
11340
11340
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, redirect: g2 } = e4;
|
|
11341
11341
|
return function* () {
|
|
11342
|
-
const e5 = u(r2.SIGNATURE,
|
|
11342
|
+
const e5 = u(r2.SIGNATURE, Pi, d2);
|
|
11343
11343
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11344
|
-
const f2 = yield sn(
|
|
11344
|
+
const f2 = yield sn(ji)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, actionType: e5.actionType });
|
|
11345
11345
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
11346
11346
|
}();
|
|
11347
11347
|
});
|
|
11348
11348
|
return function(t3) {
|
|
11349
11349
|
return e3.apply(this, arguments);
|
|
11350
11350
|
};
|
|
11351
|
-
}(), { username: { type: "string", required: true } }),
|
|
11351
|
+
}(), { username: { type: "string", required: true } }), xi = s.dTrustSignMeAdvSignature, Vi = function(e3) {
|
|
11352
11352
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2 } = e3;
|
|
11353
11353
|
const l2 = o2.inCurrentMode.startSigning();
|
|
11354
11354
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2 }, cancelToken: i2 });
|
|
11355
|
-
},
|
|
11355
|
+
}, Ki = Tn(xi, function() {
|
|
11356
11356
|
var e3 = nn(function(e4) {
|
|
11357
11357
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, redirect: g2 } = e4;
|
|
11358
11358
|
return function* () {
|
|
11359
|
-
const e5 = u(r2.SIGNATURE,
|
|
11359
|
+
const e5 = u(r2.SIGNATURE, xi, d2);
|
|
11360
11360
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11361
|
-
const f2 = yield sn(
|
|
11361
|
+
const f2 = yield sn(Vi)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, actionType: e5.actionType });
|
|
11362
11362
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
11363
11363
|
}();
|
|
11364
11364
|
});
|
|
@@ -11366,56 +11366,56 @@ function requireEideasyBrowserClient() {
|
|
|
11366
11366
|
return e3.apply(this, arguments);
|
|
11367
11367
|
};
|
|
11368
11368
|
}(), { username: { type: "string", required: true } });
|
|
11369
|
-
function
|
|
11369
|
+
function Hi(e3) {
|
|
11370
11370
|
return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(e3);
|
|
11371
11371
|
}
|
|
11372
|
-
function
|
|
11372
|
+
function qi(e3, t3) {
|
|
11373
11373
|
return e3 & t3;
|
|
11374
11374
|
}
|
|
11375
|
-
function
|
|
11375
|
+
function Qi(e3, t3) {
|
|
11376
11376
|
return e3 | t3;
|
|
11377
11377
|
}
|
|
11378
|
-
function
|
|
11378
|
+
function Zi(e3, t3) {
|
|
11379
11379
|
return e3 ^ t3;
|
|
11380
11380
|
}
|
|
11381
|
-
function
|
|
11381
|
+
function Wi(e3, t3) {
|
|
11382
11382
|
return e3 & ~t3;
|
|
11383
11383
|
}
|
|
11384
|
-
function
|
|
11384
|
+
function zi(e3) {
|
|
11385
11385
|
if (0 == e3) return -1;
|
|
11386
11386
|
var t3 = 0;
|
|
11387
11387
|
return 65535 & e3 || (e3 >>= 16, t3 += 16), 255 & e3 || (e3 >>= 8, t3 += 8), 15 & e3 || (e3 >>= 4, t3 += 4), 3 & e3 || (e3 >>= 2, t3 += 2), 1 & e3 || ++t3, t3;
|
|
11388
11388
|
}
|
|
11389
|
-
function
|
|
11389
|
+
function Ji(e3) {
|
|
11390
11390
|
for (var t3 = 0; 0 != e3; ) e3 &= e3 - 1, ++t3;
|
|
11391
11391
|
return t3;
|
|
11392
11392
|
}
|
|
11393
|
-
var
|
|
11394
|
-
function
|
|
11393
|
+
var Yi, Xi = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
11394
|
+
function $i(e3) {
|
|
11395
11395
|
var t3, n3, r3 = "";
|
|
11396
|
-
for (t3 = 0; t3 + 3 <= e3.length; t3 += 3) n3 = parseInt(e3.substring(t3, t3 + 3), 16), r3 +=
|
|
11397
|
-
for (t3 + 1 == e3.length ? (n3 = parseInt(e3.substring(t3, t3 + 1), 16), r3 +=
|
|
11396
|
+
for (t3 = 0; t3 + 3 <= e3.length; t3 += 3) n3 = parseInt(e3.substring(t3, t3 + 3), 16), r3 += Xi.charAt(n3 >> 6) + Xi.charAt(63 & n3);
|
|
11397
|
+
for (t3 + 1 == e3.length ? (n3 = parseInt(e3.substring(t3, t3 + 1), 16), r3 += Xi.charAt(n3 << 2)) : t3 + 2 == e3.length && (n3 = parseInt(e3.substring(t3, t3 + 2), 16), r3 += Xi.charAt(n3 >> 2) + Xi.charAt((3 & n3) << 4)); (3 & r3.length) > 0; ) r3 += "=";
|
|
11398
11398
|
return r3;
|
|
11399
11399
|
}
|
|
11400
|
-
function
|
|
11400
|
+
function eo(e3) {
|
|
11401
11401
|
var t3, n3 = "", r3 = 0, i2 = 0;
|
|
11402
11402
|
for (t3 = 0; t3 < e3.length && "=" != e3.charAt(t3); ++t3) {
|
|
11403
|
-
var o2 =
|
|
11404
|
-
o2 < 0 || (0 == r3 ? (n3 +=
|
|
11403
|
+
var o2 = Xi.indexOf(e3.charAt(t3));
|
|
11404
|
+
o2 < 0 || (0 == r3 ? (n3 += Hi(o2 >> 2), i2 = 3 & o2, r3 = 1) : 1 == r3 ? (n3 += Hi(i2 << 2 | o2 >> 4), i2 = 15 & o2, r3 = 2) : 2 == r3 ? (n3 += Hi(i2), n3 += Hi(o2 >> 2), i2 = 3 & o2, r3 = 3) : (n3 += Hi(i2 << 2 | o2 >> 4), n3 += Hi(15 & o2), r3 = 0));
|
|
11405
11405
|
}
|
|
11406
|
-
return 1 == r3 && (n3 +=
|
|
11406
|
+
return 1 == r3 && (n3 += Hi(i2 << 2)), n3;
|
|
11407
11407
|
}
|
|
11408
|
-
var
|
|
11408
|
+
var to, no2 = { decode: function(e3) {
|
|
11409
11409
|
var t3;
|
|
11410
|
-
if (void 0 ===
|
|
11411
|
-
for (
|
|
11412
|
-
for (
|
|
11410
|
+
if (void 0 === to) {
|
|
11411
|
+
for (to = /* @__PURE__ */ Object.create(null), t3 = 0; t3 < 64; ++t3) to["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t3)] = t3;
|
|
11412
|
+
for (to["-"] = 62, to._ = 63, t3 = 0; t3 < 9; ++t3) to["= \f\n\r \u2028\u2029".charAt(t3)] = -1;
|
|
11413
11413
|
}
|
|
11414
11414
|
var n3 = [], r3 = 0, i2 = 0;
|
|
11415
11415
|
for (t3 = 0; t3 < e3.length; ++t3) {
|
|
11416
11416
|
var o2 = e3.charAt(t3);
|
|
11417
11417
|
if ("=" == o2) break;
|
|
11418
|
-
if (-1 != (o2 =
|
|
11418
|
+
if (-1 != (o2 = to[o2])) {
|
|
11419
11419
|
if (void 0 === o2) throw new Error("Illegal character at offset " + t3);
|
|
11420
11420
|
r3 |= o2, ++i2 >= 4 ? (n3[n3.length] = r3 >> 16, n3[n3.length] = r3 >> 8 & 255, n3[n3.length] = 255 & r3, r3 = 0, i2 = 0) : r3 <<= 6;
|
|
11421
11421
|
}
|
|
@@ -11431,41 +11431,41 @@ function requireEideasyBrowserClient() {
|
|
|
11431
11431
|
}
|
|
11432
11432
|
return n3;
|
|
11433
11433
|
}, re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/, unarmor: function(e3) {
|
|
11434
|
-
var t3 =
|
|
11434
|
+
var t3 = no2.re.exec(e3);
|
|
11435
11435
|
if (t3) if (t3[1]) e3 = t3[1];
|
|
11436
11436
|
else {
|
|
11437
11437
|
if (!t3[2]) throw new Error("RegExp out of sync");
|
|
11438
11438
|
e3 = t3[2];
|
|
11439
11439
|
}
|
|
11440
|
-
return
|
|
11441
|
-
} },
|
|
11440
|
+
return no2.decode(e3);
|
|
11441
|
+
} }, ro = 1e13, io = function() {
|
|
11442
11442
|
function e3(e4) {
|
|
11443
11443
|
this.buf = [+e4 || 0];
|
|
11444
11444
|
}
|
|
11445
11445
|
return e3.prototype.mulAdd = function(e4, t3) {
|
|
11446
11446
|
var n3, r3, i2 = this.buf, o2 = i2.length;
|
|
11447
|
-
for (n3 = 0; n3 < o2; ++n3) (r3 = i2[n3] * e4 + t3) <
|
|
11447
|
+
for (n3 = 0; n3 < o2; ++n3) (r3 = i2[n3] * e4 + t3) < ro ? t3 = 0 : r3 -= (t3 = 0 | r3 / ro) * ro, i2[n3] = r3;
|
|
11448
11448
|
t3 > 0 && (i2[n3] = t3);
|
|
11449
11449
|
}, e3.prototype.sub = function(e4) {
|
|
11450
11450
|
var t3, n3, r3 = this.buf, i2 = r3.length;
|
|
11451
|
-
for (t3 = 0; t3 < i2; ++t3) (n3 = r3[t3] - e4) < 0 ? (n3 +=
|
|
11451
|
+
for (t3 = 0; t3 < i2; ++t3) (n3 = r3[t3] - e4) < 0 ? (n3 += ro, e4 = 1) : e4 = 0, r3[t3] = n3;
|
|
11452
11452
|
for (; 0 === r3[r3.length - 1]; ) r3.pop();
|
|
11453
11453
|
}, e3.prototype.toString = function(e4) {
|
|
11454
11454
|
if (10 != (e4 || 10)) throw new Error("only base 10 is supported");
|
|
11455
|
-
for (var t3 = this.buf, n3 = t3[t3.length - 1].toString(), r3 = t3.length - 2; r3 >= 0; --r3) n3 += (
|
|
11455
|
+
for (var t3 = this.buf, n3 = t3[t3.length - 1].toString(), r3 = t3.length - 2; r3 >= 0; --r3) n3 += (ro + t3[r3]).toString().substring(1);
|
|
11456
11456
|
return n3;
|
|
11457
11457
|
}, e3.prototype.valueOf = function() {
|
|
11458
|
-
for (var e4 = this.buf, t3 = 0, n3 = e4.length - 1; n3 >= 0; --n3) t3 = t3 *
|
|
11458
|
+
for (var e4 = this.buf, t3 = 0, n3 = e4.length - 1; n3 >= 0; --n3) t3 = t3 * ro + e4[n3];
|
|
11459
11459
|
return t3;
|
|
11460
11460
|
}, e3.prototype.simplify = function() {
|
|
11461
11461
|
var e4 = this.buf;
|
|
11462
11462
|
return 1 == e4.length ? e4[0] : this;
|
|
11463
11463
|
}, e3;
|
|
11464
|
-
}(),
|
|
11465
|
-
function
|
|
11464
|
+
}(), oo = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/, ao = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;
|
|
11465
|
+
function so(e3, t3) {
|
|
11466
11466
|
return e3.length > t3 && (e3 = e3.substring(0, t3) + "…"), e3;
|
|
11467
11467
|
}
|
|
11468
|
-
var
|
|
11468
|
+
var co, uo = function() {
|
|
11469
11469
|
function e3(t3, n3) {
|
|
11470
11470
|
this.hexDigits = "0123456789ABCDEF", t3 instanceof e3 ? (this.enc = t3.enc, this.pos = t3.pos) : (this.enc = t3, this.pos = n3);
|
|
11471
11471
|
}
|
|
@@ -11505,7 +11505,7 @@ function requireEideasyBrowserClient() {
|
|
|
11505
11505
|
for (var n3, r3, i2 = "", o2 = e4; o2 < t3; ) n3 = this.get(o2++), r3 = this.get(o2++), i2 += String.fromCharCode(n3 << 8 | r3);
|
|
11506
11506
|
return i2;
|
|
11507
11507
|
}, e3.prototype.parseTime = function(e4, t3, n3) {
|
|
11508
|
-
var r3 = this.parseStringISO(e4, t3), i2 = (n3 ?
|
|
11508
|
+
var r3 = this.parseStringISO(e4, t3), i2 = (n3 ? oo : ao).exec(r3);
|
|
11509
11509
|
return i2 ? (n3 && (i2[1] = +i2[1], i2[1] += +i2[1] < 70 ? 2e3 : 1900), r3 = i2[1] + "-" + i2[2] + "-" + i2[3] + " " + i2[4], i2[5] && (r3 += ":" + i2[5], i2[6] && (r3 += ":" + i2[6], i2[7] && (r3 += "." + i2[7]))), i2[8] && (r3 += " UTC", "Z" != i2[8] && (r3 += i2[8], i2[9] && (r3 += ":" + i2[9]))), r3) : "Unrecognized time: " + r3;
|
|
11510
11510
|
}, e3.prototype.parseInteger = function(e4, t3) {
|
|
11511
11511
|
for (var n3, r3 = this.get(e4), i2 = r3 > 127, o2 = i2 ? 255 : 0, a2 = ""; r3 == o2 && ++e4 < t3; ) r3 = this.get(e4);
|
|
@@ -11515,39 +11515,39 @@ function requireEideasyBrowserClient() {
|
|
|
11515
11515
|
a2 = "(" + n3 + " bit)\n";
|
|
11516
11516
|
}
|
|
11517
11517
|
i2 && (r3 -= 256);
|
|
11518
|
-
for (var s2 = new
|
|
11518
|
+
for (var s2 = new io(r3), c2 = e4 + 1; c2 < t3; ++c2) s2.mulAdd(256, this.get(c2));
|
|
11519
11519
|
return a2 + s2.toString();
|
|
11520
11520
|
}, e3.prototype.parseBitString = function(e4, t3, n3) {
|
|
11521
11521
|
for (var r3 = this.get(e4), i2 = "(" + ((t3 - e4 - 1 << 3) - r3) + " bit)\n", o2 = "", a2 = e4 + 1; a2 < t3; ++a2) {
|
|
11522
11522
|
for (var s2 = this.get(a2), c2 = a2 == t3 - 1 ? r3 : 0, u2 = 7; u2 >= c2; --u2) o2 += s2 >> u2 & 1 ? "1" : "0";
|
|
11523
|
-
if (o2.length > n3) return i2 +
|
|
11523
|
+
if (o2.length > n3) return i2 + so(o2, n3);
|
|
11524
11524
|
}
|
|
11525
11525
|
return i2 + o2;
|
|
11526
11526
|
}, e3.prototype.parseOctetString = function(e4, t3, n3) {
|
|
11527
|
-
if (this.isASCII(e4, t3)) return
|
|
11527
|
+
if (this.isASCII(e4, t3)) return so(this.parseStringISO(e4, t3), n3);
|
|
11528
11528
|
var r3 = t3 - e4, i2 = "(" + r3 + " byte)\n";
|
|
11529
11529
|
r3 > (n3 /= 2) && (t3 = e4 + n3);
|
|
11530
11530
|
for (var o2 = e4; o2 < t3; ++o2) i2 += this.hexByte(this.get(o2));
|
|
11531
11531
|
return r3 > n3 && (i2 += "…"), i2;
|
|
11532
11532
|
}, e3.prototype.parseOID = function(e4, t3, n3) {
|
|
11533
|
-
for (var r3 = "", i2 = new
|
|
11533
|
+
for (var r3 = "", i2 = new io(), o2 = 0, a2 = e4; a2 < t3; ++a2) {
|
|
11534
11534
|
var s2 = this.get(a2);
|
|
11535
11535
|
if (i2.mulAdd(128, 127 & s2), o2 += 7, !(128 & s2)) {
|
|
11536
|
-
if ("" === r3) if ((i2 = i2.simplify()) instanceof
|
|
11536
|
+
if ("" === r3) if ((i2 = i2.simplify()) instanceof io) i2.sub(80), r3 = "2." + i2.toString();
|
|
11537
11537
|
else {
|
|
11538
11538
|
var c2 = i2 < 80 ? i2 < 40 ? 0 : 1 : 2;
|
|
11539
11539
|
r3 = c2 + "." + (i2 - 40 * c2);
|
|
11540
11540
|
}
|
|
11541
11541
|
else r3 += "." + i2.toString();
|
|
11542
|
-
if (r3.length > n3) return
|
|
11543
|
-
i2 = new
|
|
11542
|
+
if (r3.length > n3) return so(r3, n3);
|
|
11543
|
+
i2 = new io(), o2 = 0;
|
|
11544
11544
|
}
|
|
11545
11545
|
}
|
|
11546
11546
|
return o2 > 0 && (r3 += ".incomplete"), r3;
|
|
11547
11547
|
}, e3;
|
|
11548
|
-
}(),
|
|
11548
|
+
}(), lo = function() {
|
|
11549
11549
|
function e3(e4, t3, n3, r3, i2) {
|
|
11550
|
-
if (!(r3 instanceof
|
|
11550
|
+
if (!(r3 instanceof po)) throw new Error("Invalid tag value.");
|
|
11551
11551
|
this.stream = e4, this.header = t3, this.length = n3, this.tag = r3, this.sub = i2;
|
|
11552
11552
|
}
|
|
11553
11553
|
return e3.prototype.typeName = function() {
|
|
@@ -11637,16 +11637,16 @@ function requireEideasyBrowserClient() {
|
|
|
11637
11637
|
case 17:
|
|
11638
11638
|
return null !== this.sub ? "(" + this.sub.length + " elem)" : "(no elem)";
|
|
11639
11639
|
case 12:
|
|
11640
|
-
return
|
|
11640
|
+
return so(this.stream.parseStringUTF(t3, t3 + n3), e4);
|
|
11641
11641
|
case 18:
|
|
11642
11642
|
case 19:
|
|
11643
11643
|
case 20:
|
|
11644
11644
|
case 21:
|
|
11645
11645
|
case 22:
|
|
11646
11646
|
case 26:
|
|
11647
|
-
return
|
|
11647
|
+
return so(this.stream.parseStringISO(t3, t3 + n3), e4);
|
|
11648
11648
|
case 30:
|
|
11649
|
-
return
|
|
11649
|
+
return so(this.stream.parseStringBMP(t3, t3 + n3), e4);
|
|
11650
11650
|
case 23:
|
|
11651
11651
|
case 24:
|
|
11652
11652
|
return this.stream.parseTime(t3, t3 + n3, 23 == this.tag.tagNumber);
|
|
@@ -11683,8 +11683,8 @@ function requireEideasyBrowserClient() {
|
|
|
11683
11683
|
return e4.substring(t3, t3 + n3);
|
|
11684
11684
|
}, e3.decode = function(t3) {
|
|
11685
11685
|
var n3;
|
|
11686
|
-
n3 = t3 instanceof
|
|
11687
|
-
var r3 = new
|
|
11686
|
+
n3 = t3 instanceof uo ? t3 : new uo(t3, 0);
|
|
11687
|
+
var r3 = new uo(n3), i2 = new po(n3), o2 = e3.decodeLength(n3), a2 = n3.pos, s2 = a2 - r3.pos, c2 = null, u2 = function() {
|
|
11688
11688
|
var t4 = [];
|
|
11689
11689
|
if (null !== o2) {
|
|
11690
11690
|
for (var r4 = a2 + o2; n3.pos < r4; ) t4[t4.length] = e3.decode(n3);
|
|
@@ -11715,11 +11715,11 @@ function requireEideasyBrowserClient() {
|
|
|
11715
11715
|
}
|
|
11716
11716
|
return new e3(r3, s2, o2, i2, c2);
|
|
11717
11717
|
}, e3;
|
|
11718
|
-
}(),
|
|
11718
|
+
}(), po = function() {
|
|
11719
11719
|
function e3(e4) {
|
|
11720
11720
|
var t3 = e4.get();
|
|
11721
11721
|
if (this.tagClass = t3 >> 6, this.tagConstructed = !!(32 & t3), this.tagNumber = 31 & t3, 31 == this.tagNumber) {
|
|
11722
|
-
var n3 = new
|
|
11722
|
+
var n3 = new io();
|
|
11723
11723
|
do {
|
|
11724
11724
|
t3 = e4.get(), n3.mulAdd(128, 127 & t3);
|
|
11725
11725
|
} while (128 & t3);
|
|
@@ -11731,7 +11731,7 @@ function requireEideasyBrowserClient() {
|
|
|
11731
11731
|
}, e3.prototype.isEOC = function() {
|
|
11732
11732
|
return 0 === this.tagClass && 0 === this.tagNumber;
|
|
11733
11733
|
}, e3;
|
|
11734
|
-
}(),
|
|
11734
|
+
}(), go = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], fo = (1 << 26) / go[go.length - 1], ho = function() {
|
|
11735
11735
|
function e3(e4, t3, n3) {
|
|
11736
11736
|
null != e4 && ("number" == typeof e4 ? this.fromNumber(e4, t3, n3) : null == t3 && "string" != typeof e4 ? this.fromString(e4, 256) : this.fromString(e4, t3));
|
|
11737
11737
|
}
|
|
@@ -11747,10 +11747,10 @@ function requireEideasyBrowserClient() {
|
|
|
11747
11747
|
t3 = 2;
|
|
11748
11748
|
}
|
|
11749
11749
|
var n3, r3 = (1 << t3) - 1, i2 = false, o2 = "", a2 = this.t, s2 = this.DB - a2 * this.DB % t3;
|
|
11750
|
-
if (a2-- > 0) for (s2 < this.DB && (n3 = this[a2] >> s2) > 0 && (i2 = true, o2 =
|
|
11750
|
+
if (a2-- > 0) for (s2 < this.DB && (n3 = this[a2] >> s2) > 0 && (i2 = true, o2 = Hi(n3)); a2 >= 0; ) s2 < t3 ? (n3 = (this[a2] & (1 << s2) - 1) << t3 - s2, n3 |= this[--a2] >> (s2 += this.DB - t3)) : (n3 = this[a2] >> (s2 -= t3) & r3, s2 <= 0 && (s2 += this.DB, --a2)), n3 > 0 && (i2 = true), i2 && (o2 += Hi(n3));
|
|
11751
11751
|
return i2 ? o2 : "0";
|
|
11752
11752
|
}, e3.prototype.negate = function() {
|
|
11753
|
-
var t3 =
|
|
11753
|
+
var t3 = Io();
|
|
11754
11754
|
return e3.ZERO.subTo(this, t3), t3;
|
|
11755
11755
|
}, e3.prototype.abs = function() {
|
|
11756
11756
|
return this.s < 0 ? this.negate() : this;
|
|
@@ -11762,15 +11762,15 @@ function requireEideasyBrowserClient() {
|
|
|
11762
11762
|
for (; --n3 >= 0; ) if (0 != (t3 = this[n3] - e4[n3])) return t3;
|
|
11763
11763
|
return 0;
|
|
11764
11764
|
}, e3.prototype.bitLength = function() {
|
|
11765
|
-
return this.t <= 0 ? 0 : this.DB * (this.t - 1) +
|
|
11765
|
+
return this.t <= 0 ? 0 : this.DB * (this.t - 1) + Ro(this[this.t - 1] ^ this.s & this.DM);
|
|
11766
11766
|
}, e3.prototype.mod = function(t3) {
|
|
11767
|
-
var n3 =
|
|
11767
|
+
var n3 = Io();
|
|
11768
11768
|
return this.abs().divRemTo(t3, null, n3), this.s < 0 && n3.compareTo(e3.ZERO) > 0 && t3.subTo(n3, n3), n3;
|
|
11769
11769
|
}, e3.prototype.modPowInt = function(e4, t3) {
|
|
11770
11770
|
var n3;
|
|
11771
|
-
return n3 = e4 < 256 || t3.isEven() ? new
|
|
11771
|
+
return n3 = e4 < 256 || t3.isEven() ? new To(t3) : new mo(t3), this.exp(e4, n3);
|
|
11772
11772
|
}, e3.prototype.clone = function() {
|
|
11773
|
-
var e4 =
|
|
11773
|
+
var e4 = Io();
|
|
11774
11774
|
return this.copyTo(e4), e4;
|
|
11775
11775
|
}, e3.prototype.intValue = function() {
|
|
11776
11776
|
if (this.s < 0) {
|
|
@@ -11800,70 +11800,70 @@ function requireEideasyBrowserClient() {
|
|
|
11800
11800
|
}, e3.prototype.max = function(e4) {
|
|
11801
11801
|
return this.compareTo(e4) > 0 ? this : e4;
|
|
11802
11802
|
}, e3.prototype.and = function(e4) {
|
|
11803
|
-
var t3 =
|
|
11804
|
-
return this.bitwiseTo(e4, Hi, t3), t3;
|
|
11805
|
-
}, e3.prototype.or = function(e4) {
|
|
11806
|
-
var t3 = mo();
|
|
11803
|
+
var t3 = Io();
|
|
11807
11804
|
return this.bitwiseTo(e4, qi, t3), t3;
|
|
11808
|
-
}, e3.prototype.
|
|
11809
|
-
var t3 =
|
|
11805
|
+
}, e3.prototype.or = function(e4) {
|
|
11806
|
+
var t3 = Io();
|
|
11810
11807
|
return this.bitwiseTo(e4, Qi, t3), t3;
|
|
11811
|
-
}, e3.prototype.
|
|
11812
|
-
var t3 =
|
|
11808
|
+
}, e3.prototype.xor = function(e4) {
|
|
11809
|
+
var t3 = Io();
|
|
11813
11810
|
return this.bitwiseTo(e4, Zi, t3), t3;
|
|
11811
|
+
}, e3.prototype.andNot = function(e4) {
|
|
11812
|
+
var t3 = Io();
|
|
11813
|
+
return this.bitwiseTo(e4, Wi, t3), t3;
|
|
11814
11814
|
}, e3.prototype.not = function() {
|
|
11815
|
-
for (var e4 =
|
|
11815
|
+
for (var e4 = Io(), t3 = 0; t3 < this.t; ++t3) e4[t3] = this.DM & ~this[t3];
|
|
11816
11816
|
return e4.t = this.t, e4.s = ~this.s, e4;
|
|
11817
11817
|
}, e3.prototype.shiftLeft = function(e4) {
|
|
11818
|
-
var t3 =
|
|
11818
|
+
var t3 = Io();
|
|
11819
11819
|
return e4 < 0 ? this.rShiftTo(-e4, t3) : this.lShiftTo(e4, t3), t3;
|
|
11820
11820
|
}, e3.prototype.shiftRight = function(e4) {
|
|
11821
|
-
var t3 =
|
|
11821
|
+
var t3 = Io();
|
|
11822
11822
|
return e4 < 0 ? this.lShiftTo(-e4, t3) : this.rShiftTo(e4, t3), t3;
|
|
11823
11823
|
}, e3.prototype.getLowestSetBit = function() {
|
|
11824
|
-
for (var e4 = 0; e4 < this.t; ++e4) if (0 != this[e4]) return e4 * this.DB +
|
|
11824
|
+
for (var e4 = 0; e4 < this.t; ++e4) if (0 != this[e4]) return e4 * this.DB + zi(this[e4]);
|
|
11825
11825
|
return this.s < 0 ? this.t * this.DB : -1;
|
|
11826
11826
|
}, e3.prototype.bitCount = function() {
|
|
11827
|
-
for (var e4 = 0, t3 = this.s & this.DM, n3 = 0; n3 < this.t; ++n3) e4 +=
|
|
11827
|
+
for (var e4 = 0, t3 = this.s & this.DM, n3 = 0; n3 < this.t; ++n3) e4 += Ji(this[n3] ^ t3);
|
|
11828
11828
|
return e4;
|
|
11829
11829
|
}, e3.prototype.testBit = function(e4) {
|
|
11830
11830
|
var t3 = Math.floor(e4 / this.DB);
|
|
11831
11831
|
return t3 >= this.t ? 0 != this.s : !!(this[t3] & 1 << e4 % this.DB);
|
|
11832
11832
|
}, e3.prototype.setBit = function(e4) {
|
|
11833
|
-
return this.changeBit(e4,
|
|
11833
|
+
return this.changeBit(e4, Qi);
|
|
11834
11834
|
}, e3.prototype.clearBit = function(e4) {
|
|
11835
|
-
return this.changeBit(e4,
|
|
11835
|
+
return this.changeBit(e4, Wi);
|
|
11836
11836
|
}, e3.prototype.flipBit = function(e4) {
|
|
11837
|
-
return this.changeBit(e4,
|
|
11837
|
+
return this.changeBit(e4, Zi);
|
|
11838
11838
|
}, e3.prototype.add = function(e4) {
|
|
11839
|
-
var t3 =
|
|
11839
|
+
var t3 = Io();
|
|
11840
11840
|
return this.addTo(e4, t3), t3;
|
|
11841
11841
|
}, e3.prototype.subtract = function(e4) {
|
|
11842
|
-
var t3 =
|
|
11842
|
+
var t3 = Io();
|
|
11843
11843
|
return this.subTo(e4, t3), t3;
|
|
11844
11844
|
}, e3.prototype.multiply = function(e4) {
|
|
11845
|
-
var t3 =
|
|
11845
|
+
var t3 = Io();
|
|
11846
11846
|
return this.multiplyTo(e4, t3), t3;
|
|
11847
11847
|
}, e3.prototype.divide = function(e4) {
|
|
11848
|
-
var t3 =
|
|
11848
|
+
var t3 = Io();
|
|
11849
11849
|
return this.divRemTo(e4, t3, null), t3;
|
|
11850
11850
|
}, e3.prototype.remainder = function(e4) {
|
|
11851
|
-
var t3 =
|
|
11851
|
+
var t3 = Io();
|
|
11852
11852
|
return this.divRemTo(e4, null, t3), t3;
|
|
11853
11853
|
}, e3.prototype.divideAndRemainder = function(e4) {
|
|
11854
|
-
var t3 =
|
|
11854
|
+
var t3 = Io(), n3 = Io();
|
|
11855
11855
|
return this.divRemTo(e4, t3, n3), [t3, n3];
|
|
11856
11856
|
}, e3.prototype.modPow = function(e4, t3) {
|
|
11857
|
-
var n3, r3, i2 = e4.bitLength(), o2 =
|
|
11857
|
+
var n3, r3, i2 = e4.bitLength(), o2 = No(1);
|
|
11858
11858
|
if (i2 <= 0) return o2;
|
|
11859
|
-
n3 = i2 < 18 ? 1 : i2 < 48 ? 3 : i2 < 144 ? 4 : i2 < 768 ? 5 : 6, r3 = i2 < 8 ? new
|
|
11859
|
+
n3 = i2 < 18 ? 1 : i2 < 48 ? 3 : i2 < 144 ? 4 : i2 < 768 ? 5 : 6, r3 = i2 < 8 ? new To(t3) : t3.isEven() ? new So(t3) : new mo(t3);
|
|
11860
11860
|
var a2 = [], s2 = 3, c2 = n3 - 1, u2 = (1 << n3) - 1;
|
|
11861
11861
|
if (a2[1] = r3.convert(this), n3 > 1) {
|
|
11862
|
-
var l2 =
|
|
11863
|
-
for (r3.sqrTo(a2[1], l2); s2 <= u2; ) a2[s2] =
|
|
11862
|
+
var l2 = Io();
|
|
11863
|
+
for (r3.sqrTo(a2[1], l2); s2 <= u2; ) a2[s2] = Io(), r3.mulTo(l2, a2[s2 - 2], a2[s2]), s2 += 2;
|
|
11864
11864
|
}
|
|
11865
|
-
var d2, p3, g2 = e4.t - 1, f2 = true, h3 =
|
|
11866
|
-
for (i2 =
|
|
11865
|
+
var d2, p3, g2 = e4.t - 1, f2 = true, h3 = Io();
|
|
11866
|
+
for (i2 = Ro(e4[g2]) - 1; g2 >= 0; ) {
|
|
11867
11867
|
for (i2 >= c2 ? d2 = e4[g2] >> i2 - c2 & u2 : (d2 = (e4[g2] & (1 << i2 + 1) - 1) << c2 - i2, g2 > 0 && (d2 |= e4[g2 - 1] >> this.DB + i2 - c2)), s2 = n3; !(1 & d2); ) d2 >>= 1, --s2;
|
|
11868
11868
|
if ((i2 -= s2) < 0 && (i2 += this.DB, --g2), f2) a2[d2].copyTo(o2), f2 = false;
|
|
11869
11869
|
else {
|
|
@@ -11876,14 +11876,14 @@ function requireEideasyBrowserClient() {
|
|
|
11876
11876
|
}, e3.prototype.modInverse = function(t3) {
|
|
11877
11877
|
var n3 = t3.isEven();
|
|
11878
11878
|
if (this.isEven() && n3 || 0 == t3.signum()) return e3.ZERO;
|
|
11879
|
-
for (var r3 = t3.clone(), i2 = this.clone(), o2 =
|
|
11879
|
+
for (var r3 = t3.clone(), i2 = this.clone(), o2 = No(1), a2 = No(0), s2 = No(0), c2 = No(1); 0 != r3.signum(); ) {
|
|
11880
11880
|
for (; r3.isEven(); ) r3.rShiftTo(1, r3), n3 ? (o2.isEven() && a2.isEven() || (o2.addTo(this, o2), a2.subTo(t3, a2)), o2.rShiftTo(1, o2)) : a2.isEven() || a2.subTo(t3, a2), a2.rShiftTo(1, a2);
|
|
11881
11881
|
for (; i2.isEven(); ) i2.rShiftTo(1, i2), n3 ? (s2.isEven() && c2.isEven() || (s2.addTo(this, s2), c2.subTo(t3, c2)), s2.rShiftTo(1, s2)) : c2.isEven() || c2.subTo(t3, c2), c2.rShiftTo(1, c2);
|
|
11882
11882
|
r3.compareTo(i2) >= 0 ? (r3.subTo(i2, r3), n3 && o2.subTo(s2, o2), a2.subTo(c2, a2)) : (i2.subTo(r3, i2), n3 && s2.subTo(o2, s2), c2.subTo(a2, c2));
|
|
11883
11883
|
}
|
|
11884
11884
|
return 0 != i2.compareTo(e3.ONE) ? e3.ZERO : c2.compareTo(t3) >= 0 ? c2.subtract(t3) : c2.signum() < 0 ? (c2.addTo(t3, c2), c2.signum() < 0 ? c2.add(t3) : c2) : c2;
|
|
11885
11885
|
}, e3.prototype.pow = function(e4) {
|
|
11886
|
-
return this.exp(e4, new
|
|
11886
|
+
return this.exp(e4, new yo());
|
|
11887
11887
|
}, e3.prototype.gcd = function(e4) {
|
|
11888
11888
|
var t3 = this.s < 0 ? this.negate() : this.clone(), n3 = e4.s < 0 ? e4.negate() : e4.clone();
|
|
11889
11889
|
if (t3.compareTo(n3) < 0) {
|
|
@@ -11896,14 +11896,14 @@ function requireEideasyBrowserClient() {
|
|
|
11896
11896
|
return o2 > 0 && n3.lShiftTo(o2, n3), n3;
|
|
11897
11897
|
}, e3.prototype.isProbablePrime = function(e4) {
|
|
11898
11898
|
var t3, n3 = this.abs();
|
|
11899
|
-
if (1 == n3.t && n3[0] <=
|
|
11900
|
-
for (t3 = 0; t3 <
|
|
11899
|
+
if (1 == n3.t && n3[0] <= go[go.length - 1]) {
|
|
11900
|
+
for (t3 = 0; t3 < go.length; ++t3) if (n3[0] == go[t3]) return true;
|
|
11901
11901
|
return false;
|
|
11902
11902
|
}
|
|
11903
11903
|
if (n3.isEven()) return false;
|
|
11904
|
-
for (t3 = 1; t3 <
|
|
11905
|
-
for (var r3 =
|
|
11906
|
-
for (r3 = n3.modInt(r3); t3 < i2; ) if (r3 %
|
|
11904
|
+
for (t3 = 1; t3 < go.length; ) {
|
|
11905
|
+
for (var r3 = go[t3], i2 = t3 + 1; i2 < go.length && r3 < fo; ) r3 *= go[i2++];
|
|
11906
|
+
for (r3 = n3.modInt(r3); t3 < i2; ) if (r3 % go[t3++] == 0) return false;
|
|
11907
11907
|
}
|
|
11908
11908
|
return n3.millerRabin(e4);
|
|
11909
11909
|
}, e3.prototype.copyTo = function(e4) {
|
|
@@ -11924,7 +11924,7 @@ function requireEideasyBrowserClient() {
|
|
|
11924
11924
|
}
|
|
11925
11925
|
this.t = 0, this.s = 0;
|
|
11926
11926
|
for (var i2 = t3.length, o2 = false, a2 = 0; --i2 >= 0; ) {
|
|
11927
|
-
var s2 = 8 == r3 ? 255 & +t3[i2] :
|
|
11927
|
+
var s2 = 8 == r3 ? 255 & +t3[i2] : _o(t3, i2);
|
|
11928
11928
|
s2 < 0 ? "-" == t3.charAt(i2) && (o2 = true) : (o2 = false, 0 == a2 ? this[this.t++] = s2 : a2 + r3 > this.DB ? (this[this.t - 1] |= (s2 & (1 << this.DB - a2) - 1) << a2, this[this.t++] = s2 >> this.DB - a2) : this[this.t - 1] |= s2 << a2, (a2 += r3) >= this.DB && (a2 -= this.DB));
|
|
11929
11929
|
}
|
|
11930
11930
|
8 == r3 && 128 & +t3[0] && (this.s = -1, a2 > 0 && (this[this.t - 1] |= (1 << this.DB - a2) - 1 << a2)), this.clamp(), o2 && e3.ZERO.subTo(this, this);
|
|
@@ -11979,16 +11979,16 @@ function requireEideasyBrowserClient() {
|
|
|
11979
11979
|
if (!(i2.t <= 0)) {
|
|
11980
11980
|
var o2 = this.abs();
|
|
11981
11981
|
if (o2.t < i2.t) return null != n3 && n3.fromInt(0), void (null != r3 && this.copyTo(r3));
|
|
11982
|
-
null == r3 && (r3 =
|
|
11983
|
-
var a2 =
|
|
11982
|
+
null == r3 && (r3 = Io());
|
|
11983
|
+
var a2 = Io(), s2 = this.s, c2 = t3.s, u2 = this.DB - Ro(i2[i2.t - 1]);
|
|
11984
11984
|
u2 > 0 ? (i2.lShiftTo(u2, a2), o2.lShiftTo(u2, r3)) : (i2.copyTo(a2), o2.copyTo(r3));
|
|
11985
11985
|
var l2 = a2.t, d2 = a2[l2 - 1];
|
|
11986
11986
|
if (0 != d2) {
|
|
11987
|
-
var p3 = d2 * (1 << this.F1) + (l2 > 1 ? a2[l2 - 2] >> this.F2 : 0), g2 = this.FV / p3, f2 = (1 << this.F1) / p3, h3 = 1 << this.F2, y2 = r3.t, T2 = y2 - l2,
|
|
11988
|
-
for (a2.dlShiftTo(T2,
|
|
11987
|
+
var p3 = d2 * (1 << this.F1) + (l2 > 1 ? a2[l2 - 2] >> this.F2 : 0), g2 = this.FV / p3, f2 = (1 << this.F1) / p3, h3 = 1 << this.F2, y2 = r3.t, T2 = y2 - l2, m2 = null == n3 ? Io() : n3;
|
|
11988
|
+
for (a2.dlShiftTo(T2, m2), r3.compareTo(m2) >= 0 && (r3[r3.t++] = 1, r3.subTo(m2, r3)), e3.ONE.dlShiftTo(l2, m2), m2.subTo(a2, a2); a2.t < l2; ) a2[a2.t++] = 0;
|
|
11989
11989
|
for (; --T2 >= 0; ) {
|
|
11990
|
-
var
|
|
11991
|
-
if ((r3[y2] += a2.am(0,
|
|
11990
|
+
var S3 = r3[--y2] == d2 ? this.DM : Math.floor(r3[y2] * g2 + (r3[y2 - 1] + h3) * f2);
|
|
11991
|
+
if ((r3[y2] += a2.am(0, S3, r3, T2, 0, l2)) < S3) for (a2.dlShiftTo(T2, m2), r3.subTo(m2, r3); r3[y2] < --S3; ) r3.subTo(m2, r3);
|
|
11992
11992
|
}
|
|
11993
11993
|
null != n3 && (r3.drShiftTo(l2, n3), s2 != c2 && e3.ZERO.subTo(n3, n3)), r3.t = l2, r3.clamp(), u2 > 0 && r3.rShiftTo(u2, r3), s2 < 0 && e3.ZERO.subTo(r3, r3);
|
|
11994
11994
|
}
|
|
@@ -12003,7 +12003,7 @@ function requireEideasyBrowserClient() {
|
|
|
12003
12003
|
return 0 == (this.t > 0 ? 1 & this[0] : this.s);
|
|
12004
12004
|
}, e3.prototype.exp = function(t3, n3) {
|
|
12005
12005
|
if (t3 > 4294967295 || t3 < 1) return e3.ONE;
|
|
12006
|
-
var r3 =
|
|
12006
|
+
var r3 = Io(), i2 = Io(), o2 = n3.convert(this), a2 = Ro(t3) - 1;
|
|
12007
12007
|
for (o2.copyTo(r3); --a2 >= 0; ) if (n3.sqrTo(r3, i2), (t3 & 1 << a2) > 0) n3.mulTo(i2, o2, r3);
|
|
12008
12008
|
else {
|
|
12009
12009
|
var s2 = r3;
|
|
@@ -12014,19 +12014,19 @@ function requireEideasyBrowserClient() {
|
|
|
12014
12014
|
return Math.floor(Math.LN2 * this.DB / Math.log(e4));
|
|
12015
12015
|
}, e3.prototype.toRadix = function(e4) {
|
|
12016
12016
|
if (null == e4 && (e4 = 10), 0 == this.signum() || e4 < 2 || e4 > 36) return "0";
|
|
12017
|
-
var t3 = this.chunkSize(e4), n3 = Math.pow(e4, t3), r3 =
|
|
12017
|
+
var t3 = this.chunkSize(e4), n3 = Math.pow(e4, t3), r3 = No(n3), i2 = Io(), o2 = Io(), a2 = "";
|
|
12018
12018
|
for (this.divRemTo(r3, i2, o2); i2.signum() > 0; ) a2 = (n3 + o2.intValue()).toString(e4).substring(1) + a2, i2.divRemTo(r3, i2, o2);
|
|
12019
12019
|
return o2.intValue().toString(e4) + a2;
|
|
12020
12020
|
}, e3.prototype.fromRadix = function(t3, n3) {
|
|
12021
12021
|
this.fromInt(0), null == n3 && (n3 = 10);
|
|
12022
12022
|
for (var r3 = this.chunkSize(n3), i2 = Math.pow(n3, r3), o2 = false, a2 = 0, s2 = 0, c2 = 0; c2 < t3.length; ++c2) {
|
|
12023
|
-
var u2 =
|
|
12023
|
+
var u2 = _o(t3, c2);
|
|
12024
12024
|
u2 < 0 ? "-" == t3.charAt(c2) && 0 == this.signum() && (o2 = true) : (s2 = n3 * s2 + u2, ++a2 >= r3 && (this.dMultiply(i2), this.dAddOffset(s2, 0), a2 = 0, s2 = 0));
|
|
12025
12025
|
}
|
|
12026
12026
|
a2 > 0 && (this.dMultiply(Math.pow(n3, a2)), this.dAddOffset(s2, 0)), o2 && e3.ZERO.subTo(this, this);
|
|
12027
12027
|
}, e3.prototype.fromNumber = function(t3, n3, r3) {
|
|
12028
12028
|
if ("number" == typeof n3) if (t3 < 2) this.fromInt(1);
|
|
12029
|
-
else for (this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1),
|
|
12029
|
+
else for (this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1), Qi, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(n3); ) this.dAddOffset(2, 0), this.bitLength() > t3 && this.subTo(e3.ONE.shiftLeft(t3 - 1), this);
|
|
12030
12030
|
else {
|
|
12031
12031
|
var i2 = [], o2 = 7 & t3;
|
|
12032
12032
|
i2.length = 1 + (t3 >> 3), n3.nextBytes(i2), o2 > 0 ? i2[0] &= (1 << o2) - 1 : i2[0] = 0, this.fromString(i2, 256);
|
|
@@ -12084,9 +12084,9 @@ function requireEideasyBrowserClient() {
|
|
|
12084
12084
|
var n3 = this.subtract(e3.ONE), r3 = n3.getLowestSetBit();
|
|
12085
12085
|
if (r3 <= 0) return false;
|
|
12086
12086
|
var i2 = n3.shiftRight(r3);
|
|
12087
|
-
(t3 = t3 + 1 >> 1) >
|
|
12088
|
-
for (var o2 =
|
|
12089
|
-
o2.fromInt(
|
|
12087
|
+
(t3 = t3 + 1 >> 1) > go.length && (t3 = go.length);
|
|
12088
|
+
for (var o2 = Io(), a2 = 0; a2 < t3; ++a2) {
|
|
12089
|
+
o2.fromInt(go[Math.floor(Math.random() * go.length)]);
|
|
12090
12090
|
var s2 = o2.modPow(i2, this);
|
|
12091
12091
|
if (0 != s2.compareTo(e3.ONE) && 0 != s2.compareTo(n3)) {
|
|
12092
12092
|
for (var c2 = 1; c2++ < r3 && 0 != s2.compareTo(n3); ) if (0 == (s2 = s2.modPowInt(2, this)).compareTo(e3.ONE)) return false;
|
|
@@ -12095,7 +12095,7 @@ function requireEideasyBrowserClient() {
|
|
|
12095
12095
|
}
|
|
12096
12096
|
return true;
|
|
12097
12097
|
}, e3.prototype.square = function() {
|
|
12098
|
-
var e4 =
|
|
12098
|
+
var e4 = Io();
|
|
12099
12099
|
return this.squareTo(e4), e4;
|
|
12100
12100
|
}, e3.prototype.gcda = function(e4, t3) {
|
|
12101
12101
|
var n3 = this.s < 0 ? this.negate() : this.clone(), r3 = e4.s < 0 ? e4.negate() : e4.clone();
|
|
@@ -12117,7 +12117,7 @@ function requireEideasyBrowserClient() {
|
|
|
12117
12117
|
}, e3.prototype.fromNumberAsync = function(t3, n3, r3, i2) {
|
|
12118
12118
|
if ("number" == typeof n3) if (t3 < 2) this.fromInt(1);
|
|
12119
12119
|
else {
|
|
12120
|
-
this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1),
|
|
12120
|
+
this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1), Qi, this), this.isEven() && this.dAddOffset(1, 0);
|
|
12121
12121
|
var o2 = this, a2 = function() {
|
|
12122
12122
|
o2.dAddOffset(2, 0), o2.bitLength() > t3 && o2.subTo(e3.ONE.shiftLeft(t3 - 1), o2), o2.isProbablePrime(n3) ? setTimeout(function() {
|
|
12123
12123
|
i2();
|
|
@@ -12130,7 +12130,7 @@ function requireEideasyBrowserClient() {
|
|
|
12130
12130
|
s2.length = 1 + (t3 >> 3), n3.nextBytes(s2), c2 > 0 ? s2[0] &= (1 << c2) - 1 : s2[0] = 0, this.fromString(s2, 256);
|
|
12131
12131
|
}
|
|
12132
12132
|
}, e3;
|
|
12133
|
-
}(),
|
|
12133
|
+
}(), yo = function() {
|
|
12134
12134
|
function e3() {
|
|
12135
12135
|
}
|
|
12136
12136
|
return e3.prototype.convert = function(e4) {
|
|
@@ -12142,7 +12142,7 @@ function requireEideasyBrowserClient() {
|
|
|
12142
12142
|
}, e3.prototype.sqrTo = function(e4, t3) {
|
|
12143
12143
|
e4.squareTo(t3);
|
|
12144
12144
|
}, e3;
|
|
12145
|
-
}(),
|
|
12145
|
+
}(), To = function() {
|
|
12146
12146
|
function e3(e4) {
|
|
12147
12147
|
this.m = e4;
|
|
12148
12148
|
}
|
|
@@ -12157,15 +12157,15 @@ function requireEideasyBrowserClient() {
|
|
|
12157
12157
|
}, e3.prototype.sqrTo = function(e4, t3) {
|
|
12158
12158
|
e4.squareTo(t3), this.reduce(t3);
|
|
12159
12159
|
}, e3;
|
|
12160
|
-
}(),
|
|
12160
|
+
}(), mo = function() {
|
|
12161
12161
|
function e3(e4) {
|
|
12162
12162
|
this.m = e4, this.mp = e4.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << e4.DB - 15) - 1, this.mt2 = 2 * e4.t;
|
|
12163
12163
|
}
|
|
12164
12164
|
return e3.prototype.convert = function(e4) {
|
|
12165
|
-
var t3 =
|
|
12166
|
-
return e4.abs().dlShiftTo(this.m.t, t3), t3.divRemTo(this.m, null, t3), e4.s < 0 && t3.compareTo(
|
|
12165
|
+
var t3 = Io();
|
|
12166
|
+
return e4.abs().dlShiftTo(this.m.t, t3), t3.divRemTo(this.m, null, t3), e4.s < 0 && t3.compareTo(ho.ZERO) > 0 && this.m.subTo(t3, t3), t3;
|
|
12167
12167
|
}, e3.prototype.revert = function(e4) {
|
|
12168
|
-
var t3 =
|
|
12168
|
+
var t3 = Io();
|
|
12169
12169
|
return e4.copyTo(t3), this.reduce(t3), t3;
|
|
12170
12170
|
}, e3.prototype.reduce = function(e4) {
|
|
12171
12171
|
for (; e4.t <= this.mt2; ) e4[e4.t++] = 0;
|
|
@@ -12181,12 +12181,12 @@ function requireEideasyBrowserClient() {
|
|
|
12181
12181
|
}, e3;
|
|
12182
12182
|
}(), So = function() {
|
|
12183
12183
|
function e3(e4) {
|
|
12184
|
-
this.m = e4, this.r2 =
|
|
12184
|
+
this.m = e4, this.r2 = Io(), this.q3 = Io(), ho.ONE.dlShiftTo(2 * e4.t, this.r2), this.mu = this.r2.divide(e4);
|
|
12185
12185
|
}
|
|
12186
12186
|
return e3.prototype.convert = function(e4) {
|
|
12187
12187
|
if (e4.s < 0 || e4.t > 2 * this.m.t) return e4.mod(this.m);
|
|
12188
12188
|
if (e4.compareTo(this.m) < 0) return e4;
|
|
12189
|
-
var t3 =
|
|
12189
|
+
var t3 = Io();
|
|
12190
12190
|
return e4.copyTo(t3), this.reduce(t3), t3;
|
|
12191
12191
|
}, e3.prototype.revert = function(e4) {
|
|
12192
12192
|
return e4;
|
|
@@ -12199,50 +12199,50 @@ function requireEideasyBrowserClient() {
|
|
|
12199
12199
|
e4.squareTo(t3), this.reduce(t3);
|
|
12200
12200
|
}, e3;
|
|
12201
12201
|
}();
|
|
12202
|
-
function
|
|
12203
|
-
return new
|
|
12202
|
+
function Io() {
|
|
12203
|
+
return new ho(null);
|
|
12204
12204
|
}
|
|
12205
|
-
function
|
|
12206
|
-
return new
|
|
12205
|
+
function Eo(e3, t3) {
|
|
12206
|
+
return new ho(e3, t3);
|
|
12207
12207
|
}
|
|
12208
|
-
var
|
|
12209
|
-
|
|
12208
|
+
var Co = "undefined" != typeof navigator;
|
|
12209
|
+
Co && "Microsoft Internet Explorer" == navigator.appName ? (ho.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12210
12210
|
for (var a2 = 32767 & t3, s2 = t3 >> 15; --o2 >= 0; ) {
|
|
12211
12211
|
var c2 = 32767 & this[e3], u2 = this[e3++] >> 15, l2 = s2 * c2 + u2 * a2;
|
|
12212
12212
|
i2 = ((c2 = a2 * c2 + ((32767 & l2) << 15) + n3[r3] + (1073741823 & i2)) >>> 30) + (l2 >>> 15) + s2 * u2 + (i2 >>> 30), n3[r3++] = 1073741823 & c2;
|
|
12213
12213
|
}
|
|
12214
12214
|
return i2;
|
|
12215
|
-
},
|
|
12215
|
+
}, co = 30) : Co && "Netscape" != navigator.appName ? (ho.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12216
12216
|
for (; --o2 >= 0; ) {
|
|
12217
12217
|
var a2 = t3 * this[e3++] + n3[r3] + i2;
|
|
12218
12218
|
i2 = Math.floor(a2 / 67108864), n3[r3++] = 67108863 & a2;
|
|
12219
12219
|
}
|
|
12220
12220
|
return i2;
|
|
12221
|
-
},
|
|
12221
|
+
}, co = 26) : (ho.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12222
12222
|
for (var a2 = 16383 & t3, s2 = t3 >> 14; --o2 >= 0; ) {
|
|
12223
12223
|
var c2 = 16383 & this[e3], u2 = this[e3++] >> 14, l2 = s2 * c2 + u2 * a2;
|
|
12224
12224
|
i2 = ((c2 = a2 * c2 + ((16383 & l2) << 14) + n3[r3] + i2) >> 28) + (l2 >> 14) + s2 * u2, n3[r3++] = 268435455 & c2;
|
|
12225
12225
|
}
|
|
12226
12226
|
return i2;
|
|
12227
|
-
},
|
|
12228
|
-
var
|
|
12229
|
-
for (
|
|
12230
|
-
for (
|
|
12231
|
-
for (
|
|
12232
|
-
function
|
|
12233
|
-
var n3 =
|
|
12227
|
+
}, co = 28), ho.prototype.DB = co, ho.prototype.DM = (1 << co) - 1, ho.prototype.DV = 1 << co, ho.prototype.FV = Math.pow(2, 52), ho.prototype.F1 = 52 - co, ho.prototype.F2 = 2 * co - 52;
|
|
12228
|
+
var vo, Ao, bo = [];
|
|
12229
|
+
for (vo = "0".charCodeAt(0), Ao = 0; Ao <= 9; ++Ao) bo[vo++] = Ao;
|
|
12230
|
+
for (vo = "a".charCodeAt(0), Ao = 10; Ao < 36; ++Ao) bo[vo++] = Ao;
|
|
12231
|
+
for (vo = "A".charCodeAt(0), Ao = 10; Ao < 36; ++Ao) bo[vo++] = Ao;
|
|
12232
|
+
function _o(e3, t3) {
|
|
12233
|
+
var n3 = bo[e3.charCodeAt(t3)];
|
|
12234
12234
|
return null == n3 ? -1 : n3;
|
|
12235
12235
|
}
|
|
12236
|
-
function
|
|
12237
|
-
var t3 =
|
|
12236
|
+
function No(e3) {
|
|
12237
|
+
var t3 = Io();
|
|
12238
12238
|
return t3.fromInt(e3), t3;
|
|
12239
12239
|
}
|
|
12240
|
-
function
|
|
12240
|
+
function Ro(e3) {
|
|
12241
12241
|
var t3, n3 = 1;
|
|
12242
12242
|
return 0 != (t3 = e3 >>> 16) && (e3 = t3, n3 += 16), 0 != (t3 = e3 >> 8) && (e3 = t3, n3 += 8), 0 != (t3 = e3 >> 4) && (e3 = t3, n3 += 4), 0 != (t3 = e3 >> 2) && (e3 = t3, n3 += 2), 0 != (t3 = e3 >> 1) && (e3 = t3, n3 += 1), n3;
|
|
12243
12243
|
}
|
|
12244
|
-
|
|
12245
|
-
var
|
|
12244
|
+
ho.ZERO = No(0), ho.ONE = No(1);
|
|
12245
|
+
var Oo, Mo, Do = function() {
|
|
12246
12246
|
function e3() {
|
|
12247
12247
|
this.i = 0, this.j = 0, this.S = [];
|
|
12248
12248
|
}
|
|
@@ -12255,51 +12255,51 @@ function requireEideasyBrowserClient() {
|
|
|
12255
12255
|
var e4;
|
|
12256
12256
|
return this.i = this.i + 1 & 255, this.j = this.j + this.S[this.i] & 255, e4 = this.S[this.i], this.S[this.i] = this.S[this.j], this.S[this.j] = e4, this.S[e4 + this.S[this.i] & 255];
|
|
12257
12257
|
}, e3;
|
|
12258
|
-
}(),
|
|
12259
|
-
if (null ==
|
|
12260
|
-
|
|
12261
|
-
var
|
|
12258
|
+
}(), Uo = null;
|
|
12259
|
+
if (null == Uo) {
|
|
12260
|
+
Uo = [], Mo = 0;
|
|
12261
|
+
var wo = void 0;
|
|
12262
12262
|
if ("undefined" != typeof window && self.crypto && self.crypto.getRandomValues) {
|
|
12263
|
-
var
|
|
12264
|
-
for (self.crypto.getRandomValues(
|
|
12263
|
+
var ko = new Uint32Array(256);
|
|
12264
|
+
for (self.crypto.getRandomValues(ko), wo = 0; wo < ko.length; ++wo) Uo[Mo++] = 255 & ko[wo];
|
|
12265
12265
|
}
|
|
12266
|
-
var
|
|
12267
|
-
if ((
|
|
12266
|
+
var Lo = 0, Go = function(e3) {
|
|
12267
|
+
if ((Lo = Lo || 0) >= 256 || Mo >= 256) self.removeEventListener ? self.removeEventListener("mousemove", Go, false) : self.detachEvent && self.detachEvent("onmousemove", Go);
|
|
12268
12268
|
else try {
|
|
12269
12269
|
var t3 = e3.x + e3.y;
|
|
12270
|
-
|
|
12270
|
+
Uo[Mo++] = 255 & t3, Lo += 1;
|
|
12271
12271
|
} catch (e4) {
|
|
12272
12272
|
}
|
|
12273
12273
|
};
|
|
12274
|
-
"undefined" != typeof window && (self.addEventListener ? self.addEventListener("mousemove",
|
|
12274
|
+
"undefined" != typeof window && (self.addEventListener ? self.addEventListener("mousemove", Go, false) : self.attachEvent && self.attachEvent("onmousemove", Go));
|
|
12275
12275
|
}
|
|
12276
|
-
function
|
|
12277
|
-
if (null ==
|
|
12278
|
-
for (
|
|
12276
|
+
function Bo() {
|
|
12277
|
+
if (null == Oo) {
|
|
12278
|
+
for (Oo = new Do(); Mo < 256; ) {
|
|
12279
12279
|
var e3 = Math.floor(65536 * Math.random());
|
|
12280
|
-
|
|
12280
|
+
Uo[Mo++] = 255 & e3;
|
|
12281
12281
|
}
|
|
12282
|
-
for (
|
|
12283
|
-
|
|
12282
|
+
for (Oo.init(Uo), Mo = 0; Mo < Uo.length; ++Mo) Uo[Mo] = 0;
|
|
12283
|
+
Mo = 0;
|
|
12284
12284
|
}
|
|
12285
|
-
return
|
|
12285
|
+
return Oo.next();
|
|
12286
12286
|
}
|
|
12287
|
-
var
|
|
12287
|
+
var Po = function() {
|
|
12288
12288
|
function e3() {
|
|
12289
12289
|
}
|
|
12290
12290
|
return e3.prototype.nextBytes = function(e4) {
|
|
12291
|
-
for (var t3 = 0; t3 < e4.length; ++t3) e4[t3] =
|
|
12291
|
+
for (var t3 = 0; t3 < e4.length; ++t3) e4[t3] = Bo();
|
|
12292
12292
|
}, e3;
|
|
12293
12293
|
}();
|
|
12294
|
-
function
|
|
12294
|
+
function jo(e3) {
|
|
12295
12295
|
return function(e4) {
|
|
12296
12296
|
for (var t3 = "", n3 = 0; n3 < 32 * e4.length; n3 += 8) t3 += String.fromCharCode(e4[n3 >> 5] >>> 24 - n3 % 32 & 255);
|
|
12297
12297
|
return t3;
|
|
12298
12298
|
}(function(e4, t3) {
|
|
12299
12299
|
var n3, r3, i2, o2, a2, s2, c2, u2, l2, d2, p3, g2, f2 = new Array(1779033703, -1150833019, 1013904242, -1521486534, 1359893119, -1694144372, 528734635, 1541459225), h3 = new Array(64);
|
|
12300
12300
|
for (e4[t3 >> 5] |= 128 << 24 - t3 % 32, e4[15 + (t3 + 64 >> 9 << 4)] = t3, l2 = 0; l2 < e4.length; l2 += 16) {
|
|
12301
|
-
for (n3 = f2[0], r3 = f2[1], i2 = f2[2], o2 = f2[3], a2 = f2[4], s2 = f2[5], c2 = f2[6], u2 = f2[7], d2 = 0; d2 < 64; d2++) h3[d2] = d2 < 16 ? e4[d2 + l2] :
|
|
12302
|
-
f2[0] =
|
|
12301
|
+
for (n3 = f2[0], r3 = f2[1], i2 = f2[2], o2 = f2[3], a2 = f2[4], s2 = f2[5], c2 = f2[6], u2 = f2[7], d2 = 0; d2 < 64; d2++) h3[d2] = d2 < 16 ? e4[d2 + l2] : Jo(Jo(Jo(Wo(h3[d2 - 2]), h3[d2 - 7]), Zo(h3[d2 - 15])), h3[d2 - 16]), p3 = Jo(Jo(Jo(Jo(u2, Qo(a2)), Ko(a2, s2, c2)), zo[d2]), h3[d2]), g2 = Jo(qo(n3), Ho(n3, r3, i2)), u2 = c2, c2 = s2, s2 = a2, a2 = Jo(o2, p3), o2 = i2, i2 = r3, r3 = n3, n3 = Jo(p3, g2);
|
|
12302
|
+
f2[0] = Jo(n3, f2[0]), f2[1] = Jo(r3, f2[1]), f2[2] = Jo(i2, f2[2]), f2[3] = Jo(o2, f2[3]), f2[4] = Jo(a2, f2[4]), f2[5] = Jo(s2, f2[5]), f2[6] = Jo(c2, f2[6]), f2[7] = Jo(u2, f2[7]);
|
|
12303
12303
|
}
|
|
12304
12304
|
return f2;
|
|
12305
12305
|
}(function(e4) {
|
|
@@ -12308,73 +12308,73 @@ function requireEideasyBrowserClient() {
|
|
|
12308
12308
|
return t3;
|
|
12309
12309
|
}(e3), 8 * e3.length));
|
|
12310
12310
|
}
|
|
12311
|
-
function
|
|
12311
|
+
function Fo(e3) {
|
|
12312
12312
|
for (var t3 = "0123456789abcdef", n3 = "", r3 = 0; r3 < e3.length; r3++) {
|
|
12313
12313
|
var i2 = e3.charCodeAt(r3);
|
|
12314
12314
|
n3 += t3.charAt(i2 >>> 4 & 15) + t3.charAt(15 & i2);
|
|
12315
12315
|
}
|
|
12316
12316
|
return n3;
|
|
12317
12317
|
}
|
|
12318
|
-
function
|
|
12318
|
+
function xo(e3, t3) {
|
|
12319
12319
|
return e3 >>> t3 | e3 << 32 - t3;
|
|
12320
12320
|
}
|
|
12321
|
-
function
|
|
12321
|
+
function Vo(e3, t3) {
|
|
12322
12322
|
return e3 >>> t3;
|
|
12323
12323
|
}
|
|
12324
|
-
function
|
|
12324
|
+
function Ko(e3, t3, n3) {
|
|
12325
12325
|
return e3 & t3 ^ ~e3 & n3;
|
|
12326
12326
|
}
|
|
12327
|
-
function
|
|
12327
|
+
function Ho(e3, t3, n3) {
|
|
12328
12328
|
return e3 & t3 ^ e3 & n3 ^ t3 & n3;
|
|
12329
12329
|
}
|
|
12330
|
-
function Ho(e3) {
|
|
12331
|
-
return Fo(e3, 2) ^ Fo(e3, 13) ^ Fo(e3, 22);
|
|
12332
|
-
}
|
|
12333
12330
|
function qo(e3) {
|
|
12334
|
-
return
|
|
12331
|
+
return xo(e3, 2) ^ xo(e3, 13) ^ xo(e3, 22);
|
|
12335
12332
|
}
|
|
12336
12333
|
function Qo(e3) {
|
|
12337
|
-
return
|
|
12334
|
+
return xo(e3, 6) ^ xo(e3, 11) ^ xo(e3, 25);
|
|
12338
12335
|
}
|
|
12339
12336
|
function Zo(e3) {
|
|
12340
|
-
return
|
|
12337
|
+
return xo(e3, 7) ^ xo(e3, 18) ^ Vo(e3, 3);
|
|
12338
|
+
}
|
|
12339
|
+
function Wo(e3) {
|
|
12340
|
+
return xo(e3, 17) ^ xo(e3, 19) ^ Vo(e3, 10);
|
|
12341
12341
|
}
|
|
12342
|
-
var
|
|
12343
|
-
function
|
|
12342
|
+
var zo = new Array(1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998);
|
|
12343
|
+
function Jo(e3, t3) {
|
|
12344
12344
|
var n3 = (65535 & e3) + (65535 & t3);
|
|
12345
12345
|
return (e3 >> 16) + (t3 >> 16) + (n3 >> 16) << 16 | 65535 & n3;
|
|
12346
12346
|
}
|
|
12347
|
-
function
|
|
12347
|
+
function Yo(e3, t3) {
|
|
12348
12348
|
if (t3 < e3.length + 11) return console.error("Message too long for RSA"), null;
|
|
12349
12349
|
for (var n3 = [], r3 = e3.length - 1; r3 >= 0 && t3 > 0; ) {
|
|
12350
12350
|
var i2 = e3.charCodeAt(r3--);
|
|
12351
12351
|
i2 < 128 ? n3[--t3] = i2 : i2 > 127 && i2 < 2048 ? (n3[--t3] = 63 & i2 | 128, n3[--t3] = i2 >> 6 | 192) : (n3[--t3] = 63 & i2 | 128, n3[--t3] = i2 >> 6 & 63 | 128, n3[--t3] = i2 >> 12 | 224);
|
|
12352
12352
|
}
|
|
12353
12353
|
n3[--t3] = 0;
|
|
12354
|
-
for (var o2 = new
|
|
12354
|
+
for (var o2 = new Po(), a2 = []; t3 > 2; ) {
|
|
12355
12355
|
for (a2[0] = 0; 0 == a2[0]; ) o2.nextBytes(a2);
|
|
12356
12356
|
n3[--t3] = a2[0];
|
|
12357
12357
|
}
|
|
12358
|
-
return n3[--t3] = 2, n3[--t3] = 0, new
|
|
12358
|
+
return n3[--t3] = 2, n3[--t3] = 0, new ho(n3);
|
|
12359
12359
|
}
|
|
12360
|
-
function
|
|
12360
|
+
function Xo(e3, t3, n3) {
|
|
12361
12361
|
for (var r3 = "", i2 = 0; r3.length < t3; ) r3 += n3(String.fromCharCode.apply(String, e3.concat([(4278190080 & i2) >> 24, (16711680 & i2) >> 16, (65280 & i2) >> 8, 255 & i2]))), i2 += 1;
|
|
12362
12362
|
return r3;
|
|
12363
12363
|
}
|
|
12364
|
-
function
|
|
12365
|
-
var n3 =
|
|
12364
|
+
function $o(e3, t3) {
|
|
12365
|
+
var n3 = jo;
|
|
12366
12366
|
if (e3.length + 64 + 2 > t3) throw "Message too long for RSA";
|
|
12367
12367
|
var r3, i2 = "";
|
|
12368
12368
|
for (r3 = 0; r3 < t3 - e3.length - 64 - 2; r3 += 1) i2 += "\0";
|
|
12369
12369
|
var o2 = n3("") + i2 + "" + e3, a2 = new Array(32);
|
|
12370
|
-
new
|
|
12371
|
-
var s2 =
|
|
12370
|
+
new Po().nextBytes(a2);
|
|
12371
|
+
var s2 = Xo(a2, o2.length, n3), c2 = [];
|
|
12372
12372
|
for (r3 = 0; r3 < o2.length; r3 += 1) c2[r3] = o2.charCodeAt(r3) ^ s2.charCodeAt(r3);
|
|
12373
|
-
var u2 =
|
|
12373
|
+
var u2 = Xo(c2, a2.length, n3), l2 = [0];
|
|
12374
12374
|
for (r3 = 0; r3 < a2.length; r3 += 1) l2[r3 + 1] = a2[r3] ^ u2.charCodeAt(r3);
|
|
12375
|
-
return new
|
|
12375
|
+
return new ho(l2.concat(c2));
|
|
12376
12376
|
}
|
|
12377
|
-
var
|
|
12377
|
+
var ea = function() {
|
|
12378
12378
|
function e3() {
|
|
12379
12379
|
this.n = null, this.e = 0, this.d = null, this.p = null, this.q = null, this.dmp1 = null, this.dmq1 = null, this.coeff = null;
|
|
12380
12380
|
}
|
|
@@ -12385,9 +12385,9 @@ function requireEideasyBrowserClient() {
|
|
|
12385
12385
|
for (var t3 = e4.mod(this.p).modPow(this.dmp1, this.p), n3 = e4.mod(this.q).modPow(this.dmq1, this.q); t3.compareTo(n3) < 0; ) t3 = t3.add(this.p);
|
|
12386
12386
|
return t3.subtract(n3).multiply(this.coeff).mod(this.p).multiply(this.q).add(n3);
|
|
12387
12387
|
}, e3.prototype.setPublic = function(e4, t3) {
|
|
12388
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12388
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Eo(e4, 16), this.e = parseInt(t3, 16)) : console.error("Invalid RSA public key");
|
|
12389
12389
|
}, e3.prototype.encrypt = function(e4, t3) {
|
|
12390
|
-
void 0 === t3 && (t3 =
|
|
12390
|
+
void 0 === t3 && (t3 = Yo);
|
|
12391
12391
|
var n3 = this.n.bitLength() + 7 >> 3, r3 = t3(e4, n3);
|
|
12392
12392
|
if (null == r3) return null;
|
|
12393
12393
|
var i2 = this.doPublic(r3);
|
|
@@ -12395,27 +12395,27 @@ function requireEideasyBrowserClient() {
|
|
|
12395
12395
|
for (var o2 = i2.toString(16), a2 = o2.length, s2 = 0; s2 < 2 * n3 - a2; s2++) o2 = "0" + o2;
|
|
12396
12396
|
return o2;
|
|
12397
12397
|
}, e3.prototype.setPrivate = function(e4, t3, n3) {
|
|
12398
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12398
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Eo(e4, 16), this.e = parseInt(t3, 16), this.d = Eo(n3, 16)) : console.error("Invalid RSA private key");
|
|
12399
12399
|
}, e3.prototype.setPrivateEx = function(e4, t3, n3, r3, i2, o2, a2, s2) {
|
|
12400
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12400
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Eo(e4, 16), this.e = parseInt(t3, 16), this.d = Eo(n3, 16), this.p = Eo(r3, 16), this.q = Eo(i2, 16), this.dmp1 = Eo(o2, 16), this.dmq1 = Eo(a2, 16), this.coeff = Eo(s2, 16)) : console.error("Invalid RSA private key");
|
|
12401
12401
|
}, e3.prototype.generate = function(e4, t3) {
|
|
12402
|
-
var n3 = new
|
|
12402
|
+
var n3 = new Po(), r3 = e4 >> 1;
|
|
12403
12403
|
this.e = parseInt(t3, 16);
|
|
12404
|
-
for (var i2 = new
|
|
12405
|
-
for (; this.p = new
|
|
12406
|
-
for (; this.q = new
|
|
12404
|
+
for (var i2 = new ho(t3, 16); ; ) {
|
|
12405
|
+
for (; this.p = new ho(e4 - r3, 1, n3), 0 != this.p.subtract(ho.ONE).gcd(i2).compareTo(ho.ONE) || !this.p.isProbablePrime(10); ) ;
|
|
12406
|
+
for (; this.q = new ho(r3, 1, n3), 0 != this.q.subtract(ho.ONE).gcd(i2).compareTo(ho.ONE) || !this.q.isProbablePrime(10); ) ;
|
|
12407
12407
|
if (this.p.compareTo(this.q) <= 0) {
|
|
12408
12408
|
var o2 = this.p;
|
|
12409
12409
|
this.p = this.q, this.q = o2;
|
|
12410
12410
|
}
|
|
12411
|
-
var a2 = this.p.subtract(
|
|
12412
|
-
if (0 == c2.gcd(i2).compareTo(
|
|
12411
|
+
var a2 = this.p.subtract(ho.ONE), s2 = this.q.subtract(ho.ONE), c2 = a2.multiply(s2);
|
|
12412
|
+
if (0 == c2.gcd(i2).compareTo(ho.ONE)) {
|
|
12413
12413
|
this.n = this.p.multiply(this.q), this.d = i2.modInverse(c2), this.dmp1 = this.d.mod(a2), this.dmq1 = this.d.mod(s2), this.coeff = this.q.modInverse(this.p);
|
|
12414
12414
|
break;
|
|
12415
12415
|
}
|
|
12416
12416
|
}
|
|
12417
12417
|
}, e3.prototype.decrypt = function(e4) {
|
|
12418
|
-
var t3 =
|
|
12418
|
+
var t3 = Eo(e4, 16), n3 = this.doPrivate(t3);
|
|
12419
12419
|
return null == n3 ? null : function(e5, t4) {
|
|
12420
12420
|
for (var n4 = e5.toByteArray(), r3 = 0; r3 < n4.length && 0 == n4[r3]; ) ++r3;
|
|
12421
12421
|
if (n4.length - r3 != t4 - 1 || 2 != n4[r3]) return null;
|
|
@@ -12427,28 +12427,28 @@ function requireEideasyBrowserClient() {
|
|
|
12427
12427
|
return i2;
|
|
12428
12428
|
}(n3, this.n.bitLength() + 7 >> 3);
|
|
12429
12429
|
}, e3.prototype.generateAsync = function(e4, t3, n3) {
|
|
12430
|
-
var r3 = new
|
|
12430
|
+
var r3 = new Po(), i2 = e4 >> 1;
|
|
12431
12431
|
this.e = parseInt(t3, 16);
|
|
12432
|
-
var o2 = new
|
|
12432
|
+
var o2 = new ho(t3, 16), a2 = this, s2 = function() {
|
|
12433
12433
|
var t4 = function() {
|
|
12434
12434
|
if (a2.p.compareTo(a2.q) <= 0) {
|
|
12435
12435
|
var e5 = a2.p;
|
|
12436
12436
|
a2.p = a2.q, a2.q = e5;
|
|
12437
12437
|
}
|
|
12438
|
-
var t5 = a2.p.subtract(
|
|
12439
|
-
0 == i3.gcd(o2).compareTo(
|
|
12438
|
+
var t5 = a2.p.subtract(ho.ONE), r4 = a2.q.subtract(ho.ONE), i3 = t5.multiply(r4);
|
|
12439
|
+
0 == i3.gcd(o2).compareTo(ho.ONE) ? (a2.n = a2.p.multiply(a2.q), a2.d = o2.modInverse(i3), a2.dmp1 = a2.d.mod(t5), a2.dmq1 = a2.d.mod(r4), a2.coeff = a2.q.modInverse(a2.p), setTimeout(function() {
|
|
12440
12440
|
n3();
|
|
12441
12441
|
}, 0)) : setTimeout(s2, 0);
|
|
12442
12442
|
}, c2 = function() {
|
|
12443
|
-
a2.q =
|
|
12444
|
-
a2.q.subtract(
|
|
12445
|
-
0 == e5.compareTo(
|
|
12443
|
+
a2.q = Io(), a2.q.fromNumberAsync(i2, 1, r3, function() {
|
|
12444
|
+
a2.q.subtract(ho.ONE).gcda(o2, function(e5) {
|
|
12445
|
+
0 == e5.compareTo(ho.ONE) && a2.q.isProbablePrime(10) ? setTimeout(t4, 0) : setTimeout(c2, 0);
|
|
12446
12446
|
});
|
|
12447
12447
|
});
|
|
12448
12448
|
}, u2 = function() {
|
|
12449
|
-
a2.p =
|
|
12450
|
-
a2.p.subtract(
|
|
12451
|
-
0 == e5.compareTo(
|
|
12449
|
+
a2.p = Io(), a2.p.fromNumberAsync(e4 - i2, 1, r3, function() {
|
|
12450
|
+
a2.p.subtract(ho.ONE).gcda(o2, function(e5) {
|
|
12451
|
+
0 == e5.compareTo(ho.ONE) && a2.p.isProbablePrime(10) ? setTimeout(c2, 0) : setTimeout(u2, 0);
|
|
12452
12452
|
});
|
|
12453
12453
|
});
|
|
12454
12454
|
};
|
|
@@ -12456,10 +12456,10 @@ function requireEideasyBrowserClient() {
|
|
|
12456
12456
|
};
|
|
12457
12457
|
setTimeout(s2, 0);
|
|
12458
12458
|
}, e3.prototype.sign = function(e4, t3, n3) {
|
|
12459
|
-
var r3 = (
|
|
12459
|
+
var r3 = (ta[n3] || "") + t3(e4).toString(), i2 = this.n.bitLength() / 4, o2 = function(e5, t4) {
|
|
12460
12460
|
if (t4 < e5.length + 22) return console.error("Message too long for RSA"), null;
|
|
12461
12461
|
for (var n4 = t4 - e5.length - 6, r4 = "", i3 = 0; i3 < n4; i3 += 2) r4 += "ff";
|
|
12462
|
-
return
|
|
12462
|
+
return Eo("0001" + r4 + "00" + e5, 16);
|
|
12463
12463
|
}(r3, i2);
|
|
12464
12464
|
if (null == o2) return null;
|
|
12465
12465
|
var a2 = this.doPrivate(o2);
|
|
@@ -12467,24 +12467,24 @@ function requireEideasyBrowserClient() {
|
|
|
12467
12467
|
for (var s2 = a2.toString(16), c2 = s2.length, u2 = 0; u2 < i2 - c2; u2++) s2 = "0" + s2;
|
|
12468
12468
|
return s2;
|
|
12469
12469
|
}, e3.prototype.verify = function(e4, t3, n3) {
|
|
12470
|
-
var r3 =
|
|
12470
|
+
var r3 = Eo(t3, 16), i2 = this.doPublic(r3);
|
|
12471
12471
|
return null == i2 ? null : function(e5) {
|
|
12472
|
-
for (var t4 in
|
|
12473
|
-
var n4 =
|
|
12472
|
+
for (var t4 in ta) if (ta.hasOwnProperty(t4)) {
|
|
12473
|
+
var n4 = ta[t4], r4 = n4.length;
|
|
12474
12474
|
if (e5.substring(0, r4) == n4) return e5.substring(r4);
|
|
12475
12475
|
}
|
|
12476
12476
|
return e5;
|
|
12477
12477
|
}(i2.toString(16).replace(/^1f+00/, "")) == n3(e4).toString();
|
|
12478
12478
|
}, e3;
|
|
12479
|
-
}(),
|
|
12480
|
-
function
|
|
12479
|
+
}(), ta = { md2: "3020300c06082a864886f70d020205000410", md5: "3020300c06082a864886f70d020505000410", sha1: "3021300906052b0e03021a05000414", sha224: "302d300d06096086480165030402040500041c", sha256: "3031300d060960864801650304020105000420", sha384: "3041300d060960864801650304020205000430", sha512: "3051300d060960864801650304020305000440", ripemd160: "3021300906052b2403020105000414" };
|
|
12480
|
+
function na(e3, t3, n3) {
|
|
12481
12481
|
if (!t3 || !e3) throw new Error("extend failed, please check that all dependencies are included.");
|
|
12482
12482
|
var r3 = function() {
|
|
12483
12483
|
};
|
|
12484
12484
|
if (r3.prototype = t3.prototype, e3.prototype = new r3(), e3.prototype.constructor = e3, e3.superclass = t3.prototype, t3.prototype.constructor == Object.prototype.constructor && (t3.prototype.constructor = t3), n3) ;
|
|
12485
12485
|
}
|
|
12486
|
-
var
|
|
12487
|
-
void 0 !==
|
|
12486
|
+
var ra = {};
|
|
12487
|
+
void 0 !== ra.asn1 && ra.asn1 || (ra.asn1 = {}), ra.asn1.ASN1Util = new function() {
|
|
12488
12488
|
this.integerToByteHex = function(e3) {
|
|
12489
12489
|
var t3 = e3.toString(16);
|
|
12490
12490
|
return t3.length % 2 == 1 && (t3 = "0" + t3), t3;
|
|
@@ -12495,13 +12495,13 @@ function requireEideasyBrowserClient() {
|
|
|
12495
12495
|
var n3 = t3.substring(1).length;
|
|
12496
12496
|
n3 % 2 == 1 ? n3 += 1 : t3.match(/^[0-7]/) || (n3 += 2);
|
|
12497
12497
|
for (var r3 = "", i2 = 0; i2 < n3; i2++) r3 += "f";
|
|
12498
|
-
t3 = new
|
|
12498
|
+
t3 = new ho(r3, 16).xor(e3).add(ho.ONE).toString(16).replace(/^-/, "");
|
|
12499
12499
|
}
|
|
12500
12500
|
return t3;
|
|
12501
12501
|
}, this.getPEMStringFromHex = function(e3, t3) {
|
|
12502
12502
|
return hextopem(e3, t3);
|
|
12503
12503
|
}, this.newObject = function(e3) {
|
|
12504
|
-
var t3 =
|
|
12504
|
+
var t3 = ra.asn1, n3 = t3.DERBoolean, r3 = t3.DERInteger, i2 = t3.DERBitString, o2 = t3.DEROctetString, a2 = t3.DERNull, s2 = t3.DERObjectIdentifier, c2 = t3.DEREnumerated, u2 = t3.DERUTF8String, l2 = t3.DERNumericString, d2 = t3.DERPrintableString, p3 = t3.DERTeletexString, g2 = t3.DERIA5String, f2 = t3.DERUTCTime, h3 = t3.DERGeneralizedTime, y2 = t3.DERSequence, T2 = t3.DERSet, m2 = t3.DERTaggedObject, S3 = t3.ASN1Util.newObject, I2 = Object.keys(e3);
|
|
12505
12505
|
if (1 != I2.length) throw "key of param shall be only one.";
|
|
12506
12506
|
var E2 = I2[0];
|
|
12507
12507
|
if (-1 == ":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + E2 + ":")) throw "undefined key: " + E2;
|
|
@@ -12521,40 +12521,40 @@ function requireEideasyBrowserClient() {
|
|
|
12521
12521
|
if ("gentime" == E2) return new h3(e3[E2]);
|
|
12522
12522
|
if ("seq" == E2) {
|
|
12523
12523
|
for (var C2 = e3[E2], v2 = [], A2 = 0; A2 < C2.length; A2++) {
|
|
12524
|
-
var b2 =
|
|
12524
|
+
var b2 = S3(C2[A2]);
|
|
12525
12525
|
v2.push(b2);
|
|
12526
12526
|
}
|
|
12527
12527
|
return new y2({ array: v2 });
|
|
12528
12528
|
}
|
|
12529
12529
|
if ("set" == E2) {
|
|
12530
|
-
for (C2 = e3[E2], v2 = [], A2 = 0; A2 < C2.length; A2++) b2 =
|
|
12530
|
+
for (C2 = e3[E2], v2 = [], A2 = 0; A2 < C2.length; A2++) b2 = S3(C2[A2]), v2.push(b2);
|
|
12531
12531
|
return new T2({ array: v2 });
|
|
12532
12532
|
}
|
|
12533
12533
|
if ("tag" == E2) {
|
|
12534
12534
|
var _2 = e3[E2];
|
|
12535
12535
|
if ("[object Array]" === Object.prototype.toString.call(_2) && 3 == _2.length) {
|
|
12536
|
-
var N2 =
|
|
12537
|
-
return new
|
|
12536
|
+
var N2 = S3(_2[2]);
|
|
12537
|
+
return new m2({ tag: _2[0], explicit: _2[1], obj: N2 });
|
|
12538
12538
|
}
|
|
12539
12539
|
var R2 = {};
|
|
12540
12540
|
if (void 0 !== _2.explicit && (R2.explicit = _2.explicit), void 0 !== _2.tag && (R2.tag = _2.tag), void 0 === _2.obj) throw "obj shall be specified for 'tag'.";
|
|
12541
|
-
return R2.obj =
|
|
12541
|
+
return R2.obj = S3(_2.obj), new m2(R2);
|
|
12542
12542
|
}
|
|
12543
12543
|
}, this.jsonToASN1HEX = function(e3) {
|
|
12544
12544
|
return this.newObject(e3).getEncodedHex();
|
|
12545
12545
|
};
|
|
12546
|
-
}(),
|
|
12546
|
+
}(), ra.asn1.ASN1Util.oidHexToInt = function(e3) {
|
|
12547
12547
|
for (var t3 = "", n3 = parseInt(e3.substring(0, 2), 16), r3 = (t3 = Math.floor(n3 / 40) + "." + n3 % 40, ""), i2 = 2; i2 < e3.length; i2 += 2) {
|
|
12548
12548
|
var o2 = ("00000000" + parseInt(e3.substring(i2, i2 + 2), 16).toString(2)).slice(-8);
|
|
12549
|
-
r3 += o2.substring(1, 8), "0" == o2.substring(0, 1) && (t3 = t3 + "." + new
|
|
12549
|
+
r3 += o2.substring(1, 8), "0" == o2.substring(0, 1) && (t3 = t3 + "." + new ho(r3, 2).toString(10), r3 = "");
|
|
12550
12550
|
}
|
|
12551
12551
|
return t3;
|
|
12552
|
-
},
|
|
12552
|
+
}, ra.asn1.ASN1Util.oidIntToHex = function(e3) {
|
|
12553
12553
|
var t3 = function(e4) {
|
|
12554
12554
|
var t4 = e4.toString(16);
|
|
12555
12555
|
return 1 == t4.length && (t4 = "0" + t4), t4;
|
|
12556
12556
|
}, n3 = function(e4) {
|
|
12557
|
-
var n4 = "", r4 = new
|
|
12557
|
+
var n4 = "", r4 = new ho(e4, 10).toString(2), i3 = 7 - r4.length % 7;
|
|
12558
12558
|
7 == i3 && (i3 = 0);
|
|
12559
12559
|
for (var o3 = "", a3 = 0; a3 < i3; a3++) o3 += "0";
|
|
12560
12560
|
for (r4 = o3 + r4, a3 = 0; a3 < r4.length - 1; a3 += 7) {
|
|
@@ -12568,7 +12568,7 @@ function requireEideasyBrowserClient() {
|
|
|
12568
12568
|
r3 += t3(o2), i2.splice(0, 2);
|
|
12569
12569
|
for (var a2 = 0; a2 < i2.length; a2++) r3 += n3(i2[a2]);
|
|
12570
12570
|
return r3;
|
|
12571
|
-
},
|
|
12571
|
+
}, ra.asn1.ASN1Object = function() {
|
|
12572
12572
|
this.getLengthHexFromValue = function() {
|
|
12573
12573
|
if (void 0 === this.hV || null == this.hV) throw "this.hV is null or undefined.";
|
|
12574
12574
|
if (this.hV.length % 2 == 1) throw "value hex must be even length: n=0,v=" + this.hV;
|
|
@@ -12584,8 +12584,8 @@ function requireEideasyBrowserClient() {
|
|
|
12584
12584
|
}, this.getFreshValueHex = function() {
|
|
12585
12585
|
return "";
|
|
12586
12586
|
};
|
|
12587
|
-
},
|
|
12588
|
-
|
|
12587
|
+
}, ra.asn1.DERAbstractString = function(e3) {
|
|
12588
|
+
ra.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
|
|
12589
12589
|
return this.s;
|
|
12590
12590
|
}, this.setString = function(e4) {
|
|
12591
12591
|
this.hTLV = null, this.isModified = true, this.s = e4, this.hV = stohex(this.s);
|
|
@@ -12594,8 +12594,8 @@ function requireEideasyBrowserClient() {
|
|
|
12594
12594
|
}, this.getFreshValueHex = function() {
|
|
12595
12595
|
return this.hV;
|
|
12596
12596
|
}, void 0 !== e3 && ("string" == typeof e3 ? this.setString(e3) : void 0 !== e3.str ? this.setString(e3.str) : void 0 !== e3.hex && this.setStringHex(e3.hex));
|
|
12597
|
-
},
|
|
12598
|
-
|
|
12597
|
+
}, na(ra.asn1.DERAbstractString, ra.asn1.ASN1Object), ra.asn1.DERAbstractTime = function(e3) {
|
|
12598
|
+
ra.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(e4) {
|
|
12599
12599
|
return utc = e4.getTime() + 6e4 * e4.getTimezoneOffset(), new Date(utc);
|
|
12600
12600
|
}, this.formatDate = function(e4, t3, n3) {
|
|
12601
12601
|
var r3 = this.zeroPadding, i2 = this.localDateToUTC(e4), o2 = String(i2.getFullYear());
|
|
@@ -12621,31 +12621,31 @@ function requireEideasyBrowserClient() {
|
|
|
12621
12621
|
}, this.getFreshValueHex = function() {
|
|
12622
12622
|
return this.hV;
|
|
12623
12623
|
};
|
|
12624
|
-
},
|
|
12625
|
-
|
|
12624
|
+
}, na(ra.asn1.DERAbstractTime, ra.asn1.ASN1Object), ra.asn1.DERAbstractStructured = function(e3) {
|
|
12625
|
+
ra.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(e4) {
|
|
12626
12626
|
this.hTLV = null, this.isModified = true, this.asn1Array = e4;
|
|
12627
12627
|
}, this.appendASN1Object = function(e4) {
|
|
12628
12628
|
this.hTLV = null, this.isModified = true, this.asn1Array.push(e4);
|
|
12629
12629
|
}, this.asn1Array = new Array(), void 0 !== e3 && void 0 !== e3.array && (this.asn1Array = e3.array);
|
|
12630
|
-
},
|
|
12631
|
-
|
|
12632
|
-
},
|
|
12633
|
-
|
|
12634
|
-
this.hTLV = null, this.isModified = true, this.hV =
|
|
12630
|
+
}, na(ra.asn1.DERAbstractStructured, ra.asn1.ASN1Object), ra.asn1.DERBoolean = function() {
|
|
12631
|
+
ra.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
|
|
12632
|
+
}, na(ra.asn1.DERBoolean, ra.asn1.ASN1Object), ra.asn1.DERInteger = function(e3) {
|
|
12633
|
+
ra.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e4) {
|
|
12634
|
+
this.hTLV = null, this.isModified = true, this.hV = ra.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e4);
|
|
12635
12635
|
}, this.setByInteger = function(e4) {
|
|
12636
|
-
var t3 = new
|
|
12636
|
+
var t3 = new ho(String(e4), 10);
|
|
12637
12637
|
this.setByBigInteger(t3);
|
|
12638
12638
|
}, this.setValueHex = function(e4) {
|
|
12639
12639
|
this.hV = e4;
|
|
12640
12640
|
}, this.getFreshValueHex = function() {
|
|
12641
12641
|
return this.hV;
|
|
12642
12642
|
}, void 0 !== e3 && (void 0 !== e3.bigint ? this.setByBigInteger(e3.bigint) : void 0 !== e3.int ? this.setByInteger(e3.int) : "number" == typeof e3 ? this.setByInteger(e3) : void 0 !== e3.hex && this.setValueHex(e3.hex));
|
|
12643
|
-
},
|
|
12643
|
+
}, na(ra.asn1.DERInteger, ra.asn1.ASN1Object), ra.asn1.DERBitString = function(e3) {
|
|
12644
12644
|
if (void 0 !== e3 && void 0 !== e3.obj) {
|
|
12645
|
-
var t3 =
|
|
12645
|
+
var t3 = ra.asn1.ASN1Util.newObject(e3.obj);
|
|
12646
12646
|
e3.hex = "00" + t3.getEncodedHex();
|
|
12647
12647
|
}
|
|
12648
|
-
|
|
12648
|
+
ra.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e4) {
|
|
12649
12649
|
this.hTLV = null, this.isModified = true, this.hV = e4;
|
|
12650
12650
|
}, this.setUnusedBitsAndHexValue = function(e4, t4) {
|
|
12651
12651
|
if (e4 < 0 || 7 < e4) throw "unused bits shall be from 0 to 7: u = " + e4;
|
|
@@ -12670,20 +12670,20 @@ function requireEideasyBrowserClient() {
|
|
|
12670
12670
|
}, this.getFreshValueHex = function() {
|
|
12671
12671
|
return this.hV;
|
|
12672
12672
|
}, void 0 !== e3 && ("string" == typeof e3 && e3.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(e3) : void 0 !== e3.hex ? this.setHexValueIncludingUnusedBits(e3.hex) : void 0 !== e3.bin ? this.setByBinaryString(e3.bin) : void 0 !== e3.array && this.setByBooleanArray(e3.array));
|
|
12673
|
-
},
|
|
12673
|
+
}, na(ra.asn1.DERBitString, ra.asn1.ASN1Object), ra.asn1.DEROctetString = function(e3) {
|
|
12674
12674
|
if (void 0 !== e3 && void 0 !== e3.obj) {
|
|
12675
|
-
var t3 =
|
|
12675
|
+
var t3 = ra.asn1.ASN1Util.newObject(e3.obj);
|
|
12676
12676
|
e3.hex = t3.getEncodedHex();
|
|
12677
12677
|
}
|
|
12678
|
-
|
|
12679
|
-
},
|
|
12680
|
-
|
|
12681
|
-
},
|
|
12678
|
+
ra.asn1.DEROctetString.superclass.constructor.call(this, e3), this.hT = "04";
|
|
12679
|
+
}, na(ra.asn1.DEROctetString, ra.asn1.DERAbstractString), ra.asn1.DERNull = function() {
|
|
12680
|
+
ra.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
|
|
12681
|
+
}, na(ra.asn1.DERNull, ra.asn1.ASN1Object), ra.asn1.DERObjectIdentifier = function(e3) {
|
|
12682
12682
|
var t3 = function(e4) {
|
|
12683
12683
|
var t4 = e4.toString(16);
|
|
12684
12684
|
return 1 == t4.length && (t4 = "0" + t4), t4;
|
|
12685
12685
|
}, n3 = function(e4) {
|
|
12686
|
-
var n4 = "", r3 = new
|
|
12686
|
+
var n4 = "", r3 = new ho(e4, 10).toString(2), i2 = 7 - r3.length % 7;
|
|
12687
12687
|
7 == i2 && (i2 = 0);
|
|
12688
12688
|
for (var o2 = "", a2 = 0; a2 < i2; a2++) o2 += "0";
|
|
12689
12689
|
for (r3 = o2 + r3, a2 = 0; a2 < r3.length - 1; a2 += 7) {
|
|
@@ -12692,7 +12692,7 @@ function requireEideasyBrowserClient() {
|
|
|
12692
12692
|
}
|
|
12693
12693
|
return n4;
|
|
12694
12694
|
};
|
|
12695
|
-
|
|
12695
|
+
ra.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(e4) {
|
|
12696
12696
|
this.hTLV = null, this.isModified = true, this.s = null, this.hV = e4;
|
|
12697
12697
|
}, this.setValueOidString = function(e4) {
|
|
12698
12698
|
if (!e4.match(/^[0-9.]+$/)) throw "malformed oid string: " + e4;
|
|
@@ -12701,139 +12701,139 @@ function requireEideasyBrowserClient() {
|
|
|
12701
12701
|
for (var a2 = 0; a2 < i2.length; a2++) r3 += n3(i2[a2]);
|
|
12702
12702
|
this.hTLV = null, this.isModified = true, this.s = null, this.hV = r3;
|
|
12703
12703
|
}, this.setValueName = function(e4) {
|
|
12704
|
-
var t4 =
|
|
12704
|
+
var t4 = ra.asn1.x509.OID.name2oid(e4);
|
|
12705
12705
|
if ("" === t4) throw "DERObjectIdentifier oidName undefined: " + e4;
|
|
12706
12706
|
this.setValueOidString(t4);
|
|
12707
12707
|
}, this.getFreshValueHex = function() {
|
|
12708
12708
|
return this.hV;
|
|
12709
12709
|
}, void 0 !== e3 && ("string" == typeof e3 ? e3.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(e3) : this.setValueName(e3) : void 0 !== e3.oid ? this.setValueOidString(e3.oid) : void 0 !== e3.hex ? this.setValueHex(e3.hex) : void 0 !== e3.name && this.setValueName(e3.name));
|
|
12710
|
-
},
|
|
12711
|
-
|
|
12712
|
-
this.hTLV = null, this.isModified = true, this.hV =
|
|
12710
|
+
}, na(ra.asn1.DERObjectIdentifier, ra.asn1.ASN1Object), ra.asn1.DEREnumerated = function(e3) {
|
|
12711
|
+
ra.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e4) {
|
|
12712
|
+
this.hTLV = null, this.isModified = true, this.hV = ra.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e4);
|
|
12713
12713
|
}, this.setByInteger = function(e4) {
|
|
12714
|
-
var t3 = new
|
|
12714
|
+
var t3 = new ho(String(e4), 10);
|
|
12715
12715
|
this.setByBigInteger(t3);
|
|
12716
12716
|
}, this.setValueHex = function(e4) {
|
|
12717
12717
|
this.hV = e4;
|
|
12718
12718
|
}, this.getFreshValueHex = function() {
|
|
12719
12719
|
return this.hV;
|
|
12720
12720
|
}, void 0 !== e3 && (void 0 !== e3.int ? this.setByInteger(e3.int) : "number" == typeof e3 ? this.setByInteger(e3) : void 0 !== e3.hex && this.setValueHex(e3.hex));
|
|
12721
|
-
},
|
|
12722
|
-
|
|
12723
|
-
},
|
|
12724
|
-
|
|
12725
|
-
},
|
|
12726
|
-
|
|
12727
|
-
},
|
|
12728
|
-
|
|
12729
|
-
},
|
|
12730
|
-
|
|
12731
|
-
},
|
|
12732
|
-
|
|
12721
|
+
}, na(ra.asn1.DEREnumerated, ra.asn1.ASN1Object), ra.asn1.DERUTF8String = function(e3) {
|
|
12722
|
+
ra.asn1.DERUTF8String.superclass.constructor.call(this, e3), this.hT = "0c";
|
|
12723
|
+
}, na(ra.asn1.DERUTF8String, ra.asn1.DERAbstractString), ra.asn1.DERNumericString = function(e3) {
|
|
12724
|
+
ra.asn1.DERNumericString.superclass.constructor.call(this, e3), this.hT = "12";
|
|
12725
|
+
}, na(ra.asn1.DERNumericString, ra.asn1.DERAbstractString), ra.asn1.DERPrintableString = function(e3) {
|
|
12726
|
+
ra.asn1.DERPrintableString.superclass.constructor.call(this, e3), this.hT = "13";
|
|
12727
|
+
}, na(ra.asn1.DERPrintableString, ra.asn1.DERAbstractString), ra.asn1.DERTeletexString = function(e3) {
|
|
12728
|
+
ra.asn1.DERTeletexString.superclass.constructor.call(this, e3), this.hT = "14";
|
|
12729
|
+
}, na(ra.asn1.DERTeletexString, ra.asn1.DERAbstractString), ra.asn1.DERIA5String = function(e3) {
|
|
12730
|
+
ra.asn1.DERIA5String.superclass.constructor.call(this, e3), this.hT = "16";
|
|
12731
|
+
}, na(ra.asn1.DERIA5String, ra.asn1.DERAbstractString), ra.asn1.DERUTCTime = function(e3) {
|
|
12732
|
+
ra.asn1.DERUTCTime.superclass.constructor.call(this, e3), this.hT = "17", this.setByDate = function(e4) {
|
|
12733
12733
|
this.hTLV = null, this.isModified = true, this.date = e4, this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s);
|
|
12734
12734
|
}, this.getFreshValueHex = function() {
|
|
12735
12735
|
return void 0 === this.date && void 0 === this.s && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s)), this.hV;
|
|
12736
12736
|
}, void 0 !== e3 && (void 0 !== e3.str ? this.setString(e3.str) : "string" == typeof e3 && e3.match(/^[0-9]{12}Z$/) ? this.setString(e3) : void 0 !== e3.hex ? this.setStringHex(e3.hex) : void 0 !== e3.date && this.setByDate(e3.date));
|
|
12737
|
-
},
|
|
12738
|
-
|
|
12737
|
+
}, na(ra.asn1.DERUTCTime, ra.asn1.DERAbstractTime), ra.asn1.DERGeneralizedTime = function(e3) {
|
|
12738
|
+
ra.asn1.DERGeneralizedTime.superclass.constructor.call(this, e3), this.hT = "18", this.withMillis = false, this.setByDate = function(e4) {
|
|
12739
12739
|
this.hTLV = null, this.isModified = true, this.date = e4, this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s);
|
|
12740
12740
|
}, this.getFreshValueHex = function() {
|
|
12741
12741
|
return void 0 === this.date && void 0 === this.s && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s)), this.hV;
|
|
12742
12742
|
}, void 0 !== e3 && (void 0 !== e3.str ? this.setString(e3.str) : "string" == typeof e3 && e3.match(/^[0-9]{14}Z$/) ? this.setString(e3) : void 0 !== e3.hex ? this.setStringHex(e3.hex) : void 0 !== e3.date && this.setByDate(e3.date), true === e3.millis && (this.withMillis = true));
|
|
12743
|
-
},
|
|
12744
|
-
|
|
12743
|
+
}, na(ra.asn1.DERGeneralizedTime, ra.asn1.DERAbstractTime), ra.asn1.DERSequence = function(e3) {
|
|
12744
|
+
ra.asn1.DERSequence.superclass.constructor.call(this, e3), this.hT = "30", this.getFreshValueHex = function() {
|
|
12745
12745
|
for (var e4 = "", t3 = 0; t3 < this.asn1Array.length; t3++) e4 += this.asn1Array[t3].getEncodedHex();
|
|
12746
12746
|
return this.hV = e4, this.hV;
|
|
12747
12747
|
};
|
|
12748
|
-
},
|
|
12749
|
-
|
|
12748
|
+
}, na(ra.asn1.DERSequence, ra.asn1.DERAbstractStructured), ra.asn1.DERSet = function(e3) {
|
|
12749
|
+
ra.asn1.DERSet.superclass.constructor.call(this, e3), this.hT = "31", this.sortFlag = true, this.getFreshValueHex = function() {
|
|
12750
12750
|
for (var e4 = new Array(), t3 = 0; t3 < this.asn1Array.length; t3++) {
|
|
12751
12751
|
var n3 = this.asn1Array[t3];
|
|
12752
12752
|
e4.push(n3.getEncodedHex());
|
|
12753
12753
|
}
|
|
12754
12754
|
return 1 == this.sortFlag && e4.sort(), this.hV = e4.join(""), this.hV;
|
|
12755
12755
|
}, void 0 !== e3 && void 0 !== e3.sortflag && 0 == e3.sortflag && (this.sortFlag = false);
|
|
12756
|
-
},
|
|
12757
|
-
|
|
12756
|
+
}, na(ra.asn1.DERSet, ra.asn1.DERAbstractStructured), ra.asn1.DERTaggedObject = function(e3) {
|
|
12757
|
+
ra.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = true, this.asn1Object = null, this.setASN1Object = function(e4, t3, n3) {
|
|
12758
12758
|
this.hT = t3, this.isExplicit = e4, this.asn1Object = n3, this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), this.hTLV = null, this.isModified = true) : (this.hV = null, this.hTLV = n3.getEncodedHex(), this.hTLV = this.hTLV.replace(/^../, t3), this.isModified = false);
|
|
12759
12759
|
}, this.getFreshValueHex = function() {
|
|
12760
12760
|
return this.hV;
|
|
12761
12761
|
}, void 0 !== e3 && (void 0 !== e3.tag && (this.hT = e3.tag), void 0 !== e3.explicit && (this.isExplicit = e3.explicit), void 0 !== e3.obj && (this.asn1Object = e3.obj, this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)));
|
|
12762
|
-
},
|
|
12763
|
-
var
|
|
12764
|
-
return
|
|
12762
|
+
}, na(ra.asn1.DERTaggedObject, ra.asn1.ASN1Object);
|
|
12763
|
+
var ia, oa, aa = (ia = function(e3, t3) {
|
|
12764
|
+
return ia = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
|
|
12765
12765
|
e4.__proto__ = t4;
|
|
12766
12766
|
} || function(e4, t4) {
|
|
12767
12767
|
for (var n3 in t4) Object.prototype.hasOwnProperty.call(t4, n3) && (e4[n3] = t4[n3]);
|
|
12768
|
-
},
|
|
12768
|
+
}, ia(e3, t3);
|
|
12769
12769
|
}, function(e3, t3) {
|
|
12770
12770
|
if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null");
|
|
12771
12771
|
function n3() {
|
|
12772
12772
|
this.constructor = e3;
|
|
12773
12773
|
}
|
|
12774
|
-
|
|
12775
|
-
}),
|
|
12774
|
+
ia(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (n3.prototype = t3.prototype, new n3());
|
|
12775
|
+
}), sa = function(e3) {
|
|
12776
12776
|
function t3(n3) {
|
|
12777
12777
|
var r3 = e3.call(this) || this;
|
|
12778
12778
|
return n3 && ("string" == typeof n3 ? r3.parseKey(n3) : (t3.hasPrivateKeyProperty(n3) || t3.hasPublicKeyProperty(n3)) && r3.parsePropertiesFrom(n3)), r3;
|
|
12779
12779
|
}
|
|
12780
|
-
return
|
|
12780
|
+
return aa(t3, e3), t3.prototype.parseKey = function(e4) {
|
|
12781
12781
|
try {
|
|
12782
12782
|
var t4 = 0, n3 = 0, r3 = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e4) ? function(e5) {
|
|
12783
12783
|
var t5;
|
|
12784
|
-
if (void 0 ===
|
|
12784
|
+
if (void 0 === Yi) {
|
|
12785
12785
|
var n4 = "0123456789ABCDEF";
|
|
12786
|
-
for (
|
|
12787
|
-
for (n4 = n4.toLowerCase(), t5 = 10; t5 < 16; ++t5)
|
|
12788
|
-
for (t5 = 0; t5 < 8; ++t5)
|
|
12786
|
+
for (Yi = {}, t5 = 0; t5 < 16; ++t5) Yi[n4.charAt(t5)] = t5;
|
|
12787
|
+
for (n4 = n4.toLowerCase(), t5 = 10; t5 < 16; ++t5) Yi[n4.charAt(t5)] = t5;
|
|
12788
|
+
for (t5 = 0; t5 < 8; ++t5) Yi[" \f\n\r \u2028\u2029".charAt(t5)] = -1;
|
|
12789
12789
|
}
|
|
12790
12790
|
var r4 = [], i3 = 0, o3 = 0;
|
|
12791
12791
|
for (t5 = 0; t5 < e5.length; ++t5) {
|
|
12792
12792
|
var a3 = e5.charAt(t5);
|
|
12793
12793
|
if ("=" == a3) break;
|
|
12794
|
-
if (-1 != (a3 =
|
|
12794
|
+
if (-1 != (a3 = Yi[a3])) {
|
|
12795
12795
|
if (void 0 === a3) throw new Error("Illegal character at offset " + t5);
|
|
12796
12796
|
i3 |= a3, ++o3 >= 2 ? (r4[r4.length] = i3, i3 = 0, o3 = 0) : i3 <<= 4;
|
|
12797
12797
|
}
|
|
12798
12798
|
}
|
|
12799
12799
|
if (o3) throw new Error("Hex encoding incomplete: 4 bits missing");
|
|
12800
12800
|
return r4;
|
|
12801
|
-
}(e4) :
|
|
12801
|
+
}(e4) : no2.unarmor(e4), i2 = lo.decode(r3);
|
|
12802
12802
|
if (3 === i2.sub.length && (i2 = i2.sub[2].sub[0]), 9 === i2.sub.length) {
|
|
12803
|
-
t4 = i2.sub[1].getHexStringValue(), this.n =
|
|
12803
|
+
t4 = i2.sub[1].getHexStringValue(), this.n = Eo(t4, 16), n3 = i2.sub[2].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12804
12804
|
var o2 = i2.sub[3].getHexStringValue();
|
|
12805
|
-
this.d =
|
|
12805
|
+
this.d = Eo(o2, 16);
|
|
12806
12806
|
var a2 = i2.sub[4].getHexStringValue();
|
|
12807
|
-
this.p =
|
|
12807
|
+
this.p = Eo(a2, 16);
|
|
12808
12808
|
var s2 = i2.sub[5].getHexStringValue();
|
|
12809
|
-
this.q =
|
|
12809
|
+
this.q = Eo(s2, 16);
|
|
12810
12810
|
var c2 = i2.sub[6].getHexStringValue();
|
|
12811
|
-
this.dmp1 =
|
|
12811
|
+
this.dmp1 = Eo(c2, 16);
|
|
12812
12812
|
var u2 = i2.sub[7].getHexStringValue();
|
|
12813
|
-
this.dmq1 =
|
|
12813
|
+
this.dmq1 = Eo(u2, 16);
|
|
12814
12814
|
var l2 = i2.sub[8].getHexStringValue();
|
|
12815
|
-
this.coeff =
|
|
12815
|
+
this.coeff = Eo(l2, 16);
|
|
12816
12816
|
} else {
|
|
12817
12817
|
if (2 !== i2.sub.length) return false;
|
|
12818
12818
|
if (i2.sub[0].sub) {
|
|
12819
12819
|
var d2 = i2.sub[1].sub[0];
|
|
12820
|
-
t4 = d2.sub[0].getHexStringValue(), this.n =
|
|
12821
|
-
} else t4 = i2.sub[0].getHexStringValue(), this.n =
|
|
12820
|
+
t4 = d2.sub[0].getHexStringValue(), this.n = Eo(t4, 16), n3 = d2.sub[1].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12821
|
+
} else t4 = i2.sub[0].getHexStringValue(), this.n = Eo(t4, 16), n3 = i2.sub[1].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12822
12822
|
}
|
|
12823
12823
|
return true;
|
|
12824
12824
|
} catch (e5) {
|
|
12825
12825
|
return false;
|
|
12826
12826
|
}
|
|
12827
12827
|
}, t3.prototype.getPrivateBaseKey = function() {
|
|
12828
|
-
var e4 = { array: [new
|
|
12829
|
-
return new
|
|
12828
|
+
var e4 = { array: [new ra.asn1.DERInteger({ int: 0 }), new ra.asn1.DERInteger({ bigint: this.n }), new ra.asn1.DERInteger({ int: this.e }), new ra.asn1.DERInteger({ bigint: this.d }), new ra.asn1.DERInteger({ bigint: this.p }), new ra.asn1.DERInteger({ bigint: this.q }), new ra.asn1.DERInteger({ bigint: this.dmp1 }), new ra.asn1.DERInteger({ bigint: this.dmq1 }), new ra.asn1.DERInteger({ bigint: this.coeff })] };
|
|
12829
|
+
return new ra.asn1.DERSequence(e4).getEncodedHex();
|
|
12830
12830
|
}, t3.prototype.getPrivateBaseKeyB64 = function() {
|
|
12831
|
-
return
|
|
12831
|
+
return $i(this.getPrivateBaseKey());
|
|
12832
12832
|
}, t3.prototype.getPublicBaseKey = function() {
|
|
12833
|
-
var e4 = new
|
|
12834
|
-
return new
|
|
12833
|
+
var e4 = new ra.asn1.DERSequence({ array: [new ra.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }), new ra.asn1.DERNull()] }), t4 = new ra.asn1.DERSequence({ array: [new ra.asn1.DERInteger({ bigint: this.n }), new ra.asn1.DERInteger({ int: this.e })] }), n3 = new ra.asn1.DERBitString({ hex: "00" + t4.getEncodedHex() });
|
|
12834
|
+
return new ra.asn1.DERSequence({ array: [e4, n3] }).getEncodedHex();
|
|
12835
12835
|
}, t3.prototype.getPublicBaseKeyB64 = function() {
|
|
12836
|
-
return
|
|
12836
|
+
return $i(this.getPublicBaseKey());
|
|
12837
12837
|
}, t3.wordwrap = function(e4, t4) {
|
|
12838
12838
|
if (!e4) return e4;
|
|
12839
12839
|
var n3 = "(.{1," + (t4 = t4 || 64) + "})( +|$\n?)|(.{1," + t4 + "})";
|
|
@@ -12851,31 +12851,31 @@ function requireEideasyBrowserClient() {
|
|
|
12851
12851
|
}, t3.prototype.parsePropertiesFrom = function(e4) {
|
|
12852
12852
|
this.n = e4.n, this.e = e4.e, e4.hasOwnProperty("d") && (this.d = e4.d, this.p = e4.p, this.q = e4.q, this.dmp1 = e4.dmp1, this.dmq1 = e4.dmq1, this.coeff = e4.coeff);
|
|
12853
12853
|
}, t3;
|
|
12854
|
-
}(
|
|
12854
|
+
}(ea), ca = "undefined" != typeof process ? null === (oa = { LIB_ENV: "production" }) || void 0 === oa ? void 0 : oa.npm_package_version : void 0, ua = function() {
|
|
12855
12855
|
function e3(e4) {
|
|
12856
12856
|
void 0 === e4 && (e4 = {}), this.default_key_size = e4.default_key_size ? parseInt(e4.default_key_size, 10) : 1024, this.default_public_exponent = e4.default_public_exponent || "010001", this.log = e4.log || false, this.key = e4.key || null;
|
|
12857
12857
|
}
|
|
12858
12858
|
return e3.prototype.setKey = function(e4) {
|
|
12859
|
-
e4 ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new
|
|
12859
|
+
e4 ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new sa(e4)) : !this.key && this.log && console.error("A key was not set.");
|
|
12860
12860
|
}, e3.prototype.setPrivateKey = function(e4) {
|
|
12861
12861
|
this.setKey(e4);
|
|
12862
12862
|
}, e3.prototype.setPublicKey = function(e4) {
|
|
12863
12863
|
this.setKey(e4);
|
|
12864
12864
|
}, e3.prototype.decrypt = function(e4) {
|
|
12865
12865
|
try {
|
|
12866
|
-
return this.getKey().decrypt(
|
|
12866
|
+
return this.getKey().decrypt(eo(e4));
|
|
12867
12867
|
} catch (e5) {
|
|
12868
12868
|
return false;
|
|
12869
12869
|
}
|
|
12870
12870
|
}, e3.prototype.encrypt = function(e4) {
|
|
12871
12871
|
try {
|
|
12872
|
-
return
|
|
12872
|
+
return $i(this.getKey().encrypt(e4));
|
|
12873
12873
|
} catch (e5) {
|
|
12874
12874
|
return false;
|
|
12875
12875
|
}
|
|
12876
12876
|
}, e3.prototype.encryptOAEP = function(e4) {
|
|
12877
12877
|
try {
|
|
12878
|
-
return
|
|
12878
|
+
return $i(this.getKey().encrypt(e4, $o));
|
|
12879
12879
|
} catch (e5) {
|
|
12880
12880
|
return false;
|
|
12881
12881
|
}
|
|
@@ -12884,30 +12884,30 @@ function requireEideasyBrowserClient() {
|
|
|
12884
12884
|
return e5;
|
|
12885
12885
|
}), void 0 === n3 && (n3 = "");
|
|
12886
12886
|
try {
|
|
12887
|
-
return
|
|
12887
|
+
return $i(this.getKey().sign(e4, t3, n3));
|
|
12888
12888
|
} catch (e5) {
|
|
12889
12889
|
return false;
|
|
12890
12890
|
}
|
|
12891
12891
|
}, e3.prototype.signSha256 = function(e4) {
|
|
12892
12892
|
return this.sign(e4, function(e5) {
|
|
12893
|
-
return jo(
|
|
12893
|
+
return Fo(jo(e5));
|
|
12894
12894
|
}, "sha256");
|
|
12895
12895
|
}, e3.prototype.verify = function(e4, t3, n3) {
|
|
12896
12896
|
void 0 === n3 && (n3 = function(e5) {
|
|
12897
12897
|
return e5;
|
|
12898
12898
|
});
|
|
12899
12899
|
try {
|
|
12900
|
-
return this.getKey().verify(e4,
|
|
12900
|
+
return this.getKey().verify(e4, eo(t3), n3);
|
|
12901
12901
|
} catch (e5) {
|
|
12902
12902
|
return false;
|
|
12903
12903
|
}
|
|
12904
12904
|
}, e3.prototype.verifySha256 = function(e4, t3) {
|
|
12905
12905
|
return this.verify(e4, t3, function(e5) {
|
|
12906
|
-
return jo(
|
|
12906
|
+
return Fo(jo(e5));
|
|
12907
12907
|
});
|
|
12908
12908
|
}, e3.prototype.getKey = function(e4) {
|
|
12909
12909
|
if (!this.key) {
|
|
12910
|
-
if (this.key = new
|
|
12910
|
+
if (this.key = new sa(), e4 && "[object Function]" === {}.toString.call(e4)) return void this.key.generateAsync(this.default_key_size, this.default_public_exponent, e4);
|
|
12911
12911
|
this.key.generate(this.default_key_size, this.default_public_exponent);
|
|
12912
12912
|
}
|
|
12913
12913
|
return this.key;
|
|
@@ -12919,33 +12919,33 @@ function requireEideasyBrowserClient() {
|
|
|
12919
12919
|
return this.getKey().getPublicKey();
|
|
12920
12920
|
}, e3.prototype.getPublicKeyB64 = function() {
|
|
12921
12921
|
return this.getKey().getPublicBaseKeyB64();
|
|
12922
|
-
}, e3.version =
|
|
12922
|
+
}, e3.version = ca, e3;
|
|
12923
12923
|
}();
|
|
12924
|
-
const
|
|
12924
|
+
const la = s.chaveMovelSignature, da2 = { publicKey: null }, pa = function() {
|
|
12925
12925
|
var e3 = nn(function(e4) {
|
|
12926
12926
|
let { apiClient: t3, apiEndpoints: n3, cancelToken: r3 } = e4;
|
|
12927
12927
|
return function* () {
|
|
12928
12928
|
const e5 = n3.inCurrentMode.getChaveMovelPublicKey(), i2 = yield t3.get({ url: e5, withCredentials: false, cancelToken: r3 });
|
|
12929
12929
|
if (!i2.data.publicKey) return {};
|
|
12930
12930
|
const o2 = atob(i2.data.publicKey);
|
|
12931
|
-
return
|
|
12931
|
+
return da2.publicKey = o2, o2;
|
|
12932
12932
|
}();
|
|
12933
12933
|
});
|
|
12934
12934
|
return function(t3) {
|
|
12935
12935
|
return e3.apply(this, arguments);
|
|
12936
12936
|
};
|
|
12937
|
-
}(),
|
|
12937
|
+
}(), ga = function() {
|
|
12938
12938
|
var e3 = nn(function(e4) {
|
|
12939
12939
|
let { signingPin: t3, phone: n3, language: r3, clientId: i2, docId: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2, actionType: u2 } = e4;
|
|
12940
12940
|
return function* () {
|
|
12941
|
-
const e5 = s2.inCurrentMode.startSigning(), l2 = yield
|
|
12941
|
+
const e5 = s2.inCurrentMode.startSigning(), l2 = yield pa({ apiClient: c2, apiEndpoints: s2, cancelToken: a2 }), d2 = new ua();
|
|
12942
12942
|
return d2.setPublicKey(l2), c2.post({ url: e5, withCredentials: false, data: { doc_id: o2, client_id: i2, sign_type: u2, lang: r3, signing_pin: d2.encrypt(t3), phone: d2.encrypt(n3) }, cancelToken: a2 });
|
|
12943
12943
|
}();
|
|
12944
12944
|
});
|
|
12945
12945
|
return function(t3) {
|
|
12946
12946
|
return e3.apply(this, arguments);
|
|
12947
12947
|
};
|
|
12948
|
-
}(),
|
|
12948
|
+
}(), fa = function(e3) {
|
|
12949
12949
|
let { startSigningResult: t3, confirmationCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
12950
12950
|
return new Promise(function(e4, i2) {
|
|
12951
12951
|
r3(function() {
|
|
@@ -12953,150 +12953,150 @@ function requireEideasyBrowserClient() {
|
|
|
12953
12953
|
e5.isCancel = true, i2(e5);
|
|
12954
12954
|
}), n3({ data: t3.data }, e4, i2);
|
|
12955
12955
|
});
|
|
12956
|
-
},
|
|
12956
|
+
}, ha = function(e3) {
|
|
12957
12957
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, confirmationCode: c2 } = e3;
|
|
12958
|
-
const u2 = new
|
|
12959
|
-
return u2.setPublicKey(
|
|
12960
|
-
},
|
|
12958
|
+
const u2 = new ua();
|
|
12959
|
+
return u2.setPublicKey(da2.publicKey), n3.post({ url: r3.inCurrentMode.completeSignatureChaveMovel(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, confirmation_code: u2.encrypt(c2) }, cancelToken: o2 });
|
|
12960
|
+
}, ya = Tn(la, function() {
|
|
12961
12961
|
var e3 = nn(function(e4) {
|
|
12962
12962
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, countryCode: c2, language: l2, started: d2, confirmationCodeRequest: p3, signingPin: g2, phone: f2, setOnCancelByUser: h3 } = e4;
|
|
12963
12963
|
return function* () {
|
|
12964
|
-
const e5 = u(r2.SIGNATURE,
|
|
12964
|
+
const e5 = u(r2.SIGNATURE, la, c2);
|
|
12965
12965
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
12966
|
-
const y2 = yield sn(
|
|
12966
|
+
const y2 = yield sn(ga)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: l2, actionType: e5.actionType, signingPin: g2, phone: f2 });
|
|
12967
12967
|
d2(y2);
|
|
12968
|
-
const T2 = yield sn(
|
|
12969
|
-
return sn(
|
|
12968
|
+
const T2 = yield sn(fa, { shouldFormatResult: false })({ startSigningResult: y2, confirmationCodeRequest: p3, setOnCancelByUser: h3 });
|
|
12969
|
+
return sn(ha)({ token: y2.data.token, apiClient: a2, apiEndpoints: o2, language: l2, cancelToken: i2, docId: n3, clientId: t3, confirmationCode: T2 });
|
|
12970
12970
|
}();
|
|
12971
12971
|
});
|
|
12972
12972
|
return function(t3) {
|
|
12973
12973
|
return e3.apply(this, arguments);
|
|
12974
12974
|
};
|
|
12975
|
-
}(), { pin: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }),
|
|
12975
|
+
}(), { pin: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }), Ta = s.eCertChileSignature, ma = function(e3) {
|
|
12976
12976
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, idcode: u2, email: l2 } = e3;
|
|
12977
12977
|
const d2 = o2.inCurrentMode.startSigning();
|
|
12978
12978
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, idcode: u2, email: l2 }, cancelToken: i2 });
|
|
12979
|
-
}, Sa = Tn(
|
|
12979
|
+
}, Sa = Tn(Ta, function() {
|
|
12980
12980
|
var e3 = nn(function(e4) {
|
|
12981
12981
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, idcode: p3, email: g2, redirect: f2 } = e4;
|
|
12982
12982
|
return function* () {
|
|
12983
|
-
const e5 = u(r2.SIGNATURE,
|
|
12983
|
+
const e5 = u(r2.SIGNATURE, Ta, d2);
|
|
12984
12984
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
12985
|
-
const h3 = yield sn(
|
|
12985
|
+
const h3 = yield sn(ma)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: p3, email: g2, actionType: e5.actionType });
|
|
12986
12986
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
12987
12987
|
}();
|
|
12988
12988
|
});
|
|
12989
12989
|
return function(t3) {
|
|
12990
12990
|
return e3.apply(this, arguments);
|
|
12991
12991
|
};
|
|
12992
|
-
}(), { idcode: { type: "string", required: true }, email: { type: "string", required: true } }),
|
|
12992
|
+
}(), { idcode: { type: "string", required: true }, email: { type: "string", required: true } }), Ia = Ai({ moduleName: s.mitIdSignature, createModuleCreator: Tn }), Ea = s.ftnQesSignature, Ca = function(e3) {
|
|
12993
12993
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, phone: u2, email: l2 } = e3;
|
|
12994
12994
|
const d2 = o2.inCurrentMode.startSigning();
|
|
12995
12995
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, phone: u2, email: l2 }, cancelToken: i2 });
|
|
12996
|
-
},
|
|
12996
|
+
}, va = Tn(Ea, function() {
|
|
12997
12997
|
var e3 = nn(function(e4) {
|
|
12998
12998
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, phone: p3, email: g2, redirect: f2 } = e4;
|
|
12999
12999
|
return function* () {
|
|
13000
|
-
const e5 = u(r2.SIGNATURE,
|
|
13000
|
+
const e5 = u(r2.SIGNATURE, Ea, d2);
|
|
13001
13001
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13002
|
-
const h3 = yield sn(
|
|
13002
|
+
const h3 = yield sn(Ca)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: p3, email: g2, actionType: e5.actionType });
|
|
13003
13003
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
13004
13004
|
}();
|
|
13005
13005
|
});
|
|
13006
13006
|
return function(t3) {
|
|
13007
13007
|
return e3.apply(this, arguments);
|
|
13008
13008
|
};
|
|
13009
|
-
}(), { phone: { type: "string", required: true }, email: { type: "string", required: true } }),
|
|
13009
|
+
}(), { phone: { type: "string", required: true }, email: { type: "string", required: true } }), Aa = s.noBankIdAdvSignature, ba = function(e3) {
|
|
13010
13010
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, name: u2 } = e3;
|
|
13011
13011
|
const l2 = o2.inCurrentMode.startSigning();
|
|
13012
13012
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, name: u2 }, cancelToken: i2 });
|
|
13013
|
-
},
|
|
13013
|
+
}, _a = Tn(Aa, function() {
|
|
13014
13014
|
var e3 = nn(function(e4) {
|
|
13015
13015
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, name: p3, redirect: g2 } = e4;
|
|
13016
13016
|
return function* () {
|
|
13017
|
-
const e5 = u(r2.SIGNATURE,
|
|
13017
|
+
const e5 = u(r2.SIGNATURE, Aa, d2);
|
|
13018
13018
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13019
|
-
const f2 = yield sn(
|
|
13019
|
+
const f2 = yield sn(ba)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, name: p3, actionType: e5.actionType });
|
|
13020
13020
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
13021
13021
|
}();
|
|
13022
13022
|
});
|
|
13023
13023
|
return function(t3) {
|
|
13024
13024
|
return e3.apply(this, arguments);
|
|
13025
13025
|
};
|
|
13026
|
-
}(), { name: { type: "string", required: true } }),
|
|
13026
|
+
}(), { name: { type: "string", required: true } }), Na = Ai({ moduleName: s.noBankIdAdvLightSignature, createModuleCreator: Tn }), Ra = Yr({ moduleName: s.certEuropeUsbTokenSignature, createModuleCreator: Tn }), Oa = Yr({ moduleName: s.certSignUsbTokenSignature, createModuleCreator: Tn }), Ma = Ai({ moduleName: s.idinSignature, createModuleCreator: Tn }), Da = Ai({ moduleName: s.verifaiSignature, createModuleCreator: Tn }), Ua = s.spidQesSignature, wa = function(e3) {
|
|
13027
13027
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, phone: u2, email: l2 } = e3;
|
|
13028
13028
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13029
13029
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, phone: u2, email: l2 }, cancelToken: i2 });
|
|
13030
|
-
},
|
|
13030
|
+
}, ka = Tn(Ua, function() {
|
|
13031
13031
|
var e3 = nn(function(e4) {
|
|
13032
13032
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, phone: p3, email: g2, redirect: f2 } = e4;
|
|
13033
13033
|
return function* () {
|
|
13034
|
-
const e5 = u(r2.SIGNATURE,
|
|
13034
|
+
const e5 = u(r2.SIGNATURE, Ua, d2);
|
|
13035
13035
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13036
|
-
const h3 = yield sn(
|
|
13036
|
+
const h3 = yield sn(wa)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: p3, email: g2, actionType: e5.actionType });
|
|
13037
13037
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
13038
13038
|
}();
|
|
13039
13039
|
});
|
|
13040
13040
|
return function(t3) {
|
|
13041
13041
|
return e3.apply(this, arguments);
|
|
13042
13042
|
};
|
|
13043
|
-
}(), { email: { type: "string", required: true }, phone: { type: "string", required: true } }),
|
|
13043
|
+
}(), { email: { type: "string", required: true }, phone: { type: "string", required: true } }), La = s.frejaSimpleSignature, Ga = function(e3) {
|
|
13044
13044
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13045
13045
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13046
13046
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13047
|
-
},
|
|
13047
|
+
}, Ba = function(e3) {
|
|
13048
13048
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13049
13049
|
return n3.post({ url: r3.inCurrentMode.completeSignatureFrejaSimple(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13050
|
-
},
|
|
13050
|
+
}, Pa = function(e3) {
|
|
13051
13051
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13052
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13053
|
-
},
|
|
13052
|
+
return _n({ pollInterval: 2e3, fn: Ba, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13053
|
+
}, ja = Tn(La, function() {
|
|
13054
13054
|
var e3 = nn(function(e4) {
|
|
13055
13055
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, started: p3 } = e4;
|
|
13056
13056
|
return function* () {
|
|
13057
|
-
const e5 = u(r2.SIGNATURE,
|
|
13057
|
+
const e5 = u(r2.SIGNATURE, La, l2);
|
|
13058
13058
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13059
|
-
const g2 = yield sn(
|
|
13060
|
-
return p3(g2), sn(
|
|
13059
|
+
const g2 = yield sn(Ga)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13060
|
+
return p3(g2), sn(Pa)({ data: g2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13061
13061
|
}();
|
|
13062
13062
|
});
|
|
13063
13063
|
return function(t3) {
|
|
13064
13064
|
return e3.apply(this, arguments);
|
|
13065
13065
|
};
|
|
13066
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13066
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Fa = s.audkenniQesSignature, xa = function(e3) {
|
|
13067
13067
|
let { idcode: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13068
13068
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13069
13069
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, idcode: t3 }, cancelToken: o2 });
|
|
13070
|
-
}, xa = function(e3) {
|
|
13071
|
-
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13072
|
-
return n3.post({ url: r3.inCurrentMode.continueSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13073
13070
|
}, Va = function(e3) {
|
|
13074
13071
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13075
|
-
return n3.post({ url: r3.inCurrentMode.
|
|
13072
|
+
return n3.post({ url: r3.inCurrentMode.continueSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13076
13073
|
}, Ka = function(e3) {
|
|
13077
13074
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13078
|
-
return
|
|
13075
|
+
return n3.post({ url: r3.inCurrentMode.completeSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13079
13076
|
}, Ha = function(e3) {
|
|
13080
13077
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13081
13078
|
return _n({ pollInterval: 2e3, fn: Va, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13082
|
-
}, qa =
|
|
13079
|
+
}, qa = function(e3) {
|
|
13080
|
+
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13081
|
+
return _n({ pollInterval: 2e3, fn: Ka, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13082
|
+
}, Qa = Tn(Fa, function() {
|
|
13083
13083
|
var e3 = nn(function(e4) {
|
|
13084
13084
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, idcode: c2, countryCode: l2, language: d2, started: p3 } = e4;
|
|
13085
13085
|
return function* () {
|
|
13086
|
-
const e5 = u(r2.SIGNATURE,
|
|
13086
|
+
const e5 = u(r2.SIGNATURE, Fa, l2);
|
|
13087
13087
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13088
|
-
const g2 = yield sn(
|
|
13089
|
-
return p3(f2), sn(
|
|
13088
|
+
const g2 = yield sn(xa)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: c2, language: d2, actionType: e5.actionType, countryCode: l2 }), f2 = yield sn(Ha)({ data: g2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13089
|
+
return p3(f2), sn(qa)({ data: f2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13090
13090
|
}();
|
|
13091
13091
|
});
|
|
13092
13092
|
return function(t3) {
|
|
13093
13093
|
return e3.apply(this, arguments);
|
|
13094
13094
|
};
|
|
13095
|
-
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13095
|
+
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Za = Ai({ moduleName: s.yesComQesSignature, createModuleCreator: Tn }), Wa = Ai({ moduleName: s.simplySignQesSignature, createModuleCreator: Tn }), za = s.uanatacaQesSignature, Ja = function(e3) {
|
|
13096
13096
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2, password: l2, pin: d2 } = e3;
|
|
13097
13097
|
const p3 = o2.inCurrentMode.startSigning();
|
|
13098
13098
|
return a2.post({ url: p3, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2, password: l2, pin: d2 }, cancelToken: i2 });
|
|
13099
|
-
},
|
|
13099
|
+
}, Ya = function(e3) {
|
|
13100
13100
|
let { startSigningResult: t3, confirmationCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
13101
13101
|
return new Promise(function(e4, i2) {
|
|
13102
13102
|
r3(function() {
|
|
@@ -13104,29 +13104,29 @@ function requireEideasyBrowserClient() {
|
|
|
13104
13104
|
e5.isCancel = true, i2(e5);
|
|
13105
13105
|
}), n3({ data: t3.data }, e4, i2);
|
|
13106
13106
|
});
|
|
13107
|
-
},
|
|
13107
|
+
}, Xa = function(e3) {
|
|
13108
13108
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, confirmationCode: c2 } = e3;
|
|
13109
13109
|
return n3.post({ url: r3.inCurrentMode.completeSignatureUanataca(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, confirmation_code: c2 }, cancelToken: o2 });
|
|
13110
|
-
},
|
|
13110
|
+
}, $a = Tn(za, function() {
|
|
13111
13111
|
var e3 = nn(function(e4) {
|
|
13112
13112
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, password: g2, pin: f2, confirmationCodeRequest: h3, setOnCancelByUser: y2, started: T2 } = e4;
|
|
13113
13113
|
return function* () {
|
|
13114
|
-
const e5 = u(r2.SIGNATURE,
|
|
13114
|
+
const e5 = u(r2.SIGNATURE, za, d2);
|
|
13115
13115
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13116
|
-
const
|
|
13117
|
-
T2(
|
|
13118
|
-
const
|
|
13119
|
-
return sn(
|
|
13116
|
+
const m2 = yield sn(Ja)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, password: g2, pin: f2, actionType: e5.actionType });
|
|
13117
|
+
T2(m2);
|
|
13118
|
+
const S3 = yield sn(Ya, { shouldFormatResult: false })({ startSigningResult: m2, confirmationCodeRequest: h3, setOnCancelByUser: y2 });
|
|
13119
|
+
return sn(Xa)({ token: m2.data.token, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3, confirmationCode: S3 });
|
|
13120
13120
|
}();
|
|
13121
13121
|
});
|
|
13122
13122
|
return function(t3) {
|
|
13123
13123
|
return e3.apply(this, arguments);
|
|
13124
13124
|
};
|
|
13125
|
-
}(), { username: { type: "string", required: true }, password: { type: "string", required: true }, pin: { type: "string", required: true } }),
|
|
13125
|
+
}(), { username: { type: "string", required: true }, password: { type: "string", required: true }, pin: { type: "string", required: true } }), es2 = s.infoCertQesSignature, ts = function(e3) {
|
|
13126
13126
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, language: a2, actionType: s2, userId: c2 } = e3;
|
|
13127
13127
|
const u2 = i2.inCurrentMode.startSigning();
|
|
13128
13128
|
return o2.post({ url: u2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: s2, lang: a2, user_id: c2 }, cancelToken: r3 });
|
|
13129
|
-
},
|
|
13129
|
+
}, ns = function(e3) {
|
|
13130
13130
|
let { startSigningResult: t3, otpCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
13131
13131
|
return new Promise(function(e4, i2) {
|
|
13132
13132
|
r3(function() {
|
|
@@ -13134,305 +13134,305 @@ function requireEideasyBrowserClient() {
|
|
|
13134
13134
|
e5.isCancel = true, i2(e5);
|
|
13135
13135
|
}), n3({ data: t3.data }, e4, i2);
|
|
13136
13136
|
});
|
|
13137
|
-
},
|
|
13137
|
+
}, rs = function(e3) {
|
|
13138
13138
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, pin: c2, otp: u2 } = e3;
|
|
13139
13139
|
return n3.post({ url: r3.inCurrentMode.completeSignatureInfoCert(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, pin: c2, otp: u2 }, cancelToken: o2 });
|
|
13140
|
-
},
|
|
13140
|
+
}, is = function(e3) {
|
|
13141
13141
|
let { country: t3, userId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2 } = e3;
|
|
13142
13142
|
const a2 = i2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13143
13143
|
return o2.post({ url: a2, withCredentials: false, data: { sign_type: "infocert-qes-signature", user_id: n3, country: t3 }, cancelToken: r3 });
|
|
13144
|
-
},
|
|
13144
|
+
}, os = function(e3) {
|
|
13145
13145
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, otp: c2, pin: u2 } = e3;
|
|
13146
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13147
|
-
},
|
|
13146
|
+
return _n({ pollInterval: 2e3, fn: rs, fnArgs: [{ token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, otp: c2, pin: u2 }] }).start();
|
|
13147
|
+
}, as = Tn(es2, function() {
|
|
13148
13148
|
var e3 = nn(function(e4) {
|
|
13149
13149
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, userId: d2, action: p3, otpCodeRequest: g2, setOnCancelByUser: f2, started: h3, logger: y2, redirect: T2 } = e4;
|
|
13150
13150
|
return function* () {
|
|
13151
|
-
const e5 = u(r2.SIGNATURE,
|
|
13151
|
+
const e5 = u(r2.SIGNATURE, es2, l2);
|
|
13152
13152
|
if (s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === p3) {
|
|
13153
13153
|
y2.info("".concat(e5.actionType, ": cscApiAuthorizeCredential called"));
|
|
13154
|
-
const t4 = yield sn(
|
|
13154
|
+
const t4 = yield sn(is)({ country: l2, userId: d2, cancelToken: i2, apiEndpoints: o2, apiClient: a2, logger: y2 });
|
|
13155
13155
|
return y2.info("".concat(e5.actionType, ": authorizationResult"), t4), sn(T2, { shouldFormatResult: false })(t4);
|
|
13156
13156
|
}
|
|
13157
|
-
const
|
|
13158
|
-
h3(
|
|
13159
|
-
const { otp:
|
|
13160
|
-
return sn(
|
|
13157
|
+
const m2 = yield sn(ts)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, userId: d2, actionType: e5.actionType });
|
|
13158
|
+
h3(m2);
|
|
13159
|
+
const { otp: S3, pin: I2 } = yield sn(ns, { shouldFormatResult: false })({ startSigningResult: m2, otpCodeRequest: g2, setOnCancelByUser: f2 });
|
|
13160
|
+
return sn(os)({ token: m2.data.token, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, otp: S3, pin: I2 });
|
|
13161
13161
|
}();
|
|
13162
13162
|
});
|
|
13163
13163
|
return function(t3) {
|
|
13164
13164
|
return e3.apply(this, arguments);
|
|
13165
13165
|
};
|
|
13166
|
-
}(), { userId: { type: "string", required: true } }),
|
|
13166
|
+
}(), { userId: { type: "string", required: true } }), ss = Ai({ moduleName: s.certsignWebapiQesSignature, createModuleCreator: Tn }), cs2 = s.halcomQesSignature, us = function(e3) {
|
|
13167
13167
|
let { certificate: t3, country: n3, phone: r3, email: i2, username: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2 } = e3;
|
|
13168
13168
|
const u2 = s2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13169
13169
|
return c2.post({ url: u2, withCredentials: false, data: { sign_type: "halcom-qes-signature", certificate: t3, country: n3, phone: r3, email: i2, username: o2 }, cancelToken: a2 });
|
|
13170
|
-
},
|
|
13170
|
+
}, ls = function(e3) {
|
|
13171
13171
|
let { contractId: t3, username: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, email: l2, phone: d2, actionType: p3 } = e3;
|
|
13172
13172
|
const g2 = a2.inCurrentMode.startSigning();
|
|
13173
13173
|
return s2.post({ url: g2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: p3, username: n3, email: l2, phone: d2, country: c2, lang: u2 }, cancelToken: o2 });
|
|
13174
|
-
},
|
|
13174
|
+
}, ds = function(e3) {
|
|
13175
13175
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13176
13176
|
return n3.post({ url: r3.inCurrentMode.completeSignatureHalcom(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13177
|
-
},
|
|
13177
|
+
}, ps = function(e3) {
|
|
13178
13178
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13179
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13180
|
-
},
|
|
13179
|
+
return _n({ pollInterval: 2e3, fn: ds, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13180
|
+
}, gs = Tn(cs2, function() {
|
|
13181
13181
|
var e3 = nn(function(e4) {
|
|
13182
13182
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, username: d2, phone: p3, email: g2, countryCode: f2, started: h3, action: y2, redirect: T2 } = e4;
|
|
13183
13183
|
return function* () {
|
|
13184
|
-
const e5 = u(r2.SIGNATURE,
|
|
13184
|
+
const e5 = u(r2.SIGNATURE, cs2, f2);
|
|
13185
13185
|
if (c2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === y2) {
|
|
13186
|
-
const e6 = yield sn(
|
|
13186
|
+
const e6 = yield sn(us)({ country: f2, username: d2, phone: p3, email: g2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 });
|
|
13187
13187
|
return sn(T2, { shouldFormatResult: false })(e6);
|
|
13188
13188
|
}
|
|
13189
|
-
const
|
|
13190
|
-
return h3(
|
|
13189
|
+
const m2 = yield sn(ls)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: d2, phone: p3, email: g2, countryCode: f2, contractId: i2, actionType: e5.actionType });
|
|
13190
|
+
return h3(m2), sn(ps)({ data: m2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13191
13191
|
}();
|
|
13192
13192
|
});
|
|
13193
13193
|
return function(t3) {
|
|
13194
13194
|
return e3.apply(this, arguments);
|
|
13195
13195
|
};
|
|
13196
|
-
}(), { countryCode: { type: "string", required: true }, username: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }),
|
|
13196
|
+
}(), { countryCode: { type: "string", required: true }, username: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }), fs = s.swissIdQesSignature, hs = function(e3) {
|
|
13197
13197
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, countryCode: s2, language: c2, email: u2, actionType: l2 } = e3;
|
|
13198
13198
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13199
13199
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: l2, email: u2, country: s2, lang: c2 }, cancelToken: i2 });
|
|
13200
|
-
},
|
|
13200
|
+
}, ys = function(e3) {
|
|
13201
13201
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13202
13202
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSwissId(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13203
|
-
},
|
|
13203
|
+
}, Ts = function(e3) {
|
|
13204
13204
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13205
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13206
|
-
},
|
|
13205
|
+
return _n({ pollInterval: 2e3, fn: ys, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13206
|
+
}, ms = Tn(fs, function() {
|
|
13207
13207
|
var e3 = nn(function(e4) {
|
|
13208
13208
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, email: d2, countryCode: p3, started: g2 } = e4;
|
|
13209
13209
|
return function* () {
|
|
13210
|
-
const e5 = u(r2.SIGNATURE,
|
|
13210
|
+
const e5 = u(r2.SIGNATURE, fs, p3);
|
|
13211
13211
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13212
|
-
const f2 = yield sn(
|
|
13213
|
-
return g2(f2), sn(
|
|
13212
|
+
const f2 = yield sn(hs)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, email: d2, countryCode: p3, contractId: i2, actionType: e5.actionType });
|
|
13213
|
+
return g2(f2), sn(Ts)({ data: f2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13214
13214
|
}();
|
|
13215
13215
|
});
|
|
13216
13216
|
return function(t3) {
|
|
13217
13217
|
return e3.apply(this, arguments);
|
|
13218
13218
|
};
|
|
13219
|
-
}(), { countryCode: { type: "string", required: true }, email: { type: "string", required: true }, docId: { type: "string", required: true } }), Ss = s.swissComQesSignature,
|
|
13219
|
+
}(), { countryCode: { type: "string", required: true }, email: { type: "string", required: true }, docId: { type: "string", required: true } }), Ss = s.swissComQesSignature, Is = function(e3) {
|
|
13220
13220
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, countryCode: s2, language: c2, phone: u2, actionType: l2 } = e3;
|
|
13221
13221
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13222
13222
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: l2, phone: u2, country: s2, lang: c2 }, cancelToken: i2 });
|
|
13223
|
-
},
|
|
13223
|
+
}, Es = function(e3) {
|
|
13224
13224
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13225
13225
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSwissCom(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13226
|
-
},
|
|
13226
|
+
}, Cs = function(e3) {
|
|
13227
13227
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13228
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13229
|
-
},
|
|
13228
|
+
return _n({ pollInterval: 2e3, fn: Es, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13229
|
+
}, vs = Tn(Ss, function() {
|
|
13230
13230
|
var e3 = nn(function(e4) {
|
|
13231
13231
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, phone: d2, countryCode: p3, started: g2 } = e4;
|
|
13232
13232
|
return function* () {
|
|
13233
13233
|
const e5 = u(r2.SIGNATURE, Ss, p3);
|
|
13234
13234
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13235
|
-
const f2 = yield sn(
|
|
13236
|
-
return g2(f2), sn(
|
|
13235
|
+
const f2 = yield sn(Is)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: d2, countryCode: p3, contractId: i2, actionType: e5.actionType });
|
|
13236
|
+
return g2(f2), sn(Cs)({ data: f2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13237
13237
|
}();
|
|
13238
13238
|
});
|
|
13239
13239
|
return function(t3) {
|
|
13240
13240
|
return e3.apply(this, arguments);
|
|
13241
13241
|
};
|
|
13242
|
-
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13242
|
+
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }), As = Ai({ moduleName: s.mitIdAdvancedSignature, createModuleCreator: Tn }), bs = Ai({ moduleName: s.mitIdQesSignature, createModuleCreator: Tn }), _s = Ai({ moduleName: s.seBankIdAdvancedSignature, createModuleCreator: Tn }), Ns = Ai({ moduleName: s.seBankIdQesSignature, createModuleCreator: Tn }), Rs = s.frejaAdvancedSignature, Os = function(e3) {
|
|
13243
13243
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13244
13244
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13245
13245
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13246
|
-
},
|
|
13246
|
+
}, Ms = Tn(Rs, function() {
|
|
13247
13247
|
var e3 = nn(function(e4) {
|
|
13248
13248
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, redirect: p3 } = e4;
|
|
13249
13249
|
return function* () {
|
|
13250
|
-
const e5 = u(r2.SIGNATURE,
|
|
13250
|
+
const e5 = u(r2.SIGNATURE, Rs, l2);
|
|
13251
13251
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13252
|
-
const g2 = yield sn(
|
|
13252
|
+
const g2 = yield sn(Os)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13253
13253
|
return sn(p3, { shouldFormatResult: false })(g2);
|
|
13254
13254
|
}();
|
|
13255
13255
|
});
|
|
13256
13256
|
return function(t3) {
|
|
13257
13257
|
return e3.apply(this, arguments);
|
|
13258
13258
|
};
|
|
13259
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13259
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Ds = s.frejaQesSignature, Us = function(e3) {
|
|
13260
13260
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13261
13261
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13262
13262
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13263
|
-
},
|
|
13263
|
+
}, ws = Tn(Ds, function() {
|
|
13264
13264
|
var e3 = nn(function(e4) {
|
|
13265
13265
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, redirect: p3 } = e4;
|
|
13266
13266
|
return function* () {
|
|
13267
|
-
const e5 = u(r2.SIGNATURE,
|
|
13267
|
+
const e5 = u(r2.SIGNATURE, Ds, l2);
|
|
13268
13268
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13269
|
-
const g2 = yield sn(
|
|
13269
|
+
const g2 = yield sn(Us)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13270
13270
|
return sn(p3, { shouldFormatResult: false })(g2);
|
|
13271
13271
|
}();
|
|
13272
13272
|
});
|
|
13273
13273
|
return function(t3) {
|
|
13274
13274
|
return e3.apply(this, arguments);
|
|
13275
13275
|
};
|
|
13276
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13276
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), ks = Ai({ moduleName: s.gbOneIdAdvancedSignature, createModuleCreator: Tn }), Ls = s.handwrittenSignature, Gs = function(e3) {
|
|
13277
13277
|
let { apiClient: t3, apiEndpoints: n3, language: r3, cancelToken: i2, docId: o2, clientId: a2, emailToken: s2, smsToken: c2, handwrittenSignatureData: u2, handwrittenSignatureDataUrl: l2 } = e3;
|
|
13278
13278
|
return t3.post({ url: n3.inCurrentMode.completeHandwritten(), withCredentials: false, data: { doc_id: o2, timeout: 2, lang: r3, client_id: a2, email_token: s2, sms_token: c2, handwritten_signature_data: u2, handwritten_signature_data_url: l2 }, cancelToken: i2 });
|
|
13279
|
-
},
|
|
13279
|
+
}, Bs = Tn(Ls, function() {
|
|
13280
13280
|
var e3 = nn(function(e4) {
|
|
13281
13281
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 } = e4;
|
|
13282
13282
|
return function* () {
|
|
13283
|
-
const e5 = u(r2.SIGNATURE,
|
|
13284
|
-
return console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), sn(
|
|
13283
|
+
const e5 = u(r2.SIGNATURE, Ls, l2);
|
|
13284
|
+
return console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), sn(Gs)({ apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 });
|
|
13285
13285
|
}();
|
|
13286
13286
|
});
|
|
13287
13287
|
return function(t3) {
|
|
13288
13288
|
return e3.apply(this, arguments);
|
|
13289
13289
|
};
|
|
13290
|
-
}(), { docId: { type: "string", required: true } }),
|
|
13290
|
+
}(), { docId: { type: "string", required: true } }), Ps = s.haricaQesSignature, js = function(e3) {
|
|
13291
13291
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
13292
13292
|
const s2 = i2.inCurrentMode.startSigning();
|
|
13293
13293
|
return o2.post({ url: s2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: a2 }, cancelToken: r3 });
|
|
13294
|
-
},
|
|
13294
|
+
}, Fs = function(e3) {
|
|
13295
13295
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 } = e3;
|
|
13296
13296
|
return n3.post({ url: r3.inCurrentMode.completeSignatureHaricaQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2, otp_code: l2, username: c2, password: u2 }, cancelToken: o2 });
|
|
13297
|
-
},
|
|
13297
|
+
}, xs = function(e3) {
|
|
13298
13298
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 } = e3;
|
|
13299
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13300
|
-
},
|
|
13299
|
+
return _n({ pollInterval: 2e3, fn: Fs, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 }] }).start();
|
|
13300
|
+
}, Vs = Tn(Ps, function() {
|
|
13301
13301
|
var e3 = nn(function(e4) {
|
|
13302
13302
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, username: l2, password: d2, otpCode: p3, countryCode: g2, started: f2 } = e4;
|
|
13303
13303
|
return function* () {
|
|
13304
|
-
const e5 = u(r2.SIGNATURE,
|
|
13304
|
+
const e5 = u(r2.SIGNATURE, Ps, g2);
|
|
13305
13305
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13306
|
-
const h3 = yield sn(
|
|
13307
|
-
return f2(h3), sn(
|
|
13306
|
+
const h3 = yield sn(js)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, actionType: e5.actionType });
|
|
13307
|
+
return f2(h3), sn(xs)({ data: h3.data, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, username: l2, password: d2, otpCode: p3 });
|
|
13308
13308
|
}();
|
|
13309
13309
|
});
|
|
13310
13310
|
return function(t3) {
|
|
13311
13311
|
return e3.apply(this, arguments);
|
|
13312
13312
|
};
|
|
13313
|
-
}(), { countryCode: { type: "string", required: true }, username: { type: "string", required: true }, password: { type: "string", required: true }, otpCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13313
|
+
}(), { countryCode: { type: "string", required: true }, username: { type: "string", required: true }, password: { type: "string", required: true }, otpCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Ks = Ai({ moduleName: s.veriffAdvancedSignature, createModuleCreator: Tn }), Hs = s.ltIdQesSignature, qs = function(e3) {
|
|
13314
13314
|
let { idcode: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13315
13315
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13316
13316
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, idcode: t3 }, cancelToken: o2 });
|
|
13317
|
-
},
|
|
13317
|
+
}, Qs = function(e3) {
|
|
13318
13318
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13319
13319
|
return n3.post({ url: r3.inCurrentMode.completeSignatureLtIdQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13320
|
-
},
|
|
13320
|
+
}, Zs = function(e3) {
|
|
13321
13321
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13322
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13323
|
-
},
|
|
13322
|
+
return _n({ pollInterval: 2e3, fn: Qs, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13323
|
+
}, Ws = Tn(Hs, function() {
|
|
13324
13324
|
var e3 = nn(function(e4) {
|
|
13325
13325
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: s2, countryCode: c2, language: l2, started: d2 } = e4;
|
|
13326
13326
|
return function* () {
|
|
13327
|
-
const e5 = u(r2.SIGNATURE,
|
|
13328
|
-
return d2(p3), sn(
|
|
13327
|
+
const e5 = u(r2.SIGNATURE, Hs, c2), p3 = yield sn(qs)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: s2, language: l2, actionType: e5.actionType, countryCode: c2 });
|
|
13328
|
+
return d2(p3), sn(Zs)({ data: p3.data, apiClient: a2, apiEndpoints: o2, language: l2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13329
13329
|
}();
|
|
13330
13330
|
});
|
|
13331
13331
|
return function(t3) {
|
|
13332
13332
|
return e3.apply(this, arguments);
|
|
13333
13333
|
};
|
|
13334
|
-
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13334
|
+
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), zs = Yr({ moduleName: s.certStoreQesSignature, createModuleCreator: Tn }), Js = Yr({ moduleName: s.certStoreAdvancedSignature, createModuleCreator: Tn }), Ys = Yr({ moduleName: s.certStoreAdvancedUnverifiedSignature, createModuleCreator: Tn }), Xs = Ai({ moduleName: s.buypassQesSignature, createModuleCreator: Tn }), $s = Ai({ moduleName: s.intesiFtnAdvSignature, createModuleCreator: Tn }), ec = Ai({ moduleName: s.trustAsiaSignature, createModuleCreator: Tn }), tc = Ai({ moduleName: s.mscTrustGateSignature, createModuleCreator: Tn }), nc = Ai({ moduleName: s.gseAdvSignature, createModuleCreator: Tn }), rc = Ai({ moduleName: s.certMeQesSignature, createModuleCreator: Tn }), ic = s.esLleidaAdvSignature, oc = function(e3) {
|
|
13335
13335
|
let { certificate: t3, country: n3, pin: r3, username: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 } = e3;
|
|
13336
13336
|
const c2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13337
13337
|
return s2.post({ url: c2, withCredentials: false, data: { sign_type: "es-lleida-advanced-signature", certificate: t3, country: n3, pin: r3, username: i2 }, cancelToken: o2 });
|
|
13338
|
-
},
|
|
13338
|
+
}, ac = function(e3) {
|
|
13339
13339
|
let { username: t3, pin: n3, language: r3, clientId: i2, docId: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2, actionType: u2 } = e3;
|
|
13340
13340
|
const l2 = s2.inCurrentMode.startSigning();
|
|
13341
13341
|
return c2.post({ url: l2, withCredentials: false, data: { doc_id: o2, client_id: i2, sign_type: u2, lang: r3, username: t3, pin: n3 }, cancelToken: a2 });
|
|
13342
|
-
},
|
|
13342
|
+
}, sc = function(e3) {
|
|
13343
13343
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13344
13344
|
return n3.post({ url: r3.inCurrentMode.completeSignatureEsLleida(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13345
|
-
},
|
|
13345
|
+
}, cc = function(e3) {
|
|
13346
13346
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13347
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13348
|
-
},
|
|
13347
|
+
return _n({ pollInterval: 2e3, fn: sc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13348
|
+
}, uc = Tn(ic, function() {
|
|
13349
13349
|
var e3 = nn(function(e4) {
|
|
13350
13350
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, username: c2, pin: l2, countryCode: d2, language: p3, started: g2, action: f2, redirect: h3 } = e4;
|
|
13351
13351
|
return function* () {
|
|
13352
|
-
const e5 = u(r2.SIGNATURE,
|
|
13352
|
+
const e5 = u(r2.SIGNATURE, ic, d2);
|
|
13353
13353
|
if (s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === f2) {
|
|
13354
|
-
const e6 = yield sn(
|
|
13354
|
+
const e6 = yield sn(oc)({ country: d2, username: c2, pin: l2, cancelToken: i2, apiEndpoints: o2, apiClient: a2 });
|
|
13355
13355
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
13356
13356
|
}
|
|
13357
|
-
const y2 = yield sn(
|
|
13358
|
-
return g2(y2), sn(
|
|
13357
|
+
const y2 = yield sn(ac)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: p3, username: c2, pin: l2, countryCode: d2, actionType: e5.actionType });
|
|
13358
|
+
return g2(y2), sn(cc)({ data: y2.data, apiClient: a2, apiEndpoints: o2, language: p3, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13359
13359
|
}();
|
|
13360
13360
|
});
|
|
13361
13361
|
return function(t3) {
|
|
13362
13362
|
return e3.apply(this, arguments);
|
|
13363
13363
|
};
|
|
13364
|
-
}(), { username: { type: "string", required: true }, pin: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13364
|
+
}(), { username: { type: "string", required: true }, pin: { type: "string", required: true }, docId: { type: "string", required: true } }), lc = Ai({ moduleName: s.seBankIdAdvancedHashSignature, createModuleCreator: Tn }), dc = Ai({ moduleName: s.dkMitIdAdvancedHashSignature, createModuleCreator: Tn }), pc = Ai({ moduleName: s.noBankIdAdvancedHashSignature, createModuleCreator: Tn }), gc = Ai({ moduleName: s.itSpidQualifiedHashSignature, createModuleCreator: Tn }), fc = Ai({ moduleName: s.adacomQesSignature, createModuleCreator: Tn }), hc = Ai({ moduleName: s.adacomOneShotQesSignature, createModuleCreator: Tn }), yc = s.diiaQesSignature, Tc = function(e3) {
|
|
13365
13365
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, countryCode: a2, language: s2, actionType: c2 } = e3;
|
|
13366
13366
|
const u2 = i2.inCurrentMode.startSigning();
|
|
13367
13367
|
return o2.post({ url: u2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: c2, country: a2, lang: s2 }, cancelToken: r3 });
|
|
13368
|
-
},
|
|
13368
|
+
}, mc = function(e3) {
|
|
13369
13369
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13370
13370
|
return n3.post({ url: r3.inCurrentMode.completeSignatureDiiaQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13371
13371
|
}, Sc = function(e3) {
|
|
13372
13372
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13373
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13374
|
-
},
|
|
13373
|
+
return _n({ pollInterval: 2e3, fn: mc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13374
|
+
}, Ic = Tn(yc, function() {
|
|
13375
13375
|
var e3 = nn(function(e4) {
|
|
13376
13376
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, started: p3 } = e4;
|
|
13377
13377
|
return function* () {
|
|
13378
|
-
const e5 = u(r2.SIGNATURE,
|
|
13378
|
+
const e5 = u(r2.SIGNATURE, yc, d2);
|
|
13379
13379
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13380
|
-
const g2 = yield sn(
|
|
13380
|
+
const g2 = yield sn(Tc)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, countryCode: d2, contractId: i2, actionType: e5.actionType });
|
|
13381
13381
|
return p3(g2), sn(Sc)({ data: g2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13382
13382
|
}();
|
|
13383
13383
|
});
|
|
13384
13384
|
return function(t3) {
|
|
13385
13385
|
return e3.apply(this, arguments);
|
|
13386
13386
|
};
|
|
13387
|
-
}()),
|
|
13387
|
+
}()), Ec = Ai({ moduleName: s.emudhraQesSignature, createModuleCreator: Tn }), Cc = Ai({ moduleName: s.mxPscWorldAdvancedSignature, createModuleCreator: Tn }), vc = Ai({ moduleName: s.transSpedQesSignature, createModuleCreator: Tn }), Ac = Ai({ moduleName: s.vidaAdvancedSignature, createModuleCreator: Tn }), bc = Yr({ moduleName: s.vnBkavTokenSignature, createModuleCreator: Tn }), _c = Yr({ moduleName: s.vnCa2TokenSignature, createModuleCreator: Tn }), Nc = Yr({ moduleName: s.vnFastTokenSignature, createModuleCreator: Tn }), Rc = Yr({ moduleName: s.vnFptTokenSignature, createModuleCreator: Tn }), Oc = Yr({ moduleName: s.vnSmartTokenSignature, createModuleCreator: Tn }), Mc = Yr({ moduleName: s.vnViettelTokenSignature, createModuleCreator: Tn }), Dc = Yr({ moduleName: s.vnVnptTokenSignature, createModuleCreator: Tn }), Uc = s.digilogixQesSignature, wc = function(e3) {
|
|
13388
13388
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, idcode: u2 } = e3;
|
|
13389
13389
|
const l2 = o2.inCurrentMode.startSigning();
|
|
13390
13390
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, idcode: u2 }, cancelToken: i2 });
|
|
13391
|
-
},
|
|
13391
|
+
}, kc = Tn(Uc, function() {
|
|
13392
13392
|
var e3 = nn(function(e4) {
|
|
13393
13393
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, idcode: p3, redirect: g2 } = e4;
|
|
13394
13394
|
return function* () {
|
|
13395
|
-
const e5 = u(r2.SIGNATURE,
|
|
13395
|
+
const e5 = u(r2.SIGNATURE, Uc, d2);
|
|
13396
13396
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13397
|
-
const f2 = yield sn(
|
|
13397
|
+
const f2 = yield sn(wc)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: p3, actionType: e5.actionType });
|
|
13398
13398
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
13399
13399
|
}();
|
|
13400
13400
|
});
|
|
13401
13401
|
return function(t3) {
|
|
13402
13402
|
return e3.apply(this, arguments);
|
|
13403
13403
|
};
|
|
13404
|
-
}(), { idcode: { type: "string", required: true } }),
|
|
13404
|
+
}(), { idcode: { type: "string", required: true } }), Lc = Ai({ moduleName: s.buypassAdvancedSignature, createModuleCreator: Tn }), Gc = Ai({ moduleName: s.igniSignAdvancedSignature, createModuleCreator: Tn }), Bc = s.bTrustQesSignature, Pc = function(e3) {
|
|
13405
13405
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, profileId: a2, actionType: s2 } = e3;
|
|
13406
13406
|
const c2 = i2.inCurrentMode.startSigning();
|
|
13407
13407
|
return o2.post({ url: c2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: s2, profile_id: a2 }, cancelToken: r3 });
|
|
13408
|
-
},
|
|
13408
|
+
}, jc = function(e3) {
|
|
13409
13409
|
let { data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 } = e3;
|
|
13410
13410
|
return n3.post({ url: r3.inCurrentMode.completeSignatureBTrustQes(), withCredentials: false, data: { token: t3.token, doc_id: o2, client_id: a2 }, cancelToken: i2 });
|
|
13411
|
-
},
|
|
13411
|
+
}, Fc = function(e3) {
|
|
13412
13412
|
let { data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 } = e3;
|
|
13413
|
-
return _n({ pollInterval: 2e3, fn:
|
|
13414
|
-
},
|
|
13413
|
+
return _n({ pollInterval: 2e3, fn: jc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 }] }).start();
|
|
13414
|
+
}, xc = Tn(Bc, function() {
|
|
13415
13415
|
var e3 = nn(function(e4) {
|
|
13416
13416
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, countryCode: c2, profileId: l2, started: d2 } = e4;
|
|
13417
13417
|
return function* () {
|
|
13418
|
-
const e5 = u(r2.SIGNATURE,
|
|
13418
|
+
const e5 = u(r2.SIGNATURE, Bc, c2);
|
|
13419
13419
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13420
|
-
const p3 = yield sn(
|
|
13421
|
-
return d2(p3), sn(
|
|
13420
|
+
const p3 = yield sn(Pc)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, profileId: l2, actionType: e5.actionType });
|
|
13421
|
+
return d2(p3), sn(Fc)({ data: p3.data, apiClient: a2, apiEndpoints: o2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13422
13422
|
}();
|
|
13423
13423
|
});
|
|
13424
13424
|
return function(t3) {
|
|
13425
13425
|
return e3.apply(this, arguments);
|
|
13426
13426
|
};
|
|
13427
|
-
}(), { profileId: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13427
|
+
}(), { profileId: { type: "string", required: true }, docId: { type: "string", required: true } }), Vc = function(e3) {
|
|
13428
13428
|
let { countryCode: t3, clientId: n3, docId: i2, apiEndpoints: o2 } = e3;
|
|
13429
13429
|
const a2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3);
|
|
13430
13430
|
return o2.inCurrentMode.integrationIframe({ clientId: n3, docId: i2, actionType: a2.actionType });
|
|
13431
|
-
},
|
|
13431
|
+
}, Kc = function(e3, t3) {
|
|
13432
13432
|
if (e3 instanceof Error) throw e3;
|
|
13433
13433
|
let n3;
|
|
13434
|
-
throw "no_certificates" === e3.result && (n3 = t3.t("no_certificates")), new
|
|
13435
|
-
},
|
|
13434
|
+
throw "no_certificates" === e3.result && (n3 = t3.t("no_certificates")), new zr({ userMessage: n3, message: e3.message, details: e3 });
|
|
13435
|
+
}, Hc = function() {
|
|
13436
13436
|
var e3 = nn(function(e4) {
|
|
13437
13437
|
let { iframeHolder: t3, iframeUrl: n3, monitor: r3, iframeMessenger: i2, cancelToken: o2 } = e4;
|
|
13438
13438
|
return function* () {
|
|
@@ -13450,7 +13450,7 @@ function requireEideasyBrowserClient() {
|
|
|
13450
13450
|
return function(t3) {
|
|
13451
13451
|
return e3.apply(this, arguments);
|
|
13452
13452
|
};
|
|
13453
|
-
}(),
|
|
13453
|
+
}(), qc = function() {
|
|
13454
13454
|
var e3 = nn(function(e4) {
|
|
13455
13455
|
let { iframeMessenger: t3, iframe: n3, country: r3, cancelToken: i2 } = e4;
|
|
13456
13456
|
return function* () {
|
|
@@ -13460,25 +13460,25 @@ function requireEideasyBrowserClient() {
|
|
|
13460
13460
|
return function(t3) {
|
|
13461
13461
|
return e3.apply(this, arguments);
|
|
13462
13462
|
};
|
|
13463
|
-
}(),
|
|
13463
|
+
}(), Qc = function(e3) {
|
|
13464
13464
|
let { certificate: t3, clientId: n3, docId: r3, countryCode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2 } = e3;
|
|
13465
13465
|
const u2 = a2.inCurrentMode.startSigning();
|
|
13466
13466
|
return s2.post({ url: u2, withCredentials: false, data: { client_id: n3, doc_id: r3, sign_type: c2, certificate: t3, base64_certificate: t3, country: i2 }, cancelToken: o2 });
|
|
13467
|
-
},
|
|
13467
|
+
}, Zc = function(e3) {
|
|
13468
13468
|
let { iframeMessenger: t3, iframe: n3, certificate: r3, fileContent: i2, country: o2, cancelToken: a2 } = e3;
|
|
13469
13469
|
return t3.send({ iframe: n3, message: { operation: "getSignature", certificate: r3, fileContent: i2, country: o2 }, cancelToken: a2 });
|
|
13470
|
-
},
|
|
13470
|
+
}, Wc = function(e3) {
|
|
13471
13471
|
let { signatures: t3, certificate: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, driver: c2, actionType: u2 } = e3;
|
|
13472
13472
|
const l2 = a2.inCurrentMode.completeSignatureIdCard({ actionType: u2 });
|
|
13473
13473
|
return s2.post({ url: l2, withCredentials: false, data: { client_id: r3, doc_id: i2, signature_value: t3[0], certificate: n3, driver: c2 }, cancelToken: o2 });
|
|
13474
|
-
},
|
|
13474
|
+
}, zc = function(e3) {
|
|
13475
13475
|
let { certificate: t3, country: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
13476
13476
|
const s2 = i2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13477
13477
|
return o2.post({ url: s2, withCredentials: false, data: { sign_type: a2, certificate: t3, country: n3 }, cancelToken: r3 });
|
|
13478
|
-
},
|
|
13478
|
+
}, Jc = function(e3) {
|
|
13479
13479
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, signatures: c2, certificate: u2, actionType: l2 } = e3;
|
|
13480
|
-
return _n({ pollInterval: 2e3, maxPollDuration: 36e4, fn:
|
|
13481
|
-
},
|
|
13480
|
+
return _n({ pollInterval: 2e3, maxPollDuration: 36e4, fn: Wc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, signatures: c2, certificate: u2, actionType: l2 }] }).start();
|
|
13481
|
+
}, Yc = function() {
|
|
13482
13482
|
var e3 = nn(function(e4) {
|
|
13483
13483
|
let { countryCode: t3, clientId: n3, apiEndpoints: i2, iframeHolder: o2, i18n: a2, iframeMessenger: c2, docId: l2, cancelToken: d2, apiClient: p3, monitoringService: g2, action: f2, redirect: h3, signingCertificate: y2 } = e4;
|
|
13484
13484
|
return function* () {
|
|
@@ -13490,27 +13490,27 @@ function requireEideasyBrowserClient() {
|
|
|
13490
13490
|
const i3 = JSON.stringify(gn(r3));
|
|
13491
13491
|
t4.dispatch({ message: "".concat(n4, ": ").concat(e7, ", reason: ").concat(i3) });
|
|
13492
13492
|
} });
|
|
13493
|
-
}({ monitoringService: g2, moduleName: s.esAutofirmaSignature }), T2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3),
|
|
13494
|
-
return
|
|
13493
|
+
}({ monitoringService: g2, moduleName: s.esAutofirmaSignature }), T2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3), m2 = yield sn(Vc, { shouldFormatResult: false })({ countryCode: t3, clientId: n3, docId: l2, apiEndpoints: i2 }), S3 = yield sn(Hc, { shouldFormatResult: false })({ iframeUrl: m2, iframeHolder: o2, i18n: a2, monitor: e5, iframeMessenger: c2, cancelToken: d2 }).catch(function(e6) {
|
|
13494
|
+
return Kc(e6, a2);
|
|
13495
13495
|
});
|
|
13496
13496
|
let I2 = y2;
|
|
13497
|
-
if (I2 || (I2 = (yield sn(
|
|
13498
|
-
return
|
|
13497
|
+
if (I2 || (I2 = (yield sn(qc)({ iframeMessenger: c2, iframe: S3, country: t3, monitor: e5, cancelToken: d2 }).catch(function(e6) {
|
|
13498
|
+
return Kc(e6, a2);
|
|
13499
13499
|
})).data.certificate), "cscApiAuthorizeCredential" === f2) {
|
|
13500
|
-
const e6 = yield sn(
|
|
13500
|
+
const e6 = yield sn(zc)({ certificate: I2, actionType: T2.actionType, country: t3, cancelToken: d2, apiEndpoints: i2, apiClient: p3 });
|
|
13501
13501
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
13502
13502
|
}
|
|
13503
|
-
const E2 = yield sn(
|
|
13504
|
-
return
|
|
13503
|
+
const E2 = yield sn(Qc)({ certificate: I2, clientId: n3, docId: l2, countryCode: t3, cancelToken: d2, apiEndpoints: i2, apiClient: p3, monitor: e5, actionType: T2.actionType }), C2 = yield sn(Zc, { shouldFormatResult: false })({ iframeMessenger: c2, iframe: S3, certificate: I2, fileContent: E2.data.fileContent || void 0, country: t3, cancelToken: d2 }).catch(function(e6) {
|
|
13504
|
+
return Kc(e6, a2);
|
|
13505
13505
|
});
|
|
13506
|
-
return sn(
|
|
13506
|
+
return sn(Jc)({ signatures: C2.signatures, certificate: I2, clientId: n3, docId: l2, cancelToken: d2, apiEndpoints: i2, apiClient: p3, actionType: T2.actionType });
|
|
13507
13507
|
}();
|
|
13508
13508
|
});
|
|
13509
13509
|
return function(t3) {
|
|
13510
13510
|
return e3.apply(this, arguments);
|
|
13511
13511
|
};
|
|
13512
|
-
}(),
|
|
13513
|
-
function
|
|
13512
|
+
}(), Xc = Tn(s.esAutofirmaSignature, Yc, { iframeHolder: { type: "object" }, docId: { type: "string", required: true }, signingCertificate: { type: "string", required: false } }), $c = Yr({ moduleName: s.localAdvUnverifiedSignature, createModuleCreator: Tn }), eu = Object.freeze({ sandbox: "sandbox", production: "production" });
|
|
13513
|
+
function tu(e3, t3) {
|
|
13514
13514
|
var n3 = Object.keys(e3);
|
|
13515
13515
|
if (Object.getOwnPropertySymbols) {
|
|
13516
13516
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -13520,42 +13520,42 @@ function requireEideasyBrowserClient() {
|
|
|
13520
13520
|
}
|
|
13521
13521
|
return n3;
|
|
13522
13522
|
}
|
|
13523
|
-
function
|
|
13523
|
+
function nu(e3) {
|
|
13524
13524
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
13525
13525
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
13526
|
-
t3 % 2 ?
|
|
13526
|
+
t3 % 2 ? tu(Object(r3), true).forEach(function(t4) {
|
|
13527
13527
|
n2(e3, t4, r3[t4]);
|
|
13528
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
13528
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : tu(Object(r3)).forEach(function(t4) {
|
|
13529
13529
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
13530
13530
|
});
|
|
13531
13531
|
}
|
|
13532
13532
|
return e3;
|
|
13533
13533
|
}
|
|
13534
|
-
const
|
|
13534
|
+
const ru2 = function(e3, t3, n3) {
|
|
13535
13535
|
const r3 = {};
|
|
13536
13536
|
return Object.keys(e3).forEach(function(i2) {
|
|
13537
13537
|
r3[i2] = /* @__PURE__ */ function(e4, t4, n4) {
|
|
13538
13538
|
return function(r4) {
|
|
13539
|
-
const i3 =
|
|
13539
|
+
const i3 = nu(nu({}, t4), r4);
|
|
13540
13540
|
return n4 ? n4(e4(i3)) : e4(i3);
|
|
13541
13541
|
};
|
|
13542
13542
|
}(e3[i2], t3, n3);
|
|
13543
13543
|
}), r3;
|
|
13544
|
-
},
|
|
13544
|
+
}, iu = function(e3) {
|
|
13545
13545
|
let { method: t3, baseUrl: n3, clientId: r3, redirectUri: i2, state: o2, language: a2, country: s2 } = e3, c2 = "".concat(n3, "/oauth/start/").concat(t3, "?client_id=").concat(r3, "&redirect_uri=").concat(i2, "&response_type=code");
|
|
13546
13546
|
return a2 && (c2 += "&lang=".concat(a2)), o2 && (c2 += "&state=".concat(o2)), s2 && (c2 += "&country=".concat(s2)), c2;
|
|
13547
|
-
},
|
|
13547
|
+
}, ou = s.eParakstsSmartCard, au = function(e3) {
|
|
13548
13548
|
let { apiEndpoints: t3, clientId: n3, redirectUri: r3 } = e3;
|
|
13549
13549
|
return { data: { redirect_uri: t3.inCurrentMode.eParakstsSmartCard({ clientId: n3, redirectUri: r3 }) } };
|
|
13550
|
-
},
|
|
13550
|
+
}, su = Tn(ou, function() {
|
|
13551
13551
|
var e3 = nn(function* (e4) {
|
|
13552
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2 } = e4, o2 = yield sn(
|
|
13552
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2 } = e4, o2 = yield sn(au)({ apiEndpoints: n3, clientId: r3, redirectUri: i2 });
|
|
13553
13553
|
return sn(t3, { shouldFormatResult: false })(o2);
|
|
13554
13554
|
});
|
|
13555
13555
|
return function(t3) {
|
|
13556
13556
|
return e3.apply(this, arguments);
|
|
13557
13557
|
};
|
|
13558
|
-
}()),
|
|
13558
|
+
}()), cu = Ai({ moduleName: s.itsmeQesSignature, createModuleCreator: Tn }), uu = Ai({ moduleName: s.frIdentAdvancedSignature, createModuleCreator: Tn }), lu = function() {
|
|
13559
13559
|
const e3 = Ft({ rawSettings: arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, schema: Vt }), t3 = function() {
|
|
13560
13560
|
let { currentLanguage: e4 = "en", locales: t4 = en2 } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
13561
13561
|
const n4 = { currentLanguage: e4 };
|
|
@@ -13571,7 +13571,7 @@ function requireEideasyBrowserClient() {
|
|
|
13571
13571
|
} });
|
|
13572
13572
|
}({ currentLanguage: "en" }), n3 = function() {
|
|
13573
13573
|
let e4 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t4 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
13574
|
-
const n4 =
|
|
13574
|
+
const n4 = nu({ base: function(e5) {
|
|
13575
13575
|
let { baseUrl: t5 } = e5;
|
|
13576
13576
|
return t5;
|
|
13577
13577
|
}, oidcStart: function(e5) {
|
|
@@ -13588,73 +13588,76 @@ function requireEideasyBrowserClient() {
|
|
|
13588
13588
|
return "".concat(t5, "/api/identity/").concat(n5, "/zealid/get_iframe_url");
|
|
13589
13589
|
}, eParakstsMobile: function(e5) {
|
|
13590
13590
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13591
|
-
return
|
|
13591
|
+
return iu({ method: "lv-eparaksts-mobile-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13592
13592
|
}, eParakstsSmartCard: function(e5) {
|
|
13593
13593
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13594
|
-
return
|
|
13594
|
+
return iu({ method: "lv-eparaksts-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13595
13595
|
}, mojeId: function(e5) {
|
|
13596
13596
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13597
|
-
return
|
|
13597
|
+
return iu({ method: "mojeid", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13598
13598
|
}, edoAppEid: function(e5) {
|
|
13599
13599
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13600
|
-
return
|
|
13600
|
+
return iu({ method: "edoapp-eid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13601
13601
|
}, itsme: function(e5) {
|
|
13602
13602
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13603
|
-
return
|
|
13603
|
+
return iu({ method: "itsme-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13604
13604
|
}, itsmeBasic: function(e5) {
|
|
13605
13605
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13606
|
-
return
|
|
13606
|
+
return iu({ method: "itsme-login-basic", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13607
13607
|
}, itsmeStandard: function(e5) {
|
|
13608
13608
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13609
|
-
return
|
|
13609
|
+
return iu({ method: "itsme-login-standard", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13610
13610
|
}, seBankId: function(e5) {
|
|
13611
13611
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13612
|
-
return
|
|
13612
|
+
return iu({ method: "swedish-bankid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13613
13613
|
}, finnishTrustNetwork: function(e5) {
|
|
13614
13614
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13615
|
-
return
|
|
13615
|
+
return iu({ method: "finnish-ftn-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13616
13616
|
}, idin: function(e5) {
|
|
13617
13617
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13618
|
-
return
|
|
13618
|
+
return iu({ method: "idin-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13619
13619
|
}, idinCustomerId: function(e5) {
|
|
13620
13620
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13621
|
-
return
|
|
13621
|
+
return iu({ method: "idin-customer-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13622
13622
|
}, verifai: function(e5) {
|
|
13623
13623
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13624
|
-
return
|
|
13624
|
+
return iu({ method: "verifai-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13625
13625
|
}, yoonik: function(e5) {
|
|
13626
13626
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13627
|
-
return
|
|
13627
|
+
return iu({ method: "yoonik-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13628
13628
|
}, plMojeId: function(e5) {
|
|
13629
13629
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13630
|
-
return
|
|
13630
|
+
return iu({ method: "pl-mojeid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13631
13631
|
}, spid: function(e5) {
|
|
13632
13632
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13633
|
-
return
|
|
13633
|
+
return iu({ method: "spid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13634
13634
|
}, mitId: function(e5) {
|
|
13635
13635
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13636
|
-
return
|
|
13636
|
+
return iu({ method: "mit-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13637
13637
|
}, mitId2: function(e5) {
|
|
13638
13638
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13639
|
-
return
|
|
13639
|
+
return iu({ method: "mit-id-2-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13640
13640
|
}, norwegianBankId: function(e5) {
|
|
13641
13641
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13642
|
-
return
|
|
13642
|
+
return iu({ method: "norwegian-bankid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13643
|
+
}, norwegianBankId2: function(e5) {
|
|
13644
|
+
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13645
|
+
return iu({ method: "norwegian-bankid-2-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13643
13646
|
}, atHandy: function(e5) {
|
|
13644
13647
|
let { baseUrl: t5, clientId: n5, redirectUri: r5, state: i3 } = e5, o3 = "".concat(t5, "/oauth/authorize?client_id=").concat(n5, "&redirect_uri=").concat(r5, "&response_type=code&method=at-handy-signatur-login");
|
|
13645
13648
|
return i3 && (o3 += "&state=".concat(i3)), o3;
|
|
13646
13649
|
}, ftn: function(e5) {
|
|
13647
13650
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13648
|
-
return
|
|
13651
|
+
return iu({ method: "ftn-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13649
13652
|
}, gbOneId: function(e5) {
|
|
13650
13653
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13651
|
-
return
|
|
13654
|
+
return iu({ method: "gb-one-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13652
13655
|
}, veriff: function(e5) {
|
|
13653
13656
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 } = e5;
|
|
13654
|
-
return
|
|
13657
|
+
return iu({ method: "veriff-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 });
|
|
13655
13658
|
}, lIdentiteNumerique: function(e5) {
|
|
13656
13659
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 } = e5;
|
|
13657
|
-
return
|
|
13660
|
+
return iu({ method: "lidentite-numerique-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 });
|
|
13658
13661
|
}, integrationIframe: function(e5) {
|
|
13659
13662
|
let { baseUrl: t5, clientId: n5, actionType: r5, docId: i3 } = e5;
|
|
13660
13663
|
return "".concat(t5, "/web-element/os-broker/").concat(n5, "/").concat(r5, "?doc_id=").concat(i3);
|
|
@@ -13745,9 +13748,9 @@ function requireEideasyBrowserClient() {
|
|
|
13745
13748
|
}, cscApiAuthorizeCredentialRedirect: function(e5) {
|
|
13746
13749
|
let { baseUrl: t5 } = e5;
|
|
13747
13750
|
return "".concat(t5, "/csc/authorize-credential-redirect");
|
|
13748
|
-
} }, t4), r4 = { [
|
|
13751
|
+
} }, t4), r4 = { [eu.production]: nu({}, ru2(n4, { baseUrl: t4.base ? t4.base() : "https://id.eideasy.com", state: e4.state }, e4.modifyEndpointUrl)), [eu.sandbox]: nu({}, ru2(n4, { baseUrl: t4.base ? t4.base() : "https://test.eideasy.com", state: e4.state }, e4.modifyEndpointUrl)) };
|
|
13749
13752
|
return { get inCurrentMode() {
|
|
13750
|
-
const t5 = e4.sandbox ?
|
|
13753
|
+
const t5 = e4.sandbox ? eu.sandbox : eu.production;
|
|
13751
13754
|
return r4[t5];
|
|
13752
13755
|
} };
|
|
13753
13756
|
}({ countryCode: e3.countryCode, sandbox: e3.sandbox, modifyEndpointUrl: e3.modifyEndpointUrl, state: e3.oauthParamState }, e3.apiEndpoints), r3 = function(e4) {
|
|
@@ -13804,8 +13807,8 @@ function requireEideasyBrowserClient() {
|
|
|
13804
13807
|
}, getCountryCode: function() {
|
|
13805
13808
|
return u2.countryCode;
|
|
13806
13809
|
}, getLogs: s2.getLogs });
|
|
13807
|
-
}({ settings: e3, i18n: t3, monitoringService: r3, apiEndpoints: n3, iframeMessenger: o2, logger: i2, identificationModules: [En, Mn, Ln, jn, Vn,
|
|
13808
|
-
},
|
|
13810
|
+
}({ settings: e3, i18n: t3, monitoringService: r3, apiEndpoints: n3, iframeMessenger: o2, logger: i2, identificationModules: [En, Mn, Ln, jn, Vn, su, Qn, Jn, $n, er, rr, ar, sr, lr, gr, fr2, hr, yr, Sr, Cr, vr, Ar, br, _r, Nr, Rr, Or, Mr, Dr, Gr, Fr, Kr, Zr], signingModules: [Xr, ii, li, hi, yi, Ei, bi, _i, Ni, va, Ri, Di, Ui, wi, ki, Li, Gi, Bi, Fi, Ki, ya, Sa, Ia, _a, Na, Ra, Oa, Ma, Da, ka, ja, Qa, Za, Wa, $a, as, ss, gs, ms, vs, As, bs, _s, Ns, Ms, ws, cu, uu, ks, Bs, Vs, Ks, Ws, zs, Js, Ys, Xs, $s, lc, dc, pc, gc, ec, tc, nc, rc, uc, fc, hc, Ic, Ec, Cc, vc, Ac, bc, _c, Nc, Rc, Oc, Mc, Dc, kc, Lc, Gc, xc, Xc, $c] });
|
|
13811
|
+
}, du = lu;
|
|
13809
13812
|
})(), o;
|
|
13810
13813
|
})());
|
|
13811
13814
|
})(eideasyBrowserClient);
|
|
@@ -14878,6 +14881,13 @@ const allWidgetMethods = Object.freeze({
|
|
|
14878
14881
|
title: "bankid"
|
|
14879
14882
|
}
|
|
14880
14883
|
},
|
|
14884
|
+
{
|
|
14885
|
+
actionType: eideasyBrowserClientExports.methodActionTypes.NORWEGIAN_BANKID_2_LOGIN,
|
|
14886
|
+
buttonName: methodButtonNames.NoBankIdButton,
|
|
14887
|
+
translationKeys: {
|
|
14888
|
+
title: "bankid"
|
|
14889
|
+
}
|
|
14890
|
+
},
|
|
14881
14891
|
{
|
|
14882
14892
|
actionType: eideasyBrowserClientExports.methodActionTypes.FTN_LOGIN,
|
|
14883
14893
|
buttonName: methodButtonNames.FinnishTrustNetworkButton,
|
|
@@ -28008,7 +28018,7 @@ const _sfc_main$H = {
|
|
|
28008
28018
|
createTextVNode(toDisplayString$1(_ctx.$t("method-setup-info-2", { method: "D-trust" })) + " ", 1),
|
|
28009
28019
|
createBaseVNode("a", {
|
|
28010
28020
|
class: normalizeClass(_ctx.$style.infoLink),
|
|
28011
|
-
href: "https://
|
|
28021
|
+
href: "https://cloud.sign-me.de/signature/start",
|
|
28012
28022
|
target: "_blank",
|
|
28013
28023
|
rel: "noopener noreferrer"
|
|
28014
28024
|
}, toDisplayString$1(_ctx.$t("here")), 3)
|
|
@@ -28160,7 +28170,7 @@ const _sfc_main$G = {
|
|
|
28160
28170
|
createTextVNode(toDisplayString$1(_ctx.$t("method-setup-info-2", { method: "D-trust" })) + " ", 1),
|
|
28161
28171
|
createBaseVNode("a", {
|
|
28162
28172
|
class: normalizeClass(_ctx.$style.infoLink),
|
|
28163
|
-
href: "https://
|
|
28173
|
+
href: "https://cloud.sign-me.de/signature/start",
|
|
28164
28174
|
target: "_blank",
|
|
28165
28175
|
rel: "noopener noreferrer"
|
|
28166
28176
|
}, toDisplayString$1(_ctx.$t("here")), 3)
|