@everymatrix/player-account-controller 1.93.12 → 1.93.14
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/components/{GeneralLogout-C2y7Y1dE.cjs → GeneralLogout-B9rrlZBb.cjs} +1 -1
- package/components/{GeneralLogout-Czvcegs5.js → GeneralLogout-BZM9T7CK.js} +1 -1
- package/components/{GeneralLogout-BewfWDIc.js → GeneralLogout-ClBEcRB6.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CM97TaVJ.js → PlayerAccountBettingHistory-C9I0cckz.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DLSYtCZp.cjs → PlayerAccountBettingHistory-SYN2syiA.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-s5znvIxt.js → PlayerAccountBettingHistory-pLeLHrem.js} +1 -1
- package/components/{PlayerAccountBiometrics-Qoytvaxy.cjs → PlayerAccountBiometrics-CG2q6QaB.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-h-dyAXxg.js → PlayerAccountBiometrics-D0yKw3DT.js} +2 -2
- package/components/{PlayerAccountBiometrics-BKYna6WA.js → PlayerAccountBiometrics-axlsVN6-.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-DDXu8QXv.js → PlayerAccountBiometricsAction-BvEpB-Ve.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-BqGYtfNg.js → PlayerAccountBiometricsAction-brm2NhRZ.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-ClGKS2gp.cjs → PlayerAccountBiometricsAction-h41_nJ42.cjs} +1 -1
- package/components/{PlayerAccountClosure-BssaJEGB.js → PlayerAccountClosure-BSfN2HY0.js} +1 -1
- package/components/{PlayerAccountClosure-PwcGFe0J.js → PlayerAccountClosure-D5qh46xj.js} +1 -1
- package/components/{PlayerAccountClosure-BGsdGJU3.cjs → PlayerAccountClosure-Hi-mevLE.cjs} +1 -1
- package/components/{PlayerAccountController-DLXlZ6SW.cjs → PlayerAccountController-CJNkxh4N.cjs} +2 -2
- package/components/{PlayerAccountController-DsJ74Us2.js → PlayerAccountController-Dt7k430j.js} +23 -23
- package/components/{PlayerAccountController-SntRT_hM.js → PlayerAccountController-d7is_o01.js} +23 -23
- package/components/{PlayerAccountGamingLimits-CTGgeEPm.js → PlayerAccountGamingLimits-5_dEoJ3H.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BBI62m2M.js → PlayerAccountGamingLimits-DCE5WW9K.js} +2 -2
- package/components/{PlayerAccountGamingLimits-_RZx_m5W.cjs → PlayerAccountGamingLimits-jm6wkwMl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DFOcuwIh.js → PlayerAccountGamingLimitsConfirmationModal-BpHKNhJW.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CE01pg7P.cjs → PlayerAccountGamingLimitsConfirmationModal-DX7x8WBJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwFrXcz.js → PlayerAccountGamingLimitsConfirmationModal-w0RLRmRy.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWC376x3.js → PlayerAccountGamingLimitsGroupEdit-DKP3HIm4.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-6y04dYzq.js → PlayerAccountGamingLimitsGroupEdit-S10k2_83.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-CdkRwGIG.cjs → PlayerAccountGamingLimitsGroupEdit-_T49vdI8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-ClfDvYz5.js → PlayerAccountGamingLimitsHistory2--EXiaim5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BFKK_PHb.cjs → PlayerAccountGamingLimitsHistory2-BVm79o7F.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CBEGaMY3.js → PlayerAccountGamingLimitsHistory2-DeXLhjxc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CYBvAKAo.js → PlayerAccountGamingLimitsInfoCard-BlzyMzu4.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BhJtrPGf.cjs → PlayerAccountGamingLimitsInfoCard-D8Achbmu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DuAQqQMM.js → PlayerAccountGamingLimitsInfoCard-Dk7vH95z.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C8uCJhKP.js → PlayerAccountGamingLimitsPage2Gm16-189Ky1pH.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-D7tAsvtX.cjs → PlayerAccountGamingLimitsPage2Gm16-B3UOt6IK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BYzr5vwa.js → PlayerAccountGamingLimitsPage2Gm16-XQpeKm2S.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D9_oGqEa.cjs → PlayerAccountGamingLimitsPopup-B6pD_Fp8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B_ct-g3T.js → PlayerAccountGamingLimitsPopup-Cjbb7cnA.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CUDTCM1F.js → PlayerAccountGamingLimitsPopup-D_3rSbne.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-C2zg2CAI.js → PlayerAccountGamingLimitsWrapper2-C9bKEgJY.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BliP4ItH.cjs → PlayerAccountGamingLimitsWrapper2-CA84rMd3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-D2BMF4mt.js → PlayerAccountGamingLimitsWrapper2-DmoKkzfO.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-BtbmIISI.cjs → PlayerAccountGeneralConfirmationModal-Ck11RhIm.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CqON6ro1.js → PlayerAccountGeneralConfirmationModal-EccEeF9X.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B_t7QPdS.js → PlayerAccountGeneralConfirmationModal-wAcx5trr.js} +1 -1
- package/components/{PlayerAccountMenu-DnRhW9pN.cjs → PlayerAccountMenu-Cjst80Qe.cjs} +1 -1
- package/components/{PlayerAccountMenu-D8cVhd2H.js → PlayerAccountMenu-DZ5LXOVn.js} +2 -2
- package/components/{PlayerAccountMenu-DQCrC-4R.js → PlayerAccountMenu-K44JQwSs.js} +2 -2
- package/components/{PlayerAccountModal-BLW1ybcK.cjs → PlayerAccountModal-4olX5Kg4.cjs} +1 -1
- package/components/{PlayerAccountModal-DpJNoelk.js → PlayerAccountModal-CsnFYmGk.js} +1 -1
- package/components/{PlayerAccountModal-CeP6yj14.js → PlayerAccountModal-Jf9sHaEz.js} +1 -1
- package/components/{PlayerAccountNotifications-CxHtpdNr.js → PlayerAccountNotifications-C9LDblcd.js} +1 -1
- package/components/{PlayerAccountNotifications-BFcCZ7Zu.js → PlayerAccountNotifications-CRq07XyH.js} +1 -1
- package/components/{PlayerAccountNotifications-DbQdy81X.cjs → PlayerAccountNotifications-yNFnow3R.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-LMRzxRV2.js → PlayerAccountProductRestriction-C_FnATwg.js} +3 -3
- package/components/{PlayerAccountProductRestriction-CZ7EoRjk.js → PlayerAccountProductRestriction-Dzc7XQeq.js} +3 -3
- package/components/{PlayerAccountProductRestriction-ktMW-ZvT.cjs → PlayerAccountProductRestriction-U_ELCSO4.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DlpnpwkB.js → PlayerAccountReviewFrequency-B7_mv50F.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-DnabhObX.cjs → PlayerAccountReviewFrequency-B_s7cERS.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-CfmK1Obu.js → PlayerAccountReviewFrequency-zrmXO601.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Jb_V4i6_.js → PlayerAccountSelfExclusion-D6Wpm-wg.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-CtIgMC0t.js → PlayerAccountSelfExclusion-Dzst1jKz.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-0v1N8elD.cjs → PlayerAccountSelfExclusion-MNDwvl2_.cjs} +1 -1
- package/components/{PlayerAccountTimeout-8fzk_RgK.js → PlayerAccountTimeout-Cg6T52XP.js} +3 -3
- package/components/{PlayerAccountTimeout-B_rvinGm.js → PlayerAccountTimeout-DApjUNBI.js} +3 -3
- package/components/{PlayerAccountTimeout-PUZUbjl5.cjs → PlayerAccountTimeout-DLvuUsfZ.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-D4v46D-9.cjs → PlayerAccountTransactionsHistory-CUiYDPem.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DLu-55uY.js → PlayerAccountTransactionsHistory-CqOvI4_o.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-Cmvap37J.js → PlayerAccountTransactionsHistory-D3GWNpk3.js} +4 -4
- package/components/{PlayerActiveBonuses-C1PpUxaU.cjs → PlayerActiveBonuses-BrqMX85I.cjs} +1 -1
- package/components/{PlayerActiveBonuses-xqjLxWxj.js → PlayerActiveBonuses-D1rEAHWJ.js} +2 -2
- package/components/{PlayerActiveBonuses-DuONPq12.js → PlayerActiveBonuses-DP3VyMW4.js} +2 -2
- package/components/{PlayerBonusCard-DjeuOIGK.js → PlayerBonusCard-2nQ-DOjo.js} +2 -2
- package/components/{PlayerBonusCard-BPekoz_J.cjs → PlayerBonusCard-CFZ2-iHJ.cjs} +1 -1
- package/components/{PlayerBonusCard-Cd4CFOvV.js → PlayerBonusCard-DF3NZjQ1.js} +2 -2
- package/components/{PlayerBonusHistory-DgS2gdht.cjs → PlayerBonusHistory-BgurT_zS.cjs} +1 -1
- package/components/{PlayerBonusHistory-DU1SycKq.js → PlayerBonusHistory-CV882OhV.js} +2 -2
- package/components/{PlayerBonusHistory-D--3LkB0.js → PlayerBonusHistory-Dv04FecI.js} +2 -2
- package/components/{PlayerChangePassword-B5XpvV9H.cjs → PlayerChangePassword-9Bi4G6F0.cjs} +1 -1
- package/components/{PlayerChangePassword-CLerFf5K.js → PlayerChangePassword-CZeljveX.js} +1 -1
- package/components/{PlayerChangePassword-Dl-dCIpW.js → PlayerChangePassword-DyIfE0gZ.js} +1 -1
- package/components/{PlayerDeposit-b1W47bGW.cjs → PlayerDeposit-BSvqGLb1.cjs} +1 -1
- package/components/{PlayerDeposit-h04Mh6YW.js → PlayerDeposit-Bg3BOgXZ.js} +1 -1
- package/components/{PlayerDeposit-B-v03sTE.js → PlayerDeposit-BsWukS1H.js} +1 -1
- package/components/{PlayerGamingHistory-Cv8-Rfzo.js → PlayerGamingHistory-C9_YFuw0.js} +3 -3
- package/components/{PlayerGamingHistory-DsW9jT5y.cjs → PlayerGamingHistory-LitoJ1mv.cjs} +1 -1
- package/components/{PlayerGamingHistory-DmKqCLau.js → PlayerGamingHistory-ZW6KQE6T.js} +3 -3
- package/components/{PlayerPendingWithdrawals-DYzXY4hW.cjs → PlayerPendingWithdrawals-BpgyotNS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-ZAMQ5qqB.js → PlayerPendingWithdrawals-DCv5QaRU.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn8gpaSl.js → PlayerPendingWithdrawals-DDeVMgY-.js} +1 -1
- package/components/{PlayerProfileInfo-B7dKfAe_.js → PlayerProfileInfo-ChvBwcan.js} +3 -3
- package/components/{PlayerProfileInfo-BEMt39Gt.js → PlayerProfileInfo-Cyr5TTka.js} +3 -3
- package/components/{PlayerProfileInfo-DjD4E513.cjs → PlayerProfileInfo-DGhtjitN.cjs} +1 -1
- package/components/{PlayerRealityCheck-Bnyc-oHq.cjs → PlayerRealityCheck-CYR8Tp3t.cjs} +1 -1
- package/components/{PlayerRealityCheck-B52w0x7t.js → PlayerRealityCheck-fFwCPw4l.js} +1 -1
- package/components/{PlayerRealityCheck-Dbzh832i.js → PlayerRealityCheck-wKb5QRPn.js} +1 -1
- package/components/{PlayerTransactionHistory-B70UTWWR.js → PlayerTransactionHistory-9l2U7HuU.js} +1 -1
- package/components/{PlayerTransactionHistory-D8Jy6PgB.cjs → PlayerTransactionHistory-CYYwIrM0.cjs} +1 -1
- package/components/{PlayerTransactionHistory-C81SVMNQ.js → PlayerTransactionHistory-Dpdo2PQx.js} +1 -1
- package/components/{PlayerWithdrawal-CJUkIcgA.cjs → PlayerWithdrawal-CWdppILV.cjs} +1 -1
- package/components/{PlayerWithdrawal-C3SkDGS_.js → PlayerWithdrawal-Ck82C_c_.js} +1 -1
- package/components/{PlayerWithdrawal-DlCsEoDt.js → PlayerWithdrawal-DHaHS2XO.js} +1 -1
- package/components/{QrSessionGenerator-hn3NvTO5.js → QrSessionGenerator-CgW-9Tbq.js} +1 -1
- package/components/{QrSessionGenerator-BzNmvH-J.js → QrSessionGenerator-DdrnSo0r.js} +1 -1
- package/components/{QrSessionGenerator-DatUnp4r.cjs → QrSessionGenerator-jIoufAcx.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-9c0f6c58-P8h0R10S.js → index-9c0f6c58-BLHPAiHp.js} +1 -1
- package/stencil/{index-9c0f6c58-DnbhPPTI.cjs → index-9c0f6c58-DlXOBm1V.cjs} +1 -1
- package/stencil/{index-9c0f6c58-CK57ve5P.js → index-9c0f6c58-Dt7MQ5_j.js} +1 -1
- package/stencil/{player-kyc-verification-mnYQMtSn.js → player-kyc-verification-BO_q93r0.js} +188 -134
- package/stencil/{player-kyc-verification-C2xE1hLK.js → player-kyc-verification-BhngQMYp.js} +165 -111
- package/stencil/player-kyc-verification-ISE1zaDp.cjs +210 -0
- package/stencil/player-kyc-verification-Cb647IzH.cjs +0 -181
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = (e, i, o) => new Promise((n, a) => {
|
|
2
2
|
var r = (c) => {
|
|
3
3
|
try {
|
|
4
|
-
d(
|
|
5
|
-
} catch (
|
|
6
|
-
a(
|
|
4
|
+
d(o.next(c));
|
|
5
|
+
} catch (f) {
|
|
6
|
+
a(f);
|
|
7
7
|
}
|
|
8
8
|
}, l = (c) => {
|
|
9
9
|
try {
|
|
10
|
-
d(
|
|
11
|
-
} catch (
|
|
12
|
-
a(
|
|
10
|
+
d(o.throw(c));
|
|
11
|
+
} catch (f) {
|
|
12
|
+
a(f);
|
|
13
13
|
}
|
|
14
|
-
}, d = (c) => c.done ?
|
|
15
|
-
d((
|
|
14
|
+
}, d = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(r, l);
|
|
15
|
+
d((o = o.apply(e, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as
|
|
18
|
-
import { a as
|
|
19
|
-
var
|
|
17
|
+
import { b as S, p as x, r as b, h as t, F as v } from "./index-9c0f6c58-Dt7MQ5_j.js";
|
|
18
|
+
import { a as P } from "./app-globals-0f993ce5-XUXOuUQl.js";
|
|
19
|
+
var D = () => {
|
|
20
20
|
const e = import.meta.url, i = {};
|
|
21
|
-
return e !== "" && (i.resourcesUrl = new URL(".", e).href),
|
|
21
|
+
return e !== "" && (i.resourcesUrl = new URL(".", e).href), x(i);
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
return yield
|
|
23
|
+
D().then((e) => m(void 0, null, function* () {
|
|
24
|
+
return yield P(), S([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
|
|
25
25
|
}));
|
|
26
|
-
const
|
|
26
|
+
const I = "en";
|
|
27
27
|
let p = {
|
|
28
28
|
en: {
|
|
29
29
|
loading: "Loading, please wait ...",
|
|
@@ -612,71 +612,71 @@ let p = {
|
|
|
612
612
|
Voucher: "Voucher"
|
|
613
613
|
}
|
|
614
614
|
};
|
|
615
|
-
const
|
|
616
|
-
fetch(e).then((
|
|
617
|
-
Object.keys(
|
|
618
|
-
p[
|
|
619
|
-
for (let a in n
|
|
620
|
-
p[
|
|
615
|
+
const C = (e) => new Promise((i) => {
|
|
616
|
+
fetch(e).then((o) => o.json()).then((o) => {
|
|
617
|
+
Object.keys(o).forEach((n) => {
|
|
618
|
+
p[n] || (p[n] = {});
|
|
619
|
+
for (let a in o[n])
|
|
620
|
+
p[n][a] = o[n][a];
|
|
621
621
|
}), i(!0);
|
|
622
622
|
});
|
|
623
|
-
}), s = (e, i,
|
|
624
|
-
const
|
|
625
|
-
return p[
|
|
626
|
-
},
|
|
627
|
-
function
|
|
623
|
+
}), s = (e, i, o) => {
|
|
624
|
+
const n = i;
|
|
625
|
+
return p[n !== void 0 && n in p ? n : I][e];
|
|
626
|
+
}, O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), u = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
627
|
+
function w(e, i) {
|
|
628
628
|
if (e) {
|
|
629
|
-
const
|
|
630
|
-
|
|
629
|
+
const o = document.createElement("style");
|
|
630
|
+
o.innerHTML = i, e.appendChild(o);
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
function k(e, i) {
|
|
634
634
|
if (!e || !i)
|
|
635
635
|
return;
|
|
636
|
-
const
|
|
637
|
-
fetch(
|
|
636
|
+
const o = new URL(i);
|
|
637
|
+
fetch(o.href).then((n) => n.text()).then((n) => {
|
|
638
638
|
const a = document.createElement("style");
|
|
639
|
-
a.innerHTML =
|
|
640
|
-
}).catch((
|
|
641
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
639
|
+
a.innerHTML = n, e && e.appendChild(a);
|
|
640
|
+
}).catch((n) => {
|
|
641
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function B(e, i, o, n = !1) {
|
|
645
645
|
if (!window.emMessageBus)
|
|
646
646
|
return;
|
|
647
|
-
if (!("adoptedStyleSheets" in Document.prototype) || !
|
|
648
|
-
return
|
|
649
|
-
window[
|
|
650
|
-
const r =
|
|
651
|
-
if (window[
|
|
652
|
-
const d = window[
|
|
653
|
-
d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[
|
|
647
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
648
|
+
return o = F(e, i), o;
|
|
649
|
+
window[u] || (window[u] = {}), o = L(e, i);
|
|
650
|
+
const r = o.unsubscribe.bind(o), l = () => {
|
|
651
|
+
if (window[u][i]) {
|
|
652
|
+
const d = window[u][i];
|
|
653
|
+
d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[u][i];
|
|
654
654
|
}
|
|
655
655
|
r();
|
|
656
656
|
};
|
|
657
|
-
return
|
|
657
|
+
return o.unsubscribe = l, o;
|
|
658
658
|
}
|
|
659
|
-
function
|
|
660
|
-
const
|
|
661
|
-
return window.emMessageBus.subscribe(i, (
|
|
662
|
-
e && (
|
|
659
|
+
function F(e, i) {
|
|
660
|
+
const o = document.createElement("style");
|
|
661
|
+
return window.emMessageBus.subscribe(i, (n) => {
|
|
662
|
+
e && (o.innerHTML = n, e.appendChild(o));
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
return window.emMessageBus.subscribe(i, (
|
|
665
|
+
function L(e, i) {
|
|
666
|
+
return window.emMessageBus.subscribe(i, (o) => {
|
|
667
667
|
if (!e)
|
|
668
668
|
return;
|
|
669
|
-
const
|
|
669
|
+
const n = e.getRootNode(), a = window[u];
|
|
670
670
|
let r = a[i] && a[i].sheet;
|
|
671
|
-
r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(
|
|
671
|
+
r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[i] = {
|
|
672
672
|
sheet: r,
|
|
673
673
|
refCount: 1
|
|
674
674
|
});
|
|
675
|
-
const l =
|
|
676
|
-
l.includes(r) || (
|
|
675
|
+
const l = n.adoptedStyleSheets || [];
|
|
676
|
+
l.includes(r) || (n.adoptedStyleSheets = [...l, r]);
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
|
-
const
|
|
679
|
+
const A = `:host {
|
|
680
680
|
font-family: inherit;
|
|
681
681
|
}
|
|
682
682
|
|
|
@@ -856,34 +856,42 @@ button, select {
|
|
|
856
856
|
.player-kyc-verification-widget .verification-types {
|
|
857
857
|
grid-template-columns: repeat(2, 1fr);
|
|
858
858
|
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
859
|
+
}
|
|
860
|
+
.ModalLoader {
|
|
861
|
+
width: 300px;
|
|
862
|
+
height: 300px;
|
|
863
|
+
margin: 0 auto;
|
|
864
|
+
display: flex;
|
|
865
|
+
align-items: center;
|
|
866
|
+
justify-content: center;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.ModalLoader:after {
|
|
870
|
+
content: " ";
|
|
871
|
+
display: block;
|
|
872
|
+
width: 64px;
|
|
873
|
+
height: 64px;
|
|
874
|
+
margin: 8px;
|
|
875
|
+
border-radius: 50%;
|
|
876
|
+
border: 5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
877
|
+
border-color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;
|
|
878
|
+
animation: Loader 1.2s linear infinite;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
@keyframes Loader {
|
|
882
|
+
0% {
|
|
883
|
+
transform: rotate(0deg);
|
|
877
884
|
}
|
|
878
|
-
|
|
879
|
-
|
|
885
|
+
100% {
|
|
886
|
+
transform: rotate(360deg);
|
|
880
887
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
888
|
+
}`, U = A, V = class {
|
|
889
|
+
constructor(e) {
|
|
890
|
+
b(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = O(this.userAgent), this.getKYCCustomerStatus = () => {
|
|
884
891
|
try {
|
|
885
|
-
|
|
886
|
-
|
|
892
|
+
this.isKYCLoading = !0;
|
|
893
|
+
let i = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
|
|
894
|
+
const o = {
|
|
887
895
|
method: "POST",
|
|
888
896
|
headers: {
|
|
889
897
|
"X-SessionId": this.session,
|
|
@@ -891,43 +899,89 @@ button, select {
|
|
|
891
899
|
},
|
|
892
900
|
body: JSON.stringify({})
|
|
893
901
|
};
|
|
894
|
-
fetch(
|
|
902
|
+
fetch(i.href, o).then((n) => {
|
|
895
903
|
if (n.status === 200)
|
|
896
904
|
return n.json();
|
|
897
905
|
throw new Error("HTTP status " + n.status);
|
|
898
906
|
}).then((n) => {
|
|
899
|
-
var
|
|
900
|
-
this.verificationType = n.verifications,
|
|
901
|
-
var
|
|
902
|
-
if ((
|
|
903
|
-
return (
|
|
904
|
-
}), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType));
|
|
907
|
+
var a;
|
|
908
|
+
this.verificationType = n.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
|
|
909
|
+
var l;
|
|
910
|
+
if ((r == null ? void 0 : r.documents.length) !== 0)
|
|
911
|
+
return (l = r == null ? void 0 : r.documents) === null || l === void 0 ? void 0 : l.some((d) => d.status === "Uploaded");
|
|
912
|
+
})), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType), Array.isArray(this.verificationType) && this.handleVerificationShuftiMessage(this.verificationType)), this.isKYCLoading = !1;
|
|
905
913
|
}).catch((n) => {
|
|
906
|
-
console.error(n);
|
|
914
|
+
this.isKYCLoading = !1, console.error(n);
|
|
907
915
|
});
|
|
908
|
-
} catch (
|
|
909
|
-
console.error("Error fetching verification types:",
|
|
916
|
+
} catch (i) {
|
|
917
|
+
console.error("Error fetching verification types:", i);
|
|
910
918
|
}
|
|
919
|
+
}, this.handleShuftiMessage = (i) => {
|
|
920
|
+
const o = i.data, n = o.event || o.verification_status;
|
|
921
|
+
if (n)
|
|
922
|
+
switch (n) {
|
|
923
|
+
case "verification.declined":
|
|
924
|
+
case "verification.accepted":
|
|
925
|
+
setTimeout(() => {
|
|
926
|
+
this.isKYCLoading = !0;
|
|
927
|
+
}, 500), setTimeout(() => {
|
|
928
|
+
this.getKYCCustomerStatus();
|
|
929
|
+
}, 5500);
|
|
930
|
+
break;
|
|
931
|
+
}
|
|
932
|
+
}, this.handleToggleScreen = () => {
|
|
933
|
+
this.toggleScreen(this.isMobile);
|
|
934
|
+
}, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
935
|
+
}
|
|
936
|
+
handleNewTranslations() {
|
|
937
|
+
this.isLoading = !0, C(this.translationUrl).then(() => {
|
|
938
|
+
this.isLoading = !1;
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
componentWillLoad() {
|
|
942
|
+
return m(this, null, function* () {
|
|
943
|
+
this.translationUrl.length > 2 && (yield C(this.translationUrl));
|
|
911
944
|
});
|
|
912
945
|
}
|
|
946
|
+
handleClientStylingChange(e, i) {
|
|
947
|
+
e != i && w(this.stylingContainer, this.clientStyling);
|
|
948
|
+
}
|
|
949
|
+
handleClientStylingUrlChange(e, i) {
|
|
950
|
+
e != i && this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl);
|
|
951
|
+
}
|
|
952
|
+
componentDidLoad() {
|
|
953
|
+
return m(this, null, function* () {
|
|
954
|
+
this.stylingContainer && (window.emMessageBus != null ? B(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && w(this.stylingContainer, this.clientStyling), this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
removeVerificationShuftiMessage() {
|
|
958
|
+
window.removeEventListener("message", this.handleShuftiMessage);
|
|
959
|
+
}
|
|
960
|
+
handleVerificationShuftiMessage(e) {
|
|
961
|
+
const i = e.find((o) => {
|
|
962
|
+
var n;
|
|
963
|
+
return o.vendorName === "ShuftiPro" && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.actionNeeded) === !0;
|
|
964
|
+
});
|
|
965
|
+
this.removeVerificationShuftiMessage(), i && window.addEventListener("message", this.handleShuftiMessage);
|
|
966
|
+
}
|
|
913
967
|
getGeneralVerificationStatus(e) {
|
|
914
|
-
const i = e == null ? void 0 : e.map((
|
|
915
|
-
return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((
|
|
968
|
+
const i = e == null ? void 0 : e.map((o) => o.status.toLowerCase());
|
|
969
|
+
return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((o) => o === "verified") ? "Verified" : "Unknown";
|
|
916
970
|
}
|
|
917
971
|
disconnectedCallback() {
|
|
918
|
-
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
972
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.removeVerificationShuftiMessage();
|
|
919
973
|
}
|
|
920
974
|
handleOptionChange(e, i) {
|
|
921
|
-
const
|
|
922
|
-
this.verificationType = this.verificationType.map((
|
|
975
|
+
const o = e.target;
|
|
976
|
+
this.verificationType = this.verificationType.map((n) => (n.type === i && (n.optionChosen = o.value), n));
|
|
923
977
|
}
|
|
924
|
-
handleDocumentsStatus(e, i,
|
|
925
|
-
this.verificationType = this.verificationType.map((
|
|
926
|
-
if (
|
|
927
|
-
const a =
|
|
978
|
+
handleDocumentsStatus(e, i, o) {
|
|
979
|
+
this.verificationType = this.verificationType.map((n) => {
|
|
980
|
+
if (n.type === e) {
|
|
981
|
+
const a = n.documents.find((r) => r.code === o);
|
|
928
982
|
a && (a.statusUploaded = i);
|
|
929
983
|
}
|
|
930
|
-
return
|
|
984
|
+
return n;
|
|
931
985
|
});
|
|
932
986
|
}
|
|
933
987
|
downloadPDF(e) {
|
|
@@ -935,9 +989,9 @@ button, select {
|
|
|
935
989
|
i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
|
|
936
990
|
}
|
|
937
991
|
toggleVerificationType(e, i) {
|
|
938
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
939
|
-
var
|
|
940
|
-
return
|
|
992
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
|
|
993
|
+
var n;
|
|
994
|
+
return o.type === e && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.type) == i && (o.expanded = !o.expanded), o;
|
|
941
995
|
});
|
|
942
996
|
}
|
|
943
997
|
toggleScreen(e) {
|
|
@@ -945,16 +999,16 @@ button, select {
|
|
|
945
999
|
}
|
|
946
1000
|
checkFileSize(e) {
|
|
947
1001
|
let i = 0;
|
|
948
|
-
return Object.keys(e).forEach((
|
|
949
|
-
i += e[
|
|
1002
|
+
return Object.keys(e).forEach((o) => {
|
|
1003
|
+
i += e[o].size;
|
|
950
1004
|
}), i <= this.MAX_UPLOAD_SIZE;
|
|
951
1005
|
}
|
|
952
|
-
handleFileSelection(e, i,
|
|
1006
|
+
handleFileSelection(e, i, o) {
|
|
953
1007
|
if (e && e.length > 0)
|
|
954
1008
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
955
|
-
console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
1009
|
+
console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
|
|
956
1010
|
else {
|
|
957
|
-
const
|
|
1011
|
+
const n = {
|
|
958
1012
|
method: "POST",
|
|
959
1013
|
headers: {
|
|
960
1014
|
"Content-Type": "application/json",
|
|
@@ -962,35 +1016,35 @@ button, select {
|
|
|
962
1016
|
},
|
|
963
1017
|
body: JSON.stringify({ DocumentCode: i })
|
|
964
1018
|
};
|
|
965
|
-
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,
|
|
1019
|
+
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, n).then((a) => {
|
|
966
1020
|
if (a.ok)
|
|
967
|
-
return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(
|
|
1021
|
+
return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), a.json();
|
|
968
1022
|
}).then((a) => {
|
|
969
1023
|
if (a.ResponseCode == "Success") {
|
|
970
1024
|
const r = new FormData();
|
|
971
1025
|
r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((l) => {
|
|
972
|
-
l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(
|
|
1026
|
+
l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), console.error("File upload error:", l.status));
|
|
973
1027
|
}).catch((l) => {
|
|
974
1028
|
console.error("File upload error:", l);
|
|
975
1029
|
});
|
|
976
1030
|
} else
|
|
977
|
-
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(
|
|
1031
|
+
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i);
|
|
978
1032
|
}).catch((a) => {
|
|
979
1033
|
console.error("File upload error:", a);
|
|
980
1034
|
});
|
|
981
1035
|
}
|
|
982
1036
|
}
|
|
983
1037
|
importScript(e) {
|
|
984
|
-
return new Promise((i,
|
|
985
|
-
fetch(e).then((
|
|
986
|
-
if (new Function(
|
|
1038
|
+
return new Promise((i, o) => {
|
|
1039
|
+
fetch(e).then((n) => n.text()).then((n) => {
|
|
1040
|
+
if (new Function(n)(), this.scriptInjected)
|
|
987
1041
|
i(!0);
|
|
988
1042
|
else {
|
|
989
1043
|
const r = document.createElement("script");
|
|
990
1044
|
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
|
|
991
1045
|
}
|
|
992
|
-
}).catch((
|
|
993
|
-
n
|
|
1046
|
+
}).catch((n) => {
|
|
1047
|
+
o(n);
|
|
994
1048
|
});
|
|
995
1049
|
});
|
|
996
1050
|
}
|
|
@@ -998,11 +1052,11 @@ button, select {
|
|
|
998
1052
|
return !!(e && e.status === "Uploaded");
|
|
999
1053
|
}
|
|
1000
1054
|
getFirstRequestedDocument(e) {
|
|
1001
|
-
var i,
|
|
1002
|
-
let
|
|
1055
|
+
var i, o;
|
|
1056
|
+
let n;
|
|
1003
1057
|
return (i = e == null ? void 0 : e.documents) === null || i === void 0 || i.forEach((a) => {
|
|
1004
|
-
a.status == "Requested" && (
|
|
1005
|
-
}),
|
|
1058
|
+
a.status == "Requested" && (n = n != null ? n : a.code);
|
|
1059
|
+
}), n || (n = (o = e == null ? void 0 : e.documents[0]) === null || o === void 0 ? void 0 : o.code), n;
|
|
1006
1060
|
}
|
|
1007
1061
|
renderDescription(e) {
|
|
1008
1062
|
const i = this.hideKycDescription === "true" && this.hasAllDocumentsUploaded;
|
|
@@ -1017,27 +1071,27 @@ button, select {
|
|
|
1017
1071
|
}
|
|
1018
1072
|
renderVerificationTypeBox(e) {
|
|
1019
1073
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
1020
|
-
let i = this.getFirstRequestedDocument(e),
|
|
1021
|
-
const
|
|
1022
|
-
return
|
|
1023
|
-
var
|
|
1024
|
-
return this.toggleVerificationType(e.type, (
|
|
1025
|
-
} }, t("div", { class: "box-icon" },
|
|
1074
|
+
let i = this.getFirstRequestedDocument(e), o = e.expanded, n = e.type.trim(), a = e.optionChosen || i, r = e.status, l = e.documents, d = e.flowInfo;
|
|
1075
|
+
const f = e.vendorName === "ShuftiPro" && r !== "InProgress", h = r === "Verified", y = r === "Failed" || r === "Expired";
|
|
1076
|
+
return h && n === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || f ? null : t("div", { class: `verification-box ${o ? "expanded" : ""} ${y ? "failed" : ""} ${h ? "success" : ""}` }, t("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
|
|
1077
|
+
var g;
|
|
1078
|
+
return this.toggleVerificationType(e.type, (g = e.flowInfo) === null || g === void 0 ? void 0 : g.type);
|
|
1079
|
+
} }, t("div", { class: "box-icon" }, h ? t("div", null, this.verifiedIcon ? t("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), t("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), t("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : y ? t("div", null, this.failedIcon ? t("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), t("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), t("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : t("div", null, this.defaultIcon ? t("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : t("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), t("div", { class: "box-title" }, s(n, this.language)), t("div", { class: "chevron-icon" }, t("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, t("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, l, d, h, y) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
|
|
1026
1080
|
}
|
|
1027
|
-
renderDocumentsActions(e, i,
|
|
1028
|
-
return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e != null && e.statusUploaded ? t("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (
|
|
1081
|
+
renderDocumentsActions(e, i, o) {
|
|
1082
|
+
return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e != null && e.statusUploaded ? t("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (n) => this.handleFileSelection(n.target.files, i, o.type), style: { display: "none" } }), t("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), t("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
1029
1083
|
}
|
|
1030
|
-
renderExpandedContent(e, i,
|
|
1084
|
+
renderExpandedContent(e, i, o, n, a, r, l) {
|
|
1031
1085
|
if ((a == null ? void 0 : a.type) === "Widget")
|
|
1032
1086
|
return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
1033
|
-
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" &&
|
|
1087
|
+
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
|
|
1034
1088
|
const d = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
1035
1089
|
return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: d, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
1036
1090
|
} else
|
|
1037
|
-
return t("div", { class: "box box-content" }, t(
|
|
1091
|
+
return t("div", { class: "box box-content" }, t(v, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : l ? t("div", { class: "verification-status" }, o === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : n.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, n.map((d) => t("option", { selected: d.code == i, value: d.code }, s(d.type, this.language)))), this.renderDocumentsActions(n.find((d) => d.code === i), i, e)) : null));
|
|
1038
1092
|
}
|
|
1039
1093
|
render() {
|
|
1040
|
-
return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(
|
|
1094
|
+
return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.isKYCLoading ? t("div", { class: "ModalLoader" }) : this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(v, null, this.hideKycDescription === "true" ? this.renderDescription(this.verificationsGeneralStatus) : t("div", { class: "widget-description" }, " ", s("kycDescription", this.language)), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
1041
1095
|
}
|
|
1042
1096
|
static get watchers() {
|
|
1043
1097
|
return {
|
|
@@ -1047,7 +1101,7 @@ button, select {
|
|
|
1047
1101
|
};
|
|
1048
1102
|
}
|
|
1049
1103
|
};
|
|
1050
|
-
|
|
1104
|
+
V.style = U;
|
|
1051
1105
|
export {
|
|
1052
|
-
|
|
1106
|
+
V as player_kyc_verification
|
|
1053
1107
|
};
|