@everymatrix/player-account-controller 1.90.4 → 1.90.5
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-AdAE8fFW.js → GeneralLogout-BNUwwzyl.js} +1 -1
- package/components/{GeneralLogout-BphAqwyd.js → GeneralLogout-BnQOP74_.js} +1 -1
- package/components/{GeneralLogout-B55V1Rij.cjs → GeneralLogout-DGKUWyRD.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DrExfedk.js → PlayerAccountBettingHistory-B4fQPNr0.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C5b5fwkR.cjs → PlayerAccountBettingHistory-DDMO9gCv.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CfCWSfzC.js → PlayerAccountBettingHistory-DG0zQxNZ.js} +1 -1
- package/components/{PlayerAccountBiometrics-CC-2_0Gu.js → PlayerAccountBiometrics-BcwR5r75.js} +2 -2
- package/components/{PlayerAccountBiometrics-C331GSto.js → PlayerAccountBiometrics-BgT5tMhz.js} +2 -2
- package/components/{PlayerAccountBiometrics-CIzKTOeI.cjs → PlayerAccountBiometrics-DFt1FrMX.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DYwbGana.cjs → PlayerAccountBiometricsAction-9f4bgV0t.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-C7IbLG2X.js → PlayerAccountBiometricsAction-CtOg7kXp.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-Cy_RvY95.js → PlayerAccountBiometricsAction-jtPdoq0y.js} +1 -1
- package/components/{PlayerAccountClosure-_BLqEKh3.js → PlayerAccountClosure-BK5acBSS.js} +1 -1
- package/components/{PlayerAccountClosure-fsDyU7mg.js → PlayerAccountClosure-Boi7Y0L3.js} +1 -1
- package/components/{PlayerAccountClosure-CL9zG9eh.cjs → PlayerAccountClosure-BpWL0dTt.cjs} +1 -1
- package/components/{PlayerAccountController-B77FeK1f.js → PlayerAccountController-B4QRBq2b.js} +24 -24
- package/components/{PlayerAccountController-DYXuzuxq.js → PlayerAccountController-CpTVyX1P.js} +24 -24
- package/components/{PlayerAccountController-DgWQZQvi.cjs → PlayerAccountController-k535URvq.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-BG4MnibT.js → PlayerAccountGamingLimits-CNApmzGk.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CaAX9luY.js → PlayerAccountGamingLimits-DPMS8JOi.js} +2 -2
- package/components/{PlayerAccountGamingLimits-4US3Jrsm.cjs → PlayerAccountGamingLimits-DfJkmem-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Lksk6ImL.cjs → PlayerAccountGamingLimitsConfirmationModal-2GVpI2Gx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-fvwv2Nf-.js → PlayerAccountGamingLimitsConfirmationModal-Bd_ltgUx.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-mtoPbLA4.js → PlayerAccountGamingLimitsConfirmationModal-BiXtvdF2.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-hvAGGXTT.cjs → PlayerAccountGamingLimitsGroupEdit-C3IfurbS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CjXL4mKb.js → PlayerAccountGamingLimitsGroupEdit-CFCejIdt.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-DdsWPUpn.js → PlayerAccountGamingLimitsGroupEdit-DJVS3p-u.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-B2mws1PN.js → PlayerAccountGamingLimitsHistory2-3v8TyKMv.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CMlKv6Ix.js → PlayerAccountGamingLimitsHistory2-D0skB45L.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CrSGkMB_.cjs → PlayerAccountGamingLimitsHistory2-D2VCotRI.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CGuzbHJK.js → PlayerAccountGamingLimitsInfoCard-CoSrTnAO.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-ClV1uHok.js → PlayerAccountGamingLimitsInfoCard-DQcv8k0z.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DzgTXxvt.cjs → PlayerAccountGamingLimitsInfoCard-_5vTXubv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BUWlWpQV.js → PlayerAccountGamingLimitsPage2Gm16-BzcL8jHC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C_WhF4WC.cjs → PlayerAccountGamingLimitsPage2Gm16-CyVDl_NL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B2kFfMgL.js → PlayerAccountGamingLimitsPage2Gm16-DOWJ5tPD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DRKnxawX.js → PlayerAccountGamingLimitsPopup-BhZxVIdl.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BmdxvtOg.cjs → PlayerAccountGamingLimitsPopup-BmoEqCrg.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D38Xcd4B.js → PlayerAccountGamingLimitsPopup-Di98DTnN.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CWDZvjhq.cjs → PlayerAccountGamingLimitsWrapper2-CRDw8gj0.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CBlKc6LW.js → PlayerAccountGamingLimitsWrapper2-DB1FIJEc.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-DaGc3A-F.js → PlayerAccountGamingLimitsWrapper2-Ddwy3KCN.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DggCeEAD.cjs → PlayerAccountGeneralConfirmationModal-C-04Q0tE.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BLtOBAbG.js → PlayerAccountGeneralConfirmationModal-Co_gOovh.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CH_cmsIs.js → PlayerAccountGeneralConfirmationModal-DqYWOpCe.js} +1 -1
- package/components/{PlayerAccountMenu-XV0nZRpS.cjs → PlayerAccountMenu-BahHoBix.cjs} +1 -1
- package/components/{PlayerAccountMenu-BX5Iba2H.js → PlayerAccountMenu-CiW3i180.js} +2 -2
- package/components/{PlayerAccountMenu-Bwwl4V-4.js → PlayerAccountMenu-CsUNbc5S.js} +2 -2
- package/components/{PlayerAccountModal-Bj1z1FQa.cjs → PlayerAccountModal-Dkop2eBI.cjs} +1 -1
- package/components/{PlayerAccountModal-DEdQs2is.js → PlayerAccountModal-DqWSPpwI.js} +1 -1
- package/components/{PlayerAccountModal-H-QhrONS.js → PlayerAccountModal-uE-VYCiQ.js} +1 -1
- package/components/{PlayerAccountNotifications-DwDLo_tL.js → PlayerAccountNotifications-BjCQJ6RU.js} +1 -1
- package/components/{PlayerAccountNotifications-CB5ybsU1.cjs → PlayerAccountNotifications-D_PA9eL5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DhaUxQ50.js → PlayerAccountNotifications-Dslx-_LW.js} +1 -1
- package/components/{PlayerAccountProductRestriction-joYMins7.js → PlayerAccountProductRestriction-BfxsiMMp.js} +3 -3
- package/components/{PlayerAccountProductRestriction-9yPBnAhS.js → PlayerAccountProductRestriction-CKGqGcUo.js} +3 -3
- package/components/{PlayerAccountProductRestriction-BSJBQubo.cjs → PlayerAccountProductRestriction-DFeo_snB.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DfLhkZad.cjs → PlayerAccountReviewFrequency-BLOgfJPj.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-wB0Y4XTG.js → PlayerAccountReviewFrequency-IKDsRU-v.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-Dk8AGcHE.js → PlayerAccountReviewFrequency-fpLNMn0K.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-BXsI95rg.cjs → PlayerAccountSelfExclusion-Bo54IDJp.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DNrc_Ya_.js → PlayerAccountSelfExclusion-Cqec4xJ3.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-DsY9ygtP.js → PlayerAccountSelfExclusion-WBQvhEKO.js} +2 -2
- package/components/{PlayerAccountTimeout-DWLmzMMN.js → PlayerAccountTimeout-DPbO9kjx.js} +3 -3
- package/components/{PlayerAccountTimeout-BeCUflW9.js → PlayerAccountTimeout-DhEUqXJ0.js} +3 -3
- package/components/{PlayerAccountTimeout-KxiDmo0C.cjs → PlayerAccountTimeout-X4zwcOGR.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-D554b0tG.js → PlayerAccountTransactionsHistory-CCDm4DRA.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CQLDuvY_.cjs → PlayerAccountTransactionsHistory-CVbRpH3x.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Cc_hRQ1e.js → PlayerAccountTransactionsHistory-DGFDn2l4.js} +4 -4
- package/components/{PlayerActiveBonuses-WaYgbDmb.js → PlayerActiveBonuses-CZxDeXIe.js} +2 -2
- package/components/{PlayerActiveBonuses-C2bt8Ub5.cjs → PlayerActiveBonuses-CmlFjMEh.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BuANG0kS.js → PlayerActiveBonuses-CnNaJLfc.js} +2 -2
- package/components/{PlayerBonusCard-BX61FqQn.js → PlayerBonusCard-CEQqRDOf.js} +2 -2
- package/components/{PlayerBonusCard-cYQdmYzG.js → PlayerBonusCard-CqhoM4gS.js} +2 -2
- package/components/{PlayerBonusCard-AVvih7XN.cjs → PlayerBonusCard-sjXg9Pf_.cjs} +1 -1
- package/components/{PlayerBonusHistory-RYe4fmYL.cjs → PlayerBonusHistory-BKkDOVkD.cjs} +1 -1
- package/components/{PlayerBonusHistory-C9TtYYD8.js → PlayerBonusHistory-D7T0B7bp.js} +2 -2
- package/components/{PlayerBonusHistory-Cn8dHVeC.js → PlayerBonusHistory-DC8KonkM.js} +2 -2
- package/components/{PlayerChangePassword-BTwtFcm3.js → PlayerChangePassword-BR4PBJYd.js} +1 -1
- package/components/{PlayerChangePassword-CFRuulEs.js → PlayerChangePassword-C4EmqLx_.js} +1 -1
- package/components/{PlayerChangePassword-B_z73ZY-.cjs → PlayerChangePassword-vROWQN6o.cjs} +1 -1
- package/components/{PlayerDeposit-VnYFTLxX.cjs → PlayerDeposit-0gPeIHmq.cjs} +1 -1
- package/components/{PlayerDeposit-CGWSDujQ.js → PlayerDeposit-CadEdEdX.js} +1 -1
- package/components/{PlayerDeposit-BcxR6VyX.js → PlayerDeposit-KjnI4xkU.js} +1 -1
- package/components/{PlayerGamingHistory-Dx_p0D1D.cjs → PlayerGamingHistory-CjDSWIuT.cjs} +1 -1
- package/components/{PlayerGamingHistory-C5zMU9SD.js → PlayerGamingHistory-D4AZY0ab.js} +3 -3
- package/components/{PlayerGamingHistory-D12n7btQ.js → PlayerGamingHistory-DdIsznW5.js} +3 -3
- package/components/{PlayerPendingWithdrawals-BcCNRU0Z.cjs → PlayerPendingWithdrawals-D7LHJmYK.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DkhliNsT.js → PlayerPendingWithdrawals-DS_wShjF.js} +1 -1
- package/components/{PlayerPendingWithdrawals-ChQvyMWx.js → PlayerPendingWithdrawals-DaszVwJH.js} +1 -1
- package/components/{PlayerProfileInfo-BzzjaDvn.cjs → PlayerProfileInfo-BNY8t0J6.cjs} +1 -1
- package/components/{PlayerProfileInfo-CMHlh6sY.js → PlayerProfileInfo-CLBlZVBz.js} +2 -2
- package/components/{PlayerProfileInfo-CVkJIScF.js → PlayerProfileInfo-oyCqMP9X.js} +2 -2
- package/components/{PlayerRealityCheck-Cd2DIjwf.cjs → PlayerRealityCheck-BzC-WYkd.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYrlFqc6.js → PlayerRealityCheck-CKB-HHqM.js} +1 -1
- package/components/{PlayerRealityCheck-B7qvfHOO.js → PlayerRealityCheck-EBVGtwyn.js} +1 -1
- package/components/{PlayerTransactionHistory-BS0y-B-r.js → PlayerTransactionHistory-C6CcqRIu.js} +1 -1
- package/components/{PlayerTransactionHistory-kzb0rl5W.js → PlayerTransactionHistory-CHppx0Ul.js} +1 -1
- package/components/{PlayerTransactionHistory-B6lRHG43.cjs → PlayerTransactionHistory-COxLY8XM.cjs} +1 -1
- package/components/{PlayerWithdrawal-CfdEemVu.cjs → PlayerWithdrawal-Cjeuqcvz.cjs} +1 -1
- package/components/{PlayerWithdrawal-BNho8JuD.js → PlayerWithdrawal-D8NO_qwr.js} +1 -1
- package/components/{PlayerWithdrawal-BvbM3ygp.js → PlayerWithdrawal-E-aPHPOs.js} +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-2ff63899-C95JGHvF.js → index-2ff63899-BImA4O2s.js} +1 -1
- package/stencil/{index-2ff63899-CATMSVBc.cjs → index-2ff63899-CfxgwLD3.cjs} +1 -1
- package/stencil/{index-2ff63899-BweANwnC.js → index-2ff63899-DHON1Cgv.js} +1 -1
- package/stencil/{index-9c0f6c58-DEdG7mVW.js → index-9c0f6c58-CK57ve5P.js} +1 -1
- package/stencil/{index-9c0f6c58-Bd8abek0.cjs → index-9c0f6c58-DnbhPPTI.cjs} +1 -1
- package/stencil/{index-9c0f6c58-LdtWdXWH.js → index-9c0f6c58-P8h0R10S.js} +1 -1
- package/stencil/{player-kyc-verification-BVyIvjQs.js → player-kyc-verification-C2xE1hLK.js} +126 -96
- package/stencil/player-kyc-verification-Cb647IzH.cjs +181 -0
- package/stencil/{player-kyc-verification-DaKmgzNJ.js → player-kyc-verification-mnYQMtSn.js} +135 -105
- package/stencil/{player-step-up-auth_2-BIU9XpGU.cjs → player-step-up-auth_2-ByMODpE3.cjs} +2 -2
- package/stencil/{player-step-up-auth_2-9FyTgEar.js → player-step-up-auth_2-DmGRicLE.js} +89 -90
- package/stencil/{player-step-up-auth_2-C3w1nfzy.js → player-step-up-auth_2-mMvAr-uO.js} +88 -89
- package/stencil/{user-deposit-withdrawal-BQDWGZn0.js → user-deposit-withdrawal-Bh1irC0K.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DKD97aCr.cjs → user-deposit-withdrawal-BhrVZ5Al.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CDC3x-M9.js → user-deposit-withdrawal-D5svK_gE.js} +1 -1
- package/stencil/player-kyc-verification-Bq0WwkeW.cjs +0 -181
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
1
|
+
var h = (e, i, n) => new Promise((o, a) => {
|
|
2
2
|
var r = (c) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
d(n.next(c));
|
|
5
5
|
} catch (u) {
|
|
6
6
|
a(u);
|
|
7
7
|
}
|
|
8
8
|
}, l = (c) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
d(n.throw(c));
|
|
11
11
|
} catch (u) {
|
|
12
12
|
a(u);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, d = (c) => c.done ? o(c.value) : Promise.resolve(c.value).then(r, l);
|
|
15
|
+
d((n = n.apply(e, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as w, p as
|
|
17
|
+
import { b as w, p as C, r as S, h as t, F as y } from "./index-9c0f6c58-CK57ve5P.js";
|
|
18
18
|
import { a as x } from "./app-globals-0f993ce5-XUXOuUQl.js";
|
|
19
19
|
var b = () => {
|
|
20
|
-
const e = import.meta.url,
|
|
21
|
-
return e !== "" && (
|
|
20
|
+
const e = import.meta.url, i = {};
|
|
21
|
+
return e !== "" && (i.resourcesUrl = new URL(".", e).href), C(i);
|
|
22
22
|
};
|
|
23
|
-
b().then((e) =>
|
|
24
|
-
return yield x(), w([["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],
|
|
23
|
+
b().then((e) => h(void 0, null, function* () {
|
|
24
|
+
return yield x(), w([["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], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
|
|
25
25
|
}));
|
|
26
26
|
const P = "en";
|
|
27
27
|
let p = {
|
|
@@ -39,6 +39,8 @@ let p = {
|
|
|
39
39
|
chooseDocument: "Choose Document",
|
|
40
40
|
kycTitle: "Account Verification",
|
|
41
41
|
kycDescription: "We require some documents to protect your account and to comply with legal and license requirements.",
|
|
42
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
43
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
42
44
|
download: "Download",
|
|
43
45
|
Age: "Age",
|
|
44
46
|
Aml: "AML",
|
|
@@ -103,6 +105,8 @@ let p = {
|
|
|
103
105
|
chooseDocument: "Choose Document",
|
|
104
106
|
kycTitle: "Account-Verifizierung",
|
|
105
107
|
kycDescription: "Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",
|
|
108
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
109
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
106
110
|
download: "Download",
|
|
107
111
|
Age: "Age",
|
|
108
112
|
Aml: "AML",
|
|
@@ -167,6 +171,8 @@ let p = {
|
|
|
167
171
|
chooseDocument: "Choose Document",
|
|
168
172
|
kycTitle: "Verificarea contului",
|
|
169
173
|
kycDescription: "Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",
|
|
174
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
175
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
170
176
|
download: "Download",
|
|
171
177
|
Age: "Age",
|
|
172
178
|
Aml: "AML",
|
|
@@ -231,6 +237,8 @@ let p = {
|
|
|
231
237
|
chooseDocument: "Choose Document",
|
|
232
238
|
kycTitle: "Vérification de compte",
|
|
233
239
|
kycDescription: "Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",
|
|
240
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
241
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
234
242
|
download: "Download",
|
|
235
243
|
Age: "Age",
|
|
236
244
|
Aml: "AML",
|
|
@@ -295,6 +303,8 @@ let p = {
|
|
|
295
303
|
chooseDocument: "Choose Document",
|
|
296
304
|
kycTitle: "التحقق من الحساب",
|
|
297
305
|
kycDescription: "نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",
|
|
306
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
307
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
298
308
|
download: "Download",
|
|
299
309
|
Age: "Age",
|
|
300
310
|
Aml: "AML",
|
|
@@ -359,6 +369,8 @@ let p = {
|
|
|
359
369
|
chooseDocument: "Odaberite Dokument",
|
|
360
370
|
kycTitle: "Verifikacija računa",
|
|
361
371
|
kycDescription: "Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",
|
|
372
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
373
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
362
374
|
download: "Preuzmi",
|
|
363
375
|
Age: "Dob",
|
|
364
376
|
Aml: "AML",
|
|
@@ -485,6 +497,8 @@ let p = {
|
|
|
485
497
|
chooseDocument: "Escolher documento",
|
|
486
498
|
kycTitle: "Verificação de Conta",
|
|
487
499
|
kycDescription: "Solicitamos alguns documentos para proteger sua conta e cumprir requisitos legais e de licença.",
|
|
500
|
+
kycVerifiedDescription: "Boas notícias! A sua conta foi verificada. Está tudo pronto, entre e divirta-se com os jogos. Obrigado por jogar connosco!",
|
|
501
|
+
kycFailedDescription: "Precisamos de imagens mais nítidas para verificar a sua conta. Por favor, envie fotos com melhor qualidade para concluir esta etapa — isto ajuda a manter a sua conta segura. Obrigado.",
|
|
488
502
|
download: "Baixar",
|
|
489
503
|
Age: "Idade",
|
|
490
504
|
Aml: "AML",
|
|
@@ -598,63 +612,63 @@ let p = {
|
|
|
598
612
|
Voucher: "Voucher"
|
|
599
613
|
}
|
|
600
614
|
};
|
|
601
|
-
const g = (e) => new Promise((
|
|
602
|
-
fetch(e).then((
|
|
603
|
-
Object.keys(
|
|
615
|
+
const g = (e) => new Promise((i) => {
|
|
616
|
+
fetch(e).then((n) => n.json()).then((n) => {
|
|
617
|
+
Object.keys(n).forEach((o) => {
|
|
604
618
|
p[o] || (p[o] = {});
|
|
605
|
-
for (let a in
|
|
606
|
-
p[o][a] =
|
|
607
|
-
}),
|
|
619
|
+
for (let a in n[o])
|
|
620
|
+
p[o][a] = n[o][a];
|
|
621
|
+
}), i(!0);
|
|
608
622
|
});
|
|
609
|
-
}),
|
|
610
|
-
const o =
|
|
623
|
+
}), s = (e, i, n) => {
|
|
624
|
+
const o = i;
|
|
611
625
|
return p[o !== void 0 && o in p ? o : P][e];
|
|
612
626
|
}, D = (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)), f = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
613
|
-
function v(e,
|
|
627
|
+
function v(e, i) {
|
|
614
628
|
if (e) {
|
|
615
|
-
const
|
|
616
|
-
|
|
629
|
+
const n = document.createElement("style");
|
|
630
|
+
n.innerHTML = i, e.appendChild(n);
|
|
617
631
|
}
|
|
618
632
|
}
|
|
619
|
-
function
|
|
620
|
-
if (!e || !
|
|
633
|
+
function k(e, i) {
|
|
634
|
+
if (!e || !i)
|
|
621
635
|
return;
|
|
622
|
-
const
|
|
623
|
-
fetch(
|
|
636
|
+
const n = new URL(i);
|
|
637
|
+
fetch(n.href).then((o) => o.text()).then((o) => {
|
|
624
638
|
const a = document.createElement("style");
|
|
625
639
|
a.innerHTML = o, e && e.appendChild(a);
|
|
626
640
|
}).catch((o) => {
|
|
627
641
|
console.error("There was an error while trying to load client styling from URL", o);
|
|
628
642
|
});
|
|
629
643
|
}
|
|
630
|
-
function O(e,
|
|
644
|
+
function O(e, i, n, o = !1) {
|
|
631
645
|
if (!window.emMessageBus)
|
|
632
646
|
return;
|
|
633
647
|
if (!("adoptedStyleSheets" in Document.prototype) || !o)
|
|
634
|
-
return
|
|
635
|
-
window[f] || (window[f] = {}),
|
|
636
|
-
const r =
|
|
637
|
-
if (window[f][
|
|
638
|
-
const
|
|
639
|
-
|
|
648
|
+
return n = I(e, i), n;
|
|
649
|
+
window[f] || (window[f] = {}), n = B(e, i);
|
|
650
|
+
const r = n.unsubscribe.bind(n), l = () => {
|
|
651
|
+
if (window[f][i]) {
|
|
652
|
+
const d = window[f][i];
|
|
653
|
+
d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[f][i];
|
|
640
654
|
}
|
|
641
655
|
r();
|
|
642
656
|
};
|
|
643
|
-
return
|
|
657
|
+
return n.unsubscribe = l, n;
|
|
644
658
|
}
|
|
645
|
-
function I(e,
|
|
646
|
-
const
|
|
647
|
-
return window.emMessageBus.subscribe(
|
|
648
|
-
e && (
|
|
659
|
+
function I(e, i) {
|
|
660
|
+
const n = document.createElement("style");
|
|
661
|
+
return window.emMessageBus.subscribe(i, (o) => {
|
|
662
|
+
e && (n.innerHTML = o, e.appendChild(n));
|
|
649
663
|
});
|
|
650
664
|
}
|
|
651
|
-
function B(e,
|
|
652
|
-
return window.emMessageBus.subscribe(
|
|
665
|
+
function B(e, i) {
|
|
666
|
+
return window.emMessageBus.subscribe(i, (n) => {
|
|
653
667
|
if (!e)
|
|
654
668
|
return;
|
|
655
669
|
const o = e.getRootNode(), a = window[f];
|
|
656
|
-
let r = a[
|
|
657
|
-
r ? a[
|
|
670
|
+
let r = a[i] && a[i].sheet;
|
|
671
|
+
r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(n), a[i] = {
|
|
658
672
|
sheet: r,
|
|
659
673
|
refCount: 1
|
|
660
674
|
});
|
|
@@ -682,7 +696,7 @@ button, select {
|
|
|
682
696
|
margin: 15px;
|
|
683
697
|
font-weight: var(--emw--font-weight-semibold, 500);
|
|
684
698
|
}
|
|
685
|
-
.player-kyc-verification-widget .widget-description {
|
|
699
|
+
.player-kyc-verification-widget .widget-description, .player-kyc-verification-widget .widget-description-verified, .player-kyc-verification-widget .widget-description-failed {
|
|
686
700
|
margin: 24px 0px;
|
|
687
701
|
}
|
|
688
702
|
.player-kyc-verification-widget .verification-types {
|
|
@@ -844,9 +858,9 @@ button, select {
|
|
|
844
858
|
}
|
|
845
859
|
}`, A = F, L = class {
|
|
846
860
|
constructor(e) {
|
|
847
|
-
|
|
861
|
+
S(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = D(this.userAgent), this.handleToggleScreen = () => {
|
|
848
862
|
this.toggleScreen(this.isMobile);
|
|
849
|
-
}, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.
|
|
863
|
+
}, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = void 0, 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.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
850
864
|
}
|
|
851
865
|
handleNewTranslations() {
|
|
852
866
|
this.isLoading = !0, g(this.translationUrl).then(() => {
|
|
@@ -854,22 +868,22 @@ button, select {
|
|
|
854
868
|
});
|
|
855
869
|
}
|
|
856
870
|
componentWillLoad() {
|
|
857
|
-
return
|
|
871
|
+
return h(this, null, function* () {
|
|
858
872
|
this.translationUrl.length > 2 && (yield g(this.translationUrl));
|
|
859
873
|
});
|
|
860
874
|
}
|
|
861
|
-
handleClientStylingChange(e,
|
|
862
|
-
e !=
|
|
875
|
+
handleClientStylingChange(e, i) {
|
|
876
|
+
e != i && v(this.stylingContainer, this.clientStyling);
|
|
863
877
|
}
|
|
864
|
-
handleClientStylingUrlChange(e,
|
|
865
|
-
e !=
|
|
878
|
+
handleClientStylingUrlChange(e, i) {
|
|
879
|
+
e != i && this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl);
|
|
866
880
|
}
|
|
867
881
|
componentDidLoad() {
|
|
868
|
-
return
|
|
869
|
-
this.stylingContainer && (window.emMessageBus != null ? O(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && v(this.stylingContainer, this.clientStyling), this.clientStylingUrl &&
|
|
882
|
+
return h(this, null, function* () {
|
|
883
|
+
this.stylingContainer && (window.emMessageBus != null ? O(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && v(this.stylingContainer, this.clientStyling), this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
870
884
|
try {
|
|
871
885
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
872
|
-
const
|
|
886
|
+
const i = {
|
|
873
887
|
method: "POST",
|
|
874
888
|
headers: {
|
|
875
889
|
"X-SessionId": this.session,
|
|
@@ -877,63 +891,68 @@ button, select {
|
|
|
877
891
|
},
|
|
878
892
|
body: JSON.stringify({})
|
|
879
893
|
};
|
|
880
|
-
fetch(e.href,
|
|
881
|
-
if (
|
|
882
|
-
return
|
|
883
|
-
throw new Error("HTTP status " +
|
|
884
|
-
}).then((
|
|
894
|
+
fetch(e.href, i).then((n) => {
|
|
895
|
+
if (n.status === 200)
|
|
896
|
+
return n.json();
|
|
897
|
+
throw new Error("HTTP status " + n.status);
|
|
898
|
+
}).then((n) => {
|
|
885
899
|
var o;
|
|
886
|
-
this.verificationType =
|
|
900
|
+
this.verificationType = n.verifications, this.hideKycDescription === "true" && ((o = this.verificationType) === null || o === void 0 ? void 0 : o.length) > 0 && (this.hasAllDocumentsUploaded = this.verificationType.every((a) => {
|
|
887
901
|
var r;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
902
|
+
if ((a == null ? void 0 : a.documents.length) !== 0)
|
|
903
|
+
return (r = a == null ? void 0 : a.documents) === null || r === void 0 ? void 0 : r.some((l) => l.status === "Uploaded");
|
|
904
|
+
}), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType));
|
|
905
|
+
}).catch((n) => {
|
|
906
|
+
console.error(n);
|
|
892
907
|
});
|
|
893
908
|
} catch (e) {
|
|
894
909
|
console.error("Error fetching verification types:", e);
|
|
895
910
|
}
|
|
896
911
|
});
|
|
897
912
|
}
|
|
913
|
+
getGeneralVerificationStatus(e) {
|
|
914
|
+
const i = e == null ? void 0 : e.map((n) => n.status.toLowerCase());
|
|
915
|
+
return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((n) => n === "verified") ? "Verified" : "Unknown";
|
|
916
|
+
}
|
|
898
917
|
disconnectedCallback() {
|
|
899
918
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
900
919
|
}
|
|
901
|
-
handleOptionChange(e,
|
|
902
|
-
const
|
|
903
|
-
this.verificationType = this.verificationType.map((o) => (o.type ===
|
|
920
|
+
handleOptionChange(e, i) {
|
|
921
|
+
const n = e.target;
|
|
922
|
+
this.verificationType = this.verificationType.map((o) => (o.type === i && (o.optionChosen = n.value), o));
|
|
904
923
|
}
|
|
905
|
-
handleDocumentsStatus(e,
|
|
924
|
+
handleDocumentsStatus(e, i, n) {
|
|
906
925
|
this.verificationType = this.verificationType.map((o) => {
|
|
907
926
|
if (o.type === e) {
|
|
908
|
-
const a = o.documents.find((r) => r.code ===
|
|
909
|
-
a && (a.statusUploaded =
|
|
927
|
+
const a = o.documents.find((r) => r.code === n);
|
|
928
|
+
a && (a.statusUploaded = i);
|
|
910
929
|
}
|
|
911
930
|
return o;
|
|
912
931
|
});
|
|
913
932
|
}
|
|
914
933
|
downloadPDF(e) {
|
|
915
|
-
const
|
|
916
|
-
|
|
934
|
+
const i = document.createElement("a");
|
|
935
|
+
i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
|
|
917
936
|
}
|
|
918
|
-
toggleVerificationType(e,
|
|
919
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
937
|
+
toggleVerificationType(e, i) {
|
|
938
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((n) => {
|
|
920
939
|
var o;
|
|
921
|
-
return
|
|
940
|
+
return n.type === e && ((o = n.flowInfo) === null || o === void 0 ? void 0 : o.type) == i && (n.expanded = !n.expanded), n;
|
|
922
941
|
});
|
|
923
942
|
}
|
|
924
943
|
toggleScreen(e) {
|
|
925
944
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
926
945
|
}
|
|
927
946
|
checkFileSize(e) {
|
|
928
|
-
let
|
|
929
|
-
return Object.keys(e).forEach((
|
|
930
|
-
|
|
931
|
-
}),
|
|
947
|
+
let i = 0;
|
|
948
|
+
return Object.keys(e).forEach((n) => {
|
|
949
|
+
i += e[n].size;
|
|
950
|
+
}), i <= this.MAX_UPLOAD_SIZE;
|
|
932
951
|
}
|
|
933
|
-
handleFileSelection(e,
|
|
952
|
+
handleFileSelection(e, i, n) {
|
|
934
953
|
if (e && e.length > 0)
|
|
935
954
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
936
|
-
console.error(
|
|
955
|
+
console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
|
|
937
956
|
else {
|
|
938
957
|
const o = {
|
|
939
958
|
method: "POST",
|
|
@@ -941,37 +960,37 @@ button, select {
|
|
|
941
960
|
"Content-Type": "application/json",
|
|
942
961
|
"X-SessionId": this.session
|
|
943
962
|
},
|
|
944
|
-
body: JSON.stringify({ DocumentCode:
|
|
963
|
+
body: JSON.stringify({ DocumentCode: i })
|
|
945
964
|
};
|
|
946
965
|
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
947
966
|
if (a.ok)
|
|
948
|
-
return this.uploadingStatus =
|
|
967
|
+
return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), a.json();
|
|
949
968
|
}).then((a) => {
|
|
950
969
|
if (a.ResponseCode == "Success") {
|
|
951
970
|
const r = new FormData();
|
|
952
|
-
r.append(
|
|
953
|
-
l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus =
|
|
971
|
+
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(n, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), console.error("File upload error:", l.status));
|
|
954
973
|
}).catch((l) => {
|
|
955
974
|
console.error("File upload error:", l);
|
|
956
975
|
});
|
|
957
976
|
} else
|
|
958
|
-
this.uploadingStatus =
|
|
977
|
+
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i);
|
|
959
978
|
}).catch((a) => {
|
|
960
979
|
console.error("File upload error:", a);
|
|
961
980
|
});
|
|
962
981
|
}
|
|
963
982
|
}
|
|
964
983
|
importScript(e) {
|
|
965
|
-
return new Promise((
|
|
984
|
+
return new Promise((i, n) => {
|
|
966
985
|
fetch(e).then((o) => o.text()).then((o) => {
|
|
967
986
|
if (new Function(o)(), this.scriptInjected)
|
|
968
|
-
|
|
987
|
+
i(!0);
|
|
969
988
|
else {
|
|
970
989
|
const r = document.createElement("script");
|
|
971
|
-
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0,
|
|
990
|
+
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
|
|
972
991
|
}
|
|
973
992
|
}).catch((o) => {
|
|
974
|
-
|
|
993
|
+
n(o);
|
|
975
994
|
});
|
|
976
995
|
});
|
|
977
996
|
}
|
|
@@ -979,35 +998,46 @@ button, select {
|
|
|
979
998
|
return !!(e && e.status === "Uploaded");
|
|
980
999
|
}
|
|
981
1000
|
getFirstRequestedDocument(e) {
|
|
982
|
-
var
|
|
1001
|
+
var i, n;
|
|
983
1002
|
let o;
|
|
984
|
-
return (
|
|
1003
|
+
return (i = e == null ? void 0 : e.documents) === null || i === void 0 || i.forEach((a) => {
|
|
985
1004
|
a.status == "Requested" && (o = o != null ? o : a.code);
|
|
986
|
-
}), o || (o = (
|
|
1005
|
+
}), o || (o = (n = e == null ? void 0 : e.documents[0]) === null || n === void 0 ? void 0 : n.code), o;
|
|
1006
|
+
}
|
|
1007
|
+
renderDescription(e) {
|
|
1008
|
+
const i = this.hideKycDescription === "true" && this.hasAllDocumentsUploaded;
|
|
1009
|
+
switch (e) {
|
|
1010
|
+
case "Verified":
|
|
1011
|
+
return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
|
|
1012
|
+
case "Failed":
|
|
1013
|
+
return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
|
|
1014
|
+
default:
|
|
1015
|
+
return i ? null : t("div", { class: "widget-description" }, s("kycDescription", this.language));
|
|
1016
|
+
}
|
|
987
1017
|
}
|
|
988
1018
|
renderVerificationTypeBox(e) {
|
|
989
1019
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
990
|
-
let
|
|
1020
|
+
let i = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || i, r = e.status, l = e.documents, d = e.flowInfo;
|
|
991
1021
|
const c = r === "Verified", u = r === "Failed" || r === "Expired";
|
|
992
|
-
return c && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null :
|
|
993
|
-
var
|
|
994
|
-
return this.toggleVerificationType(e.type, (
|
|
995
|
-
} },
|
|
1022
|
+
return c && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : t("div", { class: `verification-box ${n ? "expanded" : ""} ${u ? "failed" : ""} ${c ? "success" : ""}` }, t("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
|
|
1023
|
+
var m;
|
|
1024
|
+
return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
|
|
1025
|
+
} }, t("div", { class: "box-icon" }, c ? 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" }))) : u ? 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(o, 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: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, r, l, d, c, u) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
|
|
996
1026
|
}
|
|
997
|
-
renderDocumentsActions(e,
|
|
998
|
-
return
|
|
1027
|
+
renderDocumentsActions(e, i, n) {
|
|
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: (o) => this.handleFileSelection(o.target.files, i, n.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)));
|
|
999
1029
|
}
|
|
1000
|
-
renderExpandedContent(e,
|
|
1030
|
+
renderExpandedContent(e, i, n, o, a, r, l) {
|
|
1001
1031
|
if ((a == null ? void 0 : a.type) === "Widget")
|
|
1002
|
-
return
|
|
1003
|
-
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" &&
|
|
1004
|
-
const
|
|
1005
|
-
return
|
|
1032
|
+
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" && n !== "Verified") {
|
|
1034
|
+
const d = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
1035
|
+
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 *" }));
|
|
1006
1036
|
} else
|
|
1007
|
-
return
|
|
1037
|
+
return t("div", { class: "box box-content" }, t(y, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : l ? t("div", { class: "verification-status" }, n === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : o.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, o.map((d) => t("option", { selected: d.code == i, value: d.code }, s(d.type, this.language)))), this.renderDocumentsActions(o.find((d) => d.code === i), i, e)) : null));
|
|
1008
1038
|
}
|
|
1009
1039
|
render() {
|
|
1010
|
-
return this.isLoading ?
|
|
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(y, 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)))));
|
|
1011
1041
|
}
|
|
1012
1042
|
static get watchers() {
|
|
1013
1043
|
return {
|