@everymatrix/player-account-controller 1.94.69 → 1.94.71
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-CuzKwvFJ.cjs → GeneralLogout-BrPdifNC.cjs} +1 -1
- package/components/{GeneralLogout-B2LQ4Hfb.js → GeneralLogout-DwAhSRyE.js} +1 -1
- package/components/{GeneralLogout-DaiU3fG5.js → GeneralLogout-r12S10Va.js} +1 -1
- package/components/{PlayerAccountBettingHistory-lLzHfIfl.js → PlayerAccountBettingHistory-B7pqLVJm.js} +1 -1
- package/components/{PlayerAccountBettingHistory-Cm0ZlJcY.js → PlayerAccountBettingHistory-BFHDOqba.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BtoldzIv.cjs → PlayerAccountBettingHistory-D-IotBOm.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C7xc8qNj.cjs → PlayerAccountBiometrics-BPL0KXJr.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DlGbAwlQ.js → PlayerAccountBiometrics-BPoq-quy.js} +2 -2
- package/components/{PlayerAccountBiometrics-CnikUSqZ.js → PlayerAccountBiometrics-DR7jsWOa.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-C1PP8Duu.js → PlayerAccountBiometricsAction-BdKRr84M.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-r0JwY-G9.cjs → PlayerAccountBiometricsAction-CZYCA7S-.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BZTIN3QL.js → PlayerAccountBiometricsAction-JEYPsrsV.js} +1 -1
- package/components/{PlayerAccountClosure-BTsdlA07.js → PlayerAccountClosure-BLRafiyx.js} +1 -1
- package/components/{PlayerAccountClosure-CwGKqmJe.js → PlayerAccountClosure-CkQksgNh.js} +1 -1
- package/components/{PlayerAccountClosure-LLEG0PhB.cjs → PlayerAccountClosure-ene8aHaP.cjs} +1 -1
- package/components/{PlayerAccountController-BMlv05_U.js → PlayerAccountController-CeMlhnJZ.js} +23 -23
- package/components/{PlayerAccountController-Bi-cHp3V.cjs → PlayerAccountController-DTKEX-nJ.cjs} +2 -2
- package/components/{PlayerAccountController-BBjbclbX.js → PlayerAccountController-xYrp9rxa.js} +23 -23
- package/components/{PlayerAccountGamingLimits-BmCS1nru.cjs → PlayerAccountGamingLimits-AIa-9g69.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-nJrGaAk2.js → PlayerAccountGamingLimits-DkLhAtF4.js} +2 -2
- package/components/{PlayerAccountGamingLimits-mTkzjZrW.js → PlayerAccountGamingLimits-Dnkjclf8.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-WEmVcCKs.cjs → PlayerAccountGamingLimitsConfirmationModal-Cz7sMFok.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DrG3TjZK.js → PlayerAccountGamingLimitsConfirmationModal-DwLzNivK.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-3-jg9eIr.js → PlayerAccountGamingLimitsConfirmationModal-UbOvc1oV.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DAJf36Dx.cjs → PlayerAccountGamingLimitsGroupEdit-BQJapdjB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-3uxPrPph.js → PlayerAccountGamingLimitsGroupEdit-BhtxHYuw.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cy5fGusx.js → PlayerAccountGamingLimitsGroupEdit-DlbscoKg.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-DQQJsAHI.js → PlayerAccountGamingLimitsHistory2-Bwr6O1y3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BfNCe0lZ.cjs → PlayerAccountGamingLimitsHistory2-DXFJGxpQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Byd_8ju6.js → PlayerAccountGamingLimitsHistory2-Dsm1aEzM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-L9CkeheR.cjs → PlayerAccountGamingLimitsInfoCard-CLL3siOv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-SuDELy32.js → PlayerAccountGamingLimitsInfoCard-D5dDYX4X.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-N4BK07jJ.js → PlayerAccountGamingLimitsInfoCard-DrRZNEKQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BCbvyFYS.cjs → PlayerAccountGamingLimitsPage2Gm16-BaBOp1Eq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CLESKOCP.js → PlayerAccountGamingLimitsPage2Gm16-Bom2Uj7f.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B2znKC4Y.js → PlayerAccountGamingLimitsPage2Gm16-CvxRB0B3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DwyRlKNc.cjs → PlayerAccountGamingLimitsPopup-DXWTRWmy.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1ity9PR8.js → PlayerAccountGamingLimitsPopup-DbOjKXnO.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BVR6SZIQ.js → PlayerAccountGamingLimitsPopup-ni_3BYDY.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-By-ZZBJR.js → PlayerAccountGamingLimitsWrapper2-CMvh8Luw.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BTdztDOj.js → PlayerAccountGamingLimitsWrapper2-DQcBg1xw.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-C1D-0mtD.cjs → PlayerAccountGamingLimitsWrapper2-DyW9mxnk.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BrBIofj3.cjs → PlayerAccountGeneralConfirmationModal-BkZrFgvE.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CXWVpFbO.js → PlayerAccountGeneralConfirmationModal-CVJjfDhf.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DMv3WchZ.js → PlayerAccountGeneralConfirmationModal-YQdTV8LJ.js} +1 -1
- package/components/{PlayerAccountMenu-Bund2qTZ.js → PlayerAccountMenu-CgvSkyDi.js} +2 -2
- package/components/{PlayerAccountMenu-Dr980Gf7.js → PlayerAccountMenu-DHVikm_a.js} +2 -2
- package/components/{PlayerAccountMenu-CpvFDfQN.cjs → PlayerAccountMenu-DfChHnjH.cjs} +1 -1
- package/components/{PlayerAccountModal-DCAcKbX3.cjs → PlayerAccountModal-BKed2SEi.cjs} +1 -1
- package/components/{PlayerAccountModal-BrzeC-ZT.js → PlayerAccountModal-DqqXyYeo.js} +1 -1
- package/components/{PlayerAccountModal-CSJE7H1I.js → PlayerAccountModal-I1uSIiOc.js} +1 -1
- package/components/{PlayerAccountNotifications-KZVlISqB.js → PlayerAccountNotifications-BPOmR1zK.js} +1 -1
- package/components/{PlayerAccountNotifications-BM3Sopz0.js → PlayerAccountNotifications-DFXaZtuH.js} +1 -1
- package/components/{PlayerAccountNotifications-BQr71gpu.cjs → PlayerAccountNotifications-JOi0MHL4.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-Cv6zZXS9.js → PlayerAccountProductRestriction-BBSc1kmU.js} +3 -3
- package/components/{PlayerAccountProductRestriction-9rdtKgm8.js → PlayerAccountProductRestriction-CHv-VaSP.js} +3 -3
- package/components/{PlayerAccountProductRestriction-X1hP43BS.cjs → PlayerAccountProductRestriction-qjH3oD84.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-ctE5YOxG.js → PlayerAccountReviewFrequency-BlQejItw.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-BCSuEoXK.cjs → PlayerAccountReviewFrequency-DgXa7k0B.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DbAWAe1N.js → PlayerAccountReviewFrequency-tv-20Pew.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-pkbB8cIv.cjs → PlayerAccountSelfExclusion-DDmBMrCd.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-KVJQikVB.js → PlayerAccountSelfExclusion-Do-LiW8V.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-Dk1PUmr5.js → PlayerAccountSelfExclusion-Dyzqj5BU.js} +2 -2
- package/components/{PlayerAccountTimeout-DLLsPWhV.js → PlayerAccountTimeout-Bxv3DaNe.js} +3 -3
- package/components/{PlayerAccountTimeout-BG9wwzhb.js → PlayerAccountTimeout-CP_UwmGp.js} +3 -3
- package/components/{PlayerAccountTimeout-rRTNDqat.cjs → PlayerAccountTimeout-RXjt3Xdx.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-BP5oHzua.js → PlayerAccountTransactionsHistory-Bk2sSuMW.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CbiMtuTS.js → PlayerAccountTransactionsHistory-Cwip_Lsn.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-D2VnfyS_.cjs → PlayerAccountTransactionsHistory-CxYMDVgv.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DWswlcut.js → PlayerActiveBonuses-Jcm2uqDq.js} +2 -2
- package/components/{PlayerActiveBonuses-BS7CYPeH.js → PlayerActiveBonuses-Or_8qfnb.js} +2 -2
- package/components/{PlayerActiveBonuses-waaMdjHw.cjs → PlayerActiveBonuses-vLI106qZ.cjs} +1 -1
- package/components/{PlayerBonusCard-DampKe8r.js → PlayerBonusCard-BfV1XriA.js} +2 -2
- package/components/{PlayerBonusCard-GRsNOWqi.cjs → PlayerBonusCard-C5e3JIKj.cjs} +1 -1
- package/components/{PlayerBonusCard-S5nX_NwG.js → PlayerBonusCard-D2WotppC.js} +2 -2
- package/components/{PlayerBonusHistory-DI1-ctFC.cjs → PlayerBonusHistory-BJVJITDT.cjs} +1 -1
- package/components/{PlayerBonusHistory-Ds1fXPxa.js → PlayerBonusHistory-BMdiA91U.js} +2 -2
- package/components/{PlayerBonusHistory-seg4Ujzi.js → PlayerBonusHistory-Gbq4UnDA.js} +2 -2
- package/components/{PlayerChangePassword-DtgtXUK4.cjs → PlayerChangePassword-0GlRmIkK.cjs} +1 -1
- package/components/{PlayerChangePassword-HjiT-oS2.js → PlayerChangePassword-BJZQlQqq.js} +1 -1
- package/components/{PlayerChangePassword-5t6NenTC.js → PlayerChangePassword-DXTBnhVK.js} +1 -1
- package/components/{PlayerDeposit-XoI5XEGq.js → PlayerDeposit-C9PGMdek.js} +1 -1
- package/components/{PlayerDeposit-Dd_2_gwb.cjs → PlayerDeposit-CXD_l20A.cjs} +1 -1
- package/components/{PlayerDeposit-BzJsRQiX.js → PlayerDeposit-ZTkQMNw2.js} +1 -1
- package/components/{PlayerGamingHistory-DX0xSUXv.js → PlayerGamingHistory-CCPHXkNI.js} +3 -3
- package/components/{PlayerGamingHistory-7u0jcoef.cjs → PlayerGamingHistory-C_j7MJwK.cjs} +1 -1
- package/components/{PlayerGamingHistory-DNXSCm6L.js → PlayerGamingHistory-DXzjtfwr.js} +3 -3
- package/components/{PlayerPendingWithdrawals-Da1n9BUM.js → PlayerPendingWithdrawals-BZNPWlLJ.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CvMgcBPa.js → PlayerPendingWithdrawals-C07Zp-Hv.js} +1 -1
- package/components/{PlayerPendingWithdrawals-UUxEx7eq.cjs → PlayerPendingWithdrawals-DT7bbvCj.cjs} +1 -1
- package/components/{PlayerProfileInfo-C-cbxsNY.js → PlayerProfileInfo-CvTlRfbv.js} +3 -3
- package/components/{PlayerProfileInfo-Bg0sMRmm.js → PlayerProfileInfo-ekG43oWp.js} +3 -3
- package/components/{PlayerProfileInfo-B9HFIbTq.cjs → PlayerProfileInfo-mBEIxCff.cjs} +1 -1
- package/components/{PlayerRealityCheck-CWVOz333.js → PlayerRealityCheck-C-h7GhZ1.js} +1 -1
- package/components/{PlayerRealityCheck-CPGDoVDu.cjs → PlayerRealityCheck-C_1c4POY.cjs} +1 -1
- package/components/{PlayerRealityCheck-D0BGbr7Z.js → PlayerRealityCheck-MUS9F6kY.js} +1 -1
- package/components/{PlayerTransactionHistory-C_qrQTPT.js → PlayerTransactionHistory-Ca34wlxP.js} +1 -1
- package/components/{PlayerTransactionHistory-DJfu31eD.cjs → PlayerTransactionHistory-CjMj-Ben.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Cj61dc3a.js → PlayerTransactionHistory-DN4i7ctL.js} +1 -1
- package/components/{PlayerWithdrawal-BXWFwLR7.js → PlayerWithdrawal-Buw2V_XY.js} +1 -1
- package/components/{PlayerWithdrawal-ClcML60q.cjs → PlayerWithdrawal-DodwOB5W.cjs} +1 -1
- package/components/{PlayerWithdrawal-CZb_bd0U.js → PlayerWithdrawal-_1rOE-Ki.js} +1 -1
- package/components/{QrSessionGenerator-bw0u5rco.js → QrSessionGenerator-B5hdP1NJ.js} +1 -1
- package/components/{QrSessionGenerator-DOgc9PXS.js → QrSessionGenerator-BJAJO54i.js} +1 -1
- package/components/{QrSessionGenerator-Bndzcquz.cjs → QrSessionGenerator-DzRcf7ec.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-2ff63899-B-5wP_ty.js → index-2ff63899-B-SHyDkB.js} +1 -1
- package/stencil/{index-2ff63899-BJlQJb9E.js → index-2ff63899-C4RDeFFL.js} +1 -1
- package/stencil/{index-2ff63899-C0l4gDXZ.cjs → index-2ff63899-qt1Vej8s.cjs} +1 -1
- package/stencil/{player-step-up-auth_2-CsB4lmme.cjs → player-step-up-auth_2--4edZ0-c.cjs} +5 -5
- package/stencil/{player-step-up-auth_2-DxwSUcsv.js → player-step-up-auth_2-C8kJebfy.js} +398 -268
- package/stencil/{player-step-up-auth_2-BdRKjI7I.js → player-step-up-auth_2-CulwZtfL.js} +375 -245
- package/stencil/user-deposit-withdrawal-Bm0x63hh.cjs +1 -0
- package/stencil/user-deposit-withdrawal-Cghsr4yK.js +25 -0
- package/stencil/user-deposit-withdrawal-DDn49nS7.js +7 -0
- package/stencil/user-deposit-withdrawal-BkZJMGHu.js +0 -7
- package/stencil/user-deposit-withdrawal-CGXnPp7g.js +0 -25
- package/stencil/user-deposit-withdrawal-DsnFb28y.cjs +0 -1
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
var we = (e, t,
|
|
2
|
-
var
|
|
1
|
+
var we = (e, t, i) => new Promise((n, h) => {
|
|
2
|
+
var b = (E) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
P(i.next(E));
|
|
5
5
|
} catch (L) {
|
|
6
6
|
h(L);
|
|
7
7
|
}
|
|
8
|
-
}, U = (
|
|
8
|
+
}, U = (E) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
P(i.throw(E));
|
|
11
11
|
} catch (L) {
|
|
12
12
|
h(L);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, P = (E) => E.done ? n(E.value) : Promise.resolve(E.value).then(b, U);
|
|
15
|
+
P((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as Ke, h as p, F as We, g as ot, H as st } from "./index-2ff63899-
|
|
18
|
-
const
|
|
17
|
+
import { r as Ke, h as p, F as We, g as ot, H as st } from "./index-2ff63899-C4RDeFFL.js";
|
|
18
|
+
const xe = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
19
19
|
function Ue(e, t) {
|
|
20
20
|
if (e) {
|
|
21
|
-
const
|
|
22
|
-
|
|
21
|
+
const i = document.createElement("style");
|
|
22
|
+
i.innerHTML = t, e.appendChild(i);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
function He(e, t) {
|
|
26
26
|
if (!e || !t)
|
|
27
27
|
return;
|
|
28
|
-
const
|
|
29
|
-
fetch(
|
|
28
|
+
const i = new URL(t);
|
|
29
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
30
30
|
const h = document.createElement("style");
|
|
31
31
|
h.innerHTML = n, e && e.appendChild(h);
|
|
32
32
|
}).catch((n) => {
|
|
33
33
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
function Ze(e, t,
|
|
36
|
+
function Ze(e, t, i, n = !1) {
|
|
37
37
|
if (!window.emMessageBus)
|
|
38
38
|
return;
|
|
39
39
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
40
|
-
return
|
|
41
|
-
window[
|
|
42
|
-
const
|
|
43
|
-
if (window[
|
|
44
|
-
const
|
|
45
|
-
|
|
40
|
+
return i = dt(e, t), i;
|
|
41
|
+
window[xe] || (window[xe] = {}), i = lt(e, t);
|
|
42
|
+
const b = i.unsubscribe.bind(i), U = () => {
|
|
43
|
+
if (window[xe][t]) {
|
|
44
|
+
const P = window[xe][t];
|
|
45
|
+
P.refCount > 1 ? P.refCount = P.refCount - 1 : delete window[xe][t];
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
b();
|
|
48
48
|
};
|
|
49
|
-
return
|
|
49
|
+
return i.unsubscribe = U, i;
|
|
50
50
|
}
|
|
51
51
|
function dt(e, t) {
|
|
52
|
-
const
|
|
52
|
+
const i = document.createElement("style");
|
|
53
53
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
54
|
-
e && (
|
|
54
|
+
e && (i.innerHTML = n, e.appendChild(i));
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function lt(e, t) {
|
|
58
|
-
return window.emMessageBus.subscribe(t, (
|
|
58
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
59
59
|
if (!e)
|
|
60
60
|
return;
|
|
61
|
-
const n = e.getRootNode(), h = window[
|
|
62
|
-
let
|
|
63
|
-
|
|
64
|
-
sheet:
|
|
61
|
+
const n = e.getRootNode(), h = window[xe];
|
|
62
|
+
let b = h[t] && h[t].sheet;
|
|
63
|
+
b ? h[t].refCount = h[t].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), h[t] = {
|
|
64
|
+
sheet: b,
|
|
65
65
|
refCount: 1
|
|
66
66
|
});
|
|
67
67
|
const U = n.adoptedStyleSheets || [];
|
|
68
|
-
U.includes(
|
|
68
|
+
U.includes(b) || (n.adoptedStyleSheets = [...U, b]);
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
const ut = "en", Qe = {
|
|
@@ -286,15 +286,15 @@ const ut = "en", Qe = {
|
|
|
286
286
|
otpVerified: "OTP verificado com sucesso!"
|
|
287
287
|
}
|
|
288
288
|
}, Ye = (e) => new Promise((t) => {
|
|
289
|
-
fetch(e).then((
|
|
290
|
-
Object.keys(
|
|
291
|
-
for (let h in
|
|
292
|
-
Qe[n][h] =
|
|
289
|
+
fetch(e).then((i) => i.json()).then((i) => {
|
|
290
|
+
Object.keys(i).forEach((n) => {
|
|
291
|
+
for (let h in i[n])
|
|
292
|
+
Qe[n][h] = i[n][h];
|
|
293
293
|
}), t(!0);
|
|
294
294
|
});
|
|
295
295
|
}), k = (e, t) => {
|
|
296
|
-
const
|
|
297
|
-
return Qe[
|
|
296
|
+
const i = t;
|
|
297
|
+
return Qe[i !== void 0 ? i : ut][e];
|
|
298
298
|
}, ct = ".OtpPopupOverlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--emw--color-overlay, rgba(0, 0, 0, 0.5));display:flex;align-items:center;justify-content:center}.OtpButton{font-family:var(--emw--button-typography);border:var(--emw--button-border, none);border-radius:var(--emw--button-border-radius, 3px);border-color:var(--emw--button-border-color);background-color:var(--emw--button-background-color, var(--emw--color-primary, #007bff));color:var(--emw--button-typography, var(--emw--color-white, #fff));padding:10px 20px;cursor:pointer;font-size:16px}.OtpButton.error{background:var(--emw--color-error, #dd3434)}.OtpPopupContent{position:relative;background:var(--emw--color-white, #fff);padding:20px;border-radius:5px;text-align:center;min-width:25%;min-height:200px;display:flex;flex-direction:column;justify-content:center;gap:20px}.OtpPopupContent .OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpPopupContent .OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px}.OtpPopupContent .OtpError h2{margin:0}.OtpPopupContent .OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpField{display:flex;justify-content:center}.OtpField input{width:24px;font-size:32px;padding:10px;text-align:center;border-radius:5px;margin:2px;border:2px solid var(--emw--otp-border-color, #55525c);font-weight:bold;outline:none;transition:all 0.1s}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{border:2px solid var(--emw--color-primary, #007bff);box-shadow:0 0 2px 2px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}.OtpSuccessOverlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(var(--emw--color-green-rgb, 255, 255, 255), 0.95);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;z-index:10}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}", ht = ct, pt = class {
|
|
299
299
|
/**
|
|
300
300
|
* Watch for changes in the translation URL and fetch new translations
|
|
@@ -368,13 +368,13 @@ const ut = "en", Qe = {
|
|
|
368
368
|
try {
|
|
369
369
|
const e = new URL(`/api/v1/mfa/challenge/${this.token}/config`, this.endpoint);
|
|
370
370
|
this.isLoading = !0;
|
|
371
|
-
const t = yield fetch(e.href),
|
|
371
|
+
const t = yield fetch(e.href), i = yield t.json();
|
|
372
372
|
if (t.ok)
|
|
373
|
-
this.config =
|
|
374
|
-
else if (
|
|
373
|
+
this.config = i, this.otp = Array(this.config.inputLength).fill(""), this.isLoading = !1, this.isValidating = !1, this.showResendOtp = !1, this.expirationTime = this.config.expirationTime, this.serverTime = this.config.serverTime, this.config.numberOfValidateAttempts !== 0 && (this.hasErrors = !0, this.errorMessage = k("invalidOtp", this.language)), this.config.numberOfValidateAttempts === this.config.maxValidationAttempts - 1 && (this.isLastWarning = !0), this.calculateTimeLeft(), this.startCountdown();
|
|
374
|
+
else if (i && i.details === "gm.twofa.token_max_attempts_exceeded")
|
|
375
375
|
this.handleCloseWidget();
|
|
376
376
|
else {
|
|
377
|
-
const n =
|
|
377
|
+
const n = i && i.message || `Failed to load config. Status: ${t.status}`;
|
|
378
378
|
throw new Error(n);
|
|
379
379
|
}
|
|
380
380
|
} catch (e) {
|
|
@@ -387,10 +387,10 @@ const ut = "en", Qe = {
|
|
|
387
387
|
* Adjusts client time based on server offset.
|
|
388
388
|
*/
|
|
389
389
|
calculateTimeLeft() {
|
|
390
|
-
const e = new Date(this.expirationTime), t = new Date(this.serverTime),
|
|
390
|
+
const e = new Date(this.expirationTime), t = new Date(this.serverTime), i = /* @__PURE__ */ new Date(), n = t.getTime() - i.getTime();
|
|
391
391
|
this.expirationTimestamp = e.getTime() - n;
|
|
392
|
-
const h = Date.now(),
|
|
393
|
-
this.timeLeft =
|
|
392
|
+
const h = Date.now(), b = Math.max(0, Math.floor((this.expirationTimestamp - h) / 1e3));
|
|
393
|
+
this.timeLeft = b;
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
396
|
* Starts a 1-second interval countdown for OTP expiration.
|
|
@@ -409,8 +409,8 @@ const ut = "en", Qe = {
|
|
|
409
409
|
* @returns A formatted string representing minutes and seconds.
|
|
410
410
|
*/
|
|
411
411
|
formatTime(e) {
|
|
412
|
-
const t = Math.floor(e / 60),
|
|
413
|
-
return `${t.toString().padStart(2, "0")}:${
|
|
412
|
+
const t = Math.floor(e / 60), i = e % 60;
|
|
413
|
+
return `${t.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* Sets a reference to the OTP inputs.
|
|
@@ -428,8 +428,8 @@ const ut = "en", Qe = {
|
|
|
428
428
|
* @param value - The inputted value.
|
|
429
429
|
*/
|
|
430
430
|
updateOtpState(e, t) {
|
|
431
|
-
const
|
|
432
|
-
|
|
431
|
+
const i = [...this.otp];
|
|
432
|
+
i[e] = t.toUpperCase(), this.otp = i;
|
|
433
433
|
}
|
|
434
434
|
/**
|
|
435
435
|
* Handles pasting an OTP directly into the input fields.
|
|
@@ -438,10 +438,10 @@ const ut = "en", Qe = {
|
|
|
438
438
|
* @param e - The clipboard event containing pasted data.
|
|
439
439
|
*/
|
|
440
440
|
handleOnPasteOtp(e) {
|
|
441
|
-
var t,
|
|
441
|
+
var t, i, n;
|
|
442
442
|
e.preventDefault();
|
|
443
|
-
const
|
|
444
|
-
this.otp = [...
|
|
443
|
+
const b = (((i = (t = e.clipboardData) === null || t === void 0 ? void 0 : t.getData("text")) === null || i === void 0 ? void 0 : i.trim()) || "").slice(0, this.config.inputLength).split("");
|
|
444
|
+
this.otp = [...b, ...Array(this.config.inputLength - b.length).fill("")], (n = this.otpInputs[b.length]) === null || n === void 0 || n.focus(), b.length === this.config.inputLength && this.submitOtp();
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
447
|
* Handles OTP input changes.
|
|
@@ -451,13 +451,13 @@ const ut = "en", Qe = {
|
|
|
451
451
|
* @param index - The index of the input field being updated.
|
|
452
452
|
*/
|
|
453
453
|
handleOtpInput(e, t) {
|
|
454
|
-
const
|
|
454
|
+
const i = e.target, n = i.value;
|
|
455
455
|
if (/^[a-z0-9]$/i.test(n)) {
|
|
456
456
|
this.updateOtpState(t, n);
|
|
457
457
|
const h = this.otpInputs[t + 1];
|
|
458
458
|
h == null || h.focus();
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
i.value = "";
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* Handles key press events for OTP inputs.
|
|
@@ -467,14 +467,14 @@ const ut = "en", Qe = {
|
|
|
467
467
|
* @param index - The index of the input field.
|
|
468
468
|
*/
|
|
469
469
|
handleKeyDown(e, t) {
|
|
470
|
-
const
|
|
471
|
-
if (/^[a-z0-9]$/i.test(
|
|
472
|
-
if (n &&
|
|
470
|
+
const i = e.key, n = e.ctrlKey || e.metaKey;
|
|
471
|
+
if (/^[a-z0-9]$/i.test(i)) {
|
|
472
|
+
if (n && i.toLowerCase() === "v")
|
|
473
473
|
return;
|
|
474
|
-
e.preventDefault(), this.updateOtpState(t,
|
|
474
|
+
e.preventDefault(), this.updateOtpState(t, i);
|
|
475
475
|
const h = this.otpInputs[t + 1];
|
|
476
476
|
h == null || h.focus();
|
|
477
|
-
} else if (
|
|
477
|
+
} else if (i === "Backspace") {
|
|
478
478
|
e.preventDefault(), this.otp[t] !== "" && this.updateOtpState(t, "");
|
|
479
479
|
const h = this.otpInputs[t - 1];
|
|
480
480
|
h == null || h.focus();
|
|
@@ -531,19 +531,19 @@ const ut = "en", Qe = {
|
|
|
531
531
|
const t = new URL(`/api/v1/mfa/challenge/${this.token}/validate`, this.endpoint);
|
|
532
532
|
t.searchParams.append("input", e);
|
|
533
533
|
try {
|
|
534
|
-
const
|
|
535
|
-
if (
|
|
534
|
+
const i = yield fetch(t.href, { method: "POST" });
|
|
535
|
+
if (i.status === 200) {
|
|
536
536
|
this.handleSuccess();
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
539
|
-
const h = (yield
|
|
539
|
+
const h = (yield i.json()).message || "";
|
|
540
540
|
if (h.toLowerCase().includes("expired")) {
|
|
541
541
|
this.hasErrors = !0, this.errorMessage = k("otpExpiredMessage", this.language), this.triggerShakeAnimation(), yield this.getConfig();
|
|
542
542
|
return;
|
|
543
543
|
}
|
|
544
544
|
throw new Error(h);
|
|
545
|
-
} catch (
|
|
546
|
-
if (
|
|
545
|
+
} catch (i) {
|
|
546
|
+
if (i.message === "gm.multifactorauthentication.challenge_internal_server_error" || i.message === "gm.multifactorauthentication.internal_server_error") {
|
|
547
547
|
if (this.config.numberOfValidateAttempts === this.config.maxValidationAttempts - 1) {
|
|
548
548
|
window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage({
|
|
549
549
|
type: "WidgetNotification",
|
|
@@ -557,7 +557,7 @@ const ut = "en", Qe = {
|
|
|
557
557
|
this.hasErrors = !0, this.errorMessage = k("invalidOtp", this.language), this.triggerShakeAnimation(), this.getConfig();
|
|
558
558
|
return;
|
|
559
559
|
}
|
|
560
|
-
console.error("OTP submission failed:",
|
|
560
|
+
console.error("OTP submission failed:", i), this.hasErrors = !0, this.errorMessage = k("submissionError", this.language), this.triggerShakeAnimation();
|
|
561
561
|
} finally {
|
|
562
562
|
this.isLoading = !1, this.isValidating = !1;
|
|
563
563
|
}
|
|
@@ -615,8 +615,8 @@ const ut = "en", Qe = {
|
|
|
615
615
|
*/
|
|
616
616
|
render() {
|
|
617
617
|
return p("div", { key: "fda28b7364d091f4a13bfea34e5687756cb00b39", ref: (e) => this.stylingContainer = e }, this.showPopup && p("div", { key: "0166357e829d1f6bc35b88ce1605ca72a691f447", class: "OtpPopupOverlay" }, p("div", { key: "4c616fdeb7d5624a972865e93b0e84778e668995", class: `OtpPopupContent ${this.shakeError ? "shake" : ""}` }, this.isLoading ? p("div", { class: "OtpLoaderContainer" }, p("span", { class: "OtpLoader" })) : this.hasConfigErrors ? p("div", { class: "OtpError" }, p("div", { class: "OtpErrorHeader" }, p("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z" })), p("h2", null, k("errorHeader", this.language))), p("p", null, this.errorMessage), p("button", { class: "OtpButton error", onClick: this.manualClosePopup, "aria-label": k("close", this.language) }, k("close", this.language))) : p(We, null, p("div", { class: "otp-description" }, this.showResendOtp ? p("p", { class: "OtpNoticeMessage", role: "alert" }, k("otpExpiredMessage", this.language)) : p(We, null, p("p", { class: this.isLastWarning ? "LastWarningMessage" : "" }, k(this.isLastWarning ? "popupMessageLastWarning" : "popupMessage", this.language)), this.hasErrors && p("p", { class: "OtpErrorMessage", role: "alert" }, this.errorMessage))), p("div", { class: "OtpFieldWrapper" }, p("h2", null, k("otpHeading", this.language)), p("div", { class: "OtpField" }, this.otp.map((e, t) => {
|
|
618
|
-
const
|
|
619
|
-
return p("input", { key: t, ref: (n) => this.setOtpInputRef(n, t), id: `otp-input-${t}`, type: "text", inputmode: this.mode, pattern: this.mode === "numeric" ? "[0-9]" : void 0, class: `otp-box ${
|
|
618
|
+
const i = this.config.inputLength % 2 === 0 && t === this.config.inputLength / 2 - 1;
|
|
619
|
+
return p("input", { key: t, ref: (n) => this.setOtpInputRef(n, t), id: `otp-input-${t}`, type: "text", inputmode: this.mode, pattern: this.mode === "numeric" ? "[0-9]" : void 0, class: `otp-box ${i ? "space" : ""} ${e ? "filled" : ""} ${this.hasErrors ? "error" : ""}`, maxLength: 1, value: e, onInput: (n) => this.handleOtpInput(n, t), onKeyDown: (n) => this.handleKeyDown(n, t), onPaste: (n) => this.handleOnPasteOtp(n), disabled: this.inputDisabled, autoComplete: "off", "aria-label": `${k("otpDigit", this.language)} ${t + 1}`, "aria-invalid": this.hasErrors });
|
|
620
620
|
})), p("div", { class: "OtpTimerContainer" }, p("div", { class: `OtpTimer ${this.isLastWarning ? "warning" : ""} ${this.timeLeft < 60 ? "critical" : ""}`, role: "timer", "aria-live": "polite" }, p("svg", { class: "timer-icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" })), p("span", { class: "timer-text" }, this.formatTime(this.timeLeft), " ", k("minutes", this.language))))), this.isSuccess && p("div", { class: "OtpSuccessOverlay" }, p("svg", { class: "success-icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" })), p("span", null, k("otpVerified", this.language))), p("div", { class: "OtpActionButtons" }, this.showResendOtp ? p("button", { class: "OtpButton primary", onClick: this.handleResendOtp, disabled: this.isLoading, "aria-label": k("resendOtp", this.language) }, k("resendOtp", this.language)) : p("button", { class: `OtpButton primary ${this.isValidating ? "loading" : ""}`, onClick: this.submitOtp, disabled: this.otp.join("").length !== this.config.inputLength || this.isValidating || this.isLoading, "aria-label": k("submit", this.language), "aria-busy": this.isValidating }, this.isValidating ? p(We, null, p("span", { class: "button-spinner" }), p("span", { class: "button-text" }, k("verifying", this.language))) : p("span", { class: "button-text" }, k("submit", this.language))), p("button", { class: "OtpButton secondary", onClick: this.manualClosePopup, disabled: this.isValidating, "aria-label": k("close", this.language) }, k("close", this.language)))))));
|
|
621
621
|
}
|
|
622
622
|
get el() {
|
|
@@ -734,15 +734,15 @@ const ft = "en", gt = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
734
734
|
errorCode21123: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"
|
|
735
735
|
}
|
|
736
736
|
}, mt = (e) => new Promise((t) => {
|
|
737
|
-
fetch(e).then((
|
|
738
|
-
Object.keys(
|
|
739
|
-
for (let h in
|
|
740
|
-
Je[n][h] =
|
|
737
|
+
fetch(e).then((i) => i.json()).then((i) => {
|
|
738
|
+
Object.keys(i).forEach((n) => {
|
|
739
|
+
for (let h in i[n])
|
|
740
|
+
Je[n][h] = i[n][h];
|
|
741
741
|
}), t(!0);
|
|
742
742
|
});
|
|
743
743
|
}), Ce = (e, t) => {
|
|
744
|
-
const
|
|
745
|
-
return Je[
|
|
744
|
+
const i = t;
|
|
745
|
+
return Je[i !== void 0 && gt.includes(i) ? i : ft][e];
|
|
746
746
|
}, vt = (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)), yt = (e) => {
|
|
747
747
|
if (!e || typeof e != "string")
|
|
748
748
|
return !1;
|
|
@@ -751,18 +751,18 @@ const ft = "en", gt = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
751
751
|
};
|
|
752
752
|
var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, et = { exports: {} };
|
|
753
753
|
(function(e, t) {
|
|
754
|
-
(function(
|
|
754
|
+
(function(i, n) {
|
|
755
755
|
e.exports = n();
|
|
756
756
|
})(Ve, function() {
|
|
757
|
-
var
|
|
757
|
+
var i = 1e3, n = 6e4, h = 36e5, b = "millisecond", U = "second", P = "minute", E = "hour", L = "day", Se = "week", W = "month", Te = "quarter", q = "year", re = "date", v = "Invalid Date", Y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ce = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(g) {
|
|
758
758
|
var l = ["th", "st", "nd", "rd"], a = g % 100;
|
|
759
759
|
return "[" + g + (l[(a - 20) % 10] || l[a] || l[0]) + "]";
|
|
760
|
-
} },
|
|
760
|
+
} }, x = function(g, l, a) {
|
|
761
761
|
var u = String(g);
|
|
762
762
|
return !u || u.length >= l ? g : "" + Array(l + 1 - u.length).join(a) + g;
|
|
763
|
-
}, ie = { s:
|
|
763
|
+
}, ie = { s: x, z: function(g) {
|
|
764
764
|
var l = -g.utcOffset(), a = Math.abs(l), u = Math.floor(a / 60), s = a % 60;
|
|
765
|
-
return (l <= 0 ? "+" : "-") +
|
|
765
|
+
return (l <= 0 ? "+" : "-") + x(u, 2, "0") + ":" + x(s, 2, "0");
|
|
766
766
|
}, m: function g(l, a) {
|
|
767
767
|
if (l.date() < a.date())
|
|
768
768
|
return -g(a, l);
|
|
@@ -771,7 +771,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
771
771
|
}, a: function(g) {
|
|
772
772
|
return g < 0 ? Math.ceil(g) || 0 : Math.floor(g);
|
|
773
773
|
}, p: function(g) {
|
|
774
|
-
return { M: W, y: q, w: Se, d: L, D: re, h:
|
|
774
|
+
return { M: W, y: q, w: Se, d: L, D: re, h: E, m: P, s: U, ms: b, Q: Te }[g] || String(g || "").toLowerCase().replace(/s$/, "");
|
|
775
775
|
}, u: function(g) {
|
|
776
776
|
return g === void 0;
|
|
777
777
|
} }, ne = "en", Q = {};
|
|
@@ -863,9 +863,9 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
863
863
|
case L:
|
|
864
864
|
case re:
|
|
865
865
|
return R(be + "Hours", 0);
|
|
866
|
-
case
|
|
866
|
+
case E:
|
|
867
867
|
return R(be + "Minutes", 1);
|
|
868
|
-
case
|
|
868
|
+
case P:
|
|
869
869
|
return R(be + "Seconds", 2);
|
|
870
870
|
case U:
|
|
871
871
|
return R(be + "Milliseconds", 3);
|
|
@@ -875,7 +875,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
875
875
|
}, l.endOf = function(a) {
|
|
876
876
|
return this.startOf(a, !1);
|
|
877
877
|
}, l.$set = function(a, u) {
|
|
878
|
-
var s, m = M.p(a), y = "set" + (this.$u ? "UTC" : ""), T = (s = {}, s[L] = y + "Date", s[re] = y + "Date", s[W] = y + "Month", s[q] = y + "FullYear", s[
|
|
878
|
+
var s, m = M.p(a), y = "set" + (this.$u ? "UTC" : ""), T = (s = {}, s[L] = y + "Date", s[re] = y + "Date", s[W] = y + "Month", s[q] = y + "FullYear", s[E] = y + "Hours", s[P] = y + "Minutes", s[U] = y + "Seconds", s[b] = y + "Milliseconds", s)[m], R = m === L ? this.$D + (u - this.$W) : u;
|
|
879
879
|
if (m === W || m === q) {
|
|
880
880
|
var H = this.clone().set(re, 1);
|
|
881
881
|
H.$d[T](R), H.init(), this.$d = H.set(re, Math.min(this.$D, H.daysInMonth())).$d;
|
|
@@ -901,7 +901,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
901
901
|
return T(1);
|
|
902
902
|
if (y === Se)
|
|
903
903
|
return T(7);
|
|
904
|
-
var R = (s = {}, s[
|
|
904
|
+
var R = (s = {}, s[P] = n, s[E] = h, s[U] = i, s)[y] || 1, H = this.$d.getTime() + a * R;
|
|
905
905
|
return M.w(H, this);
|
|
906
906
|
}, l.subtract = function(a, u) {
|
|
907
907
|
return this.add(-1 * a, u);
|
|
@@ -994,14 +994,14 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
994
994
|
case L:
|
|
995
995
|
m = (N - H) / 864e5;
|
|
996
996
|
break;
|
|
997
|
-
case
|
|
997
|
+
case E:
|
|
998
998
|
m = N / h;
|
|
999
999
|
break;
|
|
1000
|
-
case
|
|
1000
|
+
case P:
|
|
1001
1001
|
m = N / n;
|
|
1002
1002
|
break;
|
|
1003
1003
|
case U:
|
|
1004
|
-
m = N /
|
|
1004
|
+
m = N / i;
|
|
1005
1005
|
break;
|
|
1006
1006
|
default:
|
|
1007
1007
|
m = N;
|
|
@@ -1028,7 +1028,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1028
1028
|
return this.$d.toUTCString();
|
|
1029
1029
|
}, g;
|
|
1030
1030
|
}(), Re = oe.prototype;
|
|
1031
|
-
return _.prototype = Re, [["$ms",
|
|
1031
|
+
return _.prototype = Re, [["$ms", b], ["$s", U], ["$m", P], ["$H", E], ["$W", L], ["$M", W], ["$y", q], ["$D", re]].forEach(function(g) {
|
|
1032
1032
|
Re[g[1]] = function(l) {
|
|
1033
1033
|
return this.$g(l, g[0], g[1]);
|
|
1034
1034
|
};
|
|
@@ -1042,35 +1042,35 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1042
1042
|
const tt = et.exports;
|
|
1043
1043
|
var rt = { exports: {} };
|
|
1044
1044
|
(function(e, t) {
|
|
1045
|
-
(function(
|
|
1045
|
+
(function(i, n) {
|
|
1046
1046
|
e.exports = n();
|
|
1047
1047
|
})(Ve, function() {
|
|
1048
|
-
var
|
|
1049
|
-
return function(
|
|
1050
|
-
var
|
|
1051
|
-
|
|
1048
|
+
var i = "minute", n = /[+-]\d\d(?::?\d\d)?/g, h = /([+-]|\d\d)/g;
|
|
1049
|
+
return function(b, U, P) {
|
|
1050
|
+
var E = U.prototype;
|
|
1051
|
+
P.utc = function(v) {
|
|
1052
1052
|
var Y = { date: v, utc: !0, args: arguments };
|
|
1053
1053
|
return new U(Y);
|
|
1054
|
-
},
|
|
1055
|
-
var Y =
|
|
1056
|
-
return v ? Y.add(this.utcOffset(),
|
|
1057
|
-
},
|
|
1058
|
-
return
|
|
1054
|
+
}, E.utc = function(v) {
|
|
1055
|
+
var Y = P(this.toDate(), { locale: this.$L, utc: !0 });
|
|
1056
|
+
return v ? Y.add(this.utcOffset(), i) : Y;
|
|
1057
|
+
}, E.local = function() {
|
|
1058
|
+
return P(this.toDate(), { locale: this.$L, utc: !1 });
|
|
1059
1059
|
};
|
|
1060
|
-
var L =
|
|
1061
|
-
|
|
1060
|
+
var L = E.parse;
|
|
1061
|
+
E.parse = function(v) {
|
|
1062
1062
|
v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), L.call(this, v);
|
|
1063
1063
|
};
|
|
1064
|
-
var Se =
|
|
1065
|
-
|
|
1064
|
+
var Se = E.init;
|
|
1065
|
+
E.init = function() {
|
|
1066
1066
|
if (this.$u) {
|
|
1067
1067
|
var v = this.$d;
|
|
1068
1068
|
this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
|
|
1069
1069
|
} else
|
|
1070
1070
|
Se.call(this);
|
|
1071
1071
|
};
|
|
1072
|
-
var W =
|
|
1073
|
-
|
|
1072
|
+
var W = E.utcOffset;
|
|
1073
|
+
E.utcOffset = function(v, Y) {
|
|
1074
1074
|
var ue = this.$utils().u;
|
|
1075
1075
|
if (ue(v))
|
|
1076
1076
|
return this.$u ? 0 : ue(this.$offset) ? W.call(this) : this.$offset;
|
|
@@ -1083,40 +1083,40 @@ var rt = { exports: {} };
|
|
|
1083
1083
|
return ae === 0 ? 0 : Ee === "+" ? ae : -ae;
|
|
1084
1084
|
}(v), v === null))
|
|
1085
1085
|
return this;
|
|
1086
|
-
var ce = Math.abs(v) <= 16 ? 60 * v : v,
|
|
1086
|
+
var ce = Math.abs(v) <= 16 ? 60 * v : v, x = this;
|
|
1087
1087
|
if (Y)
|
|
1088
|
-
return
|
|
1088
|
+
return x.$offset = ce, x.$u = v === 0, x;
|
|
1089
1089
|
if (v !== 0) {
|
|
1090
1090
|
var ie = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1091
|
-
(
|
|
1091
|
+
(x = this.local().add(ce + ie, i)).$offset = ce, x.$x.$localOffset = ie;
|
|
1092
1092
|
} else
|
|
1093
|
-
|
|
1094
|
-
return
|
|
1093
|
+
x = this.utc();
|
|
1094
|
+
return x;
|
|
1095
1095
|
};
|
|
1096
|
-
var Te =
|
|
1097
|
-
|
|
1096
|
+
var Te = E.format;
|
|
1097
|
+
E.format = function(v) {
|
|
1098
1098
|
var Y = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
1099
1099
|
return Te.call(this, Y);
|
|
1100
|
-
},
|
|
1100
|
+
}, E.valueOf = function() {
|
|
1101
1101
|
var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
1102
1102
|
return this.$d.valueOf() - 6e4 * v;
|
|
1103
|
-
},
|
|
1103
|
+
}, E.isUTC = function() {
|
|
1104
1104
|
return !!this.$u;
|
|
1105
|
-
},
|
|
1105
|
+
}, E.toISOString = function() {
|
|
1106
1106
|
return this.toDate().toISOString();
|
|
1107
|
-
},
|
|
1107
|
+
}, E.toString = function() {
|
|
1108
1108
|
return this.toDate().toUTCString();
|
|
1109
1109
|
};
|
|
1110
|
-
var q =
|
|
1111
|
-
|
|
1112
|
-
return v === "s" && this.$offset ?
|
|
1110
|
+
var q = E.toDate;
|
|
1111
|
+
E.toDate = function(v) {
|
|
1112
|
+
return v === "s" && this.$offset ? P(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : q.call(this);
|
|
1113
1113
|
};
|
|
1114
|
-
var re =
|
|
1115
|
-
|
|
1114
|
+
var re = E.diff;
|
|
1115
|
+
E.diff = function(v, Y, ue) {
|
|
1116
1116
|
if (v && this.$u === v.$u)
|
|
1117
1117
|
return re.call(this, v, Y, ue);
|
|
1118
|
-
var ce = this.local(),
|
|
1119
|
-
return re.call(ce,
|
|
1118
|
+
var ce = this.local(), x = P(v).local();
|
|
1119
|
+
return re.call(ce, x, Y, ue);
|
|
1120
1120
|
};
|
|
1121
1121
|
};
|
|
1122
1122
|
});
|
|
@@ -1129,23 +1129,23 @@ var je = { exports: {} };
|
|
|
1129
1129
|
* https://github.com/Yaffle/EventSource/
|
|
1130
1130
|
*/
|
|
1131
1131
|
(function(e, t) {
|
|
1132
|
-
(function(
|
|
1133
|
-
var n =
|
|
1134
|
-
if (typeof window != "undefined" && typeof L != "undefined" && !("readyState" in L) && L.body == null && (L.readyState = "loading", window.addEventListener("load", function(
|
|
1132
|
+
(function(i) {
|
|
1133
|
+
var n = i.setTimeout, h = i.clearTimeout, b = i.XMLHttpRequest, U = i.XDomainRequest, P = i.ActiveXObject, E = i.EventSource, L = i.document, Se = i.Promise, W = i.fetch, Te = i.Response, q = i.TextDecoder, re = i.TextEncoder, v = i.AbortController;
|
|
1134
|
+
if (typeof window != "undefined" && typeof L != "undefined" && !("readyState" in L) && L.body == null && (L.readyState = "loading", window.addEventListener("load", function(r) {
|
|
1135
1135
|
L.readyState = "complete";
|
|
1136
|
-
}, !1)),
|
|
1137
|
-
return new
|
|
1138
|
-
}), Object.create == null && (Object.create = function(
|
|
1136
|
+
}, !1)), b == null && P != null && (b = function() {
|
|
1137
|
+
return new P("Microsoft.XMLHTTP");
|
|
1138
|
+
}), Object.create == null && (Object.create = function(r) {
|
|
1139
1139
|
function d() {
|
|
1140
1140
|
}
|
|
1141
|
-
return d.prototype =
|
|
1141
|
+
return d.prototype = r, new d();
|
|
1142
1142
|
}), Date.now || (Date.now = function() {
|
|
1143
1143
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
1144
1144
|
}), v == null) {
|
|
1145
1145
|
var Y = W;
|
|
1146
|
-
W = function(
|
|
1146
|
+
W = function(r, d) {
|
|
1147
1147
|
var c = d.signal;
|
|
1148
|
-
return Y(
|
|
1148
|
+
return Y(r, { headers: d.headers, credentials: d.credentials, cache: d.cache }).then(function(o) {
|
|
1149
1149
|
var w = o.body.getReader();
|
|
1150
1150
|
return c._reader = w, c._aborted && c._reader.cancel(), {
|
|
1151
1151
|
status: o.status,
|
|
@@ -1170,27 +1170,27 @@ var je = { exports: {} };
|
|
|
1170
1170
|
function ue() {
|
|
1171
1171
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
1172
1172
|
}
|
|
1173
|
-
ue.prototype.decode = function(
|
|
1174
|
-
function d(D,
|
|
1173
|
+
ue.prototype.decode = function(r) {
|
|
1174
|
+
function d(D, A, S) {
|
|
1175
1175
|
if (S === 1)
|
|
1176
|
-
return D >= 128 >>
|
|
1176
|
+
return D >= 128 >> A && D << A <= 2047;
|
|
1177
1177
|
if (S === 2)
|
|
1178
|
-
return D >= 2048 >>
|
|
1178
|
+
return D >= 2048 >> A && D << A <= 55295 || D >= 57344 >> A && D << A <= 65535;
|
|
1179
1179
|
if (S === 3)
|
|
1180
|
-
return D >= 65536 >>
|
|
1180
|
+
return D >= 65536 >> A && D << A <= 1114111;
|
|
1181
1181
|
throw new Error();
|
|
1182
1182
|
}
|
|
1183
|
-
function c(D,
|
|
1183
|
+
function c(D, A) {
|
|
1184
1184
|
if (D === 6 * 1)
|
|
1185
|
-
return
|
|
1185
|
+
return A >> 6 > 15 ? 3 : A > 31 ? 2 : 1;
|
|
1186
1186
|
if (D === 6 * 2)
|
|
1187
|
-
return
|
|
1187
|
+
return A > 15 ? 3 : 2;
|
|
1188
1188
|
if (D === 6 * 3)
|
|
1189
1189
|
return 3;
|
|
1190
1190
|
throw new Error();
|
|
1191
1191
|
}
|
|
1192
|
-
for (var o = 65533, w = "", f = this.bitsNeeded, C = this.codePoint, $ = 0; $ <
|
|
1193
|
-
var O =
|
|
1192
|
+
for (var o = 65533, w = "", f = this.bitsNeeded, C = this.codePoint, $ = 0; $ < r.length; $ += 1) {
|
|
1193
|
+
var O = r[$];
|
|
1194
1194
|
f !== 0 && (O < 128 || O > 191 || !d(C << 6 | O & 63, f - 6, c(f, C))) && (f = 0, C = o, w += String.fromCharCode(C)), f === 0 ? (O >= 0 && O <= 127 ? (f = 0, C = O) : O >= 192 && O <= 223 ? (f = 6 * 1, C = O & 31) : O >= 224 && O <= 239 ? (f = 6 * 2, C = O & 15) : O >= 240 && O <= 247 ? (f = 6 * 3, C = O & 7) : (f = 0, C = o), f !== 0 && !d(C, f, c(f, C)) && (f = 0, C = o)) : (f -= 6, C = C << 6 | O & 63), f === 0 && (C <= 65535 ? w += String.fromCharCode(C) : (w += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), w += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
|
|
1195
1195
|
}
|
|
1196
1196
|
return this.bitsNeeded = f, this.codePoint = C, w;
|
|
@@ -1198,22 +1198,22 @@ var je = { exports: {} };
|
|
|
1198
1198
|
var ce = function() {
|
|
1199
1199
|
try {
|
|
1200
1200
|
return new q().decode(new re().encode("test"), { stream: !0 }) === "test";
|
|
1201
|
-
} catch (
|
|
1202
|
-
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " +
|
|
1201
|
+
} catch (r) {
|
|
1202
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + r);
|
|
1203
1203
|
}
|
|
1204
1204
|
return !1;
|
|
1205
1205
|
};
|
|
1206
1206
|
(q == null || re == null || !ce()) && (q = ue);
|
|
1207
|
-
var
|
|
1207
|
+
var x = function() {
|
|
1208
1208
|
};
|
|
1209
|
-
function ie(
|
|
1210
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
1209
|
+
function ie(r) {
|
|
1210
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = x, this.onload = x, this.onerror = x, this.onreadystatechange = x, this._contentType = "", this._xhr = r, this._sendTimeout = 0, this._abort = x;
|
|
1211
1211
|
}
|
|
1212
|
-
ie.prototype.open = function(
|
|
1212
|
+
ie.prototype.open = function(r, d) {
|
|
1213
1213
|
this._abort(!0);
|
|
1214
1214
|
var c = this, o = this._xhr, w = 1, f = 0;
|
|
1215
1215
|
this._abort = function(S) {
|
|
1216
|
-
c._sendTimeout !== 0 && (h(c._sendTimeout), c._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, o.onload =
|
|
1216
|
+
c._sendTimeout !== 0 && (h(c._sendTimeout), c._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, o.onload = x, o.onerror = x, o.onabort = x, o.onprogress = x, o.onreadystatechange = x, o.abort(), f !== 0 && (h(f), f = 0), S || (c.readyState = 4, c.onabort(null), c.onreadystatechange())), w = 0;
|
|
1217
1217
|
};
|
|
1218
1218
|
var C = function() {
|
|
1219
1219
|
if (w === 1) {
|
|
@@ -1240,7 +1240,7 @@ var je = { exports: {} };
|
|
|
1240
1240
|
}
|
|
1241
1241
|
}, O = function(S, I) {
|
|
1242
1242
|
if ((I == null || I.preventDefault == null) && (I = {
|
|
1243
|
-
preventDefault:
|
|
1243
|
+
preventDefault: x
|
|
1244
1244
|
}), $(), w === 1 || w === 2 || w === 3) {
|
|
1245
1245
|
if (w = 4, f !== 0 && (h(f), f = 0), c.readyState = 4, S === "load")
|
|
1246
1246
|
c.onload(I);
|
|
@@ -1254,9 +1254,9 @@ var je = { exports: {} };
|
|
|
1254
1254
|
}
|
|
1255
1255
|
}, D = function(S) {
|
|
1256
1256
|
o != null && (o.readyState === 4 ? (!("onload" in o) || !("onerror" in o) || !("onabort" in o)) && O(o.responseText === "" ? "error" : "load", S) : o.readyState === 3 ? "onprogress" in o || $() : o.readyState === 2 && C());
|
|
1257
|
-
},
|
|
1257
|
+
}, A = function() {
|
|
1258
1258
|
f = n(function() {
|
|
1259
|
-
|
|
1259
|
+
A();
|
|
1260
1260
|
}, 500), o.readyState === 3 && $();
|
|
1261
1261
|
};
|
|
1262
1262
|
"onload" in o && (o.onload = function(S) {
|
|
@@ -1267,23 +1267,23 @@ var je = { exports: {} };
|
|
|
1267
1267
|
O("abort", S);
|
|
1268
1268
|
}), "onprogress" in o && (o.onprogress = $), "onreadystatechange" in o && (o.onreadystatechange = function(S) {
|
|
1269
1269
|
D(S);
|
|
1270
|
-
}), ("contentType" in o || !("ontimeout" in
|
|
1271
|
-
|
|
1270
|
+
}), ("contentType" in o || !("ontimeout" in b.prototype)) && (d += (d.indexOf("?") === -1 ? "?" : "&") + "padding=true"), o.open(r, d, !0), "readyState" in o && (f = n(function() {
|
|
1271
|
+
A();
|
|
1272
1272
|
}, 0));
|
|
1273
1273
|
}, ie.prototype.abort = function() {
|
|
1274
1274
|
this._abort(!1);
|
|
1275
|
-
}, ie.prototype.getResponseHeader = function(
|
|
1275
|
+
}, ie.prototype.getResponseHeader = function(r) {
|
|
1276
1276
|
return this._contentType;
|
|
1277
|
-
}, ie.prototype.setRequestHeader = function(
|
|
1277
|
+
}, ie.prototype.setRequestHeader = function(r, d) {
|
|
1278
1278
|
var c = this._xhr;
|
|
1279
|
-
"setRequestHeader" in c && c.setRequestHeader(
|
|
1279
|
+
"setRequestHeader" in c && c.setRequestHeader(r, d);
|
|
1280
1280
|
}, ie.prototype.getAllResponseHeaders = function() {
|
|
1281
1281
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
1282
1282
|
}, ie.prototype.send = function() {
|
|
1283
|
-
if ((!("ontimeout" in
|
|
1284
|
-
var
|
|
1285
|
-
|
|
1286
|
-
|
|
1283
|
+
if ((!("ontimeout" in b.prototype) || !("sendAsBinary" in b.prototype) && !("mozAnon" in b.prototype)) && L != null && L.readyState != null && L.readyState !== "complete") {
|
|
1284
|
+
var r = this;
|
|
1285
|
+
r._sendTimeout = n(function() {
|
|
1286
|
+
r._sendTimeout = 0, r.send();
|
|
1287
1287
|
}, 4);
|
|
1288
1288
|
return;
|
|
1289
1289
|
}
|
|
@@ -1295,56 +1295,56 @@ var je = { exports: {} };
|
|
|
1295
1295
|
throw c;
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
function ne(
|
|
1299
|
-
return
|
|
1298
|
+
function ne(r) {
|
|
1299
|
+
return r.replace(/[A-Z]/g, function(d) {
|
|
1300
1300
|
return String.fromCharCode(d.charCodeAt(0) + 32);
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
|
-
function Q(
|
|
1304
|
-
for (var d = /* @__PURE__ */ Object.create(null), c =
|
|
1303
|
+
function Q(r) {
|
|
1304
|
+
for (var d = /* @__PURE__ */ Object.create(null), c = r.split(`\r
|
|
1305
1305
|
`), o = 0; o < c.length; o += 1) {
|
|
1306
1306
|
var w = c[o], f = w.split(": "), C = f.shift(), $ = f.join(": ");
|
|
1307
1307
|
d[ne(C)] = $;
|
|
1308
1308
|
}
|
|
1309
1309
|
this._map = d;
|
|
1310
1310
|
}
|
|
1311
|
-
Q.prototype.get = function(
|
|
1312
|
-
return this._map[ne(
|
|
1313
|
-
},
|
|
1311
|
+
Q.prototype.get = function(r) {
|
|
1312
|
+
return this._map[ne(r)];
|
|
1313
|
+
}, b != null && b.HEADERS_RECEIVED == null && (b.HEADERS_RECEIVED = 2);
|
|
1314
1314
|
function he() {
|
|
1315
1315
|
}
|
|
1316
|
-
he.prototype.open = function(
|
|
1317
|
-
|
|
1316
|
+
he.prototype.open = function(r, d, c, o, w, f, C) {
|
|
1317
|
+
r.open("GET", w);
|
|
1318
1318
|
var $ = 0;
|
|
1319
|
-
|
|
1320
|
-
var D =
|
|
1321
|
-
$ +=
|
|
1322
|
-
},
|
|
1319
|
+
r.onprogress = function() {
|
|
1320
|
+
var D = r.responseText, A = D.slice($);
|
|
1321
|
+
$ += A.length, c(A);
|
|
1322
|
+
}, r.onerror = function(D) {
|
|
1323
1323
|
D.preventDefault(), o(new Error("NetworkError"));
|
|
1324
|
-
},
|
|
1324
|
+
}, r.onload = function() {
|
|
1325
1325
|
o(null);
|
|
1326
|
-
},
|
|
1326
|
+
}, r.onabort = function() {
|
|
1327
1327
|
o(null);
|
|
1328
|
-
},
|
|
1329
|
-
if (
|
|
1330
|
-
var D =
|
|
1331
|
-
d(D,
|
|
1328
|
+
}, r.onreadystatechange = function() {
|
|
1329
|
+
if (r.readyState === b.HEADERS_RECEIVED) {
|
|
1330
|
+
var D = r.status, A = r.statusText, S = r.getResponseHeader("Content-Type"), I = r.getAllResponseHeaders();
|
|
1331
|
+
d(D, A, S, new Q(I));
|
|
1332
1332
|
}
|
|
1333
|
-
},
|
|
1333
|
+
}, r.withCredentials = f;
|
|
1334
1334
|
for (var O in C)
|
|
1335
|
-
Object.prototype.hasOwnProperty.call(C, O) &&
|
|
1336
|
-
return
|
|
1335
|
+
Object.prototype.hasOwnProperty.call(C, O) && r.setRequestHeader(O, C[O]);
|
|
1336
|
+
return r.send(), r;
|
|
1337
1337
|
};
|
|
1338
|
-
function Ee(
|
|
1339
|
-
this._headers =
|
|
1338
|
+
function Ee(r) {
|
|
1339
|
+
this._headers = r;
|
|
1340
1340
|
}
|
|
1341
|
-
Ee.prototype.get = function(
|
|
1342
|
-
return this._headers.get(
|
|
1341
|
+
Ee.prototype.get = function(r) {
|
|
1342
|
+
return this._headers.get(r);
|
|
1343
1343
|
};
|
|
1344
1344
|
function ae() {
|
|
1345
1345
|
}
|
|
1346
|
-
ae.prototype.open = function(
|
|
1347
|
-
var $ = null, O = new v(), D = O.signal,
|
|
1346
|
+
ae.prototype.open = function(r, d, c, o, w, f, C) {
|
|
1347
|
+
var $ = null, O = new v(), D = O.signal, A = new q();
|
|
1348
1348
|
return W(w, {
|
|
1349
1349
|
headers: C,
|
|
1350
1350
|
credentials: f ? "include" : "same-origin",
|
|
@@ -1357,7 +1357,7 @@ var je = { exports: {} };
|
|
|
1357
1357
|
if (J.done)
|
|
1358
1358
|
I(void 0);
|
|
1359
1359
|
else {
|
|
1360
|
-
var G =
|
|
1360
|
+
var G = A.decode(J.value, { stream: !0 });
|
|
1361
1361
|
c(G), ke();
|
|
1362
1362
|
}
|
|
1363
1363
|
}).catch(function(J) {
|
|
@@ -1380,85 +1380,85 @@ var je = { exports: {} };
|
|
|
1380
1380
|
function _() {
|
|
1381
1381
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
1382
1382
|
}
|
|
1383
|
-
function M(
|
|
1383
|
+
function M(r) {
|
|
1384
1384
|
n(function() {
|
|
1385
|
-
throw
|
|
1385
|
+
throw r;
|
|
1386
1386
|
}, 0);
|
|
1387
1387
|
}
|
|
1388
|
-
_.prototype.dispatchEvent = function(
|
|
1389
|
-
|
|
1390
|
-
var d = this._listeners[
|
|
1388
|
+
_.prototype.dispatchEvent = function(r) {
|
|
1389
|
+
r.target = this;
|
|
1390
|
+
var d = this._listeners[r.type];
|
|
1391
1391
|
if (d != null)
|
|
1392
1392
|
for (var c = d.length, o = 0; o < c; o += 1) {
|
|
1393
1393
|
var w = d[o];
|
|
1394
1394
|
try {
|
|
1395
|
-
typeof w.handleEvent == "function" ? w.handleEvent(
|
|
1395
|
+
typeof w.handleEvent == "function" ? w.handleEvent(r) : w.call(this, r);
|
|
1396
1396
|
} catch (f) {
|
|
1397
1397
|
M(f);
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
}, _.prototype.addEventListener = function(
|
|
1401
|
-
|
|
1402
|
-
var c = this._listeners, o = c[
|
|
1403
|
-
o == null && (o = [], c[
|
|
1400
|
+
}, _.prototype.addEventListener = function(r, d) {
|
|
1401
|
+
r = String(r);
|
|
1402
|
+
var c = this._listeners, o = c[r];
|
|
1403
|
+
o == null && (o = [], c[r] = o);
|
|
1404
1404
|
for (var w = !1, f = 0; f < o.length; f += 1)
|
|
1405
1405
|
o[f] === d && (w = !0);
|
|
1406
1406
|
w || o.push(d);
|
|
1407
|
-
}, _.prototype.removeEventListener = function(
|
|
1408
|
-
|
|
1409
|
-
var c = this._listeners, o = c[
|
|
1407
|
+
}, _.prototype.removeEventListener = function(r, d) {
|
|
1408
|
+
r = String(r);
|
|
1409
|
+
var c = this._listeners, o = c[r];
|
|
1410
1410
|
if (o != null) {
|
|
1411
1411
|
for (var w = [], f = 0; f < o.length; f += 1)
|
|
1412
1412
|
o[f] !== d && w.push(o[f]);
|
|
1413
|
-
w.length === 0 ? delete c[
|
|
1413
|
+
w.length === 0 ? delete c[r] : c[r] = w;
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
|
-
function oe(
|
|
1417
|
-
this.type =
|
|
1416
|
+
function oe(r) {
|
|
1417
|
+
this.type = r, this.target = void 0;
|
|
1418
1418
|
}
|
|
1419
|
-
function Re(
|
|
1420
|
-
oe.call(this,
|
|
1419
|
+
function Re(r, d) {
|
|
1420
|
+
oe.call(this, r), this.data = d.data, this.lastEventId = d.lastEventId;
|
|
1421
1421
|
}
|
|
1422
1422
|
Re.prototype = Object.create(oe.prototype);
|
|
1423
|
-
function g(
|
|
1424
|
-
oe.call(this,
|
|
1423
|
+
function g(r, d) {
|
|
1424
|
+
oe.call(this, r), this.status = d.status, this.statusText = d.statusText, this.headers = d.headers;
|
|
1425
1425
|
}
|
|
1426
1426
|
g.prototype = Object.create(oe.prototype);
|
|
1427
|
-
function l(
|
|
1428
|
-
oe.call(this,
|
|
1427
|
+
function l(r, d) {
|
|
1428
|
+
oe.call(this, r), this.error = d.error;
|
|
1429
1429
|
}
|
|
1430
1430
|
l.prototype = Object.create(oe.prototype);
|
|
1431
|
-
var a = -1, u = 0, s = 1, m = 2, y = -1, T = 0, R = 1, H = 2, N = 3, Z = /^text\/event\-stream(;.*)?$/i, be = 1e3, pe = 18e6, fe = function(
|
|
1432
|
-
var c =
|
|
1431
|
+
var a = -1, u = 0, s = 1, m = 2, y = -1, T = 0, R = 1, H = 2, N = 3, Z = /^text\/event\-stream(;.*)?$/i, be = 1e3, pe = 18e6, fe = function(r, d) {
|
|
1432
|
+
var c = r == null ? d : parseInt(r, 10);
|
|
1433
1433
|
return c !== c && (c = d), se(c);
|
|
1434
|
-
}, se = function(
|
|
1435
|
-
return Math.min(Math.max(
|
|
1436
|
-
}, j = function(
|
|
1434
|
+
}, se = function(r) {
|
|
1435
|
+
return Math.min(Math.max(r, be), pe);
|
|
1436
|
+
}, j = function(r, d, c) {
|
|
1437
1437
|
try {
|
|
1438
|
-
typeof d == "function" && d.call(
|
|
1438
|
+
typeof d == "function" && d.call(r, c);
|
|
1439
1439
|
} catch (o) {
|
|
1440
1440
|
M(o);
|
|
1441
1441
|
}
|
|
1442
1442
|
};
|
|
1443
|
-
function z(
|
|
1444
|
-
_.call(this), d = d || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, it(this,
|
|
1443
|
+
function z(r, d) {
|
|
1444
|
+
_.call(this), d = d || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, it(this, r, d);
|
|
1445
1445
|
}
|
|
1446
1446
|
function Oe() {
|
|
1447
|
-
return
|
|
1447
|
+
return b != null && "withCredentials" in b.prototype || U == null ? new b() : new U();
|
|
1448
1448
|
}
|
|
1449
1449
|
var De = W != null && Te != null && "body" in Te.prototype;
|
|
1450
|
-
function it(
|
|
1450
|
+
function it(r, d, c) {
|
|
1451
1451
|
d = String(d);
|
|
1452
|
-
var o = !!c.withCredentials, w = c.lastEventIdQueryParameterName || "lastEventId", f = se(1e3), C = fe(c.heartbeatTimeout, 45e3), $ = "", O = f, D = !1,
|
|
1452
|
+
var o = !!c.withCredentials, w = c.lastEventIdQueryParameterName || "lastEventId", f = se(1e3), C = fe(c.heartbeatTimeout, 45e3), $ = "", O = f, D = !1, A = 0, S = c.headers || {}, I = c.Transport, ge = De && I == null ? void 0 : new ie(I != null ? new I() : Oe()), ke = I != null && typeof I != "string" ? new I() : ge == null ? new ae() : new he(), J = void 0, G = 0, de = a, Pe = "", Le = "", me = "", $e = "", X = T, ze = 0, Me = 0, nt = function(V, F, ee, te) {
|
|
1453
1453
|
if (de === u)
|
|
1454
1454
|
if (V === 200 && ee != null && Z.test(ee)) {
|
|
1455
|
-
de = s, D = Date.now(), O = f,
|
|
1455
|
+
de = s, D = Date.now(), O = f, r.readyState = s;
|
|
1456
1456
|
var K = new g("open", {
|
|
1457
1457
|
status: V,
|
|
1458
1458
|
statusText: F,
|
|
1459
1459
|
headers: te
|
|
1460
1460
|
});
|
|
1461
|
-
|
|
1461
|
+
r.dispatchEvent(K), j(r, r.onopen, K);
|
|
1462
1462
|
} else {
|
|
1463
1463
|
var B = "";
|
|
1464
1464
|
V !== 200 ? (F && (F = F.replace(/\s+/g, " ")), B = "EventSource's response has a status " + V + " " + F + " that is not 200. Aborting the connection.") : B = "EventSource's response has a Content-Type specifying an unsupported type: " + (ee == null ? "-" : ee.replace(/\s+/g, " ")) + ". Aborting the connection.", Fe();
|
|
@@ -1467,7 +1467,7 @@ var je = { exports: {} };
|
|
|
1467
1467
|
statusText: F,
|
|
1468
1468
|
headers: te
|
|
1469
1469
|
});
|
|
1470
|
-
|
|
1470
|
+
r.dispatchEvent(K), j(r, r.onerror, K), console.error(B);
|
|
1471
1471
|
}
|
|
1472
1472
|
}, at = function(V) {
|
|
1473
1473
|
if (de === s) {
|
|
@@ -1476,7 +1476,7 @@ var je = { exports: {} };
|
|
|
1476
1476
|
(te === 10 || te === 13) && (F = ee);
|
|
1477
1477
|
}
|
|
1478
1478
|
var K = (F !== -1 ? $e : "") + V.slice(0, F + 1);
|
|
1479
|
-
$e = (F === -1 ? $e : "") + V.slice(F + 1), V !== "" && (D = Date.now(),
|
|
1479
|
+
$e = (F === -1 ? $e : "") + V.slice(F + 1), V !== "" && (D = Date.now(), A += V.length);
|
|
1480
1480
|
for (var B = 0; B < K.length; B += 1) {
|
|
1481
1481
|
var te = K.charCodeAt(B);
|
|
1482
1482
|
if (X === y && te === 10)
|
|
@@ -1493,11 +1493,11 @@ var je = { exports: {} };
|
|
|
1493
1493
|
if (X === T) {
|
|
1494
1494
|
if (Pe !== "") {
|
|
1495
1495
|
$ = Le, me === "" && (me = "message");
|
|
1496
|
-
var
|
|
1496
|
+
var Ae = new Re(me, {
|
|
1497
1497
|
data: Pe.slice(1),
|
|
1498
1498
|
lastEventId: Le
|
|
1499
1499
|
});
|
|
1500
|
-
if (
|
|
1500
|
+
if (r.dispatchEvent(Ae), me === "open" ? j(r, r.onopen, Ae) : me === "message" ? j(r, r.onmessage, Ae) : me === "error" && j(r, r.onerror, Ae), de === m)
|
|
1501
1501
|
return;
|
|
1502
1502
|
}
|
|
1503
1503
|
Pe = "", me = "";
|
|
@@ -1511,16 +1511,16 @@ var je = { exports: {} };
|
|
|
1511
1511
|
if (de === s || de === u) {
|
|
1512
1512
|
de = a, G !== 0 && (h(G), G = 0), G = n(function() {
|
|
1513
1513
|
_e();
|
|
1514
|
-
}, O), O = se(Math.min(f * 16, O * 2)),
|
|
1514
|
+
}, O), O = se(Math.min(f * 16, O * 2)), r.readyState = u;
|
|
1515
1515
|
var F = new l("error", { error: V });
|
|
1516
|
-
|
|
1516
|
+
r.dispatchEvent(F), j(r, r.onerror, F), V != null && console.error(V);
|
|
1517
1517
|
}
|
|
1518
1518
|
}, Fe = function() {
|
|
1519
|
-
de = m, J != null && (J.abort(), J = void 0), G !== 0 && (h(G), G = 0),
|
|
1519
|
+
de = m, J != null && (J.abort(), J = void 0), G !== 0 && (h(G), G = 0), r.readyState = m;
|
|
1520
1520
|
}, _e = function() {
|
|
1521
1521
|
if (G = 0, de !== a) {
|
|
1522
1522
|
if (!D && J != null)
|
|
1523
|
-
qe(new Error("No activity within " + C + " milliseconds. " + (de === u ? "No response received." :
|
|
1523
|
+
qe(new Error("No activity within " + C + " milliseconds. " + (de === u ? "No response received." : A + " chars received.") + " Reconnecting.")), J != null && (J.abort(), J = void 0);
|
|
1524
1524
|
else {
|
|
1525
1525
|
var V = Math.max((D || Date.now()) + C - Date.now(), 1);
|
|
1526
1526
|
D = !1, G = n(function() {
|
|
@@ -1529,19 +1529,19 @@ var je = { exports: {} };
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return;
|
|
1531
1531
|
}
|
|
1532
|
-
D = !1,
|
|
1532
|
+
D = !1, A = 0, G = n(function() {
|
|
1533
1533
|
_e();
|
|
1534
1534
|
}, C), de = u, Pe = "", me = "", Le = $, $e = "", ze = 0, Me = 0, X = T;
|
|
1535
1535
|
var F = d;
|
|
1536
1536
|
if (d.slice(0, 5) !== "data:" && d.slice(0, 5) !== "blob:" && $ !== "") {
|
|
1537
1537
|
var ee = d.indexOf("?");
|
|
1538
|
-
F = ee === -1 ? d : d.slice(0, ee + 1) + d.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye,
|
|
1539
|
-
return
|
|
1538
|
+
F = ee === -1 ? d : d.slice(0, ee + 1) + d.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Ae) {
|
|
1539
|
+
return Ae === w ? "" : ye;
|
|
1540
1540
|
}), F += (d.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent($);
|
|
1541
1541
|
}
|
|
1542
|
-
var te =
|
|
1542
|
+
var te = r.withCredentials, K = {};
|
|
1543
1543
|
K.Accept = "text/event-stream";
|
|
1544
|
-
var B =
|
|
1544
|
+
var B = r.headers;
|
|
1545
1545
|
if (B != null)
|
|
1546
1546
|
for (var ve in B)
|
|
1547
1547
|
Object.prototype.hasOwnProperty.call(B, ve) && (K[ve] = B[ve]);
|
|
@@ -1551,19 +1551,19 @@ var je = { exports: {} };
|
|
|
1551
1551
|
throw Fe(), ye;
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
|
-
|
|
1554
|
+
r.url = d, r.readyState = u, r.withCredentials = o, r.headers = S, r._close = Fe, _e();
|
|
1555
1555
|
}
|
|
1556
1556
|
z.prototype = Object.create(_.prototype), z.prototype.CONNECTING = u, z.prototype.OPEN = s, z.prototype.CLOSED = m, z.prototype.close = function() {
|
|
1557
1557
|
this._close();
|
|
1558
1558
|
}, z.CONNECTING = u, z.OPEN = s, z.CLOSED = m, z.prototype.withCredentials = void 0;
|
|
1559
|
-
var Be =
|
|
1560
|
-
|
|
1559
|
+
var Be = E;
|
|
1560
|
+
b != null && (E == null || !("withCredentials" in E.prototype)) && (Be = z), function(r) {
|
|
1561
1561
|
{
|
|
1562
|
-
var d =
|
|
1562
|
+
var d = r(t);
|
|
1563
1563
|
d !== void 0 && (e.exports = d);
|
|
1564
1564
|
}
|
|
1565
|
-
}(function(
|
|
1566
|
-
|
|
1565
|
+
}(function(r) {
|
|
1566
|
+
r.EventSourcePolyfill = z, r.NativeEventSource = E, r.EventSource = Be;
|
|
1567
1567
|
});
|
|
1568
1568
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Ve : globalThis);
|
|
1569
1569
|
})(je, je.exports);
|
|
@@ -1669,9 +1669,140 @@ const Ge = "user-deposit-withdrawal", Xe = [
|
|
|
1669
1669
|
tt.extend(wt);
|
|
1670
1670
|
const Tt = class {
|
|
1671
1671
|
constructor(e) {
|
|
1672
|
-
Ke(this, e), this.sseStream = null, this.selectedPaymentMethod = null, this.sseReconnectAttempts = 0, this.sseReconnectTimer = null, this.sseShouldStayConnected = !1, this.SSE_MAX_RECONNECT_ATTEMPTS = 5, this.SSE_RECONNECT_DELAY_BASE_MS = 1e3, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = vt(this.userAgent), this.errorCodes = [
|
|
1672
|
+
Ke(this, e), this.sseStream = null, this.selectedPaymentMethod = null, this.sseReconnectAttempts = 0, this.sseReconnectTimer = null, this.sseShouldStayConnected = !1, this.SSE_MAX_RECONNECT_ATTEMPTS = 5, this.SSE_RECONNECT_DELAY_BASE_MS = 1e3, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = vt(this.userAgent), this.errorCodes = [
|
|
1673
|
+
"21123",
|
|
1674
|
+
"21122",
|
|
1675
|
+
"21121",
|
|
1676
|
+
"100003",
|
|
1677
|
+
"100007",
|
|
1678
|
+
"100020",
|
|
1679
|
+
"100102",
|
|
1680
|
+
"100103",
|
|
1681
|
+
"11010",
|
|
1682
|
+
"11020",
|
|
1683
|
+
"11100",
|
|
1684
|
+
"11204",
|
|
1685
|
+
"11408",
|
|
1686
|
+
"11505",
|
|
1687
|
+
"11506",
|
|
1688
|
+
"11601",
|
|
1689
|
+
"11704",
|
|
1690
|
+
"11754",
|
|
1691
|
+
"11755",
|
|
1692
|
+
"11772",
|
|
1693
|
+
"11776",
|
|
1694
|
+
"11778",
|
|
1695
|
+
"11779",
|
|
1696
|
+
"11780",
|
|
1697
|
+
"11781",
|
|
1698
|
+
"11802",
|
|
1699
|
+
"12006",
|
|
1700
|
+
"12126",
|
|
1701
|
+
"12127",
|
|
1702
|
+
"12135",
|
|
1703
|
+
"12136",
|
|
1704
|
+
"12137",
|
|
1705
|
+
"12138",
|
|
1706
|
+
"12139",
|
|
1707
|
+
"12140",
|
|
1708
|
+
"12502",
|
|
1709
|
+
"12503",
|
|
1710
|
+
"13501",
|
|
1711
|
+
"13502",
|
|
1712
|
+
"13503",
|
|
1713
|
+
"13504",
|
|
1714
|
+
"13505",
|
|
1715
|
+
"13506",
|
|
1716
|
+
"13507",
|
|
1717
|
+
"13550",
|
|
1718
|
+
"13555",
|
|
1719
|
+
"13573",
|
|
1720
|
+
"13575",
|
|
1721
|
+
"14006",
|
|
1722
|
+
"14007",
|
|
1723
|
+
"14008",
|
|
1724
|
+
"14009",
|
|
1725
|
+
"14010",
|
|
1726
|
+
"14011",
|
|
1727
|
+
"21050",
|
|
1728
|
+
"21051",
|
|
1729
|
+
"21052",
|
|
1730
|
+
"21054",
|
|
1731
|
+
"21056",
|
|
1732
|
+
"21070",
|
|
1733
|
+
"21073",
|
|
1734
|
+
"21074",
|
|
1735
|
+
"21077",
|
|
1736
|
+
"21079",
|
|
1737
|
+
"21082",
|
|
1738
|
+
"21083",
|
|
1739
|
+
"21104",
|
|
1740
|
+
"21105",
|
|
1741
|
+
"21108",
|
|
1742
|
+
"21116",
|
|
1743
|
+
"21117",
|
|
1744
|
+
"21202",
|
|
1745
|
+
"21289",
|
|
1746
|
+
"21292",
|
|
1747
|
+
"21293",
|
|
1748
|
+
"21294",
|
|
1749
|
+
"21295",
|
|
1750
|
+
"21296",
|
|
1751
|
+
"21297",
|
|
1752
|
+
"21298",
|
|
1753
|
+
"21299",
|
|
1754
|
+
"21301",
|
|
1755
|
+
"21302",
|
|
1756
|
+
"21303",
|
|
1757
|
+
"21304",
|
|
1758
|
+
"21305",
|
|
1759
|
+
"21306",
|
|
1760
|
+
"21307",
|
|
1761
|
+
"21308",
|
|
1762
|
+
"22007",
|
|
1763
|
+
"22011",
|
|
1764
|
+
"22012",
|
|
1765
|
+
"22013",
|
|
1766
|
+
"22014",
|
|
1767
|
+
"22015",
|
|
1768
|
+
"22016",
|
|
1769
|
+
"22017",
|
|
1770
|
+
"22018",
|
|
1771
|
+
"22021",
|
|
1772
|
+
"22022",
|
|
1773
|
+
"22023",
|
|
1774
|
+
"22024",
|
|
1775
|
+
"23601",
|
|
1776
|
+
"29107",
|
|
1777
|
+
"30100",
|
|
1778
|
+
"40003",
|
|
1779
|
+
"40004",
|
|
1780
|
+
"50000",
|
|
1781
|
+
"50001",
|
|
1782
|
+
"50002",
|
|
1783
|
+
"50003",
|
|
1784
|
+
"50004",
|
|
1785
|
+
"50005",
|
|
1786
|
+
"50006",
|
|
1787
|
+
"50007",
|
|
1788
|
+
"50008",
|
|
1789
|
+
"50009",
|
|
1790
|
+
"50010",
|
|
1791
|
+
"50011",
|
|
1792
|
+
"50012",
|
|
1793
|
+
"50013",
|
|
1794
|
+
"50014",
|
|
1795
|
+
"50015",
|
|
1796
|
+
"50100",
|
|
1797
|
+
"50101",
|
|
1798
|
+
"50102",
|
|
1799
|
+
"50103",
|
|
1800
|
+
"50104",
|
|
1801
|
+
"50105",
|
|
1802
|
+
"50106"
|
|
1803
|
+
], this.toggleScreen = () => {
|
|
1673
1804
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
1674
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Et, this.forwardCashierRedirects = !1, this.enableStepUpAuth = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
1805
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Et, this.forwardCashierRedirects = !1, this.enableStepUpAuth = !1, this.showApiErrorMessage = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0, this.errorMessage = "", this.errorFromApi = !1;
|
|
1675
1806
|
}
|
|
1676
1807
|
get typeParameter() {
|
|
1677
1808
|
if (this.type === "deposit")
|
|
@@ -1697,7 +1828,7 @@ const Tt = class {
|
|
|
1697
1828
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.closeSSEStream();
|
|
1698
1829
|
}
|
|
1699
1830
|
render() {
|
|
1700
|
-
return p(st, { key: "
|
|
1831
|
+
return p(st, { key: "338fa8bd00485e7d7c1a92ddbc7622e4eb6bd020" }, this.enableStepUpAuth && p("player-step-up-auth", { key: "b0076f39d95d35b3cae6d6bb0a039feb39764f47", endpoint: this.endpoint, userSession: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl }), p("div", { key: "00f02636ed279a41dd203bdaea54f41eacaa8f86", ref: (e) => this.stylingContainer = e, class: "" }, p("div", { key: "120c160a3f0729e5aae360e9fc7b99e33c93e01c", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && p("h2", { key: "664216161b01c6e49bc36b738eb02ae622eeda09", class: "CategoryTitle" }, Ce(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), p("div", { key: "f57113548723235044ac51485b37e2e9b6e3ee4c", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? p("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, p("defs", null), p("g", { transform: "translate(-20 -158)" }, p("g", { transform: "translate(20 158)" }, p("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)" })))), p("h2", { class: "CategoryTitleMobile" }, Ce(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? p("iframe", { ref: (e) => this.cashierIframeRef = e, width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : this.errorFromApi ? p("h3", { class: "ErrorMessage" }, this.errorMessage) : p("h3", { innerHTML: this.errorMessage || (this.type === "deposit" ? Ce("denyDeposit", this.language) : Ce("denyWithdrawal", this.language)), class: "ErrorMessage" }))));
|
|
1701
1832
|
}
|
|
1702
1833
|
loadWidget() {
|
|
1703
1834
|
return we(this, null, function* () {
|
|
@@ -1715,7 +1846,7 @@ const Tt = class {
|
|
|
1715
1846
|
};
|
|
1716
1847
|
if (!(Object.values(e).some((t) => t === void 0) || !this.endpoint))
|
|
1717
1848
|
try {
|
|
1718
|
-
const t = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,
|
|
1849
|
+
const t = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(t, {
|
|
1719
1850
|
method: "POST",
|
|
1720
1851
|
headers: {
|
|
1721
1852
|
"X-Sessionid": this.session,
|
|
@@ -1723,23 +1854,22 @@ const Tt = class {
|
|
|
1723
1854
|
"X-Client-Request-Timestamp": tt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
1724
1855
|
},
|
|
1725
1856
|
body: JSON.stringify(e)
|
|
1726
|
-
});
|
|
1727
|
-
if (!
|
|
1728
|
-
|
|
1729
|
-
throw new Error(h);
|
|
1730
|
-
}
|
|
1731
|
-
const n = yield r.json();
|
|
1857
|
+
}), n = yield i.json();
|
|
1858
|
+
if (!i.ok && (console.error(n), !this.showApiErrorMessage))
|
|
1859
|
+
return;
|
|
1732
1860
|
if (n.CashierInfo)
|
|
1733
1861
|
this.cashierInfoUrl = n.CashierInfo.Url;
|
|
1734
1862
|
else {
|
|
1735
1863
|
let h;
|
|
1736
1864
|
if (n.ResponseMessage) {
|
|
1737
|
-
let U = this.errorCodes.find((
|
|
1738
|
-
U ?
|
|
1865
|
+
let U = this.errorCodes.find((E) => n.ResponseMessage.includes(E)) || null;
|
|
1866
|
+
const P = U ? Ce(`errorCode${U}`, this.language) : void 0;
|
|
1867
|
+
P ? h = P : this.showApiErrorMessage ? (h = n.ResponseMessage, this.errorFromApi = !0) : h = Ce("notFoundErrorCode", this.language);
|
|
1739
1868
|
} else
|
|
1740
1869
|
h = this.type === "deposit" ? Ce("denyDeposit", this.language) : Ce("denyWithdrawal", this.language);
|
|
1741
|
-
|
|
1742
|
-
|
|
1870
|
+
this.showApiErrorMessage && (this.errorMessage = h);
|
|
1871
|
+
const b = { type: "error", message: h };
|
|
1872
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: b }, window.location.href);
|
|
1743
1873
|
}
|
|
1744
1874
|
} catch (t) {
|
|
1745
1875
|
console.error(t);
|
|
@@ -1754,10 +1884,10 @@ const Tt = class {
|
|
|
1754
1884
|
if (!t)
|
|
1755
1885
|
return;
|
|
1756
1886
|
this.applyLayoutHints(t);
|
|
1757
|
-
const
|
|
1758
|
-
if (!
|
|
1887
|
+
const i = this.extractCashierRedirectReason(t);
|
|
1888
|
+
if (!i || this.emitForwardedRedirect(e, i))
|
|
1759
1889
|
return;
|
|
1760
|
-
const n = this.resolveRedirectPlan(
|
|
1890
|
+
const n = this.resolveRedirectPlan(i);
|
|
1761
1891
|
n && this.doRedirect(n.reason, n.targetUrl);
|
|
1762
1892
|
}
|
|
1763
1893
|
extractCashierRedirectReason(e) {
|
|
@@ -1805,22 +1935,22 @@ const Tt = class {
|
|
|
1805
1935
|
emitForwardedRedirect(e, t) {
|
|
1806
1936
|
if (!this.forwardCashierRedirects)
|
|
1807
1937
|
return !1;
|
|
1808
|
-
const
|
|
1938
|
+
const i = {
|
|
1809
1939
|
type: `${Ge}:${t}`,
|
|
1810
1940
|
originalType: t,
|
|
1811
1941
|
payload: e.data,
|
|
1812
1942
|
origin: e.origin
|
|
1813
1943
|
};
|
|
1814
|
-
return window.postMessage(
|
|
1944
|
+
return window.postMessage(i, window.location.href), !0;
|
|
1815
1945
|
}
|
|
1816
1946
|
doRedirect(e, t) {
|
|
1817
|
-
const
|
|
1818
|
-
if (this.beforeRedirect(
|
|
1819
|
-
if (!
|
|
1947
|
+
const i = { reason: e, url: t, cancel: !1 };
|
|
1948
|
+
if (this.beforeRedirect(i), !i.cancel) {
|
|
1949
|
+
if (!i.url) {
|
|
1820
1950
|
window.location.href = "/";
|
|
1821
1951
|
return;
|
|
1822
1952
|
}
|
|
1823
|
-
window.location.href =
|
|
1953
|
+
window.location.href = i.url;
|
|
1824
1954
|
}
|
|
1825
1955
|
}
|
|
1826
1956
|
initializeSSE() {
|
|
@@ -1858,12 +1988,12 @@ const Tt = class {
|
|
|
1858
1988
|
handleSSEMessage(e) {
|
|
1859
1989
|
if (this.enableStepUpAuth)
|
|
1860
1990
|
try {
|
|
1861
|
-
const t = JSON.parse(e.data),
|
|
1862
|
-
if (
|
|
1991
|
+
const t = JSON.parse(e.data), i = t.type;
|
|
1992
|
+
if (i === Ne.TWO_FACTOR_AUTH) {
|
|
1863
1993
|
const { body: { challengeId: n } = {} } = t;
|
|
1864
1994
|
n ? this.triggerStepUpAuth(n) : console.error(`${Ne.TWO_FACTOR_AUTH} received but challengeId not found in body`);
|
|
1865
1995
|
} else
|
|
1866
|
-
|
|
1996
|
+
i === Ne.SESSION_EXPIRATION && (console.info("[SSE] SESSION_EXPIRATION received, closing connection"), window.postMessage({ type: "SessionExpiration", reason: St.FAILED_2FA }, window.location.href), this.closeSSEStream());
|
|
1867
1997
|
} catch (t) {
|
|
1868
1998
|
console.error("Error parsing SSE message:", t);
|
|
1869
1999
|
}
|
|
@@ -1915,8 +2045,8 @@ const Tt = class {
|
|
|
1915
2045
|
console.warn("Cashier iframe not available for postMessage");
|
|
1916
2046
|
return;
|
|
1917
2047
|
}
|
|
1918
|
-
const
|
|
1919
|
-
this.cashierIframeRef.contentWindow.postMessage(e,
|
|
2048
|
+
const i = this.getCashierOrigin();
|
|
2049
|
+
this.cashierIframeRef.contentWindow.postMessage(e, i);
|
|
1920
2050
|
}
|
|
1921
2051
|
handleOtpSuccess() {
|
|
1922
2052
|
this.enableStepUpAuth && (this.sendMessageToCashier(Ie.PROCEED), this.closeSSEStream());
|