@everymatrix/casino-header-controller-nd 1.80.2 → 1.80.3
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-DB_HYAUx.js → CasinoHamburgerMenuNd-Bvwv47IV.js} +17 -16
- package/components/{CasinoHamburgerMenuNd-zpAzpmHI.js → CasinoHamburgerMenuNd-CkpB3LjN.js} +17 -16
- package/components/{CasinoHamburgerMenuNd-7Ram2YIF.cjs → CasinoHamburgerMenuNd-DslPLpON.cjs} +3 -3
- package/components/CasinoHeaderControllerNd-DioTXejX.js +2414 -0
- package/components/CasinoHeaderControllerNd-d-DEmG0m.js +2438 -0
- package/components/CasinoHeaderControllerNd-gwEBxFIE.cjs +1 -0
- package/components/{PlayerAccountBalanceModalNd-Bbbf5Zlk.js → PlayerAccountBalanceModalNd-C4Dwr0dD.js} +74 -74
- package/components/{PlayerAccountBalanceModalNd-vCKXT5c-.js → PlayerAccountBalanceModalNd-JX7NjRSy.js} +75 -75
- package/components/{PlayerAccountBalanceModalNd-Cufs7l7s.cjs → PlayerAccountBalanceModalNd-UopfVqmk.cjs} +1 -1
- package/components/{PlayerDeposit-Bihwy1oa.js → PlayerDeposit-Bp82pg7V.js} +22 -22
- package/components/{PlayerDeposit-UVuTVd-L.cjs → PlayerDeposit-D076Vp1g.cjs} +1 -1
- package/components/{PlayerDeposit-CDOgfT1e.js → PlayerDeposit-R2KgNT4p.js} +22 -22
- 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-LrOJCbIl.js → casino-hamburger-menu-nd-1DrfDZmJ.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DtiHc44A.js → casino-hamburger-menu-nd-BKbleOqu.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-D43TP5uV.cjs → casino-hamburger-menu-nd-D0fSaYaM.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-ymy3n_Ph.js → player-account-balance-modal-nd--5yIBIRl.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-CDd4WpZd.cjs → player-account-balance-modal-nd-Bh_izKRf.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-CgwVHDyI.js → player-account-balance-modal-nd-D-oQzLDl.js} +1 -1
- package/lazy/{player-deposit-C_aa4bTB.cjs → player-deposit-B_k6nE7k.cjs} +1 -1
- package/lazy/{player-deposit-BdUGAWde.js → player-deposit-CIHdGBaZ.js} +1 -1
- package/lazy/{player-deposit-CmReCo2y.js → player-deposit-emHtRwQ2.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoHeaderControllerNd-BeMkUBB5.js +0 -2382
- package/components/CasinoHeaderControllerNd-CE9c5PI3.js +0 -2358
- package/components/CasinoHeaderControllerNd-DASsvuDN.cjs +0 -1
|
@@ -2,12 +2,12 @@ var ft = Object.defineProperty, pt = Object.defineProperties;
|
|
|
2
2
|
var ht = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ye = Object.getOwnPropertySymbols;
|
|
4
4
|
var mt = Object.prototype.hasOwnProperty, gt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Xe = Math.pow,
|
|
5
|
+
var Xe = Math.pow, Qe = (i, e, a) => e in i ? ft(i, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : i[e] = a, Je = (i, e) => {
|
|
6
6
|
for (var a in e || (e = {}))
|
|
7
|
-
mt.call(e, a) &&
|
|
7
|
+
mt.call(e, a) && Qe(i, a, e[a]);
|
|
8
8
|
if (Ye)
|
|
9
9
|
for (var a of Ye(e))
|
|
10
|
-
gt.call(e, a) &&
|
|
10
|
+
gt.call(e, a) && Qe(i, a, e[a]);
|
|
11
11
|
return i;
|
|
12
12
|
}, Ze = (i, e) => pt(i, ht(e));
|
|
13
13
|
var $e = (i, e, a) => new Promise((w, m) => {
|
|
@@ -26,7 +26,7 @@ var $e = (i, e, a) => new Promise((w, m) => {
|
|
|
26
26
|
}, g = (b) => b.done ? w(b.value) : Promise.resolve(b.value).then(d, T);
|
|
27
27
|
g((a = a.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { b as yt, $ as vt,
|
|
29
|
+
import { b as yt, $ as vt, Q as wt, S as bt, i as Bt, s as Tt, f as X, d as St, A as Ke, g as he, l as C, n as me, o as A, v as I, w as ge, x as Ct, y as _t, D as At, p as je, F as xt, G as Be, H as Te, I as et, z as Rt, J as He, K as ct, r as Et, N as Mt, O as Dt, P as kt, c as Lt, M as Ot } from "./CasinoHamburgerMenuNd-CkpB3LjN.js";
|
|
30
30
|
function tt(i, e) {
|
|
31
31
|
yt(i, e);
|
|
32
32
|
}
|
|
@@ -241,7 +241,7 @@ var We = { exports: {} };
|
|
|
241
241
|
*/
|
|
242
242
|
(function(i, e) {
|
|
243
243
|
(function(a) {
|
|
244
|
-
var w = a.setTimeout, m = a.clearTimeout, d = a.XMLHttpRequest, T = a.XDomainRequest, g = a.ActiveXObject, b = a.EventSource, B = a.document, D = a.Promise,
|
|
244
|
+
var w = a.setTimeout, m = a.clearTimeout, d = a.XMLHttpRequest, T = a.XDomainRequest, g = a.ActiveXObject, b = a.EventSource, B = a.document, D = a.Promise, L = a.fetch, k = a.Response, x = a.TextDecoder, S = a.TextEncoder, R = a.AbortController;
|
|
245
245
|
if (typeof window != "undefined" && typeof B != "undefined" && !("readyState" in B) && B.body == null && (B.readyState = "loading", window.addEventListener("load", function(n) {
|
|
246
246
|
B.readyState = "complete";
|
|
247
247
|
}, !1)), d == null && g != null && (d = function() {
|
|
@@ -253,8 +253,8 @@ var We = { exports: {} };
|
|
|
253
253
|
}), Date.now || (Date.now = function() {
|
|
254
254
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
255
255
|
}), R == null) {
|
|
256
|
-
var j =
|
|
257
|
-
|
|
256
|
+
var j = L;
|
|
257
|
+
L = function(n, s) {
|
|
258
258
|
var u = s.signal;
|
|
259
259
|
return j(n, { headers: s.headers, credentials: s.credentials, cache: s.cache }).then(function(l) {
|
|
260
260
|
var t = l.body.getReader();
|
|
@@ -406,7 +406,7 @@ var We = { exports: {} };
|
|
|
406
406
|
throw u;
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
|
-
function
|
|
409
|
+
function J(n) {
|
|
410
410
|
return n.replace(/[A-Z]/g, function(s) {
|
|
411
411
|
return String.fromCharCode(s.charCodeAt(0) + 32);
|
|
412
412
|
});
|
|
@@ -415,12 +415,12 @@ var We = { exports: {} };
|
|
|
415
415
|
for (var s = /* @__PURE__ */ Object.create(null), u = n.split(`\r
|
|
416
416
|
`), l = 0; l < u.length; l += 1) {
|
|
417
417
|
var t = u[l], o = t.split(": "), r = o.shift(), f = o.join(": ");
|
|
418
|
-
s[
|
|
418
|
+
s[J(r)] = f;
|
|
419
419
|
}
|
|
420
420
|
this._map = s;
|
|
421
421
|
}
|
|
422
422
|
se.prototype.get = function(n) {
|
|
423
|
-
return this._map[
|
|
423
|
+
return this._map[J(n)];
|
|
424
424
|
}, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
|
|
425
425
|
function K() {
|
|
426
426
|
}
|
|
@@ -456,7 +456,7 @@ var We = { exports: {} };
|
|
|
456
456
|
}
|
|
457
457
|
E.prototype.open = function(n, s, u, l, t, o, r) {
|
|
458
458
|
var f = null, h = new R(), v = h.signal, c = new x();
|
|
459
|
-
return
|
|
459
|
+
return L(t, {
|
|
460
460
|
headers: r,
|
|
461
461
|
credentials: o ? "include" : "same-origin",
|
|
462
462
|
signal: v,
|
|
@@ -539,11 +539,11 @@ var We = { exports: {} };
|
|
|
539
539
|
G.call(this, n), this.error = s.error;
|
|
540
540
|
}
|
|
541
541
|
p.prototype = Object.create(G.prototype);
|
|
542
|
-
var de = -1, ie = 0, Z = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2,
|
|
542
|
+
var de = -1, ie = 0, Z = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, ke = 3, ze = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, Le = 18e6, Me = function(n, s) {
|
|
543
543
|
var u = n == null ? s : parseInt(n, 10);
|
|
544
544
|
return u !== u && (u = s), Ce(u);
|
|
545
545
|
}, Ce = function(n) {
|
|
546
|
-
return Math.min(Math.max(n, Ee),
|
|
546
|
+
return Math.min(Math.max(n, Ee), Le);
|
|
547
547
|
}, ye = function(n, s, u) {
|
|
548
548
|
try {
|
|
549
549
|
typeof s == "function" && s.call(n, u);
|
|
@@ -557,28 +557,28 @@ var We = { exports: {} };
|
|
|
557
557
|
function Ve() {
|
|
558
558
|
return d != null && "withCredentials" in d.prototype || T == null ? new d() : new T();
|
|
559
559
|
}
|
|
560
|
-
var Oe =
|
|
560
|
+
var Oe = L != null && k != null && "body" in k.prototype;
|
|
561
561
|
function Ue(n, s, u) {
|
|
562
562
|
s = String(s);
|
|
563
563
|
var l = !!u.withCredentials, t = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = Me(u.heartbeatTimeout, 45e3), f = "", h = o, v = !1, c = 0, y = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), H = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, dt = function(U, z, ee, te) {
|
|
564
564
|
if (re === ie)
|
|
565
565
|
if (U === 200 && ee != null && ze.test(ee)) {
|
|
566
566
|
re = Z, v = Date.now(), h = o, n.readyState = Z;
|
|
567
|
-
var
|
|
567
|
+
var Q = new ce("open", {
|
|
568
568
|
status: U,
|
|
569
569
|
statusText: z,
|
|
570
570
|
headers: te
|
|
571
571
|
});
|
|
572
|
-
n.dispatchEvent(
|
|
572
|
+
n.dispatchEvent(Q), ye(n, n.onopen, Q);
|
|
573
573
|
} else {
|
|
574
574
|
var P = "";
|
|
575
575
|
U !== 200 ? (z && (z = z.replace(/\s+/g, " ")), P = "EventSource's response has a status " + U + " " + z + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + (ee == null ? "-" : ee.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
|
|
576
|
-
var
|
|
576
|
+
var Q = new ce("error", {
|
|
577
577
|
status: U,
|
|
578
578
|
statusText: z,
|
|
579
579
|
headers: te
|
|
580
580
|
});
|
|
581
|
-
n.dispatchEvent(
|
|
581
|
+
n.dispatchEvent(Q), ye(n, n.onerror, Q), console.error(P);
|
|
582
582
|
}
|
|
583
583
|
}, ut = function(U) {
|
|
584
584
|
if (re === Z) {
|
|
@@ -586,16 +586,16 @@ var We = { exports: {} };
|
|
|
586
586
|
var te = U.charCodeAt(ee);
|
|
587
587
|
(te === 10 || te === 13) && (z = ee);
|
|
588
588
|
}
|
|
589
|
-
var
|
|
589
|
+
var Q = (z !== -1 ? Ie : "") + U.slice(0, z + 1);
|
|
590
590
|
Ie = (z === -1 ? Ie : "") + U.slice(z + 1), U !== "" && (v = Date.now(), c += U.length);
|
|
591
|
-
for (var P = 0; P <
|
|
592
|
-
var te =
|
|
591
|
+
for (var P = 0; P < Q.length; P += 1) {
|
|
592
|
+
var te = Q.charCodeAt(P);
|
|
593
593
|
if (Y === xe && te === 10)
|
|
594
594
|
Y = le;
|
|
595
595
|
else if (Y === xe && (Y = le), te === 13 || te === 10) {
|
|
596
596
|
if (Y !== le) {
|
|
597
597
|
Y === Re && (be = P + 1);
|
|
598
|
-
var fe =
|
|
598
|
+
var fe = Q.slice(Pe, be - 1), pe = Q.slice(be + (be < P && Q.charCodeAt(be) === 32 ? 1 : 0), P);
|
|
599
599
|
fe === "data" ? (_e += `
|
|
600
600
|
`, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = Me(pe, o), h = o) : fe === "heartbeatTimeout" && (r = Me(pe, r), q !== 0 && (m(q), q = w(function() {
|
|
601
601
|
De();
|
|
@@ -615,7 +615,7 @@ var We = { exports: {} };
|
|
|
615
615
|
}
|
|
616
616
|
Y = te === 13 ? xe : le;
|
|
617
617
|
} else
|
|
618
|
-
Y === le && (Pe = P, Y = Re), Y === Re ? te === 58 && (be = P + 1, Y = Se) : Y === Se && (Y =
|
|
618
|
+
Y === le && (Pe = P, Y = Re), Y === Re ? te === 58 && (be = P + 1, Y = Se) : Y === Se && (Y = ke);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}, qe = function(U) {
|
|
@@ -650,14 +650,14 @@ var We = { exports: {} };
|
|
|
650
650
|
return Ae === t ? "" : pe;
|
|
651
651
|
}), z += (s.indexOf("?") === -1 ? "?" : "&") + t + "=" + encodeURIComponent(f);
|
|
652
652
|
}
|
|
653
|
-
var te = n.withCredentials,
|
|
654
|
-
|
|
653
|
+
var te = n.withCredentials, Q = {};
|
|
654
|
+
Q.Accept = "text/event-stream";
|
|
655
655
|
var P = n.headers;
|
|
656
656
|
if (P != null)
|
|
657
657
|
for (var fe in P)
|
|
658
|
-
Object.prototype.hasOwnProperty.call(P, fe) && (
|
|
658
|
+
Object.prototype.hasOwnProperty.call(P, fe) && (Q[fe] = P[fe]);
|
|
659
659
|
try {
|
|
660
|
-
H = ve.open(W, dt, ut, qe, z, te,
|
|
660
|
+
H = ve.open(W, dt, ut, qe, z, te, Q);
|
|
661
661
|
} catch (pe) {
|
|
662
662
|
throw Ge(), pe;
|
|
663
663
|
}
|
|
@@ -700,22 +700,22 @@ function jt(i) {
|
|
|
700
700
|
i[1].Total[0].amount
|
|
701
701
|
)
|
|
702
702
|
) : "0") + ""
|
|
703
|
-
), m, d, T, g, b, B, D,
|
|
703
|
+
), m, d, T, g, b, B, D, L, k, x, S = (
|
|
704
704
|
/*showBalance*/
|
|
705
705
|
i[4] && rt(i)
|
|
706
706
|
);
|
|
707
707
|
return {
|
|
708
708
|
c() {
|
|
709
|
-
e = I("button"), a = I("p"), m = Te(w), d = ge(), T = I("span"), g = et("svg"), b = et("path"), D = ge(), S && S.c(),
|
|
709
|
+
e = I("button"), a = I("p"), m = Te(w), d = ge(), T = I("span"), g = et("svg"), b = et("path"), D = ge(), S && S.c(), L = Rt(), C(b, "id", "arrow"), C(b, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(b, "transform", "translate(-274.511 -441.088)"), C(b, "fill", "#d1d1d1"), C(g, "xmlns", "http://www.w3.org/2000/svg"), C(g, "width", "14"), C(g, "height", "6.835"), C(g, "viewBox", "0 0 14 6.835"), C(T, "class", B = /*isModalDisplayed*/
|
|
710
710
|
i[3] ? "TriangleActive" : "TriangleInactive"), C(e, "class", "BalanceValue");
|
|
711
711
|
},
|
|
712
712
|
m(R, j) {
|
|
713
|
-
me(R, e, j), A(e, a), A(a, m), A(e, d), A(e, T), A(T, g), A(g, b), me(R, D, j), S && S.m(R, j), me(R,
|
|
713
|
+
me(R, e, j), A(e, a), A(a, m), A(e, d), A(e, T), A(T, g), A(g, b), me(R, D, j), S && S.m(R, j), me(R, L, j), k || (x = je(
|
|
714
714
|
e,
|
|
715
715
|
"click",
|
|
716
716
|
/*click_handler*/
|
|
717
717
|
i[26]
|
|
718
|
-
),
|
|
718
|
+
), k = !0);
|
|
719
719
|
},
|
|
720
720
|
p(R, j) {
|
|
721
721
|
j[0] & /*balances*/
|
|
@@ -729,10 +729,10 @@ function jt(i) {
|
|
|
729
729
|
) : "0") + "") && Be(m, w), j[0] & /*isModalDisplayed*/
|
|
730
730
|
8 && B !== (B = /*isModalDisplayed*/
|
|
731
731
|
R[3] ? "TriangleActive" : "TriangleInactive") && C(T, "class", B), /*showBalance*/
|
|
732
|
-
R[4] ? S ? S.p(R, j) : (S = rt(R), S.c(), S.m(
|
|
732
|
+
R[4] ? S ? S.p(R, j) : (S = rt(R), S.c(), S.m(L.parentNode, L)) : S && (S.d(1), S = null);
|
|
733
733
|
},
|
|
734
734
|
d(R) {
|
|
735
|
-
R && (he(e), he(D), he(
|
|
735
|
+
R && (he(e), he(D), he(L)), S && S.d(R), k = !1, x();
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
738
|
}
|
|
@@ -762,10 +762,10 @@ function rt(i) {
|
|
|
762
762
|
let e, a, w, m, d, T, g, b, B = (
|
|
763
763
|
/*$_*/
|
|
764
764
|
i[6]("Title") + ""
|
|
765
|
-
), D,
|
|
765
|
+
), D, L, k, x, S, R, j = (
|
|
766
766
|
/*$_*/
|
|
767
767
|
i[6]("DepositButton") + ""
|
|
768
|
-
), ae, ne, F, O,
|
|
768
|
+
), ae, ne, F, O, J, se, K = He(Object.keys(
|
|
769
769
|
/*balances*/
|
|
770
770
|
i[1]
|
|
771
771
|
)), N = [];
|
|
@@ -773,20 +773,20 @@ function rt(i) {
|
|
|
773
773
|
N[E] = lt(nt(i, K, E));
|
|
774
774
|
return {
|
|
775
775
|
c() {
|
|
776
|
-
e = I("div"), a = I("button"), m = ge(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), D = Te(B),
|
|
776
|
+
e = I("div"), a = I("button"), m = ge(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), D = Te(B), L = ge(), k = I("div");
|
|
777
777
|
for (let E = 0; E < N.length; E += 1)
|
|
778
778
|
N[E].c();
|
|
779
779
|
x = ge(), S = I("div"), R = I("button"), ae = Te(j), C(a, "class", w = "BalanceModalClose " + /*isModalDisplayed*/
|
|
780
|
-
(i[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(g, "class", "BalanceModalHeader"), C(
|
|
780
|
+
(i[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(g, "class", "BalanceModalHeader"), C(k, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(T, "class", ne = "ModalContent " + /*isModalDisplayed*/
|
|
781
781
|
(i[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
|
|
782
782
|
(i[3] ? "Open" : "")), C(e, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
783
783
|
(i[3] ? "Open" : ""));
|
|
784
784
|
},
|
|
785
785
|
m(E, V) {
|
|
786
|
-
me(E, e, V), A(e, a), A(e, m), A(e, d), A(d, T), A(T, g), A(g, b), A(b, D), A(T,
|
|
786
|
+
me(E, e, V), A(e, a), A(e, m), A(e, d), A(d, T), A(T, g), A(g, b), A(b, D), A(T, L), A(T, k);
|
|
787
787
|
for (let M = 0; M < N.length; M += 1)
|
|
788
|
-
N[M] && N[M].m(
|
|
789
|
-
A(T, x), A(T, S), A(S, R), A(R, ae),
|
|
788
|
+
N[M] && N[M].m(k, null);
|
|
789
|
+
A(T, x), A(T, S), A(S, R), A(R, ae), J || (se = [
|
|
790
790
|
je(
|
|
791
791
|
a,
|
|
792
792
|
"click",
|
|
@@ -799,7 +799,7 @@ function rt(i) {
|
|
|
799
799
|
/*click_handler_2*/
|
|
800
800
|
i[28]
|
|
801
801
|
)
|
|
802
|
-
],
|
|
802
|
+
], J = !0);
|
|
803
803
|
},
|
|
804
804
|
p(E, V) {
|
|
805
805
|
if (V[0] & /*isModalDisplayed*/
|
|
@@ -815,7 +815,7 @@ function rt(i) {
|
|
|
815
815
|
let M;
|
|
816
816
|
for (M = 0; M < K.length; M += 1) {
|
|
817
817
|
const G = nt(E, K, M);
|
|
818
|
-
N[M] ? N[M].p(G, V) : (N[M] = lt(G), N[M].c(), N[M].m(
|
|
818
|
+
N[M] ? N[M].p(G, V) : (N[M] = lt(G), N[M].c(), N[M].m(k, null));
|
|
819
819
|
}
|
|
820
820
|
for (; M < N.length; M += 1)
|
|
821
821
|
N[M].d(1);
|
|
@@ -832,7 +832,7 @@ function rt(i) {
|
|
|
832
832
|
(E[3] ? "Open" : "")) && C(e, "class", O);
|
|
833
833
|
},
|
|
834
834
|
d(E) {
|
|
835
|
-
E && he(e), ct(N, E),
|
|
835
|
+
E && he(e), ct(N, E), J = !1, Et(se);
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
}
|
|
@@ -852,19 +852,19 @@ function it(i) {
|
|
|
852
852
|
i[57].productType
|
|
853
853
|
)
|
|
854
854
|
) : "") + ""
|
|
855
|
-
), g, b, B, D,
|
|
855
|
+
), g, b, B, D, L = (
|
|
856
856
|
/*formatBalance*/
|
|
857
857
|
i[8](
|
|
858
858
|
/*b*/
|
|
859
859
|
i[57].amount
|
|
860
860
|
) + ""
|
|
861
|
-
),
|
|
861
|
+
), k;
|
|
862
862
|
return {
|
|
863
863
|
c() {
|
|
864
|
-
e = I("div"), a = I("p"), m = Te(w), d = ge(), g = Te(T), b = ge(), B = I("p"), D = I("span"),
|
|
864
|
+
e = I("div"), a = I("p"), m = Te(w), d = ge(), g = Te(T), b = ge(), B = I("p"), D = I("span"), k = Te(L), C(a, "class", "BalanceModalText"), C(D, "class", "BalanceModalAmount"), C(B, "class", "BalanceModalValue"), C(e, "class", "BalanceModalRowLine");
|
|
865
865
|
},
|
|
866
866
|
m(x, S) {
|
|
867
|
-
me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, D), A(D,
|
|
867
|
+
me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, D), A(D, k);
|
|
868
868
|
},
|
|
869
869
|
p(x, S) {
|
|
870
870
|
S[0] & /*$_, balances*/
|
|
@@ -881,11 +881,11 @@ function it(i) {
|
|
|
881
881
|
x[57].productType
|
|
882
882
|
)
|
|
883
883
|
) : "") + "") && Be(g, T), S[0] & /*balances*/
|
|
884
|
-
2 &&
|
|
884
|
+
2 && L !== (L = /*formatBalance*/
|
|
885
885
|
x[8](
|
|
886
886
|
/*b*/
|
|
887
887
|
x[57].amount
|
|
888
|
-
) + "") && Be(
|
|
888
|
+
) + "") && Be(k, L);
|
|
889
889
|
},
|
|
890
890
|
d(x) {
|
|
891
891
|
x && he(e);
|
|
@@ -996,9 +996,9 @@ function zt(i) {
|
|
|
996
996
|
function Vt(i, e, a) {
|
|
997
997
|
let w;
|
|
998
998
|
Ct(i, Ot, (t) => a(6, w = t));
|
|
999
|
-
let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl:
|
|
999
|
+
let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl: L = "" } = e, { gmversion: k = "gm16" } = e, { displaybalanceoption: x = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { currencylocale: R = "en" } = e, { currencydisplay: j = "symbol" } = e, { maximumfractiondigits: ae = "2" } = e, { minimumfractiondigits: ne = "0" } = e, { customdisplayformat: F = "" } = e, O, J = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, M, G = "", oe = [], ce;
|
|
1000
1000
|
const p = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
|
|
1001
|
-
fetch(
|
|
1001
|
+
fetch(L).then((t) => t.json()).then((t) => Object.keys(t).forEach((o) => tt(o, t[o]))).catch((t) => console.log(t));
|
|
1002
1002
|
};
|
|
1003
1003
|
Object.keys(at).forEach((t) => tt(t, at[t]));
|
|
1004
1004
|
const Z = (t) => {
|
|
@@ -1069,7 +1069,7 @@ function Vt(i, e, a) {
|
|
|
1069
1069
|
return o.push(r), o.join("");
|
|
1070
1070
|
}, le = () => $e(this, null, function* () {
|
|
1071
1071
|
var o, r, f;
|
|
1072
|
-
a(2,
|
|
1072
|
+
a(2, J = !0);
|
|
1073
1073
|
const t = new URL(`${T}/v1/player/${m}/account`);
|
|
1074
1074
|
try {
|
|
1075
1075
|
const h = yield fetch(t, {
|
|
@@ -1099,10 +1099,10 @@ function Vt(i, e, a) {
|
|
|
1099
1099
|
} catch (h) {
|
|
1100
1100
|
console.log("Balance error: ", h);
|
|
1101
1101
|
} finally {
|
|
1102
|
-
a(2,
|
|
1102
|
+
a(2, J = !1);
|
|
1103
1103
|
}
|
|
1104
1104
|
}), Re = () => {
|
|
1105
|
-
a(2,
|
|
1105
|
+
a(2, J = !0);
|
|
1106
1106
|
const t = new URL(`${T}/v2/player/${m}/balance`), o = new Headers();
|
|
1107
1107
|
o.append("X-SessionID", d), fetch(t, { method: "GET", headers: o }).then((f) => f.json()).then((f) => {
|
|
1108
1108
|
f[S] || a(10, S = de[0]);
|
|
@@ -1125,7 +1125,7 @@ function Vt(i, e, a) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
for (const [c, y] of Object.entries(p))
|
|
1127
1127
|
y.length < 1 && delete p[c];
|
|
1128
|
-
a(2,
|
|
1128
|
+
a(2, J = !1);
|
|
1129
1129
|
return;
|
|
1130
1130
|
}
|
|
1131
1131
|
ce = {
|
|
@@ -1160,18 +1160,18 @@ function Vt(i, e, a) {
|
|
|
1160
1160
|
break;
|
|
1161
1161
|
}
|
|
1162
1162
|
}
|
|
1163
|
-
|
|
1163
|
+
Le();
|
|
1164
1164
|
for (const [c, y] of Object.entries(p))
|
|
1165
1165
|
y.length < 1 && delete p[c];
|
|
1166
|
-
a(2,
|
|
1166
|
+
a(2, J = !1);
|
|
1167
1167
|
}).catch((f) => {
|
|
1168
|
-
throw a(2,
|
|
1168
|
+
throw a(2, J = !1), console.log("Balance fetch error", f), new Error("Failed to fetch balance data!");
|
|
1169
1169
|
});
|
|
1170
1170
|
}, Se = () => {
|
|
1171
1171
|
if (M && M.close(), d.length < 1)
|
|
1172
1172
|
return;
|
|
1173
1173
|
let t, o;
|
|
1174
|
-
switch (
|
|
1174
|
+
switch (k) {
|
|
1175
1175
|
case "gm16":
|
|
1176
1176
|
t = new URL(`${T}/v2/player/${m}/information/updates`), o = (h) => Me(h);
|
|
1177
1177
|
break;
|
|
@@ -1184,7 +1184,7 @@ function Vt(i, e, a) {
|
|
|
1184
1184
|
"X-SessionId": d
|
|
1185
1185
|
}, f = new Ft.EventSourcePolyfill(t, { headers: r });
|
|
1186
1186
|
M = f, f.addEventListener("message", o);
|
|
1187
|
-
},
|
|
1187
|
+
}, ke = (t) => {
|
|
1188
1188
|
let o;
|
|
1189
1189
|
try {
|
|
1190
1190
|
o = JSON.parse(t);
|
|
@@ -1195,14 +1195,14 @@ function Vt(i, e, a) {
|
|
|
1195
1195
|
return o;
|
|
1196
1196
|
}, ze = (t) => {
|
|
1197
1197
|
var h, v;
|
|
1198
|
-
const o =
|
|
1198
|
+
const o = ke(t.data);
|
|
1199
1199
|
if (!o) {
|
|
1200
1200
|
Se();
|
|
1201
1201
|
return;
|
|
1202
1202
|
}
|
|
1203
1203
|
let r = "0";
|
|
1204
1204
|
const f = o.balanceChange;
|
|
1205
|
-
oe = oe.map((c) => (f && f[c.id] && (c = Ze(
|
|
1205
|
+
oe = oe.map((c) => (f && f[c.id] && (c = Ze(Je({}, c), {
|
|
1206
1206
|
balanceAmount: f[c.id].afterAmount
|
|
1207
1207
|
})), r = (parseFloat(c == null ? void 0 : c.balanceAmount) + parseFloat(r)).toString(), c)), a(1, p.Real = [{ amount: (h = oe[0]) == null ? void 0 : h.balanceAmount }], p), a(1, p.Bonus = [{ amount: (v = oe[1]) == null ? void 0 : v.balanceAmount }], p), a(1, p.Total = [{ amount: Number(r) }], p);
|
|
1208
1208
|
}, Ee = (t, o, r) => {
|
|
@@ -1218,7 +1218,7 @@ function Vt(i, e, a) {
|
|
|
1218
1218
|
f = r.afterAmount;
|
|
1219
1219
|
}
|
|
1220
1220
|
return f === null ? t : f;
|
|
1221
|
-
},
|
|
1221
|
+
}, Le = () => {
|
|
1222
1222
|
switch (S) {
|
|
1223
1223
|
case "totalCashAmount":
|
|
1224
1224
|
let t = 0;
|
|
@@ -1236,7 +1236,7 @@ function Vt(i, e, a) {
|
|
|
1236
1236
|
a(1, p.Total[0].amount = o, p);
|
|
1237
1237
|
}
|
|
1238
1238
|
}, Me = (t) => {
|
|
1239
|
-
const o =
|
|
1239
|
+
const o = ke(t.data);
|
|
1240
1240
|
if (!o) {
|
|
1241
1241
|
Se();
|
|
1242
1242
|
return;
|
|
@@ -1253,13 +1253,13 @@ function Vt(i, e, a) {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
h.productType === v.productType && (v.amount = f === "Real" ? Ee(v.amount, ce[v.productType], h) : h.afterAmount);
|
|
1255
1255
|
}
|
|
1256
|
-
|
|
1256
|
+
Le();
|
|
1257
1257
|
}, Ce = () => {
|
|
1258
1258
|
Z("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
1259
1259
|
}, ye = (t) => t === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, $ = () => {
|
|
1260
1260
|
de.includes(S) || (console.error(`Unsupported value ('${S}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`), a(10, S = de[0]));
|
|
1261
1261
|
}, Ve = () => {
|
|
1262
|
-
switch (Nt(g), $(),
|
|
1262
|
+
switch (Nt(g), $(), k) {
|
|
1263
1263
|
case "gmcore":
|
|
1264
1264
|
le();
|
|
1265
1265
|
break;
|
|
@@ -1267,7 +1267,7 @@ function Vt(i, e, a) {
|
|
|
1267
1267
|
Re();
|
|
1268
1268
|
break;
|
|
1269
1269
|
default:
|
|
1270
|
-
throw Error(`Invalid apiversion attribute: ${
|
|
1270
|
+
throw Error(`Invalid apiversion attribute: ${k}`);
|
|
1271
1271
|
}
|
|
1272
1272
|
}, Oe = (t) => {
|
|
1273
1273
|
const { data: { type: o } = {} } = t || {};
|
|
@@ -1292,20 +1292,20 @@ function Vt(i, e, a) {
|
|
|
1292
1292
|
});
|
|
1293
1293
|
}
|
|
1294
1294
|
return i.$$set = (t) => {
|
|
1295
|
-
"userid" in t && a(11, m = t.userid), "session" in t && a(12, d = t.session), "endpoint" in t && a(13, T = t.endpoint), "lang" in t && a(14, g = t.lang), "mbsource" in t && a(15, b = t.mbsource), "clientstyling" in t && a(16, B = t.clientstyling), "clientstylingurl" in t && a(17, D = t.clientstylingurl), "translationurl" in t && a(18,
|
|
1295
|
+
"userid" in t && a(11, m = t.userid), "session" in t && a(12, d = t.session), "endpoint" in t && a(13, T = t.endpoint), "lang" in t && a(14, g = t.lang), "mbsource" in t && a(15, b = t.mbsource), "clientstyling" in t && a(16, B = t.clientstyling), "clientstylingurl" in t && a(17, D = t.clientstylingurl), "translationurl" in t && a(18, L = t.translationurl), "gmversion" in t && a(19, k = t.gmversion), "displaybalanceoption" in t && a(20, x = t.displaybalanceoption), "totalcalculationmode" in t && a(10, S = t.totalcalculationmode), "currencylocale" in t && a(21, R = t.currencylocale), "currencydisplay" in t && a(22, j = t.currencydisplay), "maximumfractiondigits" in t && a(23, ae = t.maximumfractiondigits), "minimumfractiondigits" in t && a(24, ne = t.minimumfractiondigits), "customdisplayformat" in t && a(25, F = t.customdisplayformat);
|
|
1296
1296
|
}, i.$$.update = () => {
|
|
1297
1297
|
i.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1298
|
-
1603584 && T && m && d && g &&
|
|
1299
|
-
538624 && T && m && d &&
|
|
1300
|
-
262144 &&
|
|
1298
|
+
1603584 && T && m && d && g && k && x && Ve(), i.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1299
|
+
538624 && T && m && d && k && Se(), i.$$.dirty[0] & /*translationurl*/
|
|
1300
|
+
262144 && L && ie(), i.$$.dirty[0] & /*balances*/
|
|
1301
1301
|
2 && p.Total && Ue(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1302
1302
|
65537 && B && O && Mt(O, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1303
1303
|
131073 && D && O && Dt(O, D), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1304
|
-
32769 && b && O &&
|
|
1304
|
+
32769 && b && O && kt(O, `${b}.Style`);
|
|
1305
1305
|
}, [
|
|
1306
1306
|
O,
|
|
1307
1307
|
p,
|
|
1308
|
-
|
|
1308
|
+
J,
|
|
1309
1309
|
se,
|
|
1310
1310
|
N,
|
|
1311
1311
|
E,
|
|
@@ -1321,8 +1321,8 @@ function Vt(i, e, a) {
|
|
|
1321
1321
|
b,
|
|
1322
1322
|
B,
|
|
1323
1323
|
D,
|
|
1324
|
-
k,
|
|
1325
1324
|
L,
|
|
1325
|
+
k,
|
|
1326
1326
|
x,
|
|
1327
1327
|
R,
|
|
1328
1328
|
j,
|
|
@@ -1463,7 +1463,7 @@ class Ut extends bt {
|
|
|
1463
1463
|
this.$$set({ customdisplayformat: e }), X();
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
|
-
|
|
1466
|
+
Lt(Ut, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
|
1467
1467
|
export {
|
|
1468
1468
|
Ut as default
|
|
1469
1469
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-DslPLpON.cjs");function Pe(l,t){e.addMessages(l,t)}function rt(l){e.$locale.set(l)}const Xe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Fe={exports:{}};/** @license
|
|
2
2
|
* eventsource.js
|
|
3
3
|
* Available under MIT License (MIT)
|
|
4
4
|
* https://github.com/Yaffle/EventSource/
|