@everymatrix/casino-header-controller-nd 1.91.0 → 1.91.1
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/CasinoHamburgerMenuNd-B4kTkzq4.js +1309 -0
- package/components/CasinoHamburgerMenuNd-NG0Wkhyj.cjs +1 -0
- package/components/CasinoHamburgerMenuNd-vzA9-Xpl.js +1333 -0
- package/components/{CasinoHeaderControllerNd-D1S0W4fx.js → CasinoHeaderControllerNd-BGDJAwSh.js} +1946 -1775
- package/components/CasinoHeaderControllerNd-EB1jas_a.cjs +18 -0
- package/components/{CasinoHeaderControllerNd-B95VpbsW.js → CasinoHeaderControllerNd-mJGz8Jns.js} +1988 -1814
- package/components/{PlayerAccountBalanceModalNd-CKolmBwj.cjs → PlayerAccountBalanceModalNd-4idoTwiv.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-Crk2vT3z.js → PlayerAccountBalanceModalNd-CB8DFx1V.js} +48 -48
- package/components/{PlayerAccountBalanceModalNd-CIeCaHJR.js → PlayerAccountBalanceModalNd-D3zrB_Ys.js} +67 -67
- package/components/{PlayerDeposit-BMxv0N7J.js → PlayerDeposit-BsQ9_Zdr.js} +26 -26
- package/components/{PlayerDeposit-qPyH6U6-.cjs → PlayerDeposit-D2Olm44F.cjs} +1 -1
- package/components/{PlayerDeposit-ikLnSVkR.js → PlayerDeposit-LCOGVyfA.js} +24 -24
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-B6eu-yN_.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-B59x5qq1.js → casino-hamburger-menu-nd-B7ekSRyd.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DFsZnbAv.js → casino-hamburger-menu-nd-CKG4HNPY.js} +1 -1
- package/lazy/{gamification-dropdown-B4UZyDme.cjs → gamification-dropdown-C6t9jutH.cjs} +1 -1
- package/lazy/{gamification-dropdown-hQLNUF30.js → gamification-dropdown-DuWrB9jz.js} +4 -4
- package/lazy/{gamification-dropdown-CjYBpyBc.js → gamification-dropdown-zgu4qS_E.js} +4 -4
- package/lazy/{player-account-balance-modal-nd-Av2-M8jH.js → player-account-balance-modal-nd-B-AAtHUF.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVUBazOl.js → player-account-balance-modal-nd-CO6qyL_v.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVSq7VyF.cjs → player-account-balance-modal-nd-CeamoHd7.cjs} +1 -1
- package/lazy/{player-deposit-Bi6yTqI3.cjs → player-deposit-COlqnT4D.cjs} +1 -1
- package/lazy/{player-deposit-DlTrAf96.js → player-deposit-CpygB3-6.js} +1 -1
- package/lazy/{player-deposit-B_pDyfA5.js → player-deposit-Ke_ctwnE.js} +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-C9FgzPvL.js → gamification-dropdown-CpFgbTUl.js} +2 -2
- package/stencil/{gamification-dropdown-WlLyuHae.cjs → gamification-dropdown-Cr2kPnsq.cjs} +1 -1
- package/stencil/{gamification-dropdown-EVPWnCPT.js → gamification-dropdown-DubzqYbr.js} +2 -2
- package/stencil/{gamification-dropdown-f0760153-Dhlj2VCc.js → gamification-dropdown-f0760153-DVkm_iE5.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-BpUjgzyS.js → gamification-dropdown-f0760153-Df-MBx5p.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-Btqr9CPN.cjs → gamification-dropdown-f0760153-Dk3vts7h.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-DIbE7dfM.js → gamification-dropdown_4-BRhAYGhe.js} +5 -5
- package/stencil/{gamification-dropdown_4-NMtg229A.cjs → gamification-dropdown_4-BZLegCAw.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-DPaXNZs3.js → gamification-dropdown_4-BgFIzYfP.js} +5 -5
- package/stencil/{player-elevate-card-BK2kB9le.js → player-elevate-card-BSTxVFKO.js} +7 -7
- package/stencil/{player-elevate-card-VPKkZ49g.js → player-elevate-card-Dd73AdBu.js} +7 -7
- package/stencil/{player-elevate-card-Cs1e02e3.cjs → player-elevate-card-HUcnnFYK.cjs} +2 -2
- package/stencil/{player-elevate-card-items-b4571def-sxMJw4IF.js → player-elevate-card-items-b4571def-B_cmKIfg.js} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-D1oeMYOK.cjs → player-elevate-card-items-b4571def-DucwWCcf.cjs} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-C1atT9-_.js → player-elevate-card-items-b4571def-hD5lsXtn.js} +1 -1
- package/stencil/{player-elevate-pointcard-BwiGI-jC.js → player-elevate-pointcard-BpGZYSBk.js} +4 -4
- package/stencil/{player-elevate-pointcard-BBZATcYN.js → player-elevate-pointcard-ChjXTcqF.js} +4 -4
- package/stencil/{player-elevate-pointcard-DPIIh-O1.cjs → player-elevate-pointcard-DJz059f5.cjs} +1 -1
- package/stencil/{player-rakeback-card-B3BIqeoE.js → player-rakeback-card-B3naugNI.js} +2 -2
- package/stencil/{player-rakeback-card-DGDbxSEA.cjs → player-rakeback-card-CJboSvPH.cjs} +1 -1
- package/stencil/{player-rakeback-card-DHSiyelC.js → player-rakeback-card-Dj160Yr7.js} +2 -2
- package/components/CasinoHamburgerMenuNd-BWo6pPAT.cjs +0 -1
- package/components/CasinoHamburgerMenuNd-BhNXQcMS.js +0 -1263
- package/components/CasinoHamburgerMenuNd-DuY3AlRJ.js +0 -1239
- package/components/CasinoHeaderControllerNd-CDENLWE2.cjs +0 -18
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as lt, $ as ct,
|
|
2
|
-
function
|
|
1
|
+
import { a as lt, $ as ct, W as ut, S as dt, i as ft, s as pt, f as X, b as ht, A as qe, d as ge, r as R, h as ye, u as x, j as U, w as me, k as mt, l as gt, o as yt, m as vt, v as Fe, z as Bt, B as Ce, E as _e, D as Qe, L as bt, n as Ge, p as st, N as wt, R as Tt, T as St, U as At, V as Ct } from "./CasinoHeaderControllerNd-BGDJAwSh.js";
|
|
2
|
+
function Ze(s, e) {
|
|
3
3
|
lt(s, e);
|
|
4
4
|
}
|
|
5
5
|
function _t(s) {
|
|
6
6
|
ct.set(s);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const Je = {
|
|
9
9
|
en: {
|
|
10
10
|
Title: "Your Balance",
|
|
11
11
|
Total: "Total Balance",
|
|
@@ -249,7 +249,7 @@ var Ye = { exports: {} };
|
|
|
249
249
|
*/
|
|
250
250
|
(function(s, e) {
|
|
251
251
|
(function(t) {
|
|
252
|
-
var p = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, B = t.ActiveXObject, h = t.EventSource, S = t.document, O = t.Promise,
|
|
252
|
+
var p = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, B = t.ActiveXObject, h = t.EventSource, S = t.document, O = t.Promise, W = t.fetch, V = t.Response, A = t.TextDecoder, b = t.TextEncoder, P = t.AbortController;
|
|
253
253
|
if (typeof window < "u" && typeof S < "u" && !("readyState" in S) && S.body == null && (S.readyState = "loading", window.addEventListener("load", function(n) {
|
|
254
254
|
S.readyState = "complete";
|
|
255
255
|
}, !1)), c == null && B != null && (c = function() {
|
|
@@ -261,8 +261,8 @@ var Ye = { exports: {} };
|
|
|
261
261
|
}), Date.now || (Date.now = function() {
|
|
262
262
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
263
263
|
}), P == null) {
|
|
264
|
-
var be =
|
|
265
|
-
|
|
264
|
+
var be = W;
|
|
265
|
+
W = function(n, o) {
|
|
266
266
|
var u = o.signal;
|
|
267
267
|
return be(n, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(r) {
|
|
268
268
|
var w = r.body.getReader();
|
|
@@ -323,16 +323,16 @@ var Ye = { exports: {} };
|
|
|
323
323
|
return !1;
|
|
324
324
|
};
|
|
325
325
|
(A == null || b == null || !Re()) && (A = we);
|
|
326
|
-
var
|
|
326
|
+
var K = function() {
|
|
327
327
|
};
|
|
328
|
-
function
|
|
329
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
328
|
+
function J(n) {
|
|
329
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = K, this.onload = K, this.onerror = K, this.onreadystatechange = K, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = K;
|
|
330
330
|
}
|
|
331
|
-
|
|
331
|
+
J.prototype.open = function(n, o) {
|
|
332
332
|
this._abort(!0);
|
|
333
333
|
var u = this, r = this._xhr, w = 1, m = 0;
|
|
334
334
|
this._abort = function(T) {
|
|
335
|
-
u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, r.onload =
|
|
335
|
+
u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, r.onload = K, r.onerror = K, r.onabort = K, r.onprogress = K, r.onreadystatechange = K, r.abort(), m !== 0 && (g(m), m = 0), T || (u.readyState = 4, u.onabort(null), u.onreadystatechange())), w = 0;
|
|
336
336
|
};
|
|
337
337
|
var C = function() {
|
|
338
338
|
if (w === 1) {
|
|
@@ -359,7 +359,7 @@ var Ye = { exports: {} };
|
|
|
359
359
|
}
|
|
360
360
|
}, _ = function(T, z) {
|
|
361
361
|
if ((z == null || z.preventDefault == null) && (z = {
|
|
362
|
-
preventDefault:
|
|
362
|
+
preventDefault: K
|
|
363
363
|
}), j(), w === 1 || w === 2 || w === 3) {
|
|
364
364
|
if (w = 4, m !== 0 && (g(m), m = 0), u.readyState = 4, T === "load")
|
|
365
365
|
u.onload(z);
|
|
@@ -389,16 +389,16 @@ var Ye = { exports: {} };
|
|
|
389
389
|
}), ("contentType" in r || !("ontimeout" in c.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(n, o, !0), "readyState" in r && (m = p(function() {
|
|
390
390
|
N();
|
|
391
391
|
}, 0));
|
|
392
|
-
},
|
|
392
|
+
}, J.prototype.abort = function() {
|
|
393
393
|
this._abort(!1);
|
|
394
|
-
},
|
|
394
|
+
}, J.prototype.getResponseHeader = function(n) {
|
|
395
395
|
return this._contentType;
|
|
396
|
-
},
|
|
396
|
+
}, J.prototype.setRequestHeader = function(n, o) {
|
|
397
397
|
var u = this._xhr;
|
|
398
398
|
"setRequestHeader" in u && u.setRequestHeader(n, o);
|
|
399
|
-
},
|
|
399
|
+
}, J.prototype.getAllResponseHeaders = function() {
|
|
400
400
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
401
|
-
},
|
|
401
|
+
}, J.prototype.send = function() {
|
|
402
402
|
if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && S != null && S.readyState != null && S.readyState !== "complete") {
|
|
403
403
|
var n = this;
|
|
404
404
|
n._sendTimeout = p(function() {
|
|
@@ -464,7 +464,7 @@ var Ye = { exports: {} };
|
|
|
464
464
|
}
|
|
465
465
|
ae.prototype.open = function(n, o, u, r, w, m, C) {
|
|
466
466
|
var j = null, _ = new P(), M = _.signal, N = new A();
|
|
467
|
-
return
|
|
467
|
+
return W(w, {
|
|
468
468
|
headers: C,
|
|
469
469
|
credentials: m ? "include" : "same-origin",
|
|
470
470
|
signal: M,
|
|
@@ -565,10 +565,10 @@ var Ye = { exports: {} };
|
|
|
565
565
|
function Ue() {
|
|
566
566
|
return c != null && "withCredentials" in c.prototype || l == null ? new c() : new l();
|
|
567
567
|
}
|
|
568
|
-
var
|
|
568
|
+
var We = W != null && V != null && "body" in V.prototype;
|
|
569
569
|
function He(n, o, u) {
|
|
570
570
|
o = String(o);
|
|
571
|
-
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe =
|
|
571
|
+
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe = We && z == null ? void 0 : new J(z != null ? new z() : Ue()), ke = z != null && typeof z != "string" ? new z() : pe == null ? new ae() : new ce(), a = void 0, d = 0, f = Te, y = "", F = "", I = "", v = "", E = ne, ie = 0, re = 0, Ke = function(Q, Y, se, le) {
|
|
572
572
|
if (f === Be)
|
|
573
573
|
if (Q === 200 && se != null && Xe.test(se)) {
|
|
574
574
|
f = oe, M = Date.now(), _ = m, n.readyState = oe;
|
|
@@ -579,14 +579,14 @@ var Ye = { exports: {} };
|
|
|
579
579
|
});
|
|
580
580
|
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
581
581
|
} else {
|
|
582
|
-
var
|
|
583
|
-
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")),
|
|
582
|
+
var Z = "";
|
|
583
|
+
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), Z = "EventSource's response has a status " + Q + " " + Y + " that is not 200. Aborting the connection.") : Z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Oe();
|
|
584
584
|
var ee = new G("error", {
|
|
585
585
|
status: Q,
|
|
586
586
|
statusText: Y,
|
|
587
587
|
headers: le
|
|
588
588
|
});
|
|
589
|
-
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(
|
|
589
|
+
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(Z);
|
|
590
590
|
}
|
|
591
591
|
}, De = function(Q) {
|
|
592
592
|
if (f === oe) {
|
|
@@ -596,14 +596,14 @@ var Ye = { exports: {} };
|
|
|
596
596
|
}
|
|
597
597
|
var ee = (Y !== -1 ? v : "") + Q.slice(0, Y + 1);
|
|
598
598
|
v = (Y === -1 ? v : "") + Q.slice(Y + 1), Q !== "" && (M = Date.now(), N += Q.length);
|
|
599
|
-
for (var
|
|
600
|
-
var le = ee.charCodeAt(
|
|
599
|
+
for (var Z = 0; Z < ee.length; Z += 1) {
|
|
600
|
+
var le = ee.charCodeAt(Z);
|
|
601
601
|
if (E === de && le === 10)
|
|
602
602
|
E = ne;
|
|
603
603
|
else if (E === de && (E = ne), le === 13 || le === 10) {
|
|
604
604
|
if (E !== ne) {
|
|
605
|
-
E === Me && (re =
|
|
606
|
-
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re <
|
|
605
|
+
E === Me && (re = Z + 1);
|
|
606
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < Z && ee.charCodeAt(re) === 32 ? 1 : 0), Z);
|
|
607
607
|
Se === "data" ? (y += `
|
|
608
608
|
`, y += Ae) : Se === "id" ? F = Ae : Se === "event" ? I = Ae : Se === "retry" ? (m = je(Ae, m), _ = m) : Se === "heartbeatTimeout" && (C = je(Ae, C), d !== 0 && (g(d), d = p(function() {
|
|
609
609
|
he();
|
|
@@ -623,7 +623,7 @@ var Ye = { exports: {} };
|
|
|
623
623
|
}
|
|
624
624
|
E = le === 13 ? de : ne;
|
|
625
625
|
} else
|
|
626
|
-
E === ne && (ie =
|
|
626
|
+
E === ne && (ie = Z, E = Me), E === Me ? le === 58 && (re = Z + 1, E = i) : E === i && (E = Ee);
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
}, Pe = function(Q) {
|
|
@@ -660,12 +660,12 @@ var Ye = { exports: {} };
|
|
|
660
660
|
}
|
|
661
661
|
var le = n.withCredentials, ee = {};
|
|
662
662
|
ee.Accept = "text/event-stream";
|
|
663
|
-
var
|
|
664
|
-
if (
|
|
665
|
-
for (var Se in
|
|
666
|
-
Object.prototype.hasOwnProperty.call(
|
|
663
|
+
var Z = n.headers;
|
|
664
|
+
if (Z != null)
|
|
665
|
+
for (var Se in Z)
|
|
666
|
+
Object.prototype.hasOwnProperty.call(Z, Se) && (ee[Se] = Z[Se]);
|
|
667
667
|
try {
|
|
668
|
-
a = ke.open(pe,
|
|
668
|
+
a = ke.open(pe, Ke, De, Pe, Y, le, ee);
|
|
669
669
|
} catch (Ae) {
|
|
670
670
|
throw Oe(), Ae;
|
|
671
671
|
}
|
|
@@ -699,7 +699,7 @@ function et(s, e, t) {
|
|
|
699
699
|
return p[67] = e[t], p;
|
|
700
700
|
}
|
|
701
701
|
function xt(s) {
|
|
702
|
-
let e, t, p, g, c, l, B, h, S, O,
|
|
702
|
+
let e, t, p, g, c, l, B, h, S, O, W, V, A = (
|
|
703
703
|
/*showBalance*/
|
|
704
704
|
s[6] && tt(s)
|
|
705
705
|
);
|
|
@@ -712,12 +712,12 @@ function xt(s) {
|
|
|
712
712
|
s[5] ? "TriangleActive" : "TriangleInactive"), R(e, "class", "BalanceValue");
|
|
713
713
|
},
|
|
714
714
|
m(b, P) {
|
|
715
|
-
ye(b, e, P), x(e, t), x(t, p), x(e, g), x(e, c), x(c, l), x(l, B), ye(b, S, P), A && A.m(b, P), ye(b, O, P),
|
|
715
|
+
ye(b, e, P), x(e, t), x(t, p), x(e, g), x(e, c), x(c, l), x(l, B), ye(b, S, P), A && A.m(b, P), ye(b, O, P), W || (V = Fe(
|
|
716
716
|
e,
|
|
717
717
|
"click",
|
|
718
718
|
/*click_handler*/
|
|
719
719
|
s[34]
|
|
720
|
-
),
|
|
720
|
+
), W = !0);
|
|
721
721
|
},
|
|
722
722
|
p(b, P) {
|
|
723
723
|
P[0] & /*displayBalance*/
|
|
@@ -731,7 +731,7 @@ function xt(s) {
|
|
|
731
731
|
b[6] ? A ? A.p(b, P) : (A = tt(b), A.c(), A.m(O.parentNode, O)) : A && (A.d(1), A = null);
|
|
732
732
|
},
|
|
733
733
|
d(b) {
|
|
734
|
-
b && (ge(e), ge(S), ge(O)), A && A.d(b),
|
|
734
|
+
b && (ge(e), ge(S), ge(O)), A && A.d(b), W = !1, V();
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
}
|
|
@@ -761,10 +761,10 @@ function tt(s) {
|
|
|
761
761
|
let e, t, p, g, c, l, B, h, S = (
|
|
762
762
|
/*$_*/
|
|
763
763
|
s[9]("Title") + ""
|
|
764
|
-
), O,
|
|
764
|
+
), O, W, V, A, b, P, be = (
|
|
765
765
|
/*$_*/
|
|
766
766
|
s[9]("DepositButton") + ""
|
|
767
|
-
), we, Re,
|
|
767
|
+
), we, Re, K, J, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
768
768
|
/*balances*/
|
|
769
769
|
s[3]
|
|
770
770
|
)), k = [];
|
|
@@ -779,20 +779,20 @@ function tt(s) {
|
|
|
779
779
|
);
|
|
780
780
|
return {
|
|
781
781
|
c() {
|
|
782
|
-
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), B = U("div"), h = U("p"), O = _e(S),
|
|
782
|
+
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), B = U("div"), h = U("p"), O = _e(S), W = me(), V = U("div");
|
|
783
783
|
for (let L = 0; L < k.length; L += 1)
|
|
784
784
|
k[L].c();
|
|
785
|
-
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(),
|
|
786
|
-
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class",
|
|
785
|
+
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(), K = me(), D && D.c(), R(t, "class", p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
786
|
+
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class", J = "ModalContent " + /*isModalDisplayed*/
|
|
787
787
|
(s[5] ? "Open" : "")), R(c, "class", fe = "BalanceModal " + /*isModalDisplayed*/
|
|
788
788
|
(s[5] ? "Open" : "")), R(e, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
789
789
|
(s[5] ? "Open" : ""));
|
|
790
790
|
},
|
|
791
791
|
m(L, G) {
|
|
792
|
-
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, B), x(B, h), x(h, O), x(l,
|
|
792
|
+
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, B), x(B, h), x(h, O), x(l, W), x(l, V);
|
|
793
793
|
for (let H = 0; H < k.length; H += 1)
|
|
794
794
|
k[H] && k[H].m(V, null);
|
|
795
|
-
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), q && q.m(b, null), x(b,
|
|
795
|
+
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), q && q.m(b, null), x(b, K), D && D.m(b, null), ce || (ve = [
|
|
796
796
|
Fe(
|
|
797
797
|
t,
|
|
798
798
|
"click",
|
|
@@ -830,10 +830,10 @@ function tt(s) {
|
|
|
830
830
|
G[0] & /*$_*/
|
|
831
831
|
512 && be !== (be = /*$_*/
|
|
832
832
|
L[9]("DepositButton") + "") && Ce(we, be), /*balancelimitsbutton*/
|
|
833
|
-
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b,
|
|
833
|
+
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b, K)) : q && (q.d(1), q = null), /*activebonusesbutton*/
|
|
834
834
|
L[1] === "true" ? D ? D.p(L, G) : (D = it(L), D.c(), D.m(b, null)) : D && (D.d(1), D = null), G[0] & /*isModalDisplayed*/
|
|
835
|
-
32 &&
|
|
836
|
-
(L[5] ? "Open" : "")) && R(l, "class",
|
|
835
|
+
32 && J !== (J = "ModalContent " + /*isModalDisplayed*/
|
|
836
|
+
(L[5] ? "Open" : "")) && R(l, "class", J), G[0] & /*isModalDisplayed*/
|
|
837
837
|
32 && fe !== (fe = "BalanceModal " + /*isModalDisplayed*/
|
|
838
838
|
(L[5] ? "Open" : "")) && R(c, "class", fe), G[0] & /*isModalDisplayed*/
|
|
839
839
|
32 && te !== (te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -857,7 +857,7 @@ function nt(s) {
|
|
|
857
857
|
/*balance*/
|
|
858
858
|
s[67]
|
|
859
859
|
) + ""
|
|
860
|
-
), B, h, S, O,
|
|
860
|
+
), B, h, S, O, W = (
|
|
861
861
|
/*formatBalance*/
|
|
862
862
|
s[11](
|
|
863
863
|
/*balance*/
|
|
@@ -866,7 +866,7 @@ function nt(s) {
|
|
|
866
866
|
), V;
|
|
867
867
|
return {
|
|
868
868
|
c() {
|
|
869
|
-
e = U("div"), t = U("p"), g = _e(p), c = me(), B = _e(l), h = me(), S = U("p"), O = U("span"), V = _e(
|
|
869
|
+
e = U("div"), t = U("p"), g = _e(p), c = me(), B = _e(l), h = me(), S = U("p"), O = U("span"), V = _e(W), R(t, "class", "BalanceModalText"), R(O, "class", "BalanceModalAmount"), R(S, "class", "BalanceModalValue"), R(e, "class", "BalanceModalRowLine");
|
|
870
870
|
},
|
|
871
871
|
m(A, b) {
|
|
872
872
|
ye(A, e, b), x(e, t), x(t, g), x(t, c), x(t, B), x(e, h), x(e, S), x(S, O), x(O, V);
|
|
@@ -883,11 +883,11 @@ function nt(s) {
|
|
|
883
883
|
/*balance*/
|
|
884
884
|
A[67]
|
|
885
885
|
) + "") && Ce(B, l), b[0] & /*balances*/
|
|
886
|
-
8 &&
|
|
886
|
+
8 && W !== (W = /*formatBalance*/
|
|
887
887
|
A[11](
|
|
888
888
|
/*balance*/
|
|
889
889
|
A[67].amount
|
|
890
|
-
) + "") && Ce(V,
|
|
890
|
+
) + "") && Ce(V, W);
|
|
891
891
|
},
|
|
892
892
|
d(A) {
|
|
893
893
|
A && ge(e);
|
|
@@ -1056,11 +1056,11 @@ function kt(s) {
|
|
|
1056
1056
|
function Mt(s, e, t) {
|
|
1057
1057
|
let p;
|
|
1058
1058
|
mt(s, gt, (a) => t(9, p = a));
|
|
1059
|
-
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl:
|
|
1059
|
+
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: W = "" } = e, { gmversion: V = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: b = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: K = "false" } = e, { currencylocale: J = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, k, q, D = !0, L = !1, G = !1, H = !1, Te = !1, Be = window.navigator.userAgent, oe, ue = "", de = [], ne, Me = "0";
|
|
1060
1060
|
const i = {}, Ee = ["totalCashAmount", "totalRealAmount"], Xe = () => {
|
|
1061
|
-
fetch(
|
|
1061
|
+
fetch(W).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) => Ze(d, a[d]))).catch((a) => console.log(a));
|
|
1062
1062
|
};
|
|
1063
|
-
Object.keys(
|
|
1063
|
+
Object.keys(Je).forEach((a) => Ze(a, Je[a]));
|
|
1064
1064
|
const Le = (a) => {
|
|
1065
1065
|
switch (a) {
|
|
1066
1066
|
case "balance":
|
|
@@ -1090,7 +1090,7 @@ function Mt(s, e, t) {
|
|
|
1090
1090
|
}, Ie = (a) => {
|
|
1091
1091
|
if (ve)
|
|
1092
1092
|
return je(a);
|
|
1093
|
-
const d =
|
|
1093
|
+
const d = J || B, f = {
|
|
1094
1094
|
style: "currency",
|
|
1095
1095
|
currency: ue,
|
|
1096
1096
|
useGrouping: !0,
|
|
@@ -1117,11 +1117,11 @@ function Mt(s, e, t) {
|
|
|
1117
1117
|
else if (F.toLowerCase() === "amount") {
|
|
1118
1118
|
let v = ",", E = ".", ie = 2;
|
|
1119
1119
|
I && (I[0] !== " " && (v = I[0]), I[1] !== " " && (E = I[1]), I[2] !== " " && !isNaN(Number(I[2])) && (ie = Number(I[2])));
|
|
1120
|
-
let [re,
|
|
1120
|
+
let [re, Ke] = String(Math.floor(a * 10 ** ie) / 10 ** ie).split(".");
|
|
1121
1121
|
f += re[0];
|
|
1122
1122
|
for (let he = 1; he < re.length; ++he)
|
|
1123
1123
|
(re.length - he) % 3 === 0 ? f += v + re[he] : f += re[he];
|
|
1124
|
-
let De =
|
|
1124
|
+
let De = Ke || "";
|
|
1125
1125
|
const Pe = ae === "true", Oe = Number(te);
|
|
1126
1126
|
if (Pe)
|
|
1127
1127
|
De = De.padEnd(Oe || 2, "0").substring(0, Oe);
|
|
@@ -1188,7 +1188,7 @@ function Mt(s, e, t) {
|
|
|
1188
1188
|
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1189
1189
|
break;
|
|
1190
1190
|
case "RealNegativeRemainder":
|
|
1191
|
-
if (v.type === "RealNegativeRemainder" &&
|
|
1191
|
+
if (v.type === "RealNegativeRemainder" && K !== "true" || (v.creditLine && i.Credit.length === 0 && i.Credit.push({ amount: v.creditLine }), b === "totalRealAmount"))
|
|
1192
1192
|
continue;
|
|
1193
1193
|
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1194
1194
|
break;
|
|
@@ -1229,7 +1229,7 @@ function Mt(s, e, t) {
|
|
|
1229
1229
|
});
|
|
1230
1230
|
break;
|
|
1231
1231
|
case "RealNegativeRemainder":
|
|
1232
|
-
if (v.type === "RealNegativeRemainder" &&
|
|
1232
|
+
if (v.type === "RealNegativeRemainder" && K !== "true")
|
|
1233
1233
|
continue;
|
|
1234
1234
|
v.creditLine && i.Credit.push({
|
|
1235
1235
|
amount: v.creditLine,
|
|
@@ -1257,7 +1257,7 @@ function Mt(s, e, t) {
|
|
|
1257
1257
|
a = new URL(`${l}/v2/player/${g}/information/updates`), d = (F) => n(F);
|
|
1258
1258
|
break;
|
|
1259
1259
|
case "gmcore":
|
|
1260
|
-
a = new URL(`${l}/v1/player/${g}/balance/updates`), d = (F) =>
|
|
1260
|
+
a = new URL(`${l}/v1/player/${g}/balance/updates`), d = (F) => We(F);
|
|
1261
1261
|
break;
|
|
1262
1262
|
}
|
|
1263
1263
|
const f = {
|
|
@@ -1274,7 +1274,7 @@ function Mt(s, e, t) {
|
|
|
1274
1274
|
return;
|
|
1275
1275
|
}
|
|
1276
1276
|
return d;
|
|
1277
|
-
},
|
|
1277
|
+
}, We = (a) => {
|
|
1278
1278
|
const d = Ue(a.data);
|
|
1279
1279
|
if (!d) {
|
|
1280
1280
|
$();
|
|
@@ -1305,7 +1305,7 @@ function Mt(s, e, t) {
|
|
|
1305
1305
|
let a = 0;
|
|
1306
1306
|
for (const f of ["Real", "Bonus"])
|
|
1307
1307
|
for (const y of i[f])
|
|
1308
|
-
|
|
1308
|
+
K === "true" ? a += y.amount : a += Math.max(y.amount, 0);
|
|
1309
1309
|
t(3, i.Total[0].amount = a, i);
|
|
1310
1310
|
break;
|
|
1311
1311
|
case "totalRealAmount":
|
|
@@ -1387,12 +1387,12 @@ function Mt(s, e, t) {
|
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
return s.$$set = (a) => {
|
|
1390
|
-
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22,
|
|
1390
|
+
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22, W = a.translationurl), "gmversion" in a && t(23, V = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, b = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, K = a.shownegativebalance), "currencylocale" in a && t(28, J = a.currencylocale), "currencydisplay" in a && t(29, fe = a.currencydisplay), "maximumfractiondigits" in a && t(30, te = a.maximumfractiondigits), "minimumfractiondigits" in a && t(31, ce = a.minimumfractiondigits), "customdisplayformat" in a && t(32, ve = a.customdisplayformat), "alwaysshowdecimals" in a && t(33, ae = a.alwaysshowdecimals);
|
|
1391
1391
|
}, s.$$.update = () => {
|
|
1392
1392
|
s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1393
1393
|
25657344 && l && g && c && B && V && A && w(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1394
1394
|
8617984 && l && g && c && V && $(), s.$$.dirty[0] & /*translationurl*/
|
|
1395
|
-
4194304 &&
|
|
1395
|
+
4194304 && W && Xe(), s.$$.dirty[0] & /*balances*/
|
|
1396
1396
|
8 && i.Total && C(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1397
1397
|
1048580 && S && k && Tt(k, S), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1398
1398
|
2097156 && O && k && St(k, O), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1428,13 +1428,13 @@ function Mt(s, e, t) {
|
|
|
1428
1428
|
h,
|
|
1429
1429
|
S,
|
|
1430
1430
|
O,
|
|
1431
|
-
|
|
1431
|
+
W,
|
|
1432
1432
|
V,
|
|
1433
1433
|
A,
|
|
1434
1434
|
P,
|
|
1435
1435
|
Re,
|
|
1436
|
-
|
|
1437
|
-
|
|
1436
|
+
K,
|
|
1437
|
+
J,
|
|
1438
1438
|
fe,
|
|
1439
1439
|
te,
|
|
1440
1440
|
ce,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as V, $ as X, S as Z, i as J, s as $, f as y, b as ee, z as A, d as S, A as L, W as I, h as T, r as h, j as M, v as E, C, q as u, k as te, H as ie, o as se, u as ae, B as k, y as re, K as W, P as ne, Q as oe, R as le, T as ce, U as ue } from "./CasinoHeaderControllerNd-mJGz8Jns.js";
|
|
2
|
+
function F(s, e) {
|
|
3
|
+
V(s, e);
|
|
4
4
|
}
|
|
5
5
|
function de(s) {
|
|
6
|
-
|
|
6
|
+
X.set(s);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const H = {
|
|
9
9
|
en: {
|
|
10
10
|
titleDeposit: "Deposit",
|
|
11
11
|
loading: "Loading, please wait ..."
|
|
@@ -81,7 +81,7 @@ function ge(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
84
|
+
e = M("div"), i = M("iframe"), W(i.src, n = /*iframeUrl*/
|
|
85
85
|
s[3]) || u(i, "src", n), u(i, "title", "Deposit Iframe"), u(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
@@ -89,7 +89,7 @@ function ge(s) {
|
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
92
|
+
8 && !W(i.src, n = /*iframeUrl*/
|
|
93
93
|
a[3]) && u(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
@@ -138,7 +138,7 @@ function fe(s) {
|
|
|
138
138
|
c() {
|
|
139
139
|
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), u(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
140
|
(s[5] ? "DepositTitleNone" : "")), u(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
-
(s[5] ? "DepositWrapperMobile" : "")),
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), I(
|
|
142
142
|
e,
|
|
143
143
|
"--dynamic-height",
|
|
144
144
|
/*dynamicHeight*/
|
|
@@ -153,7 +153,7 @@ function fe(s) {
|
|
|
153
153
|
r[5] && c.p(r, d), d & /*$_*/
|
|
154
154
|
16 && a !== (a = /*$_*/
|
|
155
155
|
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, d) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), d & /*dynamicHeight*/
|
|
156
|
-
4 &&
|
|
156
|
+
4 && I(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
@@ -170,18 +170,18 @@ function fe(s) {
|
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
172
|
te(s, ue, (t) => i(4, a = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g,
|
|
174
|
-
const
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, P, N, x = 0, U = "";
|
|
174
|
+
const q = () => {
|
|
175
175
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
F(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
|
-
Object.keys(
|
|
184
|
-
|
|
183
|
+
Object.keys(H).forEach((t) => {
|
|
184
|
+
F(t, H[t]);
|
|
185
185
|
});
|
|
186
186
|
const j = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
@@ -192,7 +192,7 @@ function we(s, e, i) {
|
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, P = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -218,7 +218,7 @@ function we(s, e, i) {
|
|
|
218
218
|
break;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
},
|
|
221
|
+
}, O = () => {
|
|
222
222
|
let t = new URL(`${l}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
|
|
223
223
|
if (t.searchParams.append("language", p), n && t.searchParams.append("isShortCashier", f), w)
|
|
224
224
|
switch (b) {
|
|
@@ -242,7 +242,7 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, U = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -254,8 +254,8 @@ function we(s, e, i) {
|
|
|
254
254
|
se(() => (window.addEventListener("message", z, !1), () => {
|
|
255
255
|
window.removeEventListener("message", z);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const Y = () => j();
|
|
258
|
+
function K(t) {
|
|
259
259
|
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
@@ -269,13 +269,13 @@ function we(s, e, i) {
|
|
|
269
269
|
8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
270
|
16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
271
|
65537 && _ && g && le(g, `${_}.Style`, N), s.$$.dirty & /*translationurl*/
|
|
272
|
-
32768 && d &&
|
|
273
|
-
135040 && m && c && l && b && p && f &&
|
|
272
|
+
32768 && d && q(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
|
|
273
|
+
135040 && m && c && l && b && p && f && O();
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
I,
|
|
278
277
|
P,
|
|
278
|
+
U,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
281
|
j,
|
|
@@ -290,13 +290,13 @@ function we(s, e, i) {
|
|
|
290
290
|
d,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
Y,
|
|
294
|
+
K
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), J(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-EB1jas_a.cjs");function T(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function F(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function H(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function W(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function N(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&H(n);function p(s,u){return s[1]?G:W}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function q(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,B,_=0,C="";const P=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},j=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},I=()=>{A(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function z(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&I(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`,B),n.$$.dirty&32768&&u&&P(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&j()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,U,z]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,N,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},F)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|