@everymatrix/casino-header-controller-nd 1.94.4 → 1.94.6
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-Fq-HgQqH.js → CasinoHamburgerMenuNd-C7tPIUB1.js} +47 -47
- package/components/{CasinoHamburgerMenuNd-CFFGc70e.js → CasinoHamburgerMenuNd-j5CQxInR.js} +1 -1
- package/components/{CasinoHeaderControllerNd-CqFP16SI.js → CasinoHeaderControllerNd-B1gDtO6X.js} +52 -52
- package/components/{CasinoHeaderControllerNd-DVlwntla.js → CasinoHeaderControllerNd-C_tpHptc.js} +52 -52
- package/components/{PlayerAccountBalanceModalNd-poAXex5q.js → PlayerAccountBalanceModalNd-BBc97Emk.js} +71 -71
- package/components/{PlayerAccountBalanceModalNd-DuaQlqBT.js → PlayerAccountBalanceModalNd-F0yXrczc.js} +90 -90
- package/components/{PlayerDeposit-CuasIHW1.js → PlayerDeposit-BajVx1KT.js} +26 -26
- package/components/{PlayerDeposit-DrfI7hWz.js → PlayerDeposit-Cr4_Mp0l.js} +31 -31
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-DrlsAnHS.js → casino-hamburger-menu-nd-BlCLnx5w.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-CAzXCzkU.js → casino-hamburger-menu-nd-CTYTBE2r.js} +1 -1
- package/lazy/{gamification-dropdown-BV3fQBnG.js → gamification-dropdown-D9wYSCWh.js} +6 -6
- package/lazy/{gamification-dropdown-CFt49XEh.js → gamification-dropdown-w1DrybKv.js} +6 -6
- package/lazy/{player-account-balance-modal-nd-DZugR0l3.js → player-account-balance-modal-nd-BperHptI.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-47141JK1.js → player-account-balance-modal-nd-CpQ9XGPD.js} +1 -1
- package/lazy/{player-deposit-BV6GZh-m.js → player-deposit-Bj55w1ZM.js} +1 -1
- package/lazy/{player-deposit-CLHYM5Qn.js → player-deposit-kJwpodcn.js} +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-C3ULCnwf.js → gamification-dropdown-DFnrjTD-.js} +2 -2
- package/stencil/{gamification-dropdown-f0760153-DTmlcEWJ.js → gamification-dropdown-f0760153-BNi1BCSK.js} +4 -4
- package/stencil/{gamification-dropdown-f0760153-JSQJ7tMa.js → gamification-dropdown-f0760153-DysjODzh.js} +4 -4
- package/stencil/{gamification-dropdown-CkOquGR-.js → gamification-dropdown-oHavdEUT.js} +2 -2
- package/stencil/{gamification-dropdown_4-CzVHHjvZ.js → gamification-dropdown_4-C3HCFJ02.js} +4 -4
- package/stencil/{gamification-dropdown_4-COmOTwJ4.js → gamification-dropdown_4-CKdgGcAa.js} +4 -4
- package/stencil/{player-elevate-card-BddsUDwW.js → player-elevate-card-CrB4Rycd.js} +2 -2
- package/stencil/{player-elevate-card-BB5eP16g.js → player-elevate-card-CtSlq6rw.js} +2 -2
- package/stencil/{player-elevate-card-items-a0f9711e-DS2gNZis.js → player-elevate-card-items-a0f9711e-2wxf2bQS.js} +6 -6
- package/stencil/{player-elevate-card-items-a0f9711e-Cnvs96h4.js → player-elevate-card-items-a0f9711e-B6SIxC10.js} +6 -6
- package/stencil/{player-elevate-pointcard-CmzYigQl.js → player-elevate-pointcard-DqQmT8M0.js} +2 -2
- package/stencil/{player-elevate-pointcard-u4_Ist5j.js → player-elevate-pointcard-S_nBLiFP.js} +2 -2
- package/stencil/{player-rakeback-card-XmcC95u2.js → player-rakeback-card-DOfXavss.js} +1 -1
- package/stencil/{player-rakeback-card-DVazXOnY.js → player-rakeback-card-DrfLGio2.js} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { b as lt, a as ct, j as ut, S as dt, y as ft, G as pt, t as X, e as ht, D as We, o as ge, f as R, z as ye, d as x, p as U, P as me, k as mt, $ as gt, E as yt, A as vt, B as Fe, g as Bt, M as Ce, T as _e, R as Je, q as bt, s as Ge, n as st, F as wt, J as Tt, K as St, L as At, l as Ct } from "./CasinoHeaderControllerNd-B1gDtO6X.js";
|
|
2
|
+
function Qe(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 Ze = {
|
|
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, K = 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 = K;
|
|
265
|
+
K = 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 q = function() {
|
|
327
327
|
};
|
|
328
|
-
function
|
|
329
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
328
|
+
function Z(n) {
|
|
329
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = q, this.onload = q, this.onerror = q, this.onreadystatechange = q, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = q;
|
|
330
330
|
}
|
|
331
|
-
|
|
331
|
+
Z.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 = q, r.onerror = q, r.onabort = q, r.onprogress = q, r.onreadystatechange = q, 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: q
|
|
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
|
+
}, Z.prototype.abort = function() {
|
|
393
393
|
this._abort(!1);
|
|
394
|
-
},
|
|
394
|
+
}, Z.prototype.getResponseHeader = function(n) {
|
|
395
395
|
return this._contentType;
|
|
396
|
-
},
|
|
396
|
+
}, Z.prototype.setRequestHeader = function(n, o) {
|
|
397
397
|
var u = this._xhr;
|
|
398
398
|
"setRequestHeader" in u && u.setRequestHeader(n, o);
|
|
399
|
-
},
|
|
399
|
+
}, Z.prototype.getAllResponseHeaders = function() {
|
|
400
400
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
401
|
-
},
|
|
401
|
+
}, Z.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 K(w, {
|
|
468
468
|
headers: C,
|
|
469
469
|
credentials: m ? "include" : "same-origin",
|
|
470
470
|
signal: M,
|
|
@@ -499,7 +499,7 @@ var Ye = { exports: {} };
|
|
|
499
499
|
function k() {
|
|
500
500
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function W(n) {
|
|
503
503
|
p(function() {
|
|
504
504
|
throw n;
|
|
505
505
|
}, 0);
|
|
@@ -513,7 +513,7 @@ var Ye = { exports: {} };
|
|
|
513
513
|
try {
|
|
514
514
|
typeof w.handleEvent == "function" ? w.handleEvent(n) : w.call(this, n);
|
|
515
515
|
} catch (m) {
|
|
516
|
-
|
|
516
|
+
W(m);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
}, k.prototype.addEventListener = function(n, o) {
|
|
@@ -556,7 +556,7 @@ var Ye = { exports: {} };
|
|
|
556
556
|
try {
|
|
557
557
|
typeof o == "function" && o.call(n, u);
|
|
558
558
|
} catch (r) {
|
|
559
|
-
|
|
559
|
+
W(r);
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
function $(n, o) {
|
|
@@ -565,45 +565,45 @@ 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 Ke = K != 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 = Ke && z == null ? void 0 : new Z(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, qe = function(J, Y, se, le) {
|
|
572
572
|
if (f === Be)
|
|
573
|
-
if (
|
|
573
|
+
if (J === 200 && se != null && Xe.test(se)) {
|
|
574
574
|
f = oe, M = Date.now(), _ = m, n.readyState = oe;
|
|
575
575
|
var ee = new G("open", {
|
|
576
|
-
status:
|
|
576
|
+
status: J,
|
|
577
577
|
statusText: Y,
|
|
578
578
|
headers: le
|
|
579
579
|
});
|
|
580
580
|
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
581
581
|
} else {
|
|
582
|
-
var
|
|
583
|
-
|
|
582
|
+
var Q = "";
|
|
583
|
+
J !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + J + " " + Y + " that is not 200. Aborting the connection.") : Q = "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
|
-
status:
|
|
585
|
+
status: J,
|
|
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(Q);
|
|
590
590
|
}
|
|
591
|
-
}, De = function(
|
|
591
|
+
}, De = function(J) {
|
|
592
592
|
if (f === oe) {
|
|
593
|
-
for (var Y = -1, se = 0; se <
|
|
594
|
-
var le =
|
|
593
|
+
for (var Y = -1, se = 0; se < J.length; se += 1) {
|
|
594
|
+
var le = J.charCodeAt(se);
|
|
595
595
|
(le === 10 || le === 13) && (Y = se);
|
|
596
596
|
}
|
|
597
|
-
var ee = (Y !== -1 ? v : "") +
|
|
598
|
-
v = (Y === -1 ? v : "") +
|
|
599
|
-
for (var
|
|
600
|
-
var le = ee.charCodeAt(
|
|
597
|
+
var ee = (Y !== -1 ? v : "") + J.slice(0, Y + 1);
|
|
598
|
+
v = (Y === -1 ? v : "") + J.slice(Y + 1), J !== "" && (M = Date.now(), N += J.length);
|
|
599
|
+
for (var Q = 0; Q < ee.length; Q += 1) {
|
|
600
|
+
var le = ee.charCodeAt(Q);
|
|
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 = Q + 1);
|
|
606
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < Q && ee.charCodeAt(re) === 32 ? 1 : 0), Q);
|
|
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,16 +623,16 @@ var Ye = { exports: {} };
|
|
|
623
623
|
}
|
|
624
624
|
E = le === 13 ? de : ne;
|
|
625
625
|
} else
|
|
626
|
-
E === ne && (ie =
|
|
626
|
+
E === ne && (ie = Q, E = Me), E === Me ? le === 58 && (re = Q + 1, E = i) : E === i && (E = Ee);
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
}, Pe = function(
|
|
629
|
+
}, Pe = function(J) {
|
|
630
630
|
if (f === oe || f === Be) {
|
|
631
631
|
f = Te, d !== 0 && (g(d), d = 0), d = p(function() {
|
|
632
632
|
he();
|
|
633
633
|
}, _), _ = ze(Math.min(m * 16, _ * 2)), n.readyState = Be;
|
|
634
|
-
var Y = new H("error", { error:
|
|
635
|
-
n.dispatchEvent(Y), xe(n, n.onerror, Y),
|
|
634
|
+
var Y = new H("error", { error: J });
|
|
635
|
+
n.dispatchEvent(Y), xe(n, n.onerror, Y), J != null && console.error(J);
|
|
636
636
|
}
|
|
637
637
|
}, Oe = function() {
|
|
638
638
|
f = ue, a != null && (a.abort(), a = void 0), d !== 0 && (g(d), d = 0), n.readyState = ue;
|
|
@@ -641,10 +641,10 @@ var Ye = { exports: {} };
|
|
|
641
641
|
if (!M && a != null)
|
|
642
642
|
Pe(new Error("No activity within " + C + " milliseconds. " + (f === Be ? "No response received." : N + " chars received.") + " Reconnecting.")), a != null && (a.abort(), a = void 0);
|
|
643
643
|
else {
|
|
644
|
-
var
|
|
644
|
+
var J = Math.max((M || Date.now()) + C - Date.now(), 1);
|
|
645
645
|
M = !1, d = p(function() {
|
|
646
646
|
he();
|
|
647
|
-
},
|
|
647
|
+
}, J);
|
|
648
648
|
}
|
|
649
649
|
return;
|
|
650
650
|
}
|
|
@@ -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 Q = n.headers;
|
|
664
|
+
if (Q != null)
|
|
665
|
+
for (var Se in Q)
|
|
666
|
+
Object.prototype.hasOwnProperty.call(Q, Se) && (ee[Se] = Q[Se]);
|
|
667
667
|
try {
|
|
668
|
-
a = ke.open(pe,
|
|
668
|
+
a = ke.open(pe, qe, 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, K, V, A = (
|
|
703
703
|
/*showBalance*/
|
|
704
704
|
s[6] && tt(s)
|
|
705
705
|
);
|
|
@@ -708,16 +708,16 @@ function xt(s) {
|
|
|
708
708
|
e = U("button"), t = U("p"), p = _e(
|
|
709
709
|
/*displayBalance*/
|
|
710
710
|
s[8]
|
|
711
|
-
), g = me(), c = U("span"), l =
|
|
711
|
+
), g = me(), c = U("span"), l = Je("svg"), B = Je("path"), S = me(), A && A.c(), O = bt(), R(B, "id", "arrow"), R(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"), R(B, "transform", "translate(-274.511 -441.088)"), R(B, "fill", "#d1d1d1"), R(l, "xmlns", "http://www.w3.org/2000/svg"), R(l, "width", "14"), R(l, "height", "6.835"), R(l, "viewBox", "0 0 14 6.835"), R(c, "class", h = /*isModalDisplayed*/
|
|
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), K || (V = Fe(
|
|
716
716
|
e,
|
|
717
717
|
"click",
|
|
718
718
|
/*click_handler*/
|
|
719
719
|
s[34]
|
|
720
|
-
),
|
|
720
|
+
), K = !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), K = !1, V();
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
}
|
|
@@ -761,16 +761,16 @@ 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, K, V, A, b, P, be = (
|
|
765
765
|
/*$_*/
|
|
766
766
|
s[9]("DepositButton") + ""
|
|
767
|
-
), we, Re,
|
|
767
|
+
), we, Re, q, Z, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
768
768
|
/*balances*/
|
|
769
769
|
s[3]
|
|
770
770
|
)), k = [];
|
|
771
771
|
for (let L = 0; L < ae.length; L += 1)
|
|
772
772
|
k[L] = at($e(s, ae, L));
|
|
773
|
-
let
|
|
773
|
+
let W = (
|
|
774
774
|
/*balancelimitsbutton*/
|
|
775
775
|
s[0] === "true" && ot(s)
|
|
776
776
|
), D = (
|
|
@@ -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), K = 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(),
|
|
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(), W && W.c(), q = 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", Z = "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, K), 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),
|
|
795
|
+
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), W && W.m(b, null), x(b, q), D && D.m(b, null), ce || (ve = [
|
|
796
796
|
Fe(
|
|
797
797
|
t,
|
|
798
798
|
"click",
|
|
@@ -830,17 +830,17 @@ 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" ?
|
|
833
|
+
L[0] === "true" ? W ? W.p(L, G) : (W = ot(L), W.c(), W.m(b, q)) : W && (W.d(1), W = 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 && Z !== (Z = "ModalContent " + /*isModalDisplayed*/
|
|
836
|
+
(L[5] ? "Open" : "")) && R(l, "class", Z), 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*/
|
|
840
840
|
(L[5] ? "Open" : "")) && R(e, "class", te);
|
|
841
841
|
},
|
|
842
842
|
d(L) {
|
|
843
|
-
L && ge(e), st(k, L),
|
|
843
|
+
L && ge(e), st(k, L), W && W.d(), D && D.d(), ce = !1, wt(ve);
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
}
|
|
@@ -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, K = (
|
|
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(K), 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 && K !== (K = /*formatBalance*/
|
|
887
887
|
A[11](
|
|
888
888
|
/*balance*/
|
|
889
889
|
A[67].amount
|
|
890
|
-
) + "") && Ce(V,
|
|
890
|
+
) + "") && Ce(V, K);
|
|
891
891
|
},
|
|
892
892
|
d(A) {
|
|
893
893
|
A && ge(e);
|
|
@@ -1014,7 +1014,7 @@ function rt(s) {
|
|
|
1014
1014
|
s[39]
|
|
1015
1015
|
), t = !0);
|
|
1016
1016
|
},
|
|
1017
|
-
p:
|
|
1017
|
+
p: We,
|
|
1018
1018
|
d(g) {
|
|
1019
1019
|
g && ge(e), t = !1, p();
|
|
1020
1020
|
}
|
|
@@ -1046,8 +1046,8 @@ function kt(s) {
|
|
|
1046
1046
|
(S[7] ? "Mobile" : "")) && R(t, "class", p), /*showBalance*/
|
|
1047
1047
|
S[6] ? h ? h.p(S, O) : (h = rt(S), h.c(), h.m(e, null)) : h && (h.d(1), h = null);
|
|
1048
1048
|
},
|
|
1049
|
-
i:
|
|
1050
|
-
o:
|
|
1049
|
+
i: We,
|
|
1050
|
+
o: We,
|
|
1051
1051
|
d(S) {
|
|
1052
1052
|
S && ge(e), B.d(), h && h.d(), s[40](null);
|
|
1053
1053
|
}
|
|
@@ -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: K = "" } = 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: q = "false" } = e, { currencylocale: Z = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, k, W, 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(K).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) => Qe(d, a[d]))).catch((a) => console.log(a));
|
|
1062
1062
|
};
|
|
1063
|
-
Object.keys(
|
|
1063
|
+
Object.keys(Ze).forEach((a) => Qe(a, Ze[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 = Z || 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, qe] = 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 = qe || "";
|
|
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" && q !== "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" && q !== "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) => Ke(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
|
+
}, Ke = (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
|
+
q === "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,16 +1387,16 @@ 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, K = 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, q = a.shownegativebalance), "currencylocale" in a && t(28, Z = 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 && K && 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*/
|
|
1399
|
-
524292 && h && k && At(k, `${h}.Style`,
|
|
1399
|
+
524292 && h && k && At(k, `${h}.Style`, W), s.$$.dirty[0] & /*primarybalancemode, balances*/
|
|
1400
1400
|
33554440 && t(8, Me = (() => {
|
|
1401
1401
|
switch (P) {
|
|
1402
1402
|
case "Real":
|
|
@@ -1428,13 +1428,13 @@ function Mt(s, e, t) {
|
|
|
1428
1428
|
h,
|
|
1429
1429
|
S,
|
|
1430
1430
|
O,
|
|
1431
|
-
|
|
1431
|
+
K,
|
|
1432
1432
|
V,
|
|
1433
1433
|
A,
|
|
1434
1434
|
P,
|
|
1435
1435
|
Re,
|
|
1436
|
-
|
|
1437
|
-
|
|
1436
|
+
q,
|
|
1437
|
+
Z,
|
|
1438
1438
|
fe,
|
|
1439
1439
|
te,
|
|
1440
1440
|
ce,
|